WTF Bites
-
@Tsaukpaetra temporary folders on floppies? Haven't seen that one before.
Not a bad idea, when you're done, just throw the floppies into the paper shredder.
I don't think a paper shredder would have enough strength. At the very least I'd go for one with metal teeth.
-
I don't think a paper shredder would have enough strength. At the very least I'd go for one with metal teeth.
My paper shredded had metal teeth, and can shred plastic cards. I never tried it with a diskette, though.
@boomzilla said in WTF Bites:
Pfff. He's an amateur.
Here's what a real shredder looks like:
https://youtu.be/Xn80EAikqjs?t=58
-
-
I have to admit that shredding the junk mail as soon as it arrives is satisfying.
-
me@workstation:~/some-project$ du -sh eclipse-workspace/.* eclipse-workspace/* 361M eclipse-workspace/.metadata 356M eclipse-workspace/some-project
WAT
I'll see your eclipse and raise you a Visual Studio (this is immediately after issuing Build -> Clean Solution for all build configurations):
$ du --max-depth=1 -h project/ 31M ./.git 22M ./.git_externals 5.1G ./.vs 0 ./bin 0 ./build 21M ./src 0 ./lib
On an unrelated note, thanks to this post, I now have an additional 5GB of free space on my harddrive.
-
@Zerosquare said in WTF Bites:
My paper shredded had metal teeth, and can shred plastic cards. I never tried it with a diskette, though.
Now I have, for fun. It works. (My shredder shreds CDs and cards as well.)
-
Status: I just discovered that Windows does not consider scrolling the mouse or clicking to be "the user is still at the computer, don't lock!" events.
-
On an unrelated note, thanks to this post, I now have an additional 5GB of free space on my harddrive.
So that makes Eclipse, VS, PyCharm, ...
Is it customary these days for IDEs to spew gigabytes of garbage everywhere?
-
On an unrelated note, thanks to this post, I now have an additional 5GB of free space on my harddrive.
So that makes Eclipse, VS, PyCharm, ...
Is it customary these days for IDEs to spew gigabytes of garbage everywhere?They've been spewing garbage for as long as they've been more advanced than fancy editors. Drives just got bigger so it takes a longer time before you start looking for what the hell is eating all the drive space.
-
@Tsaukpaetra said in WTF Bites:
Status: I just discovered that Windows does not consider scrolling the mouse or clicking to be "the user is still at the computer, don't lock!" events.
Do you mean clicking the scroll button or the main mouse buttons? Clicking mouse 1 or 2 seems to stop it on mine, I'm fairly sure I'm not moving the mouse at the same time.
-
@Cursorkeys said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Status: I just discovered that Windows does not consider scrolling the mouse or clicking to be "the user is still at the computer, don't lock!" events.
Do you mean clicking the scroll button or the main mouse buttons? Clicking mouse 1 or 2 seems to stop it on mine, I'm fairly sure I'm not moving the mouse at the same time.
Main mouse button and scrolling. I was reading Reddit.
-
status: "my carrier" decided to turn off my data for half an hour. I'm trying to not be paranoid.
-
@Tsaukpaetra said in WTF Bites:
I was reading Reddit.
There's your problem.pdb
That means you weren't conscious at the time and Windows did in fact make the right decision to cut off your no-life support
-
@Applied-Mediocrity said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
I was reading Reddit.
There's your problem.pdb
That means you weren't conscious at the time and Windows did in fact make the right decision to cut off your no-life support
I will not refute this statement.
-
@heterodox said in WTF Bites:
@Zerosquare said in WTF Bites:
My paper shredded had metal teeth, and can shred plastic cards. I never tried it with a diskette, though.
Now I have, for fun. It works. (My shredder shreds CDs and cards as well.)
Diskette ==> ambiguous. I've seen and use at least three different kinds of objects that merited that name:
- 8-inch floppies
- 5.25-inch floppies
- 3.5-inch not-so-floppies
I can see that the main obstacle (for a sub-industrial shredder) to shredding the last category would be the metal shutter. Full-whack industrial-grade cross-cut shredders will basically ignore it.
But for maximum fun with high-speed industrial-grade "strip" shredders, feed them fan-fold paper(1) that hasn't been burst...
(1) Where do you even buy that these days? Can you buy that outside of specialist applications(2)? I've used page printers for, like, you know, decades, even at home.
(2) I've seen e.g. muffler shops using fan-fold NCR multi-part paper in impact printers to print work orders as recently as the early 2000s, but ...
-
@Steve_The_Cynic said in WTF Bites:
Diskette ==> ambiguous. I've seen and use at least three different kinds of objects that merited that name:
8-inch floppies
5.25-inch floppies
3.5-inch not-so-floppiesYeah, it was a 3.5 inch. I finally got rid of 5.25 inch floppies a while ago and I don't think I've ever possessed an 8-inch floppy (I've seen them, just never had one).
-
@Tsaukpaetra said in WTF Bites:
I was
"reading"Reddit.
-
@Tsaukpaetra said in WTF Bites:
Status: I just discovered that Windows does not consider scrolling the mouse or clicking to be "the user is still at the computer, don't lock!" events.
Oh, so they've not only copied an age-old X11 bug (scrolling), but had to go one bigger and make it worse (clicking)? Nice...
-
@Tsaukpaetra said in WTF Bites:
status: "my carrier" decided to turn off my data for half an hour. I'm trying to not be paranoid.
Hey, this customer is upvoting every post really fast. Must be a bot!
-
Drives just got bigger so it takes a longer time before you start looking for what the hell is eating all the drive space.
It depends. With the
rightwrong kind of cow-orkers, it gets pretty noticeable when you check out their code and you end up downloading a few GB of trash committed into a repository. (:anger.ipch:)
-
Drives just got bigger so it takes a longer time before you start looking for what the hell is eating all the drive space.
It depends. With the
rightwrong kind of cow-orkers, it gets pretty noticeable when you check out their code and you end up downloading a few GB of trash committed into a repository. (:anger.ipch:)Ah yes..
The same kind of coworkers that saves every build in the repo as well?
-
Drives just got bigger so it takes a longer time before you start looking for what the hell is eating all the drive space.
It depends. With the
rightwrong kind of cow-orkers, it gets pretty noticeable when you check out their code and you end up downloading a few GB of trash committed into a repository. (:anger.ipch:)Ah yes..
The same kind of coworkers that saves every build in the repo as well?To be honest this is as much fault of some IDEs and build systems as of said orkers. A sane build system should write all the generated stuff in one place outside the main source tree, but so many tools scatter them all over the place next to the sources. Makes it really painful to sort out what should be added to source control and what shouldn't.
-
Drives just got bigger so it takes a longer time before you start looking for what the hell is eating all the drive space.
It depends. With the
rightwrong kind of cow-orkers, it gets pretty noticeable when you check out their code and you end up downloading a few GB of trash committed into a repository. (:anger.ipch:)Ah yes..
The same kind of coworkers that saves every build in the repo as well?To be honest this is as much fault of some IDEs and build systems as of said orkers. A sane build system should write all the generated stuff in one place outside the main source tree, but so many tools scatter them all over the place next to the sources. Makes it really painful to sort out what should be added to source control and what shouldn't.
Working mostly with java and maven, pretty much all build artifacts end up in target/
IntelliJ mostly stuffs all its crap in .idea (with an .iml file being an exception) so it's usually clean. I still see people committing build files by moving them out of target and into another folder.
I've also had coworkers remove my .idea stuff from .gitignores to on purpose commit their IDE crud. Stabby feels!
-
I've also had coworkers remove my .idea stuff from .gitignores to on purpose commit their IDE crud.
Yeah; IDEA stuffs all the crap together in
.idea
, but it actually makes sense to version some™ of it.Strangely, Resharper (which is from the same company as IDEA) has three configuration layers—shared, user and workspace-local—and you can chose in which you want to set things. But I haven't seen anything like that in IDEA though it would make sense there too.
-
it actually makes sense to version some™ of it.
We have a simple policy: IDE droppings don't go in the repo. Nor does any binary code except for a small number of things that are very difficult to recreate (because they need specialized commercial-only compilers which we don't have a lot of licenses for). Fortunately, those nasty binary blobs are also small…
-
but had to go one bigger and make it worse (clicking)? Nice...
The Freedom to Innovate
-
Yeah; IDEA stuffs all the crap together in .idea, but it actually makes sense to version some™ of it.
For editor config in repos I prefer an agnostic format such as https://editorconfig.org/ because everyone doesn't use the same IDE.
-
it actually makes sense to version some™ of it.
We have a simple policy: IDE droppings don't go in the repo. Nor does any binary code except for a small number of things that are very difficult to recreate (because they need specialized commercial-only compilers which we don't have a lot of licenses for). Fortunately, those nasty binary blobs are also small…
My rule of thumb is also to keep everything binary, security sensitive, and IDE-y out of code repos.
resources for testing can break the rules for binary and testing stuff for test specific security stuff and binaries.And I think that a repo should always build with a single build tool, without any extra work. For maven, mvn package should always produce a working "binary" for instance. I fucking hate all the opensource crap repos where you have to sacrifice 12 virgins during a summer solstice to just get the build to run at all. Getting some kind of working build artifact out necessitates going further.
I've also worked with "professional" software with such build requirements.
-
And I think that a repo should always build with a single build tool, without any extra work. For maven, mvn package should always produce a working "binary" for instance.
I've been recently trying to get some project to work—and gave up after something like three weeks!—for which
mvn package
succeeds, but when I tried to load it in Eclipse (which required installing zillion plugins—the project itself is an Eclipse plugin too), it all broke down to the pointmvn package
stopped working.(it is the project that left the 361MB metadata—I don't otherwise do Java)
-
@Zerosquare said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
status: "my carrier" decided to turn off my data for half an hour. I'm trying to not be paranoid.
Hey, this customer is upvoting every post really fast. Must be a bot!
I don't dispute this.
-
Otherwise you'd probably need to know the right fake URL scheme, like "calculator:".
FTFY
-
Maybe this is an anti-bite.
It seems like Chrome 76 is the first major update in a long time where all of the default fonts didn't change.
-
For maven, mvn package should always produce a working "binary" for instance.
I definitely support your position in this, and that's exactly what my repos do (where relevant; it's simply not relevant for a lot of what I'm doing).
-
User's G Suite account was deactivated yesterday. User had apparently setup their Chromecast and phone and tablet and web apps and other shit under their work email. User claims they are now locked out of all of this stuff. User thinks this is somehow our problem. User is wrong and user will now have to either figure it the fuck out or reset all of their devices.
-
@boomzilla said in WTF Bites:
Maybe this is an anti-bite.
It seems like Chrome 76 is the first major update in a long time where all of the default fonts didn't change.
There's something about the number 76 that makes developers keep all the old graphics assets
-
Another from this week: We had a ticket come in that users were unable to access that client's website from within the building, but could when on their cell phones on mobile data. They thought it was a firewall issue or something. Nope, the client's web developers (who are totally incompetent) had blacklisted their IP address because of some automatic block they had setup using the naive approach of just looking for X number of requests within Y time period and automatically blocking anything that broke the rule.
This client had the incompetent web developers setup a web app for them for something (which we did not do because incompetent web devs were quite a bit cheaper than our bid) and it is hosted on the same server as their website. So, they implement the rule without considering that they have a customer of theirs that has 30+ people accessing the web app that they built from a single IP address, and they blocked all of their requests due to said naive rule.
-
@Polygeekery said in WTF Bites:
a web app for them for something (which we did not do because incompetent web devs were quite a bit cheaper than our bid)
Bonus : This web app is built on a CMS.
No, not WordPress.
Not Joomla.
Not Drupal.
It is built on a CMS that they built themselves. A CMS with all of its own s that I cannot get in to without doxxing myself and them. A CMS that a couple of years ago I had to help resolve an issue on because they did not realize how PHP mail() works and why what they were doing would cause all of their emails to end up in spam everywhere that they were sent.
-
Implies the clock was not stable...
-
What happens when you click the autocorrect bubble? Correct, it removes the exclamation mark!
-
So apparently my best mythic keystone run this week is Atal'Dazar, even though I haven't ran that dungeon yet this season.
WoW be drunk.
-
I feel like I just read something about cricket.
-
-
One of the websites I support requires a customer's date of birth when they register. For raisins there are three "number" text inputs rather than a datepicker or a set of dropdowns. Which means that customers can do daft things like try to enter the year in two-digit format.
The complaint was that the end user was trying to change their date of birth, having typed it wrongly on registering, and although it appeared to save the change it wouldn't update.
The actual problem was that every time they saved it it would skip back by three days from what was entered - meaning that it was always setting to the same incorrect value. It turned out, they were entering a two-digit year, and the developer (not me) who built the registration didn't think of that case. Since it was built on the assumption of four-digit years it had absolutely no handling for that and interpreted 6X literally as the first century.
I've now made sure it's impossible for customers born in the entire first millennium to register on the site, but I still don't know why it skipped back three days. If it was ten, I could take a guess, but three? If it hadn't then probably no-one would have noticed the issue. Or an unrelated issue that we spotted as a result of our client's customer service team trying to update the customer's date of birth for her. So, that's pretty cool. But why three days?
-
-
I've now made sure it's impossible for customers born in the entire first millennium to register on the site
That's ageist.
-
For maven, mvn package should always produce a working "binary" for instance.
I definitely support your position in this, and that's exactly what my repos do (where relevant; it's simply not relevant for a lot of what I'm doing).
That would all be great and dandy if Eclipse just called Maven and called it a day instead of insisting on doing everything it's own way anyway (as far as I can tell IDEA is better in that regard).
-
-
-
I still don't know why it skipped back three days
Dates are hard. Dates are very very hard.
-