Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ao7bei3s
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
Ao7bei3s
7y ago
That's the formal definition, and an interesting corollary with interesting consequences (from a typing perspective, a function of any return type can always opt to halt instead of returning. note that in a lazily evaluated language li
122.
▲
by
Ao7bei3s
7y ago
No. First, null is generally a value, not a type. Second, think of bottom types as "does not return". Taking C as an example: C doesn't have a bottom type, only void which is a unit type (it has a single value, which is anony
123.
▲
by
Ao7bei3s
7y ago
He said "The RAM needed for each container was very small" - the RAM is _not_ the limit here. The point is that running many containers is a very different (hard to compare directly) type of load than the main, well optimized use
124.
▲
by
Ao7bei3s
7y ago
Nice! But how do you tell that from strace? Wouldn't it just show the guests stuck in connect()? With perf, sure, but strace?
125.
▲
by
Ao7bei3s
7y ago
I don't think that's the most important part. Rather: Full disclosure can also protect previously unaffected / potential future customers, by warning them of companies that have been so lax with their security that they'
126.
▲
by
Ao7bei3s
7y ago
Spot-on! For the specific purpose of controlling APA102 via wifi, ESP8266 (NodeMCU or similar) seems optimal, as 1x SPI and WiFi are the only peripherals needed and so ESP8266 is a perfect fit hardware-wise, and it's well-supported, ex
127.
▲
by
Ao7bei3s
7y ago
APA102 is strictly better than WS2812B (standard SPI, much less sensitive to timing, way less PWM flicker, similar price/availability). When you still want bare metal, pick a modern uC like ESP8266 (cheap, 32 bit, integrated WiFi for t
128.
▲
by
Ao7bei3s
7y ago
So like Bandcamp, but...?
129.
▲
by
Ao7bei3s
7y ago
It's never exactly 50 Hz, as the frequency is affected by load and generators can't compensate this perfectly. So record it in many locations, then correlate the signal extracted from audio/video against the database. Main ar
130.
▲
by
Ao7bei3s
7y ago
"The wrong reflection" doesn't give the right impression. The point a 100W laser projects against e.g. a wall, when viewed at 1m distance, can damage your eye. Even if perfectly diffuse. Even if invisible. I recommend taking
131.
▲
by
Ao7bei3s
7y ago
Nice project! Thanks for working on it! It would be great if there were more search filters. Especially size ("larger than") and date ("within x-y", "last 1 day/week/month/year"). And when you ha
132.
▲
by
Ao7bei3s
7y ago
For microwave ovens / water: You have cause and effect reversed. You believe water has an absorption peak at 2.4GHz because microwave ovens use it, not the other way around. In reality, microwave ovens use 2.4GHz because it's lega
133.
▲
by
Ao7bei3s
8y ago
Don't be overly pedantic. As inaudible to human hearing is exactly what the author meant, 0dB (implicitly relative to anything reasonable) actually matches the intent better. Also 0dB (relative to no matter what) is closer to the machi
134.
▲
by
Ao7bei3s
8y ago
What's the best way to handle updates? I would like to switch to a dockerized setup, but running everything on Debian/stable has the advantage of unattended-upgrades (which has worked absolutely flawlessly for me for years across
135.
▲
by
Ao7bei3s
8y ago
On the other hand, the latest two OnePlus phones (6 and 6T), the older of which was released 9 months ago, still aren't supported. (Apparently the reason is LineageOS' lack of / in-development state of A/B partition supp
136.
▲
by
Ao7bei3s
8y ago
Thanks for correcting that part then. I've never even been in a real helicopter unfortunately. I really wish I could touch the stick of one once to see how it compares to models in terms of touchiness... it's (un)fortunate that th
137.
▲
by
Ao7bei3s
8y ago
Another example would be rapid descents: the aircraft can become quite unstable when it gets into its own downwash. (A high control frequency makes all the difference here for quadcopters. Compare a toy and a hobby quadcopter, it's eas
138.
▲
by
Ao7bei3s
8y ago
No, not at all. The technical difference is how the overall thrust is steered: * Quadcopter: the speed of four (fixed pitch[1]) propellers is managed independently. Spinning a single propeller a bit more tilts the copter away from that prop
139.
▲
by
Ao7bei3s
8y ago
Just naive, not arrogant (it's ok & encouraged to think through things yourself, even if there already is a solution. you can't expect to come up with actually new good things on day 1.). You've described the obvious part
140.
▲
by
Ao7bei3s
8y ago
* Secure handshaking requires interactivity, unless you share secrets with your actual partner (no, your CA trust store isn't enough) in advance. So your first packet would leak it. * To return ICMP error messages ("destination un
141.
▲
by
Ao7bei3s
9y ago
Only if you want to hang out with a group of people with no particular shared interests. It's easier if you take part in some hobby / special interest group. In my experience, a shared interest can really bring people together and
142.
▲
by
Ao7bei3s
9y ago
Look, a decent Yaesu costs 5x as much, and the Baofeng fully fulfills the role I recommended it for - which is to get a beginner started quickly. The entire point was that you don't need to take part in the pay to win game. Noone sai
143.
▲
by
Ao7bei3s
9y ago
Ham radio does not necessarily mean expensive equipment. It tends to get expensive, but with some knowledge about electronics, you can build transceivers and antennas very cheaply too - and after all, being allowed to do that is the main,
144.
▲
by
Ao7bei3s
9y ago
Or try zsh with a good pre-made config like grmlzshrc[1]. It allows changing to a directory by typing only its name (or path). This includes the .. directory. Doesn't get faster. [1] https://grml.org/zsh/
145.
▲
by
Ao7bei3s
9y ago
Nice, thanks for pointing that out!
146.
▲
by
Ao7bei3s
9y ago
As if reproducible builds hadn't been done before. If Debian can get to building 80% of their packages reproducibly[1], the communities around Android can get there too. Luckily, it's being worked on.[2] Now the question is: (whe
147.
▲
by
Ao7bei3s
9y ago
Except it really isn't entirely your own genome. You share most of it with your relatives, and to lesser extents, the rest of us and all other beings. Since it's a shared resource, they should have a say. Can you follow the argume
148.
▲
by
Ao7bei3s
9y ago
sed -i also has the less obvious advantage that it is atomic. (It writes to a temporary file, and then atomically renames it to the final location. Whereas if sed expr src > dst is killed, dst may be corrupt. You'd need to handle te
149.
▲
by
Ao7bei3s
9y ago
Quite the opposite, actually - the announcement was by accident, and the police at the border weren't informed. They caved to the sheer mass of people, unintentionally organized by the party. It is not clear that if a similar number of
150.
▲
by
Ao7bei3s
9y ago
import random while True: print(random.choice("╱╲"), end="") How's that for readability?
More ›