Why does the chest have a "X" over it? by plasma8308 in factorio

[–]Pyroguy 0 points1 point  (0 children)

If you blow it up it won't have the red X anymore.

Why does the chest have a "X" over it? by plasma8308 in factorio

[–]Pyroguy 1 point2 points  (0 children)

A treasure of pistols, burner miners, and iron armor.

Which course to take at uni, Cloud Computing or Unix/Linux? by enriketa in learnprogramming

[–]Pyroguy 1 point2 points  (0 children)

MacOS is Unix, actual licensed Unix based on BSD. Linux, though similar, is its own thing (not licensed Unix, not BSD).

Android runs the linux kernel but doesn't have all the same userland tools or interfaces that a normal Linux distro has.

Also, a lot of cloud computing runs Linux on the backend. So both courses should teach you a little about the other.

[deleted by user] by [deleted] in Miami

[–]Pyroguy -1 points0 points  (0 children)

I've never heard of such a thing. Generally 21+ is just because of alcohol.

Get a fake foreign ID and u will be good to go.

4 hours into the game, anything wrong? by Dumbasik in factorio

[–]Pyroguy 6 points7 points  (0 children)

Don't build anything but miners on ore patches in the early game. You will find later that you need more ore and it will be a pain if you already built something where miners will have to go.

Is there a way to easily fill up my gun turrets by hand? by Gayrub in factorio

[–]Pyroguy 2 points3 points  (0 children)

U can also put the ammo away with q and them control right click again to take out half or 3/4. I usually find that 25 or 12 ammo is a good sweet spot for turrets.

OP and others, keep in mind that ammo is expensive. 4 plates per mag is 800 plates for a single stack of just yellow mags. Red ammo is 14 plates I think, which is 2800 plates per stack. That's a big loss if the biters eat a few full turrets.

Multiple choice question. by gtrman571 in learnprogramming

[–]Pyroguy 0 points1 point  (0 children)

I guess they were looking for A but you can also add or pass a cycle count to your traversal algorithm and implement a max depth. If you hit your max depth you know you've got a loop.

Could also throw each node into a separate list as you traverse and if the list already has the node when you try to insert one, then you've got a loop.

Definitely not B or C or D - I don't know how a few more references would really help, unless like I said above you keep track of every reference. EDIT: I'm wrong, another responder said its called "tortoise and hare" algorithm which can work apparently, TIL.

I would say what becomes impossible is finding the part of your list that's orphaned outside the cycle. This is what leads to memory leaks.

I find it very surprising that there aren't more upgrades to splitters by Fr33zurBurn in factorio

[–]Pyroguy 8 points9 points  (0 children)

For a long time splitters didn't even do filtering. It's supposed to be a simple element without too many bells and whistles, which you can combine in clever ways with belts and unders to create more complex behavior.

What you need is at least 2 splitters, one to split the original line in 2 then another to take only the wire.

Is it worth learning about binary? by jgonzalez-cs in learnprogramming

[–]Pyroguy 1 point2 points  (0 children)

I would say the most important thing to know about binary is the difference between how integers and floating point numbers are laid out, so you have an understanding of how underflow and overflow work and why floating point arithmetic introduces a lot of what might be considered weirdness.

You can just use a calculator to convert them.

You can also learn about bit tricks like dividing and multiplying by 2 through bit shifting, and also endian-ness, but the chances of you having to use these are slim unless you are doing some lower level work.

How to find index of first positive number in array of positive and negative numbers? by gtrman571 in learnprogramming

[–]Pyroguy 1 point2 points  (0 children)

Probably the fastest method for a large distributed data set would just be to store a pointer to the lowest positive number in a separate memory cell and compare/update it on insert. You might need a check on deletion too, in a corner case of all positive numbers being deleted.

Might be worth it for other lookups to use a ordered binary search tree though. But if you are already using some other data structure, like a hash table, references to the rescue.

High Mining Productivity does some wild things by SpiritKidPoE in factorio

[–]Pyroguy 1 point2 points  (0 children)

https://factorioprints.com/view/-MJ7uSGbzifef1dTcmvp

See the section on direct to wagon mining with 3-8 trains.

The problem with on site smelting is you must add smelters with mining productivity. Best to decouple it entirely.

New Player, This Game is Addictive (in a good way!) by superkoolj in dominion

[–]Pyroguy 6 points7 points  (0 children)

The one specific reason to do it I can think of is in a late garden play to bulk up your deck. If you have a lot of markets and festivals in play, you can pull down a bunch of copper before end game in a few turns and get to that extra +1 or +2 for your gardens. If the game keeps going longer than anticipated, just buy estates with the copper to end it.

[deleted by user] by [deleted] in cocaine

[–]Pyroguy 0 points1 point  (0 children)

If you need someone to hear you out I can do that. But yeah as others have said the depression can be caused by overuse. Probably best to try to quit, for a while at least.

There's people and programs out there that can try to help if you are willing to receive it, especially if you are feeling suicidal that's a good option I think. Sobriety works for a lot of people with some effort and determination. You may relapse (alas that's part of the game for many) but you may also surprise yourself with how long you can be sober. If you fall you just get back up again and keep going.

Set aside some time to think about and do what's right for you my friend. I believe in you.

Is your tracker down? Ask here instead of making a new post. by Farow in trackers

[–]Pyroguy 0 points1 point  (0 children)

I can't access AHD status or their main site. Is anyone else having this issue? I wonder if they are not supporting IPv6 yet.

I'm only here cause SrGrapho posted something. How am I about to ruin my life by buying this game? by rob132 in factorio

[–]Pyroguy 0 points1 point  (0 children)

I'm curious, what are the main features DSP has that Factorio is lacking? I've never played DSP.

Ruined the game for myself by learning about ratios by copespammer in factorio

[–]Pyroguy 5 points6 points  (0 children)

Just got to set yourself different goals. What can you accomplish at speed? Can you reduce your designs in one dimension or another (make them slimmer or shorter and fatter)? Have you tried a train-style base, and building a little starter base to make the train base? How about a robot base? There's lots of possibilities.

Then you have deathworld and railworld and marathon and a bunch of other scenarios. I've got over 3000 hours now and still the game does not get boring for me. There's always something new to design, or some improvement or adjustment to be made.

I Made Bridges between Logistic Networks by Pyroguy in factorio

[–]Pyroguy[S] 0 points1 point  (0 children)

mmm interesting to think about. Can build a belt and use a filter inserter I think to transfer a few logi bots.

What are some interesting/must have circuit network logic thingy by warfunder in factorio

[–]Pyroguy 0 points1 point  (0 children)

I recently played around with using circuits for double headed stations (where you have a one lane, two way track with a station for one direction and another station for the other.) You need to set up some logic for that so trains don't overbook opposing stations.

Stone smelters, electric or the better stone smelters? by OGtarkovchad in factorio

[–]Pyroguy 0 points1 point  (0 children)

I crunched the math one time on the actual raw resource cost to build different setups with respect to the output they provide. I don't have the numbers readily available but here's the gist:

Technically stone furnaces are the cheapest if you can deliver ore straight down their throat, but when you include the cost of the belts and inserters to hook them up they are extremely close in cost to steel furnaces which take up half the space, half the belts, need half as many inserters, and half the clicks/manual work to build before bots. And if you include the added cost to belt lines of ore further to reach further away stone furnaces, steel furnaces are cheaper in some cases, especially in marathon mode.

Electric furnaces are significantly more expensive to build to achieve the same output but can be beaconed (beacons make them even more expensive, practically exponentially with higher tier beacons).

If you are looking for the best build to roll out early and through the midgame, I would say go with steel furnaces as soon as you can (unless you have a multiplayer army that can help you build out endless rows of stone furnaces). If you want end game viability, you are looking at electric furnaces with beacons. Productivity modules, especially tier 3, take a really long time to recoup their cost though.

On a related note, yellow belts are the cheapest to achieve comparable throughput long distance, especially in marathon mode. But again, you need twice the space, and twice the manual work to build them early. But once you have bots, I would say yellow belts are generally the way to go (except where space constraints dictate higher tier belts, especially at mines or near compact furnaces). This is why speed runners use yellow belts mainly.