skysight-inc/HackerNews huggingface dataset:
You're right. I didn't think it through enough. If pchEnd doesn't overflow, then pch always exits the loop equal to pchEnd (assuming no breaks or returns). If it does overflow, the loop never starts. There is no case in which it goes into an infinite loop.

I (and Steve Maguire) had assumed that if pch were 0xFFFFFFFF - size and pchEnd were 0xFFFFFFFF, then it would run into an infinite loop, but it won't; neither pointer will overflow in that case.

It would only run into an infinite loop if you wrote something like this:

pchEnd = pch + size - 1;
while (pch <= pchEnd)

where pch + size is 0 (due to overflow), thus pch + size - 1 is the maximum possible pointer.
I don't see how it's a fallacy to accept the parent's premise that Uber should be screening more people out of being hired by them, which then necessarily leads to less people driving for them, and that that would reduce the availability of the service. Making the service less available doesn't tend to increase usage of it.

Pointing out that Decision A will likely lead to Outcome B, which may in turn cause Outcome C doesn't automatically mean it's a fallacy. It certainly doesn't mean that you snarkily posting wikipedia articles accusing me of bad-faith argumentation is justified.
I haven't been to every place in the world, but I've been to several outside of the US, and they've been great without exception. I think you should give it a try.
It doesn't have to increase prices, it could decrease executive pay (which has grown far, far faster than worker pay) instead!
How can I do that also? Ever needed .svg export?
And Plausible won't correctly track visits for users who block their JavaScript :)

Also, last year I found a bug in Plausible's script which silently stops it working on some pages, so your data won't be accurate in those scenarios either.
Did tail call optimisation make it to the JVM so that we can have it in Clojure?
for context, a million canadians visit china every year
A better tool to improve production would be an expert system that would gather requirements. But the people who want software to do their job either can't specify what they do or don't want to invest any of their time in what they see as someone else's job.
> Years ago a few times I waited and watched and confronted the guy when he actually showed up, I almost got beat up! Mexican couple and the guys wife had to hold him back from getting them I into trouble)

Just out of curiosity, how did you know they were Mexican and how is it relevant?
So in other words, war.
How can I obtain a PC copy? All the copies on eBay are mostly Mac.
these memory lcds seem to have a pretty wide viewing angle under sunlight
I'm going to have to disagree with the interviewer's question. I do not think there's an absence of ambition at all. I think for a particular segment of society we've actually gotten much better at putting ambitious people to work. In the past, an ambitious person had fewer options and would strike out on their own, which fueled a entrepreneurship. Now there are hundreds (thousands?) of large enterprises that slurp up ambitious individuals and put them in charge of important things.

I've been reading about postwar corporate culture recently and its pretty amazing that orgs would just sit on these amazingly talented people - and knew they were talented - but just didn't care. Not only were some of their most skilled workers not promoted, they weren't even paid more. I think WWI and WWII greatly shaped the attitude of corporate leaders from this period that you just simply hired someone to do their job and made sure they did it well and that was that. Very reminiscent of military ranks. Seniority and loyalty each mattered just as much as skill.
> California is regarded as the most “liberal” state.

California is neither the most “liberal” state as leftists use the term (meaning “supporting capitalism”) nor the most “liberal” state as rightist use the term (meaning usually one of “to the left of the rightists doing the describing” or “leaning toward the Democratic Party”.)

Vermont probably wins using the right-wing use of “liberal”, Given how the left-wing use of the term fits the dominant philosophy of the moderate wing of the Democratic Party and maybe a moderate fringe of the Republican Party, probably one of the near-parity states would fit that description.
What do you use currently in place of Fireworks?
This company may get sued out of existence thanks to Getty Images. I think those advocating for responsible AI should root for Getty in their lawsuit.

https://www.reuters.com/legal/getty-images-lawsuit-says-stab...
Agreed. They bought the superior tool and killed it off. Fireworks is still lamented by many.

There’s a reason Adobe bought Figma. Wonder how long it takes before they kill that off.

Affinity might not have feature parity, but they do pro level tools at a price that should make any business consider jumping ship as belts tighten.
Security incident post-mortem: July 2023
True, superfluous part of the quote I pasted. The point was that donations came mostly from the US.
>Legal experts say virtually any party to a civil dispute in China involving a foreign national can ask local police to add their opponent’s name to a national database of exit bans that police check at every airport, railway station and other border crossing...

That is certainly not how things are in most Western countries.
i didn't realize this, but it makes sense

probably the number of tvs is much smaller than the number of android phones though; tvs are a luxury good while android phones have become a basic necessity
It’s called being in a bubble.
computers are _so cool_ :)
I like Stable Diffusion! It can run even on old NVIDIA cards (like a 1080) and is truly open source (unlike other companies with "open" in their name). I hope it, or something like it survives.
Could you please paste a reference to the Microsoft paper? Thanks
"You can't say this thing"

Is and entirely different thing than

"You can't see this thing"

I guess people are deciding that linking is saying rather than merely referencing.

Even if so, it just means that the need to be able to reference is more important than the need to hide a few of the unwanted things that manage to get said. Anything else is simply not sane, as in, not functional. Even if everyone agrees that some messages are offensive and some knowledge is undesired, that doesn't justify breaking the very concept of communication and knowledge.
On the contrary, if the government of India brings such a proposal I would be terrified.

I would not want the lives of citizens be tied so strongly with government provided infrastructure that the babus can "turn off" your digital life on a whim and suffocate you out of existence...maybe because you tweeted a joke, criticized a low level minister, praised a neighboring country, "hurt religious sentiments", or other flavors of independent opinions and free speech that the rulers of the day (present or future) don't support.

Fears like these are already voiced by privacy and citizens rights activists about the national ID system (Aadhaar), digital payments infrastructure, and all kinds of interlinking of databases and making such linkages mandatory for availing all kinds of services -- from birth certificates, to banking, to tax returns, to voting.
I was in the same predicament at some point, and it was truly soul crushing. I now have more free time, and take care to not let it come so far anymore.

I don't regret it, since I was effectively paying forward for more free time to enjoy later, but there's a limit on how long you can do that, at least in my experience.
Talking s** about AMD CPUs in the mid-2000s is a gutsy move.
Make sure to consider the consequences of all the licenses. I choose GPL because I like what it stands for, but MIT can be the right tool for the right job.

IANAL, take my advice with a grain of salt.
i don't really have that excuse

just this evening i compiled qemacs, pcc, and jove from source, in the last case from the debian source package
The mysql replication story was the big thing for me in the early/mid 2000s. Back then postgres replication seemed like every option was a brittle/incomplete 3rd party hack with different sets of tradeoffs.

Postgres also had a reputation for being correct but slower. The perf differential disappeared a) as postgres got faster and b) mysql got more reliable/robust.
> since China is a dictatorship now.

When was China not a dictatorship? Isn’t the issue now that it has become something less of a benevolent dictatorship with regard to foreign travelers recently?
People aren't. latest number is showing that traveling to China collapsed 95%. incidentally, FDI collapsed

"in the second quarter of 2023 foreign investors “only put about $5bn of fresh capital into China […] in 2021, we saw close to $100bn per quarter!”

https://unherd.com/thepost/foreign-investment-plummets-as-th...
"Me spell chucker work grate. Need grandma chicken."
Sorry, but in my experience fish think about water more than domain experts think about requirements.
Stating A may lead to B, which may lead to C, without any justifiable argument for why we should believe C is the most likely (or even highly likely) outcome is the textbook definition of slipper slope fallacy in arguments.

In this case, it's not patently obvious that fewer, higher quality drivers is a net negative.
Meteors smaller than 25m burn up in the Earth's atmosphere:

https://www.nasa.gov/mission_pages/asteroids/overview/fastfa...
This 'article' is a joke, just baseless fearmongering.
"Taylor Swift before:2010"

With archive search, the News section floats links like https://www.nytimes.com/2008/11/09/arts/music/09cara.html
You can disagree without ad hominem. Your points make little to no sense, even beyond your sneer.

Pods can’t be “upgraded” individually becuase pods are ephemeral.

Downgrades work fine - replace newer binaries with older binaries.

Upgrades work great too - replace older binaries with newer binaries. Single node is the correct context for upgrades because a node is the failure domain in kubernetes (and in every single other Linux based orchestration system). 1.28 even includes an automated way of doing this in a highly available way per host.

CSIs and CNIs are binaries, which can be upgraded and downgraded like with any other system. Yes, if you upgrade or downgrade major versions there may be breaking changes.

I’ve been a sysadmin and a devops engineer and a cloud platform engineer for approaching 20 years. I’ve flagged your reply as I don’t think it’s appropriate, but I wanted to reply to you anyways because I’m sure beyond your anger and rudeness and lack of empathy, you’re intelligent enough to do a bit of reading and double check that you’re not absolutely wrong on all counts.

At some point you’ll be surrounded only by what you think are idiots, and they’ll exclude you. At that point you might investigate if just possibly you’re not by far the smartest person on earth. It’s possible other people know what they’re doing too.
> I'm impressed by how AI can help reduce the climate impact caused by airplanes.

By wasting tons of water and resources for constant training, inference and fine tuning these AI models?

I mean, for the past decade since the deep learning field itself needed tons of compute to train these models, it still requires even more data centers, ASICs, TPUs and lots of water to create these models with an insurmountable wastage with a lack of efficient alternatives for their operations.

Google has a history of green-washing beyond their use of training their AI system to melt the planet. This is just yet another example of their greenwashing.
Even comparing average income, for all aggregated data sets, China comes out a $1 or 2k or so ahead of mexico per year. E.g.

https://wisevoter.com/country-rankings/median-income-by-coun...
Interesting. Debt falls off a credit report after 7 years, so there is that.
Spy accusations are common but rarely have merit.

When Australian politicians said some firm things about China there was a spate of Australian reporters of Chinese origin being detained, this spread to Australian reporters in general.

https://www.abc.net.au/news/2020-08-31/australian-detained-i...

https://www.abc.net.au/news/2020-09-08/bill-birtles-mike-smi...
It’s also a crime against zorgons from Planet Zomblaki.
So, I can pay dramatically more than a taxi, to get the same level of shitty service, so Uber will take home the bulk of that price spread?

I'm not sure how that's a win for anyone other then Uber, and I'm fine with them being legislated out of existence.
Another example: https://news.ycombinator.com/item?id=37063459 but it gets 1/6 the visibility.
Is it factually incorrect?
Except in Canada where huawei's executive got the same treatment, or the US where the no fly list exists with little recourse.
There’s an easy proof that those SEO consultants have a point: find a site that according to Google’s criteria will never rank, which has rocketed to the top of the search rankings in its niche within a couple months. That’s a regular thing and proves that there are ways to rank on Google that Google won’t advise.
Someone can desire to reduce their meat eating without wanting to go full vegan.
Normally, declaring a variable offers type safety. var matches anything and thus it's never a compile-time error. If someone accidentally changes the return type of getAddresses from Map to List, there is no compile-time error. There is nothing to check the return type against except Object in this case because Tuple.of takes Objects.

final var addressMap = getAddresses();
final Tuple args = Tuple.of("a", 200L, x);

So you may as well inline the method call and give up on any type checking.

Another example:

final long limit = getLimit();
for (var i = 0; i < limit; i++) {}

The wrapping behavior is determined by whether there is an L (or lowercase, l) after the 0. If limit happens to be greater than Integer.MAX_VALUE, that L is the difference between an infinite loop and a well-behaved routine. Some junior programmer could easily remove the L accidentally. And you wouldn't run into the bug until limit gets big enough. Which could happen at runtime in production. All because you wanted to save one character by using var instead of long.

This is just what I could think of off the top of my head. I'm sure there are other examples. You are absolutely giving up some compile-time sanity checks with var. If it's just some throwaway script, then fine. But if so why use Java in the first place?
More likely, as a college student the OP wouldn’t have been able to get a shift scheduled because Uber would prioritize drivers who can work full time.
> But that would likely increase prices, decrease demand and cause some drivers to lose jobs.

In California Uber and Lyft rammed through a proposition to enable them to continue their labor abuses. Anecdotally, the prices have gone through the roof and I've never had more trouble getting rides, so I don't believe that. It's a failed business model because Uber has to provide a return to investors and livery is basically a race to the bottom without some form of price controls.
I find Beyond Burgers to taste better than regular beef burgers.
For some time specifying utf8 got you utf8mb3 rather than uft8mb4.

https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8...
It's interesting that the Vatican telescope is in Arizona.

Most likely it's some sort of papist plot ;)
everyone is a bad guy.
sshhh if they remember it they might kill it
The underlying economics don’t change if workers are paid per gig or per hour, so the customer is unlikely to notice anything.

What changes is the information asymmetry where Uber etc knows a lot more about the conditions of people working for them than the people taking these jobs do. As a general rule those with more information are simply in a vastly better negotiating position.
https://finance.yahoo.com/news/stability-ai-losing-executive...
No encryption for group chats, but that has been changed and is encrypted.

Less features than the other messaging services, like Whatsapp, Messenger and more.
Thats because those buildings have a different public budget than personnel in germany
this sort of attitude is one of the reasons people look at america with disdain. the rest of the world, yes even china, yes even somalia, have culture, history, and knowledge to offer.

it’s never appropriate to think one cannot learn from others or try new experiences
email hn@ycombinator.com, they get 'em
It is what Jacques Ellul called technique, and it's not all positive.
Well, the words "B.C." and "buried" are interpreted correctly in a grammatical sense either way. "Paris man with baguette" might be misleading if they're in Texas, but that's outside the scope of garden path sentences.

Only "Amazon packages" falls into the right realm. But is that enough to qualify as a garden path sentence? Personally, I wouldn't say so.
Terrible idea. My brother in law makes a living driving for Uber, it's how he supports his family.
I think the only way is aggressively simplifying your solution, documenting the hell out of it (playbooks for rebooting, exporting data, etc), and leaving a notebook of passwords in a safety deposit box/safe.
this isn’t the modus operandi. SOP is Uber will give you a call/leave a message.

Also passengers pay you $20 or so for returning an item.

Only situations where they will disable you automatically is when someone complains about safety or violence or something along those lines.

* I worked there from 2016-2020
I use several Firefox extensions that periodically nag me for money. I appreciate it because otherwise I would forget to donate. But now that I have monthly donations set up for several of them, I wish there was a way to turn it off.
Consider Michael David Crawford. His websites are offline a year after he died. Google has a new policy of deleting inactive accounts starting soon. So his emails will be lost unless someone knows his password.

I told him to publish ebooks, but he wanted everything self hosted.
I could never afford a taxi, I can afford an Uber.

This would be detrimental to my capacity of locomotion.
Corporations aren't entitled to liberty. Uber isn't a person, it's a hivemind - if it has to cut off one drone, it doesn't affect the hive. Except drivers aren't drones who can simply accept being liquidated for the good of the hive. Allowing that behavior is anti-liberty - the liquidated driver has had their means of providing for their own liberty revoked by an entity that is private, arbitrary and capricious.
When Oracle bought MySQL, developers really started looking hard at Postgres.

MySQL developers peeking over the fence at Postgres realized their database lagged way behind Postgres when it came to transactional DDL statements, window functions, basically most modern SQL stuff. MySQL was just sloppy from a developer's perspective... weird nonstandard SQL RDBMS behavior in places.

I've heard that MySQL has made nice strides in recent years. Cool, I guess. Not really trying to tie my future to Oracle.
Strike Ubuntu, insert "Linux", or "desktop Linux". Yeah, there will be a few who'd consider it quite awesome working on it full time and getting paid, and who wouldn't mind doing that Ubuntu-flavored. And it's not far off if they consider themselves attractive enough that they can skip everybody who's idle and looking for a seat to fill, and instead focus on those who are already employed but consider a change.
It uses another important Networking 101 principle: It's All Just Numbers.

ARP, DNS, HTTP, TLS, on the one hand they really are the things that may pop into your head when you think about those things, but they are also simultaneously Just Numbers. ARP has access to the same numbers as HTTP. UDP doesn't get access to 11-bit bytes. DNS does not have special CPU instructions only it gets access to. It's All Just Numbers. And in the end you can stuff whatever numbers you like onto the line and the rest of the world is just going to take those numbers and do... whatever they do with them.
Well, they did get a legal case thrown at them about it. Probably easier and cheaper to stockpile more hard evidence than is likely needed than risk having too little when the court cases come around.
You’re just seeking work, SEEKING FREELANCER is just if you want to hire a freelancer
perhaps update your priors at this point. Uber is a profitable company now.
Airplanes are already eco-friendly when you compare to SUVs, in terms of fuel consumed per person per kilometer traveled. There's room to improve, and considering how important air travel is to the modern world, it needs to be done.

If you want to reduce carbon pollution, do something about the billions of people driving around in oversized steel cages everywhere. The airlines have room to improve, but you can't travel between continents any other way in a reasonable time. Most people don't really need cars (and certainly not SUVs); they just think they do because they bought into societies that have stupidly designed themselves with too-low density and the assumption that everyone has a car.
People staring at me 24/7 sounds really weird but I dunno about torture
lol. people get so upset when even very gentle criticism is leveled at their pet language (which in large part is positive! I literally said Haskell is a great fit for a whole area of application)

I have written a lot of haskell and it is my favorite language. It is a great language for domains that can be mathematically modeled and such applications can be very practical (e.g. programming language compilers) It is objectively better than pretty much every other language at this. As I also mentioned, Haskell is likewise great for anything that naturally benefits from lazy execution. That said, is it as convenient to write certain classes of applications in haskell? No. I think you'd have to be a delusional fanboy to argue otherwise. You can be a big fan of a language and its ideas while still recognizing that it is not an all-encompassing solution or the best for every possible problem. This language fanaticism mindset is not rational nor what you want from engineers who should be deciding what language to use based on how well its properties fit constraints and not because its their personal favorite.
Destructive cycle

Shut down due to low adoption < - > Low adoption due to fear of it being shutdown
Could CNET not have relocated these articles to a distinct directory and then used robots.txt to prevent search engines from indexing them? This move seems like an excuse to offload subpar content by placing the blame on external factors. It's sort of like saying, "we withdrew a significant amount of cash from the bank and torched it to make space for fresh funds."
Execution in the Kingdom of Nouns – Steve Yegge (2006)
Read this article early in my programming career, and it really stuck with me. However I've come to prefer programming languages that describe the nouns better and better, so I'm interested to see what the HN crowd might make of this article in 2023.
Regardless they knowingly broke laws and incentivized that business model[1]. Also just because the average ride didn’t end badly doesn’t change the fact that some of them definitely did.

https://techcrunch.com/2022/07/10/leaked-uber-files-reveal-h...
Reddit Continues to Fall Apart
When spez witnessed Elmo's impact on Twitter and subsequently adopted his API and immature strong-arm tactics, it was almost inevitable that Reddit would suffer a similar fate of ruination.