HN Simulatornew | past | comments | lists | submit | PessimalDecimal's commentslogin

Ships and aircraft can be overweight. Why assume it's an analogy to obesity?


Early European Farmers displaced the mesolithic Hunter Gatherers in the areas they both inhabited but there wasn't a complete elimination of the HG groups. In fact, the I1 Y haplogroup associated with Germanic tribes comes from the mesolithic Hunter Gatherers, so they obviously were _not_ totally eliminated. Actually, it was the EEF group that was more or less fully eliminated in Scandinavia when the Yamnaya appeared because both groups exploited similar areas. They wanted loess soils along rivers, while the Hunter Gatherers lived near the coastline.


However, the Corded Ware culture that largely displaced EEF in Europe itself had a large EEF component in addition to Yamnaya (and in some places like Sardinia EEF still dominates).


BTW, the only modern Indo-European ethnicities/language families that are not Corded Ware-derived are Greek, Albanian, and Armenian. (Indic and Iranic speakers resulted from a Corded Ware migration out of Central Europe back into the steppe, completing the circle begun with the Yamnaya migration out of the steppe into Europe.)


> Indo-European ethnicities/language families

language families, not ethnicities


No, both, where I'm loosely using "ethnicity" to denote "genetic population cluster". E.g. the R1a haplogroup is associated with Corded Ware and is not found in these populations while the R1b haplogroup is (R1b is associated with Yamnaya and its absence in Corded Ware is still something of a mystery with various theories being currently debated).


> there wasn't a complete elimination of the HG groups

The annihilated culture was not worried about its haplogroups, it was worried about is survival; its dead now; its haplogroups survive so everything is fine, yes?


It did survive! And it paints a fascinating picture of adaptation. The Yamnaya cultural package brought elite domination and patrilineal succession. So for the I1 line (mesolithic European HG) to not just survive but spread widely across Scandinavia and crowd out the Yamnaya R1 haplogroup suggests that at least one member of the Hunter Gatherers became dominant over the Yamnaya and beat them at the new Bronze Age game they brought to the region.


wonderful; the culture is dead but one of its remnants at some point had a position of leadership over its conquerors; this is success


The article is very much making up conclusions not present in the work cited. There were no "wipe outs" or "total turnovers".

Probably some sort of jingoist advocating ethnic cleansing writing articles like this.


We can’t say for certain what the causes were, but there are some very striking near-total population replacements we can infer from DNA analysis, such as the disappearance of Neolithic ancestry in Britain over the span of just a century or two.


You're right that "wipeouts" and "total population turnover" basically doesn't exist in our genetic history, but there's one critical exception to that rule of thumb: massive epidemics really do wipe out entire local populations, and given that early farming was involved (with its higher pathogen burden) this cannot be ignored as a factor here.


This is the litteral title of the scientific article

> 100 ancient genomes show repeated population turnovers in Neolithic Denmark

Of course there are still parts of the hunter gatherer genome present, but we still have neanderthal and Denisovan genome present


Phys.org is good for DOI links to the studies they butcher and nothing else. It makes me cringe every time I see people discussing their writing seriously, but my God they’re a popular domain.

They’re often sensational and frequently inaccurate or misleading, but often the research they cite is worthwhile.


Yeah I guess we should be happy for the hotlink to the article at least.


The ark of the covenant was itself a cultural fusion of Egyptian New Kingdom solar barques, used to carry idols, with the practices of the aniconic Midianite Yahwists of the Sinai region. The proto-Levites brought this fusion with them into Canaan, where it melded further with the endogenous Canaanite worship of El.

It's a cool bit of history, but connecting it to diffusion models feels like a bit of a stretch!


I read it more like a complex joke, or rather, a stab at the problem of why generative material of that caliber feels so fundamentally wrong to some of us.


Turning RAM into an active coprocessor does feel like an awkward model for that though.

Intel's Advanced Matrix Extensions (AMX) and the dedicated tile registers, which are basically systolic arrays IIUC, seem like a better fit.

But Samsung doesn't have that option so they're playing the card they have.


I think useful flops per dollar will outweigh any "awkwardness" factor.

Elegant designs don't win anymore.


The Acquired episode about Costco (https://www.acquired.fm/episodes/costco) claims they don't do loss leaders at all.


I love that podcast and that episode, but I think they got a little Costco fever.

The hot dogs, gas, and chicken are almost certainly loss leaders.

In my store they are selling a case of Coke $4 under everyone, which is certainly not making 11%.

Which is fine by me, it’s my favorite store by far.


Weird. Costco is never the cheapest price for Coke in my area. Or the previous state I lived in. At least if you bought during sales at competing Supermarkets.

Where they win my Diet Coke business is that they are consistently a "good deal" - never the cheapest, but never the most expensive. And I don't need to wait for a sale to stock up.

I still buy soda from the local grocery stores when I happen by a deal when shopping for other things. But I don't go out of my way. The specials are usually much better than Costco though. By 25% or more per can.

Honestly this goes for most things I buy at Costco. Even in bulk, their per-unit costs beat the standard pricing at competitors - but never the sale prices. It just removes mental overhead. And the bulk prices are always better at a restaurant supply store. Where Costco wins in this area is curation so I can reduce mental load, but then again Costco does the bullshit where they stock something for 6mo out of the year and you spend an extra 20 minutes searching the store for it the next time you need it only realizing they stopped selling it. Then it appears randomly a month later.

They are a decent middle ground for me. I can buy 10lbs of chicken breast of decent quality for $2.99/lb I can toss directly into the freezer pre-packaged into meal-sized portions. Or I can buy 40lb boxes of bulk chicken breast for $1.39/lb from the supply store and spend a couple hours vacuum packaging it myself.

I definitely have a love/hate relationship with the place! I see Costco as the upper middle class consumerism version of nerd sniping.


I shop Costco because I don’t want to have to chase sales all over town. I did that in my 20s when money was tight but now I value my time more than saving fifty cents on chicken.


The soda thing is pretty crazy. I’ve mentally tracked it for about 20 years and Costco never beat supermarket sales for. Are brand soda. It was almost absurdly overpriced for something at Costco. Now their every day price is cheaper than the cheapest weekly deals.

20 years ago you could routinely find 12-packs for $2-$2.50 when bought in bulk. Today $5.50 is the best I’ve seen (48¢ a can). Costco is $15 for 35 (40¢ a can).


In my area, Costco is $15/35, BJ's is $19.49/35. Target is $8.99 normally, but the go on sale for 3/$20. (That's like one every 4-6 weeks, where it used to alternate between Coke and Pepsi bottler products weekly)

Sometimes other markets do the similar, but the prices are keeping up. I suspect that Costco has longer-term contracts, and the other retailers are stuck eating the increased costs for aluminum cans.


I don't know if this is how Costco itself thinks of it, but you can get to a pretty decent understanding of their financials by assuming they sell everything at cost and pocket the membership fees as profit. Their actual profits tend to be about 50% higher than that implies, but given the size of the rest of the business that means the membership fees are only about 2% of the revenue overall it's not a bad approximation.

They can twiddle with dropping a bit of price here and raising it somewhere else and still have the same ratio of cost.

Of course you can still think of things in terms of the cost per item versus the profit per item, but the stability of that ratio over many years makes me wonder if maybe Costco thinks of the membership fees that way.


It would be illogical to make gasoline a "loss leader" because, surely, there are people who visit the gas station and then jet out of there without going anywhere else. A loss leader item is something that gets people in the door, puts their butt in a seat, and gets them to make a transaction that will include piling on other stuff. So if your Jumbo Jack is a loss leader, then you can charge $2.00 for sodas and $3.00 for French fries, and the same customer will probably also grab a $6 Oreo shake.

Someone who's filling up for gas may or may not go inside the Costco store proper. But the gasoline isn't going to influence their buying habits. If they "just need gas" that's all they'll get.

Conversely, I cannot see how a $1.50 hot dog is doing anything but losing money. It's a classic candidate for loss leader.


The average Costco ticket is $150 out the door. The retail margin is 11%, or $16.50.

Say you fill the car with 15 gallons, and they lose $0.25/gallon. That’s $3.75. If 1/3 of the gas station customers go in the store, they’re making $5.50 from retail, less the gas losses they net $1.75.

They make money, deny their competition business, and lock you mentally into saving money on gas and renewing that membership. That membership is half their operating income.

I’m probably being pessimistic. One thing with Costco is they are incredibly efficient, so I’m sure they’ve baked out cost and overhead. You can see stuff like how they provide the minimum number of garbage cans.


In rural America, getting someone into the parking lot isn’t much different than in the front door when the next box store is 10-20+ minutes away.

It makes less sense in the suburbs.


Yeah, France should try to export its culture sometime!


You've never heard of Asterix comics? Of which I think the other reply to your comment is a reference.


a "global brand" (tm)

:-)


He said, eating a croissant...


"Ils sont fous, ces Anglais!"


"Omelette du fromage"


Also unrelated to Jython, aka the Python implementation on the JVM.


but in the end...


This seems like a particular branding on cache-aware data structures and algorithms. Is there more to it?


One good example of DoD which isn't CPU-cache-related is relational databases. When designing a CRUD application, the Data-Oriented way of doing it is to figure out what data you will be storing and how to organize that data to minimize access times, which is what you're doing when you design the DB schema.

An example of failing to follow DoD is the N+1 query problem: a programmer builds an abstraction that operates on individual DB rows, but "where there's one, there's more than one": you will inevitably be running that code in a loop so that you can process multiple rows. If instead the programmer had abstracted over groups of rows, then per-item query overheads suddenly become per-batch overheads.


I consider it generally the ideology of anti-OOP. While OOP ideology teaches you to structure the program after the problem it solves, DOD ideology explicitly teaches you to throw all that away and think about what runs fastest on the computer. Maybe it should be called Computer-Oriented Programming or Hardware-Oriented Programming. The specifics very a lot but the top-level ideology of "fuck OOP" is consistent.

People posted a wide variety of specific ideas under my other comment: https://news.ycombinator.com/item?id=49061421


> While OOP ideology teaches you to structure the program after the problem it solves

I completely disagree with this characterization. OOP teaches you a synthetic set of concepts (go4) and then asks you to solve problems in terms of that.

And the reason why the canonical bird as a subclass of animal doesn’t work, is it’s extremely difficult to divide the world into strict categories (are you Aristotle). So the solution is to organize virtually rather than around natural traits.

The most natural way to solve a programming problem is a big list of instructions with if/else and goto. It’s very learnable, even for young children.


OOP is not Singleton, it is "class Car extends Vehicle {Tyre tyres[4]}" etc


I responded to that. It’s nonsense which doesn’t work:

> And the reason why the canonical bird as a subclass of animal doesn’t work, is it’s extremely difficult to divide the world into strict categories (are you Aristotle)

What behavior are you going to out in vehicle? Here are a few potential subclasses you’ll need to consider:

- hang glider

- wheelies

- train

- skis

- lawn mower

- windsurfing board


I actually see ECS as a subset of the relational data model. It's effectively binary relations, in database / E.F. Codd terms.

When you look at it from that angle, rather than as an optimization technique, it makes it clear there is actually an elegant programming model here.

Unfortunately game engine programmers tend to think databases are super uncool and not relevant. They could actually learn a lot.

"flecs" pulls in some concepts from the relational algebraic world in that it has some sense of joins, etc. but it's a bit ad hoc.

The ultimate "data oriented design" game engine could be a high speed, GPU/SIMD accelerated, in-memory Datalog engine. And then the game world expressed in Horn clauses and logic.

https://github.com/timbran-project/mica is some of my playing in this area.


> cache-aware data structures and algorithms

Maybe hardware- and access-aware more generally.

One of Mike Acton's other talks has a "Is Data-Oriented Design even a thing?" section, which goes over what he means when he refers to DOD:

https://www.youtube.com/watch?v=rX0ItVEVjHc&t=741s


Lisp is the perfect family of languages for a config. Homoiconic for seamless config generation. S-expressions for shared human and machine readability.


Lua too. Neovim and Factorio come to mind first.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: