Is that why bees can’t wear contact lenses?
- 4 Posts
- 91 Comments
dave@feddit.ukto No Stupid Questions (Developer Edition)@programming.dev•Is it okay to leave tests in your code?English1·2 months ago(Guessing JS / TS) I look after a moderately sized app, and still find
console.log()
useful sometimes. They are all protected by a Boolean, so we haveauthLog && console.log('something about auth')
and the bools are all set in one global file. So turning debug logging on and off is very simple.The best thing is that when it’s off, the bundler strips all the console log lines from the source, so they’re not even there-but-inactive in production.
dave@feddit.ukto Programmer Humor@lemmy.ml•Does this exist anywhere outside of C++?English3·2 months agovbCrLf
dave@feddit.ukto Programming Horror@programming.dev•Party with your BFF like it's 99English8·2 months agoThey have taken 1 of the 2 hard problems to a whole new level.
dave@feddit.ukto Linux@lemmy.ml•Need help with setting up full disk encryption (FDE) where /home is on another drive.English2·2 months agoI honestly can’t remember the details, but I followed an Arch guide somewhere (probably the wiki). It definitely prompts me for passphrase on boot.
When I was 18 and in my first job, my boss and I installed the very first windows NT file servers for a major uk public sector organisation. They were all named after beers that we’d drunk on team nights out. We had Blacksheep, Tanglefoot, Snecklifter, and so on. They were in a test environment so it didn’t matter. Until they went into production…
That was over 30 years ago now, but I still usually resort to beers.
dave@feddit.ukto Programmer Humor@programming.dev•What's stopping you from writing your Rust like this?English18·3 months agoBut you get the joke faster now.
dave@feddit.ukto politics @lemmy.world•Fox News host ripped apart after pleading with DOGE to be ‘less callous’ after veteran friend gets laid off: ‘That is literally DEI’English17·3 months agoHow’s his cognitive dissonance holding up?
dave@feddit.ukto Science@mander.xyz•Transparent aluminum: Tiny acid droplets turn metal into glass-like materialEnglish2·4 months agoOr use Arctic on iOS. This is what I see. Internal browser configured to use Reader by default. It’s about 98% effective.
dave@feddit.ukto Open Source@lemmy.ml•Sam Altman admits OpenAI has been on the wrong side of history with Open-SourceEnglish2·4 months agoI think my uncle knew it. He said it was dead.
dave@feddit.ukto Linux@lemmy.ml•What's a unique customization on your Linux machine you think no one else has?English4·5 months agoYeah, I have a script that toggles my Dell XPS between full charge and 80%, as I’m usually on mains and only need full charge occasionally.
dave@feddit.ukto Linux@lemmy.ml•What's a unique customization on your Linux machine you think no one else has?English14·5 months agoA kind of ‘super’ print screen, in fact.
They’re also rapidly making their way and taking a long time.
Maybe it should try standing incredibly still?
How are you averaging the humans? Or are you averaging testicles?
Yeah, I was being trite but still there is a reason. Idle doesn’t mean doing nothing. Perhaps it’s obscure, perhaps as impenetrable as some combination of machine state and number of milliseconds since 1970 being an even number. But you could try to track it down.
And sometimes the easiest thing is to reinstall from scratch.
Nothing crashes for no reason. Until you identify the reason, you’re employing stochastic problem solving.
BuT ThiNk oF tHe laNdFiLL!!!
If you read the article, both points are addressed.