That's literally what this post is about.
HN user
phoyd
I am more shocked by the "overnight" aspect. I tried running clang-format on the Chromium source (68,281 .cc files, 21 million lines according to wc):
$ find chromium-149.0.7826.1/ -name ".cc" -exec cat {} + | wc 21640925 55715244 833460441
And that took less than 6 minutes on a single E5-2696 v3 from 2014:
$ time find chromium-149.0.7826.1/ -name *.cc | parallel -j 16 clang-format $x>/dev/null
real 0m5.666s user 1m13.964s sys 0m13.373s
That’s orders of magnitude faster, especially if we assume they’re not running their workloads on potatoes like mine. Is Ruby’s syntax really that much more complicated than C++, or is this a tooling problem?
I want to drop here the not very well known fact, that the SQL Standard grammar distinguishes between "SQL language identifier" and "regular identifier". According to the rules, a SQL language identifier can not end with an underscore (copied from ISO/IEC 9075-2:1999 "5.4 Names and identifiers":
<SQL language identifier> ::=<SQL language identifier start> [ { <underscore> | <SQL language identifier part> }... ]
<SQL language identifier start> ::= <simple Latin letter> <SQL language identifier part> ::= <simple Latin letter> | <digit>
So, using names with trailing underscore should always be safe.
.NET Core ran on Linux from version 1.0 on and it was released 2016.
Only cellular iPads have GPS IIRC.
Giving employees stock options does not solve the "employes should own the company" problem, when there is a market to sell the stock. Shareholders and employees have different goals and interests regarding the company. For example, the employees they may have to decide on the elimination of their own jobs in order to secure the value of their stock holdings (which btw. would make the company not owned by their employees anymore)
A more interesting approach would be a model where being a employee automatically gives you a vote on company wide decisions including. the distribution of profits, just how being a cititzen of a democratic country gives you a vote on the fate of your country (similar to the Mondragon Corporation in Spain)
A nice illustrative example of https://en.m.wikipedia.org/wiki/Brouwer_fixed-point_theorem
I'm also interested. Setting up a passwordless SSH account for some public service sounds like a good way to give your machine away to North Korean hackers, because you forgot to set someting in /etc/sshd to "no".
Is there a usable description somewhere on how to do this safely?
https://retrocomputingforum.com/t/micro-chart-cpu-reference-...
has a few more charts from the same publisher.
Pi5 is already on Geekbench. Speed seemed to be on the ballpark of a mobile Intel i5 dual core 4xxx IIRC.
Under UNIX, the lowest available file descriptor for the process is returned from open/create (also in Posix). So if you close(0) and then immediately open() something, you will (probably) get 0 as the new file descriptor.
This is the way redirection was done in early UNIX versions, at least I think until System 7, where dup2() was introduced to address the race condition lurking here.
2008 ThinkPad t400 user here, running Ubuntu. Most business class notebooks are incredibly durable and the market offers replacement parts for 10 of 15 year old devices. A t400 battery is less than 25€ on Amazon and there are dozens of vendors.
Transputer (and Occam) designer David May founded XMOS in 2005 where the ideas of the Transputer are still alive in the the xCore Architecture they make and sell. Their SDK offers offers a programming languages called "XC" which contains Occam features in a C skin:
If you’re lucky, the LED will have a CRI of 90 or higher
EU has banned incandescent lights years ago and the situation for LED buyers is much different here. My local drug store chain (Rossmann in Germany) sells 1000lm E27 bulbs under their own Rubin brand with CRI>97 for 4.99€. No flickering and available as 2700K or 4000K. My Opple Light Master 3 even reads CRI 100. So for me right now, it's just going to the drug store and buying a bulb, like before the ban.
Hey Bard, ever heard of Descartes?
I am not seeing an option to pass a password to the archive extractors. Is the any?
Yes, this was awesome. They explained the VM and everything.
I remember how I read about functional programming languages for the first time in the August 1985 Byte issue, which I bought as a teenager because it featured a technical rundown of the new Amiga computer. For me in the early 80'e, Byte was a cornucopia of interesting stuff, much like Hacker News today.
(For example there was a whole issue in 1981 on Smalltalk-80, with an introduction by Adele Goldberg, where the Xerox Palo Alto people from the Smalltalk-80 team explain the implementation, the VM etc.)
https://vintageapple.org/byte/ has a (complete?) archive, albeit with slightly lower resolution scans.
Sherlock Holmes stories are almost always narrated by Watson IIRC. ChatGPT missed that too, didn't it?
Every Covid self test I've ever used had two red lines for postive and one red line for negative. Why are there tests out there that need color vision?
The legal issue seems to stem from a few Sonos patents:
https://www.theverge.com/platform/amp/2021/8/13/22623977/son...
For example, Sonos has patented "Method and apparatus for adjusting volume levels in a multi-zone system" and the patent shows an app where you can set volume levels for connected devices:
Related story: https://news.ycombinator.com/item?id=29092292
Do I miss something, or does the quick sort example fail to handle the case where the value of "fst" is present more than once in the list?
Wrong. (-1/2) is 0, (-1>>1) is -1 in C/C++/Java/C#...
Now Docker should provide some way to bridge container ports to UDS. That would be perfect.
"More Modern" such that it does not contain 8 year old unfixed bugs.
https://stackoverflow.com/questions/68034271/how-can-i-get-t...
Actually, it is still in vb.net for compatibility reasons. "on error" is fundamentally incompatible with structured error handling, going so far, that you can't event have try..catch oder event using..end using in a sub or function that also has "on error"
Point is, that you can not finish VDF twice as fast (and probably not even by any other factor >1) with two CPUs, because they can't share work.
I second this recommendation. DBeaver is great and will work with almost every RDBMS you'll ever encounter.
Looks like it is the name of a FORTRAN subroutine[1] from MTS (Michigan Terminal System) that somehow creeped into our dictionary files. Now you can buy hoodies with "1 <3 PGNTTRP" prints and watch videos like that above, because of bot produced content.
[1] https://deepblue.lib.umich.edu/bitstream/handle/2027.42/7958...