skysight-inc/HackerNews huggingface dataset:
I'm not sure why you're so upset over this. All I've done is point out that some people put a ton of work into a great deal of engineering effort to solve a problem that would have been trivially solved by merely using a different choice of serialization format. Even 10 years ago the technology to do so was widely available and standardized.

But I mean sure, WOOHOO, what a great achievement!
How did they make sense decades ago? What changed?
That was a month ago, not this week.
> Rust doesn't stop you from writing bugs into your code

Obviously. It's not about Rust specifically. It's about accurately representing state which is extremely difficult to do in programming languages that do not have algebraic data types.

In Golang how do I represent that a type is either type A or type B and then in a type safe way perform logic if it's type A or perform logic if it's type B? Algebraic data types also allow for things like the result and option type.

Throw in the borrow checker which prevents a host of aliasing and concurrency bugs (not all). You are more likely to write correct Rust than other languages.

> You'd better stop interacting with technology then, because the vast majority of it is still running something compiled from C.

Thank you for another lesson I already know. I clearly meant I don't think it's suitable for use in new programs. People will still use it regardless as they are free to do so.
With all that's going on around LLMs and the fact that SO has been a major source of data, when I see SO down now, I wonder if they haven't just pulled the plug. I know it's a dumb thought, I'm curious if other people feel the same way.
"When you wake up to the fact /
That your paper is Tory /
Just remember: /
There are two sides to every story"

https://www.youtube.com/watch?v=riMTjJMytpc
>Look at cocaine - 4.8 million American users in last year, 1.4 million addicts - ~30%

Is 70% not addicted not a "vast majority?" 50.1% would be a majority, 70% seems high enough for "vast."
If you don't want to publish events from uncommitted transactions you'll have to first store them in a local table and then move them to the queue after the commit. But if all consumers have direct access to the database anyway...
My first thought was how does this sit with Elon, after promoting DeSantis for President, and after a history of being against these state laws that protect dealers? Of course, the law has a carve-out for Tesla…
i wrote a vt100 and combined kermit file transfer client/server in pure 6502 assembler back in the mid 1980s on a bbc micro (6502 based). the original was written in bbc basic but was far too slow.

i'm ashamed to say there were no tests at all (but async coms and things like terminal emulators are pretty hard to test anyway), but i got zero bug reports. though of course bug reports were much harder to file back then.
Yeah. There was someone a few years ago who said something like, "If your website doesn't have a status page, it does have one on Twitter". Wish I could find the quote source.
I'm not going to rattle off the whole gross list but two which float to the top are all the MAP and Furry subs.

Now if children and animals are your bag of chips all power to you, its just not a website ill admit to using or potentially invest in if an IPO happened.
Develop Workers with Go for WASM Workers Server
New Tool Reveals How AI Makes Decisions
You are not going to get a straight answer to this question online, the stats are currently being warred over.

The current winning narrative is that most homeless people are from the Bay Area because that is what the stats say is 'where they most recently became homeless' but if you drill down deeper and look at how long people have been here, you'll find most people came to the Bay to access homeless services or social services, became briefly not homeless (perhaps staying with a friend or in a shelter), and then became homeless again.

If they were instead to ask, where did you first become homeless or where were you born, the results would likely be considerably different.

Based on the evidence I have seen, it does seem like harm reduction works to some degree, but if it is only implemented by individual cities you get a tragedy of the commons where the city that implements the progressive policy pulls homeless people from the rest of the country. There needs to be federal action but they are way too afraid of backlash to do anything.
Different Development Paths of LLMs
https://www.lurklurk.org/effective-rust/errors.html#minimal-... has what seems (to my naive understanding) to be mis-statement. Given a trait:

pub fn find_user(username: &str) -> Result<UserId, MyError> {
let f = std::fs::File::open("/etc/passwd")
.map_err(|e| format!("Failed to open password file: {:?}", e))?;
// ...
}

and an error type:

#[derive(Debug)]
pub struct MyError(String);

impl std::fmt::Display for MyError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self.0)
}
}

impl std::error::Error for MyError {}

And an implementation of `From<String>` for `MyError`:

impl std::convert::From<String> for MyError {
fn from(msg: String) -> Self {
Self(msg)
}
}

The book asserts:

> When it encounters the question mark operator (?), the compiler will automatically apply any relevant From trait implementations that are needed to reach the destination error return type.

I thought that `?` only unwrapped `Option` and `Result` and was not overloadable. Is [the Rust doc on `?`][1] leaving something important out, or is this a mis-statement?

[1]: https://doc.rust-lang.org/reference/expressions/operator-exp...
> because cars require service, someone needs to do that service, be trained and have master techs on that service.

My cars have had no trouble getting service at independent mechanics.

> How do you handle lemon laws without dealerships?

The same way we handle them with dealerships? The organization that sold you the car is responsible for the fixes, or refunding the vehicle if it can't be fixed.
Yeah, buy an expensive jersey with your sports heroes name on it, paint your face the team colors, yell and wave flags in the parking lot, then go find your $2000 chairs in the big building like real adults spend their time.
I road-tripped in Toyota's electric SUV:9-hour drive involved 3-hour of charging
Florida also recently passed a special law for SpaceX removing liability for launch related deaths of employees or something. A few weeks after the flight termination system failed for 40 seconds.
First reddit and now Stack Overflow? Rough couple of days for anyone googling things.
Parallel futures in mobile application development
There are a few differences though:

- Cops actually have to care about the justice system in some way, so won't usually take the car if it's not connected to a crime

- Because of the above, there is at least theoretically a way to get it back via the legal system

- They have to physically go and get the car

- The car still physically works even if there's a court order/arrest warrant/whatever.

With a company where you might 'rent' the car on the other hand:

- There's no justice system aspect, and they can refuse service for any (non) reason. That could be anything from "we don't like you much" (perhaps because you exposed their CEO's dodgy behaviour or acted as a whistleblower) to "having you as a customer is a PR nightmare" (person on social media claimed you said/did something inappropriate) to "computer says no" (technical glitch, system downtime, etc).

- Getting it back requires either enough social media outrage (like with Google account problems) or a costly lawsuit

- They could either stop the car from working via remote means like disabling the account needed to login, or blacklist your address from the system so their vehicles don't stop there

- If there's a problem, you're fubar. At best you can hack or jailbreak the system to get it working, at worst you have no vehicle at all
I've had pretty universally bad experiences with dealerships, especially ironic in relation to what DeSantis has said here because I distinctly remember advocating myself that something should be covered under the manufacturers warranty, and the dealership said it wouldn't be, and I was very certain it would be, and I had to call the manufacturer (Kia) to get the dealership to play ball. They didn't want to go the warranty route because it turns out, it paid less for the repair.

Realtors on the other hand, I've had some good interactions there, the last 2 I used saved me money and got me more for my dollars, at least.
That provides an explanation for why the consumer might choose to buy from a dealership, but not a reason for why they must. In fact, said bill still allows Tesla to sell direct-to-consumer, so the lawmakers couldn't even find a reason to not let consumers make a choice in the general case, only if buying from a set list of manufacturers.
> It's relatively simple to make the GIL go away: just compile to some VM that has a good concurrent garbage collector would be one approach

Sure, if you don't mind paying a 50-90% performance impact on single threaded performance or completely abandon C-API compatibility and have C extensions start from scratch then there are simple approaches.

If you look at any example in the past to remove the GIL you would see that keeping these two requirements of not having terrible single threaded performance and not having almost a completely new C-API is actually very complex and takes a lot of expertise to implement.
Just dump something you purchased for $1.8 billion?
> but the American dream wasn't fiction

Something tells me it's still possible to live with a 1950's "American Dream" standard of living off of a $15 to $20 an hour job.

No computers, no cell phones, clothes washing by hand, no eating out, etc. Generous 1000 ft. square foot house with two small bedrooms and a single car. Note that houses in Levittown ("America's First Suburb") were 750 square ft. [1]

I understand GenZ wants to live in McMansions full of amenities, close to the trendy areas of town, eating out more often than they cook, as is their aspirational lifestyle. But there's nothing wrong with living small-ish, rural-ish, within your means, and building equity instead of throwing money away.

I'm sure this is an unpopular opinion here. But hey, I started small, lived in some "trashy" areas of town (moved up from a trailer) and now 30 years into my career I live comfortably in a very nice place. It takes time and patience folks.

[1] https://www.theatlantic.com/past/docs/issues/91feb/9102house...
Looks like from some of these replies that the Reddit folks made their way to HN.
On the positive side, in integers modulo 3, we have

n³ = n

so

1³ + 2³ = 0³
They recently legalized sports betting in MA. My SO lives in the North End and even I didn’t realize until I noticed Boston go from normal ads to sports betting ads being everywhere in the city.

https://www.wcvb.com/amp/article/massachusetts-sports-bettin...
I'm curious how the status page is down too. Those pages are usually in a totally separated infrastructure.
For those who are downvoting this, notice I said “detect with our instruments”

Even if I believe there is life out there, and even if we have visual proof of it, SETI specializes in detection with certain instruments, not proving they exist.

I like the plans of SETI, and the equipment they come up with, but to me that is like Alchemy.
Organic Maps is very good at showing where 'restaurants' are. It's just not very good at showing their hours or including links to their web site or menu.
This is my key argument on why billboards and similar advertising that can’t be avoided if you’re in public shouldn’t be allowed. There’s been no consent obtained.
Ethanol is a cure to methanol poisoning.
I personally believe FTL is likely impossible so I think the only realistic hypothesis is if we encounter aliens, that they're von Neumann drones on the vanguard edge of a colonization wave from an alien race that's been doing it for millions of years.

If we survive for long enough as a species, either we'll meet races in this manner or we'll be the ones doing it.

For the record I still only assign a fairly low probability that this is what is happening, it's more likely that UAPs are craft from terrestrial origin.
No Reddit, no Stack Overflow. Thankfully, documentation and manuals are still on various platforms and not a single website.
If it’s only Republicans why is it that heavily Democratic states like CA or NY also require dealerships in most cases? (CA is slightly better than NY but still doesn’t allow direct sales for 90% of vehicles)
Actually model it. Go look at gridwatch and use the graphs to calculate total storage needs if using a wind-solar mix, then check out the US department of energy 2019 report on energy storage solution characteristics.

Calculated total cost when I did it would have tripled UK electricity prices.

Pure French nuclear, on the other hand, resulted in a mere 30% increase in electricity prices.
Google Once Again Knows the Fear of Failure
Protip: You can compile the Linux kernel with User-mode Linux, ARCH=um to produce a kernel that runs as a regular binary on a host Linux OS.

User-mode Linux is super helpful for diagnosing any pure software kernel bug like this. You don't have to muck with emulators, startup is very fast, and if you need GDB you can use it on the guest kernel like any other C program.

User-mode Linux is a significant enough kernel feature to have its own Wikipedia page: https://en.wikipedia.org/wiki/User-mode_Linux
How are they being persecuted? Maybe in the other 74 countries or so in the world with laws against their lifestyles but in the US it's impossible to escape their lifestyles with rainbow flags everywhere, pride parades, pride marketing, pride kids clothing, pride emails from bosses while trying to work...meh.
I don't think they did it due to risk of violence, but because he'd hit a dead man's switch and destroy evidence if they didn't shock-and-awe him in the arrest.
It's kind of surprising how relevant so many of my queries are to SO answers these days. This was kind of eye-opening. I wonder if I should start trying Bard or ChatGPT first?
After some time, I got a "We are currently offline for maintenance" message.
> Why haven't you implemented multi-threading?

Because that makes programs slower in Python.

Multi-threading in Python is for when you need time-slicing for CPU intensive tasks so that they don't block other work that needs to be be done.
It's not about having the artificial notion of self. It's about having a real self. Memories of who you are, what is your history, what is your place in the world, who are your friends and your relationship with them, I can keep going but it's obvious ChatGPT has none of it and has no simple way to acquire it because it is not even designed to learn anything from its own interactions except a small 3000 tokens context window.

Every human learned everything except few innate instincts from their own experiences. They didn't get it fed through some backdoor in their head specifically designed to learn. That's how I see "training" AI. None of what they learned was from an interactive experience of the world. All their knowledge came from some backdoor interface directly hacking their neurons to fit.

You know what you know because of experiences, not because your creator was hacking with your neurons. It's also much more demanding intellectually to understand the world through such a limited interface. Children understand language from orders of magnitude less data.
No. I'm too stupid to even understand what that means.
That last point is key. I’m a fan of SaaS solutions but I also wonder if more organizations could unlock more value by just having a 1x programmer (with well defined _objectives_) on staff.
Hand in hand.

Regulatory capture is one aspect of crony capitalism, but subsidies for your buddies, bailouts, and nepotism are all parts as well (and plenty more).
https://archive.org/details/magazine_rack
New Zealand chose their bed. They could have been like France and placed more emphasis on diversification and independence (the French does not extradite their own people), or be like Switzerland and accumulate high technology and dominate finance. Instead they let themselves become yet another junior partner in the anglosphere. Their only export of value is their real estate which provides excellent sanctuary for billionaires seeking refuge from geopolitical uncertainties. They could also have been like India and remain non-aligned, or been like Israel and have lobbyists that punch above their weight. Instead they chose to let themselves to be walked over, and let their citizens be extradited at the behest of foreign powers. The country places more emphasis on liberal popularism than effective governance. Clearly giving hugs on camera and issuing mask mandates is more important than solving the real estate crisis.
nothing is being "banned". every one of these books can be purchased.
Reddit is allowing any user to have their own API key is they so choose, not just third party devs. If the devs want to make a new version that only works with a paid API key, they could. Perhaps not in 30 days which I agree is a tough deadline, but they could.
What exactly changed with this law? It seems like it was already illegal…
> I believe the reasoning here is that it's often easier to teach by analogy.

The problem is less the analogy and more the analogy to C++. Which is fine if you’re targeting C++ devs, and C++ oriented rust guides are certainly researched (I saw queries several times on /r/rust). It’s more problematic if you’re billing the guide as more general.
Although dealerships suck I’m not convinced that direct-to-consumer auto sales won’t also have their own special brand of fuckery, and I’m not exactly sure which business model will be better in the long run. I see potential for abuse like never before.
Considering that carve-out, Elon likely sees it as a great success of his recent strategy of courting the right-wing.
Gen Zers will hold retailers accountable for single-use plastics
I had a bash question for ChatGPT earlier and I opened with "Okay, it's just you and me now..."
It's the same idea. You're allowing addicts to continue being addicts while claiming testing centers using up tax dollars are a fix. They're not. IF they're allowing this they are not enforcing anything that will stop dealers.

This is just as ridiculous the safe shoot up spaces that only ruin the area they're in and make it unlivable for anyone but addicts who just die from overdoses anyway.

Allowing someone to live slightly longer without helping them overcome the addiction isn't compassionate, it's lazy enabling of the addiction. It's something politicians use to get votes and pat themselves on the back.
So this list is perfectly sane then I suppose, it’s as simple as that. I think the reason so many people like this stuff is they get to pretend they’re smarter than everyone and have the real information. You see, they did the research. They are big brained and everyone else is too stupid to understand. A convenient fit for a “smartest person in the room” fantasy. Authors like this provide fuel for that fantasy.
People click on what they want. Those are symptoms of underlying issues from someone who shouldn't be using such services in the first place. Protecting people from their own mental and moral malleability and ignorance is futile, as there will always be an issue to be resolved. The focus should be on education, and (for parents) control on what they should be accessing.
Most drug use in America is opioids and meth both of which have higher rates of addiction.

Colloquially I don't think most people would refer to 70% as a 'vast majority' or 30% as a 'tiny subset.' But if the GP meant 30-50% (when factoring in other drugs) as a 'tiny subset', then I guess we don't disagree :)

See usage notes [0]

[0]: https://en.wiktionary.org/wiki/vast_majority
This is a myth that is endlessly repeated and will apparently never die. If you are caught possessing illegal drugs in Portugal, you are required to go in front a disciplinary tribunal that can mandate drug rehab and impose fines. If you refuse to attend rehab, they can jail you. They can impose a whole host of other legal consequences, including loss of professional license, passport, they can mandate that you're not allowed to hang out with certain people, etc. Drug dealing is still 'lock you up in jail' illegal.

Saying drugs are decriminalized in Portugal is like saying speeding everywhere is decriminalized. They moved legal sanctions to an administrative court, but they're still sanctions. I invite you to read this whole page

https://en.wikipedia.org/wiki/Drug_policy_of_Portugal#Laws_a...
I wouldn't say complete BS, they do provide services. The problem is the monopoly practices which go unrestrained by the government.
What is good DX?
Graph Search Algorithms: Developer's Guide
Teardown of Brand New Apple 70W GAN USB-C Power Adapter
Generative AI is disrupting its own investment case
Maybe, but a CPU is also Turing-complete yet a (for example) sort program running on a CPU is just a sort program. The functionality of an LLM is defined by whatever it learnt during it's (dataset-specific) training, even if that includes in-context and one-shot "learning".

You could train a Turing-complete transformer to do a different task than running an LLM, but once you've trained it to run/be an LLM, then that is what it is.
UK bookies are evil. It’s rather easy to win money from them, but they are extremely good at spotting smart money and will immediately limit your account.

If you have a long term account with a bookie, you are a loser. (in monetary terms. :))
32-year-old spent $2k setting up an Airbnb in her neighbor’s barn
What happened to Republicans and small government?
https://archive.is/rr5Hw
If only my current PM could read your comment!
> But Cal's point is more about "this is a good way of working, why isn't there more of it"

There is some, though often half hearted. Employees are often sent to conferences with a mission to learn about "new thing X" or consultants are brought into train the team about trend Y. Encouraging structured training is a real super power. I've seen it make the different with things like "sales enablement" for GTM or effective onboarding programs for certain companies. These are oftern cargo-culted , but when down well are very impactful.
And renewable energy and drugs and everything nice.
I’ve always found the git bisect “interface” tedious to use so I do it with a gedit window just writing down how many commits back I jump to etc. Probably the most annoying bisecting is when you have to apply patches to a source tree at each point you bisect as well.. but this guy putting building the Linux kernel running it and testing a thing inside his bisect loop automatically is super slick.
Automobile dealers are separate business entities with different motivations from the manufactures. In particular, they have historically demanded access to training, access to parts, ability to negotiate price, trade ins, etc.

IMO danger of them disappearing is what we see with tech and luxury brands who go through a ton of effort to enforce their MAP and are not particularly motivated to make things repairable.

That being said, they are middlemen and there is defiantly a balance.
This guy just seems like a stereotypical douche bag.

He should run for president with Martin Shkreli for VP running mate.
Sub interpreters are still faster than processes. With them you could do continuation message passing which other modern languages, such as go, use for multi-threading.
Also, for cases such as web apps or data science training, you don't need to share memory between threads, and a sub interpreter uses a lot less resources than a full python process.

> Even if it breaks the c interface

Than most of your python packages wouldn't work. A python that isn't backwards compatible? Ya, that has been tried once before, and was a disaster.
If you want a non-backwards compatible gil-less python, it already exists. You can find versions of nogil online.