|
Mr Dog posted:making it infix seems pretty cool This was my point. ?. or whatever isn't really any better than >>=
|
# ? Apr 30, 2015 16:41 |
|
|
# ? May 18, 2024 08:16 |
|
Subjunctive posted:it also only works if you have existing functions with the right signature and behaviour, and don't require any fields to be extracted or anything to be computed specific to this application. well, a lot of the rust standard library seems to use this so the existing functions already have the right signature and behavior
|
# ? Apr 30, 2015 16:47 |
|
fart simpson posted:well, a lot of the rust standard library seems to use this so the existing functions already have the right signature and behavior I was thinking more for application code than the standard library, but that's good to know.
|
# ? Apr 30, 2015 16:50 |
|
CPColin posted:The worst part of java.util.Optional is that Eclipse still can't apply @NonNull and @Nullable to it. Java 9 had better bring those annotations into the language specification. i would be surprised if java 9 didn't turn out to be another 8-like compromise release with half the features missing
|
# ? Apr 30, 2015 16:50 |
|
Subjunctive posted:I was thinking more for application code than the standard library, but that's good to know. actually i have yet to see null anywhere in any rust code. im not sure it's even a thing. it seems to all be option types
|
# ? Apr 30, 2015 17:15 |
|
fart simpson posted:actually i have yet to see null anywhere in any rust code. im not sure it's even a thing. it seems to all be option types null doesnt exist in rust. you can get null pointers by using the c ffi but that requires you to be in an "unsafe" block, which you should be using very, very rarely, and you should be checking for nulls and converting to option types as soon as possible even in that case
|
# ? Apr 30, 2015 17:41 |
|
Arcsech posted:This was my point. ?. or whatever isn't really any better than >>= or could overload operator . to check and return NULL on NULL let's not beat around the bush, that's what we really want
|
# ? Apr 30, 2015 17:59 |
Max Facetime posted:just make ?. the default dereferencing operator for nullable values and make foo(object) and object.foo() mean the same thing I agree, it'd be nice if things like Optional could define their own operators to make code using them less verbose and more readable. Personally I would call it >>= instead of ?. but both are good.
|
|
# ? Apr 30, 2015 18:00 |
|
why not #8==D instead
|
# ? Apr 30, 2015 18:28 |
|
Max Facetime posted:or could overload operator . to check and return NULL on NULL obj-c does that and it's sometimes nice. leads to a lot of awful bugs from people not used to it, but eventually you get used to writing your conditional statements to be correct if things are nil and only occasionally get awful bugs
|
# ? Apr 30, 2015 18:37 |
Mr Dog posted:why not #8==D instead As an infix operator? I think the 'D' at the end would lead to parsing problems since it's a valid start of an identifier. That's why Haskell won't let you define that as an infix operator, anyways.
|
|
# ? Apr 30, 2015 20:48 |
|
lexing not parsing
|
# ? Apr 30, 2015 20:53 |
|
Notorious b.s.d. posted:i would be surprised if java 9 didn't turn out to be another 8-like compromise release with half the features missing don't worry, it won't matter anyway because dumb customers will still be insisting on java 6 compatibility until the heat death of the universe (this year we finally managed to stop having to maintain compatibility with java 5!)
|
# ? Apr 30, 2015 21:51 |
|
Android is forever stuck on Java 6 now isn't it?
|
# ? Apr 30, 2015 21:52 |
|
Mr Dog posted:why not #8==D instead with an appropriate defun and defvar, you can make this a reality! Lisp code:
|
# ? Apr 30, 2015 21:58 |
|
code:
|
# ? Apr 30, 2015 22:10 |
|
gonadic io posted:
lmao
|
# ? Apr 30, 2015 22:26 |
gonadic io posted:
NICE!
|
|
# ? Apr 30, 2015 22:30 |
|
drat i should have made the operator use the io monad e: the best (worst) real operator i've come across and used is <<>~, which is a lens operator meaning to combine (<>) two things, over functions (~), and return the result (the first <). i call it the tampon operator.
|
# ? Apr 30, 2015 22:30 |
|
gonadic io posted:drat i should have made the operator use the io monad reminder that perl has the goatse operator =()=
|
# ? Apr 30, 2015 22:39 |
|
Plorkyeran posted:obj-c does that and it's sometimes nice. leads to a lot of awful bugs from people not used to it, but eventually you get used to writing your conditional statements to be correct if things are nil and only occasionally get awful bugs NSParameterAssert the world
|
# ? May 1, 2015 00:21 |
|
gonadic io posted:
|
# ? May 1, 2015 00:46 |
|
gonadic io posted:
best-ever username/post combo
|
# ? May 1, 2015 01:19 |
|
gonadic io posted:
|
# ? May 1, 2015 01:54 |
|
Why, within the current renaissance of research in continental philosophy, is there a coincidence between the structure of ontological systems and the structure of the most highly evolved technologies of post-Fordist capitalism? I am speaking, on the one hand, of computer networks in general and object-oriented computer languages (such as Java or C++) in particular and, on the other hand, of certain realist philosophers such as Bruno Latour, but also more pointedly Quentin Meillassoux, Graham Harman, and their associated school known as speculative realism. Why do these philosophers, when holding up a mirror to nature, see the mode of production reflected back at them? Why, in short, is there a coincidence between today’s ontologies and the software of big business? In Badiou's work, I have discovered a parallel between set theory and the design of certain computer languages. His work shares much more with software and algorithmic systems than he might realize. An uncanny homology exists between key concepts in Badiou's ontology, influenced directly by set theory, and key concepts in the design of object-oriented computer languages. Indeed as computer historians attest, object-oriented computer languages were originally designed using principles gleaned from systems theory and set theory.2 This is not unimportant, given the fact that object-oriented computer languages inhabit an important niche in today's global industrial infrastructure: as software they control the new robotic automobile plants, fluidly synchronize corporate headquarters with call centers in other countries, and allow companies like Google and Facebook to process millions of requests efficiently. Is there a secret cybercapitalist core underpinning Badiou's Being and Event? Probably not. Is there a similarity between how Badiou and Java or C++ speak about the world?
|
# ? May 4, 2015 06:12 |
|
i don't know what ontological means and i'm pretty sure i don't wanna
|
# ? May 4, 2015 06:16 |
|
I think it has something to do with cancer
|
# ? May 4, 2015 06:19 |
|
Close your laptop tight and what do you see? A smooth outer opaque shell, hiding and housing a complex electronic machine within. With the lid down, there is little with which to interact. Pick it up, put it down, not much more. Open it again and see the situation reversed: now concave, the external surface of the machine is no longer opaque and smooth, rather it is plastered over with buttons and sockets, speakers and screens, boxes and windows, sliders and menus, clicks and drags, taps and double taps. Splayed open, the box begs to be touched, it exists to be manipulated, to be interfaced. There are two kinds of black boxes. The first is the cipher and the second is the function. With the lid closed the laptop is a black box cipher. With the lid up, a black box function. The black box cipher is similar to Leibniz’s monad. Like the monad, the cipher ‘has no windows.’ It is a cloaked node with no external connectivity. ‘Function’ black boxes include the computer, the protocol interface, data objects, and code libraries. This new industrial scenario is one in which a great premium is placed on interface, while interiority matters very little, assuming of course that everything is in its place and up and running. These black boxes have a purely functional being; they do not have essences or transcendental cores. This is why one must invert the logic of Marx’s famous mandate to ‘descend into the hidden abode of production.’ In other words, and to repeat: It is no longer a question of illuminating the black box by decoding it, but rather that of functionalizing the black box by programming it. To be clear, the point is not to ignore the existence of the new black sites of production, from maquiladoras to PC rooms. On the contrary, these black sites are part and parcel of the new industrial infrastructure. Gazpacho fucked around with this message at 06:47 on May 4, 2015 |
# ? May 4, 2015 06:44 |
|
Gazpacho posted:Close your laptop tight and what do you see? A smooth outer opaque shell, hiding and housing a complex electronic machine within. With the lid down, there is little with which to interact. Pick it up, put it down, not much more. Open it again and see the situation reversed: now concave, the external surface of the machine is no longer opaque and smooth, rather it is plastered over with buttons and sockets, speakers and screens, boxes and windows, sliders and menus, clicks and drags, taps and double taps. Splayed open, the box begs to be touched, it exists to be manipulated, to be interfaced. im gay, too
|
# ? May 4, 2015 06:48 |
|
Gazpacho posted:Close your laptop tight and what do you see? A smooth outer opaque shell, hiding and housing a complex electronic machine within. With the lid down, there is little with which to interact. Pick it up, put it down, not much more. Open it again and see the situation reversed: now concave, the external surface of the machine is no longer opaque and smooth, rather it is plastered over with buttons and sockets, speakers and screens, boxes and windows, sliders and menus, clicks and drags, taps and double taps. Splayed open, the box begs to be touched, it exists to be manipulated, to be interfaced.
|
# ? May 4, 2015 09:35 |
|
the box excites and entices, beckoning its user towards it with its 14" color display. the smooth, matte exterior of the atx case is dull, yet commanding. i want to gently caress my computer.
|
# ? May 4, 2015 09:43 |
|
rrrrrrrrrrrt posted:i don't know what ontological means and i'm pretty sure i don't wanna it recapitulates the phylological
|
# ? May 4, 2015 11:35 |
|
fritz posted:it recapitulates the phylological so does your mom
|
# ? May 4, 2015 12:44 |
|
fritz posted:it recapitulates the phylological i had to google this i am sorry to say it is not a joke and this is an actual possible definition
|
# ? May 4, 2015 15:50 |
|
Notorious b.s.d. posted:i had to google this I had to google it too and philology was about comparative criticism and study of language in historical sources, and ontology is philosophic stuff about nature of being. Not sure I understand what would be an actual definition compared to a pun about ontogeny vs. philogeny ?
|
# ? May 4, 2015 16:41 |
|
the only people i see using the word "ontological" typically seem not at all worth reading or listening to. like, unhinged academic wannabes like that guy in D&D who won't shut up about his "attention economy" or whatever it is.
|
# ? May 4, 2015 16:48 |
|
MononcQc posted:I had to google it too and philology was about comparative criticism and study of language in historical sources, and ontology is philosophic stuff about nature of being. Not sure I understand what would be an actual definition compared to a pun about ontogeny vs. philogeny ? the non-joke is that he was using biological definitions not philosophy https://en.wikipedia.org/wiki/Recapitulation_theory
|
# ? May 4, 2015 18:07 |
|
rrrrrrrrrrrt posted:i don't know what ontological means and i'm pretty sure i don't wanna in philosophy, an ontology is a systematic account of existence: what kinds of things exist, and how do they relate to each other, in the most general sense
|
# ? May 4, 2015 18:15 |
|
Notorious b.s.d. posted:the non-joke is that he was using biological definitions not philosophy philology vs. philogeny ontology vs. ontogeny They're not the same words and don't mean the same thing, right. I thought that was the pun in the first place. But philology isn't to ontology was philogeny is to ontogeny?
|
# ? May 4, 2015 18:27 |
|
|
# ? May 18, 2024 08:16 |
|
Convolve your ideas about ontology with the unit toke function and I'll think you'll find that
|
# ? May 4, 2015 18:32 |