For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | LorenPechtel's commentsregister

And Factorio belts can have stuff added or removed, also.

The thing is a belt is modeled in terms of deltas rather than positions--there is no need to move each object each cycle. An object has a distance from the object in front. When the belt moves forward this relationship does not change--no need to update every pointer (and there can be a *lot* of belts in the game!) If the head of a belt can't move you only need to update one delta--the gap between the first free item and the stuck item in front of it and that value can already be known, no need to search. If you move the free item up against the stuck item you walk down the belt to find the new first free item.

You only need to modify the belt model if something is either added or removed from the belt. Objects get removed only by inserters, inserters examine only one cell of the belt, grabbing anything in that cell that matches what they are willing to grab (if they are feeding a machine they will only grab what the machine wants, otherwise they'll respect the filter list assigned to them.) When something gets added to a belt you add it to the list and update the delta of the object behind. No general update of the belt is needed in any situation, any more than you need to do anything to the items in a queue as you add and remove items.

Factorio is a game about optimization and the developers did a very good job of applying that idea to the game math. That is, until the masses of asteroids in the Space Age DLC.


Al Jazeera is effectively a terrorist mouthpiece. They lost their independence long ago.

Israel is a nuclear-armed state. The world is in effect asking them to commit suicide. That's why we have been involved for the last 50 years--by siding with them we keep those bombs in their silos. Most of the Muslim world has come to the realization that coexistence is the right answer, but the Islamists have not. They'll keep pushing until they go up in a mushroom cloud.

Lest you blame the Jews we see the same sort of thing happening with India/Pakistan--fortunately the Islamists do not control the Pakistani bombs, but they keep trying to egg on war with India--a war that could only end with the nuclear destruction of Pakistan. And the Islamists have enough power that Pakistan can't just go after them without causing a civil war. That's why the mess in Afghanistan--Pakistan was exporting the problem. And now it's turning on them--now that the Islamists have a country they control they're looking to take Pakistan.


Much more costly--a defeat in effect hands the world to the Iranian-backed terrorists.

Afghanistan was a 20 year long war. It was more costly in terms of troops, material etc.

Why would ending the war mean handing the world to the Iranian regime? That seems exaggerated. The iranians will charge a small toll for oil passing Hormuz, why would the US care? They have oil.


This isn't about the straight. It's about the Iranian-backed terrorists all over the region. It's about the genocides in Africa. Most of the horrible things in the world outside Ukraine are being instigated by Iran.

This isn't about the budget. It's about destroying the protection of the lands. That's the real prize.

Don't look up.

It's easier to deny bad things than it is to face problems with only bad solutions. And anyone who tries to point out the reality will be called a defeatist.

I have had many discussions over the decades, presenting hypotheticals with no good answer--and I have found very few people who would even try to address the scenario as presented. They're always "misunderstanding" it in some fashion which allows a good outcome--and such "misunderstanding" can never be corrected because they are unwilling to contemplate the hard choice even when the choice is the best for all parties. (The assault team has taken the terrorist base--but there's a little kid reaching for his bottle that's holding down the deadman on the nuke. Nobody can reach him in time, do you shoot?)


Because the danger posed by a fairly low energy pressure vessel is highly related to it's failure mode. That's why OSHA has rules about what compressed air pipes can be made of--it's not about the pressure resistance, it's about what will happen if one fails.

It's likewise why most military boom is mostly not actually boom. With artillery you obviously need a very tough case, but standard aircraft-dropped iron bombs are mostly that: iron. They don't need that kind of strength except specialized bunker-busters, they're built that way because for a given weight of bomb you'll do more damage by throwing bits of bomb casing from a smaller charge than from a bigger charge without the fragments.


Yup. If you don't have armor around you the only real defense is to assume you are invisible unless you know they've seen you or can't help but see you (for example, going in the traffic direction in front of a stopped car that's waiting to go--they're looking at the cars, they'll see anything else coming along.) Doesn't matter if you have wheels or feet under you, you still are invisible.

Second the fact that it's only useful for polite notice. Emergency, someone's already not paying attention and it's probably the car.

Car horns are useful warnings because speeds are higher and thus stopping time is longer--more opportunity for someone to hear and react.


Yeah, the article is saying core body temperature changes by 2C.

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

Search:

HN For You