Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mafuyu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
mafuyu
2y ago
This tool looks like "submodules, but lighter", while repo is "submodules, but heavier". Looks to me like the motivation is for dependencies that are not hard enough to justify a submodule. Repo seriously sucks to use, b
32.
▲
by
mafuyu
2y ago
Not to defend C strings too hard, but it does make some sort of sense, IMO. You have to manage all your buffers manually in C, whether they contain a string or not. If you store a string of length 5 in a 10-byte buffer, you still need to ma
33.
▲
by
mafuyu
2y ago
I've worked on embedded RTOS projects where we had our own strlcpy implementation - it's fine. Well, I mean, all the str functions suck because C strings, but that's exactly why sticking to a good shared set of idioms and sta
34.
▲
by
mafuyu
2y ago
Yeah, at the end of the day, you're probably going to advertise with some sort of unique short name (so humans know what to pick in the a connect/pairing menu), and have at least one Service UUID (even if you only expose the juicy
35.
▲
by
mafuyu
2y ago
BLE beacons use advertisement packets with a payload, and at the end of the day, are sent actively by an application (like COVID tracing). With MAC address randomization, it's possible to make them anonymous and untrackable at the prot
36.
▲
by
mafuyu
2y ago
> can the gpu render to other display devices as normal? Yep, it will just result in your driver showing up as another `fb` device. Then, you can configure the kernel fbcon boot parameter to use your display for tty, or launch X configur
37.
▲
by
mafuyu
2y ago
dmenu and rofi/tofi are pretty popular on Linux, especially with tiling window manager users. I use tofi with sway, and it's blazing fast compared to Spotlight (but Spotlight is searching a lot more things at once). They also take
38.
▲
by
mafuyu
2y ago
Awesome! I think the next step for this project would be to implement a proper DRM kernel driver and device tree overlay, instead of copying the framebuffer in userspace. For reference, take a look at the Beepy display driver module: https
39.
▲
by
mafuyu
2y ago
Yeah, bus systems suck. People avoid buses because they have unreliable schedules, and dedicated bus lanes are intended to improve that. Putting every rider on a bus into their own dedicated rideshare car isn't really going to improve
40.
▲
by
mafuyu
2y ago
It's exciting to see Waymo and self driving technology in general doing well, but the analysis on the broader implications fell flat for me. Claims about improving commutes or being more effective than mass transit need to be substanti
41.
▲
by
mafuyu
2y ago
I'm not an expert at all, but my understanding is that Gaussian splatting is essentially a rendering technique. Normally, you'd take actual data, like a set of photos, and optimize some Gaussians against it to arrive at a volumetr
42.
▲
by
mafuyu
2y ago
Eh... Not buying it. At least not the way they're marketing it. This looks like a group that dreamt up another one of those massively SMP multicore designs and are shopping it around as a coprocessor IP to license. Maybe there's i
43.
▲
by
mafuyu
2y ago
You're not necessarily wrong, but I wouldn't call it alarming in the context of an RTOS. Sometimes you just want to invoke the scheduler and let other stuff run for a while. In an RTOS, yielding or sleeping for a number of ticks h
44.
▲
by
mafuyu
2y ago
Yeah, when this press release was making the rounds a few days ago, I tried to dig up more info, and didn’t find much. It seems like they’re aiming to connect terrestrial BT devices to satellites? I just don’t see how it could work. Maybe t
45.
▲
by
mafuyu
2y ago
Pretty much in-line with my expectations. I ordered one because I thought the design was neat, and I was interested in hacking around and flashing my own stuff onto it. The pricing was clearly at or below cost. Looking at just the concept (
46.
▲
by
mafuyu
3y ago
I would ask yourself if you enjoy writing software, and consider trying different SWE jobs and areas if you do. To me, it seems like you're struggling because of your workplace conditions. There are many, many SWE jobs out there (all s
47.
▲
by
mafuyu
3y ago
I'm an electronics guy too (if you count firmware :P), and I've always found the spring contacts on TRS jacks to be hit or miss. It's a big receptacle with lots of room for lint to get into, the plug rotates, and it can exper
48.
▲
by
mafuyu
3y ago
I think it varies a lot from product to product, and much of it is the mechanical design of the phone housing, and the durability of the jack they selected. Plus it’s really easy to accidentally put a lot of mechanical strain on it when the
49.
▲
by
mafuyu
3y ago
The industry seems to have settled on USB-C dongles as the solution for wired headphones. They’re a little clunkier, but they do work pretty well, and you get options for the DAC. Headphone jacks were a major wear item on older smartphones,
50.
▲
by
mafuyu
3y ago
Sigh, yet another business that takes money in exchange for a service. I'm sick of it. I think this site would be much more compelling if I could pay an annual fee, and then get some money back for each image I want to become an ad-rid
51.
▲
by
mafuyu
3y ago
If you’re interested in this, I’d highly recommend checking out the Hoeg Law channel on YouTube: https://youtube.com/@HoegLaw He’s done a bunch of analysis on the Microsoft / Activision merger, as well as all the Epic
52.
▲
by
mafuyu
3y ago
Jack Welch is kind of a poor example to reach for, isn’t it? In my view, his financialization of GE was very harmful, so yes, I think he would have helped the world more if he did literally anything else.
53.
▲
by
mafuyu
3y ago
From what I remember from school, the extremely rough rule of thumb, specifically for thermal effects on the silicon itself, is that +10C will halve the lifespan of the chip. When you try to push a chip with an OC, the power/perf gets
54.
▲
by
mafuyu
3y ago
Oh wow, you’re absolutely right! I guess I should read my manuals more carefully. :) I’ll have to give that a shot next time.
55.
▲
by
mafuyu
3y ago
As a fellow fp enjoyer, I will point out that I believe the fp's CDNG support avoids patent issues by only supporting output to USB drive. RAW video to internal media is where Nikon ran into trouble. It's also a bit of a bummer ho
56.
▲
by
mafuyu
3y ago
Agreed. I elaborated a bit more in a sibling comment about how many keybinds result in opening a pane and focusing it, and it’s just not built for being operated by keyboard. Although you could make the argument that using the mouse just hi
57.
▲
by
mafuyu
3y ago
I think this gets at my feelings on latency as well. Terminal emulators with GPU-accelerated rendering became popular, but I often found the latency to be quite bad. (I eventually settled on Kitty and foot.) With VS Code in particular, it’s
58.
▲
by
mafuyu
3y ago
As someone who’s worked on both embedded and Linux-based smartwatch firmware, yeah it’s mostly battery life. The nice part about developing for a lower power microcontroller is that you can basically aim to squeeze as much performance out o
59.
▲
by
mafuyu
3y ago
I understand the types of considerations that may make console developers not bother, but also it is a bit ridiculous on its face when they are selling physical media. But for patch-heavy games like CoD, maybe it’s a lost battle anyways, ar
60.
▲
by
mafuyu
3y ago
It’s the small latencies that add up for me. I usually use a tmux + nvim setup, but for codebases that require a bit more language server support (eg. C++20 and sometimes Rust), I have a VS Code setup with the nvim plugin that I’ve spent wa
More ›