skysight-inc/HackerNews huggingface dataset:
Can you provide a source? I can provide two indicating they do not.

https://www.wusa9.com/article/news/verify/can-you-send-cash-...

https://apnews.com/article/archive-fact-checking-9264421609

You should report to the postmaster general if you are refused service; they would be interested in hearing about this.
What's in the US debt ceiling deal?
HBO Max new Captcha system
Investigating Anthropocene defaunation through diversity of population trends
Slightly worse than nothing; saves a tiny bit of exercise for someone. 7% of the time it saves a life.
The hard part is figuring out other peoples code.
FWIW, I'm using Google's ML Kit which runs completely on-device and doesn't send the documents to Google. It works better than tesseract for my use case.

I did a presentation on the topic recently:
https://clis-everywhere.k8s.best/16

I'll soon make the stack open source, but it shouldn't be hard to recreate given the inputs I've already provided.
There is wisdom in the saying, “it’s not whether you win or lose, it’s how you play the game”.

The goal shouldn’t be to win at any single game. The goal should be to play in such a way that you are invited back to play more games. This maximizes your probability of playing in the set of all games, which improves your chance of success in whichever area you’re in.

The path of winning at all costs is self-terminating. With continually increasing pressure to produce a result, one inevitably resorts to unethical approaches like poisoning your opponent. Because eventually one’s talents and skill-building hit a ceiling. The path that moves further, requires a team.

Who improves the most at chess over time? A person who:

- Wins at any cost

- Improves continually, regardless of short-term results

- Builds relationships in the process of improvement

The lone genius like Bobby Fischer is rare, and it didn’t end so well for him. Much more common is a grandmaster who has a dozen international master friends they’ve hung out with for years. A tribe.

The difference in results between the pressure cooker and an enjoyable ride is smaller than you think: https://sive.rs/relax

The bar you’ve chosen is arbitrary. Why not twice as high? Fundamentally, one has to decide which path they want to be on long term. Lowering your arbitrary bar by 3% and engaging with your craft in groups of shared joy will get you 10x farther long term.
> So the government will investigate... the government. Do they at least wait for an administration change? Worked out beautifully for police departments...

You know the government is currently a minority government, meaning that they require the support of at least one other party to remain in power and an election can be called at any time. Canada's has elections every like 18 months on average under minority government.

Any impropriety in the process would have almost certainly toppled the government and led to an immediate election.

The person who found the government was justified in its use of the Emergencies Act [1] was Paul Rouleau [2] a justice of the Court of Appeals of Ontario.

The senators are appointed by various leaders and are, at least in theory, not aligned with any political party and given lifetime appointments. The House of Commons is elected and comprised of various parties. The King is obviously a hereditary role and lives in England, not beholden to any one person in Canada really, but instead to all Canadians. Obviously the King is neither nominated nor elected. And the Governor General is also pretty unaligned as the King's representative to Canada.

So no, you're wrong, oversight comes from all over the political spectrum and all kinds of affiliations.

Are you applying an American lens? The political system in Canada is quite different, and this is starting to feel like a high school Canadian civics class.

[1] https://www.cbc.ca/news/politics/four-highlights-emergencies...

[2] https://en.wikipedia.org/wiki/Paul_Rouleau
At $1k, it’s not a no-brainer, but it’s also not that expensive in the context of the risk it counters.
A lot of conversation is needed to create that code. I guesstimate that the actual tokens are at least 100 times than the ones in the repository, even if one can convince ChatGPT not to explain every choice it makes.
Perhaps expand on this into a blog post and post it here on HN...?

Even if the ship has sailed on living in an identity-optional society, at least in most of the world, I still think it's good to record the benefits of such a society.
I think you are mistaken. While people may no longer explicitly speak about it I see in Korean manhwa that the idea of using gifts to obligate a wealthy persons lessers, or being shrewed considering who to accept favors from one’s betters to avoid owing obligations to, is a common theme and understanding it is an automatic assumption for readers. This seems to support that there remains an implied cultural norm.

From the arrticle it sounds like the same thing you’d see within a western church but there it extends more weakly outside the family and ends outside the church.
> Why should you care if the caller uses the return value or not?

Nodiscard is a way of “enforcing” a contract with the user about how your code needs to be used in order to avoid undefined behaviour.

(I say “enforcing” in quotes because, instead of being an actual constraint, it’s merely an attribute - so a conforming compiler can happily ignore it)

Here are two examples of where it is useful:

- Returning a success code that must be checked before proceeding with an operation that could have bad consequences if the previous operation failed. Unchecked operations are one of the major sources of bugs in the wild, so no discard at least points the user to the potential problem.

- Returning something that doesn’t make any sense to immediately discard. This is usually down to a mistake - such as calling vector::empty thinking that it’s going to clear the vector, when it actually returns a bool telling you if it’s empty or not (an awful name, but then so is vector…). It makes no sense to check if it’s empty without using that result, so the warning indicates that the user has made a mistake.
Still happens. I work in a codebase that is definitely on the upper end of complexity for the industry. ~18 months ago we hired a very smart developer who had one of the more rapid onboardings to our codebase I've seen, he was very productive in under a month. It turned out he was too productive and people were starting to find new layers being added to the code base. A few of the more senior folks had to come in and shut him down.
You mean "above 0" degrees? Or is 0 latitude? I really don't understand what "above 0" means here. I thought it was kilometers/miles.
Okay, you're right. They are there as well. And actually the "first" and "rest" functions aren't even standard but are just there in some implementations as synonyms.
Glad I am not the only one who was thinking that.
Pointing to a guy who’s been dead 50 years seems like weak evidence for the claim that government agencies are widely incentivized to undermine political candidates by… selectively leaking their grocery shopping habits?
It's certain there is >$10B loss per annum on metric-imperial. Think about it: human error, conversion process losses, training materials, advertising materials, two physical versions of everything being produced, two physical versions in the supply chain...

I for one plan to operate a metric shop in the US. Using imperial outside of supplier interface will be a formal warning. Will see how that goes...
Looks pretty cool. I’m curious how Lua scripting support is handled for the web platform. There have been one or two different projects for Lua support on the web in the past.
It's not the number of abstractions, but the quality of abstractions. If abstractions reduce cognitive load, they are good. If abstractions increase cognitive load, they are bad. Often times good abstractions are obvious within the problem domain.

To this end, I think Haskell, in its pursuit of the purest, can lead to incredibly-high cognitive load abstractions that make reading code daunting. It feels good when writing it, but feels awful when reading it. Sometimes applying the DRY principle can be bad if the thing you are generalizing will lead to higher cognitive load for people referencing it.

Also I think abstractions vary in quality depending on the language the abstraction is embedded in. Functional paradigms in C++ are thorny to work with; even though functional paradigms are good abstractions in general, if the language doesn't support it first-class (i.e. the cognitive load of using them is high), then they are not good abstractions.

You can also consider maps in a language like Clojure, where maps are almost "zero-class"; it's like the language was built for maps. Nested maps have incredibly low cognitive load in Clojure (not only because the syntax supports it, but also because functions are standardized). Nested maps in Common Lisp, however, are not as nice as those in Clojure; you have to import non-standard libraries in order to deal with them (and even more obscure libraries to support Clojure-like read macros).

The key question is: when someone else reads this code, how much do they need to "reconstruct" the context? Can they get away with not reconstructing the context? And if they need to, how fast can they do so, via appropriate naming, comments, and types?
https://www.investopedia.com/ask/answers/041515/what-are-mos...
I have news for you: if your leadership doesn't care about the process they can do literally whatever they want. What's written down is just words on a page. The whole thing is a construct, including the US constitution. The only real defense anyone has is checks, balances, various kinds of oversight and electing good people who care about doing the right thing. Canada has all of the above, generally speaking.
When I lived in Seattle I survived on my 30 mile range plug in hybrid without using gas almost ever because I could charge at work and at stores. This was commuting from the suburbs to downtown. And it’s only going to get better.

Even in the Midwest I could do it but it would be slightly more of a hassle. Many grocery stores here already have free level 2 chargers. The distances are longer so I would definitely go full EV here if given the choice since at home garage charging is a given
Because it doesn’t accomplish anything. Things take longer for honest users while botnet abusers don’t even notice that the rented hardware is burning more CPU. Nor does it matter because each request still goes through.
Runway – Advancing creativity with artificial intelligence
Well that's one of the points of a 'cash' transaction... Identity-optional.
Is there a position open on your team? This sounds like the stuff I'm into!
The cleverest code is, in my experience, the simplest. Anything else isn’t clever, it’s just showing off.
Ah I didn't notice 6.3 had already been promoted to stable, that's unfortunate.

Relative to a kernel version you'd encounter in something like rhel or debian stable however, tracking mainline's "stable" branch is still pretty damn aggressive.
My basic human freedoms should include the right to not do business with a hate group for example. You want folks to give up that freedom because you got the problem wrong and you're applying the wrong fix.
they will evolve into a subnautical race
Do these devices have the effect of cooling the air? The energy has to come from somewhere… If so, that would potentially serve two purposes for the price of one: cooling and power generation. Or, is the side effect to make the air less moist. Also a useful function, particularly in humid places where drying the air is desired.
Maybe?

Sometimes, when our measurements differ from what we can explain with our understanding of the universe, that's because we didn't understand the universe properly. If you put the Sun in the middle, your model of the solar system is still weird nonsense with planets on their circular orbits needing to swing backwards or accelerate forwards for no reason - until you make the orbits ellipses instead and then it's almost like fucking clockwork.

But sometimes, you were just right, and the measurements were off a bit, and there was no real physical phenomenon, you were just bad at measuring.

So, maybe sometimes the human heart does actually stop, yet it can successfully be restarted and then carry on as normal, and the circumstances where this is true are just fairly uncommon and when people are peering very carefully at the results they never ran into one of these rare cases. I cannot rule that out.
Plenty of insurance plans cover ICD implantation because it is recommended by the American College of Cardiology for specific situations:

1. moderately to severely reduced systolic function of the heart due to a heart attack that persists > 40 days after the heart attack

2. severely reduced systolic function of the heart of any cause that does not improve after 3 to 6 months of pharmacologic therapy

3. personal history of sudden cardiac death with a persistent risk factor

ICD implantation is not open heart surgery. It is a relatively quick procedure that is done by a cardiologist rather than a cardiothoracic surgeon.
> once you've learned your chops you should be up in the $10 - $12CAD

I forgot about the (2005). That is below the (very low) current minimum wage of $16.55 CAD in Ontario. And that minimum wage is not sufficient to survive in Toronto. Wouldn't be surprised if couriers were paid minimum wage today, or maybe a dollar or two over. Seems to be the trend for 'manual labor'.
Possibly like this

https://news.ycombinator.com/item?id=34315782
I guess if we look into the list for the possible personalities[1] everything not fall in the first three windows are in the forth window.

[1.] provided by disillusioned user: https://kevan.org/johari
This is why I always see the code as a math sheet - if every little expression is perfect then the combined result is guaranteed to be perfect too. This rule never fails.
Ah, like the red lines drawn up for Assad in Syria.

And Crimea is strategic. Look at a map. Without it, the Ukraine and its ports are always under threat from the whims of Russia.

It’s probably true that you can’t crush Russia without serious consequences. Unfortunately, you can’t let it win territory without very serious consequences either.

This follows its own tragic logic now and you (we) can’t wish for a nice solution that has no consequences down the line. Letting Russia off the hook is a terrible precedent.
which it always does, thanks to the magic of capitalism

LOL sure, the Invisible Hand will reach right into people's ear canals and rearchitect their vestibular systems using the power of THE ALMIGHTY DOLLAR
> I think Kate definitely need language servers support

Kate has LSP support for a few years already.
If a title like this can even exist, how can the system be thought of functioning properly and fairly hmm...
Accuracy is hard. As with many things, the first 90% takes 10% of the time, the last 10% takes 90%.

Wikipedia seems filled with <90% accurate information, which is misinformation (or BS). I could imagine an obvious reason, that these volunteers with limited expertise and facility with the information (i.e., they aren't experts in the field who know all the sources well) write what they know. Also, it is up to Wikipedia's standard de facto, and most people don't go beyond that norm.

Instead of lots of people providing <90% accurate misinfo, we need a few people producing 99.999% accurate info. (Seriously, if you are producing <90% accurate info, stop. The Internet has infinite amounts of it, if there was ever a marginal benefit to it, we don't need more now.)

It's easy to copy and share accurate info, in theory, rather than creating or sharing more BS. The other problem is that such info is often placed behind paywalls; the intellectual elite get it, but not the public. If you want an accurate science info, look at McGraw-Hill's AccessScience (the decendent of their leading Encyclopedia of Science and Technology), "written by world-renowned scientists, including 46 Nobel Prize Laureates" - not exactly Wikipedia. Unfortunately, you'll probably need an institutional subscriptioin. Who cares if high school kids (or anyone else) have accurate info?
Yes, it's just the new style of spaghetti, this time with lipstick and a bow tie.

One notable difference is that now the GOTOs are implicit and only in your head, so it's notably even harder to comprehend than the old style of spaghetti.

Also often adds in some code hidden in comments ('annotations'), some squirreled away in complex configuration files, and some other code where what actually gets executed depends on concatenated string variables, and maybe for good measure some places where which code gets executed (and how) implicitly depends on the filepath it is under, and now we have a mess even a debugger can't help with.

It's nice to see more people finally getting disillusioned with these trends.
If anyone's interested in non-toy usage, there's the souper project as well https://github.com/google/souper

It's a shame it's a bit hard to actually build these days. Its target is people working on compilers, not end users. But there are some odd cases where I'd really like to use it myself, like trying to get speedup in llama.cpp.
This is essentially calculating the Kolmogorov complexity of whatever the final state of memory wrt to the constrained assembly (and giving the associated program). Since the any program in the constrained assembly always halts, this is possible a la brute force.

It also doesn't seem particularly interesting because it doesn't allow the programs to get input. Obviously that makes things much more difficult wrt to proving program equivalence.
I will never type this:

printf("You have %d items of type %s.\n", itemCount, itemType.c_str());

When I could do this:

std::println("You have {} items of type {}.", itemCount, itemType);

https://en.cppreference.com/w/cpp/io/print
I've personally discovered a vulnerability due to a lack of namespacing, where token objects were cached using the token's raw value as the key. There was an API with a /whoami endpoint that returned the current token being used. What the API didn't expect was non-token objects to be read from cache, so if you used authn "Bearer users:1", the /whoami endpoint would respond with the user object of the user with ID 1. Redis is also commonly used for non-caching purposes, e.g. config, so this could've also leaked secrets.

Even if the token cache keys were properly namespaced, any cache key with a "token:" prefix would be readable, even if was used for other purposes than to store a token object. All that would be needed is the key suffix. The remediation of the vulnerability I found included proper cache key namespacing, as well as hashing with an HMAC (since tokens were being stored in plaintext).

So just sharing a real-world scenario where a lack of namespacing (and other caching mistakes) produced a vulnerability.
I'm not really fit enough to compress properly, nor have I been in CPR training recently.

In an emergency my support role would be better spent on comms support or managing other trauma.
In Defense of Thinking – Cal Newport on YouTube
To me this seems overexaggerated. Most people I went to university with already struggled to understand async code, without having done web development before. And for those with web development background it was pretty easy to adjust.

I also don't know any school, college or university that starts their programming courses in a webbrowser. Typical languages in Germany for a first semester algorithms/data structures class are either Java or C++.
Yes, thats why we went to see the docyor in the first place. Instead our concerns were dismissed
> Some of it might be due to the current administration's "double allegiances" to China. [0] [1]. Notice Beijing too is set on it's "0 Covid Strategy". Canada was notorious for having delayed vaccination the Trudeau administration funneled 44 million dollars [2] and months [3] of taxpayer funded research work to CCP controlled CanSino, with little to show for.

That does make sense, Tornoto and especially BC has always been an enclave for the Main-lander to setup shop in Real Estate and then eventually educate their children or eventually expat to, and the place is rife with abuse, and at times violence, towards HKers while the local government or schools not doing much in response.

> What? We have an office in Montreal with French-Canadians, French and Swiss employees and I've never heard of such thing.

Its work enviorment, and the line of thinking you're taking follows as:

I don't see passive-racism in my office, where we pay people to work cordially for a salary with people they otherwise wouldn't be around, therefore racism doesn't and mustn't exist.

Racism is an over-used word in the modern lexicon, but ultimately this is a racial thing: you speak my language and are white, but clearly not from our specific ilk therefore we will ridicule you for it in order to show how inferior you appear to me/us.

I lived and worked in European/N. American kitchens, and restaurants frequented by all of the above; God help you if you only knew what they think about people from Angola or Mali. I was first there during the refugee crisis during the latter part of the financial crisis (11-14) when they couldn't house them so many just lived in city parks in any major town.

Swiss-French, specifically from Geneva, always got a pass for some reason: must be the Banker money/wealth thing attached to it. My friend was from Bern (difficult native mundart speaker even by Swiss German standards) but spoke French with that accent for work as a corporate worker at SBB at dinner parties. Whereas Vaulis always got a strange look if it were in earshot.

But You honestly cannot be oblivious of the way the mainland French perceive it's various dialects, hell even Alsace or Marsille dialects/accents get the cold shoulder from Parisian speakers at a table: but personally, Normandy sounds the best to my ears when spoken by a woman.
Thanks! I haven't heard of LayoutLM but something that can understand structure from a few examples could be just what I need.
> a consistent way to make money

Who said it was?

As per my last sentence my conclusion was that you only need to be right few times over your life time to buy a very good company that is mispriced for whatever reason and that retail investors hold often deep understandings of key industries that professional analysts don't.

If you're willing to do due diligence (and learn to do so which is far from trivial) and act you can definitely see good long term returns on a good number of picks.

Point is, stock markets only beat bonds in the long term, if you are in the stock market to do + some % in a short time it's gambling.
you're free to decide who to do business with if you're not providing a core utility service.

would you like to no longer receive water or electricity at your home because your utility companies don't like you, despite (being willing to) paying the bills like any other citizen?
Can you explain how this would be a "tragedy of the commons"? I'm not sure I understand how there's a limited resource which each individual is incentivized to extract more than their sustainable share of.
I wouldn't say "no unit tests". There are xfstests, the problem is that nobody runs them on stable backports to verify their correctness and completeness.
Despite the visualizations, I found the mathematical solution described here [0] quite convincing.

[0] https://math.stackexchange.com/questions/1351058/circle-revo...