skysight-inc/HackerNews huggingface dataset:
> And yet you've described how "range(n)" is implemented in exquisite details, whereas the caller only cares about its interface.

I didn't not say anything about how `range()` is implemented. I only described exactly what you said the caller should care about: the interface. I briefly described the inputs and outputs, then I went into detail about how the output is used by the `for` loop.

> A beginner would further only care about its observable effects, which here would be at best something like "that returns something that's like a tuple containing the integers from 0 to n-1"

In which case you need to describe what a tuple is and how a for loop uses it. In which case we're back to talking about iterators. All `for` loops in Python use iterators. There is no getting away from that.

> When I write a for loop in Python, I don't think about StopIteration and stuff, I just want to iterate something. Only if I were to implement a custom generator or iterable would I worry about that.

Same for me. That's because we already know how this all works and we know what parts we actually need to consider to implement a solution. That hardest part of getting into programming is building a fundamental understanding of how features work and how you can use those features to solve problems. And Python is filled to the brim with relatively complex features designed to help experienced programmers solve complex problems quickly and easily.

Like I said in my original post, you can gloss over details if you want. But understanding iterators is essential to understanding how `for` loops work in Python and if you don't understand how a `for` loop works, you'll struggle with understanding how and when to use it in future applications.
> Well, today computers really only have one kind of storage, and it is usually some sort of disk, the operating system and the virtual memory management hardware has converted the RAM to a cache for the disk storage.

> So what happens with squids elaborate memory management is that it gets into fights with the kernels elaborate memory management, and like any civil war, that never gets anything done.

ctrl+f mmap on this article doesn't return anything so.. is it talking it's better to mmap files and having files store in-memory data structures like cap'n'proto does?

(if it's entirely in-memory with no file in disk, then it's surely comparing apples to oranges? if a program needs the persistent memory, it needs the disk)

Also: is mmaping a file and using it directly from memory what databases should do today to avoid fighting the OS disk cache?
You started a vile flamewar with this comment. Obviously, that's mostly the responsibility of the commenters flaming each other and crossing into religious and other forms of nastiness, but still—dropping a lit match at a gas station is negligent if not trolling.

As for the commenters downthread: posting personal attacks, religious attacks, nationalistic attacks, and similar kinds of things is utterly against both the letter and the spirit of the rules here, and if you keep it up we will ban you. Please read https://news.ycombinator.com/newsguidelines.html and take the intended spirit of this site to heart. If you can't do that, please don't comment until you can.
The Windows 11 announcement is what made me transition to Ubuntu in the last few weeks. So far, I made the transition on 4 out of 5 of my windows PC.

It's far from smooth enough to become mainstream (with ubuntu at least.)

A few example: Steam wouldn't launch on my PC with an Nvidia card. (At to install some x86 package to make it work).

File sharing just didn't work at all without manually edit the smb.conf file.

Ubuntu randomly ignore my router DNS settings. All my self-hosted stuff requiring local DNS randomly stops working unless I force ubuntu to use my own DNS server.

Some games just don't work on any of my PCs (even if they are gold/platinum in protondb).

And many more stuff that works out of the box with windows. Overall, despite the issues, the experience is still positive and i'm not going back.
I'm just always surprised how can we be so certain? Even here on Earth, for millions of years, life was literally nothing more than single cell organisms - also definitely "not intelligent life building space ships". And it would be very hard to see how could it possibly evolve into such, seeing as the atmosphere was full of incredibly toxic oxygen.

The thing is, life has almost infinite time to evolve out of these various elements. The fact that it didn't evolve here on Earth means absolutely nothing, seeing as Earth alone has billions of years left where such life could arise, and there are literally countless planets everywhere in the universe where the random dice of evolution roll every second.
PwnedPiper vulnerabilities impact 80% of major hospitals in North America
why does removing carbonates cause the ocean to absorb more CO2, though? Calcium and magnesium oxide aren't just floating around the ocean waiting to absorb more CO2. Removing salts does not lower oceanic acidity.
Often if you missed an episode you had one more chance usually either at 2 am or during the day time the next day.
Cooklist | Backend Django & Data Engineer | Austin, TX / Remote | https://cooklist.co

Cooklist is an all-in-one grocery app that works with 80+ retailers and is used by hundreds of thousands of people. Think Pinterest + Instacart + Mint.com combined into one.

What enables this that's different than anything before is the AI models and backend infrastructure we've built to connect households, retailers and recipes together.

We're on a mission to connect the grocery industry, build healthy humans and end food waste. We just raised a $2.4M seed led by Mercury Fund and are looking to hire exceptional engineers.

You can find more info and links to download the app at https://cooklist.co or if interested in applying email hello@cooklist.co
It's a bad deal, marketed to ppl who either cannot do math or afford larger quantities
It seems like this design will make it very difficult to design cases. On most phones with camera bumps, the case ends up sitting flush with the bump and has a hole for it. Here the case would either have to go over the bump (adding thickness) or be attached only along the edge (easy to break)
Yeah, but I really don't get that you need to be "educated" to use a calculator - it's just something that's just too banally simple. It's definitely not a skill that needs to be explicitly prepared for high schoolers getting into college.

And to be honest, you don't really need one of those fancy expensive TI graphing calculators to do all those physics/chemistry problem sets. You just need a good-enough scientific calculator (for example, a cheap Sharp one you can get for $20 bucks) and there would be almost no difference in the time it takes to finish your homework.
Interesting point! We’re not looking to fool anyone. More so we’re looking to provide more personalized experiences that otherwise weren’t possible because of the scalability issue. Think Tony stark personally welcoming you to an Iron Man video game :)

Would you rather be told the content is generated before or after you see the video?
I know this is for a very old version of andriod, but man, it would be really nice if they just said 'android x has these spec requirements, you can try to update any device to any version at your own risk.

Why do smart phone manufacturers get to decide what version of andriod I can run?
No and I think the article is banking on this confusion.

Dollar General is like a micro walmart and stocks the exact same stuff for more or less the same prices. They are actually great little stores that, around me anyway, service communities that would otherwise have to drive 10+ miles to get what they need most of the time.
The Nexus 5X would be a perfectly usable model, but some fail over time due to a SOC with defective "big" CPU cores (IIRC).
I was a massive fan of red delicious as a kid... I remember I continued buying them up until about 5-6 years ago because I always remembered the incredible taste but it never seemed to match up with my memories. I read a similar article 5-6 years ago and that's when I finally stopped buying. Now I mostly buy Pink Lady or Honeycrisp. Although the new Cosmic Crisp apples are quite great too and they last forever in the fridge.
Is there really anything to update in the Roadster? It's very barebones.
Professions mandate training minimums per year in order to maintain credentialled status. They're low, sure, but they at least create a need for ongoing professional education.
This is assuming "mom and pop stores" are beneficial. We certainly like them when driving through picturesque small towns but I know a lot of people living in those towns that prefer an efficient supplier. They understand what they lose but prefer to save money on their shopping trips.
I was going to argue the same: This isn't Java vs Rust, it's the author's familiarity with Lisps not translating very well to less purely functional languages.

Writing an O(N^2) algorithm should give you pause in any imperative language, if you can spot the copy.

The author is clearly not a beginner dev, but the mistake here isn't really Rust specific, it's "vaguely imperative systems language" programming patterns
Highlight | Software Engineers (Mid-Senior) | Remote or Seattle, WA

At Highlight, we're building "The Control Center" for your app. We aggregate session replay, error monitoring, and performance metrics to help teams better understand usage on their web application. We're currently in private beta, but post product updates on twitter (https://twitter.com/highlightrun).

We're a team of ex YC, Google, and Microsoft alumni and we're very well funded. Job postings can be found at https://careers.highlight.run.

Feel free to email me (john@highlight.run) to get in touch.

Upcoming Projects:

- Moving from a single-stack to distributed systems on AWS
- Streaming data using WebRTC
- Building the best developer experience tools for the Highlight ecosystem
It would help because knowledgeable people would get to pick what software they run on their phones and iMessage probably wouldn't be on the list.
In some, everything costs exactly $1. But it's more common nowadays that they're just selling very inexpensive goods.
That, and inbreeding

https://www.scientificamerican.com/article/although-purebred...
https://www.instituteofcaninebiology.org/blog/inbreeding-of-...
Was there no demos to show off the chip?
Most of the laissez-faire fundamentalists I'm in contact with have been fairly silent on this issue. I'd honestly be interested to hear someone rationalize how it would be a good thing if everyone had to rent everything from BlackRock for the rest of their lives.
They sell stuff that is cheap but not everything is a dollar.
Never read Gaston, might have to look it up. But I love Asterix and Tintin, which I read while growing up in India.

Interestingly the other comics I read were Phantom, Mandrake, Rip Kirby, Flash Gordon - available via a local publisher, Indrajal Comics [0], that were sent to us monthly (or was it weekly) via a subscription. Got introduced to all the *men much later.

[0] https://en.wikipedia.org/wiki/Indrajal_Comics
Great example: in 2005 you could text 466-45 (Google) for weather and directions, but that service got canned by 2012 or so.
I think many believe that the dollar store preys on shoppers who may think they are getting a better deal, but don't realize that the unit price is not better for many items, and often in deceptive ways.
The opposite is a much more common occurrence. By reflexively labeling any criticism of Israel as "antisemitic", people shut down discussion without having to engage in the topics of settler colonialism or apartheid.

Frankly, this is one of the more frustrating aspects of my experience as a diaspora Jew: having to constantly point out that Israel != Jews in response to people who want to exploit my religious identity for their own ends.
For everyone worried about micro-crime the stores and insurance companies already have this priced into "shrinkage". No store can keep a 1:1 correspondence between items purchased and items sold at intended prices to customers and it's only best-effort to approach that correspondence. SLAs of 100% are unrealistic for either stores or customers. In this case the average SLA due to shrink is about 99% across retail sectors (1.38% shrink is the average, 1% the median) [0]. That includes a lot of intentional theft which dwarfs accidental over- and under- payment.

[0] https://www.bluecart.com/blog/inventory-shrinkage
I have never fully solved this problem via synchronisation that does a replication/pasting.

My current solutions is two-fold
On Android - Business Calendar subscribes to all
On Desktop - Fastmail

This however does not solve propagation of busy-status to other calendars.

As far as I understand the caldav standart is cumbersome and often misinterpreted by clients.
In an industry where the median tenure for a SWE is ~2.5 years, that's "doing no worse than the industry average".

Turns out upper management rates predictability quite high.
Star Trek TNG kind of lampshaded that in "The Chase", where its is revealed that alien species are similar and biologically compatible because they share a common humanoid ancestor.

https://memory-alpha.fandom.com/wiki/The_Chase_(episode)
Flightradar24 | https://www.flightradar24.com/

Flightradar24 is the world’s most popular flight tracking service. We track real-time positions of aircraft around the world through a network of 30,000 radio receivers (Raspberry Pi).

We are hiring for the following fully remote positions (Europe and neighboring time zones):

Front-end Developer (JavaScript/Vue) | Remote (CET/CEST +/– 3h) | https://careers.flightradar24.com/jobs/1235136-front-end-dev...
> create a homeland for the Jewish people

This is clearly colonialism by definition. It’s the entire story because there is no justification for oppressing and colonizing others, even if the people doing it also face discrimination. It’s not an excuse and shouldn’t be part of the conversation.
> You can stream all day and live in fantasyland.

I tried that. It soon becomes utterly boring, no matter how good the show is.
people have been predicting the end of Apple for 25 years. I've been there the whole time and have heard it all before.
I would love to see you success!

Do you have more technical details on your process? Did you publish anything? I try to dig more on your website but the content is rather thin (I learn more about what you are doing by reading your post here).

What are the by product? You mention cement and drinkable water, but there should be other byproduct to handle such as brime?
Twitter's Dorsey leads $29 bln buyout of lending pioneer Afterpay
Even if you get rid of FAANG companies, it's not like NASA is going to pay you more.

You just lose the choice to work at a FAANG company for 10x the salary...
I may be wrong but I believe the canada-eu and eu-japan treaties also protect most denominations of origin (or rather, most by value rather than by specific items, but San Marzano should be included).
And it kinda looks like a tennis strap?
Yes and that's true of ACLs as well which I think underscores my point: Questions should be an opener to dialogue. A topic, not a conclusion.

Discussion of these whys and hows and whens is the most valuable part of an interview and will more accurately illustrate depth and breadth than any number of fixed questions.
I don't recognize this at all in my country (Netherlands). I have 2 interviews max. My current employer I actually had one interview with the boss in a restaurant. We had a nice chat and he offered a job on the spot. I signed and never left. As I am a consultant I ofter do interviews and I always stear the conversation to the most important part of IT: communications.
This is extremely fuzzy line and pretty much nobody agrees where offense stops and hate starts. It's dishonest to try to distinguish a line between the two because it will inevitably move over time at the whims of the moderators.
> Pixel 6 will have the most layers of hardware security in any phone**.

> **Based on a count of independent hardware security subsystems and components.

That does not seem like a meaningful measure for security.
For anyone reading this thread who still has an open mind, I recommend this 2009 episode of the EconTalk podcast that talks about actually working at Walmart and how supposedly-great the "mom and pops" were before Walmart took over:

https://www.econtalk.org/platt-on-working-at-wal-mart/

The truth about the mom and pops is that they had very limited selection, high prices, long delivery times, and often were owned by the local business man rather than a decentralized group of independent business owners. I recommend listening to the podcast before knee-jerk deciding that you know everything.
Early creatures had mady different body plans. We have 4 (all vertebrates), 6 (insects), 8 (arachnids) and multilegged creatures (millipedes), as well as legless creatures like snakes (who had 4 legs before they lost them).

It seems that vertebrates have certain period when this layout was 'cast in stone' [1]

[1]: https://biology.stackexchange.com/posts/21793/revisions
Is this really generalizable to all nations? Or is it the US treatment and perspective in play?

US in general not being stellar in mental health, but also having a very specific cultural ground, it would surprise me if this had less to do with athleticism and more with not being adequately trained in having robust structures for meaning which can contextualize these deep-focus targets.

Many of what is described about gold medals or competition in general can be applied to extreme career or monetary focus too.

Besides, US is the land of modern superhero myths with intense projections on any avatar that can be worshipped as one. That can be a projection too much for most real people to bear. They simply can’t shoulder the lack in an entire nation’s “meaning” needs. Blind leading the blind, we devour what we want to worship because they can’t get us out of this mess either.

With Biles it was a bit different but also not, she had been on prescription amphetamines with medical use exemption, but they are completely banned in Japan so she had to be off this time. It is not up to me to question the particular diagnosis but even a slight misdosing can be very performance enhancing for amphetamines; this is a territory that should be very familiar to some US programmers or college students.

Nonetheless the effects of intense, and maybe unearned, hero projections was again we getting lost in finding our way to human excellence.
Google PR didn't announce this, penguin_booze did.
> If people have learnt not to report crimes (because it makes no difference)

I call bullshit on people saying there's widespread crime not being reported. If your car window got smashed if you are either:

- A Lyft or Uber driver

- Your car was a rental

- You have a lease on your car

- Have "premium" or expensive home or car insurance

you get actual money from filing a police report from your insurance provider.

If your gadgets get stolen in the street a lot of credit cards or stuff like Apple care, and also some home insurance, will cover part of getting a replacement. But you also have to file a police report.

I really doubt most people are "learning to not report crime" when they literally can get payed for it.
Is this the same ESR as http://www.catb.org/~esr/ ?
Whats interesting to me is the transition period in screenwriting. From the early 2000s to the early 2010s, characters would be shown carrying phones but would still get into situations which could be solved easily with their mobile. But they’d act as if they didn’t have it. I found interesting watching the writers adjust their tropes over time.

It’s also interesting to me that this problem, of storytelling in a world of instant communication, was first addressed in the original Star Trek. Various adventure story tropes had to be adjusted for communicators and transporters. Roddenberry et al admitted it was a headache sometimes.
The Balfour Declaration is the foundation of Israel, of course it should be the main point of any discussion of the region.
> Save up and buy something that will last.

Unfortunately, just because somethings costs more doesn’t mean it will last more. Maybe in the past there were brands that prides themselves on durability, but now most of the stuff seems not to really consider durability and longevity, and the financially smart move might just be to buy the cheapest thing that works and plan on replacing it when it breaks.
Unfortunately for them, many are quite tasty.
Is this a joke ? The news media seems to be conflating Internet with web. The whole idea of the internet is decentralization, “PBS for the internet” in my opinion would look like the “Great Chinese Firewall”

https://www.wired.com/1997/06/china-3/

And eventually like this
https://www.amazon.com/Perfect-Police-State-Undercover-Surve...
You can think of different football styles as differents areas of a multidimensional space. Depending on your players strength, an area is better suited for your team. But the thing is, each of those area has a local maxima.

You excelently described barcelona style circa 2010. But to play it and expect to win you need Iniesta AND Xavi BOTH. because you have to be able to take advantage of those 4 to 8 opportunities in a match against a top opponent. Those player must have the psychological strength to not flinch when the opportunity present itself, must have the technical ability to execute what they want and you need at least 2 of them if you want to pursue intelligently whatever tactical advantage you gain. In the spanish team you had iniesta, xavi and silva.

Those player are exceedingly rare and are not simply good technical players, the share a common understanding of the "chess game" they are playing . The danger is if you don't recognise you don't have those player, possession football puts you at a disadvantage against a team with offensive talent, organisation and defensive will ! ( think France 2018 )
Is There a Liquor Shortage Looming in Your State?
I'd struggle to code a five-line program that'd compile in languages I've written tens of thousands of lines of code in, in Notepad, that'd actually compile & run on the first try. I might fail that in a language I was writing last week. I mean, I might manage it, but it'd be sheer luck. Decent chance I forget, in the moment and under pressure and without examples to crib off of, IDE support, or the ability to check the manual, the correct way to do comparisons for all types, even, or basic stuff like how to print to the console or what this language's sugar for a "for-each" is, or whether it has such sugar. Reading input? The right calls for file IO? Anything more complicated than that? Oh god, there's no way.

Luckily I never fucking ever have to do that in my actual job. If I did, I might well get good at it. Since I don't, I... don't. I also haven't gotten much better at driving semi trucks or framing a wall, in my over-a-decade career writing software. Go figure.
I’ll have to give that one a read!

For sales and marketing I definitely see HN crowd cringing a bit. However there are a lot of applications beyond such as onboarding, coaching, e-learning where we can build a sense of connection that otherwise wasn’t possible.
Please stop adding to flamewars, and don't post like this to HN in the future, regardless of which side you're on or how right you are or feel you are.

https://news.ycombinator.com/newsguidelines.html