Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jws
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
jws
6y ago
… or you used minutes with a decimal minute, or minutes and seconds, or maybe decimal degrees. There comes a time when a format has so many confusable variants, it’s best to make a new unambiguous format. I prefer “three words”. You get thr
242.
▲
by
jws
6y ago
You don’t need an address. I’m in the preorder queue for a small island with no streets, much less addresses.
243.
▲
by
jws
6y ago
Our national housing stock is FULL of places with narrow winding stairs, lead paint, full flow toilets and shower heads, untempered glass, single pane windows, uninsulated walls or ceilings, ungrounded outlets, undersized plumbing, sketchy
244.
▲
by
jws
6y ago
They are feeding, at the high range, 0.5% seaweed. A cow eats about 10kg of feed a day for 20 months before it is in turn eaten. That seems like 6000kg of feed which means 30kg of seaweed to make a 500kg cow. Algae to cow is likely a longer
245.
▲
by
jws
6y ago
The straight line move used manually operated jack screws. Each was operated by a team of men that turned handles through an arc of 90 degrees six times in about 30 seconds, and then they rested 30 seconds (!). Each operation moved the l
246.
▲
by
jws
6y ago
It’s worth mentioning that if a street light shines in your window you may be able to contact your town and have them shade that side. My city has a contact on the web, you identify the light and what you would like shaded, and they come ar
247.
▲
by
jws
6y ago
When the satellites are transitioning to their service orbits they are not in the low reflectivity orientation.
248.
▲
by
jws
6y ago
The cost of nickel is an issue… The metals needed to make the battery – nickel and iron – are also more common than, say, cobalt which is used to make conventional batteries. Nickel is running about $20/kg. Cobalt is about $50/k
249.
▲
by
jws
6y ago
Early starships got me thinking: given the high likelihood of a failed starship landing, and maybe having the ability to send one before fully engineering a payload… What would you ballast a starship with for the practice missions? Useful m
250.
▲
by
jws
6y ago
The trick is to make good skin contact with your legs before you heat it up. You are a mammal and can easily dissipate over 100 watts, it is your human super power. The bottom will only get a bit warm as you pump away all the heat. In days
251.
▲
by
jws
6y ago
There’s nothing to be done about winter, that is the “regular” time and you live in the north. You only get the sun above the horizon for 9 hours a day in late December. The summer 9pm is the advantage of daylight savings. You get the sun u
252.
▲
by
jws
6y ago
This is "seizure" in the sense that the ill gotten contents of the wallet now legally belong to the government, not in any kind of "digital possession, who can own a number", philosophical discussion. The government can&
253.
▲
by
jws
6y ago
Non-scary things from a quick reading… • You must start with 78 square miles (200 square kilometers) of uninhabited land not contained in any township. (Not too hard in Nevada, but you might need to buy out a rancher to get something nice.
254.
▲
by
jws
6y ago
If you are in the "I wish Safari blocked ads" boat but don't know where to go, let me recommend an out… There are a lot of reasonable choices, I've been using Wipr for years. It does a good job of blocking ads and costs
255.
▲
by
jws
6y ago
I got mine through Apple's page. It took a day or two to clear. No fuss.
256.
▲
by
jws
6y ago
They could put all the USB C logic required for power negotiation in the molded connector of a USB C cable and expose 5 contacts on the magnetic side of the connector. [gnd-pwr-data-pwr-gnd] that lets you plug it in either way. You would th
257.
▲
by
jws
6y ago
Just a little more info and a meta-HN fact: I don't ordinarily use bit torrent, but I was downloading a couple OS images and the provider requested I use bit torrent so I went and got Transmission during the period while the malware wa
258.
▲
by
jws
6y ago
Clang has C function overloading. I use it in a reasonable sized code base. It really cleans up the source code, you end up skipping a lot of the type name or package name parts of function names which accumulate in larger projects leaving
259.
▲
by
jws
6y ago
“Transmission”, a popular Mac bit torrent client did it the simple way. They ended up distributing a disk destroying malware to their users. If you only distribute your Mac software outside the store, and aren’t inherently ineligible for th
260.
▲
by
jws
6y ago
I'm old enough that "they" is not singular, it is a grammatical error punishable by red ink and deducted points.
261.
▲
by
jws
6y ago
The size of the state required to be saved and restored on each system call makes it a losing proposition.
262.
▲
by
jws
6y ago
Thanks. Curse this language. I just want to refer to people! It’s simple encapsulation and abstraction. I shouldn’t have to care about implementation details irrelevant to the context.
263.
▲
by
jws
6y ago
Summary: Mostly syscalls and mmap do the same things just substituting a page fault for a syscall to get to kernel mode, but… In user space her code is using AVX optimized memory copy instructions which are not accessible in kernel mode yie
264.
▲
by
jws
6y ago
For what it's worth, this is right in the middle of the "Value of Statistical Life" used in public policy decisions, $4M to $10M. https://strata.org/pdf/2017/vsl-full-report.pdf At least one of the
265.
▲
by
jws
6y ago
Maybe… A cubic meter of hydrogen has 3kWH of energy, about $0.25. The Hindenburg was 200,000 cubic meters, so $48,000 of hydrogen. So, hydrogen production facilities can fill very large balloons and send them off into the sky with little al
266.
▲
by
jws
6y ago
Doesn’t the “strlcpy” example near the bottom of the page overwrite the buffer by one byte when the source string is as long or longer than the buffer? Imagine I have a three byte buffer, n is 3 and I copy in “foo”. The result of the MIN is
267.
▲
by
jws
6y ago
I emit LLVM IR as text in my compiler. It’s painless, almost. Some points off the top of my head… - I started out just printing strings, but found I wanted a bit more structure so I wrote a dozen or so functions to do the printing. Things a
268.
▲
by
jws
6y ago
As a developer, if you do not collect information, compliance is trivial. Go to AppStoreConnect for your App, see "App Privacy" on the sidebar, "get started", tell it you don't collect data. And you are done. Edit:
269.
▲
by
jws
6y ago
It looks like about 1/3 more energy per area than the surface of Earth at noon. On the moon you should get about a 50% duty cycle of that as opposed to about 20% on Earth (the edges of the day and weather eat a lot of power), so it
270.
▲
by
jws
6y ago
80-90V to keep it running are above the "low voltage" guidelines and their ~500mA is enough to kill. Presumably the driver circuit would notice that no current is flowing from a ruined bulb, try the sparker a few times to restart
More ›