skysight-inc/HackerNews huggingface dataset:
The law doesn't seem to cover that, or one pretty large retailer in France is ostensibly not abiding by it.

Darty.com says that you can only return an item if it can be resold as new. Basically, you may only open it to inspect it. If there are signs of use, you won't get the full refund.

Other retailers, like Amazon, may not care about this and refund fully no questions asked. But in my experience, Amazon is pretty unique in doing this.
Thought you were going to say “knowing when Not to use recursion” is important.

It’s a handy concept and tool but not practical/relevant for a lot of real world/day to day stuff.

And of course there’s the obligatory joke:

What’s the B in Benoit B Mandelbrot stand for?

Benoit B Mandelbrot ;)
it's also a thing in Santa Cruz, CA
NB did not bother trying the others
You're a bottleneck to understanding.
yeah, about that... (https://screenrant.com/sopranos-finale-tony-death-confirmed-...)
Rust programs take more effort to write initially, but less effort throughout the software lifecycle. Unless you're writing code just to throw it away and not even run it once (which practically doesn't ever happen, at least not intentionally) Rust front-loading the effort is the right trade off.

Never mind that some of these choices you can just avoid by thinking in general terms and deferring optimization for later. Just passing String and FnMut everywhere will be a lot more efficient than whatever the JS translates to on the machine.
This game was so perfect. One thing I miss about this era was the cacophony of various games as you walked into the arcade. All those machines blaring their sinusoidal siren songs at once. The audio design of Galaga was extraordinary and a huge part of its charm in my opinion, but to truly experience it, you really need to be standing at the machine, fully bathed in it, with a backing chorus of all the other machines chirping and crooning their tunes.
> It would be much simpler to not think about error handling at all,

> and let some top-level

> try { } catch (...) { /* intentionally empty */ }

> Much better now!

NO
I can't imagine anything is clear to you.
Open Rail-M Is More Unclear Than Scary
And yet you dismiss what I said and gave an option as to why it’s acceptable.

If you believe that a majority of food workers are underpaid, then I, as well as market research, disagree with you.
> Sorry but… learn regex.

Do not be sorry.

find and grep.

How is it possible to exist without them?
Interesting, I guess it varies by field then. I apologize for making blanket statement.

In engineering, at least as far as I encountered, only some shady journals would charge you.
Then one really simple question: what to use ?
Pure cardio(for now). With a focus on lowering my B.P. Peloton Tread thrice a week using one of their 20 min HIIT.
When organisations were asked "Which languages and platforms in your application portfolio have been the greatest source of risk or exposure to your organization?" in the SANS Institute "A SANS Survey: Rethiking the Sec in DevSecOps: Security as Code", security officers mention Python 29.4% of the time (first of the list - they can choose up to three languages - dated 2021).

My question is: when will Python be seen as "risk or exposure 'free'" in the near future?

Edit: small typo
> Google’s recent actions made me unsure GCE would still be a product in five years.

Out of curiosity, which actions are you referring to?
It's kind of sickening how mass shootings in particular are so popular among the media these days. For example, the odds are that gun of yours will be used against yourself by yourself versus in self defense. For women in abusive relationships, they are 5x more likely to be murdered if their partner has access to a gun. Gun owners who carry their weapon are also 3x more likely to have that weapon stolen from them. There are plenty of ways to highlight the risks of gun violence in much more realistic and statistically likely terms for most people, than covering comparatively far rarer mass shootings in ways that invite copycat killers to try and have a platform.
Strength training 5-7x a week. 70mins each session. Cardio/rowing machine for 10-15 mins after.
Splits usually go Push-Pull-Legs-Push-(Core,Arms,Shoulders)-Legs. I have a weak left shoulder (injured a tendon doing snatches with bad form 3 years ago) - so I avoid heavy dead lifts. But include all the major compound lifts like Squats, Benchpress, barbell rows, Romanian deadlifts. Aim to hit every muscle group atleast 8-10 sets in a week. No supplements apart from Protein powder, and caffeine pre workout.

This has worked pretty well for me - I’ve lost around 14 kgs in the last 9 months. I avoid processed foods, only eat homemade whole foods and tracked my calories for a few weeks to get a sense of my real TDEE. I recommend an app like MacroFactor to get an accurate sense of your TDEE. Most smartwatches are shit at calculating real calorie expenditure.

Edit: most importantly, I track my recovery using HRV and Resting heart rate (recommend Training Today app for this). I take it easy (not hitting more than 60% max effort) if I don’t get enough sleep (atleast 6 hours). Listen to your body and treat it well.
A whole new take on `make world`
My vote is on Nim. Python like syntax with C++ speed. Unknown enough, but still not too new or obscure.
Soccer.

For those in the Seattle area there are multiple adult leagues (Seattle RATS is what I play in). We play year round on turf, rain or shine. They’ve got beginners divisions and over 30s divisions. They also host a free Saturday skills clinic.
I think it might be worth pointing out that Apple is less inclined than other companies to talk about pre-product R&D, so it may not be as evident when certain lines of investigation don't make money.
Is it called a "bet" when you stand to win big, but if you lose it's the people you hired who've lost, and you don't lose basically anything?
Yes that has fixed it! I edited my comment to avoid unnecessarily criticizing the project. I had assumed that was normal/expected behavior because it was on the homepage.

It is a very slick system, I am sure I will be using it in the future.
+1 My startup of 6 also hiring ;)
Can you clarify why is Rust's div_euclid and rem_euclid are incorrect? For reference, here's what Rust prints for this https://play.rust-lang.org/?version=stable&mode=debug&editio...

fn main() {
dbg!(1_i32.rem_euclid(-10));
dbg!(-1_i32.rem_euclid(10));
}

[src/main.rs:2] 1_i32.rem_euclid(-10) = 1
[src/main.rs:3] -1_i32.rem_euclid(10) = -1

I found only this issue https://github.com/rust-lang/rust/issues/87970 but has no details

Here's the discussion that lead to the implementation of those functions, from more recent to least recent,

* the tracking issue https://github.com/rust-lang/rust/issues/49048

* the RFC https://github.com/rust-lang/rfcs/pull/2169

* the internals discussion https://internals.rust-lang.org/t/mathematical-modulo-operat...

It's baffling that Rust got this wrong..
why does it matter what channels you're in? i just mute all channels except for the ones that i actually care about. my channel list is probably in the low hundreds but i hide it anyway and just use stars to show the ones i often navigate to
Just want to thank you for all the work you do! We are heavy users of sqlalchemy, our life would be much harder without it!
It was a publicity stunt that was never going to actually happen. The point was to make news.
I can't think of a company more blatantly engaged in anti-competitive practices than Apple, but I'm glad to see all that unfairly amassed wealth benefitting even the lowest rungs of its corporate hierarchy through the unusual benefit of not being terminated at the drop of a hat. Bravo!
It's not like him halving his compensation makes any material difference in the ability of the company to avoid layoffs.
Trump: "I’ve known Jeff [Epstein] for 15 years. Terrific guy, He’s a lot of fun to be with. It is even said that he likes beautiful women as much as I do, and many of them are on the younger side."

Apparently Trump is OK with pedophiles.
Good Engineers usually quit doomed projects early. Example: managers not recognizing physical, budgetary, and logical constraints.

It is funny because it is accurate. =)
For Amazon, sure - warehouse workers and drivers. They built a lot of new warehouses, brought a lot of delivery in-house, etc. For the others? Maybe a bit; more remote work, general cloud growth, but yah they overhired.
The key for me has been finding stuff I like to do that _happens_ to be exercise as well.

Hot Yoga, Trail Running, Hiking, Skiing, Biking, etc. I climbed a LOT in my 20's. I usually can sneak in something every day.

I've also mixed in weight lifting a few times a week just because it anecdotally seems to help a lot with injuries (nothing crazy, full body sets medium weights, usually 4x8's).

In terms of how it helps, my wife says I'm more enjoyable to be around when I'm active :), I also assume it's helped me to maintain a reasonable weight.
I think you missed the implied wink. This post is not arguing for throwing away all performance and safety, it is showing how “ugly syntax” is actually mostly inherent complexity from trying to be safe and fast.
It’s still ugly! There’s nothing wrong with that. Everyone will have different opinions on these things. Bike shedding will probably never go away.

The semantics are what matter (at least in most programming languages)!

To me, syntax wise, I just can’t stand inline type definitions. CrabML becomes close to what I can grok syntax-wise. I spent many years with C++ and I can read TyoeScript… but to me they’re examples of bad syntax, not role models.

However if you read A Logical Approach to Discrete Math or Programming in the 1990s you’ll know just how syntax matters… most programming languages can’t even reach this level of which is why I think semantics are more important.
I wasn't entirely surprised when I read your response, although I didn't know that. I sort-of suspected somebody that entertainingly frank would have to confront some PR positioning issues.

Harvard has other fish to fry. They'll get to James when they're on top of the other stuff I guess. They let him publish https://mickens.seas.harvard.edu/wisdom-james-mickens which is a good sign!
I am old.
The Microsoft numbers do not seem right. This must include all the hires for attrition / backfills.
I do a 45 minute yoga practice at least 5 times a week. I have a Bowflex home gym which I use 2-3 times a week and do a 10+ mile hike every weekend with a lot of elevation change. I can't even imagine how my health would be sitting at a desk the whole day and then no exercise.

I am in my 50s and have exercised regularly since I was 18 or so. The type of exercise has changed with age. Unfortunately my body can't take martial arts anymore but you just have to adapt.
Yes that is ugly and no complaining about syntax peculiarities is not bike shedding.

Code aesthetics is directly related to its readability and to programmers quality of life.

Code should be made as simple to read as possible, the writing part is less important.
”I’m not aware of any other online retailer in the world that discloses this data”

Let me help you with that. Finland’s largest online retailer has had it for years, example:
https://www.verkkokauppa.com/fi/product/645007/Sony-WH-1000X...
Curious about where you source any Fair Trade silicon you might be using?
I was surprised when it nearly froze because people used too many of those reaction emoji gif things on a comment. How is a tiny cartoon more important than than being able to use the app? It's ridiculous that they apparently didn't prioritize tasks.
I don't live in that place so the advice isn't important. Also I think its fair to argue that joining this macabre dance is also a poor method to fix an inequity.

If its true what others say tips are deducted so their employers pay below minimum wage then why not pay the server outside of the transaction so the employer is forced to do what they should have been doing in the first place?
Garbage in, garbage out. GPT-3 is produced from ingestion of massive quantities of garbage sourced from the web (Wikipedia, CommonCrawl). It can then be used to generate more garbage that people can retrieve from, you guessed it, the web. But not before they submit some more garbage to the web (a prompt) in the process.

From what we've seen so far, this is a closed system. Any "intelligence" that exists outside the web is ignored. Reminder: The web is where we find some of the dumbest people on the planet. Including ones who think they are brilliant.

No doubt, GPT-3 can generate more of what's already found on the web.

If one's job is generating more of what one finds in Wikipedia dumps and CommonCrawl data files (hint: there is a lot of source code in there), then yes, AI might be coming for that job.
> It was an unforced error to imitate C++

Rust spent enough of its weirdness budget on new semantics. I may not be a fan of C++-style syntax, but if your goal is to specifically tempt C++ developers with the promise of safer/saner language semantics, then making syntactic concessions towards familiarity with C++ is the right call. Rust isn't trying to be The One Language To Rule Them All, it's trying to target a very specific domain.
It would be an interesting future in which Koka[1] becomes the new Python. Or Lean 4,[2] and we end up with formally proved ML code in 2043.

[1] https://koka-lang.github.io/koka/doc/index.html

[2] https://leanprover.github.io/documentation/
Hasbro to lay off 15% of workforce after revenues decline
I don't see how that could have been accidentally discovered. It is so esoteric and time consuming, that even if someone owned an arcade and could set the machine to free play, what kind of thought process from historical hacks prior to 1982 would have inspired that kind of a search space? Much like easter eggs in early Microsoft Office products from ca. 1990, I can't imagine. Like maybe trying to run down a shot counter might have been on the agenda, but those two specific aliens just cinch it for me. Now, as to whether it is a bug or not.

Looking at the forensics of the original ROM at the provided URL[0], the fix is nontrivial. It looks like a bug, IMHO. But if it is a bug, who stumbled upon it? I would think that if the author put that in there to get the high score all the time, it certainly is obfuscated enough, but he would run the risk of being discovered. Perhaps the cheat is obfuscated in order to sneak it through code review and not be fired by Namco?

What really supports the bug theory is that the flight pattern of the far left bees has to be altered to account for their location on the screen. This REALLY feels like a bug, because when I'm trying to alter a corner case in code, I can rarely see the second-order consequences without code coverage/fuzzing. This is a total code smell IMHO.

But again, how would someone even exploit this flaw without the ROM. Which leads me back to the intentional cheat by the programmer.

I'm legit ambivalent about this. But if I was pushed, I'd have to say it was an intentional cheat slipped into the code, because programmers were just too good back then.

TEAM CHEAT FTW.

[0] https://www.computerarcheology.com/Arcade/Galaga/
The current mass extinction that's happening doesn't really care if you have a "healthy society". Even if we decide we only care about humans, widespread lung issues, massive deaths in the wake of heat waves, and of course cancer...
I would just love to be able to run my own OS on the car.. I'd write the shit out of a better interface.
This... reads like a joke post
Rust isn’t as safe as GCed language and you don’t need systems level speed on a backend API.

Rust’s safety is better than C/C++, but memory vulnerabilities are found in cargo packages because of unsafe code.
We follow #1 and #2 in our company.
I like #1 because it definitely helps create a more open information environment. It often takes a little while when a new employee starts to train them into this. Quite often they will come in and ask all their questions in DM, I'll always politely push them to ask the questions in the appropiate channel.

I like #2 because it keeps the channels quieter when conversations are had within threads.

Something we've done recently is cut down the number of channels. We essentially just use #general and #random now. We're only a small company (<20 employees) so it facilitates a better information flow if everything is in the one place. One thing we also do, is if a thread contains valuable information we will transcribe this into our documentation system (currently confluence)
It's very easy with the "#line" macro. Works perfectly with gdb too, at least in Nim-land debugging embedded firmware via JTAG.
2011, https://www.cfr.org/blog/henry-kissingers-china

> Mr. Kissinger should have mentioned that he left statesmanship with China for business with China. Nowhere does he discuss Kissinger Associates, the highly successful consulting firm he founded almost three decades ago, which does a thriving business providing entrée to Chinese officials and business leaders for foreign companies. Indeed, Mr. Kissinger has spent more time negotiating business than negotiating policy.
I used to do strength training, but I couldn't stick with it for more than half a year. Doing things that have a strong variety and skill-based elements to them helped a lot. For me the past year and a half it's been figure skating and rock climbing.
Evil is subjective. Some people think churches are evil while others think the opposite.
Year old software engineer getting younger through science
A few companies seem to be trying it with different variations and targeting different personas - including hired, angelist/wellfound, peerlist, xing and lunchmeet. While LI is probably a broad network that does all things average, the new startups in this space are trying to go deeper into specific verticals and add more value there.
It's not censorship, you can still run a story. I think the issue is the overall fixation, or how much the airwaves are dominated by these stories at the expense of all the other significant things occurring in our world. Consider how much ink is spilled over a mass shooter who isn't a gang member compared to one who is, for example. Gang violence is something that I see pretty much solely relegated to local news, maybe an article or two, and that's that. This shows the media, especially the national media, is incentivized to fixate on certain stories for some reason versus others. Maybe they attract more viewership and therefore ad dollars to the network. Maybe their posts see more engagement online when they are about a school shooting in a nice neighborhood over what people imagine to be routine in bad neighborhoods. It's all a bit perverse and sickening when you spend any time considering all of this.

I can't stop linking this very relevant topic in HN comments it seems:

https://en.wikipedia.org/wiki/Propaganda_model
You might try caching bootsnap in the Docker image. I didn’t realize this was possible until I saw it in the Dockerfile that Sam and DHH cranked out recently.
I’ve never used GitHub copilot and am not really interested as it doesn’t seem to fit my needs. I don’t write a lot of “boilerplate” code and while vscode is often my IDE of choice vim is often used for things interchangeably.

I see less of a reason to use a CLI tool because it doesn’t seem to “scale” well with learning/understanding commands. For instance, would it be compatible while ssh’d into a remote?

Not posting this to be intentionally negative or skeptical, it just makes me think of the quote “learning is hard work but afterwards you own everything”.
14 days minimum is only for online shopping, this is not true if you buy products in physical store(in EU).
Not statically typed until recently (difficult to navigate/refactor), global interpreter lock, kwargs grossness, no multi line lambdas, the whole version 3 upgrade fiasco.. idk it’s ok.
Ask HN: Have you tried using forum software in place of Slack at work?
The recent submission on Slack (https://news.ycombinator.com/item?id=34540085) got me thinking about how using something like Discourse would look like. Having something like ChatGPT summarizing things as you go would also be useful. If you've done it, how did it go? Any interesting lessons learned?
Wild Weasels' Electronic Warfare
If a doofus posts a password, the doofus gets to run the password rotation runbook for that service, done. If the runbook is too long, a PR to automate it is a great alternative.

In one particularly unfortunate case I can recall, the same engineer, having been thoroughly tired out by the lengthy and stressful (production-critical) rotation procedure, then pasted the new password again when announcing the rotation's completion. But it never happened after that. :-)
Actually only 4 possibilities in the provided quiz - it's multiple choice.
Trump endorsees also underperformed in 2018 and 2020. There’s a pretty clear trend. Trump won in 2016 because of his reach on Facebook and Twitter, yes—he was novel and his win was a black swan. But he and his candidates also did poorly in subsequent elections, after the novelty wore off, because of his social media reach.
> gdb/ldb compatible

As it is compile-to-C and the #line macro is very easy to output in these languages, I'd nearly guarantee "yes" as the answer to that.

Despite nothing else really being aware of Nim, I debug embedded firmware written in it, on a microcontroller via JTAG and gdb/openocd, and it works perfectly.
They've become collectible. Some guns are pretty cheap too, a few hundred. If you spend a few hundred a year on new guns, probably the amount most people pay for hobby collections of any sort, you'd have a pretty substantial armory before long. Manufactures cash in too. You can get a bright pink pistol for example, if that fits your style.
FSD actually isn't a big part of what Tesla sells. They have $1B set aside from sales revenues of the FSD option to pay for implementation.

That sounds like a big number, but it's less than the revenue of 2 days car production.
Mr. Bright, are you hawking coffee shops again ;-) [1] A bit reductive, innit? :-)

1. https://news.ycombinator.com/item?id=34542692
I use an extension to do the opposite: redirect me to the web version without having to navigate the dark UI designed to trick me to download the app.

https://chrome.google.com/webstore/detail/xoom-redirector/oc...
Might be personal preference, but I don't think those examples are good at all. The only thing I am impressed with is the story mode and conditioning.
I typically use riffusion to generate swing/electropop music, could be I'm too biased.
> you don’t need systems level speed on a backend API.

I do, actually.

> but memory vulnerabilities are found in cargo packages because of unsafe code.

Forbid unsafe in your config and you're good.
> Except virtually everyone I spoke to was unaware of what his final posts on social media on jan6 were, they were not covered,

And who are these people you've been speaking to? Clearly they're living under rocks.

> and they were lied about for years with no way for the public to see that in fact he called for people to go home peacefully on jan6.

"no way for the public to see" ??? This is nonsense - he first called for people to go home on Jan 6 via a televised announcement, then repeated that on social media, before being banned. The TV announcement was covered and broadcast by multiple TV networks.

Just 3 seconds of Googling brings up this youtube video: https://www.youtube.com/watch?v=3_JxN9CwIMU

Oh and it's CNN coverage, of all networks!
I do a daily walk for ~30 minutes.

For me the key to enjoying exercise was losing weight. When you are overfat you tend to have quite strong legs from carrying the excess weight around. Even with minimal strength training losing fat will leave you quite capable of doing long walks/hikes etc.

Cycling is also great, but its easier to make weather/time excuses about it.