skysight-inc/HackerNews huggingface dataset:
I find Google to be bloated, filled with manipulative distractions, and worst of all it often answers me with search results according to what it thinks I want (based on previous searches) rather than directly responding to my straight forward request.
Wrong on the large layoffs point. Plenty of them occurred with no warning this year. And often with little to no justification, not only to the individuals let go but even simply from a business rationale.
Only in Rust that this language community pours more gasoline as the solution to such petty problems like this.
This is how you come to silly conclusions.

The IRS is taking the average cost, but if you're doing this as more than a hobby you choose a vehicle with above average reliability and efficiency and learn to do your own repairs, so you have lower costs. And the IRS includes all of the sunk costs of vehicle ownership, not just the incremental cost of putting more miles on a car you would have regardless.
Why would I hold it against my coworker for leaving without notice?
In the US, at least, they used to penalize drivers for ghosting, but the courts ruled they would have to give them employee benefits if they had rules like that.

I’d happily pay 2x for a service where drivers got health care, pto, retirement benefits, etc, but had to pass a driving test and were fired for repeatedly failing to pick up accepted fares.
How are people learning languages when it fails miserably and often in very misleading ways. If i use it for a language i have experience with the nonsense is immediately visible. When i use it in a language i know nothing about it looks plausible. But then the code is incredibly misleadingly wrong.
The most effective LLM generated prompts for LLMs
Ahh walking.

Listen to that...

Just need to walk.

I honestly didn't want this thread. But thanks I guess.
Releasing something top-notch and then letting it whither away is a sad Apple tradition indeed. They've done this with the Mac pro multiple times. First the trash can, then the cheese grater.

At least Google kills something when they lose interest.
I boycott and recommended others not tip or at minimum tip less.

Tipping actively subsidies non tippers the thief’s you’re so concerned with. Boycott if you have conviction, tip less if you have the willpower, just don’t perpetuate this terrible system.
You can also use twoslash[1] caret comments in the playground to display type representations inline, even for uninitialized/declared values, so eg something like this should work:

declare const boardstr: PGun10
// ^?

1: https://www.npmjs.com/package/@typescript/twoslash
LCD technology was first available in 1990, but LCD monitors didn't outsell CRTs until 2003. People have wild expectations of how quickly a new technology can come to market. Not hearing about it for a couple of years in no way implies that it's dead.
It’s the easiest way to collect this info from most people. Getting a voided check will pass the info from people who don’t know the account number and routing number.

So it’s a good, real requirement because it works more frequently than any other alternatives.
Yeah spotlight is so bad now. It's weird because when it first came out (tiger?) it was really good and fast. Now it sucks and it's slow.
awesome writeup, as always.
> You’re virtually guaranteed to burn your reputation among your former coworkers

Well F** that shit. Companies might treat you like shit, but I'd never judge a coworker for making the best decisions for their own life. That said, I've also never been surprised when a coworker puts in notice - pretty sure they typically tell everyone but management.

People, especially white collar employees, don't like to think of it as Employer V Employee but it is. Companies will lay you off without warning when it isn't profitable. You still don't get to say bye or off-board to other coworkers. I won't hold it against my coworkers for doing what they have to. It's just a job, and at 5pm it disappears until morning. A coworker quitting shouldn't impact you so much that you think less of them.

It's gotten increasingly common to see rescinded offers lately. If companies aren't punished for that behavior, then the rare outcomes become common. I've never seen a 2-week notice period on an actual employment contract for either party.
> and give me some phrases that improve my Google search term.

To be fair google is so lame these days that indeed even a chat bot as basic as chatgpt can help use google better. It hallucinates but in the salad of words that look cool but dont work it does occasionally mix in useful stuff.

Basically chatgpt is proving everyone that we need a better or new google.
A few times in Europe no one would accept my ride and I just gave up and made other plans. I never had that problem in the US.
Many would agree.

More generally, what restrictions should the law place on contracts, in your opinion? That is, can you describe a general rule that would rule out BMW's heated car seats from being a valid contact clause (but, presumably, not rule out every possible contract)?
Zulip is free for open source projects.

Creating a channel on Matrix.org is free.
Not IBM employee nor Shareholder but Agree. And even if they may disappear, it is obviously not before 2035. I am even willing to bet not even 2045.

People asking these questions obviously have zero idea of IBM's mainframe and server business. May be it is worth mentioning, as little as 5 - 6 years ago more than half of HN have never heard of SAP.
"You can't parse [X]HTML with regex. [...]" (2009)

https://stackoverflow.com/a/1732454
Teaching old C code new tricks with Nim
Yeah when it's a new product it makes sense getting it right before releasing. But leaving their customers with crap for 5 years does not make ton of sense.
I don't tip because society says I have to. All right, if someone deserves a tip, if they really put forth an effort, I'll give them something a little something extra. But this tipping automatically, it's for the birds.
Not great for who?
From past experience, this is the hard part. The quality has gotten better in the last 5-10 years… but until very recently, you could easily get complete garbage trying to do basic two image to vector conversion with open source tools.

I’ve been on the SVG using train for what feels like forever now, so long that I’ve tried to do the raster to vector conversion dance countless times and watched the recent progress with much satisfaction, but it’s still not perfect, two colour gradients (a common enough logo element) are frequently a problem last time I checked, which admittedly could also just be really troublesome set of examples since it’s not like I’ve got a library of images I use to regression test this stuff, I just use it.
The argument from OP was:

> the odds you get a ticket from a hidden camera are very low if you just respect the speed limits

And the comment I was responding to was about how speed limits are unreasonable. So I maintain that the comment did not refute OP's point. The reasonableness of the speed limits is irrelevant to whether or not you get fewer tickets when you drive below the posted speed limit.
Ah yes i was looking for this comment. Without error it gets repeated each time news about openai losing users. Guess we’ll find out soon enough if accurate. But how everyone defending this product repeats the same few things over and over is … interesting.
Historically, it is 1024 which is 2^10. It's original context was a measure of the size of computer memory in a devise. Memory chips are based on powers of 2 (of course).
And where will you go? North Korea? Because I'm telling you Victor almost all companies are doing the same.

On another note, I think other companies will have more class handling this. The way the CEO has worded this came out as quite dismissive and douche-baggy. I can understand a company messing up (of any size, who doesn't?).
First beta's out. I'm mostly working on polishing it and adding more features (like hardware detection). Stay tuned :D
I've been building Packj [1] to detect dummy, malicious, abandoned, typo-squatting, and other "risky" PyPI/NPM/Ruby/PHP/Maven/Rust packages. It carries out static/dynamic/metadata analysis and scans for 40+ attributes such as num funcs/files, spawning of shell, use of SSH keys, network communication, use of decode+eval, mismatch of GitHub code vs packaged code (provenance), change in APIs across versions, etc. to flag risky packages.

1. https://github.com/ossillate-inc/packj
Assuming you buy a cheap Corolla that lasts 200k miles without major repairs you are looking at $0.125/mi, gas at $4/gal and 32mi/gal is the same putting you at $0.25/mi.

Given Uber pays $0.63/mi you are giving up half of your income to your car.

When people say that you are paying in depreciation they are talking about more expensive cars. A $60k car that can go 150k miles and a 24 mi/gal fuel economy turns it into a $0.56/mi cost.
My coworkers would probably know beforehand.
Similar to the other commenter’s suggestion, you might want to do a local backup of the iPad that’s encrypted (iirc encrypted backups include more data). Hopefully the procreate artwork will be saved in that backup. However, you need to unlock the iPad first to do that I think. Even though the screen is busted, you can turn on voiceover using Siri and unlock the iPad using that potentially. Although, this requires that the screen is still able to detect touch input despite being broken / unable to display anything. Even if you don’t think it can detect touch input it’s still probably worth a shot just in case it can
As someone who partly works on the Linux kernel for a living I still don't really know what your point is.
This feels like an implementation mistake by MS and G, not any kind of inherent design flaw (the latter being strongly implied by the article).

It's a problem, and I'm glad it was explored, but c'mon.
Olivine-supplemented cement actually absorbs CO2 in low-pH environments, healing cracks.
This explanation from isocpp is the one that has always guided me:

Read the pointer declarations right-to-left.

* const X* p means “p points to an X that is const”: the X object can’t be changed via p.

* X* const p means “p is a const pointer to an X that is non-const”: you can’t change the pointer p itself, but you can change the X object via p.

* const X* const p means “p is a const pointer to an X that is const”: you can’t change the pointer p itself, nor can you change the X object via p.

And, oh yea, did I mention to read your pointer declarations right-to-left?

https://isocpp.org/wiki/faq/const-correctness#const-ptr-vs-p...
It is because they want engagement clickbait since their claim is completely unfounded. Look at similarweb stats. [0] Google is #1 worldwide and is still unchallenged.

It is not dying. It has won and it is still winning for years.

Only techies here with zero evidence and sources like to project and convince themselves about this nonsense of Google ‘dying’.

We’ve also given the ChatGPT hype enough time to hold and still Google remains unchallenged and still remains the top search engine worldwide.

[0] https://www.similarweb.com/engines/
LD_PRELOAD is the specific attack vector that is prevented by static linking. They made no claim that static linking prevents all forms of tampering.
Yes, sure is! https://kpow.io/

You can get started with the Community Edition for free, it includes our JQ implementation (we call it kJQ - https://docs.kpow.io/features/data-inspect/kjq-filters)

Just shout if you need any help.
Maybe, but right now your average movie isn't even going for 4K.
I read comments like this and feel like I’m living in some weird parallel universe. The vast majority of Rust I write day in and day out for my job is in an async context. It has some rough edges, but it’s not particularly painful and is often pleasant enough. Certainly better than promises in JS. I have also used system threads, channels, etc., and indeed there are some places where we communicate between long running async tasks with channels, which is nice, and some very simple CLI apps and stuff where we just use system threads rather than pulling in tokio and all that.

Anyway, while I have some issues with async around futur composition and closures, I see people with the kind of super strong reaction here and just feel like I must not be seeing something. To me, it solves the job well, is comprehensible and relatively easy to work with, and remains performant at scale without too much fiddling.
A corporation is a thing that money goes into and money comes out of.

Let's say a human being--a flesh and blood one, not a corporation--is convicted of negligent homicide and is sentenced to 4 years in prison. 100% of that person's income is lost for 4 years. For the rest of their life, after they're out of prison, their income potential is drastically reduced.

If that's what our judicial system is, then let's do that to corporations, too. Try the person--the corporate kind, not (necessarily) the flesh and blood kind--in criminal court. If the person is convicted of a crime, sentence them as per the sentencing guidelines. If the sentence is 4 years, then take the revenue of the person over the previous 4 years. That's what the fine is.

Easy peasy lemon squeezy.
It’s been a few years since my last US visit, but my experience has been that Uber (and Lyft) are much better in the States than Uber in Australia.

Frequent cancellations, or a driver just not moving until you cancel the ride, is a major issue in Melbourne. Airport pickup is now basically no different than getting a taxi from the taxi rank. UberEats drivers will often just leave food at a different house on our street, or not at all, even though there is no issue with how our house is marked on maps. There is no quality control with Uber Comfort; 90% of the time it’ll be the same thrashed Camry being used for UberX. I could go on.

We’ve stopped using UberEats as a bunch of restaurants we like have alternative options, but I’m surprised the taxi industry here haven’t gotten their game together. At least among my social group, which are moderate Uber users, the sentiment towards Uber (and the available clones, ie Didi) is negative and if there was any decent competition then we’d all switch in a heartbeat.
Both Android and iOS opt in manually to those things.

They also list them on the app store to avoid being surprised that the flashlight app records audio.
Maybe they won’t remember. Maybe they’ll think you had a valid personal reason.
So, it's giving a two weeks notice that makes all the difference, and not my entire tenure?
> nothing compares to booting the real xv6 on a real RISC-V system for the first time

Why is that?

> any Intel CPU since about Pentium Pro is actually a well-hidden RISC

Well if it's well-hidden, it doesn't matter to the person learning to write an OS. ;)
In France, some *départements* adopted the 80km/h limitation while some other kept the 90km/h one, this has to deal with a compromise between safety, co2 emissions and current road behavior and population requirements.

The decision to transition from 90 to 80 has been backed by some test which tended to show a reduction of mortality by 12%.
Initially, most of the places where 90km/h is kept are huge countryside regions in which the traffic is low and the population has to drive actually quite some time in order to reach any city.
The difference may seem insignificant in terms of travel time, but it felt like it was a huge topic back in 2018-2019 where the new limitations appeared.
Now, more and more départements are asking for derogations to fall back to the 90km/h limitation, the main reason for this being 58% of the population in france doesn't follow the 80km/h limitation and doesn't consider 90 more dangerous than 80 (no test implied this time, 58% of france population is "optimistic").

So maybe for each country, before experts gave roads their current speed limitations, the way the population drove was taken into account by those experts or was taken into account *in place* of experts analysis, in order for the limitations to be a negotiation/compromise between current habits and experts analysis, in the best cases, and only an affirmation of the population *sentiment* in the worst cases.

Some départements opted for another solution by putting some 70km/h limitation on dangerous sections of a road mainly limited to 90. The problem is that often, when I drive at 70km/h in these sections, some deadly stupid person is stuck full speed right behind me, nearly kissing the back of my car, flashing me with a stroboscopic lights-on lights-off motion because they do probably think that 90 is not less safe than 70 (ability to judge if a situation is safe : eternally damaged).

The problem is not the road experts analysis in EU, but the political decision to apply or not the analysis, and the population refus to follow the limitations.
The inherent design flaw is that announcing via SPF "Oh, yes, and Google is allowed to forge email on my behalf" allows Google to forge email on your behalf.

All else follows. The enemy of security is convenience, and it's very convenient to hand over mail to Microsoft, Google, etc.
Remember Uber’s vehicle lease program?

They brought the fucking over and being fucked over steps in-house, but outsourced the middlemen.

Amazing!
> Funnily enough, I've seen much stronger obfuscation from reverse engineering from my cheap Tuya IoT devices app than from my bank app.

IMHO, if the client-side of an IoT service is obfuscated, I'd take that as a sign that they're trying to hide some really insecure API endpoints.
People forget that loyalty is a two way street.
>When Wired's editor at large, Steven Levy, asked him to estimate the cost of a 2.95-mile Uber ride in New York City, Khosrowshahi ventured "20 bucks" — less than half the actual price of $51.69

I don't use ridesharing apps, is that just an exceptional price because it's NYC? There's no way I'd pay 50 bucks for what is a 15 minute bike ride, who can afford this?
It’s a lot simpler than that. A lot of people dislike Elon Musk and so negative stories and/or misleadingly negative headlines related to him generate engagement.
For sure it is. Have you never been outside your city?

There's stretches of flat, straight-ish interstate in the US that continue for dozens of miles with near-perfect visibility. Sometimes, there's no traffic. Go 120 for all I care, just slow down when you're near something.
My understanding now is that using pgBouncer falls under the category of YAGNI / “the best part is no part”: don’t use it unless you have a demonstrated need for it, because it adds complexity.

About 5 years ago we migrated to postgres and installed pgBouncer because of course you do. Sometime last year I started seeing some weird issues like the article points out, and the more I looked into the gory details, the more shocked I became. (The fact that statement level isolation even exists is… wow)

So I did an experiment and deleted it. Things kept working just fine. We’re not living in a microservices world so application-level pooling is enough — I don’t think I’ve ever seen us use half of available connections.
It’s certainly not new; here’s dang explaining to someone that you can’t comment on job posts back in 2015: https://news.ycombinator.com/item?id=10298769

And here he is explaining why: https://news.ycombinator.com/item?id=32586658

> The short version: job ads are boring. [...]
Keep the same interface at what cost? Public cloud is already expensive and Cisco-on-AWS or VMware-on-AWS are really expensive. In many cases customers are buying the same functionality twice which feels exploitative.
Or the Airbnb debacle where PG defended sketchy behaviour here.
Except Sieve rules in Fastmail either work or do not, and it is non-deterministic. A few notoriously persistent problems I have been facing with them for years:

– A notorious spammer that has been spamming me for over a decade that the Fastmail spam filter does not trap[*]. They are easy to screen out via Sieve rules using the "From" header. Except, for 1 out 5 spam emails from them the Sieve rules do not fire, and the spam gets into the inbox.

– Simple email filing into different folders using From/Subject headers. It mostly works except for just a handful senders whose emails Fastmail Sieve do not fire upon no matter how I modify them. They just. do. not. work. I am talking about the most basic From/Subject filing rules.

[*] Spam filtering in Fastmail has been another pet peeve of mine. It is average at best, and mediocre on average. Some spam emails that slip through need to be sent into the spam folder (that has the training enabled) for more than 10x times before*
I agree with "batteries included", if node.js and co etc. had a good harmonious ecosystem to begin with we wouldn't need such an approach. Looking at the way Apple does things, they own and control the hardware and OS which allows them to deeply optimise their systems and also provide an ease of mind knowing all their devices will work seamlessly across the board. Having an all-in-one toolkit reduces overhead of running around finding the perfect solutions, when it is already right in front of them.
Moonlight Sonata is a great choice, the arpeggios makes the song quite recognizable.

(I don't play the piano but have learned the guitar version of Moonlight Sonata, and it looks very much like this version.)
>They don't have to be capable of being placed in every single possible location

Yes, but I'm looking at this through the lens of where I live. My country has 40 times less GDP per capita than the US, and electricity has to be (and currently is) very cheap for people to afford it. Also, my country is very hot in summer and can be very cold in winter. It is a dry Central Asian region with up to 45-47C in summer and -10C in winter. Also, we had -27C last January which was a record cold and was a disaster.

Here we have very good conditions for solar. Solar has become very cheap, and we are building several 100-400 MWh plants with more of them coming in the near future. But multi GWh battery storages for solar plants will cost billions. If we need to replace it in 5-10 years, this is not viable for us. But 30+ years or at least 25+ years is definitely worth looking at.

Or, even if the life span is 10 years, it needs to be 3x cheaper per MWh storage than 30+ year option. But in that case, we'll have 3x more stuff to get rid of/recycle/pollute the environment.
Not too surprised, there was a CEO handoff (news this past Wed, it's Friday..), so time for "new" CEO to clean house, and I guess this is what he found.

Ref: https://news.ycombinator.com/item?id=37410812
Why you’ll lose (a lot of) money if you use ChatGPT for your creative
"Someone has to", "don't kill the messenger", "no offense" are all signs of someone saying something they know is unnecessarily hostile and dismissive.
The union isn't going to care about someone who never worked for the company.
I like having type hints, I really do- but I've definitely been on projects where TS began to feel a lot like a nerd snipe https://xkcd.com/356/
> Crypto is
This is very interesting. How do you manage latency of events coming over the network?

Do... you... wind up having to set TCP_NODELAY?

•͡˘㇁•͡˘
> then I bought a Tesla, and I started driving as well.

I don’t think he understood the plight of the average man. All the things mentioned in the article mostly point to annoyances a rich person would have. As the article suggests he’s still completely oblivious to the economics of it all, which is the most important factor for the drivers (and the customers).
in other words, it's a comment on the internet
So memory chips should use gibibytes instead of gigabytes.
Also, the CEO’s estimate is closer to the current realtime price than the author’s price is.
Southern Cal regulators require stricter controls to curb leaks from oil tanks