Live data from Hacker News

Viewing profile — ncruces

ncruces

HN member
Joined
Thu, May 25, 2023, 12:12 AM UTC
HN karma
2,405
Public activity
1,048 items

About ncruces

https://github.com/ncruces

Recent public activity

  1. comment
    Comment #49214787

    > Why on earth would I ever want to use SQLite if I have access to a sufficiently advanced code generator which can generate me a similarly high quality database system Because SQL…

  2. comment
    Comment #49209073

    On the one hand, yes. On the other, my country has just shut down 3G and 2G only stays because it's still used by emergency services. How long will 4G last? Longer than bluetooth a…

  3. comment
    Comment #49208988

    As I wrote: it does work great where it does work. I'd definitely have gone that route if it worked where I live. It's just that the marketing that it works "all around the world" …

  4. comment
    Comment #49208396

    That “all around the world” leaves significant gaps: https://hagensieker.com/2019/11/17/multiband-6-what-is-it/ I had a weather station with an external antenna that could never sy…

  5. comment
  6. comment
    Comment #49152682

    Aren't you reading it the other way around? (I'm from another EU country where this rule existed) Other people have the right to rest on Sundays too, so you force as many activitie…

  7. comment
    Comment #49142713

    > More than 60% of my net worth is just from two stocks. I would hope you realize that your good fortune (aka luck) does not generalize to an entire population.

  8. comment
    Comment #49133819

    Well adding the language features is a prerequisite to making these libraries possible.

  9. comment
    Comment #49117219

    It's the length of an A4 sheet of paper (also, by extension, the size of many school books, backpacks and … rulers).

  10. comment
    Comment #49060405

    The greatest thing about generics is … that they're not used much if at all. Which is a great way to make sure they're not overused, which in my experience is better than underuse.…

  11. comment
    Comment #49047307

    Maybe your heroes did. And no one gives a shit about the (18 million) Dutch, but we picked Bertha von Suttner.

  12. comment
    Comment #49045851

    Maria Skłodowska-Curie was very helpful, at trying to solve #2 and #5 countries (by population) in one stroke. Good that the big 5 EU countries were simple enough to cover. But why…

  13. comment
  14. comment
    Comment #49042946

    Go doesn't rely on much C/C++, not recently at least. Particularly on Linux.

  15. comment
    Comment #49042444

    Exactly. Faces are a terrible idea for a common currency shared by 21 countries. You have to pick one writer, good that the English left for good so Shakespeare's out, but how do t…

  16. comment
  17. comment
    Comment #49042263

    If you take that approach, Ukraine is still a special operation.

  18. comment
    Comment #49018705

    I wrote this bump malloc that I use for very short lived Wasm modules: https://github.com/ncruces/wasm2go/blob/main/libc-gen/c/mall...

  19. comment
    Comment #48977491

    The article should note this: it's important that you don't go adding other/all little endian platforms to that go:build line. The article is correct, but this code is only valid f…

  20. comment
    Comment #48940853

    The forum post I linked to has a 3 line example: CREATE TABLE t1(a DATE, b JSON); PRAGMA strict=ON; INSERT INTO t1 VALUES(a,b) VALUES(?1,?2); You (or the author) can replace the no…

  21. comment
    Comment #48937989

    That's certainly not the case for making STRICT tables the default. But figuring that out requires understanding how they are implemented, or reading the forum, which the author ad…

  22. comment
    Comment #48937737

    OK, but this: > This should be a nice middle ground which avoids breaking backwards compatibility, but lets the database engine move forwards and not be bogged down by its own hist…

  23. comment
    Comment #48936180

    I get a quota of GitHub Copilot for free. From all the models available to me I'm most happy with Kimi K2.7 (given the cost/performance).

  24. comment
    Comment #48933227

    > The section "The solution: editions?" in the article addresses directly the point of existing data. I'm sorry, where? SQLite schema is stored as text. If you change the default i…

  25. comment
    Comment #48931885

    This changes one default that "everyone agrees about" and which you can change with a compile time option: SQLITE_DEFAULT_FOREIGN_KEYS Then it argues for STRICT tables, recognizing…