Viewing profile — thomasmg
thomasmg
HN member- Joined
- Tue, Jun 19, 2018, 6:02 AM UTC
- HN karma
- 637
- Public activity
- 284 items
- HN profile
- View on Hacker News ↗
About thomasmg
Recent public activity
-
comment
Comment #49211489
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 mu…
-
comment
Comment #48785225
Lacking a large study, we can't know. Of course the CO2 meter companies benefit if people believe it is true.
-
comment
Comment #48724304
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.…
-
comment
Comment #48589690
Solar, wind and hydro are all much cheaper, far safer and more efficient these days.
-
comment
Comment #48459668
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…
-
comment
Comment #48111582
> 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…
-
comment
Comment #48108854
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 i…
-
comment
Comment #48077973
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, ty…
-
comment
Comment #48077207
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 examp…
-
comment
Comment #48065822
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…
-
comment
Comment #47932831
Well there is Google Sheets, Microsoft Office, Figma, and some other heavier web apps.
-
comment
Comment #47932781
Sure. But it does save you one instruction: "tee", "get" instead of "set", "get", "get".
-
comment
Comment #47932408
You could use "local.tee". It is kind of is "store" + "duplicate".
-
comment
Comment #47894115
Well that is how it mostly worked until recently... unless if the developer copied and pasted from stackoverflow without understanding much. Which did happen.
-
comment
Comment #47816513
I think the main issue with nuclear reactors is the cost, but yes I agree.
-
comment
Comment #47815094
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 numb…
-
comment
Comment #47768738
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 i…
-
comment
Comment #47743009
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 …
-
comment
Comment #47741772
(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 co…
-
comment
Comment #47739760
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 ver…
-
comment
Comment #47739222
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 l…
-
comment
Comment #47738495
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…
-
comment
Comment #47716041
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 …
-
comment
Comment #47715896
> 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), …
-
comment
Comment #47597176
The point is that you don't need the very latest version. The 20 years old version is enough.