WTF Bites
-
@topspin yeah, they take that out in version 7
-
An email I sent in anger to the company that administers my Health Savings Account:
Subject: Transaction history page is retarded
The people who wrote the transaction history page should be fired. It shows the amount and the "transaction id" whatever that useless piece of information means. Why doesn't it show to whom it was paid? The spreadsheet download is equally braindead.Embarrassing.
Oh, it also shows the date. Fuck those guys. There's no way from the giant list to see whom was paid and forget about filtering or searching. Yeah, fuck those guys.
-
-
@tsaukpaetra said in WTF Bites:
WTH I can open it from the virtual folder thing, why can't I copy it?!?!? Gah!
That looks like Windows 10. In which case you can try turning on long path support.
-
@heterodox said in WTF Bites:
@tsaukpaetra said in WTF Bites:
WTH I can open it from the virtual folder thing, why can't I copy it?!?!? Gah!
That looks like Windows 10. In which case you can try turning on long path support.
But it's not a long path. The full path is
\\bob\Shared\Apps\Development\Other\agent.jar
. If it was an issue with the path, I'd expect problems when I double-clicked it as well, but nope, opens just fine in apps like 7-zip.Windows is just being dumb in this case.
-
@anotherusername said in WTF Bites:
2.5 l/km would be very good for gasoline-powered car
I think you mean something different.
Yes, I did mean 2.5 l/100 km. And I did type it as 0.025 l/km in wolframalpha when I calculated, just wrote it bad here.
@anotherusername said in WTF Bites:
If I had to guess, I'd guess he meant 2.5 l/100km.
Of course I did. That's the standard metric unit for consumption.
-
@benjamin-hall said in WTF Bites:
@rhywden I require my physics students to do the symbolic algebra before putting in any numbers. They hate it.
I learned it that way too and usually do plug all the equations together before switching to numbers. But these days I then just put the numbers including their units in qalculate or wolframalpha and let it do the conversion and check the dimensions.
My physics textbook (Tipler) also allowed rad/s. But you'd better remember that it's actually not a unit or you'd get problems with the trigonometric functions ;)
Trigonometric functions don't mix angles and lengths. You can normally maintain angle as separate dimension with them. It is when you use the fact it is ratio of circumference to radius when you can't—which is quite often when working with angular velocity.
This is not the only case where something sometimes makes sense to be considered separate dimension, but other times it can't. And I am sure I've even seen it with normally dimensional quantities (i.e. two quantities that resolve to the same dimension, but most of the time you'd consider them different), though I can't quickly remember what it was. After all, in Planck units almost everything is the same and the only units left are for energy and charge.
You could write Hz to confuse people.
Particularly insidious, since for angular velocity, Hz should probably equal to 2π rad s⁻¹, because it would be used for counting complete revolutions.
-
$ clang --version Apple LLVM version 9.0.0 (clang-900.0.38)
Apple has their own versioning. Did you expect anything else from them?
What does
clang -dM -E - </dev/null | grep -i clang\\\|version
say?For me (but this is some older Windows build, not MacOS one) it says:
#define __STDC_VERSION__ 201112L #define __VERSION__ "4.2.1 Compatible Clang 3.9.1 (branches/release_39)" #define __clang__ 1 #define __clang_major__ 3 #define __clang_minor__ 9 #define __clang_patchlevel__ 1 #define __clang_version__ "3.9.1 (branches/release_39)"
… um
4.2.1 Compatible Clang 3.9.1 (branches/release_39)
… so compilers are doing that too now‽
-
… tried on Mac now. Version 9, all the variables set to 9, nothing obvious to distinguish it.
-
Apple has their own versioning. Did you expect anything else from them?
Well, I guess I shouldn't have. This is about as useful as calling it "clang High Sierra".
-
… tried on Mac now. Version 9, all the variables set to 9, nothing obvious to distinguish it.
-
@anotherusername said in WTF Bites:
Radians being a unitless unit
IMHO that's not a good way to think about radians. I'd say it's kind of the same error as conflating Newton metre (torque) and Joule (Energy). Radians is metres / metre, which does look like it's dimension-less, but IMHO the two kinds of metre should be considered different. I suspect it's something to do with the two distances (the radius and the tangent) being perpendicular to each other, but I couldn't do a formal argument.
This is not the only case where something sometimes makes sense to be considered separate dimension, but other times it can't.
Is that a suitable example for you case?
-
But these days I then just put the numbers including their units in qalculate or wolframalpha and let it do the conversion and check the dimensions.
I usually just use google, it can do almost everything and gives me the results before wolframalpha even loads the page. qalculate looks good, I'll check that out next time I don't want to put confidential data into the google search. :smiling_face_with_open_mouth_cold_sweat:
-
Particularly insidious, since for angular velocity, Hz should probably equal to 2π rad s⁻¹
It does. rad/s (angular frequency) is used quite frequently e. g. in signal analysis or when studying oscillators, and is different from Hz (by a factor of 2π, obviously).
-
@ixvedeusi said in WTF Bites:
Radians is metres / metre, which does look like it's dimension-less, but IMHO the two kinds of metre should be considered different. I suspect it's something to do with the two distances (the radius and the tangent) being perpendicular to each other, but I couldn't do a formal argument.
Round metres over straight metres.
-
@zecc Actually, parallel metres over perpendicular metres. And yes, radius is the perpendicular ones, because that way it makes sense for the work and torque (work is force times parallel distance and torque is force times perpendicular distance).
@ixvedeusi said in WTF Bites:
Is that a suitable example for you case?
It's closely related, because the difference still stems from the radius/tangent distinction. I think I've seen something where the dimension with two interpretations was not length, but can't remember what it was.
-
Actually, parallel metres over perpendicular metres.
I see what you mean, in the context of a wheel traveling over ground.
But a radian is defined as the ratio between the round metres going around a circle and the same number of metres of its radius.
-
@zecc Of course radian is defined that way. But I am talking about the reason you need to treat the lengths differently and that is their relation to the other vectors, not the roundness.
-
@boomzilla said in WTF Bites:
whomwho was paid"Was paid" is in the passive voice. :)
I hope they respond with that.
-
Trigonometric functions don't mix angles and lengths. You can normally maintain angle as separate dimension with them. It is when you use the fact it is ratio of circumference to radius when you can't—which is quite often when working with angular velocity.
Another example would be calculating the area of a sector (pie slice).
-
@anotherusername said in WTF Bites:
I know that the US have their own special-snowflake versions of gallons and pints, but this is the first time I've seen mention of a US mile...
-
@anotherusername said in WTF Bites:
I know that the US have their own special-snowflake versions of gallons and pints, but this is the first time I've seen mention of a US mile...
From wikipedia:
The mile is an English unit of length of linear measure equal to 5,280 feet, or 1,760 yards, and standardised as exactly 1,609.344 metres by international agreement in 1959.
The U.S. survey mile is 5,280 survey feet, or about 1,609.347 metres. In the United States, statute mile formally refers to the survey mile, but for most purposes, the difference between the survey mile and the international mile is insignificant—one international mile is 0.999998 U.S. survey miles—so statute mile can be used for either.
Everything's bigger in America.
-
@pjh The Google calculator only lists two "mile" units for length: the mile and the nautical mile.
As far as I know, MPG is just labeled "US Miles per gallon" because US gallons are different. So "US" is a modifier on the whole unit ("miles per gallon"), not specifically just on "miles".
-
Perhaps I was a little ambiguous in the emoji containing
tr
on that post, given two people chose to mansplain it to me (at least one of them seriously)...
-
Perhaps I was a little ambiguous in the emoji containing tr on that post
FWIW, I got that.
But I'm also not surprised there was subsequent dickweedery.
-
I guess KDP doesn't handle updates well. I went through a few revisions of cover art. Now, if you view the ebook in the store you see one cover. If you click "Look Inside" you see a different cover. If you download it to your Kindle you see yet another cover. How hard can it be it to automatically keep a Word doc in sync?
-
Actually, parallel metres over perpendicular metres.
I see what you mean, in the context of a wheel traveling over ground.
But a radian is defined as the ratio between the round metres going around a circle and the same number of metres of its radius.
For that reason, radians must be unitless, because otherwise multiplying the radius (length) by an angle in radians wouldn't give you back a length.
-
@ben_lubar said in WTF Bites:
For that reason, radians must be unitless, because otherwise multiplying the radius (length) by an angle in radians wouldn't give you back a length.
Unless there's a scaling factor of 1 rad-1 in there.
-
-
-
@twelvebaud said in WTF Bites:
Poe or no?
Not even Poe. It's been running around /r/programmerhumor for ages. At least until the ICBM warning meme took over.
-
So in case you didn't hear, this happened a few days ago:
And in case you hadn't seen it, this is the actual interface that caused the accident:
https://twitter.com/CivilBeat/status/953127542050795520Because why would anyone care about petty things like usability when building emergency alert systems?
Also, as I understand, they didn't have a "false alarm please disgregard" option, so they had to add it in a hurry after it happened, which is why it took them 37 minutes to send the retraction.
Seriously though: this won't be a surprise to anyone here, because we all know that 90% of the computer infrastructure on which modern society is built is held together with metaphorical duct tape.
When Heartbleed happened (remember Heartbleed?) and people realized they had been neglecting basic security and code reviews, Google stepped up and established "Project Zero", basically a team dedicated to doing security audits of everything from Windows to Cloudflare. Until a big government agency does the same and starts auditing all critical government and private (banks, health care...) computer systems, these things will keep happening.
-
Also, highway signs showed this
Which is somehow one of the creepiest messages ever if you don't know the context.
-
@anonymous234 said in WTF Bites:
So in case you didn't hear, this happened a few days ago:
I might have seen vague references, and possible - numerous - follow ups to it, yes...
-
Status: dammit, @
fbmacben_lubar!
-
@anotherusername said in WTF Bites:
Status: dammit, @
fbmacben_lubar!Oh crap do I have to go into the database and fix it manually
brb
-
@ben_lubar said in WTF Bites:
@anotherusername said in WTF Bites:
Status: dammit, @
fbmacben_lubar!Oh crap do I have to go into the database and fix it manually
brb
> db.objects.findOne({_key: 'topic:20319'}).postcount 7789 > db.objects.findOne({_key: 'topic:12236'}).postcount 77417 > db.objects.find({$or: [{_key: 'tid:20319:bookmarks', score: {$gt: 7789}}, {_key: 'tid:12236:bookmarks', score: {$gt: 77417}}]}).count() 64
-
@ben_lubar I already reset my bookmark. Everyone else's is probably wrong.
edit: if they read this thread, and had read past the jeffed posts.
-
@ben_lubar said in WTF Bites:
@ben_lubar said in WTF Bites:
@anotherusername said in WTF Bites:
Status: dammit, @
fbmacben_lubar!Oh crap do I have to go into the database and fix it manually
brb
> db.objects.findOne({_key: 'topic:20319'}).postcount 7789 > db.objects.findOne({_key: 'topic:12236'}).postcount 77417 > db.objects.find({$or: [{_key: 'tid:20319:bookmarks', score: {$gt: 7789}}, {_key: 'tid:12236:bookmarks', score: {$gt: 77417}}]}).count() 64
> db.objects.update({_key: 'tid:20319:bookmarks', score: {$gt: 7789}}, {$set: {score: 7789}}, false, true) WriteResult({ "nMatched" : 37, "nUpserted" : 0, "nModified" : 37 }) > db.objects.update({_key: 'tid:12236:bookmarks', score: {$gt: 77417}}, {$set: {score: 77417}}, false, true) WriteResult({ "nMatched" : 27, "nUpserted" : 0, "nModified" : 27 })
I apologize if anyone's bookmark was set to before @anotherusername's latest post in this topic after having read it a few seconds ago.
-
@ben_lubar said in WTF Bites:
@ben_lubar said in WTF Bites:
@anotherusername said in WTF Bites:
Status: dammit, @
fbmacben_lubar!Oh crap do I have to go into the database and fix it manually
brb
> db.objects.findOne({_key: 'topic:20319'}).postcount 7789 > db.objects.findOne({_key: 'topic:12236'}).postcount 77417 > db.objects.find({$or: [{_key: 'tid:20319:bookmarks', score: {$gt: 7789}}, {_key: 'tid:12236:bookmarks', score: {$gt: 77417}}]}).count() 64
You'd think there would be some way to automate that...
-
-
@tsaukpaetra said in WTF Bites:
@ben_lubar said in WTF Bites:
@ben_lubar said in WTF Bites:
@anotherusername said in WTF Bites:
Status: dammit, @
fbmacben_lubar!Oh crap do I have to go into the database and fix it manually
brb
> db.objects.findOne({_key: 'topic:20319'}).postcount 7789 > db.objects.findOne({_key: 'topic:12236'}).postcount 77417 > db.objects.find({$or: [{_key: 'tid:20319:bookmarks', score: {$gt: 7789}}, {_key: 'tid:12236:bookmarks', score: {$gt: 77417}}]}).count() 64
You'd think there would be some way to automate that...
I was thinking of ways to implement this in an actual database and so far the best I came up with is a foreign key to the last read post ID and its topic number that is required to be updated in the same transaction as the post move or deletion.
-
Goddammit, PeopleSoft. What does this even mean?
-
@pie_flavor That reminds me of a unit test for one of our products which for some reason fails with the error message: "ERROR: Test passed?"
-
@mott555 If you're trying to fail, and succeed, which have you done
-
@timebandit said in WTF Bites:
@mott555 If you're trying to fail, and succeed, which have you done
Successfully failed, duh?
-
-
Twitch has had the ability to upload videos like YouTube for over a year now, and many people have been uploading to both platforms for various reasons. Twitch Uploads worked fine, you could set a video as private, public, or scheduled, and you could even type in the time down to the exact minute as opposed to YouTube's half-hour intervals. Everything worked fine, email notifications and notification bell messages for uploads worked, it was easy to upload videos, you only had to set information once, etc. Life was good.
So then today Twitch decided that it wasn't complicated and buggy enough.
https://blog.twitch.tv/new-video-producer-tools-available-today-947ee17c5a24
From now on, all videos you upload to Twitch have to be "premiered", which means that they are livestreamed as if you are streaming. ALL uploads, no exception. This in and of itself is annoying enough, especially for people reuploading from other platforms. But it gets worse.
You have to set the title, thumbnail, and description when you upload the video initially, and I also take note of the video URL for my spreadsheet. Then to "premiere" the video, you have to set the title, thumbnail, and description AGAIN, except this time the thumbnail MUST be a jpeg or it rejects it. You can only choose from half-hour increments, no immediate publish.
For the actual premiere, it defaults to inserting a 30 second countdown before the video. Then it literally streams the video. This means the video is encoded three times: once on your system, once when you upload it to Twitch, and then again when it streams for the Premiere. The reduction in quality is very noticeable compared to the original upload quality. Then when it's all said and done, it literally deletes the original upload, and the triple-encoded stream archive is all that remains, including the countdown at the start of the video. This also means that the URL I wrote down earlier is no longer valid and I now have a different URL to use.
Once the premiere has ended, you have to set the thumbnail again - yes, that's three times you have to set the thumbnail. In effect, the original title, description, and thumbnail you set when you first upload the video are completely irrelevant and never used or seen by anyone but you. Not sure how that got past testing.
Overall, it's a big mess. They also seem to have removed the "Send Feedback" link, at least I can't find it where it used to be.
-
This means the video is encoded three times: once on your system, once when you upload it to Twitch, and then again when it streams for the Premiere. The reduction in quality is very noticeable compared to the original upload quality.
-
They also seem to have removed the "Send Feedback" link
Since I don't think it would allow you to send actual physically flaming dog turds to them over the internet, I can't see that it would help a lot…