Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekimekim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
ekimekim
2y ago
It's been a while since I did much Go, but I think you can handle this cleanly by making one channel per task, and having an array of channels similar to the array of promises. Each channel takes that task's result, then closes. T
32.
▲
by
ekimekim
2y ago
> You cannot go to a AT&T store to buy a phone and then use it on tmobile’s network. Why not? You're paying them for the device. Why should they have a right to stop you using it how you want? Imagine if buying a car also came w
33.
▲
by
ekimekim
2y ago
I joined a company in late 2020 that had gone remote at the start of the pandemic, and this crossed my mind. The deciding factor for me? The founders had since moved to different locations across the US. That put their money where their mou
34.
▲
by
ekimekim
2y ago
Well based on compiler bootstrapping techniques, it seems the solution is simple: Start by hand-assembling the most basic RNA life, then run each step of evolution in sequence. All you need is the DNA (and know the living conditions) of eve
35.
▲
by
ekimekim
2y ago
Python handles this case by raising the new error but including a reference to the original error. By default, the formatted error shows both: >>> mylist = [] >>> try: ... first = mylist[0] ... finall
36.
▲
by
ekimekim
2y ago
This is one of the coolest things about these kinds of bootstrapping projects + reproducible builds IMO. One could imagine creating an incredibly simple computer directly out of discrete components. It would be big, inefficient and slow as
37.
▲
by
ekimekim
2y ago
This is changing. Postgres (as you noted) supports JSON, and it also has excellent native support for arrays, range types, and composite types. For example: CREATE TYPE number_with_unit ( value DOUBLE PRECISION, unit T
38.
▲
by
ekimekim
2y ago
> word knowledge was intended by the game designers to be a part of the game This is the most frustrating part of Scrabble to me. I consider my vocabulary to be pretty good. But frequently when I try to use an even slightly-esoteric word
39.
▲
by
ekimekim
2y ago
Yes, their chat is still compatible with IRC, albeit with lots of extensions (which you can opt into using IRCv3 capabilitiy negotiation). More recently they've been adding UI elements on the main site that are web API powered instead
40.
▲
by
ekimekim
2y ago
The issue is that you don't normally let humans on them until you've proven they don't explode. If Boeing had followed each of those incidents with a re-do where everything went perfectly, it wouldn't be a problem.
41.
▲
by
ekimekim
2y ago
Yeah this is really starting to cause problems as things like this sugar tax push companies into adding sweetener to their "normal" versions. I now can't simply buy a Coke and know it will taste like Coke - I need to inspect
42.
▲
by
ekimekim
2y ago
> Rust doesn't have an effect system nor a similar facility to flag what code is not signal-handler-safe. My understanding is that a sound implementation of signal handling in Rust will require the signal handler to be Send, requiri
43.
▲
by
ekimekim
2y ago
I use https://addons.mozilla.org/en-US/firefox/addon/redirect-shor... which does exactly this. It's a simple redirect rule that shows the same video but in the normal video player.
44.
▲
by
ekimekim
2y ago
> Even processes are not safe if they modify state outside of themselves (files on the filesystem or whatever else). All processes should be prepared for a sudden crash without corrupting state. Things get OOM killed, machines get unplug
45.
▲
by
ekimekim
2y ago
From what I've heard, Google purposely ignores the Accept-Language header because they believe browsers with a mis-configured language (eg. the browser is set to use english when the user doesn't want english) is more common than
46.
▲
by
ekimekim
2y ago
> I actually rejected a job offer when heard I will be given a macbook pro. For what it's worth, I've had a good success rate at politely asking to be given an equivalent laptop I can put linux on, or provide my own device. I&#
47.
▲
by
ekimekim
2y ago
ah I missed that, apologies.
48.
▲
by
ekimekim
2y ago
> I'd suggest that unless you have very atypical habits that put you in conflict with bicycles very often and cars very rarely, you are worrying about the wrong thing. While you would be correct if only considering risk of death, th
49.
▲
by
ekimekim
2y ago
Most hosted options like GKE also fall into this category - networking, load balancers, and to a certain extent monitoring is all set up for you.
50.
▲
by
ekimekim
2y ago
I think the author might be making the common assumption that other people hold the same preferences they do. In the footnotes they speculate that most people prefer decorated objects but buy plain ones "to appear normal". Is it r
51.
▲
by
ekimekim
2y ago
Damn, from the title I was hoping for a series of images of the same scientist, each zoomed in more and more, until it's microscopic.
52.
▲
by
ekimekim
3y ago
At its core Kubernetes is mostly a HTTP API being used to sync state between nodes. I see no reason that part shouldn't work even across the world, albeit at the cost of slower syncing of state (eg. pods taking longer to be created aft
53.
▲
by
ekimekim
3y ago
I was desperately scrolling down the page looking for the part that identifies it as a parody...but yeah it looks serious. And that's terrifying.
54.
▲
by
ekimekim
3y ago
To expand on the sibling comments: This encoding (called Punycode) works by combining the character to encode (é) and the position the character should be in (the 7th position out of a possible 7) into a single number. é is 233, there are 7
55.
▲
by
ekimekim
3y ago
I did this when I first moved to the US, and had zero credit history (which the system considered to mean "high risk"). The entire point is to improve your credit score.
56.
▲
by
ekimekim
3y ago
What unix does is closer to [NonZeroU8] which is actually very helpful as can be seen in shell commands like find -print0 | xargs -0, since a NUL character is guarenteed to not be part of the actual arguments. You could do the same here, bu
57.
▲
by
ekimekim
3y ago
> If I transmit a statsd metric representing "CPU usage", I am still sampling it. In practice this is how everyone does it, but in theory it should be possible to have a non-sampled view of CPU usage (defined as "time proc
58.
▲
by
ekimekim
3y ago
I think asking "controversial" tech questions like that can be a great signal, because it steers the conversation towards features of the system and discussion of tradeoffs. If the question is good, then it shouldn't matter w
59.
▲
by
ekimekim
3y ago
To play devil's advocate (and let me be explicit: I think this would be a horrible idea) the benefit would be cheaper flights, which would in turn have benefits such as cheaper shipping costs (for air delivery), more people experiencin
60.
▲
by
ekimekim
3y ago
To add to the sibling comments, after going from a jsonnet-based setup to a Typescript-based one (via pulumi), the biggest thing I missed from jsonnet was the native object merge operations which are very useful for this kind of work as it
More ›