skysight-inc/HackerNews huggingface dataset:
I’m constantly amazed at how cheap milk is in the grocery store. A gallon of Great Value 1% milk is $2.77 now. That seems low for what you are getting (a gallon of protein rich fluid milked from a cow and transported to you). How much profit could be left? I’ve heard that grocery stores sell milk for less than they buy it for just to get you into the store, because they know you will buy other things. I haven’t checked the truthfulness of that statement though.

http://www.fmpc.uconn.edu/research/milk/conference/Criner.pd...

A link about the margins implies that may be technically untrue but I don’t know enough about the grocery business to say.
Friends don't let friends write production software in Python
Show HN: jql – Easier jq Alternative with a Lispy Syntax Written in Go
In other types of theft, there are mechanism for recovering the stolen assets. It seems like in theory you could hold the CEO, Board, and other people who made money off of the theft of the pension fund responsible and hold them financially liable for making the pension whole.

In practice, this would probably be messy, very costly, and extremely unlikely to happen.
Strange timing of this article..
https://apnews.com/14792cc1d7f73ffec8f8c425b73b44fb
Hey, author here.
Christmas Eve, 22 pm, after having eaten with my family, I was browsing HN (because what else could you be doing then), and stumbled upon this comment: https://news.ycombinator.com/item?id=21860107

It inspired me to create an alternative to jq with more of a Lispy syntax, as I think the original is awesome but also fairly cryptic for anything more advanced than single field selection.

Overall it was a fun few-day project, and was also very educational in terms of writing a parser in Go. (I used goyacc before in the sql parser of OctoSQL[1], however, that one is copied from vitess, so I’ve never built one from scratch, only customised an existing one. It’s really pleasant overall and the code is very simple, so I encourage you to take a look[2].

I'd love to hear any feedback, comments or potential improvements you can think of.

[1]:https://github.com/cube2222/octosql

[2]:https://github.com/cube2222/jql/tree/master/jql/parser
The long tail of patterns c2rust would need to recognize to reliably make idiomatic code seems like a much larger problem. With that as the goal, it might make sense to build a separate rust-to-rust "idiomaticizer" that can recognize opportunities to reduce code complexity through refactoring, and apply idiomatic patterns without changing application behavior.
> Responsible Disclosure

We have tried to contact the authors of affected software before announcing this attack, but due to limited resources, we could not notify everyone.

Is there a list of affected software out there?
This already exists. It's called a 401(k).
I've never seen a problem with crying, although I don't cry easily. Stub my toe? No reason to cry. I had to suddenly euthanize one of my dogs on new years eve and I cried like a baby.

One thing I have noticed though is that I can cry about a situation and then I'm good to go. My wife on the other hand will cry off and on for days. Maybe the no crying thing came out of the typical need to get things done after whatever crying situation occurred?
The Pentagon Says It Will Not Bomb Iranian Art Sites
Yeah let's increase block size without a way to control the precedent of size increase so only a very select few groups have the compute power to mine. Yay centralization
Continents of the Underworld Come into Focus
>most of those problems were self-inflicted

Sure, it's the fault of the 18 year old draftee getting shelled in a trench for 4 straight days. It's the fault of the farmer who lost his life savings because a bank shut down. It's the fault of the young factory worker that Hitler decided to invade Poland. Self inflicted by whom exactly? Maybe you should reevaluate that statement.
This website looks like a cult's homepage
Hey there, I'm the author of the tool!

Just wanted to chime in and say thank you for the sharing and love!

Have a wonderful start of the year!
Sodinokibi Ransomware Hits Travelex, Demands $3M
Intel have a co-marketing brand they call "Ultrabook" where most components are Intel which prevents laptop manufacturers from using the same chassis/model for AMD.

Their new "Project Athena" might be the same thing.
> At least where I come from, the term has often been used to (successfully) diminish skills that I'd consider essential.

From where I come from, people obsessed by soft skills are those that hardly have any "hard skills" to talk about.

It's like you either are demonstrably good in your craft OR you have "lots of soft skills". You can never have both because :

- If you have neither hard nor soft skills, you should be fired - and no ont wants that

- If you have both hard and soft skills, you should be promoted - and no one wants that either

So "soft skills" are used as a modulator to keep the status quo.
And the best thing is that you dont need to really grade/score/assess them, just tell the employees to "work on them".
iPhone XR encountering issues on the O2 network
Startpage was good but I think they were recently bought out by a less than a good party
The other issue is that DB was historically oriented towards lifetime or at least long-term employment at GM, federal/state government, etc. It doesn't have to be that way. I suppose you could have some sort of common pool that employers paid into. You're still creating what's basically a large organization-specific retirement scheme. But if you somehow extend it more broadly, it starts to look a lot like another version of Social Security--which probably doesn't make a lot of sense.

I like the fact that I have a DB plan from a prior employer but, as you say, I'm not sure it's a great fit for most situations moving forward.
As is Amazon. They have hosted Active Directory and hosted Windows File Servers. Amazon is not crazy enough not to cater to Windows workloads when that’s what many enterprise companies are using.
> Doing the same in SFBA would probably require at least $250K. Maybe more.

Why? Each child might consume, generously, an extra 5k of food and 2.5k of clothes and other inputs per year. This is an increment of $30k on top of housing. For housing, you could add one or at most two bedrooms for four children. This does substantially raise housing costs, but there are still places in Sunnyvale for $1M or just above that that have three bedrooms. They may not be the nicest houses, but they would do.

So, before you have kids, save your downpayment. On a 250k salary, this would take one to three years if you're thoughtful about it. Then buy the house and start popping out babies. Times will be tight if you need to pay for childcare, but that's a defined and short period of the childrens' lives. You're not going to be taking lavish vacations, but if you wanted those, you wouldn't have four kids anyway.
Blackmail is illegal - you may be able to have the police handle that aspect (although I would consult a lawyer, regarding what the police is able and likely to do). Assuming you can afford to let the police know about what he's blackmailing you with, that is.
?

i'm using the latest macos and chrome. what exactly isn't supposed to be working?

i also have firefox installed, but on macos firefox is mostly an alpha/unfinished release since years ago.
I love it on Windows and use it all the time and I'm glad I can finally use it at work.

One downside is that subtitles (at least with Netflix, don't remember for YouTube) are still displayed in the original tab.
Anyone knows which are the four Japanese people he mentiones expanding on his idea, then him finding out about it, generalizing it even more, writing code and playing around with it and then writing the final report? He was being really non-specific about the problem.

I'm interested in his writings now when he is no longer actively publishing research.

For example, that latest proof golf https://www.scottaaronson.com/blog/?p=4229#comment-1815290 was such a joy to read.
AFAIK I've never seen that one. Thank you very much for the link. Looks very interesting and related to the stuff I'm working on. Thanks!
I've cried occasionally in recent years through laughter but never through sorrow. Mid 40s now but I have few recollections of crying through sorrow since I was a child - all brought on either by the breakup of a relationship or the death of a grandparent.

I suspect I'd probably keep my crying to myself if I had a reason to, which seems to go against the norm on the internet. On reddit in particular, people can't seemingly wait to announce their tears over one thing or another. It's like a competition as to who is the most emotional. Part of me thinks "Good on you, I wish I was that emotional", the other part of me thinks they're crying out for attention.
I wonder whether this'll create FOMO with any and all political actors left, right and center to jump on this kind of targeted manipulation bandwagon. Can't afford not be a player in this shady game :(
The analogy was dots on a balloon, and the next sentence used "points" instead of "dots" but meant the same analogy.
That's kind of like saying that the majority of people who get cancer are old people, so we can reduce cancer rates by dying young.

The issue isn't strictly overpopulation. Its overpopulation combined with the amount of consumption. You can solve this either by reducing the population, or reducing consumption, or both. For a lot of people, there are compelling ethical, economical, and personal reasons for wanting to have children or at least avoiding restricting other people's desire for children. So in that case it makes more sense to reduce consumption.
Cookie Alerts: The Accessibility Horror Story
Wow, I didn't even realize this was possible. It looks really nice. Thanks!
You can see some info on their frontpage https://outline.com/

There are some links at the bottom.

As far as I can tell it seems proprietary software, couldn't find the source or anything about it being opensource anywhere.
Thanks for that. I think it's a great way to express how we should not lose sight of the bigger picture.
Sijuiacion: Mastering Python in bytecode level with a small IR language
My website doesn't show any popups. I have a settings dialog that user can open and setup email and other notifications.

This will just not work anymore. I'll have to add some long winded FF specific explanation on what to do after clicking the button.

Anyway the FF UI is broken if user physically can't see any reaction from the browser after he requests notifications by clicking anywhere on the page.
At least part of the problem is getting said board; laptop motherboards are often specially manufactured for each chassis, and there is no standard form factor like there is for desktops. It might be possible to buy one from a different model, but most boards aren't socketed for AMD chips so that's out, and it's not really feasible to just build your own motherboard.
>the act of insuring people should not be part of an employer's business.

It shouldn't be (IMO), but it currently is, and there's no sign that's going to change soon. The American people have consistently voted to keep things the way they are, and resisted attempts at decoupling employment from health insurance. Therefore, since the American people have saddled employers with this responsibility, I feel the employers have every right to your health information.
In a way this supports the argument for the "Do not communicate by sharing memory; instead, share memory by communicating" mantra, as in a language with no compile-time checks for incorrect use of shared memory, it is very easy to get it wrong.
> The suspicious thing is YouTube tries to detect children's content, not users who are children…

Theses whole changes are happening because they were tracking childrens (well they were tracking everyone, which included childrens). They can't store any data from a child, none at all. That means that they can't detect if it's a child, and even if they had a magical way to do it, storing the "isChildren" variable set as true would be illegal in itself.

COPPA decided that a video targeting child was a proof that they knew child were watching, and thus tracking them. So instead they move the responsibility to the content creator to say whether the content is for kids or not (thus not storing data on the child, while still being able to not track the user which is now assumed to be a child).

The only way they can store data about a child require parent permission.
You're probably confused by "SHA-512/256", which does not mean SHA-512 or 256, but rather a truncated version of SHA-512: https://en.wikipedia.org/wiki/SHA-2 in the third paragraph.
The only way to make that simple is to centralize the version control system so that you can have a single arbiter of who has what locked. To add easy locking to Git, you'd have to turn it back into a non-distributed VCS.

I don't think I need to sell the value of DVCS over VCS, but what seems to get lost is that buys you a certain amount of essential complexity, expressed in the CAP theorem and its consequences.

We discussed this deeply on the Fossil forum: https://www.fossil-scm.org/forum/forumpost/2afc32b1ab

We came to no easy answers, because there aren't any. You only get a choice of which problems to accept.
Their mother's milk, during infancy. No mammals other than humans drink milk after infancy, and humans have only been doing that for a few thousand years. I'm sure there's links to evidence I can find but I'm not going to waste my time as it's common sense.
> It means if someone you want to impersonate uses the Web Of Trust, i.e. their key is signed by other people whose keys have been signed the same way, you can generate a GPG key for which all of these signatures are still valid.

No...

> For example, if an attacker gains access to a victim email account, they could send to their contacts a "trusted" key (as explained above) and then use it to send signed documents to the victim's contacts.

Ok... But in this scenario the attacker has the victim’s new private key, so they don’t need to create a collision (using OP). They can just use the new private key to sign the documents. Right?
Watching My Cousin’s Death Go Viral
Can you be more specific about this feedback? What makes it feel cult-like to you?
I realize I said, Abstract away superfluous variables with function application which is not the kind of over-engineered mess you're warning us about. I'm referring to lambda abstraction, that is replacing an expression with a name and closing over the free variables in it with the parameters to the function.

The reason for this is that assignment is a common source of errors in imperative programs. We should aim to use as few of them as possible, define them local to their use, and limit their scope.

I'm only talking about small, local refactors that make the code yo wrote easier to understand and maintain.

Refactoring code to introduce new patterns or re-architect a module are better done earlier in the process and much more deliberately, I agree.
US federal site hacked with pro-Iranian message
Musk's family owned an emerald mine in south africa
That's probably a pretty unusual scenario, generally speaking. On Mac I can see it making sense. Makes me curious to try out this browsing workflow...
i think the problem is that firefox looks out of place when compared to chrome, safari, brave, vivaldi etc
What happens when we are so far away from the past, that there are no older tractors? Will our current 'new' tractors still work without dialing home or requiring computers when they're old?

I keep wondering that about our automotives as well. I want vehicles that are safe for my family, but ones that I can work on with a general understanding of automotive repair and physics. Will there come a point where you can no longer work on any new automotives?
> you have to introduce variables in the macro that may shadow existing variables.

You certainly don’t have to introduce the risk of shadowing existing variables. You just use the standard

#define MACRO(x) \
do { \
/* Define whatever variables you like */ \
/* Do things... */ \
} while (0)
That is actually a problem. It should be usable inside the deep web.e.g. to proof that i made a purchase at a website and as a second step that my review of thepurchase is real.
How to Animate SVG Signature
2020 Spatial Predictions: Industrial AR Makes Incremental Gains
Cool! I am thinking it would be a good idea to write a short follow-up post highlighting the other approaches people have taken here. There are definitely many people who decided it was simpler just to write their own script.
SHA-512/256 is a truncated SHA-512 that's shortened to 256 bits, it's a separate standard.
Finally Picture in Picture on MacOS.

The last reason for me to keep using Safari/Chrome is gone.
Ok. But even with a sensible investment strategy a major economic decline close to your retirement can result in you getting a lot less than you expected, right? It just seems to me a pension should principally offer a reasonable level of certainty (to those that choose to have it).
Zoomers come and take your work (I hope you have a peaceful retirement)
Honestly, Amazon. I usually find a microcenter because the drive (90miles) results in money saved anyways
As you know Boomer, you are getting old and we Zoomers come and take your place! This is my first web application. Exolyt's purpose is to facilitate TikTok trends and offer analytics
I did a wire transfer.
SQRL used to be a nice protocol, now it's a completely unusable monster with more than 100 pages of technical documentation.

If you're interested in something similar that actually works and is very simple, take a look at https://github.com/btcontract/lnurl-rfc/blob/master/spec.md#...
Pretty cool. Nobody thought so yesterday tho... https://news.ycombinator.com/item?id=21969708
Thank you, good to know.
But those fears weren't the thing holding me back - and overcoming them didn't really pull me out either - sure it put me in a different mindset once I got the opportunity - but it took getting help from my sister (who I supported earlier) now getting in a better situation where she could help me get out of that stuck at 0 while I deal with my debts and get the opportunity to do something.
I'd say "pretty low" on the idiomatic scale, however a very desirable thing would be for them to manage to make most of the generated code not unsafe. Limiting the scope of unsafe would make what would remain easier to convert to safe rust, and then you're off to the refactoring race with much more confidence.

A pretty good go would be the ability to recognise wide-spread high-level C patterns and be able to convert them to idiomatic Rust pattern, but even that would be difficult, generally speaking idiomatic C and Rust would likely be structured quite differently, especially on the data(-structure) side.
Do you have alternative strategies for one-man businesses with 0$ budget?
I'm curious what about that piece you thought was combative? My reading of it simply points out that women cry more than men in this day and age. To me, it would be stating the obvious were it not for the contrast to the ratios in past ages but, still, not really combative or anti-feminist.
Finland's prime minister wants her country on a four-day workweek
Why is everybody acting as if this is some kind of solution to password-based auth? Can you even imagine a world in which a big chunk of the population carry these tokens around and never ever lose them?
I thought he was a comedian.
Yes, it looks like the author has updated their post to say as much following the comments here.
I was about to point out the irony in selling a book about being charitable... Glad that it's free!
Disabling the python GC like that isn't that crazy. They didn't add gc.disable() because you shouldn't use it. The crazy part is some library calling the gc directly without a way to disable it. That's just bad form.

A lot of games in gc-ed languages turn the gc off, and then manually run the gc whenever there's some spare time in a frame. The same thing should more or less work for a server handling web requests too. Maybe run it after every request or perhaps every couple of requests depending on memory usage.
Brilliant! It works. Thank you so much!
They do make 4U server cases that would fit watercooling, several GPUs, and a heavily-loaded motherboard with redundant PSUs quite nicely.
> Git is a complex tool because it’s tackling a complex problem.

Fossil tackles much the same sort of problem, yet it's far simpler to use.

Most of Git's problems are due to purposeful choices, but they're design choices, not inherent aspects of how a DVCS must behave.

We've laid out our case for the differences here: https://fossil-scm.org/fossil/doc/trunk/www/fossil-v-git.wik...
This sounds so similar to me.

My family never owned a car, went on vacation or went out eating much (only on very fancy occasions). We stayed as 6 of us in a 2 bedroom apartment. And pocket money was never a thing. I especially remember that even gift money from others was something you handed over to mom for daily expenses.

But, it was all a conscious choice by my parents to allow us to have solid nutrition, good education and avoid debt.

They were always fully transparent about expenses in the house and what each rupee meant to them. Even when I asked for any money, it was always contextualized in number of meals or how many clothes that bought us.

I am doing well now, but it really does teach you to be mindful of money. It has had some adverse effects too, where it took a long time for me to stop being so visibly stingy.

Growing up knowing how much things cost and that we were still in the 90th percentile of our country (India in the 90s), helped me a lot in gaining empathy for those that I knew earned a lot less, and the hard decisions they might've had to make on a day to day basis.
Walrus shortage may have caused collapse of Norse Greenland
Australian birds worsening the bushfire crisis by spreading fire to capture prey
All good recs so far.
Here's a few I haven't seen mentioned yet -

Computing in the Middle Ages: A View From the Trenches 1955-1983 - Severo Ornstein

Early British Computers - Simon Lavington

Geeks Bearing Gifts - Ted Nelson (and also Computer Lib/Dream Machines)

more recently - UNIX: A History and a Memoir by Brian Kernighan
I am talking with the police regarding this. I live in a country where laws are very vague. Hopefully, I can sort the things through that. I was trying to figure out if there is any policies from domain registers or web hosting providers.
There seems to be a lot of talk in the article about what the writer wants. Also, there is talk about some life style changes. However, the author seems to be lacking a detailed plan of attack.

My suggestion to the author would be to move their motivations out of the picture long enough to frame it. The biggest difference between successful people and others is action, not motivation.
I think we are saying the same thing here. I am talking specifically about the trade and not the macro economy. In the case of buying a security, the expected value of the buyer is the future cash flow from the security minus the purchase price. The expected value of the seller is the proceeds of the sale of the security minus the opportunity cost of the future cash flows. These two sides are exactly the same (again ignoring taxes and fees)

This is true of any security be it equities or bonds or derivatives.

Value isn’t created through trading, but both parties can be made better off because their preferences are different. For example I’m in my late 20’s and don’t need all of my income to live. I don’t mind taking risk for a higher return I could enjoy in the future. My parents are in their mid 60s and have a more immediate need for their money and would be willing to take less return for more stability. Me trading cash for their equities would make us both better off.
Influence by Robert Cialdini also comes to mind.