Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sonata
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Sonata
2y ago
Great to see this moving forward. It does seem a bit of a mixed message to enable this by default while still saying the functionality is experimental. I fear many people will take this as a signal to start using the feature in production,
2.
▲
by
Sonata
2y ago
The approach taken to this problem by Cats Effect (a Scala concurrency library) is interesting. It allows cancellation of a fiber from outside, but let's blocks of code be marked as uncancelable. If a fiber is cancelled while executing
3.
▲
by
Sonata
3y ago
As long as they don't make them mutable!
4.
▲
by
Sonata
3y ago
Nice to see some Scala content on HN. Hope he finishes the book.
5.
▲
by
Sonata
3y ago
Here a common example: Given the following tables: CREATE TABLE person ( id INT PRIMARY KEY, name VARCHAR NOT NULL ); CREATE TABLE pet ( id INT PRIMARY KEY, name VARCHAR NOT NULL, owner_id INT NOT NULL ); I
6.
▲
by
Sonata
4y ago
Youth culture is alive and well. And as for music subcultures, I'm a fan of several genres which have distinctive fashions, art styles and world views - rave, psytrance, drum and bass, hardcore punk, metal. It's great to go along
7.
▲
Quine – Open-Source Streaming Graph for Event-Driven Applications
(quine.io)
8 points
by
Sonata
5y ago
|
0 comments
8.
▲
by
Sonata
5y ago
I'm glad people are working on this problem. Typescript's compiler performance is certainly a weakness. Other commenters have rightly called out the complexity of the type system as the reason why this is difficult. The other reas
9.
▲
Seven Days of OCaml
(davidtimms.github.io)
4 points
by
Sonata
5y ago
|
0 comments
10.
▲
by
Sonata
5y ago
Interesting. I'm not aware of any other lazy dynamic languages. I would assume it is difficult to optimise such a combination.
11.
▲
by
Sonata
5y ago
Having a good knowledge of HTTP is useful in many different contexts. - The correct semantics for each HTTP method - What different status codes indicate - Common headers, particularly around caching - HTTP 1.1 vs HTTP 2 - Common authentica
12.
▲
by
Sonata
5y ago
The important thing is that it separates the order of side-effects from the order of evaluation of expressions. This isn't a particularly important distinction in an imperative language, but in a functional language when you introduce
13.
▲
by
Sonata
6y ago
There are a lot of interesting possibilities with template literal types. I've discussed some of them here: https://davidtimms.github.io/programming-languages/typescrip...
14.
▲
Exploring Template Literal Types in TypeScript 4.1
(davidtimms.github.io)
2 points
by
Sonata
6y ago
|
0 comments
15.
▲
by
Sonata
7y ago
This sounds similar to how Cloudflare Workers work - using the V8 isolate technology built for Chrome to provide secure isolation of backend processes without the overhead of VMs or even containers.
16.
▲
by
Sonata
9y ago
If you're looking to create a dynamic language with reasonable performance, you could look at implementing it with RPython [1], which is used for PyPy, or for the Parrot VM [2], which is used for Perl 6. Once it becomes a little more m
17.
▲
by
Sonata
10y ago
I'm really not a fan of the function bind operator. It adds extra complexity to the meaning of "this" in JS, which is already one of the most confusing aspects of the language. I do understand that it is nice to be able to wr
18.
▲
by
Sonata
10y ago
What features would a type system require to be able to soundly type check 100% of the patterns that are found in dynamically typed programs? Dependent types? Refinement types? Is it possible?
19.
▲
by
Sonata
11y ago
After having used this operator in Elixir and Elm, I would love to see it in JS. I know it seems like a superficial issue, but I think the left-to-right chaining flow is one of the main things people miss as they move from an OO style to a
20.
▲
by
Sonata
11y ago
This is exactly the response to this tragedy that I was fearing in the UK. What the article fails to mention is that France passed their own sweeping surveillance law earlier this year [1], and it clearly failed to stop this attack from hap
21.
▲
by
Sonata
11y ago
I really hope immutable collections get added to the standard library eventually (probably ES2017 at this rate). Proxies should allow them to be used with libraries which expect mutable objects and arrays, as long as they don't mutate
22.
▲
by
Sonata
12y ago
This looks fantastic. Python always feels like it's almost as good as a dynamic, imperative language could get, but I miss some of the functional idioms from other languages. It's great that this is just a thin layer over Python t
23.
▲
by
Sonata
12y ago
This is something which really excites me about Rust. Having constructs as fundamental as function application extensible via traits reminds me of Python's magic methods, but without the runtime overhead.
24.
▲
by
Sonata
12y ago
Haskell and Clojure both use structure-sharing data structures, which allow immutability without the cost of copying the entire structure whenever you want to make an update. They also use laziness to improve the performance of their data s
25.
▲
by
Sonata
12y ago
From what I can see, seamless-immutable basically just enforces immutability on native JavaScript data structures. Immutable.js on the other hand, implements full persistent data structures, which give much better time complexity guarantees
26.
▲
by
Sonata
12y ago
It appears the author has already answered my question: http://www.nczonline.net/blog/2014/04/22/creating-defensive-...
27.
▲
by
Sonata
12y ago
Can't the exception throwing on missing property behaviour be created using ES6 proxies? Anyway, while many of these things would be nice additions, I think ES7 will contain more low-level features which particularly benefit libraries
28.
▲
by
Sonata
12y ago
very nice, although the text shadow on the code makes it a bit hard to read