Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fathyb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
181.
▲
by
fathyb
4y ago
> Mars is disconnected from Earth's biosphere. To most people, we wouldn't be ruining anything ecologically important or otherwise sacred by colonising it and bending it to our needs. I'm sure colons back in the day though
182.
▲
by
fathyb
4y ago
> Expanding human life to Mars (and the entire solar system) is a fantastic goal for humanity. I think you're underestimating how great Earth is, how awful other planets are, and how big the solar system is. > I would much rather
183.
▲
by
fathyb
4y ago
I believe they can't because of the legality, it would remove the secrecy of the warrant. The canary allows a company to imply they got searched without breaching the secrecy. In this case, information got removed, which is not illegal
184.
▲
by
fathyb
4y ago
It's a beautiful story. Here's a video of the speech: https://www.youtube.com/watch?v=KAW7DF1Ufek
185.
▲
by
fathyb
4y ago
GCs can be more efficient if you alloc/free memory very often. shared_ptr can be quite slow because of the bookkeeping. It can also help bring more consistent performance, ie. one big malloc instead of millions of small ones.
186.
▲
by
fathyb
4y ago
I'd argue the majority of Tesla owners are aware of who he is.
187.
▲
by
fathyb
4y ago
In the case of curl it can happen if the server did not use Content-Length and the connection gets closed.
188.
▲
by
fathyb
4y ago
The point of TFA is preventing piping curl to bash, not preventing from running bash scripts. The problem with piping is that bash will read line by line, keeping the connection open while it runs. If the connection fails for any reason, th
189.
▲
by
fathyb
4y ago
It's using a vulnerability, you should not be able to get emails and phone numbers for any profile except yours using any Twitter API.
190.
▲
by
fathyb
4y ago
This is pretty much what happened with Darwin from Apple. The kernel and even the bootloader uses .plist files [0] extensively, which are XML-based. I like it. To change the PCI IDs for a driver for example, change the IOKitPersonalities pr
191.
▲
by
fathyb
4y ago
I'm not sure. There was almost no paper trail, no accounting. Testimonies will be used to fill in the blanks and strengthen the case. She'll get a good deal.
192.
▲
by
fathyb
4y ago
It sure is, and there are even more funds and more people working on this today than there were 30 years ago. Breakthroughs have been found recently. People use busses and watch cars win 24h endurance races using this technology, partly tha
193.
▲
by
fathyb
4y ago
Agreed with you on the physics, but I think there is much more progress to be made on the rotor to handle higher RPMs, time will tell. For the F1 experiment, they used magnetic composite materials.
194.
▲
by
fathyb
4y ago
Flywheels should be more efficient. With the current tech for mechanical <=> electrical conversion, a super-capacitor with 100% efficiency would be as efficient as a flywheel with ~65% efficiency for regen braking. The flywheels by GK
195.
▲
by
fathyb
4y ago
I think you misunderstood me: I meant flywheels could be used for temporary storage (regen breaking), as a complement to permanent storage (battery), because it is more efficient for regen and handles energy bursts better.
196.
▲
by
fathyb
4y ago
As of today the characteristics of flywheels are definitely better for racing and not very useful to consumers. But I believe that they will find a usage if we find a way to miniaturize them enough. Regenerative braking converts mechanical
197.
▲
by
fathyb
4y ago
I used TypeORM and ended up regretting it because of bugs and regressions. I felt that it was unsalvageable. Prisma is from a company so I did not consider it. I found MikroORM and got very interested with. Relations can be resolved directl
198.
▲
by
fathyb
4y ago
I think the entirety of Hotspot is written in C++ [0]? The standard library in the JDK is mostly written in Java, but the VM itself with the GC and JIT code is in C++, which makes sense. If you do not count the standard library as part of t
199.
▲
by
fathyb
4y ago
I support those, and I believe they deserve more: - SerenityOS [0], they do get some donations, but nothing close to the Linux Foundation, Wikipedia, or Mozilla. - MikroORM [1] if you'd like to support an ORM for TypeScript in the back
200.
▲
by
fathyb
4y ago
> The loan industry really enables a life of debt. It really does, and I've seen so many people fall into it, especially at the beginning of their career. Financial responsibility should be something taught early on at schools. With
201.
▲
by
fathyb
4y ago
There is also the I/O, most interaction with disks or NICs are copying twice. We know efficient zero-copy I/O is achievable, it's just that it requires a lot of work for kernel and app developers with a very limited ROI.
202.
▲
by
fathyb
4y ago
I needed to compress a TCP stream [0] for a block-storage project and I've been very impressed with zstd. Combined with io_uring, I'm getting less CPU usage and higher throughput to send and compress data than using socat to send
203.
▲
by
fathyb
4y ago
I did, mostly for Metal-based rendering. It's great if you want to mix Apple's Objective-C APIs with your own C++ code.
204.
▲
by
fathyb
4y ago
It's a POC grant, more money should get unlocked if it succeeds. Smaller grants means more grants and more research (hopefully!).
205.
▲
by
fathyb
4y ago
Not an investment, but a donation to a server is a good start: https://mas.to/@paulg/109536767974913388
206.
▲
by
fathyb
4y ago
It feels like Mastodon is limited by the limitations the web (rightfully) added to improve security/restrict third party tracking. A lot of these UX issues could be fixed by having native client apps, where you add servers and the clie
207.
▲
by
fathyb
4y ago
Twitter generally limits threads to < 20 replies, you need to click a button to see more. Large HN threads have 200+ replies.
208.
▲
by
fathyb
4y ago
> My understanding (and I would be very happy for any clarifications/corrections!) is that you must use Metal Buffers (MTLBuffer) with the Apple Silicon GPU. If your data isn't already in a Metal Buffer (why would it be?), you
209.
▲
by
fathyb
4y ago
It depends how much, where, and when you'd like the data to be sent? Most discrete GPUs cannot access the CPU memory directly, so you need to make a copy through the PCI bus, which can be slow. If you have small chunks of data (mining)
210.
▲
by
fathyb
4y ago
This is a privilege escalation exploit, it gets a root shell from a non-root process. You can get root privileges on macOS using su/sudo.
More ›