Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thomasmg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
thomasmg
7d ago
There are very clear signs this was mostly built by an LLM. Just an example: https://github.com/Qbix/webserver#%EF%B8%8F-architecture misaligned lines, the commit history, etc.
2.
▲
by
thomasmg
8d ago
Is there research that show if and how much a low complexity improves security?
3.
▲
by
thomasmg
9d ago
Interesting! I have also implemented a version of TLSF for my (currently single-threaded) programming language. I also found it to be good for my use case (embedded / minimal code size). I'll compare it against yours. One improvem
4.
▲
by
thomasmg
15d ago
Usually the air is exchanged
5.
▲
by
thomasmg
16d ago
For me (having written my own tiny 400 line chess engine, that now I'm not able to beat - sure I'm not a good player, but still), the reason to have Stockfish is not really to play against it, and then inevitably lose, but to use
6.
▲
by
thomasmg
26d ago
Right, but for a fan, it would work. Cars heat up mostly in direct sunlight. The solar panel could be wired directly to a fan. This would also prevent heat death of dogs and forgotten children.
7.
▲
by
thomasmg
2mo ago
Great. I'm also writing a new language with the same memory management idea (Perceus-style reference counting / ownership). My language [1] is not functional and currently lacks multi-threading and networking, so there are big dif
8.
▲
by
thomasmg
3mo ago
Lacking a large study, we can't know. Of course the CO2 meter companies benefit if people believe it is true.
9.
▲
by
thomasmg
3mo ago
There are studies that show cancer risk is higher near a nuclear plant. The reason is likely that poorer people live near a nuclear plant; it's _probably_ not because of radiation. My point is: Just having nuclear plants nearby lowers
10.
▲
by
thomasmg
3mo ago
Solar, wind and hydro are all much cheaper, far safer and more efficient these days.
11.
▲
by
thomasmg
4mo ago
I don't have a strong opinion what is better in this case, but my view is: > document and express intent clearly Arguably, the void* does that as well? > Any seasoned C++ developer seeing this knows what this reinterpret_cast mea
12.
▲
by
thomasmg
5mo ago
> I choose to use Python because I am productive with it. That, I fully understand. I think many developers are productive in one language: in the one that they know best. Which is probably the one they use most. It might happen that thi
13.
▲
by
thomasmg
5mo ago
I'm not trying to criticize, but Python is known to be much slower than eg. Java or Go etc. So for performance-critcal code, why use Python? I find Python to be very good because it is concise and simple, but I have not used it for pro
14.
▲
by
thomasmg
5mo ago
I understand what you mean; Claude is a tool and does not have feelings, thats clear to me. But how else can I describe what I did? "Wrote to Claude" has the same issue. Posted, typed, inputed?
15.
▲
by
thomasmg
5mo ago
Well... actually, it isn't. I'm also writing my own programming language (named "Bau"). I asked Claude to convert a minesweeper game from C to that language. I only gave some example programs in my language and the gramm
16.
▲
by
thomasmg
5mo ago
It is not quite as rare. I calculated it to be less common than being hit by a meteorite, and added a section about that and the Birthday Paradox to Wikipedia, to the article about UUIDs. It got removed / replaced a few years ago howev
17.
▲
by
thomasmg
5mo ago
Well there is Google Sheets, Microsoft Office, Figma, and some other heavier web apps.
18.
▲
by
thomasmg
5mo ago
Sure. But it does save you one instruction: "tee", "get" instead of "set", "get", "get".
19.
▲
by
thomasmg
5mo ago
You could use "local.tee". It is kind of is "store" + "duplicate".
20.
▲
by
thomasmg
5mo ago
Well that is how it mostly worked until recently... unless if the developer copied and pasted from stackoverflow without understanding much. Which did happen.
21.
▲
by
thomasmg
5mo ago
I think the main issue with nuclear reactors is the cost, but yes I agree.
22.
▲
by
thomasmg
5mo ago
It depends on the use case, but do you consider NaN to be equal to NaN? For an assert macro, I would expect so. Also, your code works differently for very large and very small numbers, eg. 1.0000001, 1.0000002 vs 1e-100, 1.0000002e-100. For
23.
▲
by
thomasmg
6mo ago
For the few days without wind, natural gas is cheaper than nuclear. There is also biogas and hydro. Nuclear is not cheap to turn on off. Also, the insurance cost of nuclear power is not accounted for: basically, there is no insurance, and t
24.
▲
by
thomasmg
6mo ago
So if I understand correctly, you are saying the observer doesn't feel like he is in a superposition (multiple states at once). Sure: I agree that observers never experience being in a superposition. But don't think that necessari
25.
▲
by
thomasmg
6mo ago
(This is way beyond my area of expertise so excuse me that this might be a stupid idea.) I assume the following happens: while a (small) subsystem is in "pure state" (in quantum coherence), no information flows out of this subsyst
26.
▲
by
thomasmg
6mo ago
Why do you think so? The code example shows that you can do RLE (run length encoding) without noise / additional space. I'm pretty sure you can do zip as well. It would just be very hard to implement, but it wouldn't necessar
27.
▲
by
thomasmg
6mo ago
Yes you can do compression, if the text is compressible. The playground [1] has a "run length encoding" example. Maybe you meant sorting. You can implement sorting algorithms, as long as you store the information which entries wer
28.
▲
by
thomasmg
6mo ago
There is a programming language that is reversible: Janus [1]. You could write a (lossless) data compression algorithm in this language, and if run in reverse this would uncompress. In theory you could do all types of computation, but the &
29.
▲
by
thomasmg
6mo ago
The problem of XPath 3.1 is that it is very complex [1] - this is a long page. Compared to the 1.0 spec, it is just too complex in my view. For the open source project I'm working on, I never felt that the "old" XPath version
30.
▲
by
thomasmg
6mo ago
> more overloaded than Perl by someone who maybe isn't so great at clear communications. I have the same feeling. The root of K is APL, but to avoid special characters (I assume), the same symbol has multiple meanings (overloaded),
More ›