WTF Bites
-
@anotherusername said in WTF Bites:
That is why
#ifdef DEBUG
was invented.That's sort of thing is probably controlling the definition of
assert()
anyway.
-
@greybeard said in WTF Bites:
With an assertion I get a nice core dump, with stack traces which usually point right at the bug that caused the invariants to be violated.
If only this was really true. Some types of memory smashes don't obey those rules and are complete asses to hunt down… and that's doubly the case once you're dealing with multi-process “applications”.
-
https://i.imgur.com/t0iYFMz.png
Why, oh why, do I get 12.5MB/s from Mega, while being lucky if I get 1MB/s anywhere else?
-
@pie_flavor did you pause/cancel the download earlier? Maybe it resumed the download and it makes it look like it's being downloaded instantly
-
@bb36e ... no?
-
@pie_flavor said in WTF Bites:
Why, oh why, do I get 12.5MB/s from Mega, while being lucky if I get 1MB/s anywhere else?
Is it using a custom downloader app? Those can do tricks with multiple HTTP streams when doing file downloading which can massively accelerate things, as long as the actual bandwidth is there. (It's really just opening a bunch of sockets and downloading chunks of the file over each; only really worth it for large files and where there's lots of bandwidth.)
Otherwise, it's likely more related to the actual network route it is taking not going over so many congested links. There's a whole bunch of reasons why this might be possible (such as a clever CDN-like thing) but it's all a matter of seeing where the bottleneck for most of your downloads really is; the limit is virtually always the slowest network segment in the route (unless you're fortunate enough to be getting to the point where the speed of one of the endpoints is the limiting factor; that's almost never the case in reality for non-local routes).
Or perhaps they've got something that is trying to spoof your ISP's download bandwidth limiter. That'd be a bit naughty, and frankly is the sort of technology arms race that everyone is better off without. Also, it still gets limited by actual available bandwidth…
However, what we can discount is compression trickery. There's literally no point with RAR files (or any other compressed format).
-
@dkf it has this weird thing where it doesn't save the actual file on disk until it's fully downloaded, and then it appears in the browser as regular download that's completed instantly. Also, I think it's the only file sharing site in existence which gives unlimited download speed for free.
-
it has this weird thing where it doesn't save the actual file on disk until it's fully downloaded
That just means it is saving it somewhere else. There are lots of places where downloaded chunks could be kept.
So yes, custom downloader involved and all sorts of tricks possible.
-
it has this weird thing where it doesn't save the actual file on disk until it's fully downloaded
I believe this is because the server itself only sends encrypted data to the browser, and the browser decrypts the file and 'downloads' it once the transfer is complete.
-
gives unlimited download speed for free
This. It's so much faster because you're probably used to ones that throttle.
It's not the only fast one though... ClicknUpload, BillionUploads, 1Fichier, UploadRocket, OpenLoad are all pretty fast IIRC.
Although, I usually content myself with 2-4 megabytes per second, probably just because I'm being limited by the wifi speed unless I want to hook up an Ethernet cable.
edit: no idea why this ended up as a reply to the wrong post.
-
@anotherusername I use those occasionally, but I only really deal with GDrive, MediaFire, and Dropbox which don't throttle either. So I just have no idea where the speed is coming from.
-
Some types of memory smashes don't obey those rules and are complete asses to hunt down…
True, but the batting average for our single-process multithreaded application has been pretty good.
-
@pie_flavor then maybe it's just stored in the rar with no compression and then it compressed really well to download.
-
However, what we can discount is compression trickery. There's literally no point with RAR files (or any other compressed format).
Assuming it is compressed... it may not be.
-
@anotherusername said in WTF Bites:
That is why
#ifdef DEBUG
was invented.That's sort of thing is probably controlling the definition of
assert()
anyway.Actually, the C standard says that
#ifndef NDEBUG
controls the definition ofassert()
.
-
@ben_lubar said in WTF Bites:
Actually, the C standard says that
#ifndef NDEBUG
controls the definition ofassert()
.With a standard runtime, yes. Non-standard runtimes might do their own thing (and defining
DEBUG
might cause other symbols to change their definition status). The object code knows the truth… ;)
-
Got a gift with a gift receipt. The gift receipt has a URL to take a survey. I went to the url, and the first question is "Did you make a purchase". No, I got a gift, so I selected no. The survey continues: "Which location did you visit?" "Are you sure it was this location?" "What was the date and time you visited?" "How many times did you visit that location in the past 6 months?" (I put 0 for the last one) "How satisfied are you with the overall experience during your visit?"
Maybe they should either have a different survey to put on the gift receipt, or not have it at all, because these questions are completely irrelevant to the recipient of the gift.
-
Idiots.
-
-
-
@tsaukpaetra Actually a pretty accurate summary of Nintendo's game library.
-
-
@blakeyrat said in WTF Bites:
@tsaukpaetra Actually a pretty accurate summary of Nintendo's game library.
Well, don't keep us waiting like this. What do you hate about Nintendo's game library?
-
WTF bite from yesterday: So, in Germany there will be a requirement for all lawyers to access their official correpsondence through an electronic post box (sort of like email but supposed to be more secure, which is kind of obvious as we're dealing with quite important stuff) beginning in 2018.
Of course there was a period of transition beginning in the middle of 2017 to allow lawyers to sign up and get acquainted.
Yesterday the portal for the correspondence service posted an announcement that, due to "unforeseen circumstances" all lawyers using the service would have to install a local certificate on their own because the certificate provided by the installation program had to be revoked.
So, at first I thought that they had merely forgotten about all certificates having an expiry date and somehow flubbed installing a new one.
Then I read the article on Heise about the incident. It was even worse than a bit of amateurish forgetfulness.
Turns out that they were distributing the private key along with their installation...
A small escalation: So, they distributed a self-signed certificate to "fix" their installation, said new cert basically amounts to a root-cert.
Only problem: They included the private key AGAIN. Oh, and their solution is running a local webserver on port 9998 on every lawyers' PCs. It's not entirely clear to me why.
I'm also not sure who deemed those people capable of doing anything with a PC (except for pressing the power button. And even there I'm not too certain).
-
I'm also not sure who deemed those people capable of doing anything with a PC (except for pressing the power button. And even there I'm not too certain).
It really sounds like they were the perfect choice for securing privileged correspondence.
-
-
Ebay and computer parts. I wonder what awesome graphics that graphics card could produce~
-
@atazhaia What kind of card is it though? It looks like it has RJ45 slots, an audio jack and one of those old DB-something connectors?
-
@jbert My guess is an old combined sound and modem card, probably ISA era. So MIDI/joystick connector, sound ports and a couple RJ11 connectors for phone.
-
@atazhaia Hmm. So even tho there's a disk drive group, there's a disk drive shown for the motherboard compenents... Fire that graphic designer!
-
@dcon The CPU and RAM depicted are also not quite from this decade...
-
@atazhaia If you want the hard drive disassembled, you click "hard drives". If you want it assembled and usable, you have to click "motherboard components".
That's not even a graphics card, but it's hard to imagine what it is. It appears to have a parallel port, a line-in(?) audio jack, and 2... phone line connectors? Well 3/4ths of those things relate to audio, did any company ever made a modem with a parallel port?
(I think it's a parallel port, but now that I look at it again I'm not even sure of that. Is it an old-style SCSI? That port also had two rows of pins in that arrangement.)
EDIT: Ok I'm a moron-- parallel ports and old-school SCSI were both DB25 standard, so they are identical. Still not sure that's what the photo shows-- there doesn't seem to be 25 pins there by my count. Now I'm decently sure it's a DB15 serial port, which was used for some old ethernet connections? Who even knows.
-
@dcon The CPU and RAM depicted are also not quite from this decade...
But at least they're the correct components!
-
Ebay and computer parts. I wonder what awesome graphics that graphics card could produce~
Is nobody going to comment on how it says "power suppliers"?
-
-
@ben_lubar I noticed that but thought it might be a regionalism or less-used but still correct term.
After all, the pictured device supplies power, so it is a power supplier.
It's also the only component pictured that doesn't look like it's from a decade ago. But who knows, it might be.
-
@blakeyrat said in WTF Bites:
@ben_lubar I noticed that but thought it might be a regionalism or less-used but still correct term.
After all, the pictured device supplies power, so it is a power supplier.
I would imagine a power supplier looking more like this:
-
@ben_lubar Whoa, really? What is their current price on the Koch Brothers, and and how does it compare on prices between Berkshire Hathaway, The Democratic National Committee, and the Russian Mafia?
Filed Under: Not so much ry as rasty
-
Close match:
Listing (for when it expires) claims it's a
Creative Phone Blaster, Model: CT3180, ISA SOUND BLASTER + MODEM, RARE, WORKING!
-
@blakeyrat said in WTF Bites:
That's not even a graphics card, but it's hard to imagine what it is. It appears to have a parallel port, a line-in(?) audio jack, and 2... phone line connectors? Well 3/4ths of those things relate to audio, did any company ever made a modem with a parallel port?
(I think it's a parallel port, but now that I look at it again I'm not even sure of that. Is it an old-style SCSI? That port also had two rows of pins in that arrangement.)
EDIT: Ok I'm a moron-- parallel ports and old-school SCSI were both DB25 standard, so they are identical. Still not sure that's what the photo shows-- there doesn't seem to be 25 pins there by my count. Now I'm decently sure it's a DB15 serial port, which was used for some old ethernet connections? Who even knows.
Now that you mention it, it is a DA-15 game port. The little icon looks like an upside-down joystick, and sound cards commonly had those ports to do everything gaming-related. Everything after the Sound Blaster likely also supported MIDI in / out.
@Tsaukpaetra posted a picture of a similar card above.
-
Got 21 cents for that.
-
@ben_lubar said in WTF Bites:
Is nobody going to comment on how it says "power suppliers"?
Missed that one...
-
@tsaukpaetra I haven't gotten one of those in God knows how long.
-
@pie_flavor said in WTF Bites:
@tsaukpaetra I haven't gotten one of those in God knows how long.
I hear it helps if you spend half an hour near shops (and unlock your phone sometime while there).
-
@pie_flavor said in WTF Bites:
@tsaukpaetra I haven't gotten one of those in God knows how long.
I've NEVER gotten one, and I signed up as soon as my Chromebook became able to install Android apps.
-
@ben_lubar said in WTF Bites:
@pie_flavor said in WTF Bites:
@tsaukpaetra I haven't gotten one of those in God knows how long.
I've NEVER gotten one, and I signed up as soon as my Chromebook became able to install Android apps.
Your Chromebook just doesn't know it travels all that much. Have you tried taking it out?
-
-
@tsaukpaetra said in WTF Bites:
Where's a wooden table when we need one?
Dunno, not my pic. I didn't want to unarchive my own cards just for this.
-
@tsaukpaetra said in WTF Bites:
Where's a wooden table when we need one?
White laminated wood?
-
YouTube videos start playing in about 2 seconds when you click a link. But the rest of the interface takes about 5 seconds more to load and work properly. That includes the code to pause or mute the goddamn video.
So what I get from that is that drawing some letters and buttons and setting up some click handlers is much more computationally intensive than decoding several megabytes of compressed video data.