phoyd
phoyd on Hacker News
Torrents should really be the preferred method for distributing AI model weights. Why rely on a single point of failure like Hugging Face? BitTorrent was made for exactly this.
Yazi, If, and Ranger file managers use it to display images inline. Euporie allows you to run a graphical Jupyter console session.
Sixel is a very old standard and has been used to display graphics in terminals since the 80s. It fell out of favor when high-resolution bitmapped desktop environments became mainstream (and affordable), but it is still useful if you are doing remote console work and don't want to set up network hoops with ad hoc HTTP servers just to view a remote diagram.
That's literally what this post is about.
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)
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?
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:
https://handwiki.org/wiki/XC_(programming_language)
>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?
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.
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"
Posted by
phoyd on Friday June 18, 2021 @07:47AM
from the stackoverflow.com dept.