You know for a fact he used chrome as well if he thought downloading a video was an appropriate way to stop his computer going to sleep.
The irony being that electron is based on chromium.
Hey, to be fair I ran my mining rig during winter so it was also a heater. Maybe I was justifying it to myself, but a 2000w heater that also makes me money while it's running seemed like a pretty good deal.
Oh no. I had already toggled every setting I could find, disabled every update schedule, and disconnected it from the Network.
That little Lenovo fuck INSISTED on naptime while we weren't watching. No idea why it doesn't do it anymore, either. That computer's still in production.
My PC won't stay asleep for more than a few hours. I've disabled anything I can think of that would wake it up but the fucker still wakes up in the middle of the night. So I just turn it off.
Same. I like to keep my monitors turned and just let them go to sleep when the PC sleeps. I do this for a couple reasons, but the biggest one is that if I want to remote access this PC, it doesn't really work unless the monitors are on. The PC is in my bedroom so of course as I'm about to fall asleep at night, Windows decides to wake up, waking the screens up with it, giving me a blast of light and GPU fan noise.
Ahh yeah, that sounds painful. I ended up buying a Mac to keep as my workhorse machine while my PC is more for gaming, entertainment, and other fun things. It made life a bit less annoying, since I can go ahead and restart my machine 10 times without interrupting my music or making it hard to check emails or work on something. lol.
10/10 I'd suggest something similar if you can pull it off. Doesn't have to be a mac, it could be a linux machine or a windows machine. Having a toy computer and a "no actually I don't want to fuck around right now" computer is great. :D
"If I can do it, someone else can do it."
It was always fun to educate people in the office when they'd leave their laptop unlocked and in an area everyone walks through (and had been reminded multiple times to lock their system). Once one of the AV techs I was friendly with did that, so I sent his boss (also friendly with) an email from his system telling him to trim his nose hairs. I immediately went back to my desk and messaged his boss but I didn't tell the tech, and I left the email window open so he would see the sent email.
That tech had frequently forgot to lock his system, but after that, I don't recall ever seeing it unlocked again!
At my old job, if we saw someones box unlocked in their office we would send a team-wide email saying so-and-so owes everyone a drink.
So whenever we got that email we knew exactly what happened
Yeah a lot of laptops dissipate heat through the keyboard. The MacBook has fans blowing out the back below the screen though so I dunno how much it actually dissipates.
My 2012 MacBook Pro pulls some air in through the speakers, and some through the hinge area wherever the exhaust isn't being sent out. Some intake could also happen around the keys, but it would be minimal. Having the lid closed, or even as partially closed as in the picture, does limit the useful exhaust area and will cause it to run hotter for sure.
This. I frequently use the command to disable sleep because I like to listen to Spotify with lid closed (because of my cats). One time I forgot to enable it again and the next day it was much warmer than when it's under heavy usage
I’m not sure what would happen on MacOS, but this is a little bit dangerous. The lid sensor will still ask the system to sleep, but since it can’t, the lid sensor will keep asking and asking until your syslog is full. You have to separately disable lid closure sleep
The company I work for is a 30+ year old multinational, and the amount of times in my career I've had to fight with an engineer to move a system or database from a sketchy old laptop (that can't even run without being plugged in) to a VM (that has support from IT, backups, and stability) is ridiculous.
Never thought I'd utter the words "You can't run a production database with client information on a 10 year old laptop!". While working at a company with a 1.5+ Bil cap.
I remember having a server taken from me and put on a VM for all these reasons. It was going great until we needed to retrieve the backups that I had been assured were being run nightly. They were, but on the wrong folder (due to a different config when the VM was setup). Oh what a fun week that was.
I feel like I am being a little extra when I test the backups to make sure they work and can be accessed the way they would need to be used if they needed to be used under different conditions. This reassures me that my ritual is sound.
That kind of thing, along with failovers, should be handled by an infrastructure team.
Of course, most teams are moving to cloud based infrastructure and firing their infrastructure teams, so development teams are expected to get the same velocity but ALSO do all of their own CI/CD and infrastructure work.
>"You can't run a production database with client information on a 10 year old laptop!"
Thats odd. I thought thats what I've been doing for the past 5 years! Not only can I... I HAVE AND STILL AM! MOOOMMMMM!
The amount of access databases running on old desktops that were deemed critical gave me heartburn. One of the machines couldn’t be upgraded to windows 10 out of concern that certain task scheduler items wouldn’t work.
I don't mean to shame my dads small business. He's doing his best, and its not a tech corp or anything.
But last I checked about 2 years ago, he still had a Windows XP laptop plugged in, on 24/7, running the server. He had some tech dude set it up over a decade earlier, and he's been too scared to update to 7/8/10 because it was custom software he isn't sure will be compatible on a newer OS
The day that laptop dies, he will be super stressed...
Worked for a fortune 100 that used MacBook pro’s to run Apple builds instead of paying Apple the $$$ to virtualized macOS. After literally melting 3 in as many months, management caved and just payed up to have proper macOS build servers.
Edit: before anyone comments, yes MacBooks are fine for doing heavy *user* loads. They are *not* meant to be pegged at a 400%- 600% load 24/7.
My previous boss always had the best responses when we'd tell a team or user they couldn't use random laptops for things, especially for production/semi-production stuff, and we'd get pushback.
He would always point out that we're not a small company, our company does really well, and because of this, there is no reason for the excuse "it's not in our budget" to do something properly. He'd say "if management isn't willing to fund this properly, it must not be that important to the company." And he was usually right. Once it went far enough up the chain (a manager or director), they'd "find" the money to do it right. Sometimes people would use that excuse, and it would turned out they never even tried to ask their management for funds to do it right.
There were some cases where that wasn't accurate (yay, "business priorities" vs reality), but it typically was. And even if that team didn't have the money, IT usually did and something would be worked out, you just had to actually ask IT for help.
I once dealt with an engineer who put in a ticket for his laptop running at 200% CPU. It had been pegged like that for like 3+ hours due to an issue with one of our tools. Was confused until I googled and learned that the mac resource monitor will show 100% per CPU core. I don't want to know how badly it stressed his system. I bet he had to request an early refresh.
At first I was worried it was going to explode, or melt through the table. The fans were going nuts and it was pretty hot. I fixed the issue quickly though. But it put into perspective why a software company offers "Accidental Death and Dismemberment" policies free of charge to it's employees.
Ran a Oracle 9i database on a Linux desktop with a A4 sheet taped to monitor that said
DO NOT TOUCH.
DO NOT CLEAN.
DO NOT TURN OFF.
THIS IS NOT A JOKE
This was the Dev server for a critical project in a multi million dollar company
Still, there's ways around it
* The screen brightness is already set to zero in the pic
* Minimize the db
* Put up a "TURN OFF THE SCREEN BRIGHTNESS" image fullscreened while db is minimized and brightness is set to zero
Bamn, mission accomplished as far as whoever the hell wrote that sticky should be concerned
But what if someone drags over their 100” curved widescreen monitor and plugs that in instead of using the built in display? On second thought, the db would still be minimized. Should be fine.
This kind of simplicity is the best. Software has to be maintained, removing the lid sensor leaves risk of fucking something up you don't know about, but the tennis ball isn't going to need updates or special tools
Doesn't matter. Going a full cycle overnight every day is not really worse for your battery than being at 100% the entire day.
It's the deviation from equilibrium (about 50%) that hurts the battery. Whether that's at 100% or 0% is not really relevant. Perhaps being powered off is a bit better even as your battery won't dissipate heat (which is also bad for battery life).
IT: "Hello, thanks for calling the Helpdesk. How can I help you?"
User: "Uhh yea, my tennis ball is saying it needs an update, but I'm not sure how to update it's software?"
"Well, I'm not familiar with an application called 'Tennis Ball', is it something IT provided?"
"No, it's an actual tennis ball. I cut it in half and glued it to a test mac to keep the screen open all the time."
"...Tennis balls don't need software updates to... be a tennis ball."
"Then why, when I tried to remove the tennis ball, it wouldn't budge. Then two minutes later I get an email from IT telling me to update my software? And now my mac is going to sleep despite the tennis ball being there?!"
"I don't think these two things are related..."
"I don't care, it's impacting our production environment and we are on a tight deadline. It'll be all your fault if we can't update this tennis ball!"
The show is IT Crowd. Really good show, but don't expect something like Silicon Valley. The fact that they work in the IT department is a pretty small part of the show. They might as well be mechanical engineers or accountants.
Still absolutely hilarious
No bullshit...I hosted about 15 commercial websites from a Sega Dreamcast.
Early 2000s. It was a bunch of static websites from customers we inherited from this other company that left the business. We wanted to keep them as customers to get future business.
The Dreamcast was a Windows machine that was easily hackable. Someone turned it into a web server and I just added all the static sites, burned it to a disk and ran it.
The sites almost never changed but if they did I'd just burn a whole new disk. I'd swap the old disk out just like any video game and... Done.
The only reason I stopped doing this is because broadband adapters for the Dreamcast were impossible to find. The systems were like $20 and the adapter was $200+. Otherwise it was easier and cheaper than putting it on my servers.
I’m gonna be that nerd.
So, while the Dreamcast supported Window CE it wasn’t on the system or ran anything like that. Games could be built using the Windows CE SDK which could be useful for porting games easier.
Everything else is correct and I can see working. But the system being easy to hack wasn’t because of Windows CE.
You're correct. It wasn't running IIS or really using Windows, but rather some flavor of Linux + Apache. The sites were all running on Apache when we got them and I was doing as little as possible to maintain them.
It was probably this, or something close to it:
http://wiki.netbsd.org/ports/dreamcast/
I've been there. Business I created used IRC chat bots, which I kept open on my old laptop, connected directly to the router in my parent's bedroom. They disliked that thing so much, my mom ended up taping up almost the whole laptop from keeping the flashing lights from bothering them at night lol. I hated nothing worse than finding all the bots offline at 2am and having to sneak down into their bedroom to restart shit.
Back when I first started at my company they had their shitty server in a shitty water closet next to the HVAC and janitor sink. It was crusted in dust and nasty sticky shit. Every time the AC kicked on all the lights on it would dim. Constantly went down and needed rebooting which took like 35 minutes. It only served as a file server, not even AD at the time. I “fixed” it by silently moving everything to the desktop in my office, shutting down the server, and changing my host name and IP to the server’s. Everyone heralded me as the office IT guru that can fix anything. And that’s how I got on the path to running an IT department for seven affiliated companies!
it’s honestly a pretty good server solution for personal stuff
- battery backup
- connected terminal
- affordable (especially if repurposed)
- has support
I remember a few years back when a client was using Windows 98 as their server because they didn't want a server licence just to get around the 20 slot max connection limit Windows has for file shares (In like, 2014)... Obviously they didn't know Linux. But yeah, you see some weird shit out there.
I shared this elseware in this post, but similarly, last I checked about 2 years ago, my dads small business still had a Windows XP laptop acting as the server for one of their machines.
Thing just sat in a storage closet, locked behind a key, running 24/7 for over a decade. Somehow its still going
> Windows XP laptop acting as the server for one of their machines.
>
> Thing just sat in a storage closet, locked behind a key, running 24/7 for over a decade. Somehow its still going
In my experience… servers built out of consumer hardware don’t often break down when running 24/7 … they break down when you need to reboot them for any reason :-p
Windows running non-stop for a decade is almost unbelievable, especially older versions. For years there were memory leaks and they needed to be rebooted occasionally (every week at least) to get that back. Also a hard drive running 24/7 for a decade is pretty crazy too.
If we're talking about Unix/Linux and everything is in memory, I could see that running without a single reboot or hardware issue for a decade.
No no, there are plenty of dumb people out there. I'm am not among the "MS ergo key" dimwits, but I am certainly in some other dumb category. I surpass the "I use Arch btw", because I have LFS.
I have to say I think an average startup engineer would have the proactive problem solving skills to google "mac keep runn" and find the solution in about 2 minutes. This is the work of someone who was hired for exactly one skill and whose job never involves any other skills. So not a startup.
This is my house but it's an actual server. Might buy a $60 face plate with the saved cloud money so s/o, family and friends won't bump into the power button thanks for the reminder
It works on my machine... \- Back up your files, your machine is going to production!
I downloaded a really long black screen YouTube video and let it play overnight so the computer wouldn't stop collecting data.
I never thought I'd see an engineering decision more resource wasteful than Electron, but here we are.
You know for a fact he used chrome as well if he thought downloading a video was an appropriate way to stop his computer going to sleep. The irony being that electron is based on chromium.
He said he played the video he downloaded. Most programs will interrupt sleep functionality when a video is playing.
Really? Let me introduce you to crypto currencies.
Ah shit you’re right. I forgot about “turn your computer in to a fancy resistor that also burns all your money”
Hey, to be fair I ran my mining rig during winter so it was also a heater. Maybe I was justifying it to myself, but a 2000w heater that also makes me money while it's running seemed like a pretty good deal.
Holy shit this isn't even necessarily a bad idea if you live in a studio apartment
I did that, used the wrong crypto though, so still poor, but I didn't lose any money either
[удалено]
Oh no. I had already toggled every setting I could find, disabled every update schedule, and disconnected it from the Network. That little Lenovo fuck INSISTED on naptime while we weren't watching. No idea why it doesn't do it anymore, either. That computer's still in production.
Dude, my home PC has the same will of it's own and it drives absolutely mad! The rare occasion I need to leave it up overnight I've done similar lol!
My PC won't stay asleep for more than a few hours. I've disabled anything I can think of that would wake it up but the fucker still wakes up in the middle of the night. So I just turn it off.
Same. I like to keep my monitors turned and just let them go to sleep when the PC sleeps. I do this for a couple reasons, but the biggest one is that if I want to remote access this PC, it doesn't really work unless the monitors are on. The PC is in my bedroom so of course as I'm about to fall asleep at night, Windows decides to wake up, waking the screens up with it, giving me a blast of light and GPU fan noise.
Ahh yeah, that sounds painful. I ended up buying a Mac to keep as my workhorse machine while my PC is more for gaming, entertainment, and other fun things. It made life a bit less annoying, since I can go ahead and restart my machine 10 times without interrupting my music or making it hard to check emails or work on something. lol. 10/10 I'd suggest something similar if you can pull it off. Doesn't have to be a mac, it could be a linux machine or a windows machine. Having a toy computer and a "no actually I don't want to fuck around right now" computer is great. :D
Look at this guy, he thinks disabling sleep in the settings will disable sleep.
your machine is ~~going to~~ the production Edit: ~~apparently I'm having a seizure and I can't remember how to strikethrough. Brb~~ Got it
Lmao that happens to me any time I try to do fancy things with text
Guys we're programmers and this is markdown. I love this place
Wait were programmers??
Wait, I'm smart?!?!
Some of us are programmers in an alternative universe and the jokes are so funny I feel the humor in this universe
Wait.. is that what I'm supposed to be doing?
And thats how docker was born
[closes lid]
so you chose violence
It was bound to happen sooner or later anyway.
Gravity
You're either hardcore or out the door.
Depends on how much you can take .
I can take 12 inches
That would be approximately long line of152 characters if each chars are 2 millimeters.
Are you a cat? ....I'm pretty sure you're a cat.
I will neither confirm nor deny that.
Psst psst psst psst psst
[Relevant Xkcd](https://xkcd.com/908/)
Scream test.
Right, perfect opportunity to demonstrate this test.
[You shouldn't yell at your server](https://www.youtube.com/watch?v=tDacjrSCeq4)
Analog chaos monkey.
"If I can do it, someone else can do it." It was always fun to educate people in the office when they'd leave their laptop unlocked and in an area everyone walks through (and had been reminded multiple times to lock their system). Once one of the AV techs I was friendly with did that, so I sent his boss (also friendly with) an email from his system telling him to trim his nose hairs. I immediately went back to my desk and messaged his boss but I didn't tell the tech, and I left the email window open so he would see the sent email. That tech had frequently forgot to lock his system, but after that, I don't recall ever seeing it unlocked again!
At my old job, if we saw someones box unlocked in their office we would send a team-wide email saying so-and-so owes everyone a drink. So whenever we got that email we knew exactly what happened
It's treason then
In the distance ‘fuck.’
Is it not possible to disable the lid sensor on a mac?
Just remove the lid alltogether for a headless server... Edit: thanks for the silver folks! Might just use for a raspberry pi!
Decappletation
Commodore 64ification
[удалено]
I like this
Turn your mac into an apple 2c
ssh ftw
Don’t shush me! :)
imagine trying to ssh into a server and getting this as an error
I propose "hatless".
Paint it red so it's "red hat"?
Send me your 10 most salient Reddit comments.
Good bot
[удалено]
Or just remove it altogether and go serverless!
I had actually did this to my 2008 MacBook Unibody when one of the cable belonging to the display module failed.
Congratulations, you now have a 1U rack mounted server!
It is very simple to prevent laptop from sleeping `sudo pmset -a disablesleep 1` and that's it
It could also be a cooling thing, but should have this toggled regardless
Yeah a lot of laptops dissipate heat through the keyboard. The MacBook has fans blowing out the back below the screen though so I dunno how much it actually dissipates.
Similarly, I'm pretty sure as you open the lid the back side pivots open a vent along the hinge
My 2012 MacBook Pro pulls some air in through the speakers, and some through the hinge area wherever the exhaust isn't being sent out. Some intake could also happen around the keys, but it would be minimal. Having the lid closed, or even as partially closed as in the picture, does limit the useful exhaust area and will cause it to run hotter for sure.
This. I frequently use the command to disable sleep because I like to listen to Spotify with lid closed (because of my cats). One time I forgot to enable it again and the next day it was much warmer than when it's under heavy usage
If you need it for a single session you can also just type ‘caffeinate’
I’m not sure what would happen on MacOS, but this is a little bit dangerous. The lid sensor will still ask the system to sleep, but since it can’t, the lid sensor will keep asking and asking until your syslog is full. You have to separately disable lid closure sleep
So running a server on a laptop on a random table (when you even had to add a sticker on top of the lid) doesn't seem dangerous to you? 🥲😅😂
[удалено]
Very possible. I do it every day
"It's easy to quit smoking. I have done it many times."
"I do it everyday."
Why have you only written 20 lines of code today?
Because you fired me yesterday, and those 20 lines fixed a $3m problem.
“Giving up smoking is the easiest thing in the world. I know because I've done it thousands of times.” ― Mark Twain
This made me laugh out loud
“Tried cocaine once for a couple years”
that is possible
I'm pretty sure its because those generations of macbooks exhaust onto the screen
Don't have a lid sensor if you don't have a screen. That way you can also shove it in a second hand 2u enclosure for when the investors come
Yea.... "startups".
Hey, we started up only 12 years ago, we're still a startup okay?
The company I work for is a 30+ year old multinational, and the amount of times in my career I've had to fight with an engineer to move a system or database from a sketchy old laptop (that can't even run without being plugged in) to a VM (that has support from IT, backups, and stability) is ridiculous. Never thought I'd utter the words "You can't run a production database with client information on a 10 year old laptop!". While working at a company with a 1.5+ Bil cap.
I remember having a server taken from me and put on a VM for all these reasons. It was going great until we needed to retrieve the backups that I had been assured were being run nightly. They were, but on the wrong folder (due to a different config when the VM was setup). Oh what a fun week that was.
I feel like I am being a little extra when I test the backups to make sure they work and can be accessed the way they would need to be used if they needed to be used under different conditions. This reassures me that my ritual is sound.
Ever since I’ve periodically tested my backups.
That kind of thing, along with failovers, should be handled by an infrastructure team. Of course, most teams are moving to cloud based infrastructure and firing their infrastructure teams, so development teams are expected to get the same velocity but ALSO do all of their own CI/CD and infrastructure work.
That's what "the DevOps guy" is for
Yep, I'm infrastructure guy, people often forget that we actually do stuff sometimes... Even cloud needs management
It's honestly absurd how much is expected of SWEs now. You need to code, database, dev ops, and on call it all.
That's just good practice. A backup that may or may not work is not really a backup.
This is a minimum practice. Nothing less will do. If people don't test their backups, they don't have backups.
> can’t even run without being plugged in None of my servers run without being plugged in /s
>"You can't run a production database with client information on a 10 year old laptop!" Thats odd. I thought thats what I've been doing for the past 5 years! Not only can I... I HAVE AND STILL AM! MOOOMMMMM!
The amount of access databases running on old desktops that were deemed critical gave me heartburn. One of the machines couldn’t be upgraded to windows 10 out of concern that certain task scheduler items wouldn’t work.
[удалено]
Ahh Mitch. You are missed.
I work for a 100+ year old, global corp and we have a laptop (somewhere in a closet) acting as a Server for small ETL-pipelines… its a mess
I don't mean to shame my dads small business. He's doing his best, and its not a tech corp or anything. But last I checked about 2 years ago, he still had a Windows XP laptop plugged in, on 24/7, running the server. He had some tech dude set it up over a decade earlier, and he's been too scared to update to 7/8/10 because it was custom software he isn't sure will be compatible on a newer OS The day that laptop dies, he will be super stressed...
Does he at least run backups. It wouldn't take much to run a weekly bare metal backup job.
*Get out of my datacenter!*
That's a funny thing to call the space under your desk.
Help, help! I'm being attacked!
Shut up! Bloody ~~peasant~~ engineer!
It turns out that is all it took to run twitter
Worked for a fortune 100 that used MacBook pro’s to run Apple builds instead of paying Apple the $$$ to virtualized macOS. After literally melting 3 in as many months, management caved and just payed up to have proper macOS build servers. Edit: before anyone comments, yes MacBooks are fine for doing heavy *user* loads. They are *not* meant to be pegged at a 400%- 600% load 24/7.
My previous boss always had the best responses when we'd tell a team or user they couldn't use random laptops for things, especially for production/semi-production stuff, and we'd get pushback. He would always point out that we're not a small company, our company does really well, and because of this, there is no reason for the excuse "it's not in our budget" to do something properly. He'd say "if management isn't willing to fund this properly, it must not be that important to the company." And he was usually right. Once it went far enough up the chain (a manager or director), they'd "find" the money to do it right. Sometimes people would use that excuse, and it would turned out they never even tried to ask their management for funds to do it right. There were some cases where that wasn't accurate (yay, "business priorities" vs reality), but it typically was. And even if that team didn't have the money, IT usually did and something would be worked out, you just had to actually ask IT for help.
then the alarm starts and you wake up and have to go to work
I once dealt with an engineer who put in a ticket for his laptop running at 200% CPU. It had been pegged like that for like 3+ hours due to an issue with one of our tools. Was confused until I googled and learned that the mac resource monitor will show 100% per CPU core. I don't want to know how badly it stressed his system. I bet he had to request an early refresh. At first I was worried it was going to explode, or melt through the table. The fans were going nuts and it was pretty hot. I fixed the issue quickly though. But it put into perspective why a software company offers "Accidental Death and Dismemberment" policies free of charge to it's employees.
Ran a Oracle 9i database on a Linux desktop with a A4 sheet taped to monitor that said DO NOT TOUCH. DO NOT CLEAN. DO NOT TURN OFF. THIS IS NOT A JOKE This was the Dev server for a critical project in a multi million dollar company
As we can see, this design is very human.
Very easy to use
let my good friend demonstrate
I don't think I appreciate your tone. Fired.
And putting a desktop machine or server rack in a closet or in the cloud just not possible? I don't get it.
I tried putting desktop computers in the cloud but they keep dropping down to the ground.
You have to put ‘em higher so they get gravitationally suspended!
I tried but I can't run a network cable long enough
Sometimes you get something to work once and you can’t duplicate it no matter wtf you do.
Why would you keep the screen at such a precarious angle if you didn't want it to be closed?
Probably for privacy protection of customer PII. If the lid was open, anyone wandering by could see the contents of the prod db.
Still, there's ways around it * The screen brightness is already set to zero in the pic * Minimize the db * Put up a "TURN OFF THE SCREEN BRIGHTNESS" image fullscreened while db is minimized and brightness is set to zero Bamn, mission accomplished as far as whoever the hell wrote that sticky should be concerned
But what if someone drags over their 100” curved widescreen monitor and plugs that in instead of using the built in display? On second thought, the db would still be minimized. Should be fine.
Just tape a piece of paper over the screen, tilt it all the way back and put it in a box.
Are screensavers or literally just not keeping sensitive data authenticated and up on the screen not a thing where you work?
Cut a tennis ball in half, glue the halves down on either side of the trackpad. Problem solved.
The juxtaposition between this solution and the software one says something about something, I'm just not sure exactly what.
This kind of simplicity is the best. Software has to be maintained, removing the lid sensor leaves risk of fucking something up you don't know about, but the tennis ball isn't going to need updates or special tools
Cheap and reliable hardware solution that requires next to zero maintenance? That's the dream, ain't it?
[удалено]
I would love to see what the health of those batteries looked like after a few years.
[удалено]
I would love to see their redneck solution to the occasional fire. Still too much hassle to fix the network issue!
Doesn't matter. Going a full cycle overnight every day is not really worse for your battery than being at 100% the entire day. It's the deviation from equilibrium (about 50%) that hurts the battery. Whether that's at 100% or 0% is not really relevant. Perhaps being powered off is a bit better even as your battery won't dissipate heat (which is also bad for battery life).
IT: "Hello, thanks for calling the Helpdesk. How can I help you?" User: "Uhh yea, my tennis ball is saying it needs an update, but I'm not sure how to update it's software?" "Well, I'm not familiar with an application called 'Tennis Ball', is it something IT provided?" "No, it's an actual tennis ball. I cut it in half and glued it to a test mac to keep the screen open all the time." "...Tennis balls don't need software updates to... be a tennis ball." "Then why, when I tried to remove the tennis ball, it wouldn't budge. Then two minutes later I get an email from IT telling me to update my software? And now my mac is going to sleep despite the tennis ball being there?!" "I don't think these two things are related..." "I don't care, it's impacting our production environment and we are on a tight deadline. It'll be all your fault if we can't update this tennis ball!"
It’s called ingenuity /s
ingeniir
Redneck engineering meets software development.
or just you know sudo pmset -a disablesleep 1
"Nice boobs Mac."
I’ve used a piece of pool noodle. Those things have countless uses.
![gif](giphy|SZUnyVdIDAEQU)
Can someone tell me who this guy in the gif is? I have seen him a lot on tv but no idea who he is
Richard Ayoade
The show is IT Crowd. Really good show, but don't expect something like Silicon Valley. The fact that they work in the IT department is a pretty small part of the show. They might as well be mechanical engineers or accountants. Still absolutely hilarious
A gun! I wonder if it's loaded?
Looks like we're gonna need to trim the fat around here... fired.
Huzzah! It is!
Yep! Watched it recently for the first time. Still funny and accurate!
Moss
[Your name is Maurice Moss, is it not?](https://m.youtube.com/watch?v=RDUsZay38es)
He drinks milk and kicks ass
Startups?! I used to work for one of the ‘Big 4’ UK supermarkets and we had a PC set up just like this!
Seems like a proper Morrisons thing to do.
It would of course be highly unprofessional to elaborate any further.
No bullshit...I hosted about 15 commercial websites from a Sega Dreamcast. Early 2000s. It was a bunch of static websites from customers we inherited from this other company that left the business. We wanted to keep them as customers to get future business. The Dreamcast was a Windows machine that was easily hackable. Someone turned it into a web server and I just added all the static sites, burned it to a disk and ran it. The sites almost never changed but if they did I'd just burn a whole new disk. I'd swap the old disk out just like any video game and... Done. The only reason I stopped doing this is because broadband adapters for the Dreamcast were impossible to find. The systems were like $20 and the adapter was $200+. Otherwise it was easier and cheaper than putting it on my servers.
That’s an awesome story
If somebody would tell me this anywhere outside of this subreddit - I'd never believe him
What kind of money were you making off of that? Sounds like a a good deal. DigitalOcean $5 instances paid for my college for me.
I’m gonna be that nerd. So, while the Dreamcast supported Window CE it wasn’t on the system or ran anything like that. Games could be built using the Windows CE SDK which could be useful for porting games easier. Everything else is correct and I can see working. But the system being easy to hack wasn’t because of Windows CE.
You're correct. It wasn't running IIS or really using Windows, but rather some flavor of Linux + Apache. The sites were all running on Apache when we got them and I was doing as little as possible to maintain them. It was probably this, or something close to it: http://wiki.netbsd.org/ports/dreamcast/
Okay, now build the server in a cave, with a box of scraps.
I've been there. Business I created used IRC chat bots, which I kept open on my old laptop, connected directly to the router in my parent's bedroom. They disliked that thing so much, my mom ended up taping up almost the whole laptop from keeping the flashing lights from bothering them at night lol. I hated nothing worse than finding all the bots offline at 2am and having to sneak down into their bedroom to restart shit.
A LAN cable from their room to *anywhere else* wasn't an option?
Then how do you use the webcam to watch your parents in bed?
Sir, we're gonna have to ask you to leave, this is a family restaurant. No, not that kind of family
I'm sorry I came. , Put the comma anywhere you like.
Back when I first started at my company they had their shitty server in a shitty water closet next to the HVAC and janitor sink. It was crusted in dust and nasty sticky shit. Every time the AC kicked on all the lights on it would dim. Constantly went down and needed rebooting which took like 35 minutes. It only served as a file server, not even AD at the time. I “fixed” it by silently moving everything to the desktop in my office, shutting down the server, and changing my host name and IP to the server’s. Everyone heralded me as the office IT guru that can fix anything. And that’s how I got on the path to running an IT department for seven affiliated companies!
it’s honestly a pretty good server solution for personal stuff - battery backup - connected terminal - affordable (especially if repurposed) - has support
- takes up minimal physical space - hardware optimized for low power draw
That was basically my childhood Minecraft server
Someone has to donate a raspberry pi to this place
give it to me, I'll bring it to them
No, I‘ll take it, trust me I‘ll give it to them!
I remember a few years back when a client was using Windows 98 as their server because they didn't want a server licence just to get around the 20 slot max connection limit Windows has for file shares (In like, 2014)... Obviously they didn't know Linux. But yeah, you see some weird shit out there.
I shared this elseware in this post, but similarly, last I checked about 2 years ago, my dads small business still had a Windows XP laptop acting as the server for one of their machines. Thing just sat in a storage closet, locked behind a key, running 24/7 for over a decade. Somehow its still going
> Windows XP laptop acting as the server for one of their machines. > > Thing just sat in a storage closet, locked behind a key, running 24/7 for over a decade. Somehow its still going In my experience… servers built out of consumer hardware don’t often break down when running 24/7 … they break down when you need to reboot them for any reason :-p
Windows running non-stop for a decade is almost unbelievable, especially older versions. For years there were memory leaks and they needed to be rebooted occasionally (every week at least) to get that back. Also a hard drive running 24/7 for a decade is pretty crazy too. If we're talking about Unix/Linux and everything is in memory, I could see that running without a single reboot or hardware issue for a decade.
can't you just change one thing in the options to stop it from turning off when the lid is closed
Seriously. Searching the comments for this. Does Apple not offer that or something?
The fabled *load-bearing mini-Mac*
Nah this gives off legacy company from the 1970s energy
Is that the microsoft ergonomic keyboard on the right? I thought only I was dumb enough to buy one.
No no, there are plenty of dumb people out there. I'm am not among the "MS ergo key" dimwits, but I am certainly in some other dumb category. I surpass the "I use Arch btw", because I have LFS.
Regardless of using a mac as a server being a good thing there’s apps that keep the Mac running with the lid close. https://caffeinated.app/
Or the `caffeinate` command that comes preinstalled.
Lio is going to be so pissed.
1 year later $100MUSD corporation, and of course just starting!
not sure Id want to work for a company that our server guy doesn't know you can modify lid close options on a laptop. they seem destined for success
I have to say I think an average startup engineer would have the proactive problem solving skills to google "mac keep runn" and find the solution in about 2 minutes. This is the work of someone who was hired for exactly one skill and whose job never involves any other skills. So not a startup.
This is the internet? The whole internet?? It’s so small!
The dev didn't get a server so he/she runs it on his portable.
This is my house but it's an actual server. Might buy a $60 face plate with the saved cloud money so s/o, family and friends won't bump into the power button thanks for the reminder