Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fathyb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
241.
▲
by
fathyb
4y ago
Just to clarify, the code for the telemetry is open, it's the configuration with the endpoints that's not on the main tree.
242.
▲
by
fathyb
4y ago
It will take a while before we get Linux GPU drivers for M1, and if even if we do, it will be buggy. So running Linux on QEMU with a virtualized GPU should provide a better experience than using CPU rendering or buggy drivers for most day-t
243.
▲
by
fathyb
4y ago
I inadvertently clicked on the link. My first thought was "Did Plausible rebrand without telling me?"
244.
▲
by
fathyb
5y ago
It's easier for them to only have one API, they still have to write and maintain drivers, and Metal predates Vulkan. Microsoft also requires all graphics drivers to support DirectX, and it's up to the GPU maker to support OpenGL o
245.
▲
by
fathyb
5y ago
You could plug the monitor to a router through a Thunderbolt or USC-C to Ethernet adapter. An A13 SOC just for image and audio processing feels overkill, and making the screen autonomous would have been a great way to justify it. Although m
246.
▲
by
fathyb
5y ago
The "Content-Type" HTTP header is "text/html; charset=utf-8", you could make it "text/plain; charset=utf-8" to prevent HTML from being parsed.
247.
▲
by
fathyb
5y ago
GitHub does that for comments with the Ghost user [0] for example [0] https://github.com/ghost
248.
▲
by
fathyb
5y ago
Could you do something like "<form action="#sent">" and use the ":target" CSS pseudo-class on an element with a message?
249.
▲
by
fathyb
5y ago
Wondering what happens if you allocate a chunk of uninitialized memory inside a constexpr? Could this be used for a quick constexpr RNG seed?
250.
▲
by
fathyb
5y ago
Could it be that macOS reports GPU memory as main memory on M1? It would have been useful to look at the GPU memory usage on the Intel test. I don't know much about the M1 graphic stack, but I remember being able to malloc a buffer in
251.
▲
by
fathyb
5y ago
Video games can be great to introduce kids to computers and hardware. They might get interesting in building a computer to get good performance, which requires picking parts, looking at reviews and so on. You can introduce them to more adva
252.
▲
by
fathyb
5y ago
You convinced me to fix the TOC on projects I work on! I'll use "history.replaceState()", so that the address bar gets updated but the back button doesn't get hijacked.
253.
▲
by
fathyb
5y ago
The fact that music tuned to 432 Hz might sound slightly off to listeners might explain the change in attention, which in turn might explain the change in heart rate. It would have been helpful measure other tuning values like 430 or 445 Hz
254.
▲
by
fathyb
5y ago
Worth noting PS5 games are compressed using Kraken and decompressed via an hardware decoder. Same games can be twice as big on PC or Xbox.
255.
▲
by
fathyb
5y ago
I should have be more attentive (and up to date), that is impressive. I hope those allegations are false, no amount of progress can justify such lack of respect for the life of a primate.
256.
▲
by
fathyb
5y ago
What did they claim the chip was doing? It just looks like a monkey trained to play basic video games for food. That chip could be the sticker of the backpack of a little Lego spaceman.
257.
▲
by
fathyb
5y ago
I'm pretty sure somebody's already named all the different spiders, Noah! https://www.youtube.com/watch?v=inxoRyD9c-8
258.
▲
by
fathyb
5y ago
I've used Kotlin Native around 6 months ago, which seems to be the iOS target for Kotlin Multiplatform. I ended up switching to Go, as much as I didn't want to, because of memory leaks when interacting with the official HTTP clien
259.
▲
by
fathyb
5y ago
You should if you await promise1 first: let result1 = await promise1; let result2 = await promise2;
260.
▲
by
fathyb
5y ago
The error handler won't be called until the next tick: Promise .reject('error') .catch(error => console.log('Error handler called:', error)) console.log('After reject') This wil
261.
▲
by
fathyb
5y ago
Using a try/catch block won't attach an error handler at the right time (before the next event loop tick): // promise1 will resolve after one second let promise1 = new Promise(resolve => setTimeout(resolve,
262.
▲
by
fathyb
5y ago
Awaiting a promise later on can lead to unhandled promise rejections, which will make Node.js crash in the future (currently prints a warning). Instead, Promise.all() and .then() should be used: let [result1, result2] = await Promise.
263.
▲
by
fathyb
5y ago
I'm using HomeKit with Philips Hue lights and I'm not observing any latency, even when using cellular. I think you're experiencing a bug, resetting some stuff might help (the bridge if you have one, or the network settings of
264.
▲
by
fathyb
5y ago
Rosetta is actually more efficient than Wine when it comes to graphics, which is the biggest bottleneck for playing games on Wine. Metal calls are pretty much kept as-is, whereas Wine has to translate DirectX operations to OpenGL or Vulkan,
265.
▲
by
fathyb
5y ago
If you're using Logic Pro (GarageBand might do it too): you can use the Flex Pitch feature [1] to generate MIDI data from your Audio track, then use the Score Editor [2] to view the generated MIDI track as sheet music. Select "Bas
266.
▲
by
fathyb
5y ago
I always hum the first two notes of the Dallas opening theme to remember what a fifth is.
267.
▲
by
fathyb
5y ago
Refloat CI | Co-Founder | Remote | https://refloat.io About us: Hey HN! We're a continuous integration platform allowing engineers to run pipelines on their own infrastructure using JavaScript configuration files. We'r
268.
▲
by
fathyb
5y ago
I've been using isolated-vm for refloat.io, but ended up switching to the native Node.js vm API after having issues getting its native module to run with vercel/pkg. One big difference is isolated-vm allows creating a separate v8