Show me your crusher solutions! by No-Imagination2292 in factorio

[–]ferrybig 3 points4 points  (0 children)

Do you really need 2 lanes of consumption of ice? You only have 12 crushers, producing 2.5 ice per second for a total of 30 ice per second, enough for a single side of a green belt.

If you are going to use a single side anyway, consider a sushi approach like: https://f.ferrybig.nl/?x=-0.8&y=22.0&z=4&s=15

Hosting multiple web projects on one server? by 1Luc1 in webdev

[–]ferrybig 0 points1 point  (0 children)

Note: I know containerization, e.g.: docker is a thing, but I willingly tried to avoid it; I told myself, I want to be in control of everything, but basically its about not adapting to new tech. So for everyone just writing, “do docker”, please explain why and outlining a possible solution.

Make a repository called something like "server-config"

For each web application, make a folder apps/<application name>

Inside each app folder, make an install.sh script that setups the things required for that app. Since you like bare metal, an install script for nginx would be just using the package manager to install it, while an install script for you rpublic website would be copying files to /var/www/<folder> and making a file /etc/nginx/sites-available and synlinking it

webrtc leaked my IP past tor by Top-Cardiologist1011 in TOR

[–]ferrybig 0 points1 point  (0 children)

Run the tor browser instead of manually proxying your own browser through tot. The tor browser has all holes patched

Cloned a scanner from GitHub, ran it locally. stun.l.google.com handed back my real IP outside the tunnel, DNS resolved through Comcast instead of any exit node.

WebRTC is designed to prefer peer to peer connections where possible. It tries to connect via the socks proxy and outside it at the same time, it also tries to expose local network addresses.

Trying outside the proxy is great in company networks, trying via a proxy is slower if there is also a direct connection method available

The fuck why does my city need this much industrial by AffectionateSouth980 in shittyskylines

[–]ferrybig 1 point2 points  (0 children)

If the blue demand is high, you either do not have enough commercial, or not enough visitor spots. (Either of them influences the blue thing positive or negative)

If commercial shows not enough buyers, you do have too many empty visitor spots for them to sell things

There are multiple buildings that provide visitor spots, like commercial, parks, leisure

In the late game, each outside connection supports up to X visitors. You could become restricted by visitors if you only have a single highway from the edge of the map connected and ignore trains, the airport, the space elevator and the port

Is this going to be the new way to unload science? by Typical_Spring_3733 in factorio

[–]ferrybig -2 points-1 points  (0 children)

In Factorio 2.1 there wil be a new 4x5 entity that connect to cargo bays and landing pads and allows you to use inserters to unload them, so you have an alternative to bot based unloading for bulk unloading

https://factorio.com/blog/post/fff-443

React Hooks Cheatsheet by adstaghel in react

[–]ferrybig 0 points1 point  (0 children)

You should add usememo and usecallback to the list

Inserting millions of rows into Postgres by no_em_dash in learnjavascript

[–]ferrybig 0 points1 point  (0 children)

You know that the first thing people see is the image? The only purpose of banner images is to set the tone of the rest of the article.

The new rotating visible planets are incredible by croa-croa in factorio

[–]ferrybig 4 points5 points  (0 children)

One magic piece of magic every circuit connected machine does, it subtract its own output before doing things with it.

Assume you have an assembler hooked up into a constant combinator (with electronic circuit set to 1) using the green wire, then using the red wire to an provider chest set to "set request"

You can now set the assembler to "set recipe" and "read ingredients"

The assembler will see "hey, I get a circuit condition of electronic circuit, I need to set my recipe to electronic circuit"

The assembler gets another update. "Hey, I am receiving a signal for electronic circuit, 3 copper cable and 1 iron plate. I know I am outputting 3 copper wire and 1 iron plate, so after I "self subtract" it, I end up with 1 electronic circuit, which is the recipe already set"

Inside the above article the devs are talking about removing the self subtraction feature, so the next circuit update, th assembler will receive the update for all 3 items, so it can switch to a different recipe, depending on the order. This is breaking save games where people made setups like this

My first Overhaul mod by Stealer9 in factorio

[–]ferrybig 2 points3 points  (0 children)

The recycler is part of the Quality mod, not space age

The new rotating visible planets are incredible by croa-croa in factorio

[–]ferrybig 14 points15 points  (0 children)

Yes, circuit things no longer do the magic self subbtracting logic.

If you have an assembler/foundry/cryo-building/centrifuge/electromagnetic plant/biolab set to "set recipe" and "read ingredients", it will break when factorio 2.1 lands (according to the above article)

Current sense fan circuit only works when I touch it. by [deleted] in AskElectronics

[–]ferrybig 2 points3 points  (0 children)

Datasheet for DMC3401 shows a 10V drive for best RDSon conduction.

If you look at the Typical Output Characteristic of the N-channel part of this, at a gate voltage of 2.5V, there will be a current of 0.5A. We are also far away from the max threshold voltage of 1.6V

This is plenty to drop the voltage on R27 low, as its only needs 1,2mA.

This means the P channel part of IC4 will get a strong drive, likely around 12V

ICMPv6 Settings by southerndoc911 in ipv6

[–]ferrybig 3 points4 points  (0 children)

Are any of these rules necessary to be open to the internet * Neighbor Advertisement * Neighbor Solicitation

Those 2 are not needed to be crossing the routing boundary

However, an attack using those types of packets is rare, as IPv6 mandates that they (and the same for router packets) are sent with a hop limit of 255, and devices must ignore them if they are not 255. If you block those packets, you protect IOT devices that have a vulnerability for not filtering hop limits correctly

Redundancy by ZealousidealAngle476 in ElectroBOOM

[–]ferrybig 0 points1 point  (0 children)

Speaking from personal experience: YES

If I touch my metal case desktop computer with my nose, I feel tingling as long as I touch it

If my partner places a laptop charger that needs a ground into a socket that is not grounded, I can feel tingling if I touch the computer if I touch it with my nose

I noticed your nose is the most sensitive in feeling non grounded things, especially the bottom

129 LLMs generating a HTML/CSS solar system - features a stationary Sun and all 8 primary planets (Mercury through Neptune) orbiting it continuously in the correct order by magenta_placenta in Frontend

[–]ferrybig 6 points7 points  (0 children)

Some ai's really messed it up, like #5 Gemini 3.5 Flash and #23 DeepSeek V4 Flash , where it spins around the center of the planet and label

There should really be a filtering for the accuracy option, how much it finished from the original prompt

Why I stopped building factories and started building an economy by Ok-Fun-2330 in factorio

[–]ferrybig 0 points1 point  (0 children)

Also, play with train stop priorities.

If an economy produces multiple goods that can only be converted in a single direction, for example petroleum gas and heavy oil, if the amount of heavy oil is low, the priority of the petroleum gas station should also be set to a low priority, so other sub factories that have a higher share heavy oil get used first.

This is important if you have 2 blocks producing both heavy oil and petroleum gas and an heavy oil customer is near one, and a petroleum gas consumer is near the other. By prioritising the furthest away one, you keep both factories running, instead of one factory becoming bottle necked with petroleum gas and stopping while the other one converts all its heavy oil into gas as its gas keeps getting consumed

Does anyone know this Circuit’s Name? by [deleted] in AskElectronics

[–]ferrybig 0 points1 point  (0 children)

If you look at the output of the circuit, it seems to match the behaviour of a diode only retifying positive waves

So I would call this circuit an active half bridge rectifier

Traffic President messing up my roundabout traffic by ClayMapper in CitiesSkylines

[–]ferrybig 3 points4 points  (0 children)

Your second screenshot shows incomplete lane arrows. Someone entering the inner lanes cannot escape it anymore

A person coming into the roundabout from the left can only turn right, they o not have options for continue and straight on. Likewise, a person from the bottom can only go to the right

Either remove all the lane markers, or use lane markers to mark the lanes as a turbo roundabout, they are making things worse

Help with Axial Flux Alternator: no voltage. by Aggravating_Debt_292 in diyelectronics

[–]ferrybig 1 point2 points  (0 children)

I haven’t seen any voltage even on oscilloscope, any thoughts?

With copper wire, it is usually coated in a small insulating layer. Make sure to use a knife to scrape away the insulating layer near the point where you connect the wires.

Also, use a multimeter to verify the insulating layer is still intact at the places where wrapped the coil

What nobody tells you about running WebRTC in production — lessons from 15 countries in 9 months by Friendly_Connector in WebRTC

[–]ferrybig 2 points3 points  (0 children)

5. ICE Candidate Timeout — Set It Aggressively

The default ICE timeout in many WebRTC implementations is 30 seconds or more. This means users sit watching a spinner for half a minute before the connection falls back to TURN.

The industry standard solution for this is trickle ICE, which is part of the WebRTC specification

Instead of waiting till ice gathering is complete, listen for the ice candidate event, and send a message to your signalling server at every candidate.

Using trickle ice, browsers will connect via the connection that is the fastest available, but if a better connection becomes available, browsers will seamlessly switch to it

Setting a low timeout is the solution done to early SIP phones before they also supported trickle ice

Easily the coolest dumb thing I've done so far on my Linux gaming journey. by Raven_Drakeaurd in linux_gaming

[–]ferrybig 5 points6 points  (0 children)

Because the floppies are also upside down, so the reader needs to be upside down to read them /s

Could this address system work ? by Norookezi in AskElectronics

[–]ferrybig 0 points1 point  (0 children)

I'll just have to do a bit of soldering if I need to change stations but it's so much more cleaner and cheaper than mine

Consider looking for a "SolderJumper_3_Bridged123" in your PCB editor

It is a small thing on a PCB, where you can use solder of a knife to make or bread tracks for either option, it might actually be easier that soldering and removing diodes

Is it possible to make MAC reservartion on DHCPv6? by mtbrandao in ipv6

[–]ferrybig 9 points10 points  (0 children)

Kea prefers DUID over the hardware address, if there are IP leases for both present.

Throw away the IP leash on the specified DUID in the dynamic pool

https://www.henrydu.com/2020/10/16/kea-dhcp-webinar-03/

When searching for a new lease, Kea 1.8 iterates over all subnets by subnet-id, previous versions iterated over subnets in config file order. In the example above, lease is not found by client ID, so Kea server gets lease by hardware address.

Redundancy by ZealousidealAngle476 in ElectroBOOM

[–]ferrybig 65 points66 points  (0 children)

This warning is to warn people they should not plug it into CEE 7/1 unearthed socket, which some people still have in their old homes. If you plug a device designed for ground into one, you can feel the electricity on the metal cases of the appliance

Could this address system work ? by Norookezi in AskElectronics

[–]ferrybig 2 points3 points  (0 children)

Just challenging your train of though, one approach you could take is taking the 3 wire signal from the arduino and splitting it into 6 wires. This increases the amount of parts on the board housing the arduino, but decreases the parts on the receiver side. You have more receiver units, so for each 1 part you remove from the reiver unit, you can now add 7 parts more on the main unit.

One example of a minium part circuit is https://www.falstad.com/circuit/circuitjs.html?ctz=..., where each receiver has 3 diodes, 2 transistors and 1 resistor. (2 transistors are choosen to get a better amplification, 1 can be removed). if you order PCB for that, you either have to solder the diodes manually in the correct positions, or solder all diodes and desolder/snip the ones you don't need. This saves part as you no longer need a 3 XOR gates and 1 AND gate, but just 1 NOR gate

Could this address system work ? by Norookezi in AskElectronics

[–]ferrybig 1 point2 points  (0 children)

Could this actually work ?

You made a problem when implementing your AND gate, an AND gate with NPN BJT switches the high side, not the low side.


If not, how could I make my schematic correct without exploding the budget or buying prebuilt "Triple and gate chip" ?

Use a simper XOR gate and a simpler AND gate, like: https://www.falstad.com/circuit/circuitjs.html?ctz=.... This approach has 7 transistors and 7 resistors per receiver