skysight-inc/HackerNews huggingface dataset:
How do you make the first commit 0000000? (Without using this project, obviously).
This is a nice app, thanks. I am using a similar a bit less UI-heavy tool based on Tesseract as well. It's called Normcap:
https://github.com/dynobo/normcap
Sarcasm? Forgive those of us who can't tell.
Not really. The articles point is that even a v4 UUID (the random one) doesn't have enough randomness as other options, and it has a much less compact representation.

UUIDs are not designed to be secrets, so they are a poor choice. They'll probably work, but there are better options.
like nuclear
Also a similar magnitude donor to the GOP by the way, though about 30MM rather than 40 IIRC.

It's interesting and encouraging if $40MM is a major donation. Billions were spent on the midterm; if $40MM is "major" than most of the money came from small donations, which is how it should be.
Wow. I am surprised I really like this.
>This is why when SBF wanted to do on-the-run clearing every thirty seconds the traditional exchanges recoiled. Of course, the innovators thought they had found an Achilles heel they could exploit to take the big corporate guys down, but they hadn’t. The big corporates had explored these sorts of ideas long ago.

>Sometimes when there is a process or an idea that isn’t being used, the reason it isn’t being used is that it sucks.

Well? What was the reason? Invoking chesterton's fence is very patronizing to the reader.
This looks like something I'd use often. Thanks for creating it! For anyone who's not familiar, Anton is also behind the highly useful fx[0] for wrangling JSON data in the terminal.

[0] https://github.com/antonmedv/fx
To be hair Musk posted much more internal information in a screenshot lately. The question isn't really is it incredibly useful, but is there anything that might be a breach of the employment agreements. To this I don't know, but it is still an area where employees should be careful. I personally would never write anything about my employer on a personal blog.
For comparison, a single GE Haliade-X wind turbine can output 14MW at peak.
Which is frankly ridiculous for a company with a yearly revenue of about $500bn and a growth rate topping 10%, even at that scale.
Should Flickr Add ActivityPub?
Context for those unfamiliar:

https://www-users.cse.umn.edu/~arnold/disasters/patriot.html

https://en.wikipedia.org/wiki/MIM-104_Patriot#Failure_at_Dha...

https://hn.algolia.com/?query=patriot%20missile (HN threads)
> I recently moved from Japan to Europe and everything except groceries feels 1.5 to 2x more expensive.

Ah groceries are on the rise here too; in part due to rising prices of e.g. meat due to factors like avian flu and more awareness of living conditions after "exploding chicken" (broiler chicken) tanked the prices as low as €3 per kilo (with liquid injections etc). Dairy products are up as well, cheese has gone up by 2-3 euros per kilo, butter by another euro, etc. I think milk is subsidized though, it's been fairly consistent.
That's true but not where most money goes. And for a lot of these things there are just the same legacy contractors.
AirBnB bookings are actually half-open, because you book a number of nights - so if you book December 1 - 3, you book the nights of December 1 and 2 - excluding 3. This seems expected to me.

However, as an AirBnB host, this bit me once because if you set that you're available on December 1, 2 and 3, guests can actually book December 1 - 4. But this is more because availability uses individual dates (almost like closed ranges) instead of half-open ranges like bookings do.

For booking flights, though, it's more like you're booking two individual flights on specific dates, it's not really a range at all, and so it doesn't really matter whether you think of it as open or closed. The flight search engine might want to check that the second flight departs after the first flight lands, but that has more to do with the flight times than the dates you enter.
Instagram had around 10M users at acquisition too when it was acquired a decade ago. IG has way way more staff now that they have scale. Must we continue to compare Apples and Oranges?
So it’s worse because they didn’t sink $10MMM into it.

I think that shows they knew when to cut their losses and not throw more money down the drain.
I’m not aware of any separate OCR in OpenCV. Some builds include an interface to Tesseract, which might be what you’re thinking of. Tesseract certainly benefits from preprocessing (conversion to grayscale, posterization) with OpenCV.
I think the sweet spot in Developer productivity was when we had SVN repos and used git-svn on the client. Commits were all rebased on git level prior to pushing. If you committed something that broke unit tests your colleagues would pass you a really ugly plush animal of shame that would sit on your desk until the next coworker broke the build.

We performed code review with a projector in our office jointly looking at diffs, or emacs.

Of course it’s neat to have GitHub actions now and pull-requests for asynchronous code review. But I learned so much from my colleagues directly in that nowadays obscure working mode which I am still grateful for.
AI will kill the need for all these abstractions. There will be as many or as little abstractions you want. It doesn't matter. New languages of all shapes and forms will be generated eventually on the fly. You will just have to know what you want.
They couldn't produce more energy in a year, since that is limited by the rainfall and dam height.

But with a redesign/upgrade, they could probably produce more power at peak times. That allows the dam to be used like a peaker plant, earning far more per MWh than a coal plant. As more wind and solar is deployed, the difference between the peak and average energy prices will only increase.
By a law, so by a really big rule book. Laws need to be written and brought into effect by the legislature.

Courts only interpret laws, they can’t make one (except for the constitutional court that can make decisions with law-like quality that have direct binding effect)

Now, lawyers and courts often look at how other courts decided in similar cases and point to those decisions and the legal reasoning laid out by the court, but it is common that even even the higher levels of courts disagree on a subject.

Even higher court decisions have no binding effect in other cases to other courts, including lower courts. It’s not uncommon that lower courts diverge from decisions of their direct appeal courts - the Landgericht Hamburg is pretty notorious for having its decisions in press matters regularly overturned on appeal.
you can do this in VSCode now actually. the CLI has a live-reloader, so if you put the PNG on a side by side window with the code, every code change will see the PNG change.
Me too, me too!
Reader mode will do.
usig modern web technologies to develop high performance scientific applications. We built a highly optimized, interactive and exploratory application for single-cell data analysis[1]. it runs purely in the browser with no backend and scales upto 200K cells. similar efforts include the biowasm project [2].

[1] https://github.com/jkanche/kana
[2] https://biowasm.com/
Ruhr district in Germany has a lot of former industrial sites turned into museums.

Ie.:

https://en.m.wikipedia.org/wiki/German_Mining_Museum
Yeah back then it was much less to choose from. TCL i guess but honestly I was never a fan.

I did wrote a firewall DSL in Perl right around that time but that was just a toy of a teenager.
Python uses "closed open" intervals with `range(0, n)`, the reverse is then `range(n - 1, -1, -1)`, which is then highly unintuitive. This in connection with 0-based array indexing makes certain algorithms then very cumbersome. For example Knuth-Shuffle. In Python this is:

from random import randrange
x = [10, 20, 30, 40, 50 ]
for i in range(len(x) - 1, 0, -1):
r = randrange(i + 1)
x[i], x[r] = x[r], x[i]
print(x)

With 1-based indexing and inclusive ranges it would be much more understandable:

a[] = [ 10 20 30 40 50 ]
for i = len a[] downto 2
r = random i
swap a[i] a[r]
end
print a[]
I usually rebase the branch onto the upstream branch (master or main or whatever) if there are merge conflicts. You can then resolve the conflicts commit by commit. This requires force pushes, but they are are not normally a problem because only one dev tends to work on a particular branch before it's merged.

If you do have multiple devs working on the same branch, use `git pull --rebase` to stay in sync with each other, don't use merges and leave lots of merge commits. If you need to resolve conflicts with upstream, make sure other people have stopped working on the branch, rebase it, then merge.
He criticized her too: look at the tweet embedded in his post of her with SBF and some other guy I don't know, garlanded with a bunch of crypto keyword hashtags.
Way too soon to declare that Musk was right. I don't even think signs are pointing there. Twitter is bleeding some of its most valuable users, the content creators, to things like Mastodon. There do appear to be cracks happening at the edges. Bots and hate speech do appear to have increased.

Thing is, I think Twitter was bloated and it needed a kick in the rear. Pre-acquisition I heard the same from many I follow. How Musk has gone about it has been the problem. Ignoring his perpetual hates, he had a decent amount of goodwill the day the deal closed. Then, he squandered it with all his antics. A transparent content moderation board turns out to be a game-able Twitter poll. Blue check for all was completely missing any point. No one wants a blue check for money w/o the associated verification. Verification for all would have been awesome.

Ads quality has dropped from what I've seen. It looks like people are pulling out, albeit slowly. MBAs will be studying this, but how things are going means we may look back and see this as Twitters Yahoo/AOL moment when it sells for a few billion in a couple years.
Can we get confirmation that the Flag planted by the Apollo team is there?
Unless the OOM-killer kills the wrong process.
Ages ago we had a userspace filesystem (gpfs) that was of course one of the oldest processes around and it consumed lots of RAM. When the oom killer started looking for a target, of course one of the mmfsd processes was selected and it resulted in instantaneous machine lockup (any access to that filesystem would be blocked forever in the system call which depended on the userspace daemon to return, alas never returning). Was funny to debug
You might consider replying with a comment that expresses your appreciation and describes what you liked, if that’s not too much work for you.
Yep - aquihires :) it’s not always full company that moves though
just what i want, a zillion little languages to remember their syntax and semantic quirks.. its bad enough the way it is right now where everyone tells me "the right tool for the right job" then i get there and realize they are all the same tool
The line is when surveillance becomes a means to subject people to demeaning conditions.
What are these projects are you referring to? AFAIK Tesseract is sponsored by Google, from what I understand it is state of the art, ie it is Google OCR. Searching for OCR with OpenCV only reveals using OpenCV with Tesseract, not rolling its own OCR, OpenCV being used to preprocess images to optimise them for Tesseract. Maybe I'm missing something, so I'm interested if you can point me in the right direction.
I don’t think there’s a simple way of distinguishing your two categories. “Complex interactions and feedback loops” covers a lot of territory.
Do you turn off the heating in every room in your house when you go out to work?

Even if you did have some "smart" appliance that would make it easier, you'd have to "over-heat" when you come back to get again the desired temperature (or pre-heat a few hours before coming back), which would mostly make the effort's result insignificant...

It would make sense to drop heating when leaving for a few days though, week-ends/holidays. Offices are not heated on week-ends for example.
This is cool. Although when I looked through the code I thought, “surely there must be a general-purpose Hayes command library for Python”, so I searched around, and didn’t find anything. Kinda wild.
Gov.uk Prototype Kit v13
How easy is it to sync with the latest OSM?
> sexism in the voice recognition

What does this mean? Mycroft prefers taking orders from dudes?
Says $250

https://www.casio.com/us/watches/casio/product.A1000RCG-8B/
And for older Mac OS's T-Rex https://trex.ameba.co
Improving Signal's Sealed Sender
Flash loans are repaid instantly in the same block. If it doesn't repay itself the transaction isn't valid.
> Since I left AWS in 2020, I’ve been super-careful not to share things from behind the scenes. I can’t actually remember the details of the nondisclosure agreement, but I have strong feelings about the ethics. This story, though, doesn’t reflect poorly on anyone and I’m pretty sure nothing in it is material to any business plans at AWS or elsewhere.

"Can't actually remember"? Yikes.

"I'm pretty sure" ... based on...? Not working there any more?

"Strong feelings about the ethics?" Dude. Contracts are not about your feelings about ethics.

Mr. Bray doesn't have -- or didn't take the time to find -- a signed contract from two years ago.

Not a great example to follow.
I'm getting down votes, presumably because people think what I said is incorrect. Would anybody care to explain how UUIDs can have lower probability of collision than just random bits? (Apart from using a central coordinator for handing them out of course, which would defate the whole point.)
FIFA Enhanced Football Intelligence
With some colleagues, we are building Swarmion, a set of tool to help you build serverless application at scale. It comes with serverless contracts, which helps you define clear interfaces between your services
A lot of commentators are either not engineers, incredibly poor engineers or utterly ignorant to how much work it is to manage a global company, as you've mentioned. Doing anything at the scale of Twitter is a nightmare crossing multiple languages, laws, domains and expertise much of which we'll only see start burning when governments step in and start taking chunks out of Twitter.
Any optimization he might do is unlikely to offset the cost of servicing the debt he offloaded to Twitter's balance sheet after the acquisition.

So at 5% interest the yearly cost is 650 million, even at some obscene and unrealistic payroll per employee (including not only developers), like let's say 400k he'd have to fire over 1600 people just to balance this out. There is no way to spin this positively. Also due to no more RSUs cash comp for remaining employee would need to increase.

Add to that the the loss in advertisement revenue do to obvious reasons.

Taking these facts into account could you please explain how is Musk NOT a liability to Twitter? He basically spent 31 billion (plus 13 billion he offload to Twitter) just to buy the trademark and the user base (and some proportion of advertisers...). From a financial standpoint that's an objectively terrible deal. Musk might have other goals and that's great but in no way this is comparable to Tesla or SpaceX.

>But he did change the world with his companies already, didn't he?

History is full of examples of extraordinary successful people who get blinded by their own success and start thinking that they are infallible. This ussually results which in pretty unhinged behavior when they get older. Musk does not seem like the most grounded person ever so he's likely at a much higher risk of this than almost every tech billionaire I can think of.
"software doesn't break down from heat. An app I write today will run until the hardware dies. I have a palm_os app I wrote in 1998 that still runs perfectly."

In an organization of any appreciable size, things change all the time.. and I'm not just talking about code (for which you could have a code freeze in an emergency situation like this), but the external systems you're connected to could change for reasons completely out of your control. Content changes can break stuff because of bugs in your code. Legacy systems could require all sorts of ongoing tweaking and maintenance. And, yes, heat can break your software if the server it's running on overheats.

Twitter is not a palm_os app.
i have been following up on that and for me too the results where inconclusive.

My bet is, that is a honeypot card.

Oh and by now we are the first result on google for it too :D
I like it and the comparison site on https://text-to-diagram.com

I just wanted to drop a reference to Burnt Sushi's ERD tool [0]. It only does one diagram type: Entity Relationship Diagram. It's wonderful. Human-first syntax, code comments, and some simple formatting settings like colors and font sizes that help make more complex diagram pleasing and informative.

[0] https://github.com/BurntSushi/erd
I wouldn't say useless. He'll look to buy other smart peripherals that fit into the Alexa ecosystem, not a competitor's. It helps build up the brand. There's also a lot of data there to collect.

Maybe not the most lucrative revenue stream, but not nothing.
93. When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop.

<3
Really?

I am fixing it now.
No, that's not the definition of PII. That the ID maps to a person doesn't mean they know that person's SSN, which is PII.

IP counts as metadata. It uniquely identifies you as an entity but does not reveal other details except geographic location. If IP addresses are PII, then any use of the internet is violating your privacy. Perhaps unplug your modem, turn off cell service on all devices and read a book instead.
Just someone's else computer
> Also a similar magnitude donor to the GOP by the way, though about 30MM rather than 40 IIRC.

Source? opensecrets lists SBF as having donated $36M to democrats and only $240k to republicans.

https://www.opensecrets.org/elections-overview/biggest-donor...
Tether has a very different reputation in the eye of the mainstream media who couldn't say enough good things about SBF "effective altruism". Turns out it's easier to be altruistic when you just scam investors and clients.
> It's like trying to take "a courageous stand" against a contagious virus.

Indeed. The past two years may have much to teach us about the kind of
measures, and unpleasant sacrifices of the economy, needed to
neutralise such problems.
First JSConf Chile
The latter is being used by elites as a justification to take resources from the plebes while maintaining their own quality of life. Celebrities taking private jets to climate conferences.
I don't care what critics think. If a comedian makes me laugh, I'll have to concede that they're funny.

If they make people clap instead of laugh, they're probably not that funny.
wtf, back to SVN :D

I honestly expected this to be from another "really cool date" - April 1st :D
It is also a security risk. Someone could add whatever unreviewed code and it would get glanced over as a merge commit. Put your payload in an innocuous file not likely to be touched and call a boilerplate-looking function as a side effect from somewhere.
I don't see how he was a danger to society especially if he ended up somehow getting hired by the transit. Black guy with autism and ocd drives buses and trains and gets them to their locations without any issues. Gets arrested and then isn't allowed to leave the state to go with family that could help him and isn't able to get help that could help him and then he relapses. And the cycle continues and the cycle leads to him being homeless and then the cycle continues..

The cycle could have been broken if he was allowed to get help allowed to actually work this job that he very much was obsessed with wanting to do good except he wasn't employed to do.

Wow such a danger to society... Caused by the fucking legal system!
Better satellite internet helps people, I think. So do better cars, in principle.

Cheaper space access means every useful thing done in orbit becomes more accessible.
A UUID is random bits. The statement was oxymoron
Climate change applies negative pressure to keystone species like salmon. As their numbers dwindle we see die offs of other species of plants and animals.

Ecosystem maintenance is part of Earth's homeostasis, and restoring salmon can have major positive environmental effects (increased nutrients upstream, increased food stocks in the ocean, more really available salmon for fishing, etc.)

Dams like this produce little energy, require dredging and maintenance, pose safety risks if they aren't well maintained.
> while holding the crypto 1:1.

You can only do that if you are holding exclusivly onto one asset. The relative values of different tokens change over time. So if you want 1:1, you need to have a robust mechanism for doing that.

But you won't want to because that'll burn through transaction fees for no real gain.

> FTX on its own could be a nice profitable business

That requires fees, and given the number of exchanges that do it for free, so long as you keep your wallet with them, its not going to make you money.

Sure you can do market making, or arbitrage, but that's still risky and you don't make that much money doing it. <0.1% on each transaction.
PSA: jwz.org redirects to a unique image when linked from HN unless you are blocking the HTTP Referer header.

This can also be avoided by copying & pasting the url into a new tab.
Please do share it with the arcade blogger
The article didn't address what happens when Mesos goes down. How much of the team running the underlying cluster infrastructure remains?
Yeah, but it's not really HTML nor JS. It's a DSL which is a superset of JS for generating HTML that can use its own syntax in its expressions.