|
I always had a soft spot for arrows. Maybe AFRP will make them relevant again because they don't seem to fit a hole otherwise.
|
# ? Sep 7, 2015 22:03 |
|
|
# ? Jun 8, 2024 16:51 |
|
fart simpson posted:i like that literally the entire documentation for the type Kleisli m a b is "Kleisli arrows of a monad." and "Beware that for many monads (those for which the >>= operation is strict) this instance will not satisfy the right-tightening law required by the ArrowLoop class." here you go i made a bookmarklet to improve haskell docs code:
|
# ? Sep 7, 2015 23:53 |
|
|
# ? Sep 7, 2015 23:54 |
|
suffix posted:here you go i made a bookmarklet to improve haskell docs
|
# ? Sep 8, 2015 12:40 |
|
suffix posted:here you go i made a bookmarklet to improve haskell docs lol
|
# ? Sep 8, 2015 14:13 |
suffix posted:here you go i made a bookmarklet to improve haskell docs
|
|
# ? Sep 8, 2015 15:13 |
|
suffix posted:here you go i made a bookmarklet to improve haskell docs
|
# ? Sep 8, 2015 16:04 |
|
go question, so, https://blog.golang.org/go15gc, and https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/edit my reading of this is that go < 1.5 had a stop the world gc + by default would only use one core, where is all the lol web scale
|
# ? Sep 8, 2015 17:43 |
|
tef posted:go question, so, https://blog.golang.org/go15gc, and https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/edit hahaha holy lol tef posted:my reading of this is that go < 1.5 had a stop the world gc + by default would only use one core, where is all the lol web scale "Correctness. There is one non-performance concern. Increased parallelism could make bugs in racy programs more likely to cause crashes or other problems. The setting of GOMAXPROCS=1 may have thus far let those bugs go undetected." oh, you're thinking about adding parallelism, and you're thinking you only have one concern ... pay mind to the fact that the go scheduler has so far enforced strictly sequential executions... ... which is equivalent to locking the whole memory heap until your go-routine blocks or yields or gets pre-empted... so in reality all of those "racy" programs have actually been correctly synchronized and not racing their reads/writes at all but they soon will be!
|
# ? Sep 8, 2015 18:36 |
|
go is so loving terrible
|
# ? Sep 8, 2015 18:37 |
|
oops nvm, link was hosed up
|
# ? Sep 8, 2015 18:40 |
|
tef posted:go question, so, https://blog.golang.org/go15gc, and https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/edit lmfao "go makes concurrent programming really easy" -- thousands of early adopters who were under the impression they were doing concurrent programming
|
# ? Sep 8, 2015 22:46 |
|
concurrency =/= parallelism. Go was perfectly concurrent while running on single cores, it just didn't spread the load across them.
|
# ? Sep 8, 2015 22:53 |
|
welp that's me exposed as an imposter
|
# ? Sep 8, 2015 22:54 |
|
tef posted:my reading of this is that go < 1.5 had a stop the world gc + by default would only use one core, where is all the lol web scale Not everything needs to be as bare-metal as Javascript.
|
# ? Sep 8, 2015 23:39 |
|
"ReadTrace must be called from one goroutine at a time. " "Finalizers are run in dependency order: if A points at B, both have finalizers, and they are otherwise unreachable, only the finalizer for A runs; once A is freed, the finalizer for B can run. If a cyclic structure includes a block with a finalizer, that cycle is not guaranteed to be garbage collected and the finalizer is not guaranteed to run, because there is no ordering that respects the dependencies. "
|
# ? Sep 8, 2015 23:48 |
|
sarehu posted:Not everything needs to be as bare-metal as Javascript. true i'm kinda glad 1.5 got it's act together but tbh the complaints i heard about go make a lot more sense if the gc was rubbish i was told by a go engineer "but every real go program sets maxprocs" heh
|
# ? Sep 9, 2015 00:47 |
|
we've fixed the foot guns in c, we've added hashes, lists, and got rid of include files and make files too oh we've put some extra things to trip you up with a massive shared heap and a gently caress ton of concurrency
|
# ? Sep 9, 2015 00:49 |
|
|
# ? Sep 9, 2015 00:54 |
|
Max Facetime posted:so in reality all of those "racy" programs have actually been correctly synchronized and not racing their reads/writes at all maybe go programs will run long enough to encounter memory fragmentation
|
# ? Sep 9, 2015 01:12 |
|
some preprocessing tool will fix it
|
# ? Sep 9, 2015 01:18 |
|
MononcQc posted:some preprocessing tool will fix it If you have four features required of a preprocessor, you'll get a 4-pass preprocessor.
|
# ? Sep 9, 2015 01:52 |
|
JawnV6 posted:If you have four features required of a preprocessor, you'll get a 4-pass preprocessor. generics as a preprocessor trait/pattern match preprocessor an interactive debugger that recompiles all files with debug statements added on every line of source and has you load that in prod code coverage
|
# ? Sep 9, 2015 02:46 |
|
JawnV6 posted:If you have four features required of a preprocessor, you'll get a 4-pass preprocessor. that's not true, go implemented the ability to emit a dollar sign in go generate without adding a pass although someone should submit a feature request to add a pass to convert \$ to $DOLLAR
|
# ? Sep 9, 2015 02:46 |
|
MononcQc posted:preprocessing and source rewriting is the bread and butter of go holy poo poo lmao
|
# ? Sep 9, 2015 03:06 |
|
https://ipfs.io/ipfs/QmNhFJjGcMPqpuYfxL62VVB9528NXqDNMFXiqN5bgFYiZ1/its-time-for-the-permanent-web.html it's time for an open, permanent, distributed web: - anyone can upload anything - it's magically replicated elsewhere - there is no delete - it will be full of pornography and spam or abandoned or both
|
# ? Sep 9, 2015 04:54 |
|
i hope all the urls look as good as that one
|
# ? Sep 9, 2015 04:57 |
|
you can't have state server side. you can't have cookies. you can't have comments. if you could have comments you could never delete them. oh but you can have names. you can use dns, which won't stick around so all your permanent links will break. you can use a block chain instead. you know, just keep a record of every name ever and then burn cpu time if you want to register another one. good luck with that. on blockchains, the blockchain isn't the magic behind bitcoin, it's the pure strain gold. we've had freenet, we've had gnu-net, we've had mojonation, we've had diaspora, no one gives a gently caress about your distributed web unless it can keep their money save from roaming fema agents
|
# ? Sep 9, 2015 05:00 |
|
yeah it sounds like freenet or i2p minus the freedom of speech bend it still has to exist as a superset of the existing internet. it still has hardware and energy costs. is the plan for everyone to store a redundant packet of gangnam style in a swarm? like maybe you can make a completely .txt internet or something with a light footprint, but if nothing can be deleted, that means nothing can be removed, or nothing can be edited. it's a read-only network you can push files to idk i dont get it
|
# ? Sep 9, 2015 05:12 |
|
MononcQc posted:an interactive debugger that recompiles all files with debug statements added on every line of source and has you load that in prod what the gently caress
|
# ? Sep 9, 2015 05:12 |
|
hold up was go shipped without an official debugger wtf
|
# ? Sep 9, 2015 06:22 |
|
GrumpyDoctor posted:hold up was go shipped without an official debugger gccgo "supported" gdb gccgo is deprecated every service at google is either deprecated or not ready yet
|
# ? Sep 9, 2015 06:27 |
|
my favorite part is all the questions about this on stackoverflow etc "why doesn't go have a decent official debugger?" are met with "well I get by alright on print statements lol "b0lt posted:every service at google is either deprecated or not ready yet
|
# ? Sep 9, 2015 06:53 |
|
does Ruby have a debugger?
|
# ? Sep 9, 2015 07:32 |
|
Debuggers are for children.
|
# ? Sep 9, 2015 08:22 |
|
UncleBlazer posted:I always had a soft spot for arrows. Maybe AFRP will make them relevant again because they don't seem to fit a hole otherwise. i like arrowized frp alright. i used it to implement a sort of lazy rendering path in elm, which is a strict language
|
# ? Sep 9, 2015 08:56 |
|
fritz posted:what the gently caress quote:godebug rewrites your source code and injects function calls like godebug.Line on every line, godebug.Declare at every variable declaration, and godebug.SetTrace for breakpoints (i.e. wherever you type _ = "breakpoint").
|
# ? Sep 9, 2015 10:22 |
|
b0lt posted:every service at google is either deprecated or not ready yet google is the worst
|
# ? Sep 9, 2015 13:02 |
|
pseudorandom name posted:does Ruby have a debugger? who cares? go and ruby are both garbage that nobody should use
|
# ? Sep 9, 2015 13:32 |
|
|
# ? Jun 8, 2024 16:51 |
|
Every now and then, I notice "Since 1.1" in the Java API documentation and try to imagine what Java 1.0 was like and why anybody wanted to use it.
|
# ? Sep 9, 2015 15:26 |