Best posts made by Gurth
-
RE: Feel free to integrate with this thread
@boomzilla said in Feel free to integrate with this thread:
Integration now!
Integration tomorrow!
Integration forever!
-
RE: Dates are hard, episode INT(RND()*256)
@dcon It’s overrated anyway. Better to just assume stuff, then blame others for being wrong when they disagree.
-
RE: Interpreted email?
Yep, that’s similar to the script that was in the email I got, though mine appears to be a modified version. In case anyone cares:
[code]<?php
$testa = $_POST['veio'];
if($testa != "") {
$message = $_POST['html'];
$subject = $_POST['assunto'];
$nome = $_POST['nome'];
$de = $_POST['de'];
$to = $_POST['emails'];$email = explode("n", $to);
$message = stripslashes($message);$i = 0;
$count = 1;
while($email[$i]) {
$dataHora = date("d/m/Y h:i:s");$EmailTemporario = $email[$i];
$message = stripslashes($message);
$headers = "MIME-Version: 1.0n";
$headers .= "Content-type: text/html; charset=iso-8859-1n";
$headers .= "From: ".$nome." <".$EmailTemporario.">rn";if(mail($EmailTemporario, $subject." ".$dataHora, $message.$dataHora, $headers))
echo "<font color=blue>* Nъmero: $count ".$email[$i]." <font color=black>VEM INFOOOOO....!</font>
";
else
echo "<font color=red>* Nъmero: $count ".$email[$i]." <font color=red>EROO NAO ENVIO</font>
";
$i++;
$count++;
}
$count--;
if($ok == "ok")
echo "[Fim do Envio]";}
?>[/code]
-
RE: My colleague's Mac is TRWTF
And I've just counted. I've currently got 33 windows open at once on this display. Tiling that would be Not A Good Idea.
That inspired me to do a quick count as well, and I get to 25 non-hidden windows plus another six hidden, neither of these counting tool windows that hide automatically when the app they belong to loses focus. Oh, and one minimised. All this spread out over two virtual desktops (“Spaces” in Apple terminology). Of all these, 17 are browser windows and most of those have between two and seven tabs open, and so do the document windows in InDesign and Illustrator. I don’t even want a “Tile windows” menu command that I could click by accident I can see how such a command would be useful in some circumstances, but not in the way I organise the things I'm working on. -
RE: The 벨기에 of corporations
Because grades are never tied to race by anyone...
TBH, the thought that someone might had not occurred to me at all.Here’s another suggestion, then, which isn’t entirely luck-based and not entirely ability-based either: make it known that you use the “shotgun” system — for popular things, first person to say “shotgun” gets the job; for unpopular ones, last one to say it gets the job. Might be slightly unfair on new folks but they should catch on quickly, and whoever is chosen or left out can basically only blame themselves.
-
RE: Steam for Linux: The Port Report (article)
@dkf said in Steam for Linux: The Port Report (article):
It depended on what mouse button you used IIRC
Probably … it’s been about fifteen years and I don’t feel like installing my copy of SuSE 7.something in a VM to see if I can find one of those programs that did this and check the exact behaviour :)
It wasn't bad; it was just different. Almost any UI convention works provided it is used consistently.
Definitely. Most of the complaints about them come from people used to one thing and now “forced” to use another. (About half an hour before typing this post, I was tinkering with GEOS 1.5 on a Commodore 64 that got delivered to my door today, controlling it using a joystick — something I heartily advise anyone to do who thinks going from, say, Windows to OS X is so difficult they have to complain about it online.)
-
RE: Steam for Linux: The Port Report (article)
@blakeyrat I think I may have to try and see if this version does that too, making sure to disable the write access to the disk first.
-
RE: Work WTF
I keep telling people I'm going to move to Montana
You like staring at endless prairie and pretty much nothing else? (That’s my main memory of seeing Montana from a train, anyway.)
-
RE: Only in USA
@lucas1 said in Only in USA:
TBH My experience with anything that is voice that it only works if you have one of those awful American accents. It doesn't work with my Dorset Farmer's accent.
Here here. I might just use voice commands if the device would recognise the dialect I speak in daily life — I already feel like a bit of a fool talking to a machine, let alone doing so in standard Dutch.
-
RE: My colleague's Mac is TRWTF
Can't we focus on what actually matters, like application support and stability?
The thing is that this thread started out with some subjective complaints, and just about all the issues raised against using Macs here so far have been subjective — mostly boiling down to “It doesn’t do what I’m used to.”Application support doesn’t seem all that relevant to me: you can get an app that does just about anything reasonably mainstream for any of the modern common OSes. Sure, if you want to do things only a small number of users want, you probably won’t find a Mac version — but you might also not find a Windows version, if said small number of users tend to use whatever flavour of Unix their niche favours.
Stability, I’ll grant you OS X has gone downhill a bit in recent years while Windows has improved compared to back when I used it (that was one of my main reasons for going to Linux). If I’d have to guess, I’d say they’re probably about level these days, though I have no idea what I’m basing that on
As of ease of use - as I repeated several times already, it matters only if you don't know your environment.
Yes and no, I’d think. An environment that’s easy to use will be more quickly learned, leading to more ease of use for people who’ve become accustomed to it. And ease of use is in the little things, so that even when you’re used to your environment, you’ll probably get things done more quickly or with less aggravation than doing the same things on another system with lower ease of use. Trying to separate ease of use from ergonomics seems like it’s not a viable exercise to me.I try not to anthropomorphize "The Computer" because it's just a dumb machine
Commie mutant traitor alert! -
RE: My colleague's Mac is TRWTF
I've pontificated on this subject before, and have found no reason to change my view.
Who’s asking you to?All hail the One True Mouse
I own one of those. I prefer the shape of the Serial Mouse, though.All your points come down to "that's how Macs' have always done it, therefore it's correct."
It is when you’re using a Mac. You seem to be forgetting that “standard behavior” is relative to the conventions of the OS you’re using — it may not be the same aswhat you’re used tounder Windows or your favourite Linux GUI but that doesn’t make it wrong. Well, except of course to computer geeks, where everything that doesn’t work the way they expect it to, is utterly and inescapably wrong, and so is everyone who tries to explain.Having home jump to the start of file instead of start of line is madness. Whenever they added it, they fucked it up.
Before you rail against something, you may want to see what it actually does. No, the ↖︎ key doesn’t jump to the start of the file in the way that Ctrl+Home does on Windows. What it actually does is scroll the viewport to the start of the file — the insertion point stays where it is. This is subtly different, but enough to invalidate your point as having been made by someone who doesn’t actually understand what he’s going on about.¹To move the insertion point to the start of the file, you use Command-Up, to move it to the start of the line is Command-Left — which IMHO shows Apple put more thought into keyboard navigation than Microsoft (or maybe IBM, not sure if this is CUA standard or not) did, since you can move the cursor anywhere by resting one hand on the modifier keys and one on the arrows, and don’t need to move your hand back and forth between the arrow keys and the Home/End/Page Up/Page Down keys at all. I know I usually need to glance at the keyboard to make sure my fingers are on the correct keys if I have to do that, and I suspect I’m not alone in that.
¹ Mentioning Word for Mac to support your argument here doesn’t count, as it uses Windows conventions for a lot of things, including much keyboard navigation.
-
RE: My colleague's Mac is TRWTF
It's always command unless you're using terminal.
You can use most simple Emacs-style shortcuts (C-a to go to the start of the line, C-k to cut everything behind the insertion point, C-l to vertically centre the text in the widget, etc.) in any text field, not only the terminal. -
RE: SVGCaptcha
The best I've seen though was putting an extra hidden field in the form called leave_blank
Worst name possible for a field like that. -
RE: Safety? We don't need no stinking Safety!
Why live in the world when you can live in your head?
-
RE: Safety? We don't need no stinking Safety!
A species by definition is a group, not an individual.
Depends on how close to extinction the species is, doesn’t it? -
RE: IMAX lawyers don't understand what trademark is
The only category that really seems to go in for direct comparisons is supermarkets,
I don’t really have a good idea of how widespread it is here, since I usually actively try to avoid commercials on TV and the Internet and hardly read printed ads anywhere, but the other week I happened across a TV commercial for a optician chain that explicitly compared their prices to those of a named competitor. The funny thing is that I don’t really remember whose commercial it was (I think it was Specsavers) or which other chain they compared themselves to — what mainly stood out for me was the direct comparison. -
RE: Idiot comes up with stupid demands for "safe driving" that even @Lorne-Kates says are idiot dumb
@sloosecannon said in Idiot comes up with stupid demands for "safe driving" that even @Lorne-Kates says are idiot dumb:
- It's your car, and you're driving it.
- It's your car, and someone you've authorized is driving it. You're still responsible for their use of the vehicle.
- It's your car, but someone you don't know is driving it. Also known as theft.
- It's your car, and someone you've authorized has given a third person permission to drive it.
-
RE: These Chinese knockoffs are hillarious
Browsing the https://imgur.com/a/VL8NC post, I’m left wondering what you’d get if you take
with a
-
RE: target=_blank exploit
@Zecc said in target=_blank exploit:
The padlock is drawn taking into account the mouse position as it hovers over the page, in the position a real padlock is expected to be.
Doesn’t work at all in Safari (well, other than the cursor being displayed in the wrong place.) It works sort of in Chrome when I try it, but the padlock jumps up, down, and sideways by a few pixels any time the mouse moves. Also, as soon as the real mouse pointer is over the “Ben’s amazing hack” link it jumps back to that as a hand cursor. A more subtle thing is that the fake cursor is slightly wrong in both browsers, mainly in having no shadow but also because it looks like it’s not quite the right size. That last bit is hard to catch, though, unless you’re really looking for things to be wrong.
Good effort, IOW, but not convincing enough. Someone really wanting to use this for nefarious purposes might be able to overcome those issues, though.
-
RE: Safety? We don't need no stinking Safety!
/me am thinking that disabling the safety interlocks should engage something similar - as a friendly reminder about what's at stake.
Except it won’t be, because the person disabling the interlocks isn’t in the simulator — and even if the switch were in there or the person who disabled them will be the one using the simulator, it doesn’t look less safe when they’re off. People wearing seat belts drive less safely than ones who aren’t (on average) because they “know” that if they have an accident, the belt will protect them, and they get clear feedback that affirms this because they feel the belt against their bodies. Similarly, if you want people to drive more slowly, require a certain minimum road noise level inside the car.Also, and unrelated to safety (I hope), if you start your sentence with /me, finish it in third person singular, not first :)
-
RE: Application prefs, the Adobe way
On OS X all the usual settings are stored in a .plist file in the user’s Library folder, on Windows I suppose they go in the registry. Using the same folder as the program’s executable for enabling/disabling this hidden setting is also a WTF, if you ask me: it clutters up the folder, and on OS X, most users won’t know they can get to the folder Adobe’s help page refers them to, or how to do that — won’t even know that /Applications/Adobe InDesign CS5.5/Adobe InDesign CS5.5.app is a folder at all, in fact.
-
RE: Cancelable
@Bulb said in Cancelable:
@Gurth said in Cancelable:
Your dialog seems to be mislabel(l)ed: American English is the more traditional spelling.
No, it isn’t.
It’s probably as much the traditional spelling as the British spelling is. They diverged and kept different parts of the pre-divergence spelling but changed others.
It is the more common spelling which rather just like Chinese ("Traditional" is used in small Taiwan, "Simplified" is used on mainland).
The terms there have nothing to do with which one is more common than the other. It’s called “simplified” because that’s exactly what it is: written using signs simplified from those of what’s now called “traditional Chinese” to show it uses the older spelling.
why is there only one choice for Norwegian
... apparently because they didn't translate it to both. After all, they didn't translate it to Swahili either. Or Kannada. Or Georgian. Or ...
Those last three aren’t valid arguments, because they don’t appear in the list at all. For Norwegian, given that there are two common spellings, it’d be a good idea to indicate the spelling even if you only have one of them in your program.
Actually, it's quite likely it's shown even if it does know the current system language. If it preselects it, I would not mind.
There is no need to bother the user with this choice at all if the OS is sensible about it. App queries OS, OS says, “Current user prefers languages in this order: L, M, N, O, after that he/she doesn’t care” and so if the app doesn’t have any of those, it can fall back on its default (which will probably be English).
why are all the language names in English with country flags next to them?
most applications don't have any of those translations, nor others with similar problem, it mostly seems to work.
It works because people have gotten used to it. I know that if I were Belgian, I’d be mildly annoyed every time I had to click on a Dutch flag to select my preferred language. Too many people probably just take it in stride, though.
Dutch also obviously gets
I know it says it’s flag_nl but that looks much more like flag_lu to me — though people from .lu will probably argue the blue is too dark for that.
-
RE: Cable geniuses at my school
Which sounds to me like it needed lubrication. Or a damn good servicing.
Dynamos of the old-fashioned kind like this:… if you ask me hardly ever get serviced, almost certainly not in this country anyway. After a few years, the only cleaning my old bike got was when I had to ride it through the rain — and I owned it for 24 years before part of the gearing in the back hub broke, and I finally figured it might be better to just buy a whole new bike :)
That sounds annoying. How much harder is it to pedal with one of these attached, and how long does a battery last?
With a dynamo like that pictured above, most people seem to hardly ever use them even when it’s dark because “they make it heavier to pedal.” Which they do, but after maybe a minute or so you don’t feel that anymore. Truth be told, batteries last ages with a modern LED taillight — my chief complaint with them is having to turn them on separately from the headlight. -
RE: Representing a dungeon as a data structure
I think I’d do this by numbering all the exits of each room and indicating to which number of exit of which other room each exit connects. This would also easily let you do things like one-way doors, teleports and similar magic stuff.
Also, as has been said, treat passages as rooms — there’s only a semantic difference, after all.
If you want to be able to actually map this out automatically, I suppose you’ll have to incorporate a way to describe the shape and size of the room as well as the locations of the exits, of course.
-
RE: Only for Albert Einstein: 3-3×6+2=??
The question remains why they thought it is worth introducing separate + and - operations with different precedence.
Why they were introduced is probably lost to the mists of time. I can see why they’re kept as separate operations, though: because at the time children are taught basic arithmetic, negative numbers are probably too difficult a concept for them to understand yet — whereas you can present subtraction as taking one (implicitly positive) number from another.Come to think of it, they were probably introduced as separate operations for exactly the same reason: people most likely began by simply deducting one number from another, and only later came up with the concept of negative numbers. By that time deduction had been so well-established that trying to get rid of it in favour of adding a negative number to a positive one would be futile — especially since the outcome will (usually :) ) be exactly the same anyway.
-
RE: Cable geniuses at my school
Just because it's something "people used to do" doesn't mean that it is or ever was a good idea.
No, because it’s infinitely better to quote a whole message and then in front of it, put either a single-line reply, or have to rehash a lot of points the other person made just so it’s clear what you’re replying to — when you could insert your replies after the relevant parts of the original message, so it’s obvious what you’re talking about. (Note that I’m talking about email here, not forums where at least top-replying is luckily uncommon.)In other words: Just because it's newer doesn't mean that it is or ever will be a good idea.
Proper debate ought to not seek to misrepresent what the other side says.
That’s not the same as only quoting what you see as the relevant parts of the other person’s message. -
RE: Cable geniuses at my school
Whenever someone talks of "there seems to be far more of [...] these days!" I am immediatly distrustful of such statements.
Note “seems to be” rather than “are”.There are usually several explanations and not all of them result in "people are [insert derogatory term]”.
You’re putting words into my mouth … I never said there are no people with valid reasons for ‹whatever›. If every step you take hurts like hell, then by all means, take the lift. But if you get short of breath from a couple of flights of stairs, just take them more slowly and rest if you have to, but take them yourself (and if it’s because you’re too fat, eat less and get some exercise so you develop a bit of stamina).Now, I’ve been debating whether or not to mention the following, because on the one hand, it’ll come across like I’m asking for the kind of sympathy I accused a lot of people these days appear to want (which, for the record, I’m not asking for), but on the other hand I figure it illustrates where I’m coming from with this. I have a genetic condition that, among other things, means I have just about no sweat glands. This makes life difficult for me when the temperature rises above the low 20s (Celsius, people … ). If the temperature gets too high, I’ll do nothing much but hang around at home, and anyone who wants me to do something in the heat is shit out of luck — but in the temperature range between “uncomfortable” and “too hot” I’m not letting the heat stop me doing stuff I have to or want to, even if I know it’ll probably result in me having to spend considerable time being effectively out of action in order to cool back down. I don’t see this as any different from taking the lift if you really can’t take the stairs, but taking those bloody stairs when you can — as opposed to not taking the stairs because you think you can’t due to having some medical condition.
people have always suffered from "condition A" in such numbers, we just weren't looking hard enough. And if someone now suggests something like "Well, they should toughen up!", then I'd also suggest that this someone is a horrible human being.
This reads to me like you’re saying that even if people in the past could cope with something, but now we’ve got better diagnosis, they can’t cope anymore … ?[quote="Rhywden, post:32, topic:48901”]Your memory is not perfect and what you remember doesn't actually shape reality.[/quote]
It isn’t, but I wish it did shape reality.Genuinely more, or simply more media coverage?
Doesn’t either one lead to the other?@Lorne_Kates said:
My wife can't seem to convince anyone why this is a counterproductive idea.
It’s the same idiocy everywhere. People all claim they want to save the environment these days, yet what do they do? Get more and more battery-powered devices. Buy wood-burning heaters instead of using natural gas. Ride bicycles with electric motors. -
RE: How not to count
@phnom said in How not to count:
At a specific time of day an external system will reach into the PLC and count the amount of non-zero entries and present the summarized ball droppings in a nice chart.
After a while, won’t this simply always add 150 to the total any time it polls the PLC?
-
RE: Joberate - does your boss know you're looking for another job?
@remi said in Joberate - does your boss know you're looking for another job?:
as @Gurth and @lolwhat said, a PHB would not think of the firewalls but he could be ready to pay wads of cash to an external party
Though I did say that, it wasn’t actually the point of my post :)
-
RE: Fun with maps
@da-Doctah said in Fun with maps:
Ooh, I hope the new kid grows up and becomes a priest: Father Brother!
Major Major Major Major, anyone?
-
RE: Information security
@Jaloopa said in Information security:
Is he wearing a mask so his laptop's webcam can't identify him?
My guess is they picked that image because of:
-
RE: Oh, you wanted to get off the train? Tough shit, GPS is out.
you now have to wait for the conductor to unlock the doors. Some are quick about it, but some… really aren't.
Clearly, there’s your answer for why trains need GPS-operated doors ;) -
RE: “iPad doesn’t recognise fingerprint anymore, and the code also doesn’t work!”
@BernieTheBernie said in “iPad doesn’t recognise fingerprint anymore, and the code also doesn’t work!”:
That may have some effects.I would be a bit surprised if it did, as I don’t think I’ve ever seen either of my parents drinking wine.
-
RE: Fun with maps posted in Funny stuff
-
RE: Recycle bin can't handle long filenames
[b]Maximum Path Length Limitation[/b] In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character.
So yes, it’s probably simply the path to the original file being too long to add \$Recycle.Bin\ or whatever in front of it without going over that limit. -
RE: Enlightened
So the four identical lines on the page to all tell visitors about that move are intentional to make sure nobody accidentally misses the notice?
-
RE: Warthhog
@HardwareGeek Maybe they should have her do that pose in front of an X-ray machine.
-
RE: [QUIZ] Kim Jong Un loves buzzwords too... Oh wait it's just TED
They forgot:
Stay alert! Trust no one! Keep your laser handy!
-
RE: Graphs / Trees and C#
it's better to gently guide users to working the way you anticipated than providing a product that can be configured in a million ways.
I hope the TDWTF is required reading for Linux developers. -
RE: Microsoft Surface Studio
@Tsaukpaetra said in Microsoft Surface Studio:
Considering having it in this page has no discernible benefit, what is it even being used for?
For the same kinds of things as on other web sites that take hundreds of kilobytes to serve you hundreds of bytes of information you’re actually looking for.
-
RE: Dumb things being crowdfunded.
@Tsaukpaetra said in Dumb things being crowdfunded.:
How often are people in a position to admire the colorful design of your bra, and where can I find them?
So you can stand in their group and look at what they’re looking at?
-
RE: Horrible bank security practices (not really news)
my bank card (something only I have) and use my PIN (something only I know)
Until you use them on a compromised ATM. Using them would still require the potential thief to get his hands on your card reader, though.FWIW, my bank requires me to log in first over https, using a username and password (username supplied by the bank, basically random letters and numbers, password by me, and ditto — though I suspect many people will have less-secure passwords). It then requires an authorisation code to transfer money. The normal way to get one is by SMS, but I've opted for the old-fashioned paper way, which means I’ve got a list with a hundred six-digit numbers, each of which will be used only once; by the time it starts running out they’ll mail me a new one.
-
RE: Dumb things being crowdfunded.
@Luhmann said in Dumb things being crowdfunded.:
Not when you are riding a racing bike ...
Can you be ’d by the original post? :)
it’s fairly easy on a racing bike
Anyway:
there is an official concern that groups of bike racing enthusiasts are literally driving normal bikers of bicycle paths
That’s been an issue around here as well in recent years.
-
RE: Really inspiring confidence there, guys...
You’re not Dutch, are you? I can tell by your complete misunderstanding of [url=https://en.wikipedia.org/wiki/Polder_model#Other_uses]the way lawmaking works in this country[/url].
-
RE: Dumb things being crowdfunded.
@izzion said in Dumb things being crowdfunded.:
many areas allow for "proceed on red light after stop if clear" for bicyclists, since they usually don't have enough metal to trigger the sensors at stop lights
Interesting. My usual route to town involves one set of lights with car-sized induction loops in the road, and they pick up my bicycle just fine. (Which also allows me to spot tourists and other non-locals, because they all go to the push button by the side of the road to operate the lights.)