@Xyro said:
@blakeyrat said:
The solution isn't to switch to Linux, but to use a better API.Switching to Linux is better for your soul.
Linux is Open Soul Software now?
@Xyro said:
@blakeyrat said:
The solution isn't to switch to Linux, but to use a better API.Switching to Linux is better for your soul.
Linux is Open Soul Software now?
[quote user="Renan "C#" Sousa"]I know people who have an absolute sense of direction but still have problems with left and right.[/quote]
The weirdest is a friend of mine who drew me a map to her house, but drew everything in mirror image. She said that had happened to her before.
Similarly, this story may or may not be relevant to your angst?
So are we talking Quantum Unusability or does that mean the Lotus Notes waveform can collapse any moment?
@rad131304 said:
To be fair, those employees that you are complaining about get paid about as much as a McDonald's employee, so you shouldn't really expect much from them in the way of knowledge. The fact that they work so hard to get what usually ends up being an extra $5 per paycheck when they could just slack off and get fired and move to the next dead-end job that paid about as much is beyond me.
At McDonalds this works fine; I won't ask them how many watts or dpi a cheeseburger has vs a quarterpounder. But at certain stores like Best Buy or Radio Shack, I need a certain level of knowledge, exactly because I don't have it (and don't care about acquiring that level). By making their employees try to squeeze out a couple lousy bucks on every sale, they chase away their best employees, who can get a job without the bullshit; and they chase away me, who prefer to buy expensive shit without the bullshit.
So to my mind they make 2 essential mistakes:
Eventually this will kill them. I hope. Really.
Also, you don't see this as much in Europe. I worked in a Hifi store, and also worked with young kids who really did care about the things they sold/installed. They were just as cheap as far as pay was concerned, but they made a lot more money for the store, I think.
@Smitty said:
@Xyro said:@blakeyrat said:Anyway, I apologize to PJH for flying off the handle and making assumptions, and to everybody else who had to read this crap.Are you kidding? Posts like that are why I come to this forum!I too enjoy the occasional Blakeyrat Rant™.
I think they come about every 4 weeks.
Not implying anything, just saying.
@Nexzus said:
Did feel bad for the kid - he was just trying to do his job.
That's the annoying bit, you'd like to slap the CEO with a wet brick and all you have is an 18yo kid making $3 an hour. I think proper Customer Service would allow the opportunity to shout or hurl projectiles at the managers responsible for this shit.
@blakeyrat said:
To answer your deleted post, it's probably some combination of:
1) Not having coffee yet this morning
I feel your pain brother.
In your defense, you were probably right about the
@blakeyrat said:
Maybe it stores them in hieroglyphics.
@Xyro said:
@b_redeker said:
@ZPedro said:Nah. Let's fight about keyboard keys instead.Ouch, I don't want to start a flamewar.Too late.
OK, so what does the shift key shift? Why don't aI get the tab when I press the tab key (repeatedly I might add)?
But more importantly, why doesn't bloody Fox News report any of this?!
@bombtek187 said:
There will be 20-30 users of the sheet
Bad. Only one user can edit the sheet at a time. You will have problems. Promise.
@bombtek187 said:
Is there a function that can check the row when the button is clicked and store it?
I gave you a few hints on what to look for, I can't solve it for you right now. To be honest, all my hints will be hard without proper programming experience; just conjuring up a macro is not going to cut it.
Easiest way to solve it: have just one button and let the user enter a rownumber somewhere. You can reference a cell with cell(row, col) or you could probably use inputbox() to retrieve the row number.
But I'm going to be an asshole and warn you once more; Excel is not the tool for this.
First of all, how many users will use that sheet? If the answer is more than one, find a different solution, for instance a simple web interface. I doubt whether a spreadsheet is a good solution here; even an Access db might be a better choice (and that's saying something).
I can think of a number of solutions, but that's all VB, and I'm not sure any of it works in VBA. In general, you need to pass some parameter to the sub, but that was probably obvious; the hard part is getting that parameter, right?
- If you have an array of buttons, the Index property of the button can give you the row
- you could use the name of the button
- in a pinch, you might even be able to use the caption of the button (eek)
- if either of those work, you might be able to generate the buttons on the fly when starting up
But again, if you need a row of buttons like that, I wonder whether you're on the right track.
@toth said:
What is a case-sensitive name?
Not sure if this is meant, but: Rafael van der Vaart; surname Van der Vaart.
@blakeyrat said:
pedants
everybody
completely
every single word
next time
anything
God
population
thinks
Could you qualify that?
@GreyWolf said:
And Middlesex, for those who can't make their minds up.
@thosrtanner said:
Don't forget Middlesex for the confused or adventurous (not quite sure which)
You guys need to learn to read tags.
@SenTree said:
@xmob said:@El_Heffe said:
The Cunthorpe family has been complaining about this for years.
There's actually a town here in the UK called Scunthorpe.
Not to mention Penistone.
Plus Sussex, Wessex and Essex (in the North they have no sex, apparently).
@GreyWolf said:
Great stuff, required reading. Including the comments, yes.I imagine most of you will have seen this "Falsehoods Programmers Believe About Names".
The comments below the piece are just as enlightening/depressing as TFA.
@ltouroumov said:
@DemonWasp said:
@DOA said:@CrouchSoft said:
http://forums.steampowered.com/forums/showthread.php?s=6f74f96984b57bf792eda3f9c948d705&t=1363620Oh, god, there's an entire thread about this. They really have absolutely nothing to do with their lives...And yet, somehow we find the time to make a thread about their thread...
Can we consider this thread recursive ?
Absolutely not. This is a meta-thread.
@Xyro said:
[Citation needed]
Very cool. BTW, Racket? Damn, those kids keep making new * languages.
* yes, I know, 1994. Newfangled stuff. I remember when all we had was mumble mumble.
@amischiefr said:
we don't really know which way is better: using the Double.toString(), the new Double(d).toString() or the use of the "String + double" overloaded "+" operator.
My guess would be that it will me more or less the same, plus or minus a couple CPU cycles, or some memory. Most of those diffferences might get optimized away by a compiler. Personally, I couldn't care less, unless you're on an embedded system without file system.
Possibly more important for the future is which notation will confuse the least people, including yourself. For instance the line
temp = "" + d;
Is about as unclear as it gets. Without knowing the language, it's even impossible to know if this is a valid statement or even whether it makes sense. For me, personally
strTemp = Double.toString(d);
would be a huge improvement (and thereby save CPU cycles and memory).
@Jaime said:
Designing XML for efficiency is like choosing a color for a machine gun to optimize friendlyness.
Hrm, not bad, but it could be a bit more snappy, sort of like "...is like fucking for virginity".
Is like designing machine guns for colors?
@pkmnfrk said:
If only there was a way to convert something toString!\Now that's crazy talk. Next you'll be telling me there's a way to round a double.
@dhromed said:
Dear sir/madam,
might I interest you in our special novelty item, the powered hub?
We also have a more polished, luxury item available at a premium.
Ah yes. I think that's what they refer to as Power over Ethernet, no?
@stratos said:
@blakeyrat said:
Cooking a Celery 400 would require an actual oven.- cut a UTP cable
- cut a power cable
- connect the UTP cable to the power cable
- insert UTP cable into the machine.
- insert power cable into an outlet.
I think we're looking for a solution that would be sort of untraceable and would not set the whole building on fire.
Ages ago, my school had a very early computer with a slot for modules. One day, a mouse came in through the slot and made a nest inside. Which was all fine, except mouse pee is a bit corrosive.
@blakeyrat said:
company whose name sorta rhymes with a-blowme
To my surprise, there is no ihateadobe.com yet. I'm tempted.
Actually, what bugged me, is that when you want to perform an operation on one datatype, and you feel the need to immediately declare a helper in a completely unrelated datatype, then you should be scratching your head, because chances are YOU'RE DOING IT WRONG, IDIOT!
I didn't even want to read the rest of the function. I think it probably fails in certain circumstances (rounding 42 to 7 decimals) but I'm not going to check that because it MAKES ME ANGRY and want to SMASH things and I'm going all GREEN and...
OK, so let me rephrase that. If you're trying to do a very common operation on a very common datatype in a very common language (younger than me, say) and you feel the need to actually create that function instead of googling/MSDNning/Javadoccing it for 5 seconds then...
Argh.
@CnC said:
Not sure if I even need to mention that Oracle's partitioning mechanism does exactly that but behind the scenes or not.
Yes, because not all WTF readers have psychic or telekinetic powers. Thanks.
It's not necessarily a requirement to feel like a 'tard. As long as they realise the WTF forums are full of programmers with psychic or
telekinetic powers.
@zelmak said:
public static double getRoundValue(double d, int precision) {
String s = new String( "." );
Argh.
@blakeyrat said:
BTW, I wonder if these companies that have horrible 12-step approval processes (and end up buying 512 MB celeries) to "save money" ever go back and see if the money they saved was worth the labor cost of saving it.My gut tells me that even 5 minutes of the company's president's time would totally negate any savings.
It's not to save money, in my experience; I've seen the same in government organisations and they really couldn't care less about that.
Looking at it from the top, the CEO (or head of department or whatever) is ultimately responsible for every expense or investment made. You can solve that in two ways: delegating budgets and responsibilty to the level that can handle it, or have a paper trail all the way to the top. Not that the latter actually solves anything, as the CEO will now be signing stuff he can't possibly know anything about. It's basically cargo cult accounting.
Ah, that reminds me. In one government organisation where the paper trail was replaced by automated workflow, and buttons instead of signatures in ink, people at all levels kept printing out the forms and signing them manually. "But we need a signature!".
@snoofle said:
No, three levels of management look at the code-diffs for each release and they'd see that you changed far more than you were supposed to.
:D
yeah, right.
Part of the next release, somewhere:
//Yo bitches, manage this!
@PJH said:
200 miles: Long distance for a european.
200 years: Long time for an American.
I think the usual quote is sth like "An American thinks 100 years is a long time, and an Englishman
thinks 100 miles is a long distance." Very recognisable, yes.
Quite a few larger companies are like that, and governments too. In a situation like that, explaining how this may impede future growth is worse than useless. If it turns out not to be a problem, you were that guy who complained but was wrong. If you're right, it still won't help.
So, three things:
1) keep your head down, do things to the best of your abilities, and accept the result.
2) if you have success, you can use that to build a little on your powers; then when you explain that taking 2 months to order hardware is really too long , they might even listen
3) alternatively, if that's not your thing, get the hell out and find some small, young and more flexible company to work with. They're usually really happy for someone to think a few steps ahead and may even show you with arguments why that is or isn't a good idea. They just may not have the money to buy your hardware, but that's a different story.
@Xyro said:
@galgorah said:He is still considered by many to be a hero of the people though.The well-rested people, at least.
Or those who like to be impaled. I'm not naming any names.
I thought that whenever guys feel the need to compensate, it's usually pretty clear what for.
Well, don't stock brokers always drink tea?
Another one from the same project.
They created a class DBinfo which in turn calls stored procedures from the database; so they were on the right track there. But then they add this little nugget:
Public Sub FixCheckboxColor(ByVal c As CheckBox)
c.Style("Color") = IIf(c.Checked = True, "Black", "Silver")
End Sub
Nice.
@snoofle said:
Several times a day, we need to perform a lengthy series of analytical calculations to determine a variety of financial stats on various stocks in certain segments of the market.
So do they outperform the proverbial monkeys with darts? Is statistical analysis on historical stock data (I assume that's what you're doing) actually useful to predict future trends?
Obviously, IANASTB.
Almost every major city I know has these huge multilevel multimodal stations where you can switch trains, trams, subways, and busses on several places. They get designed for a certain amount of trafic, then outgrow them, new levels or substations get added and they get even more confusing, even worse so if several stations more or less grow together.
Urban planners must love them (and they love to redesign them), but for the casual user they are absolute nightmares. I've also had that bewildered look on my face a few times, especially if you're not all that familiar with the language.
@Mason Wheeler said:
TRWTF: The thing that most people who use the term "draconian" don't tell you (and probably don't know themselves) is how successful Draco's policies were. Crime practically vanished completely, almost overnight, and the people loved him for it.
Citation needed. According to wiki (the usual disclaimers apply)
1) he mostly codified existing laws
2) they were replaced less than 30 years later.
it seems he did set some ridiculous punishments. The Greek wiki mentions death penalty for even stealing an apple or laziness.
Or split into 2 actions, first the date check, then the pinrequest, but at least follow MVC. Which, not surprisingly, means the offending code is repeated in a number of places right now.
Also, does anyone know what the advantage of that BWare tool is? According to their website,
MsgBox is an ASP.NET control which provides an easy way to show a message box on the browser. This implementation uses the JScript alert(), confirm() and prompt() message box functions to provide the required functionality.
Which sounds a bit thin.
I was more talking about:
- meaningful variable names like PC
- meaningful variable names like .AddTwoNumbers which in fact turned out to create a hash code of sorts
- reformatting the datestring without any kind of comment
- testnewpin which doesn't test anything but contains a cleartext pin
etc.
The last button on the toolbar when replying is marked [HTML]. Click that one ahd hey presto.
Could not load file_of_filenames!! [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]