Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rumcajz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
How the US Government Created a Fake University to Snare Immigrant Students
(theguardian.com)
1 points
by
rumcajz
8y ago
|
0 comments
62.
▲
Tiles: Report on Programmatic Code Generation
(250bpm.com)
8 points
by
rumcajz
8y ago
|
0 comments
63.
▲
Programmatic Code Generation in Python
(github.com)
2 points
by
rumcajz
8y ago
|
0 comments
64.
▲
Whitespace Language
(wiki.c2.com)
2 points
by
rumcajz
8y ago
|
1 comments
65.
▲
by
rumcajz
8y ago
That's evil. I like it.
66.
▲
by
rumcajz
8y ago
Thanks!
67.
▲
by
rumcajz
8y ago
CLOSE frame exists in the WS protocol for a reason. It's there so that both sides know that all the messages were delivered before the connection was closed.
68.
▲
by
rumcajz
8y ago
Ok, I guess I'll have to give it a closer look. But are you positive they have a good story about interactions between hard and soft shutdowns? E.g. when grandparent requests a hard shutdown but parent a soft shutdown. Or vice versa. O
69.
▲
by
rumcajz
8y ago
It was proposed to introduce structured concurrency to Go, but it's not easy, not least because of the context and how it would play along. The issue was closed with "we need a larger discussion" comment. https://g
70.
▲
by
rumcajz
8y ago
I meant it the other way round. The question was not about what happens when the child dies. It was rather how does the parent let the child know that it should terminate. Or that it should eventually terminate, but that it should attempt a
71.
▲
by
rumcajz
8y ago
Disclaimer: I have almost no experience with Erlang/OTP. But the question here is not whether you can implement different kinds of shutdown, it's rather which kind covers the common graceful shutdown use cases. If Erlang/OT
72.
▲
by
rumcajz
8y ago
Here's a scenario: You webserver has an open long-lived WS connection. You stop load balancer. The connections still lives. Then you send SIGTERM to the webserver. The connections still lives. The main coroutine of the webserver catche
73.
▲
Graceful Shutdown
(250bpm.com)
47 points
by
rumcajz
8y ago
|
24 comments
74.
▲
Huawei tells New Zealand: banning us is like banning the All Blacks
(theguardian.com)
1 points
by
rumcajz
8y ago
|
0 comments
75.
▲
Structured Concurrency Cross-Language Forum Kickoff
(trio.discourse.group)
1 points
by
rumcajz
8y ago
|
0 comments
76.
▲
by
rumcajz
8y ago
OTOH: "Well-designed components are easy to replace. Eventually, they will be replaced by ones that are not so easy to replace."
77.
▲
by
rumcajz
8y ago
Cautionary tale: https://news.ycombinator.com/item?id=18832382
78.
▲
by
rumcajz
8y ago
> it's just splitting code into functions I feel you underestimate the concept of "function". We all tend to do that because they are abstractions so ubiquitious that we cannot even imagine world without them. But it was n
79.
▲
by
rumcajz
8y ago
That's the cost of abstraction. Abstraction done well is great. But "done well" means specifying the behaviour, all the quirks and corner cases, documenting it and keeping the docs in sync with the code. That's prohibiti
80.
▲
by
rumcajz
8y ago
OTOH, if I used generics or such people would argue about merits of generics and ignore the main point.
81.
▲
Confessions of an Abstraction Hater
(250bpm.com)
121 points
by
rumcajz
8y ago
|
131 comments
82.
▲
by
rumcajz
8y ago
Look at the alternatives though. Would you really want to use something like Spring in shell scripting?
83.
▲
by
rumcajz
8y ago
I like your definition of good code. In the industry we are brainwashed to think that code is something that needs constant maintenance. Good to see someone who haven't succumbed that mindset.
84.
▲
by
rumcajz
8y ago
And the phrygian used in metal has modified major third (G# instead of G) which, again, results in E major, not E minor chord.
85.
▲
by
rumcajz
8y ago
Em7 is easier to argue for. It's basically the dominant (G mojor) with added 6th.
86.
▲
by
rumcajz
8y ago
As for bounties, I think it messes up with the OSS governance model. Let's say there's a bounty for feature X. You implement the feature, want to merge it in, but the maintainers don't like it and don't want to merge it.
87.
▲
by
rumcajz
8y ago
Ah, I haven't been aware of usage of phrygian mode in metal music. Maybe that's what skews the ratio of Emaj/Emin towards the latter?
88.
▲
by
rumcajz
8y ago
It's not about E major as such -- all the songs were transposed to C major/A minor scales. It's about chord III in major scale or chord V in minor scale. In classical music chord III is basically never used in compositions in
89.
▲
by
rumcajz
8y ago
OTOH, I was quite surprised that E minor is used more (17%) than E major (10%) in popular music. In classical music the latter is quite common and the former is very rare.
90.
▲
by
rumcajz
8y ago
In Switzerland (at least where we live) parents are actively discouraged to bring kids to school or pre-school. The kids are supposed to get there on their own.
More ›