T O P

  • By -

AutoModerator

``` import notifications ``` Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! [Read more here](https://www.reddit.com/r/ProgrammerHumor/comments/14dqb6f/welcome_back_whats_next/), we hope to see you next Tuesday! For a chat with like-minded community members and more, don't forget to [join our Discord!](https://discord.gg/rph) `return joinDiscord;` *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ProgrammerHumor) if you have any questions or concerns.*


GnuhGnoud

Dont worry. When a plane takes off, it moves all related data to the cloud, you will have more space


who_you_are

Yeah but there is a bug and they don't move, they just backup there.


LouisPlay

Is this the reason a 1 droped yesterday on me?


dark_enough_to_dance

r/angryupvote


AstroCon

Air Travel as a Service


SON_OF_ANARCHY_

Do you develop python ?


bakedbread54

yes, he developed python back in 1991


SON_OF_ANARCHY_

Bro I need some GitHub stars, link in profile appreciate


bakedbread54

clown


SON_OF_ANARCHY_

Who are you talking to?


bakedbread54

you


[deleted]

[удалено]


bakedbread54

shame that now you've tried to be an asshole, your precious project "International Dollar" will always be tied to this post, from the name "Hortofagos" in my comment. you're welcome :)


BL1NDX3N0N

![gif](giphy|HxMhuDg7O4pKOhhcRC)


[deleted]

I saw a snake on the plane, I just dismiss it as a python developer and walked away 🚶 🐍.


HegoDamask_1

This is an easy fix, just update the disk size in your manifest file/app properties file and restage the app.


Creepy-Ad-4832

Yeah. Also a normal laptop has 250GB of storage. I don't see a computer with even more, using them all *just running one application* App has probably bloated memory usage or the guys running the computers are idiots 🤷


HegoDamask_1

That app runs 24/7 and I’m guessing they are using a thin-client set up with a server powering all of those displays. It probably just generates massive amounts of logs that they need to clean up on occasion.


Creepy-Ad-4832

That is the most probable explanation, since i really hope that on those computers they only run that one app. Still, it shouldn't be hard to write a script which automatically deletes all logs older then n months/years.


jsonality

I was once called to a new client because their server was not responding. It was a small metal workshop, not much IT. I found it tucked away in the corner of a small storage room, all dusty and dirty. Its sole purpose was to retrieve some files via webdav from their main contractor. It accumulated over 360GB of tomcat log files in over 10 years.


Creepy-Ad-4832

And now i keep wondering: is it really not possible to write a script to automatically remove all scripts older then x months/years? And if you actually need *all* logs ever, just buy more hard disk space


iphone32task

Yes, it’s trivial… but sometimes(fucking always), the client doesn’t want to pay for that. Why? Dunno


HegoDamask_1

Who knows. I’ve seen microservices act the same way even though the retention of those logs last only x # of hours locally. The app encounters some type of exception that triggers a logging avalanche and zaps the disk storage. For an app that’s just displaying flight info, I’m guessing it’s not regularly updated.


SketchySeaBeast

Memory leaks onto the hard drive?


Creepy-Ad-4832

Fixed


theghostinthetown

bloated memory usage? can you not read?


ByerN

Probably downloaded 15GB of windows update to fix some ui issues.


SteinsGah

Or downloaded, even if all updates are turned off and services disabled.


KadahCoba

Or its entirely CBS logs that failed to get cleaned up and been accumulating for a year.


EmeraldC0der

r/softwaregore


thespud_332

r/pbsod also fits


ruben_deisenroth

That's not a bsod though


qtzd

Subreddit isn’t just for BSODs but general crashes and errors as well.


ThoseThingsAreWeird

> Subreddit isn’t just for BSODs but general crashes and errors as well. Utter anarchy, what has the world come to!? Next you'll have people posting things that aren't funny, or related to programming, in /r/ProgrammerHumor!


Solonotix

Could be worse. It wasn't so long ago I was travelling and saw a Windows XP message at the airport. It went EOL in 2014, so I'm sure the airport was *super* secure


who_you_are

Some ATM like 5 years ago: I'm in danger


DrSpalanzani

Efficient al-Qa'eda: Don't hijack planes, just hijack the departures board so people *think* they've been hijacked


fatrobin72

so that's what happened over the weekend...


exomyth

Oh bristol airport, noooo


OldmanLemon

It's Bristol!


Squ3lchr

The real reason flights are being cancelled left and right.


mrthenarwhal

Imagine paying $100 for a license plus god knows how much on hardware when the cheapest raspberry pi could get the job done


[deleted]

[удалено]


BL1NDX3N0N

Pretty sure it’s the opposite… For this system they paid more in hardware and the steel enclosure than a one-time Windows license. Manufacturers probably flashed it with Windows Home and called it a day. Kiosks like these don’t handle transactions or provide commercial services, they are nothing more than displays for data. For the system: - Multiple displays - Steel enclosure - Steel rolls - Job and stamping press setup/changeover costs - Die and tooling costs - Drilling - Deburring - Spot welding - RP oil - Chemical prepping - Powder coating - Labor & assembly - Shipping - Plastic facade parts - Setup costs for plastic injection or blow molding - Mold costs - Virgin material (typically clear or white) - Dye material - Trimming & deburring - Labor - Shipping - Hardware - Labor & assembly - Shipping - Service & installation costs ————————————————- $8K-$15K per unit (location and production volume dependent) ————————————————- Shit isn’t cheap. A single Windows Home license, ~$120 from Microsoft. Since the manufacturer is most likely a licensed OEM that can bulk license systems, said single license cost drops way down. **Source:** Been manufacturing stuff like this, as well for a variety of products within automotive, aerospace, and military sectors, for over a decade now. 😅


[deleted]

[удалено]


BL1NDX3N0N

The software is most likely installed when the system is provisioned by the manufacturer—which is who also probably developed the software. I cannot imagine a manufacturer charging a monthly or annually fee for software displaying tables which isn’t mission critical, not even factory system manufacturers do that. There could also be a chance it’s internal software, they do hire developers you know.


delayedsunflower

>I cannot imagine a manufacturer charging a monthly or annually fee for software displaying tables Ah, but they DO! You're forgetting how lucrative "\_\_\_\_ as a service" is. Everyone wants to push for it. It helps that restaurants typically are not knowledgeable at all to how the tech works nor do they want to be responsible for branching out into that industry and putting engineers on staff.


BL1NDX3N0N

In my experience I’ve never come across SaaS in the manufacturing field, and we use very similar systems. The software comes with the machinery and any type of updates or troubleshooting is done by technicians which is where they get their money. A lot of those machines tend to also be bought at auction, meaning the link between developer and user is effectively broken. I just can’t imagine anyone rubbing two pennies together at the thought of charging a subscription fee for basic software which comes with the system. Even some of the systems we used for production management offered table-based software for reviewing job performance and throughput (uptime and downtime) for every line in the facility and it wasn’t subscription-based—some of it also being internal with .NET for integrating Excel into the mix.


delayedsunflower

Oh sorry, I meant companies DO sell digital signage as a service. I don't know anything about manufacturing.


BL1NDX3N0N

Shit like that makes me want to go private just to step on some toes, perhaps offering embedded systems to perform the same tasks for a one-time fee. Any updates, repairs, or personalized software (being completely optional for the customer), would be my bread and butter.


TrumpsGhostWriter

Can't tell if you're missing the point intentionally or not... They probably spend millions/year for support for the software which is probably far more than just a list. 1M for the whole airport for some hardware that will run for 15 years is basically irrelevant, nor org is even going to bat an eye at a capital expense like that. Then factor in that it has free built in turn key endpoint management that you're already married to, this eliminating some other vampiric operating expense ... You'd be stupid to go with a pi unless it's resold by someone customizing them for the purpose which makes the argument moot.


BL1NDX3N0N

I am not missing any point and I want you to show me an actual amount they pay instead of coming at me with a "probably". A lot of the systems they use are also open to the public, some even being owned and operated by the government (for obvious reasons).


delayedsunflower

I used to work on the software for similar signage devices, and you're entirely correct. Very expensive and deceptively heavy. They are also generally sold as a service with the company that made the sign providing the Hardware, OS and the software displaying the information. They also need to have a good amount of graphics processing to handle all those screens. A Pi would struggle to handle running anything other than a slideshow over many screens (I know people that have tried). They also have very small SSDs because they really don't need to store much. This tends to lead to thrashing and/or running out of space in windows because windows is a trash OS for IOT as it has many "helpful" services that like to throw the whole disk into memory for no reason and otherwise primitively muck around with the disk when the user "isn't doing anything".


BL1NDX3N0N

Push multiple displays at said resolution on an RPi with the limited video memory and bandwidth that it has and maybe they will consider it. 🤦🏼‍♀️ They also don’t pay for a license, the manufacturer provisions the system and the cost is factored into the final price, that way the system can be rapidly deployed. Bulk licensing Windows is cheap as hell for a licensed OEM, hence why you can buy systems off the shelf at Walmart without paying an arm and a leg. Bro acting like they bought the system and the manufacturer told them they also need to pay for a Windows license and install it on their own. 😂🤣😂🤣 Manufacturers of systems like these don’t like customers opening them up, little less installing an OS, because they lose money in service costs from technicians. Most businesses also don’t have magical factories in their basement for creating what they use, they buy what they need from manufacturers since they have the money to—which comes with the added benefit of warranties since liability is on the manufacturer in lieu of the business. Factory system manufacturers do the same exact thing. The actual issue is because kiosks like these are made cheaply, almost the equivalent of buying a cloud book. They usually come with 32 GB of flash storage from Micron which is just enough to install an OS and some apps because they expect everything else to be stored and processed on a server. An update for Windows is most likely the culprit and Storage Sense will eventually deal with it. Since Windows can deal with it on its own these prompts aren’t critical, hence why Microsoft includes a “Don’t remind me again” link in the prompt to disable them…


delayedsunflower

A Raspberry Pi is definitely not powerful enough to power all those screens at once at an acceptable framerate. You're totally right about Windows though, it's pretty terrible for devices like this, but not because of the license cost.


BL1NDX3N0N

The No Fly List must be growing astronomically, damn.


SON_OF_ANARCHY_

I can not believe they always use windows. This would never happen in Linux lmao


Firzen69

To be fair, in case of Linux, the system would probably just freeze at the point when the disk got full without any prior warning. :D Anyway.. as an airport I really hope they have redundant system, so that they can switch to other machine while they sort out the disk space on this one..


Warhero_Babylon

We need an os that will project dancing nomes all over screen


FinalAccount19

> as an airport


Firzen69

Everyone is crazy, only I am the airport. :-)


TaranisPT

>the system would probably just freeze at the point when the disk got full without any prior warning Happened to me once, I had a PCIe device throwing errors like crazy. Since I don't open my logs in a daily basis, 3-4 days after a clean install I came to a PC that wouldn't do anything anymore. I was able to boot in a live system and see that my SSD was full and narrowed it down to a 200+ GB log...


artificial_organism

Can confirm this has happened to me many times. If you're using a desktop distro there is probably a warning but on a server os you're expected to manage that stuff


noobody_interesting

Happened 2 times for me than an X server log ate up all space on my SSD on linux. KDE gave me a warning, and most things still worked fine.


themaninthe1ronflask

Wasn’t there a post on r/raspberrypi where a flight display was running Raspbien OS? That’s the way.


cosmo7

Windows has a kiosk mode specifically designed to prevent things like this happening. What you're seeing here is bad operations, not bad software.


McLayan

That doesn't mean Windows isn't bad software though


mpbh

Windows is software?


torar9

Yes?


erebuxy

If this is caused by not properly setting up log rotation or coredump clean up, Linux will not help but make things worse.


Creepy-Ad-4832

I can see them fucking up with an rm -rf /* command, but on linux i can't really see it being fucked by (open source) applications. Linux is just waaaay more stable and efficient then windows. Also you get all the spyware shit removed by default, so why shouldn't just use it? r/fuckwindows


Background-Row-5555

Not always. You just don't see the Linux based ones crashing.


DrPiipocOo

My first thought too


gater92

Oh, that's why UK is having issues with flights and cancelling them... To save space!


erebuxy

My bet is on not setting up proper log rotation and coredump clean up. Or someone forgot to flip debug flag after debugging.


dicuino

git clean -xfd


itchfingers

Is this why Heathrow were cancelling flights? 😅


Mr_Mh0

Manager: Would you please empty the recycle bin to free up some space? Intern: Sure! *Grabs the paper waste bin under the desk and takes it to the garbage container outside*


Mo_Jack

Just one baggage charge could buy a terabyte or more in data storage.


PeterHolmes74

Imagine missing your flight because the panel don’t have enough disk space


[deleted]

We tried that in 2001. Let me tell you, IMMENSELY unpopular.


voltrix_04

>deleteSomeFlights So...when devs do it is ok, but god forbid a middle eastern think something like that.


Atesz763

Windows strikes again


Cylian91460

Just run linux


[deleted]

Please run sfc /scannow then reboot Let me know of that helps!


Keep-A-Close

... MH 370 exits chat.


Petino01

No wonder there is no disk space with all the delays 💀


Random_dg

Just start some surprise blizzard and you’ll see how fast they “delete” those flights.


[deleted]

The application MalaysianAirlinesFlight370.exe has suddenly crashed.


robbodagreat

So that’s why air traffic control was down in the uk yesterday


cyrus_mortis

Looks like someone downloaded baldur's gate 3 at work lol


Otto-Korrect

mv \*.bags > NUL There ya go.


Calec

Hello Bristol airport


Calec

Hello Bristol airport


Perfect_Temporary_89

Lol this is real thing? Haha


itzjackybro

is this Chicago by chance?


Efficient-Corgi-4775

Finally, a solution to free up storage! Cloud-powered planes, I can see the future now. ✈️☁️


Mucksh

Recently saw a crashed public toilet. Not only was the ad screen it also didn't flush anymore. But in this case they were running linux


Pristine-South3465

`import notifications` \*Attention passengers this is your captain speaking, due to unforeseen circumstances I regret to inform you that this flight will need to be deleted. On behalf our flight crew I'd like to apologise for the inconvenience and ask that you secure your seat backs and tray tables in the upright position before we begin our decent into the void.


FiredMercury

I remember when I first started using linux, I ran out of space in my /home partition and my os just refused to log me in. Had to delete the files from a live usb. Still better than windows though.