Hacker Newsnew | past | comments | ask | show | jobs | submit | senknvd's commentslogin

I don't think RFC 4180 differentiates between an empty string and a null value. As long as you add a check that all string columns are free of empty values before writing you should be good.

I think in polars it's

    df.filter(pl.col(pl.Utf8).str.len_bytes() == 0).shape[0] == 0
although there's probably a better way to write this.


Well I would consider differentiation between empty string versus null as simply being out of scope for CSV rather than undefined behavior. It was never intended as a complete database dump format.


There is a --word-diff flag in git diff. It can also be customized using --word-diff-regex to possibly match sentences.


I see. From the docs [1]

    --word-diff-regex=<regex> 

      ... A match that contains a newline is silently truncated(!) at the newline.
If I understand this correctly, if you use newlines inside a sentence (if you are writing a fixed width document, for example), this won't work.

[1] https://git-scm.com/docs/git-diff


pipe through "fmt -sw999999999999" first


Why would you compare (mostly) military aid to the GDP? Aid from the US has comprised around 15% of Israel's defense budget in recent years and the current bill under deliberation would almost quintuple that sum.

It is the largest recipient of American foreign aid since WW2


> when throttled to similar wattage (see the section about 35W)


I find that Flatpaks[1] work really well for getting the latest version of GUI-only apps. For CLI tools and libraries I haven't found a great solution but I make do with an Arch Linux distrobox[2] container.

[1]: https://flathub.org/setup/Debian [2]: https://packages.debian.org/bookworm/distrobox


Flatpak is great, and Homebrew works nicely on Linux for other bits and pieces. Linux support made it upstream to https://brew.sh, so you get all the same things you'd get on a Mac.


From what I've read[1], vim9script was pushed and developed almost exclusively by Bram. With him, a lot of knowledge about its internals and vision for its future dies.

[1]: https://github.com/vim/vim/discussions/12736#discussioncomme...


You're correct it was very much a "Bram project", but that doesn't mean the language needs to die with him: other people can work on it (and already have!) Vim9Script is also "finished", more or less, as "finished" as languages get anyway. The features Yegappan mentions are what we might call "optional features".


> There are also these new image lines, I can't recall the funky name for them, that are even smaller.

You might be thinking of the chiselled images. An interesting idea but very much incomplete[1].

[1]: https://github.com/canonical/chisel-releases/issues/34


Yes, that's it! I've been working with .Net a lot recently and recalled Microsoft's announcement about them. Specialized runtime images for JRE, .NEt, Asp.Net, and etc.


The only models in the X1 lineup that even offer 8GB RAM are the previous generation. The latest X1 Carbon starts at 16.


According to Notebookcheck[1], if you put a power limit on the 7940HS, it will achieve 15625 points on Cinebench multicore with an average of 66 watts. This puts it above the M2 Max in efficiency and right behind the M2 Pro. Far ahead of any Intel chip.

If you don't want to mess with software power limiting, you'll have to wait for benchmarks of the 7840U.

[1]: https://www.notebookcheck.net/AMD-Ryzen-9-7940HS-analysis-Ze...


Hmm, that's really interesting. I guess I'd need to software limit, but still, that should mean I can get good performance and low battery usage, plus low fan usage.

I might have to upgrade, the Intel processor I have right now is very annoying.

What's the difference between the HS and the U? I'm not good at specs :/


Which Chromebook did you go with? And what tools (IDEs, debuggers, etc.) do you use for development?


admittedly, my primary role hasn't been development in over a decade, so nothing fancy. primarily vim with plugins, good integrations, and native compilers/utilities, and Microcenter or Costco special Chromebooks (14" 1080p matte screen, plenty of ports, and uSD). besides some native Linux utilities, the Chromebooks just run a browser for guacamole and some other hosted services.

I'm very interested by the Framework Chromebook, but it's a bit excessive for my needs. I'm also provided a lot of Apple hardware, which I'll use in the office.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: