Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
theamk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
421.
▲
by
theamk
11mo ago
All of the controllers do that! But then battery starts to self-discharge, eventually a controller detects "huh, the battery is no longer charged" and start charging again. Over years, this can accumulate enough charging cycles so
422.
▲
by
theamk
11mo ago
btw, what you did is called "asprintf" in many stdlibs
423.
▲
by
theamk
11mo ago
that's not "A Complete Guide" as title grandiosely claims, it's two generic paragraphs of explanations, and then example code in some obscure JS templating framework.
424.
▲
by
theamk
11mo ago
For the hobbyist, the best part of the modern embedded chips with few MB of RAM (including ESP32) is that they _don't_ run Linux. I maintain a few devices at home, both Linux and non-Linux, and the non-Linux are just so much nicer from
425.
▲
by
theamk
11mo ago
A database person meets a format with the following specs: (1) read-optimized format, (2) designed to work without regular filesystem, only requiring object storage, (3) does not need central coordinator processes. They are very angry that
426.
▲
by
theamk
11mo ago
There are some arguments which have been rehashed to death on internet. Yes, I could write yet another version it, but why? Author has likely seen it a lot of times already, I am unlikely to change their mind. So downvote and move on. And I
427.
▲
by
theamk
11mo ago
That'd be a stronger argument if there was an actual up/down vote count visible. Right now, there is not one - for users other than yourself, all you have is "positive/not" indicator. So if you see someone's gr
428.
▲
by
theamk
11mo ago
where do you see this? I see: > The company is a French entity headquartered in Roubaix. While there is a Canadian subsidiary, Hebergement OVH Inc., in Montreal, it operates as an independent legal entity. As revealed in court documents
429.
▲
by
theamk
11mo ago
I am working in embedded. Had to optimize weights for an embedded algorithm, decided to use linear regression and thus needed matrices. And if you do robotics, the chances of encountering a matrix are very high.
430.
▲
by
theamk
11mo ago
That's illustrates my point well - the "TRUE IPv6" philosophy is major changes in every network-facing user software.. that's why it has been 20+ years and it's not done yet. And the justification of "Software
431.
▲
by
theamk
11mo ago
Wow, the author is serious, it does not seem to be a joke! I've checked their last commit on github[0] and it has those lines: if (hasValidRate) { audio.playbackRate = playbackRate; } if (!hasValidRate && la
432.
▲
by
theamk
11mo ago
Yeah, IPv6 is heavily tuned to the needs of the large-scale network operators, and is actively worse for the regular user and small networks. From user/small admin standpoint, the goal is to re-use as much admin knowledge as possible -
433.
▲
by
theamk
11mo ago
Looking at the first example, "The "if err != nil" problem": note how errors got noticeable worse... If something breaks, you no longer know if it's fetch vs validation vs payment. I am not an "establishment&qu
434.
▲
by
theamk
11mo ago
On GNU systems, if you want to generalize printf, all you need is vfprintf - because there is: "fmemopen(3)" that creates FILE* that writes to pre-allocate dbuffer "open_memstream(3)" that creates FILE* that writes to au
435.
▲
by
theamk
11mo ago
So.. OpenSCAD, but with strong types and rust-flavored syntax?
436.
▲
by
theamk
11mo ago
dupe https://news.ycombinator.com/item?id=46010741
437.
▲
by
theamk
11mo ago
it's rule-based engine, two .c files with <2K lines of .c total. This snippet should give you a good idea what the code is like: if (strstr(input, "who is") || strstr(input, "what is")) { inten
438.
▲
by
theamk
11mo ago
https://archive.is/NPeGs
439.
▲
by
theamk
11mo ago
pinterest - the "most popular user-blocked website", according to Kagi. And by huge margin, too! I wonder what their email client will look like? Probably extract the images from random emails, mix them up, and never disclose _whe
440.
▲
by
theamk
11mo ago
Nothing stops one from using ISO 8601 dates today - I highly recommend this to everyone. If I have to put a date in the document, it's always in the 20xx-05-10 format. No one has been complaining that they could not understand it yet (
441.
▲
by
theamk
1y ago
agreed, but then even some third-party project is too exciting. My choice is "whatever is available in the standard library" - which used to be INI, JSON or YAML. But with python 3.11 there is also TOML, which is nice...
442.
▲
by
theamk
1y ago
As author correctly says, C succeeded because "its abstractions align with how processors actually work [...] When you write x = y + z, there's no hidden complexity.". And then they propose an async runtime with tons of compl
443.
▲
by
theamk
1y ago
Very interesting (and opinionated) overview of the existing configuration languages. At the very bottom, author is presenting its own language (maml.dev). It is yet another JSON with comments, multiline strings, and optional commas. It'
444.
▲
by
theamk
1y ago
So is the "oligarch" of the mastodon instance that I use? And why is that webforum I frequent "a virtual prison"? And if the government decides to start blocking communications, what'll stop them from blocking P2P p
445.
▲
by
theamk
1y ago
Author proposes a weird primitive: MonotonicList, the almost-immutable list which you can only append to _and you cannot tell the size of_. Author does not mention it, but presumably there should be no other way to tell the size of list as
446.
▲
by
theamk
1y ago
Don't see why would LEO satellites replace IP protocol? All the servers are on the ground and wired to each other, and this will never change. Satellite internet is just another way to achieve "last mile", it never has a chan
447.
▲
by
theamk
1y ago
This feels very 2000's. eDonkey, Perfect Dark, Opera Unite.... Turns out, other than piracy, there are no legitimate uses. The existing technologies are good enough. P2P is cool if you have a desktop, but you cannot host from laptop or
448.
▲
by
theamk
1y ago
unrelated: I've read website name and tried to parse it... "D-BUS hell" (I can relate)? "D-BUS shell" (intriguing...)? Turns out it's neither... the front page gives author name as David Bushell.
449.
▲
by
theamk
1y ago
Nah, it's marketing name which does not have to be close to the real dimensions. As long as manufacturers call this "3.5 inch" - and they did, see [0] for example - it is "3.5 inch". (For a more dramatic example, s
450.
▲
by
theamk
1y ago
You mean a modern construction with semiconductor-based SMPS, but tube for output? If so, plenty of those, here is hit #2 in my google search for "guitar tube amplifier": "Orange Micro Terror" [0]. This one take 15V DC i
More ›