skysight-inc/HackerNews huggingface dataset:
It's a good hunch. Another good hunch is that delayed diagnostic testing will take more lives in the coming years because cancers and heart ailments went uncured.

These hunches are usually not proven or disproven until much later when the initial dust-up has settled and more excess mortality data is available.
Shameless plug, I also maintain an OCaml implementation of egraphs (named ego) at https://github.com/verse-lab/ego

While the most popular implementation at the moment seems to be egg in Rust, I find that OCaml serves as a much more ergonomic environment for quickly prototyping out uses of egraphs in practice. As a bonus, ego also shares the same logical interface as egg itself, so once you've finalised your designs, you shouldn't have much trouble porting them to egg if you need the performance gains.
Wow, this perspective makes me really excited for the future of new programming languages. Thanks.
That definitely seems to be what they said. Along with quite enough more.
The same things get invented over and over again and named different things depending on the field. Sometimes it's not immediately clear that they are the same things mathematically.
Bloom Filter is very clever and simple DataStructure, Thank you.
The Importance of Elders
https://en.cppreference.com/w/c/numeric/complex/imaginary

#include <complex.h>
...
double imaginary i = -2.0*I; // pure imaginary
double f = 1.0; // pure real
double complex z = f + i; // complex number

from gcc's complex.h:

#ifdef __GNUC__
#if __STDC_VERSION__ < 199901
#define _Complex __complex__
#endif
#define _Complex_I ((float _Complex)1.0i)
#endif

#ifdef __generic
_Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
"_Complex_I must be of type float _Complex");
#endif

#define complex _Complex
#define I _Complex_I
In 1990s at our school it was children who installed keyloggers to get admin passwords. I guess now they have grown up and became school admins.
> I'd bet you a large sum of money this agency used Agile.

Probably not. Larger relatively successful design / marketing agencies are - based on my experience - poorly run, poorly managed, and poorly led. This gets exasperated by high turn-over (read: good people leave, dead weight stays behind).

Training, etc.? Not a priority. Revenue, it's all about revenue. They're "creatives", not business problem-solver types and presume mess and excessive friction are unavoidable.
The obvious way to use fewer pins is to have a decode IC, e.g. 74238 which would take 3-bit input and pull one of 8 outputs high or 74138 which does the same with active low.

With your 112 key matrix, you can then use 14 input lines to make an 8x14 matrix, so you'd need a total of 17 GPIO pins.
Purely Functional Data Structures[1] by Chris Okasaki is worth reading. There's a book version if you prefer vs reading a thesis.

Even though the domain application is functional programming, these datastructures can come in handy when you want to enable state sharing / keeping old versions around without having to copy data.

[1] https://www.cs.cmu.edu/~rwh/students/okasaki.pdf
Ex-Coinbase manager charged in first-ever crypto insider trading case
Off topic, but the drop-off in searches during pandemic seems to indicate how little work people actually did whilst working from home...it's quite surprising.
Real hackers sit in a dark basement filled with pizza boxes and Jolt Cola cans. The only thing they should be working on is their Unix beard.
If you like Bloom Filters, you'll love Cuckoo filter, which allow key deletion.
Ask HN: Efficient and Effective Information Retrieval from Hacker News
Efficient and Effective Information Retrieval from Hacker News

To obtain the most relevant information on a submission/subject of interest,

I click on the site reference [1] first, this allows me to determine the sites user/HN ranking/reliability,

by the number of [dead]/[flagged] submissions vs. points [2] and comments [3],

and to see duplicate submissions with comments [3],

it also allows checking all submissions from a site of interest. [1]

I'm then able to click comments [3] and read HN Readers opinions/information.

How do You use HN to Inform and Educate yourself?

--

Atlassian reveals critical flaws in almost everything it makes and touches (theregister.com) <-[1]

26 points <-[2] by jerryjerryjerry 5 hours ago | flag | hide | past | 3 comments <-[3]
So really your PTO is subject to the discretion of your manager. Unlimited sounds good, but in practice, I think it is better to have ownership of your time off.
I remember like 20 years ago having unlimited sick time, which in reality just meant your manager was rated on how much sick time their team burned through.
And they can be generalized to work on any kind of trees instead of just lists.
I think it depends on the individual and what career season you're in -- and what the company wants too. There are companies that are in a strong market position that can kinda just sit there and harvest profits without doing too much, so there are more straightforward, leisurely jobs there.

On the other hand, if you want to work at a fast-growing startup in a competitive market, that's going to be different, and you need to be prepared for that.

No particular choice is 'better' than the other, you just need to figure out what you want, then pick appropriately.

I'm still in a career growth phase, so I'm happy to work hard, and I want to find a company where that's the norm, and that will allow me to grow. I'm sure that'll change in the future though.
Addenum.

Link to paper: https://www.usenix.org/system/files/conference/hotos15/hotos...

COST acronym: "Configuration that Outperforms a Single Thread"
Some prices rise, yes, but if the money supply doesn't increase then it's not possible for all prices to rise because there wouldn't be enough actual money to keep paying those prices. A limited quantity of money + some rising prices would force prioritization and marginal businesses with high prices are forced out of the market, as the increased prices would not be viable. At which point those prices stop being counted towards inflation, as they don't exist anymore.
> accessing an arbitrary list index is O(N)

I think you mean linked-list here. Parent is talking about "arrays".
I am guessing that it is mostly SEO spam? to get people to go to the jersey websites?
Possibly because it works for more people than Cryptonic?

I could say exactly the same thing with different details (walking and some martial art for me). The most difficult thing is dragging your butt to practice regularly.
What do people think happens if the US withdraws from the global theater and doesn’t maintain its military capabilities? Do we really think that Russia or China would settle for regional skirmishes, and the world would be at peace? The US is very often at war, but there are greater evils than the US bombing ISIS even with the commensurate civilian casualties (hint: few other military powers are so scrupulous about civilian casualties).
Forgot to note, if you're really short of GPIO, you could also use two 8-line to 1-line data selector chip, e.g. 74151, so you'd have a 74138 to select one of 8 rows, and two 74138 which select a column each, and two further input pins to read from the result. That would reduce GPIO down to 8 (6 out, 2 in).
it's suited mostly for large multinationals.
I havent used drupal or wordpress at that scale, but if you have website that you need to rollout to >30 countries in many languages AEM might be for you.

just an example of the kind of companies that use it. apple, intel,etc .e.g
https://jobs.apple.com/en-in/details/200207733/aem-engineer
Facebook parent Meta eyes investment in Indian startup Better Opinions
To add completion to this, decimation was a Roman Legion punishment that was really high up in terms of severity.

The Centuria was a roman military unit of 100 men (The centuria size/meaning actually varied over time) but when the decimation punishment was applied that would mean that (by draw) every 10th men in the centuria would be killed, here is the catch, the people of their own centuria had to kill their own mates in decimation.
This zipper stuff is for immutable data structures.. For us normal folk that just use & abuse array's we don't need zippers. :-). Just kidding. I am dieing to find a use for zippers tho, i'm not a functional programmer.
Vantage-point trees. Great structure for nearest neighbour searches.

Bonus tip: When you have a fast distance function (like a hamming distance) and write your tree from scratch in C (which almost automatically means you'll optimise it for your use case), they can become absurdly fast - much faster than the general-purpose nearest neighbour libraries I'm aware of.
His advice is good for one (albeit common) type of knee injury. It's a bit annoying he think he's solved all people's knee issues. Or, I guess it's just so everyone will buy his program.

It also irks me how he sometimes play into a "big pharma" kinda conspiracy. That "everyone" says you shouldn't have knees in front of toes, but he is the single person looking through this ruse and selling you the secret.

FWIW I've had patellar tendonitis before, and the rehab I got was doing eccentric squats on an inclined surface, explicitly to get my knees over the toes and help put a balanced load on the tendon. So his "secret" has been the common approach for at least a decade.
They should be considered regulated, because there is some value underlying them (the forex), plus they're traded and offered to unsophisticated investors etc.

A BTC ETF could maybe be the same.

Similarly shares in a farm would be regulated, but farms (or cattle :) ) would not be. Otherwise the SEC ends up regulating all known trade and/or value production...
This sounds really good, I find the best exercise is done when you're focusing on something else (just got back from building/striking a festival in the desert and lost about 5kg, for instance). Have found a historical fencing club in London and emailed them.
Oh yes. I worked for year in medical imaging and we suffered greatly when dealing with sanned pathology slides, that easily have a long side of 30k to 200k pixels, and we had to deal with big volumes of them, go figure.

But then we found libvips (that's not only a library but a cli tool too) and it was like night and day in big images. Like 10x faster and 1/10 memory use. I really loved it!

https://www.libvips.org/
> Ruby developers didn't change the behaviour of these characters

because Ruby has \A and \Z to match the boundaries of a string
Agreed. There’s no way the government in the 80s would have invested in the Internet without a defense pretext, for example, because no one understood the potential it would unlock. Similarly, there would be virtually no space exploration or satellites (or any of the other significant advancements) apart from the space race.
> So why did it make sense for USA to restrict oil pipeline build and reduce oil drilling permits in past 18 months?

Because "Russia is going to do something stupid" wasn't on the radar then.
Welcome to modern "content marketing". It's just the latest way to game SEO, pump out semi-automated or completely automated "content" and backlink to your site.
Girl, same.
https://news.ycombinator.com/item?id=32190032 got more traction.
The trouble with symbolic links is users who don't understand/use linking coming from alternate platforms and developing on/for UNIX.

This is a feature in the same way that shellsock was used as a feature for many years by experts. Thankfully I'm expecting something like POSIX to save us this time.
> I don't think you really know what you are talking about frankly, both the LHC and projects like LIGO, VIRGO, KAGRA have had HUGE impacts on physics. I work on LIGO myself, specifically on new methods for reducing quantum noise, and that has huge impacts on high precision measurements. One example would be the incredible new breakthroughs in non-classical states of light, such as squeezed light. Yesterday in journal club we read a paper about how squeezed light could be used to greatly enhance the sensitivity of the tracking of biological particles. Also not only new practical techniques, but a huge amount of interesting new fundamental quantum measurement theory came about due to these detectors. The list goes on and on, I could fill many pages listing both the primary science and secondary technology (especially quantum technology) benefits that came from LIGO. It was absolutely 100% worth it

Amazing! What does it all mean for my quality of life?

When we discovered fire it was a huge bump in quality of life well before we understood the mechanisms of molecules and atoms being agitate by the rise in temperature.

After the 70s we hit a brick wall. All the stuff after we'll never get to use practically, including LIGO, VIRGO, KAGRA, LHC etc.

I have the maximum respect for theoretical physicits but they are just humans among 10 billion humans.

10 billion humans won't accept to pay huge amount of money to solve what essentially has become a murder mystery for people with an IQ>180, solving it won't have any impact. Especially when the majority of them are starving and have no A/C in an increasingly warm planet.
https://www.foo.be/docs/tpj/issues/vol5_3/tpj0503-0012.html

Ah, I remember LibDVDCSS, mplayer waiting to decrypt the key for 20 minutes (just once, then it was catched) to play a new movie.
Because Microsoft has spent billions on lobbying and spreading FUD in every educational institution and government across the world ranging from national to local governments to convince them that Windows and Office are the only usable suite of tools. So Word documents are now the lingua franca in the office.
Low Density Parity Codes (LDPC) (1).

So good forward error correction that up toa few years ago it was all under patents.

Gold Codes (2) are also very cool in CDMA systems.

[1] https://en.m.wikipedia.org/wiki/Low-density_parity-check_cod...

[2] https://en.m.wikipedia.org/wiki/Gold_code
Living with the Rust Trademark
DHS IG: Secret Service stops work on missing texts due to criminal investigation
I think there cannot be a single perspective for optimal behavior. If I work I want to be efficient, the opposite is true if I want to relax. When I want to have fun or be creative rationality isn't necessarily good company.

I also don't want to take every opportunity I get, that would be pretty exhausting. I would have opportunity to save some taxes if I invest a few hours into tax law. Certainly and opportunity and pretty productive. But I just don't want to because I hate doing taxes.

Sure, these models do not apply to individuals (although this fact is often neglected). Also a model is always a simplification. Intrinsic to that is that it will by definition only ever be approximative. It neglects parts of reality, hopefully the less important ones but you cannot be sure about correctness and extend of approximation.

For example if I know a behavioral scientist that I just don't like for any reason and he suggest I should exercise more, I might go eat an extra pot of ice cream. This would render "nudging" quite ineffective or worse have the opposite than the intended effect.

I think it is more constructive to accept limitations of a model. It can help for prognosis and diagnostics. Why is it for example that people exercise less? Probably work load or distractions from entertainment or whatever reason. I think the field should concentrate on trying to get answers to such questions.

Psychology is interesting and much of the content that cannot be replicated is probably still true under certain circumstances. But for generalization these circumstances need to be known.
Scraping URL metadata with an NPM package in a Node.js code step
Why would the right reference be the adult overweight/obese rate rather than the population-wide, all-ages rate?
> but they cause a lot of unintended security vulnerabilities

No, bad coders on UNIX platforms do this.

The code may be valid code, but if it's intending to support running on UNIX it should do it properly not assuming it's on a FAT32 filesystem in 2022.

Or, even better, run the code you don't trust on fat32 filesystems, see how far that gets.
Interesting piece, but it would be nice if the author credited or cited the publication that most of it was copied from. Didn't even bother to remove its name where it makes no sense in its new context.

> A spokesperson for Accenture tells The Register...
I dont know why would one expected academics and scientists to "lead the effort for a rational world" or be especially good at organizing or leading. It makes sense to expect them to be good at math, physics, sociology and what not.
No, of course not. I think the sibling comments give lots of clear reasons to discount the author (and to credit him). I only wanted to point out that the piece seems very one-sided. And of course I am one of nature's counterbalances to unfair prosecutor behavior, so I was summoned.

I'm joking a little, but to be completely serious, if I wrote an article like this, it would be rightly discounted by everyone unless I explained my perspective sufficiently to offset the bias which is assumed to travel with my role. This is uniquely true for criminal lawyers because we are known professionally for advocating only one side of causes, and it's uniquely pernicious for prosecutors because, though they too are one-sided in their advocacy, they benefit from a mis-assumption that they seek fairness or consider all sides of issues like this.
> Given that changing one pixel of an image changes its hash

They don't use SHA/MD5 style hashes for CSAM image matching; they use "perceptual hashes"[1] which are resilient to changes (specifically, I believe, PhotoDNA[2] from Microsoft.)

[1] https://en.wikipedia.org/wiki/Perceptual_hashing
[2] https://www.microsoft.com/en-us/photodna
Replacing the promise with the result in the map (using a sum type as the map value type) might be more efficient than maintaining two maps?
This sort of over-promise, under-deliver, bill-huge thing seems to be rather typical for these major consulting firms, as far as I can tell.
I think it’s just lack of imagination—no one in the 80s could see what the Internet could become—it would have been a huge gamble with little predictable value (of course, we have the benefit of hindsight).
Regarding the last point, there is some indication that that is happening, given that Google's response (from the article) is:

> Google has indicated that it plans to fix the privacy concerns by August 2023

which means that they acknowledge that the current situation is insufficient. If the data was stored and processed only in Europe, they would likely say so. Although even that would not be sufficient, because

> American authorities can access data stored in the European cloud

(by American companies), due to the CLOUD act. So the privacy issues aren't that easy to solve, which might be why they expect it to take >1 year.
Water cooler conversations weren't killed by binge watching, but that did remove a significant portion of possible conversations. Common things remaining are current events mostly (top of my head): gossip, politics, news, sports, work.

Other stuff can still happen, eg. a colleague enthusiastically sharing something they learned or a discovery they made ("did you know how to properly use a paperclip?!").

But yeah, there's significantly less "things you probably also saw since yesterday and have an opinion about" stuff.
How Living on Mars time taught me to slow down (comic)
Ask HN: How do you manage your household cashflow?
As the years go by and my family gets larger, the task of managing the budget and cashflow has grown in complexity and my trusty ol' spreadsheet is feeling a little inadequate. I'm looking for some advice/ideas on how others plan and manage their finances when you have things like:

- Multiple, variable income streams (2 W2s, RSUs, real estate rental income)
- Fixed monthly expenses (mortgage(s), subscriptions, bills)
- Variable monthly expenses (groceries, gas)
- Fixed yearly expenses (kid tuition, travel)
- Investments (401k, ESPP) + retirement targets (total NW, age)

Specifically, I am looking for a system that manages away some of the complexity and leaves my wife and I with some tools and accountability for how much we spend out of pocket month over month in various categories. We don't mind manual entry, but I am hoping to avoid straight up manual transaction entry + reconciliation for every dollar of outflow...but perhaps that's unavoidable? Curious to see how the folks of HN do this and what ideas I might steal.
What Japan’s election means for controversial defense research
> The only moral principle I have stated is that one should not impose punishments on people who have not caused actual harm

But isn't the risk of death a harm? That's what I'm driving at here. It's about where the line is drawn.

Should it be legal for someone to take shots at you as long as they miss? Drunk driving is the tip of an iceberg here.

> My point is broader: that our society seems to assume that most adult citizens, if not prevented by various nanny-state laws, will make such errors of judgment frequently enough for it to be a problem. Either that assumption is false, in which case our society is imposing huge restrictions on people that are not justified; or, even worse, that assumption is true, in which case I think our society is doomed.

This bit about a doomed society interests me. Why must society be doomed if it needs "nanny-state" laws to function? If society needs those to function and it makes them (society produces its own laws, after all), isn't that the look of a society that is succeeding? A society that regulation and fails to self-regulate is doomed, for sure.

Now then, the bit about 'most' adults needing such help doesn't come from anywhere. I agree it's a few. But if most adults don't need government incentive to drive sober, regulation preventing drunk driving abrogates a 'right' _they won't exercise_. Are their freedoms limited in that case? Or are laws against drunk driving highly targeted, impacting only the people who are driving drunk, getting them off the roads before they hurt someone?
That hackser.io popup only appeared a few months ago. I can't see how it is doing anything except alienating anyone who visits the site.

I've tried to filter it out with uBlock Origin, but so far haven't been successful. :(
> moving back to laptops and desktop machines?

Sure, as long as they never upload those images to somewhere that already does scanning (which is basically every cloud storage provider, I believe.)

> As long as it is transferred off the phone before someone gets caught with it and its hash entered into the database, they wouldn't be flagged.

Yep, that's definitely one flaw in the plan.
They are doing you a favor. That bag would likely not have made it to its destination due to ground handling troubles outside their control.

Just had family flying TLV through Munich. 2 out 4 pieces of luggage lost (Lufthansa/UA codeshare).

If you are going to travel with a checked bag, 100% recommend airtag'ing them.
> As for the borrow checker thing, it is not broken but it's simply a limitation.

Limitations are when the borrow checker is not smart enough to understand things like sub-scope borrows (fixed by NLL) or the interaction of mutable borrows and loops (which hopefully will eventually be fixed by Polonius aka NLLv2).

But here they want to acquire a shared reference to an object with an outstanding unique reference. That is quite literally the first of only two rules references have:

1. At any given time you can have either a single unique reference or multiple shared references.

2. References must be valid.
thanks for the great work on the jsonschema crate!

I didn't know about the pgx_json_schema (or is_jsonb_valid) and will add both of them to the README today
Page mentions Subversion, anyone still using that vcs these days?
Can confirm.

Git: 50 mins of googling to know what the next 5 commands to type.
Hg: 5 mins of googling to know what the next 50 commands to type.
Shares in Snapchat owner slump 25% amid slowdown in ad revenue