Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fenollp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
121.
▲
by
fenollp
11y ago
Author also made [1] and [2], FYI. [1] https://www.youtube.com/watch?v=rRbY3TMUcgQ [2] https://www.youtube.com/watch?v=b2F-DItXtZs
122.
▲
by
fenollp
11y ago
Or: hello|.?ello|h.?llo|he.?lo|hel.?o|hell.?
123.
▲
by
fenollp
11y ago
Do you have a link to a leader election algorithm in P sytems? My Google-fu returns nothing…
124.
▲
by
fenollp
11y ago
You can typecheck your had hoc Erlang protocols using Concuerror and Dialyzer
125.
▲
by
fenollp
11y ago
You know that Erlang is not entirely written in Erlang, right?
126.
▲
by
fenollp
11y ago
Functional programming isn't about being side-effects free, it's about controlling side effects. You can't write (useful) pure programs , but pure functions.
127.
▲
by
fenollp
11y ago
fact(match) = 0 or 1 -> 1 n -> n * fact(n - 1) why not simply fact(0 or 1) -> 1 fact(n) -> n * fact(n - 1)
128.
▲
by
fenollp
11y ago
Yup. It runs on the ARM host and you have to use those NIFs to explicitly make use of the Epiphany coprocessor AFAICT
129.
▲
by
fenollp
11y ago
The only way Sergey "stole" code was by pushing open source code back to upstream..
130.
▲
by
fenollp
11y ago
> manage your memory BEAM has a load of different memory allocators. Reading this [0] gives an idea of the piece of work the BEAM vm is. [0]: http://www.erlang-factory.com/static/upload/media/1394545171...
131.
▲
by
fenollp
12y ago
How is this better than the battle-tested `gen_server`? I like that the only usage example is in doc/ and uses a `gen_server`… Where are the tests? `modern_async`? Really?
132.
▲
by
fenollp
12y ago
Check out this French company https://www.clever-cloud.com/en/ They have support for Erlang although I don't see it advertised there anymore.
133.
▲
Show HN: Visually mine π
(github.com)
5 points
by
fenollp
12y ago
|
0 comments
134.
▲
by
fenollp
12y ago
So basically pattern matching, shorter syntax for lambdas, string manipulation à la Ruby (but with backquotes, why?) and… confusing list with array EVERYWHERE in the language? No TCO? A `map` (sorry, `mapWith`) that creates then concatenate
135.
▲
by
fenollp
12y ago
But but but Go's concurrent scheduler just isn't preemptive. It's cooperative (and that's meh).
136.
▲
by
fenollp
12y ago
https://www.parallella.org/ RISC, but has the things you mentioned.
137.
▲
by
fenollp
12y ago
I'm suggesting retraction should not be implemented in the first place
138.
▲
by
fenollp
12y ago
Then why does the API allow it?
139.
▲
by
fenollp
12y ago
Eh. The point is to not handle things you don't need to. There is of course a point in handling special cases (like the ones you cited). But compare Erlang's declarative & to-the-point style with Go's `…,err = …; err != n
140.
▲
by
fenollp
12y ago
This ambiguity is something I tried to put in words so many times, and you did it so very eloquently! During a discussion I will often find myself go on multiple tangents to test the meaning of a phrase I am listening to, lopping with each
141.
▲
by
fenollp
12y ago
http://blog.brokep.com/2014/12/09/the-pirate-bay-down-foreve...
142.
▲
by
fenollp
12y ago
I believe you mean a decentralised repository of TPB's magnet links? I guess a Git repo would do just fine. It just needs to be regularly updated and signed-off by TPB's people.
143.
▲
by
fenollp
12y ago
So uh, Mars is smaller than Earth now?
144.
▲
by
fenollp
12y ago
> many instances of the same small services that don't really need to be aware of each other Then your problem is embarrassingly parallel and your solution does not need to be "micro services" to scale. Sorry if I missed s
145.
▲
by
fenollp
12y ago
Quick side question on this piece of Smalltalk: my_func := [ 'Look, I'm a function!' ]. How does the string parsing work here? I like it a lot edit: welp, this [1] makes it sound like 'Look, I'm a function!
146.
▲
by
fenollp
12y ago
There is a binding to wxWidgets that is part of the official Erlang releases. There is also this: http://www.erlang.org/workshop/2004/ex11.pdf
147.
▲
by
fenollp
12y ago
Yes, the line count_characters([H|T], #{ H := N }=X) -> … is not yet fully understood by the VM. More details on this here [1]. Every other line works fine though. Oh and instead of using maps one can use records, dicts, sets,
148.
▲
by
fenollp
12y ago
I'd say the newly gained acceleration is due to [1] the force of attraction suddenly disappearing. [1] https://github.com/stephenbalaban/Gravity/blob/master/Gravit...
149.
▲
by
fenollp
12y ago
What if we feed afl a program that checks whether a number is prime? Will it slowly discover a way to make primes?
150.
▲
by
fenollp
12y ago
Have a look at Cantor Dust [1], a visual reverse-engineering program that is promising. The author says in a presentation [2] that CD is based on Cortesi's work. [1] https://sites.google.com/site/xxcantorxdustxx&#x
More ›