skysight-inc/HackerNews huggingface dataset:
As I've already mentioned twice in this comment section, pgtyped and similar libraries. You wrote raw SQL, then they check it against a database at compile time and give you static types for your inputs and outputs.
Solid objects and empty atoms: Why everyday reality is not illusory but emergent
This might be a little radical, but I really wish google stopped acting like they own anything they want because "they could buy you and your family".

It seems to me like this decision is being made purely because Rust is hot right now, and not because it makes so much sense that its the best decision moving forward.
These were most likely paying customers on the quick dial.
This is like the growing USA/West vs. China narrative that's making its way into the news narrative.

Perhaps americans will increasingly direct their competitiveness & combativeness outwardly > inwardly.

You can't change human nature much, but you can change what it's applied to.
I'm curious mostly how Tesla "self driving" crashes compare to other carmakers "driver assist" crashes.

Because those two types of systems have mostly the same capabilities and same legal position, neither are self-driving in any way. But Tesla markets them more aggressively which could lead to a different attitude and behavior by some owners that think they have "self driving" and pay much less attention.
Earth is now trapping an ‘unprecedented’ amount of heat, NASA says
I'd like to try Eesel, is Firefox compatibility on the roadmap?
Pal, it's like meeting 101, the only people possibly get butthurt about this are those with zero work exp
This reminds me of when I took over a project after a developer that left they company.

They had just added SMS notifications to production but to my horror left some test code that would text you "Hey motherf**r" every time you would change your phone number.

To this day I still wonder how many people got that text.
I bet what happened was that their integration environment has unredacted production emails.
Good point, but considering a lot of people are probably calling/emailing HBO without any sort of response, asking what the email is about.. it might be more fair to say that the stranger called back, you didn't pick up, and now you're calling back to clear the air.
It is: corporation
Do you have any data to support this arguably disingenuous conjecture?
I once tried to apply a hotfix in prod by opening the PHP file through ftp and modify it inline and just save. What I was fixing was the email sending logic. Since it was a long time since I had written any PHP, I forgot to add a $ before my i-variable in the loop. It still ran, though, just getting stuck with index=0 and sending email after email. Luckily my user was the first one in the db so no one else was affected.

But since PHP running on a managed host isn't something one can easily "shut off" it ran until it timed out, sending thousands of email to my gmail. While Google could handle it, it ended up locking my account for a few days with an error every time I tried opening the inbox.

Luckily my domain / provider didn't get blocked or spam-listed in the future.
I agree that ORMs have a very narrow area of applicability, at best.

OTOH I do appreciate when a library allows to construct SQL from first-class, reusable parts, like SQLAlchemy allows in Python. Using the same where-clause object in both select and update operations, or combining descriptively named filter clauses to create or amend a where clause, or easily constructing CTEe from other queries, etc — this all is pretty empowering, and, most importantly, expresses the logic better.
A lot of research on interviews has shown they basically don't work. You just can't grill someone for a few hours and know how they're going to do on the job.

For unemployed candidates, we should do away with interviews altogether and do paid 2-week trials instead. After the first 2-3 PRs it's pretty clear if someone has the skills you need and to what degree. It would also help the candidate decide if they like the company.

Employed candidates are harder to evaluate and I don't think there's a single formula that will work for every company.
Why ancient Greeks mixed wine with seawater
It's not just the central bank. It's literally every market participant kicking cans down the road. Everyone is saving at the expense of everyone else.
Does this come more from the manufacturers influencing the laws to keep control of the after market spares rather than a concern directly for your safety.
I suppose one advantage of the quick OTA updates is that once there is a weakness found in the system it can be fixed in all cars rather than waiting for a recall or extending driver training.
Paul Miller's journey as he left the Internet for a year
Thanks, I guess that's a good reason.
Great, but that's not the reason why obvious comments are bad. They are bad because it's not maintainable. For you this means that the next time a developer refactors the code, you need to check if the comment is still accurate with the refactored intentions. I repeat, this is not maintainable! I love how the book Clean Code described it: "A comment is a failure to express yourself in code." There are situation they are useful, but those are definitely not obvious comments.
A high-end DIY laptop
Private Key Ssshhh – Share secrets differently
>Programs to assist people who do not have a phone and internet, now focus on giving those people a phone and internet

This is smart though, since it costs very little to give someone a smartphone with internet these days (ALDI talk in Germany is 8€ a month with a bit of data, a cheap smartphone maybe 100€).

Trying to keep up a service that <0.1% of the population uses costs a lot more.
Same for me. A fix I used to have is shifting something unusual about my clothes after checking the doors are locked, like doing up a button I don't normally do up, etc. I can then check that, "yes, button is done up, I locked the door".

But what seems to have cured me for good is having children. I'm just waaaay too tired now to even consider going back to check the door. Screw it, what am I gonna do? Oh dear, baby #1 was sick on me again. Hey, baby #2, don't run off without me! Baby #1, put that hat back on again. No more snacks until it's back on. Baby #2, what did I say about running off? What is it I was worrying about? Can't remember. Goto 1
Actually, having read the opt-out method article and knowing the personal data protection law of my country due to professional needs, I can say that what Google is doing is illegal in certain cases here. If Google ends up personal data as defined by law here, which does include present location coupled with name, then that ends up being illegal without a detailed data protection declaration and withdrawable explicit consent granted before ANY data can be collected at all.
Intrusivity is not important, convenience must not be allowed to trump legality though.
"Childrens book" ... was the goal.

I don't think many children are into Franz Kafka. Kafka is more for cynical grownups. (And teenagers about to become it). It was very Kafkaesque, having to read Kafka in school ..
I did almost the same action and unplugged and replugged a Sun keyboard while rearranging cables. But in my case the machine just suspended to the boot mode. 10 minutes later my team lead came and found me, figured out the situation and typed 'go'.

The server restarted and just continued happily doing its job.
Protégés - absolutely! I think they all saw it that way too. Miles was the teacher

Timeline on those albums - I think it happened the other way around actually - In A Silent Way was Miles’ first foray into electric jazz in 1969 - Bitches Brew came soon after in 1970 and was pushing the boundaries further. Both great albums, every single player on those albums is great. Miles sure could pick the best for his bands and make it gel together.

Herbie is without a doubt one of the giants. Listened to the Headhunters era albums probably more than any other records in my life. Killer. Love his earlier jazz stuff too, and the acoustic albums he put out later (Joni covers etc)
Ads != marketing. You can still have your ads. The days you're describing never existed. Everything is marketing.
I read wikipedia. I just realized that the suppresion is more brutal than what I imagined. Are u referring to HK 1997 election? That election is after the British reluctantly agree to handover HK. From the CCP point of view the elections is a plot to sabotage the Handover. It is not that iI agree or disagree with CCP view or British motive. There are many anti colonial politicians in Asia suspicious of the British motive.
Juneteenth
But why would this be in any way surprising? We knew since the agreement between China an the UK that this day would come. The whole world knew. Maybe the residents of HK had some vague hope China would give them more freedom than in the mainland (why would they??) but in other parts of the world the picture was rather clear. I expected massive emigration but as far as I can tell people had the idea to stay and fight at home.
If all it takes is a simple lie, you’re not really doing any meaningful verification. If that level of trust was good enough, why not just drop all checks entirely at voting booths and just have a brief questionnaire that asks “are you allowed to vote?”
Isn't this why laywers' have to get indemnity insurance?
I don't get this radical zero-covid-like mentality. At unbounded cost we can diminish all risk. How do people get to this radical/dystopian point of view that no trade-off should exist?
Africa-GreenTec – SmartMiniGrids the decentralized infrastructure of the future
Well, i heard that there is sun in California. Will be difficult to charge your Tesla at night though.
Edit: Bootstrapping does not need to be a "smaller thing" necessarily. Last time I bootstrapped something it ended as an 8 digit acquisition (of which I owned 100%). It is the same outcome as a 9 digit acquisition where you own a single digit equity percentage.

Not to mention the lack of any depression because the process is by definition focused on yourself and your capabilities. You pace it any way you want. You make it as challenging as you want it to be.
commercial isp's do oversubscribe in the range of 1k-20k. it'll work fine if there is some form of fair-queueing that limits interference between customers.
Tesla's driver assist tech is much better than most other cars. People are excited about that, making the media report a lot about mostly bad incidents. Nobody cares about your Peugeot 208 "Lane keep assist" crashing you into a cliff, because nobody cares about your Peugeot 208 in the first place.
I can't think of a single benefit of a function over a comment for a piece of code that's only used once. The downsides of the function:

- Unless the function is extremely clear like max() or min(), you will have to read the function and jump around the code. I feel people underestimate the cognitive overhead required for this. This gets worse the more arguments are required to pass around. Linear code is much easier to read.

- More lines of code, a comment adds 1 line while a function or method adds at least 4. Also, code that has to be separated over multiple functions is practically always longer than linear code. Doing this to the extreme can have quite an effect.

- Naming issues, it can be hard to think of a good name for a function and it almost never describes it perfectly. Misnaming things leads to bad assumptions and leaky abstractions. Comments have the luxury of potentially conveying more information and are also less important to get right.

If you use a lot of vertical scrollbars then by all means go ahead and abstract it, but I'd generally pick the comment.
This is sort of funny to me, since ActiveMQ had this exact problem. A single slow client could break the entire system because the broker would slow down producers to prevent exhausting the queue space. Which was exactly some "weird" state because it wasn't obvious what happened until you spent a lot of time debugging.
I've seen a proposal to replace interest rates with a credit tax. It would grant the us government the ability to borrow money at 0% regardless of the interest rates for the private market. This would completely destroy the belief that money is a risk free asset as governments can borrow money at any time and there is no need for government bonds anymore.

When inflation happens you raise the credit tax so that money creation actually causes net deflation once the loans are being paid back.
Seconded - is there any article anywhere about the technical side of these early days?
The idea is that the shorts never actually covered. They shorted it greater than 140% back in January, as that was the maximum that can be reported. Even before January it was slowly rising from 4 dollars, so the hedgefunds kept doubling down on their bankruptcy jackpot.

If they short the company to zero, the shares are worthless and they don't have to cover their short positions. This has always worked, they have power and abuse it to put companies like Toys R Us out of operation with no way to effectively raise capital.

They did not anticipate that a company could turn around, which is essentially what has happened. Ryan Cohen the new CEO has effectively taken GameStop's domain name and is building a whole new business around it, with all the debts gone, the whole board replaced, and completely new management.

Not to mention they have raised billions with ATM offerings and are now completely debt free.

Even without a short squeeze, Gamestop is set to compete with Amazon for gaming, and has poached ex-Amazon talent in it's management. Fundamentaly it's a solid company, and that is even without the MOASS.

Hedgefunds are trapped now, and are now triggering FTDs (Failure to Delivers), and need to reset the timers using various means including deep ITM options, ETFs, and shorting whatever shares they can get their hands on. For example XRT has been 240% shorted since Feb. They'll buy up a whole ETF just to get their hands on the GME shares inside.

They will dig a deeper and deeper hole until they are margin called and forced to cover. Conservative estimates have retail holding 110 million shares, but due to the lack of transparency in the market, this cannot be proven.

In addition all the new SEC filings that have been coming out have been specifically worded to agree with this. 005 for example is an ass-covering exercise about options manipulation, and 002 increases the frequency which short positions must be reported. Most of these are to prevent this kind of scenario happening ever again.

Finally the media coverage has been constant dismissal of Gamestop and the promotion of other meme stocks such as AMC. Gamestop is no longer a memestock at this point and is a solid play MSM (the news network) do not want to advertise. Only recently has the media been talking about 'naked shorts' (2 weeks ago by accident), and 'dark markets' (2 days ago), where these subjects were discussed on Reddit 6 months ago!

You won't find this on WallStreetBets, there is a dedicated subreddit SuperStonk, which is a bias confirmation echo chamber still, but incorrect info does get corrected and people called out.
If I had a program where calculating distance between points on earth was important and I had an API with a function called earthDistance, then knowing that it was actually calculating the Haversine distance would be vital knowledge, since that approach is known to give quite high errors and that I should avoid using that function if I care about accuracy.
I tried it with a bunch of 101 comsc topics in one story - boundary conditions, recursion, high vs low level languages, undefined behaviour, memory protection https://www.royalroad.com/fiction/41545/manifest-logic/chapt...

More generally there's this list of similar fiction https://fiftysevendegreesofrad.github.io/hard-comp-fi-fictio...
TsParticles Fireworks Effect 2.0
Use a copy of production (perhaps anonymized) for debugging, and delete the copy afterwards.

This way of debugging assumes a lot of things;

- You're assuming that your anonymization script works. What if some data isn't removed?

- What if the system you're using for debugging sends an email or connects to a webhook or attaches to a remote volume or pushes to a cloud service etc etc? Did your anonymization step really work?

- What if someone has connected the system you're debugging on to a production service by mistake? That would mean you're not even using the anonymized database. You're really on production..

- What if you forget to delete the database afterwards? Or forget to purge a cache? Or you fail to delete a container? Or you do delete the container, but not the container volumes? That production data is still there. Oops.

It's much simpler to just not use production data for debugging. It makes debugging harder, which is annoying, but you can't go wrong and accidentally leak your user's data. I'd prefer to just spend more time on debugging than have my users data be put at risk.
Yap, been there :/.
It is pretty much dead, at my company we migrated our entire frontend codebase from Flow to TypeScript and we're happier for it.
I work with Splunk and this book would be good for some of my users..
It's not surprising. Tesla marketing is basically a scam. The tech is great, but Tesla always overpromise, underdeliver, and lie.

The worst part is that few people seems to care or understand that it's BS. Take the latest launch as an example. The car is stated to do 0-60 in 1.99 seconds. Does it do that? No, not even close. It's also supposed to know if you want to go forward or back, and people are surprised when it doesn't do that.

And then comes the most dangerous part: Autopilot and full self driving. Tesla cars has over multiple years promised that you can rent out your car as a robotaxi soon if you get the self driving package. Has that happened? No. Will it any time soon? No.

Not only is people surprised when self driving doesn't work, but it also has fatal consequences.

Heck, even I who have no experience or insights into Tesla can much more accurately than Elon tell people what Tesla will and won't be able to do. And I do of course think Elon knows more, but he chooses to trick people to buy Tesla.

This needs to stop...
> By comparison FB makes 32$/user as a global average in a world of ad blockers

Isn't the vast majority of FB usage on mobile, where ad blockers aren't even close to being as popular as on desktop ( and they still are probably used by a minority of people)
Earnest follow-up question: are they really targeting a month? I thought I'd previously heard three days or so. How would you feel if it were three days? Some person retiring home late may run into a scare that makes them want to have a gun for the other night, I suppose, but isn't that offset by wanting to keep people with mental health issues from buying guns instantly? (As in: any rash decisions involving guns seem scary?)
some would, but most only start to bother with queueing once they have a problem and that usually is too late from a customer perspective.
> Remove individual metrics or performance indicators, make team success the important goal.

This just moves the competitive boundary between teams, rather than individuals. It's not unheard of teams that compete and sabotage each other to make their project the most important and impactful.
You can ban the way how you combine the elements. When you reach the step where you define primitive recursion you could say that statements that involve recursion of depth of more than hundred are not true or false or undecided but just meaningless and excluded from mathematical consideration.

I know it sounds silly but the statements that prevent infinite recursion in programming languages often do look silly. They look like a hackish stopgap that doesn't fit the pristine recursive algorithm. Yet they work and protect you at the cost of the recursion not to be able to correctly deal wit stuff that would need a deeper recursion.
Is the general consensus that we are just happy slapping an 'await' in front of instructions we want to execute sincronously, or I am missing some fundamental idea here?
> when we have enough content for language learners, we will launch our learning app globally.

You have a bit of a chicken-and-egg problem there.

Before you launch, few people will hear about you and even fewer will contribute content. But without content, your app isn't attractive enough. And the people it's most likely to attract are English learners, not English speakers.

I think you could somewhat get yourself out of this by becoming a multi-sided marketplace. E.g. Chinese users who want to learn English upload videos in Chinese, which unlocks English content for them. Those videos then get used on a site for people who want to learn Chinese. (hotpotchinese.com is already taken, but the maximally generic hotpotlanguages.com apparently isn't.) That way, network effects are in your favor.

It won't get you across the initial hurdle of not having enough content to launch at all, but you can try to get the flywheel going by providing content in your native language. I think that'll be faster than waiting for people to participate in this contest. (But maybe I'm wrong about that. How many videos did you get so far?)
"With the 2026 edition, adding #[abort_safe] to an asynchronous statement would generate an AbortSafeFuture implementation instead of Future. Any async function written with pre-2026 editions implements the AbortSafeFuture trait, making all existing async code compatible with the new edition (recall that an abort-safe statement is callable from any context)."

I can't help but read this as a spoof on the spelling reform of the English language? [0]

0: http://www.i18nguy.com/twain.html
An earlier submission has a lively debate between these two approaches. https://news.ycombinator.com/item?id=12120752
and that's how we created $company_framework/lib, I guess?
>people at the end of their life aren't saving,
>they're spending the money they saved via pensions earlier in their life.

I'm confused. You are contradicting yourself. Saving isn't just the accumulation of money. Saving is the act of keeping money in your bank account. Unless you spend the entirety of your pension, the money you haven't spent is saved until you die.
Please stop with your grandstanding of what is and is not moral. China has a long imperialist history of taking over areas not culturally, ethnically, or morally a part of China. Tibet and Xinjiang are two obvious examples and the fact that it happened in the past doesn't make it better (especially when there is an active push by the PRC today to further assimilate the areas). The fact that they act like they have some right to annex Taiwan is just another example.

That doesn't mean that the UK was right in its actions, but let's not play games here. These were wars waged between two empires. China wasn't some sort of blameless victim. They are not some victim now.
Clean code of a guide, not a requirement.

Eg. I like paragraphed comments, because you know what the next 5 lines will do and you can quickly skip to the part you need.

It's not always possible to have a method with only 5 lines. There are use-cases where you want a big method doing a lot of things together, because it's complex.

Eg. For a government project i needed to connect to the internal network for executing certain requests and all that logic was in one HttpProxyClass, shared between the api + service/deamon
كلمات اغنية بهواك سما شوفاني
It kills me that English has added a diacritic to the word.

I agree it's awesome though, having my morning one right now. :D
it's nothing to laugh at, but at the same time would i consider an isp with 5% penetration to be rather small or insignificant in the greater sheme.
Linux Commands Cheat Sheet 2021