Live data from Hacker News

Viewing profile — tracnar

tracnar

HN member
Joined
Mon, Aug 22, 2016, 1:21 PM UTC
HN karma
199
Public activity
91 items

About tracnar

No profile information was provided.

Recent public activity

  1. comment
    Comment #48168201

    It also supports .tar but that's probably not very commonly used.

  2. comment
    Comment #47564410

    Haha indeed. At work suddenly documentation and APIs are important, but it's all for/behind "skills". Before it was always "sure, that would be nice"... I do welcome the improvemen…

  3. comment
    Comment #47425677

    Could you have a heuristics based on the input size and the pattern to decide what to use?

  4. comment
    Comment #46837474

    They do, but the US can still force them to hand over data that's in EU. (This was confirmed by Microsoft France officials.)

  5. comment
    Comment #46475816

    At least in Belgium it's quite common for a lot of students to fail the first year (partly due to the difficulty, partly due to partying instead of studying). But it's not like it'…

  6. comment
    Comment #46299065

    If you're porting a library, you can use the original implementation as an 'oracle' for your tests. Which means you only need a way to write/generate inputs, then verify the output…

  7. comment
    Comment #46236475

    Indeed, the Tcl implementation does this so e.g. `set d [dict] ; dict set d key value` can modify d in place instead of creating a copy (since everything is immutable).

  8. comment
    Comment #46007193

    You could use this funky tool from oss-rebuild which proxies registries so they return the state they were at a past date: https://github.com/google/oss-rebuild/tree/main/cmd/timew…

  9. comment
    Comment #45865726

    There's Hedy if you want to try a text based programming language for kids: https://www.hedy.org/

  10. comment
    Comment #45776985

    What actually happens if you remove read permissions on the /nix/store directory? Do things still work? I suppose I'll need to try!

  11. comment
    Comment #45671941

    I wish a Python package manager would support patching dependencies, like e.g. Cargo allows: https://doc.rust-lang.org/cargo/reference/overriding-depende... It's much cleaner than …

  12. comment
    Comment #45571594

    Don't you need to wait for some kind of delimiter (like ",", "]", "}", newline, EOF) before parsing something else than a string?

  13. comment
    Comment #44854087

    For optimizing the module finding, using a custom import hook was indeed what I had in mind!

  14. comment
    Comment #44841021

    While I see the usefulness of lazy imports, it always seemed a bit backward to me for the importer to ask for lazy import, especially if you make it an import keyword rather than a…

  15. comment
    Comment #44691580

    I've always thought it would be great for the government to provide a free domain name for every citizen. There's really not much you can do without DNS.

  16. comment
    Comment #44274832

    For logic in Python this project looks pretty neat, it encodes facts as typed objects and rules as functions, then allows you to run the model using a solver like soufflé: https://…

  17. comment
    Comment #44151344

    I was always surprised that NixOS doesn't have a better story there, the main install instructions are to do manual partitioning, generate a config, edit it, etc. What I had expect…

  18. comment
    Comment #44124783

    I was also thinking about this use case when reading the announcement. Let's say you have a bunch of parquet files already (on local FS, HTTPS, S3, ...) that you can assume are imm…

  19. comment
    Comment #43755046

    True, I believe I mostly worked around that limitation by splitting off quoted from unquoted code into separate commands. So in your example "[cmd $bar]" would be in a separate unq…

  20. comment
    Comment #43754907

    I implemented something very similar a while ago, it's indeed too bad it's not built-in. I don't think you need such a "quasiquote" function, [list {*}$args] can escape a single co…

  21. comment
    Comment #43674472

    That's actually how the nix package manager works, normal users can 'install', or even build, packages. It works because the installation does not really have any side effects beyo…

  22. comment
    Comment #43672181

    Agreed. Also if you can generate your configuration at build time, it matters much less whether you use a Turing complete language or not. It then allows you to enforce limitations…

  23. comment
    Comment #43599890

    Or go even further and you get yaml?

  24. comment
    Comment #43517343

    Interesting! A use case I could see for using builtins would be to gradually rewrite a bash script in some other language, as otherwise you have to do it through subprocess which c…

  25. comment
    Comment #43510549

    Nice! I tried using XQuery (superset of XPath 3) for a while through the BaseX implementation. It's pretty nice, but you have to face XML problems like namespaces, document order, …