Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
a_humean
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
a_humean
5y ago
Except notably sum types and pattern matching are language features that are not assoicated with Java at all. They are more closely assoicated with ML and functional programming languages, and not with Java. Java only got something approach
92.
▲
by
a_humean
5y ago
You are presenting it as an exclusive "or" question, when in fact you just do both. You add a variant, and the compiler will lead you to all of the places where you need to handle that variant. Or you remove a variant, and the com
93.
▲
by
a_humean
5y ago
A union does not necessarily play the role of migitation of negative externalities from a company's profit seeking activies. It still wants to maximum profits but with workers taking a fair share of such profits and under good work con
94.
▲
by
a_humean
5y ago
I have a family member that owns one and I've tried it a few times recently. The bike hardware is very good, the instructor content is very good, the software is decent. No noticeable decline in software or content. Overall cost compar
95.
▲
by
a_humean
5y ago
That probably 1,000 scale. So the actual number is 2,331,000 subscribers with a very small churn rate, which is enough to sustain that business and valuation.
96.
▲
by
a_humean
5y ago
It doesn't support one variant of them, const enums for example. That ties you to tsc emit. Its pretty clear that if the tsc team could they would remove enums and favour literal unions.
97.
▲
by
a_humean
5y ago
I'm pretty sure once you cost out everything from taxes, health insurance, housing, etc.. whether business or personal costs an equivalent developer in say Paris will have much less disposable income and overall assets than one in SF.
98.
▲
by
a_humean
5y ago
Maybe a bit low for someone this experienced, but actually its just above the median salary for a developer in Paris. Developer salaries in Europe are not the astronomic salaries you see in the US in the major cities. Probably the highest p
99.
▲
by
a_humean
5y ago
Inflation of 6.8%, which isn't even that historically unusual and would mostly be termed as a moderate level of inflation, isn't remotely comparable with the current 50% inflation rate or the 20,000% rate that Argentina has experi
100.
▲
by
a_humean
5y ago
Every puzzle comes with example inputs and expected outputs. Those inputs are much smaller than the puzzle input, but if you get the example inputs and expected outputs right then you are probably most of the way there. Basically every puzz
101.
▲
by
a_humean
5y ago
What about its original purpose, which was telecoms infrastructure?
102.
▲
by
a_humean
5y ago
Rust's cargo is the high water mark today (and is a substantial reason for Rust's popularity). Ruby's rubygems, node's npm, and the elm package manager all get different things right and wrong, but at least they are a co
103.
▲
by
a_humean
5y ago
It just means they have never worked in another langauge that does this any better.
104.
▲
by
a_humean
5y ago
In the UK its per hour and is different for different age cohorts (25+ > 21-24 > 18-20 > 16-17 > 0-16), and the author from the UK. Maybe its a bit of a parochial American thing to assume that everyone is an American being overl
105.
▲
by
a_humean
5y ago
I feel like Europe and the UK tends to have a better approach to these things. We don't leave it to private litigation with class action lawsuits to enforce consumer protection standards, but instead we have various regulators both loc
106.
▲
by
a_humean
5y ago
Nothing of value would be lost
107.
▲
by
a_humean
5y ago
No-code eventually becomes so complex that it becomes a bad programming language eventually, or lacks the expressiveness of a programming language to do what the business wants. The imagined problem no-code addresses is business people thin
108.
▲
by
a_humean
5y ago
They are talking about the survey data, which doesn't rely upon the normal testing regime. They randomly contact and test individuals irrespective of their symptoms status, which is different from the normal testing regime that gets re
109.
▲
by
a_humean
5y ago
Funny enough, reductions of the causal relation to a counterfactual one is a common theme in philosophy (and adjacently in statistical sciences - see Pearl). Most philosophers would contend that a true counterfactual can be sufficient condi
110.
▲
by
a_humean
5y ago
Yes, it doesn't really distinguish between loading vs null values in any of the examples. My guess is its going to be something like `undefined` means loading and `null` means null.
111.
▲
by
a_humean
5y ago
How do you deal with error handling? I don't see anything in the docs about error handling. How do you deal with union types? The docs seem completely scant on that. Otherwise very interesting approach.
112.
▲
by
a_humean
5y ago
The tc39 pattern matching proposal seems to have some renewed energy with new champions (including from the typescript team) and syntax proposals: https://github.com/tc39/proposal-pattern-matching Also there has been m
113.
▲
by
a_humean
5y ago
I was looking at dotty/scala 3 earlier in the year and I was quite surprised to see familiar friends from Typescript in the form of literal types and union types. val scala: "Scala" = "Scala" const typescript: "
114.
▲
by
a_humean
5y ago
Can anyone recommend any resources for using something like esbuild for creating packages for publishing - in an npm or monorepo context for react typescript libraries that involves assets like inlining svgs and css?
115.
▲
by
a_humean
6y ago
CSS is pretty terrible for interactive and cancellable animations, and React does not make it easy to do exit transitions for which CSS provides no solution. Hence the existence of libraries like react-transition-group, react-motion, and re
116.
▲
by
a_humean
6y ago
Interesting talk by one of the advisor's of the government's new computing education, Simon Peyton Jones, best know for being one of the main contributors to Haskell's GHC: https://www.youtube.com/watch?v=X-AI
117.
▲
by
a_humean
6y ago
Its too late to "prevent" global warming. We had our chance in the 80s and 90s. We are now at stage of mitigation and trying to curve the trend away from the worst case scenario ("just" 2C warming instead of 4C). If we d
118.
▲
by
a_humean
6y ago
In western philosophy there was a divergence in both in style, lexicon, and method in the early 20th century that was exasperated by the two world wars. They share common ancestors (Kant basically), but to a certain extent are mutually inco
119.
▲
by
a_humean
6y ago
Genuinely the best online resource for academic philosophy. Primers on pretty much every sub discipline that might be of interest to any western philosopher written and edited by subject matter experts on the topic. All free, and with excel
120.
▲
by
a_humean
6y ago
I cannot imagine anyone would have to change anything.
More ›