skysight-inc/HackerNews huggingface dataset:
TLDR; learning Rust through canonical code in tutorials often requires the student to learn bits about the language that are more advanced than the actual problem the resp. tutorial tries to teach how to solve in Rust. ;)

I prefer the latter now that I understand how all the Result/Option transformations work. As a beginner this would be hard to read but the former looks clunky.

Clippy also got pretty good lately at suggesting such transformations instead of if... blocks. I.e. I guess that means they are considered canonical.

In general I find canonical Rust often more concise than what a beginner would come up with but it does require deeper understanding. I guess this is one of the reasons why Rust is considered 'hard to learn' by many people.

You could actually teach Rust using pretty verbose code that would work but it wouldn't be canonical (and often also not efficient, e.g. the classic for... loop that pushes onto a Vec vs something that uses collect()).
Outside of Rc and Arc, which part of Rust memory management is automatic? The whole pitch for Rust is making manual safety management safer by using more sophisticated compile time checks. It certainly doesn't make automatic memory management faster or more scalable. (Rc and Arc are both regressions from tracing GC in that regard.)
I tried a few cards of CorpSpeak Bingo on this (https://1fish2.github.io/buzzword-bingo/corp-bingo.html)

One of my cards was SO CLOSE, but he needed to galvanize some.

My rightmost column had Leadership, Accelerate, Innovative, and Challenge. Missing Galvanize.
> Remember when programming languages were free?

Yes, now. I also remember when they were not free.

> When your compiler/editor didn't call back to some corporation every time you compiled code?

Yes, now. Just do not use Visual Code.

> When our package managers weren't linked to data aggregators watching our every move?

Yes, now.

> When we used free tools to build free software.

Yes, now. Just do not use Visual Code or Github.
> DevTools now gives you the list of all the CSS selectors that got calculated by the browser engine during this recalculation operation.

This is cool. The rest of the article IMHO is just an example runthrough of micro-optimisations that nobody reading should adopt into their own practice _unless_ their own perf analysis indicates a problem. It's incredibly unlikely that real-user-experienced UI slowdowns are due to stuff like this.
Why do you think Kenya's economy is any less robust? The per-capita GDP has increased fivefold in the past two decades. It's a fraction of the income level of the US, but it's a robust, dynamic, and growing economy.

(And I think most of what you wrote is based on similar stereotypes)
I guess it depends on what affordable means to you. You can find quite a few Orient watches without date at really reasonable prices, a couple of Timex too. If you're willing to spend a bit more you can also get various no-date Hamilton.
This is a nice sentiment, but I think the answer is way more nuanced. You can't just roll into a developing economy and pay way over market without also disrupting the local economy and the people that live there. Imagine some similar situation in America, where for some reason, an international business comes in and pays 10-30X the market rate as similar businesses in the area, for the same product. The new jobs become highly (and potentially dangerously) desirable, other similar business go under because they can't keep up with the wage growth, etc.

To remain stable, economic growth must be slow and steady. The alternative is you simply don't go to Kenya, rather, you go somewhere else, and Kenyans get $0/hour.
It is kinda common pattern for some FP languages (Haskell), so it doesn’t seem too clever to me.
That just seems like a weak concern though. The code for the java compiler is open source. The code for maven is open source. So how is Nim safer from spyware?

If I’m concerned about spyware, then my language and compiler are low down on my list. My OS, my phone, and my network are far higher on the list.
I entered the job market right after the dotcom crash. It was A LOT worse then.

My advice is learn to interview. What I mean by that is if you don't know something don't just say. No sure. Ask if you can try to walk your way through it with the person and if you get stuck or don't know something ask the interviewer for help. What that shows is you want to learn
Or it’s a reaction to others laying off and not rational at all.
Yeah the premise seems to be the people offering optimism have the ability to change the systemic problem but don't, offering cheap talk via optimism instead. To think that "the elites" could all collectively agree to solve every systemic problem the proles complain about is ridiculously naive.
Visit the house of somebody who likes burning lots of candles. Notice the heavy soot on the walls, ceiling, etc. Read the Wikipedia page on Black Lung Disease.
Major news came yesterday. Satya email this morning.
If the alternative is paying them comparable American wage, they would just hire Americans.
> I haven't seen a single penny for the hours of my life spent on recaptchas.

If you value the services pritected by recaptcha at less than a penny, why do you do the recaptchas at all?
Maybe we should be investing more time into creating meta-platforms so that we don't need millions of dollars to bootstrap production-ready languages.
There's also no way to use Ethernet. It could be on the power brick like the iMac or Chromecast Ultra.
X41 and GitLab Release Security Audit of Git
Clicks to check for Spotify support……..negative. Moves on.
Her statement is here: https://questions-statements.parliament.uk/written-statement...

Section in question:

> We will also add Section 24 of the Immigration Act 1971 to the priority offences list in Schedule 7. Although the offences in Section 24 cannot be carried out online, paragraph 33 of the Schedule states that priority illegal content includes the inchoate offences relating to the offences that are listed. Therefore aiding, abetting, counselling, conspiring etc those offences by posting videos of people crossing the channel which show that activity in a positive light could be an offence that is committed online and therefore falls within what is priority illegal content. The result of this amendment would therefore be that platforms would have to proactively remove that content.
This is very cool. I've been pondering this for a while. With all the very expensive audiophile turntables out there it seems that the true goal for an audiophile should be listening without degrading the vinyl, this.

It also makes me think. This decoding system can pull out essentially height data, height of the groove at moment in time.

With that, it's not outside the realm of possibility for us to create a small actuator that takes the place of then stylus, manually moves the turntable needle, recreating the exact sound as if the record were being traditionally played.
You can't swim against the same stream twice.
All good advice. I learned this from growing up with an antique oil lamp which I still have. That is another one of my emergency heat sources.
Diogenes and the Cynics are worth studying for any person interested in Stoicism. Stoicism often feels like a moderated form of Cynicism, and Epictetus often invoked the Cynics in his teachings.
> I think it would be prudent for some group of people to write a set of unit tests asking various questions to these AI models so we can detect when strategic changes are being made to their behavior.

That's a great idea. Various AI models could be rated for objectivity. Only downside is that AI designers might try to game the tests.
This is probably because the HN page doesn't contain the document date metadata. So google just picked a random date from that page.
You could do that, but consider keeping the full-time job and instead spend your spare time getting the word out about your startup, meeting people, finding customers, etc. A year later you'll be in a better position to know what to build.
Your passwords shouldn't leave your device.

Chrome's password manager is pushing it.

Everything else should be considered malware.

I don't understand how such a 'techy' crowd here on HN can be so belligerent with this security vs convenience trade off.

KeePass locally, gmail yourself an encrypted backup. That's it. FFS.
We built a rating system for technical interviewers. And you can too.
Didnt read the article but based on the headline I agree.

Currently working for <small but influential company A> doing real time surveillance on an enormous amount of data. Using a proprietary language owned by <a competitor company B>

Technically, theres no conflict of interest because we, as a regulatory body, are a seperate business entity from the company A- but honestly what interest does company B have in addressing our concerns with their software? They arent incentivized to fuck us over nut they have no incentive to help us out either.

We are running into so many problems. And I know for sure that we could, with about a million dollars worth of billable hours in total, create a product vastly superior to cokpany Bs product. But progress marches on and were already bought in. So we just deal with the problems.
That is excellent advice, and not one single hint of jargon!

Practicality, in my experience, has always been of tremendous importance.

Also, for me, I tended to take low-paying jobs, if the technology/company interested me, because I wanted to learn.

Learning is difficult; especially learning to ship. Feasts of Humble Pie, Egg-On-Face, and Crow, with side orders of stress and overwork. A surprising number of folks don't actually want to do it.

In my experience, it has always been worth it; even the "negative learning" experiences.
Even merge conflicts have been a lot better for me in recent years. My only worry with KeePass is that I have to rely on potentially sketchy client applications but I'm also fortunate enough to have the skills to make my own if I really felt the need. It's one of the few "not-my-solution" pieces of software which continually gives me a sense of data ownership.
This has been a thing since Rust 1.0. Just use the beautiful properties of match (or the "later" `if let`, of course). I prefer this and wish I could say it was idiomatic, but some tools like clippy push users over to helper methods instead of simple applications of match.
I'm not taking any pride in that statement. I'm just trying to highlight how because of the way our culture is, these sorts of texts are relatively tame. I'd actually like for us to get to a place where violence is not ingrained in our society.
Certainly misattribution explains _some_ amount of what people think is "Long Covid". It's very hard to say how much, because "Long Covid" itself lacks a proper definition.

However, that study is not the best evidence available. I agree that the original study could be improved, but the Jama Network paper doesn't account for the fact that many people test negative for Covid antibodies after a true infection (as explained in the original study).

We can't start talking about the true prevalence of Long Covid until we have a sensible definition.
These Microsoft examples are 20 years old. The company has changed leadership to a team that embraces open source years ago and I think they've done a pretty good job demonstrating this embrace. They have adopted open source Java, they further open sourced .NET, they've embraced Linux containers in Azure and WSL on windows, etc. Might be about time to reconsider this perspective of 'hate Microsoft'. Full disclosure: I work at Microsoft and these things I listed are a big part of why I moved there this past year.
That's dehumanizing and souless.
I meant the headline kind of implying 18,000 fresh job cuts like the comment I was replying to was saying.

Obviously, layoffs in the tech industry should concern all of us.
> A quick Google suggestions around 30% of accidents are rear-end, accounting for something like 1.75 million accidents annually.

But that number is not relevant. What is relevant is the ratio of humans avoiding these accidents to humans not avoiding these accidents.

Like I said, having to avoid the car in front which braked hard is routine. It happens all the time. It's why the blame and culpability for a rear-end accident is always on the rear driver by default - safe driving distance and all that.

Which is why I phrased my question to the GP the way I did - if he managed to go 300000km without rear-ending someone even though unpredictable braking happens so routinely ...

> What % reduction in these would make it make sense to "require" this?

I doubt there'll be a decrease, if any. A better system that beeps if a safe minimum following distance is not adhered to will almost certainly prevent more accidents than auto-braking, because the auto-braking system will sometimes get it wrong and cause the jackass tailing you to rear-end you.

An alert won't cause any accidents.
What does Odin do better than Zig? To me the languages seem very similar except that Zig has its very heavy use of comptime.
Who cares if a public company hasn’t done it? We know it’s possible. We need to make the world a better place not have the status quo.
Golang out of the box aggregates and analyzes usage metrics of modules whenever they are downloaded.
> The engineers identified a “golden path,” a specific set of demo actions that Jobs could perform in a specific order that afforded them the best chance of the phone making it through the presentation without a glitch.

In a past life, when I sold my soul to the devil, I did a lot of demos on behalf of Microsoft that were precisely scripted. And, even then, NT4 BSOD'd on me in front of a packed auditorium once.

That's why one of the key skills of a corporate public face in IT is stand-up comedy. They didn't see the flawless ISS crash containment they were promised, but at least they had some great laughs.

Funny now that the devil isn't that much of a baddie anymore.
Launch of the First Commercial Smart Label Tracking Device at CES
"The Smart Label uses the low-power cellular 5G connectivity standard (LTE CAT-M) to send data regarding device location and temperature back to a centralized dashboard, enabling logistics companies to track valuable goods..."

"The printed battery keeps the label as light as possible, while the use of low-power connectivity ensures that battery life is optimized and can last up to 6 months. The label could be used multiple times, depending on the frequency of the transmission."
I run an SSH server on my laptop and SFTP it to my phone via Strongbox when I’m local.
You got an example of such a post?

Only one I see is maybe dekhn's post: https://news.ycombinator.com/item?id=34427789

But because someone says that "candles produce soot and other molecules which have been shown to be harmful", it doesn't mean the speaker is in a doom and gloom mindset: that's an interpretation you make.
I find Siri is very good at recognising my words accurately. Better than Google, in my experience, but that could be due to differences in mic quality in the various devices. Where Siri sucks is at actually comprehending instructions beyond some fairly basic commands. "Here's something I looked up on the web" is it's default response to most of my outside-of-the-box queries.

It seems weird that we still have such a dumb Siri in a world where ChatGPT exists.
18k/300k == 0.06, so a 6% cut in corp.
Turns out big tech, even at the high end has become just another churn and burn industry these days.

It's quite exhausting even for just a 4 year stint previously, I can't imagine what it must be like now with the constant headlines about layoffs.
There's also pixiecore [0] with a similar idea but with pxe instead of usb.

[0]: https://github.com/danderson/netboot/tree/master/pixiecore
Which is why I pay for the monthly AppleCare.
Yeah I think the difference is that to gen z all that shock shit is like old hat.
i think py_installer is for producing actual executables, i.e. where you don't need an interpreter installed.

but in any case, even if it werent, the point I'm making above is exactly that you dont have to use external programs to package, distribute, or manage your "app". it's just a normal python package, run as nature intended, so to speak.
There's one thing keeping my Echo plugged in: AnyList integration. I can say "Alexa, add eggs" and it adds eggs to my AnyList shopping list. With a HomePod, I have to say something like "Hey Siri, using AnyList add eggs to my grocery list" or something like that. It's way too clumsy.
Suprising how quickly policies can change when the transgender perspective is brought to bear on it.

Enough said.

We are in the decade of the transgender.

Wonder what the next decade holds.
It would also be pretty nice to have Siri works in several languages on a shared device like the Homepod. Not everyone has the same native language in my house.
Different people have different confidence and risk tolerance.

I once advised someone like this - take the Amazon offer. First of all, YOU (this guy was excellent and driven) aren't likely to be in the bottom X percent.

And even if you are, the X years you spend at Amazon will teach you skills (not to mention resume) you won't get anywhere else. So even if you got laid off, you'd be better off long run.

That doesn't work for everyone of course.
People don't know what they want to eat until aggressive marketing convinces them to have a taste.
I thought a security breach wasn't possible due to zero knowledge encryption.
People in Kenya do have a choice, and they pick the best choice for themselves and for their families.

The set of choices for people earning $2/day is different than $20 or $200, but not smaller.

Your aggression is better targeted towards manufacturing jobs in parts of Asia, or Walmart workers in the rural US, than to this context.
> Microsoft did not take his own advice.

This assumes AI taking people's jobs has anything to do with these layoffs. The press release mentions AI, but not in that context. I don't think these people are being laid off because MS is getting ChatGPT to write their code instead.
I know we're just exchanging anecdotes but I never have this issue. On top of that, I have scenes and automations dialed in so "Good Night" (and similar scenes) do full-house automations for night, morning, and all kinds of different things. I even have some set up so that, when my car pulls into the garage after work, it kicks off a few automations.
I always see this guy antagonizing everyone (David Sinclair, Aubrey de Grey, etc.). Is he the Gary Marcus of longevity?
Long ago capitalism and then neoliberalism infected our brains. There’s no rational reason why any of these promises were made in the first place while still having people without health care or a home.
Probably not, if only because most people don't realize how much of their car's expected behavior is driven by computers.
To be honest, it's more like:

"Look, investors have low confidence in the market right now and all our competitors are doing it. I need to send a signal or the stock is going to keep going down and I wont get my full yearly bonus. In the end it's all about the quaterly share price. I know, it sucks, but let's not kid ourselves, we all knew that's the game we are playing here: go work for a small company if you want long term strategy. We might buy you when you are done innovating. You can always come back next year if it's a hiring market anyway."
"because Carmack is saying it" has been a guaranteed upvote party since HNers were still on Digg
If your friend told you they lost $10,000 in the stock market today, would you feel bad for them? What if they then told you that they're up $500,000 over the past year? How about then?
Thonny is deceptively good. I am a long-time developer and use it for MicroPython work on RP2040 (Pi Pico) and have written a 600 LOC firmware in it. It’s not the most Mac-like, but they keyboard shortcuts are changeable, and its configurable interface can be as slim as you like it (just text) on up to variables, the stack, and debugging. It’s also a great tool when I want to play in REPL — it just feels light and fun.
> Text for those who don't do the bird site:

Having the text here instead of linking to an appallingly bad website should always have been the norm. But nooo, we had to wait for Elon Musk to buy the thing.
SQLite: Timeline
As I always say, the biggest issue I have with Gemini is TLS and encryption in general, for several reasons.

The first one is obvious: Gemini is supposed to be simple and not evolutive. TLS fits neither points.

The second one is more philosophical

From the article: "The big deal is that the modern internet sucks. It started as something to share knowledge, and quickly became a platform for survielance and exploitation". Gemini was created in reaction to that.

Now, think of what https really is for, what drove its adoption, and why the modern web needs it. And that's e-commerce! The biggest use case by far is so that you can safely send your credit card number to pay for stuff. In the early days, that's almost exclusively what it was used for. Google for instance strongly pushes for https everywhere, what do you think it is for? Your privacy or for commercial transactions?

Now, think about how to keep the commercial activity that lead to the modern web out of your little community. Ban encryption, do not mandate it! No encryption means no credit card numbers, no passwords, no accounts, no access control, you will get something that it hardly exploitable, and therefore less likely to be tainted by the "modern web". If you just want to share knowledge, there is no point hiding it with encryption.

But what about privacy? Well, you achieve that simply by not putting private information on a public network. And if you really want privacy, for example because you are about to share or browse sensitive or illegal data, then TLS is quite limited. There are networks that are explicitly designed for that use case, such as FreeNet, these are a much better option than using an encryption scheme that was primarily designed to facilitate e-commerce.
A guitarist making ambient music
> Was Gates the only person who went to a college with computer resources in the mid-1970s? Was Gates the only person who read the Popular Electronics article? Was Gates the only person who knew how to program in BASIC? No, no, no, no, and no.

Umm, was Bill Gates the only person whose mom had a personal chat with _the CEO of IBM_ about doing business with his company? Probably, yes. Did the IBM people forget to ask for an exclusive license as they had discussed internally? Definitely, yes.

I mean, Gates is smart, worked hard, and _did_ make the most of the luck he got. But pretending he just made better use of the _same sort of luck as everyone else_ is simply untrue.
I know some teams who had a sudden team meeting scheduled by their skip manager for 9 am today. I suspect this is how organization changes will be communicated to affected teams.
You're confusing being poor with being financially stressed. The two are not the same.
> Do wrist movements provide enough energy to run a smartwatch?

It depends on what website you're currently browsing.
FYI every article on this is getting the math wrong. It's 18,000 with today plus the layoffs in November (which the press quoted at 10,000), not 18,000 today.

Assuming the press was correct in November, it's 8,000 today.
Microsoft will survive even if they never fire another person for years.
It's the same zip, just think of an Option as being a list of length at most 1. [] = None, [1] = Some(1), etc.
Genuinely asking: what about this is different from what I said in the original comment? It's possible that I'm using the wrong words, but my understanding of Rust's ownership semantics is that "owns a reference" and "borrows the underlying value" are equivalent statements.
syncthing works really well imo, can also tell it to keep 3 versions as a backup