Somebody must've written that as some sort of joke.
Posts made by marinus
-
RE: Just... I don't know anymore man.
-
RE: Microsoft will let you finish but...
Yeah, but that takes effort. Not a lot, but still.
-
RE: Wix Wankery
In Pennsylvania, there's Fertility, Blue Ball, Bird-in-Hand and Intercourse all within a few miles of each other.
-
RE: Texmaker doesn't like filenames with spaces
Do you want an even worse WTF? See that Quick Build setting? Do you want to know what it actually does with that string? Among other things, it does this:
if ( (pdflatex_command.contains("synctex=1")) || (latex_command.contains("synctex=1")) || (xelatex_command.contains("synctex=1")) ) pdfviewerWidget->jumpToPdfFromSource(getName(),currentline);
And there are more of those too. This is all in that one
RunCommand
function I mentioned earlier. It's absolutely horrible. Also, I added the formatting myself, they have it all on one long line and it's hard to see what's going on. -
RE: Texmaker doesn't like filenames with spaces
I don't know why I've gone through the trouble to figure it out, but I did. (This codebase is ridiculous, by the way.)
finame
is an absolute path, except when the file has not been saved, then it'suntitled<n>
. So it works.And why is this so? Well, you can have multiple files open. The UI displays a list of files in a dropdown menu. But what do you do with a new document, which doesn't have a filename yet? Simple, you do this:
filenames.insert( edit, "untitled"+QString::number(untitled_id) );
If a file is actually saved or loaded, the absolute path is used, and the dropdown lists only the part after the last
/
. And then, to see if there is actually a file on the disk or not, you test the start of the string against"untitled"
! Since an absolute path doesn't start withuntitled
, it works. Of course, this "logic" is scattered across the codebase. -
RE: Texmaker doesn't like filenames with spaces
I went and had a look at Texmaker's source code. Theory confirmed. In
TexMaker::RunCommand
intexmaker.cpp
:proc = new QProcess( this ); proc->setWorkingDirectory(fi.absolutePath()); proc->setProperty("command",commandline);
More , checking if a file has been saved:
if (finame.startsWith("untitled")) { QMessageBox::warning( this,tr("Error"),tr("A document must be saved with an extension (and without spaces or accents in the name) before being used by a command.")); return; }
Holy hell.
-
RE: Texmaker doesn't like filenames with spaces
It's not tex's fault. It works fine with spaces in the filename, I just tested it. Likely the people who made Texmaker just did something like
system("tex " + filename)
instead of spawning the process the proper way, saw that it choked on spaces, and decided to put in an error message rather than do it properly. -
RE: The Ultimate pedantic pedantary
Well, he is ginger, so that's probably a decent price.
-
RE: Paying people to not commit crimes...
I think it's fair to describe employment (in most cases) as paying people to not commit crimes.
In most cases, employment is paying people to do a job.
-
RE: $40 for a career
Even if it does somehow manage to teach you to code properly (a miracle in itself in three months, hell, look how little a college degree even teaches you), it is still worthless because who is going to trust it? If someone put this on their resume I'd be wary of it...
-
RE: Incoming Discourse WTFs
... also a JavaScript library has a rendering engine that isn't just "the DOM, duh".
That's crazy. It would run far too fast, use not nearly enough memory, and everything would work the same as other sites. There's no novelty or innovation there at all.
-
RE: --no-preserve-common-sense
When you're writing software, you want to make it easy to use for the end-user. Slapping a formal grammar description of your config file is like starting your PC's instruction manual with a section on wiring and chip datashets. The user doesn't care. The user wants to boot the PC, not figure it out from the wiring diagram.
It's not like putting wiring diagrams in a PC's manual, it's more like putting wiring diagrams in an Arduino's manual.
It was never meant for the end user. If you are a sysadmin, you ought to read the documentation of the tools you use. If you are not a sysadmin or power user, you should never need to touch this file.
If the machine in question is not serving multiple users, and/or you are not its administrator, you will not, ever, need to touch this file.
Really, end users shouldn't have to hand-edit any configuration files ever. But Linux was never really meant for the end user. It's like buying an ATV in kit form in order to drive your kids to school, that's simply not what it was made to do. It has its strengths, but this is not one of them.
That said, in Ubuntu you can do all the basic things now using the GUI tools.
-
RE: --no-preserve-common-sense
Tip: if your configuration file requires an EBNF description for people to configure your program, maybe just stick to XML or something.
It didn't exist yet when
sudo
was first made. Changing the format now would break the old stuff. Including the GUI tools that do exist to configuresudo
.Besides, XML isn't all that good either. It's terribly verbose and also more complicated, and besides, you'd still need a description of how it works. EBNF can actually be fully explained to a novice in two paragraphs.
You can say that you can expect people to know XML already, but
- even most people who think they know XML still don't really know XML,
- most people will also know the basics of EBNF well enough already.
-
RE: --no-preserve-common-sense
At least it tells you the grammar of the configuration file you're supposed to hand-edit reasonably concisely. I've seen far worse documentation.
-
RE: Revolutionary new antivirus
Yet most people still believe in horoscopes, alternative medicine, or other magic rituals, which make exactly as much sense.
I doubt many people here are very much into such things.
-
RE: Memory-holing: Now here on DailyWTF! Abusive mods ahoy!
And here the forumpointzzz are just some amusing term that genius Blakeyrat made-up, but actually give you moderator abilities!
My god. Really? Never noticed. (Not even when I did have Lounge access.)
[s]That must be the most idiotic idea ever. Just let anyone who presses the little heart enough delete posts they don't like? Wow. I hope I'm misunderstanding.[/s]
Edit: I apparently did misunderstand.
-
RE: Memory-holing: Now here on DailyWTF! Abusive mods ahoy!
Then fuck community owners?
Easily said, but then who pays the server bills?
That said, I don't know what kind of hugbox we're becoming when blakey can't even "insult" people anymore without having his posts mysteriously vanish. Remember when we had tough skin? Hell, remember MasterPlanSoftware?
-
RE: Memory-holing: Now here on DailyWTF! Abusive mods ahoy!
show a deletion reason
There isn't a single forum in existence that mandates this, probably because full moderation transparency (even if it's like
post deleted by 'codinghorror' for reason: 'doing it wrong'
) isn't something any community owner would be on board with.Ironically, had Jeff really wanted to make a more 'civilized' Internet, the software would've mandated this instead of those annoying toasters.
-
RE: Internationalisation... why is it so difficult?
That's a classic the Eurosceptics love to use as an example of interference from Brussels.
One tiny little problem: the EU standards are identical to the British standards, which are older
Stupid rules are stupid rules no matter who is responsible for them. If you copy someone's stupid rule you're still stupid for copying it.
-
RE: Internationalisation... why is it so difficult?
If only there was some kind of European Union that could establish some legal standards and solve this problem...
They're too busy regulating the curvature of bananas.
-
RE: Short circuits in @xaade's AI?
Does anyone actually use these in real life? The whole concept just screams 'novelty'.
I've also never gotten any kind of speech recognition to work reliably enough for it to actually be usable, and that's at home, never mind how much worse it will get if you'd try it in traffic where it's loud.
-
RE: IS THERE ANYTHING THIS AWESOME KICKSTARTER PROJECT CAN'T DO? Oh yeah, exist.
But at least their photoshopping is pretty good.
Is it me, or is this actually a bad sign? I've noticed I've become wary of very slick-looking marketing when it comes to new technology. I'd instinctively trust some scruffy guys in a lab with an ugly prototype full of wires far more than I would slick marketing and pretty pictures, when they are claiming to have invented something.
-
RE: IS THERE ANYTHING THIS AWESOME KICKSTARTER PROJECT CAN'T DO? Oh yeah, exist.
A scam? On Kickstarter? Who would have thought that such a thing could be possible?
-
RE: How to add awesome into your day
Nah. I know what crowd you're talking about, and 99% of the Internet is not like that. As is 99% of the world. People get a bit too worked up about these things. It's just that the 1% have bullhorns. But not much else. It feeds off of itself. For the record, this goes in both directions. This much should be obvious, but let's be certain.
-
RE: Shell WTF
- All users are too stupid to learn to use multiple devices. - Therefore our software must work identically on every device.
These people do exist, but they are certainly not the kind of people that go and install Linux on anything, so they've fucked up royally.
And it's Linux, so you end up with a GUI made for people who are unwilling to learn, on top of an OS that requires you to shell out if you want to actually do anything.
-
RE: As if most of the marketing wasn't already a WTF
The power of badly designed incentive programs.
-
RE: Shell WTF
Hmm, yes, you're right. I had thought
rm
was at fault for descending into..
because of the-r
option, but if that were the case, anyrm -r
would likely have triggered this, so it wasn't that, at least not by itself.At least I had a reason for being root, I was trying to install something, but I don't remember what.
-
RE: Shell WTF
Because I was thirteen years old at the time.
[s](Besides, if it went up into
..
it would've gone into../..
too, so not like it matters.)[/s] I should learn to think before I type. -
RE: Shell WTF
I distinctly remember, which must have been about 12 years ago, when I was still in middle school and experimenting, wanting to remove a directory's contents, and typing:
rm -rf *
This did not get rid of the dot-files, so I tried again:
rm -rf .* *
'Hmm, this is taking a long time... well, it's a big directory...'
'Hmm, this is taking a very long time...'^C # ls -a ls: command not found
'Aw, fuck.'
# echo /* /var /vmlinuz (or something like that, it's long ago)
It had cheerfully "descended" into
..
and eaten through pretty much everything. At least I learned this well before I was ever trusted with any responsibility.(Edit: I just went and tried this in a VM, and at least for modern Debian I can confirm they actually have fixed this by now.)
-
RE: Why is Everybody so clueless on the importance of Desktop Search to the Masses?
first time in my life that i've seen [something that's been standardized since the 70s] [suddenly do something completely unexpected].
Welcome to Discourse!
-
RE: RAM is slower than HDDs! If you are an idiot, that is.
And they're already in the same country too. Perhaps they know him. I read this abomination and it wouldn't surprise me if they had done drugs together.
I hope this is just some first-year bachelor students' "here's how to write a paper" course, although even then they would've failed it.
-
RE: Conversations overheard
Well, to business people it only becomes debt when everything falls down and they have to borrow money for repairs.
-
RE: Population of China
We've already invented replacements for the shoulder pole, wheelbarrels, handtrucks, actual trucks. The problem is one of wealth.
Even better: the "better shoulder pole" has already existed for centuries.
It has a bend in it, so it goes around her neck and rests on both her shoulders, solving the pressure issue. Welcome to the 1100s. Next he might invent the wheel.
-
RE: Discourse is slow on Android. Why?
So.. discourse can run on Windows 95?
The age of the device implied by very old OS would make it unsuitable.
phpBB runs on Windows 3.1 just fine. It takes a second or five to load a page, but then again that's not much worse than Discourse on my phone. It's markedly better than Discourse on my iPad 1, which works fine otherwise and which I won't be upgrading.
And while this wouldn't be my first choice, it actually is mostly tolerable to use. And that with 24 MB of RAM. And the only real feature Discourse has and it doesn't, is a like button. This is saying something.
-
RE: How do you screw up Tetris?
For a comparison, here's the original:
https://www.youtube.com/watch?v=O0gAgQQHFcQ
Making a modern system, even if it is a console, perform worse than a 35-year-old hunk of Soviet rust is something of an accomplishment. Especially seeing that the modern version doesn't really seem to do much more.
And having this problem occur during testing, noticing it, and then releasing it anyway in that state should be a capital offense.
(Edit: it is starting to remind me of certain forum software.)
-
RE: Cards Against Humanity is like if I got control of a successful e-commerce site
There is a difference between being offended by actual words with context and being offended by an interpretation of what an art piece is supposed to be conveying. Whether or not there is an active klan in Iowa is completely missing the point.
Being offended at something shouldn't give you any extra rights to begin with.
-
RE: Cards Against Humanity is like if I got control of a successful e-commerce site
I've seen this story all over the place. OK, the guy should have gotten permission, but the reaction of the students seems pretty silly to me. If this thing had been put up 50 years ago, then their reaction makes sense. But I'm pretty sure there's no really active KKK in Iowa right now, so it's appearance shouldn't have provoked a fight or flight reaction among 20 year olds.
It's pretty sad how insular a lot of college kids seem to want their college experience to be these days.
I think it's partly just a power trip. They get to punish people for being unorthodox or 'offensive', which means they get to punish people. So there you are, as an otherwise unremarkable 20-year-old, chasing a professor off campus and toppling artworks. If you've just come from suburbia, that must feel thrilling.
-
RE: Xbox Live has got to be fuck fuck fuck fuck fuck fuck fuckfuckfuckfuckfuckfuckfuck
I thought, well, this is obviously marketed towards children. And then I saw the faces.
-
RE: Humble "asm.js" Mozilla Bundle (and HTML5 in general)
So, like, you mean they should have a QA team?
-
RE: 🙅 THE BAD IDEAS THREAD
plan on taking your own projector, and while you're at it your own roll-up projector screen, halfway across the continent to any place you've agreed to speak.
Surely a newfangled-connector-to-VGA adapter should be enough?
(And test it first. I held a presentation once where my slides turned purple because the adapter had apparently lost one of the channels.)
-
RE: 🙅 THE BAD IDEAS THREAD
It's 3.1, with IE 5. (And the previous incarnation of TDWTF actually did work on that platform. It didn't quite render correctly, things like the sidebar actually being at the bottom, but it was legible and usable, i.e. graceful degradation.)
I actually went back and tested some more sites. It's quite amazing to see what will still work, actually. As long as it doesn't involve much "web 2.0", copious amounts of Javascript, or SSL, it'll mostly work. phpBB instances work fine and are usable.
It even auto-redirected to Bing when I typed a search term into the address bar. So Microsoft's 1999-era links are set up to redirect to their modern equivalents. Speaking of which, Bing also works, though it doesn't really look good.
Now I wonder if I can somehow get a modern-ish browser (with CSS support etc.) onto it. (TRWTF?)
-
RE: 🙅 THE BAD IDEAS THREAD
Bad idea: breaking backwards compatibility.
The previous version of the site still worked. See? I told you change was bad.
-
RE: Visual Studio WTF
Did it actually work when you added the extra
public
, or did it just compile and then crash or call the wrong function?If you really want to know what's behind it, you should compile it both ways and then compare the object files, but that's work.
-
RE: Visual Studio WTF
Is it just setting the visibility back to
private
when it seesclass
, not caring about nested classes?It seems like that if it was just looking at the wrong object file, adding a
public
shouldn't change a thing. I'm not all that well versed in either Windows or C++, though. -
RE: Unicode making life difficult. Again.
If you want to be a bit nicer, you could probably add code points that correspond to Red=0 ... Red=255, and a different for Green = 0 .. Green=255. That's just three or four times 256 code points.
This is probably the least insane way to do it. It even fits with the rest of the scheme, sort of. Now, where's that evil ideas thread?
-
RE: Grief is just a mouse-click away...
I find it more jarring that they only render the text in proper 1920x1080 and seem to have just scaled up the rest. It also looks really hazy (as if there's a lot of pollution).
I wouldn't expect a proper story from CoD but they should at least make it look good.
-
RE: Unicode making life difficult. Again.
If only we had "UTD" and "DTU" (Up to down, down to up) too, we could give any text pretty shapes. By combining those, the color-picker characters and good old block characters, we could finally reproduce all Piet Mondrian paintings in plain text!
If they're just going to add skin colors, you won't have the right palette. I propose they add the 256-color VGA palette.