jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I wonder if this video will be erased from the internet
As a truck guy who has owned a lot of trucks and currently owns a 2017 Ram 2500 CTD 4x4 and a Land Rover Defender 110, I'm telling you right now: this is going to kill it. This is the suburban status item of 2022.

I want to buy this right now. This has nearly the towing capacity of my Ram and will smoke my wife's Audi on the track.
I didn't get that impression from the intro Musk did about how the three best selling cars in the US are trucks and how important it is for those to become more sustainable.
Let me once again repeat what I have said and please take some time to listen and understand it

* You can not compare goods across two countries by simply taking the exchange rate, you need to normalise to account for different factors like disposable income

* I took PPP as the normalisation metric. It is not perfect but is meant for this purpose.

* If you are not happy with PPP as a normalisation metric, you can choose another one as defined by economists. If you want to come up with your own, you are also free to take another metric and agree with economists to use them. The metrics you have suggested are already considered in the PPP calculations. Look into them

Key Point : You can NOT compare good(s) across two different countries/currencies in absolute values.
It seems to me to be almost superhuman to read multiple chapters and solve all the exercises in a single day. Maybe that's just the normal level of ability for FAANG staff?

EDIT: maybe it's more reasonable if you're doing this full time. 1hr/question and checking the next day if you get stuck, as he writes in his blog, seems a lot more reasonable.
Perhaps, but rampant job-hopping as a norm is definitely not the outcome these tech companies aspire for.
It’s quite remarkable Windows was compatible for so long!
You could probably get emacs to do that without major trouble. That's the beauty of it: you can make it do what you want, which is something you always end up wanting, because nothing behaves exactly like you think it ought to.
I've been using the Xcode 4 beta on and off for a few months and I don't think it's that much o a change. GCC was still the default compiler. The biggest change was that instead of having to use interface builder it's all n there. So while it may differ from the current books, a few minutes of familiarization should have you back on track.
Is this just a DNS block or do they control all of the ISPs in India? Sorry I'm ignorant about the state of the Internet in India.
If you like it, share your terminal configuration!

mlterm works.

mintty had a regression, 3.1.0 may have fixed that
The title is too bold, after seeing a claim like that the video is disappointing (doesn't really explain much just states things).

The video is very good and interesting but certainly not "The most awesome animation i will ever see". Upvote video, downvote title.
He does work at MS, although I don't think vector clocks help here necessarily. I think a strict vector clock implementation _may_ simply tell you that there is no strict ordering in this case, as you had two independent events with no synchronization ocurring between the two (if we take the worst case scenario where they both go online to the service at the same time).

UTC timestamps would solve the issue, unless you lied about your UTC time (hence the time change question).

I must say, unlike the first respondant to my post, while I agree it should never happen -- I think understanding why it did is interesting in of itself. But I'm just one of those people who likes understanding how people make mistakes in software.
Look up “password generator” or similar terms on npm and take a look at how the packages you find generate random numbers. I did this ~5 years ago and it took until the second page of results before I found any packages that used a crypto-secure rng.
[1] https://en.wikipedia.org/wiki/Solomon_Shereshevsky

Quote:

"For example, when thinking about numbers he reported:

Take the number 1. This is a proud, well-built man; 2 is a high-spirited woman; 3 a gloomy person; 6 a man with a swollen foot; 7 a man with a moustache; 8 a very stout woman—a sack within a sack. As for the number 87, what I see is a fat woman and a man twirling his moustache."

Can I say you are in good company?
The on-by-default setting was technically a violation of the standard, which meant that participants felt they could ignore the setting for IE, which didn't help the initiative for sure.

The industry-led-initiatives are all basically bad, for the obvious reasons. So many of them amount to telling ad networks whether or not the massive amount of data they have collected about you should be part of the consideration for what ads to show (for now) — many offer no possible way to opt out of recording and storing such data in the first place.

This is a situation where legislation is probably the only answer.
Haha — as a German, whenever I visit the Netherlands I'm verbally assaulted by Dutch friends asking for their bikes back (an artefact of WW2, when Nazi forces stole Dutch bikes for metal).

I do like Dutch bikes quite a lot...
The dump doesn't seem to have happened yet, though. DOGE has stabilized at about $.07, down from ~$.08.
It was more of an "I dare you", not that it is that easy at all. To be fair, I don't think I'd find it more comfortable than a normal split keyboard
Isn’t this probably good news for everyone that doesn’t work in finance? London has become essentially unaffordable for regular Britons, partially because of finance salaries driving up living costs (similar situation to SF, from what I understand.)
If Apple stock trades down 50% tomorrow without changing anything else about the company, does that make it half the business it used to be?
Actually, I'm using Ubuntu Budgie with a 120 Hz 1080p monitor, it's very responsive. Very much what you would expect these days from any desktop.
You can figure out by discussing past experience, projects.
You can use lifetimes to enforce that a certain thing is static data, and combined with an enum, you get the best of both worlds: compile-time constants require no allocations, but still flexible enough to allow run-time construction:

enum StringRef {
Static(&'static str),
Owned(~str)
}

and then `error` would take `StringRef` and be called like:

self.error(Static("trailing characters"))
// or
self.error(Owned(fmt!("%u trailing characters", count)))

(There was even a pull request that added this and the corresponding one for vectors to the stdlib, but it didn't landed (yet): https://github.com/mozilla/rust/pull/7599)
If you are a looking for a name for that feeling, it's "entitled". As in, "As a guy, I am entitled not to be bothered by the problems women have getting into programming."

To which I say: so what? Does it all have to be about you?

Me, I have a cousin. She's 7. At the family reunion, she saw me using a screwdriver to take something apart. She immediately elbowed her way into the seat next to me, and politely insisted on me giving her the screwdriver. She then helped me take apart, fix, and reassemble the broken thing. She's a born engineer.

With God (or, our local equivalent, Paul Graham) as my witness, I declare: I'm getting her into tech. She's a natural, and I want to learn about anything that might keep her from a STEM career. Anybody who thinks that isn't relevant on a site called Hacker News can fuck right off.
Yes, that's a more complete quick summary.
> How many innocent lives were put at risk because of Abu Ghraib?

further to what I wrote above:

On April 20, 2004 insurgents fired forty (40) mortar rounds into the prison. Twenty-two detainees were killed and 92 wounded. Commentators thought the attack was either as an attempt to incite a riot or retribution for detainees' cooperating with the United States.[6]

reasonable to surmise shelling was to stop or prevent information being given up under torture.
> Actually, Japan were ready to throw in the towel as a result of the tripartite pact being enacted, and Russia joining the fray.

People say this a lot, but no one has clearly explained how the U.S.S.R. would have been able to stage an invasion of the Home Islands of Japan. It's not a matter of simply ferrying a bunch of people over the Trans-Siberian railroad, you also need a navy, sufficient air cover (which if I remember my geography correctly would have almost necessarily meant carrier-borne aircraft), and the logistics to back that all up. Japan knew this just as much then as we realize it now.

The Soviet gains after their entry into the war were in China and Korea, not in Japan itself. Their entrance into the war was earlier than expected on the Japanese's part, but they knew the U.S.S.R. would declare war (seriously, you may consider their senior and military leadership stupid, but that stupid?).

Likewise the attack on the Kwantung Army in China was surprising in that it came from every direction possible instead of the one direction they expected it from. But they knew the Soviets would attack, and in fact the attack fell while the Kwantung Army was changing positions to better guard the direction they believed the attack would actually come from.

So certainly the Soviet attack came as a shock, but it was militarily no more severe than any other setback to the Allies.

> but outside of the US the majority agree that the USSR caused the surrender.

Don't take this the wrong way, but what does an opinion poll have to do with whether some event actually happened in a given way or not? It either did or did not happen for the causes described. If the rest of the world has better evidence for their belief then point to the evidence, but don't point to an opinion poll as prima facie evidence of something.

In the event we have evidence on the Japanese side that the atomic bomb proved a useful "excuse" to permit the Emperor to surrender. The Japanese were clearly ready to fight to the death (just witness the Battle of Okinawa), and that applied just as much against the Red Army as it did against the Americans. So simply changing the uniform of the person holding the rifle wouldn't have significantly affected the strategic calculus when the Emperor had to explain his decision to his people.

On the other hand, the atomic bomb was this technological doomsday device that even the most hardened Japanese militant couldn't speak against. You couldn't fight it in the battlefield; you couldn't simply hunker down like a brave citizen and start picking up pieces after the bombs had been dropped, now there were no pieces left to pick up at all.

Japan had nothing like it, and as such it gave the Emperor a clear line of reasoning for why he had to (had to) surrender for the sake of his people. It was something completely different and from out of this world, as opposed to a simple Soviet declaration of war.
> So your understanding is that it's true that people died as a result of Manning's leaks?

No. If someone has died as a result of the leaks, it is very unlikely we would ever discover that. When, say, the Taliban kills someone, they generally don't leave a thank you note for whomever provided them the information to identify the target.

Asking for specific names is as pointless as asking for specific hurricanes made worse by climate change, or for specific lung cancer fatalities whose lung cancer was caused by cigarette smoking.

The only way to access the damage, if any, from the leaks is probabilistically. That's the same way we know climate change has caused increased hurricane damage, and the same way we know cigarettes have killed people.

If discussion now goes the way it usually does, the above two paragraphs are going to be interpreted by many as me claiming that cigarettes have never killed anyone. :-(
The downvote might be because the Antifa fact is inaccurate according to wikipedia:

https://en.m.wikipedia.org/wiki/Antifa_(United_States)
They can’t because that’s all fiction.
There is no proof of material voting fraud or irregularities, for example. If you believe otherwise, you are fabricating a reality. If you communicate these lies to others, you are contributing to a disinformation campaign.
Comrade, you are only allowed to comment on what you are instructed to comment on, and how you are instructed to comment. Do not deviate from your instructions.
>You’re perfectly welcome to go on /pol/

Fixed it for ya ;)
> people who are fabricating reality

good luck on forbidding all religious speech and fiction on the internet!
What I love most about my office is that it is mine. Meaning I rent it directly. Not provided by an employer. Since it's mine I have a lot of freedom as to what to put in it, what activities occur in it, and when to go there and how long to stay. No more corporate bullshit or bureaucracy. The commute time is 10 minutes. If the weather is bad or I just don't feel like going there, I don't. I have a door I can close and lock, with windows and blinds closed. It's quiet. I can go many hours without interruptions or watercooler chitchat and get zero drive-by management. My utilities are free. I have a huge LEGO TIE Fighter in it. A comfy leather chair and footrest I can veg or take naps in, as needed. Lots of table space and potential whiteboard space. Since it's not tied to a single external business I can use it for multiple different projects or businesses, as desired, or even personal projects not officially related to "work". In fact it allows me to blur the lines between work and non-work as much as I want. Well, within reasonable limits. It ain't perfect but it's closer to it than anything I've had previously.
"Google gave employees the option of taking their $1,000 bonus home in cash on the day of the announcement. Which would undoubtedly have constituted a pleasant surprise for the families of many."
It's sad to see fast fiber optics (and the expertise that goes into building and running it) wasted on gaming the system in this way when a change in the rules would remove the loophole giving people incentive to do it.
Good: whiteboard, open, natural light, proximity to great food and coffee

Bad: across the street from bus stop and court house
No. As the article you link says:

...[there are] six federal legal criteria that must be satisfied for internships to be unpaid. Among those criteria are that the internship should be similar to the training given in a vocational school or academic institution, that the intern does not displace regular paid workers and that the employer “derives no immediate advantage” from the intern’s activities — in other words, it’s largely a benevolent contribution to the intern.
sure you fixed it by ignoring political realities and making choices purely based off of how much money each choice would free up. It's easy if you do it that way. Now try and do it in a way that isn't political suicide and doesn't put the nation at risk abroad.
Google actually did pay the bonuses in cash.
He needs a CPA in a situation like this, mine a very good one for my area charges around $600 for my taxes and that is a "Dump Papers" job. In other words I dump the papers off and they figure it all out. It would be around $300 for a here is all of my information, it's all organized find stuff I have missed. Every year, with out fail he has paid for himself and then more. The first two years I organized everything and did the online DIY tax thing as a reference. The first year he came in $6000 over the best I could do on the DIY stuff. I can't to stress it to people enough, if you are a professional making over $60k, you cannot afford to not have a CPA. You are without a doubt walking away from money.
Yes, but nobody can agree on which cuts have a reasonably small chance of an economic backlash that wipes out the hypothetical cost saving. So it sounds outlandish to you, but there's a large group to which our military budget is a thing of vital importance to the stability of our nation that we cannot cut.

Me I'd like to see it drastically reduced, but I'm not going to pretend it's clear the results will be economically positive.
Clicky: http://sage.qitika.com/
Well, it had a notice that the domain service was having issues at the time I posted it. Looks like it's been resolved in the meanwhile.

Near as we could tell from the outside, ns39.domaincontrol.com and ns40.domaincontrol.com were both down. We had a domain that was on exactly those two name servers, so wouldn't resolve at all. Figured that it might be a useful heads-up for anybody seeing any DNS weirdness.
O brave new world, That has such consumers in't!
The problem isn't wealth. The problem is poverty.

There isn't much of a practical difference between 1MM and 10MM or 10MM and 100MM. Or even 10K and 100K. It's not that there isn't any difference, it's just that (ignoring extreme scenarios like having to pay medical bills in the US) the difference is mostly a luxury.

But below a certain threshold, it's not a matter of luxury. It's a matter of being able to afford the bare necessities.

I don't make 100K/month. Right now I don't even make 10K/month. To be honest, I'd probably be able to cope (as I have had to in the past) with as little as 1K/month or less. But I don't mind if some investment banker or Fortune 500 CEO makes several orders of magnitude than me.

The problem isn't just that someone who works two full-time jobs can barely afford the absolute minimum of necessities. The problem is that making money is a requirement to have access to these essentials. We don't need more jobs, we need better social care. We don't need to cut rich people's wages, we need to eliminate poor people's reliance on wages to keep them housed, fed, warm, healthy and content (or "maintained" if that sounds less socialist and more business-y).

Minimum wage is a red herring. Minimum wages are (and should be) dictated by economical concerns alone. It's impossible to regulate them. You can dictate numbers, but that doesn't solve the problem they're meant to address.

Minimum wage jobs are not only useless because they can't pay for a living. They're also useless because they generally don't offer any opportunity for personal advancement. If you mop floors at McDonald's for a living, you're likely not going to turn that into a career. If anything, it's a stop-gap, but any effect it will have on your future occupations will likely have nothing to do with the actual tasks you performed (except maybe for a marketing sob-story if you make it big).

So separate the two concerns: give people what they need whether they have a job or not, and pay them whatever is economically sensible for any job they take.

Basic income and/or strong social services are a better solution than always trying to regulate businesses into supplying sufficient wages against market demands. If anything, the latter just encourages businesses to eliminate those minimum wage jobs entirely to reduce unnecessary costs.

You can't compete with technological progress. If you artificially inflate wages, that just makes the humans even less appealing.
Not me.

I get my cat-litter tub of Arm & Hammer from BJ's for 20% of the cost of Tide.
And you can clean that stuff up with the disk cleanup app. You don't need to retain those old install files forever.
"One takeaway is that you should always have a backup of your code and resources outside a single central site like github."

ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd"

Done and done.
Maybe we have different definitions for what a framework is, but I strongly disagree with the notion that frameworks have to be implicit and magical. Libraries solve specific problems; frameworks help you structure your code. That doesn't mean that your framework needs to automatically load files named a certain way, or magically call certain methods; it can just be a set of conventions that are optionally enforced by code.

I can't imagine the spaghetti that would result from not using any framework (even a tiny handmade one) and just throwing a bunch of libraries together.
Old browsers speak HTTP 1.0, which adhered to the old "one service per IP" rule. This doesn't work so well with cloud based stuff, or shared web hosting.

HTTP 1.1 added the `Host:` header, which let a single IP host many domains, which essentially created the web hosting industry.

You can fix this communication problem with a HTTP 1.1 to 1.0 translating proxy server: http://www.jwz.org/blog/2008/03/happy-run-some-old-web-brows...
I did. Did you? 0.3 deaths per 100k across the state.

But if we keep moving the goalposts, we can stay hysterical for as long as we want.
I'm totally on board with this, and I've heard that quote too. But I think the OP was talking more about how our "distraction environment" today prevents us from having even 5 minutes of continued focus, unless we go through herculean efforts. Thus limiting our ability to do deep thinking, create deep work and make deep choices.

But for sure there were many EPIC distractions of a more general nature in that time.
Absolutely.
They just make a huge point about the plugin being open source, how that's "how business should be done", I thought there would be more to it, some useful tech beyond the same-old vendor lock-in or anything.
That's a different situation though. You're then distributing something intended to link with readline -- not just implementing its API yourself but using its entire original implementation.

What you could perhaps do is create your own implementation of the readline API distributed under a different license and then claim your program is intended to link against that, but how would you claim that if no such implementation exists? Whereas if you have to write your own readline implementation in order to use it then you still end up with a large incentive to avoid that by releasing your work under the GPL instead.
https://en.wikipedia.org/wiki/Tobacco_industry_playbook
I disagree with your take on the Samsung. While it's not perfect, it's the best (and sometimes only) option for most people who want an top end Android phone. Google sells it's phones in only a handful of countries, same with Oneplus, LG and Sony and all of them have their own compromises. So in many parts of the world, its either Samsung or a Chinese manufacturer like Xiaomi.

I find Samsung apps to be much better than their Google counterparts. Samsung Health, Internet, Calculator and Notes are examples. Besides, they fit the UI really well along with the menus and other things. And whatever annoyances you've experienced can be tweaked since the UI is highly customisable (bar none).

In terms of long-term support, Samsung also provides 3 years of upgrades and 4 years of security updates. That's the best from any company bar Apple and it extends to their midrange devices too.
I use a pretty standard Rails stack, but just wanted to give a quick shoutout to Stimulus Reflex[1].

For the web app I'm working on, I wanted to add some real-time functionality (e.g. being able to broadcast updates to all the users on a given page in my application, and have them interact with each other) without having to write a full SPA. I ended up implementing that functionality using Stimulus Reflex and it's been great.

Stimulus Reflex uses:
1) Stimulus JS for frontend functionality
2) CableReady, a websocket library built on top of ActionCable
3) morphdom, a clientside DOM diffing library to update your UI

I'd recommend anyone who wants to incorporate some more advanced functionality into their Rails app to take a look. (I can't speak to how it stacks up against the new Hotwire/Turbo stack, as I haven't built anything with that.)

[1] https://docs.stimulusreflex.com/
I agree, 90% of my serious daily communication (i.e. not IRC) is done via Whatsapp. I can't explain how horribly annoying is to have to pull out my cell phone and write in that tiny screen every time I want to send a message.