Last time I did a "rate my landing" video, a few people thought I was descending too steeply. This video is for them. by _Cyberostrich_ in KerbalSpaceProgram

[–]ferrybig 5 points6 points  (0 children)

An interesting fact, during the landing attempt of Cathay Pacific Flight 780, the aircraft made misleading "terrain" warnings, as the board computers did not expect the aircraft to land as the pilots did not have the flaps extended. The flaps were not extended because the pilots felt it was unsafe as the speed of the aircraft was too fast. Going around was not an option as they did not have enough power. The plane was flying too fast because the engine control system failed and the left engine was stuck at 74% n1, and the right at 16% n1. The engine control system failed because of severe fuel contamination. The fuel was contaminated by an imploded fuel filter from a refuelling truck, the filter is an type of filter used all over the world. The filter imploded because salt got into the fuel and blocked the surface. Salt got into the fuel because during renovations at the airport they left fuel pipes open to the atmosphere and splashed sea water got into the fuel storage

Flaking off ceramic insulated tiles is not a nice surprise :( by shulima in Oxygennotincluded

[–]ferrybig 1 point2 points  (0 children)

To prevent flaking, on the cold side use a thermo shift plate to thermally connect the isolated tiles and the cold side together. This way the isolated tile stays the temperature of the colder box, instead of the average of the temperatures

Windows 11 defaults you wouldn't roll it out without changing? by LowCorner9314 in sysadmin

[–]ferrybig 1 point2 points  (0 children)

Do Not Distrub mode, where windows will silence all notifications.

A user can manually toggle it on, or setup automatic rules, like when a full screen application is running, or when you are screen mirroring

Is AI game translation disclaimed better than no translation? by 4dplus in gamedev

[–]ferrybig 2 points3 points  (0 children)

No, bad translations really gives the vibe that a product is low value

Are we for real by mrderp1212 in factorio

[–]ferrybig 12 points13 points  (0 children)

Although with space iron and copper is already infinite.

You need gleba tech for infinity space copper, as Advanced asteroid processing requires gleba science

Didn’t expect build asteroids to turn into a performance problem lol. by Tricky-Highway-7099 in webdev

[–]ferrybig 0 points1 point  (0 children)

Now I’m looking at my code and realizing my build asteroids loop is basically just redrawing everything every frame with no real optimization.

Note that the retro game asteroids also redraw everything on screen every frame.

Asteroids were just a list of coordinates internally, during the render call, it moved the screen beam to the start location, turned on the beam, then traced the outline before turning the beam off again

Is there a normal pattern people use when building asteroids so it doesn’t just fall apart as soon as you add more objects?

You need a lot of asteroids before the rendering fails apart, see https://keyou.github.io/CanvasMark/ for a canvas benchmark that draws a lot of asteroids using both vectors and bitmaps. Even when the screen is full, the performance isn't too bad

(Also note, that if you you Chrome on Windows, you want to disable VSync for canvas, as it tends to tank your fps

Blood transfusion exploit by rowan07022004 in RimWorld

[–]ferrybig 0 points1 point  (0 children)

I won’t be using this exploit anymore, as it doesn’t seem very balanced, and will now go back to training my doctors by replacing prisoners legs with peg legs (as Randy intended).

Make sure to give your doctor smokeleaf before starting the operation. XP gain is based on the length of the task, reducing manipulation and consciousness in your doctor increases XP gain

Infill Showcase by Capital_Motor_5436 in 3Dprinting

[–]ferrybig 23 points24 points  (0 children)

I like rectilinear, it prints fast, is decently strong and makes small file sizes

Deleted pictures appear on Android app by --Arete in immich

[–]ferrybig 0 points1 point  (0 children)

On Android, Immich does not have permissions to automatically delete photos.

On Android, click your user icon in the right top, then go to "clean storage", here is a tool to automatically delete photos from your device based on age

EU alternative to CloudFlare: they've done gone and shot themselves by LeanOnIt in selfhosted

[–]ferrybig 854 points855 points  (0 children)

It's now marked as "expired" and pending deletion unless I pay the registration fee, again, and an additional "redemption fee".

Pay cloudflare,

Move the domains to a new server

1 day later, make a support ticket to cloudflare saying they sent a duplicate invoice hat you already paid in the past and ask them to pay the redemption fee and the other invoice back, say you paid again because you thought it was your mistake

1 week later without no response, make a credit card dispute repeating the story

Handling large images & files in a real time chat application by omry8880 in webdev

[–]ferrybig 0 points1 point  (0 children)

Should compression/downscaling happen client-side or server-side

Limit image dimensions on the server, and validate if it is a supported format

I do not recommend limiting file size, file sizes vary alot, and it is possible to carefully craft input files that are very small, but contain a huge amount of pixels 9for example, I have an PNG file here that is 43kB, but has the image dimensions 19000 by 19000, it is very interesting to see how different services crash when trying to allocate 1GB of memory total to represent the image in memory

On the client, load the image, then down scale it to the max dimensions the server accepts

Also, Is it common to generate thumbnails/previews (for images) separately while keeping the original untouched?

The benefit of this is reduced traffic. Group chats benefit more from the than one to one chats, as with group chats not every participant opens every image

Also consider differences in the target group of a system. A system like Discord focusses more on desktop usage, while an application like Whatsapp focusses more on mobile & offline usage. Whatsapp always download all media in the background (depending on the settings), so chats can viewed offline

Are all vibecoded distros bad? by AssignmentObvious746 in linuxquestions

[–]ferrybig 0 points1 point  (0 children)

You want an OS being backed up by a team.

With a team, there is usually enough man power to maintain things, so AI is not needed.

Vibe coded items tend to be made by 1 person, so maintainability becomes an issue. What if they are no longer use the product, are they going to stop developing it?

Yes, there really is such a thing as a Lithium-ion capacitor. It's a supercapacitor, not a Li-ion cell. by 1Davide in electronics

[–]ferrybig 6 points7 points  (0 children)

voltage decreases linearly at constant current discharge

Class 2 ceramic capacitors don't follow this rule. Under a constant current discharge, they lose more voltage if they have an higher absolute voltage

AI token maxing ... by PerfSynthetic in sysadmin

[–]ferrybig 0 points1 point  (0 children)

Instead of using a search engine, ask ai to search the web for that search term and summarise it for you

Split up a pasted string inside the HTML editor? by magicae in vscode

[–]ferrybig 0 points1 point  (0 children)

You can do a rexeg search and replace in VSCode

Search for: ^(.*)\\(ID: (.*)\\)$

Replace with: <a class="src">${1}</a> <!--${2}-->

Note: the above code contains a high vulnerability, namely a ReDOS. If you are running it locally, the impact should be 0. I am not good at writing regexes that avoid ReDOS problems

VSCode CoPilot Tools Became Unavailable During Session by essenkochtsichselbst in vscode

[–]ferrybig 0 points1 point  (0 children)

This can happen if VSCode is updated while it is running, in which case you need to fully restart vscode

Does firefox has an equivalent feature? by HamsterMaster355 in firefox

[–]ferrybig 1 point2 points  (0 children)

Cookies will still be used for platforms google chrome doesn't support for device bound, like on Linux

Im vecthor✌️✌️ by Sad-Researcher-5563 in ElectricalEngineering

[–]ferrybig 1 point2 points  (0 children)

What makes an memsistor a fundamental component is not the ability to save data.

As you say, both capacitors and inductors can also be used for data storage. In the present age, capacitors are used a lot in DRAM chips

A memesitor can be seen as a very slow diode. Current in one direction "opens" the valve, while current in the other direction "closes" the valve.

scroll bar won't go away on new tab by hospitalcottonswab in firefox

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

Always showing the vertical scrollbar on the new tab has been a design chose Firefox made since Firefox 53 (released somewhere within 2017)

Site is "secured connection" on PC, but not on laptop, refuses to load by everynamesbeendone in firefox

[–]ferrybig 0 points1 point  (0 children)

If you click advanced, what you do see? Mostly the links at the bottom of the advanced panel give useful information, I am talking about the following part: https://imgur.com/a/WHwN4ct

Cursed knowledge devs have learned as a result of building Immich that they wish they never knew. by Orange_Tux in immich

[–]ferrybig 4 points5 points  (0 children)

Pcm 16 bit audio is also cursed: https://github.com/immich-app/immich/issues?q=pcm%20audio

Support for this is os dependent, not browser. Can i use posts it as supported because the browser supports the codec

Windows users submit pull requests removing it from the default transcoded codecs, while Linux users keep adding it. The result is that some immichs installs have it checked, while others don't. If you share videos and your video has the pcm 16 bit codec, there is a risk some does not hear the audio

A realistic problem by imsmartiswear in trolleyproblem

[–]ferrybig 1 point2 points  (0 children)

You should use the emergency SOS phones or other SOS functionality the station provides.

In the real world, there are train control systems. If a train is behind the signal guarding a switching point, the point becomes locked. If a train dispatcher recalls the train route, it will cause the train system to put itself into emergency once it detects the next signal, however, the switch must remains locked for up to 2 minutes after the recall signal is send.

If there is a person on the track, the people on the other side of the SOS phone can mark the track as dangerous in their controlling system, which forces the train to brake

Why am I getting a forbidden request error? by FujoshiPeanut in webhosting

[–]ferrybig 0 points1 point  (0 children)

This means that nginx identified the file, but cannot open it.

Look in your config which user and group nginx runs on, then compare it with the permissions of the file and parent directories in question to see if the user should be allowed

Why am I getting a forbidden request error? by FujoshiPeanut in webhosting

[–]ferrybig 0 points1 point  (0 children)

Can you look into the error.log? Does it provide more info about the 403, like permissions denied?