|
Ralith posted:In rust, "task" is just the word for a top-level future, i.e. one driven directly by an event loop, rather than by another future. Is that still the case? There was the 0.1 API where I think this is true, the proposal for adding futures to the stdlib, the revised proposal that was also tabled, and there's another alternative proposal cooking that hasn't been posted, and I thought somewhere is all that mess, Task became an actual abstraction. I could be hallucinating though.
|
# ? Dec 9, 2018 02:55 |
|
|
# ? Jun 6, 2024 20:11 |
|
mystes posted:YOSPOS: hasn’t everybody that attempted green threads inevitably abandoned them? yeah amberpos is much better
|
# ? Dec 9, 2018 03:14 |
|
crazypenguin posted:Is that still the case? There was the 0.1 API where I think this is true, the proposal for adding futures to the stdlib, the revised proposal that was also tabled, and there's another alternative proposal cooking that hasn't been posted, and I thought somewhere is all that mess, Task became an actual abstraction.
|
# ? Dec 9, 2018 03:58 |
|
Sapozhnik posted:Is there a single implementation of async await where I can await A which {awaits B and then awaits C} and have an oops in C yield an actually useful stack trace instead of seeing "_internalScheduleWorkItem called B$closure02f7116c called C” or similar not async/await but Cocoa's Grand Central Dispatch does this for async blocks and it's very helpful
|
# ? Dec 9, 2018 16:07 |
|
This isn't really a programming language, but is it possible to search for tweets on twitter that contain urls? Not a specific url, but any http link
|
# ? Dec 10, 2018 07:15 |
|
icantfindaname posted:This isn't really a programming language, but is it possible to search for tweets on twitter that contain urls? Not a specific url, but any http link twitter sells a feed of that so no probably not
|
# ? Dec 10, 2018 07:19 |
|
icantfindaname posted:This isn't really a programming language, but is it possible to search for tweets on twitter that contain urls? Not a specific url, but any http link i don't think there is a specific "any url" search or keyword, but the json that the apis return has "url entities" https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object.html but i think url entities are populated even when replying and retweeting, with a reference to the original tweet
|
# ? Dec 10, 2018 07:35 |
|
i'm so happy i don't work somewhere that wants to analyze tweets
|
# ? Dec 10, 2018 15:33 |
|
hackbunny posted:not async/await but Cocoa's Grand Central Dispatch does this for async blocks and it's very helpful adding that was probably the biggest productivity boost a devtools update has ever given me. it's so absurdly helpful especially with the all-too-common cocoa pattern of "just loving throw dispatch_async() calls around everywhere for no reason at all"
|
# ? Dec 10, 2018 20:21 |
|
bad twitter UI is just got me unrealistically excited about clojure
|
# ? Dec 19, 2018 17:33 |
|
never done anything in clojure, but one of those i follow since it really comes off as a really sensible project, one can take issue with the basic choices (dynamic, lisp), but from there the design is intelligently driven clojure.spec for example is quite neat
|
# ? Dec 19, 2018 17:42 |
|
yeah, i'm not trying to diss clojure there, although now i've got clojure fans coming out of the woodwork to list off everything that clojure's ever done somebody mentioned that clojure uses stm, and if so then that's the first ambitious thing i know it does? and now i'm really curious how they do that efficiently without jvm support. but sorry, stuff like "immutable data structures" may be a really good basic design decision but it is not particularly innovative to "bring it to the jvm"
|
# ? Dec 19, 2018 17:57 |
|
I like clojure a lot but lisps are just annoying to work with
|
# ? Dec 19, 2018 18:51 |
|
rjmccall posted:yeah, i'm not trying to diss clojure there, although now i've got clojure fans coming out of the woodwork to list off everything that clojure's ever done i largely agree, but then 'innovation' is really far down on the list of important pl features outside of this thread was largely the point of that twitter thread alsp; that it is fine'ish that rust is more unstable (spec- and implementation-wise) since it is more innovative/ambitious than clojure still, doesn't make for interesting pl posting to do a bunch of simple things well in concert
|
# ? Dec 19, 2018 18:55 |
|
Malcolm XML posted:I like clojure a lot but lisps are just annoying to work with Same. Every time I try to learn a LISP my eyes defocus and I have to give up.
|
# ? Dec 19, 2018 19:02 |
|
Cybernetic Vermin posted:i largely agree, but then 'innovation' is really far down on the list of important pl features outside of this thread yeah. clojure has a straightforward design philosophy which it deserves credit for pursuing. following that design philosophy is a fine way to solve a certain kind of problem which is well-suited to the jvm, which makes it an effective programming language even if it's all just modest extensions of ideas from older languages. i'm sure their jvm-hosted stm performs terribly but they have a ready excuse that you should be avoiding that kind of thing anyway and relying more on immutability
|
# ? Dec 19, 2018 20:05 |
|
Sapozhnik posted:Is there a single implementation of async await where I can await A which {awaits B and then awaits C} and have an oops in C yield an actually useful stack trace instead of seeing "_internalScheduleWorkItem called B$closure02f7116c called C” or similar C# is verbose, but you get useful info from it (along with the garbage) code:
pre:at Submission#0.<GetInt>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Submission#1.<GetInt2>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Submission#2.<GetInt3>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Submission#4.<<Initialize>>d__0.MoveNext() havelock fucked around with this message at 03:38 on Dec 20, 2018 |
# ? Dec 20, 2018 00:11 |
|
Cybernetic Vermin posted:never done anything in clojure, but one of those i follow since it really comes off as a really sensible project, one can take issue with the basic choices (dynamic, lisp), but from there the design is intelligently driven clojure gets the Kevin Mitnick P.E. Memorial Award for most reasonable crackpot plang
|
# ? Dec 20, 2018 02:38 |
|
Kevin Mitnick P.E. posted:Kevin Mitnick P.E. Memorial Award
|
# ? Dec 20, 2018 03:21 |
|
Sagacity posted:i didn't realize you named your turds we all like to name our posts from time to time
|
# ? Dec 20, 2018 03:32 |
|
Clojure is good actually maybe the best dynamic Lang. I always hated python and Javascript but this ones good y’all. ignore the weird obsession with hickey and pray you never inherit someone else’s giant lisp project
|
# ? Dec 20, 2018 03:38 |
|
Sagacity posted:i didn't realize you named your turds only the ones that don't want to go down so i have to get a plastic knife from the kitchen and murder it to death
|
# ? Dec 20, 2018 04:43 |
|
Cybernetic Vermin posted:i largely agree, but then 'innovation' is really far down on the list of important pl features outside of this thread "innovation" is a cost required to solve a problem, not a feature it's really easy to make a PL that does a bunch of wacky new things that no one has done in a PL before. the hard part of PL design is solving the problems that existing languages have while minimizing the number of new concepts and ideas that users have to learn to use it. clojure's core idea is to take an existing good language that isn't widely used, and make it run on a widely used good platform. in an ideal world, this would be entirely gruntwork with no design required; in practice there were a bunch of impedance mismatches that they had to sort out, but nothing particularly novel. coming up with novel solutions to this problems would have just made clojure worse and been a distraction from what they were actually trying to do, which was to create a practical language for writing real software in. it's sort of nonsensical to even compare it to rust, which spent years as a research language and was nearly a decade old before finally becoming something intended for actually writing software.
|
# ? Dec 20, 2018 06:52 |
|
the main insight in clojure was that they could abandon common lisp compatibility to enable higher performance and new features there had been prior (modestly successful) attempts to do lisp on the jvm, like abcl, but common lisp compat was an anchor dragging them down clojure abandoned some of the good things in lisp, but in return, achieved better java interop and a better mapping to the underlying features of the jvm
|
# ? Dec 20, 2018 18:16 |
|
I am currently learning java to make a plugin for a program we use at work and I am in hell Not because java but because there is basically 0 documentation for the program
|
# ? Dec 21, 2018 01:43 |
|
clojure is kinda like lisp but you have different kinds of parens instead of just the one
|
# ? Dec 21, 2018 02:07 |
|
creatine posted:I am currently learning java to make a plugin for a program we use at work and I am in hell who has time for documentation? move fast, break things
|
# ? Dec 21, 2018 09:56 |
Boiled Water posted:who has time for documentation? move fast, break things are you our lead systems architect
|
|
# ? Dec 21, 2018 11:26 |
|
cinci zoo sniper posted:are you our lead systems architect can't be, from what you've previously posted your technical colleagues are the four horsemen
|
# ? Dec 21, 2018 11:39 |
|
cinci zoo sniper posted:are you our lead systems architect i'm pretty sure the only thing we hired a lead systems architect for was to install the drinking water pipes
|
# ? Dec 21, 2018 11:50 |
|
is all of yospos working in the same building and bringing drinks from home?
|
# ? Dec 21, 2018 11:57 |
Boiled Water posted:is all of yospos working in the same building and bringing drinks from home? i had to do relationship management with our water cooler bottle supplier, but that did pay off so we now have water in office
|
|
# ? Dec 21, 2018 12:00 |
and by that i mean our office admin of the time hosed up so badly that i literally had to go behind their back and deal with the account manager from supplier side directly, to resolve such complex task as arranging fortnightly delivery of 35 gallons of water on thursdays
|
|
# ? Dec 21, 2018 12:01 |
|
DELETE CASCADE posted:clojure is kinda like lisp but you have different kinds of parens instead of just the one http://clochure.org/ quote:You can find thousands of iOS developers that can jump right on to Clochure Projects.
|
# ? Dec 21, 2018 12:26 |
|
cinci zoo sniper posted:and by that i mean our office admin of the time hosed up so badly that i literally had to go behind their back and deal with the account manager from supplier side directly, to resolve such complex task as arranging fortnightly delivery of 35 gallons of water on thursdays I think you mean semibiweekly
|
# ? Dec 21, 2018 14:04 |
|
Soricidus posted:i'm pretty sure the only thing we hired a lead systems architect for was to install the drinking water pipes I appreciate this
|
# ? Dec 21, 2018 16:16 |
|
Soricidus posted:i'm pretty sure the only thing we hired a lead systems architect for was to install the drinking water pipes
|
# ? Dec 21, 2018 21:07 |
omg i just got it
|
|
# ? Dec 21, 2018 21:24 |
|
the english language sucks
|
# ? Dec 22, 2018 13:42 |
|
|
# ? Jun 6, 2024 20:11 |
|
Wheany posted:the english language sucks Does not it?
|
# ? Dec 22, 2018 17:00 |