|
feedmegin posted:To be honest, as I understand it it's pretty much expected that if you're a programmer, worldwide, to be any good you've got to know English - at least well enough to read it. Pretty much all the technically references, Stack Overflow, etc etc out there is going to be in English. At that point, having language keywords in English as well (and everyone worldwide being able to instantly understand what they're looking at in anyone else's source) is just kind of the way to go. I could see it being different for something like AppleScript that's supposed to be used by 'the common man' but anything above that? English. english is not the first global language of science, and it will probably not be the last however it amuses me very much to think of far-future programmer-archeologists having to gain some facility with 20th century english to interpret and extend programs from the 22nd century even if some other tongue eclipses english as the language of science and industry, the ties to software, aviation, and a few other narrow fields are likely to be "sticky"
|
# ? Feb 3, 2018 03:08 |
|
|
# ? Jun 4, 2024 13:10 |
|
rjmccall posted:lol u loving dambass
|
# ? Feb 3, 2018 03:46 |
|
Notorious b.s.d. posted:could have been worse Dylan wasn’t an English-expression version of Lisp it was a Pascal-expression version of Lisp it actually looked OK as that sort of thing but it was really nice as an S-expression language
|
# ? Feb 3, 2018 04:58 |
|
here’s an example of Dylan from Harlequin’s Dylan Programming book that they wrote in 1997code:
except the actual programming model is very close to the Common Lisp Object System, where you apply generic functions that specialize on all of their arguments
|
# ? Feb 3, 2018 05:21 |
|
Notorious b.s.d. posted:even if some other tongue eclipses english as the language of science and industry, the ties to software, aviation, and a few other narrow fields are likely to be "sticky" and then one day the interrupt handler driving a critical drive spine sensor will have a buffer overflow and people will die
|
# ? Feb 3, 2018 05:27 |
|
Notorious b.s.d. posted:it's not quite as bad as it sounds, but it ain't good looks a bit elixir-ish imo
|
# ? Feb 3, 2018 10:44 |
|
Notorious b.s.d. posted:even the name "dylan" sucks counterexample: dylan thomas
|
# ? Feb 3, 2018 15:35 |
|
Soricidus posted:counterexample: dylan thomas no I’d say he was the perfect example of the name dylan possibly the origin of the awfulness
|
# ? Feb 3, 2018 17:36 |
|
rjmccall posted:lol u loving dambass
|
# ? Feb 3, 2018 17:47 |
|
Notorious b.s.d. posted:no I’d say he was the perfect example of the name dylan he was a raging drunkard who died before he hit 40. how is that not a perfect role model for us all.
|
# ? Feb 3, 2018 17:51 |
|
Soricidus posted:he was a raging drunkard who died before he hit 40. how is that not a perfect role model for us all. if i'mma drink myself to death i'm gonna choose a better bar than dylan thomas did the white horse tavern is a shithole edit: the tavern should also be named "dylan" i think Notorious b.s.d. fucked around with this message at 21:39 on Feb 3, 2018 |
# ? Feb 3, 2018 21:37 |
|
carry on then posted:are there any languages in production use that have or at least support keywords in various languages? muahahaha
|
# ? Feb 3, 2018 22:41 |
|
dave thomas, however
|
# ? Feb 4, 2018 05:34 |
|
for a case where HTTP caching doesn't why not have my entire API over websocket instead of REST?
|
# ? Feb 4, 2018 06:50 |
|
Stubbs posted:for a case where HTTP caching doesn't why not have my entire API over websocket instead of REST? 1 http request : 1 http response does that apply to your case too? then you might want to use http.
|
# ? Feb 4, 2018 06:57 |
|
nah i'm fine giving up responses as such. instead just have returns probably end up on the incoming stream not a great deal of load so overhead of open socket connections shouldn't be an issue
|
# ? Feb 4, 2018 07:03 |
|
Stubbs posted:for a case where HTTP caching doesn't why not have my entire API over websocket instead of REST? this is dumb as gently caress
|
# ? Feb 4, 2018 14:22 |
|
Stubbs posted:for a case where HTTP caching doesn't why not have my entire API over websocket instead of REST? - rest isn't a protocol - you can do rest over websockets - websocket client/server support is still rubbish in places
|
# ? Feb 4, 2018 15:14 |
|
as someone who has experimented with that a few times I've decided its not worth it. i kept re-implementing HTTP on top of websockets.
|
# ? Feb 4, 2018 19:38 |
|
Stubbs posted:for a case where HTTP caching doesn't why not have my entire API over websocket instead of REST? use websockets iff you need your server to be able to send data to the client at arbitrary times and you have enough control of the clients and infrastructure to be able to tell anyone who doesn’t have websocket support to gently caress off if either of those is not the case, just do http instead of shaving yaks over tcp-over-http-over-tcp
|
# ? Feb 4, 2018 19:46 |
I felt so cool when I "streamed" data to webpages in like 2006 using http push, but 12 years later the w3c is such a joke that this still might be the best option.
|
|
# ? Feb 4, 2018 20:09 |
|
ws is nice but it is really low level and you're going to end up reinventing http over it
|
# ? Feb 4, 2018 20:15 |
|
I’m holding out until they make a processor that executes wasm natively
|
# ? Feb 4, 2018 20:41 |
|
Sapozhnik posted:you're going to end up reinventing http over it a legitimate concern thoughts came while working on a clients project that essentially provided websocket endpoints to their internal message bus and working with it was nice. consistent APIs everywhere, everything is nicely structured streams. not for every system but it was interesting to work with
|
# ? Feb 4, 2018 20:53 |
|
you ask "why not" but i have yet to see the "why"
|
# ? Feb 4, 2018 20:58 |
|
if you want smaller headers and connection multiplexing/reuse just use http/2
|
# ? Feb 5, 2018 15:00 |
|
Arcsech posted:use websockets iff you need your server to be able to send data to the client at arbitrary times and you have enough control of the clients and infrastructure to be able to tell anyone who doesn’t have websocket support to gently caress off We're looking at implementing WebSockets to do push notifications for our JTAPI integration. That feels like a legitimately good use for it really, might push it to the chat feature as well if that goes well. But then we have control over what infrastructure we support. that said it's all held up until WebSphere gets proper websockets support or all our WebSphere customers die, I'll take whichever.
|
# ? Feb 5, 2018 15:09 |
|
those are both good uses of websockets
|
# ? Feb 5, 2018 15:15 |
|
it's never safe to use websockets without a fallback option, because websockets break badly in the presence of a proxy since you have to put engineering effort into a fallback, it's often not worth the energy to pursue the websockets version in the first place
|
# ? Feb 5, 2018 18:20 |
|
i remember when i first saw that there's a key given with the websocket message that is used to xor the body of a message so that proxies dont see responses that may look like http responses and cache them.
|
# ? Feb 5, 2018 19:06 |
|
https://twitter.com/computerfact/status/968333338267324417
|
# ? Feb 27, 2018 06:22 |
|
the tweet is about php
|
# ? Feb 27, 2018 06:24 |
|
Cut content from Accounting+
|
# ? Feb 27, 2018 06:25 |
|
DELETE CASCADE posted:the tweet is about php whats the thing
|
# ? Feb 27, 2018 07:57 |
|
Gazpacho posted:whats the thing coherent design
|
# ? Feb 27, 2018 11:10 |
|
yeah, php sucks.
|
# ? Feb 27, 2018 16:46 |
|
all the comments are saying JS though (the thing is left-pad)
|
# ? Feb 27, 2018 23:23 |
|
this dude is livestreaming common lisp game dev https://www.twitch.tv/baggers___ which one of you is this, fess up
|
# ? Feb 28, 2018 20:15 |
|
Ator posted:this dude is livestreaming common lisp game dev this is really cool, thanks for sharing it.
|
# ? Feb 28, 2018 20:24 |
|
|
# ? Jun 4, 2024 13:10 |
|
on apl style: https://sway.com/b1pRwmzuGjqB30On at the same time gave me my first plausible model of an apl mindset and made me like the language less seems like the epitome of "you don't need any comments, the code should be self explanatory" which is weird when your language gives perl programmers vertigo quote:Idioms simplify the name space, because idioms do not require
|
# ? Mar 4, 2018 14:42 |