Can anyone please tell me what this thread used to be?
Best posts made by presidentsdaughter
-
RE: The Backup Likes Thread - Because it's not the same, now with semi(?)-mandatory likes and questions?
-
RE: I think I know what makes a truly competent programmer
You're a senior programmer when:
- understand and trust others' work
- don't reinvent the wheel
- can argue why the newest tech stack is not the best solution
- can argue why the newest tech stack is the best solution
- you look at your earlier code and are ashamed of it
-
RE: The bad jokes topic π΄πΉπ¨
What do you call a local network in Australia?
[spoiler]A LAN down under[/spoiler]
-
RE: The bad jokes topic π΄πΉπ¨
What animal(s) is(are) capable of jumping higher than a house?
[spoiler]All animals that jump, because houses don't.[/spoiler]
-
Strings from space
Hi
In another case of 20 times the same year of experience, I (the junior) lost hours today to understand why my code (Java) wasn't working.I have an enum with a couple strings that are reported by the hw driver, but none of them would match. And then I decided to double check the "Senior Lead Eng." code...
From hw driver CPP files:
//buff is a mmaped shared mem //option is a std::string memset(buffer, ' ', buffer_len); switch(somebyte){ case CONST1: option.assign("value1"); break; case CONST2: option.assign("value2"); break; //..... } memcpy(buffer, option.c_str(), option.length());
End result: space terminated strings...
-
RE: Is the Moon a planet, a star or an alien conspiracy?
"Things live on it, means it's a planet" ....
-
RE: So long and thanks for all the bugs!
We believe most of the major issues are resolved,
Wrong. We still have InfiniscrollTM.
-
RE: The IT Anecdotes thread
In my high school we got shiny new PCs with Windows 2000, installed in two of the 4 IT classrooms (about 12 each).
After a class, I was the last one to leave, and did a new "arrangement" of the keyboard and mouse.Win2K had a similar login dialog to this:
See the 'help' link on the lower right corner? If you clicked there it would open:
What I did: put the mouse resting on the numpad enter key. The screen starts flashing showing and hiding the help dialog. And that repeated in the 12 computers on the room.
10 mins later I already had forgot what I had done. But as Math class was starting, the IT head teacher "P" storms into the room and asks "What did you do? Teacher L. says someone installed a virus on classroom A. It was you, wasn't it?"
I was silent for at least 20 seconds trying to parse "WTF? Virus?" Then I started laughing like a mad man. After I calmed down I told the class and teacher "P" what I had done. Epic embarrassment moment for the IT teachers :)
-
RE: Poll: How to handle a WTF-y junior under your wing?
None of them.
- Never accept shit code
- Do not cover anyone's ass
- Do not undermine anyone
I'm on a similar situation, and what I'm doing:
- One round of 1 on 1 code review (not fixing), before formal review by other team members
- Helpful advice when requested
- Direct him to other people
If he's worth anything, he'll learn from the code reviews and from the advice. Directing him to others and having him bring his work to code review exposes him so everyone, including bosses, will have the same perception of his personality and capabilities.
-
RE: I'm the Real WTF, I think
You say I'm crazy 'Cause you don't think I know what you've done But when I look at your repo I know I'm not the only one
-
RE: Logical Expressions in C/C++. Mistakes Made by Professionals
Oh look, a wtfvertisment!
-
RE: Post Your (SFW) Internet Guilty Pleasures Here thread
http://notalwaysright.com/ family of sites. It is a good relief to know that you're not the only one having to deal with stupid people.
-
RE: Closed Poll: Do you have Discourse Syndrome
This love/hate between @the_dragon and @faoileag will end up like this:
-
RE: Welcome to America: Here's your Linux computer (article)
Excuse me? My standard install of a Windows box for anyone includes:
- LibreOffice
- Chrome
- TeamViewer
Fail to see why the guy using that on Linux is amusing. Most people will break their computer whether it is Windows or Linux.
-
RE: @darkmatter necroing topics is a barrier to reading legitimate new content
@VinDuv said:
Wait, we have legitimate new content?
Relatively speaking.
New off-topic posts in fresh threads instead of new off-topic posts in old threads.
-
RE: How to learn software design
Learn to cook. Seriously. Get a recipe book/website, choose a soup, a main course and a dessert that you think will taste good together.
You will soon realize you'll need to gather all the ingredients beforehand, to group the recipe steps in logical sections, do more than one thing at the same time... That's the same mental exercise you'll need to cook good software.For the first times you try this, invite your least favourite friend to dinner..
-
RE: The bad jokes topic π΄πΉπ¨
How do you call a dog with no legs?
[spoiler]You don't. You must go grab him.[/spoiler]
-
RE: Discobadge
http://i.imgur.com/8QeDfsC.png
See if you can spot three WTFs...
On that image:
- ...DROP TABLE TDWTF; --
- ... spot the WTF
- ... spot two WTFs
-
RE: No StackOverflow for you! Or: How to get away with <del><del>murder</del><ins>cheating</ins> </del><ins>public masturbation </ins>!
It's much like the "interview question" questions. If everyone post the question and answer on the web, it'll just leave the teacher no option but to give more complicated question in order to find out the progress of learning of his students.
I couldn't disagree more. From my experience, I only need one afternoon in a 20-person classroom to know their skill levels.
This professor is a representative why the kids that graduate from CS are just human interfaces to typewriters. On the other hand, this student has the needed qualities to succeed: humble and focused.
-
RE: Job ad
Y'all are making fun of the job posting, but for me it looks like a normal job in a startup, only with the difference the poster is being sincere about the day-to-day.
-
RE: Closed Poll: Shall @the_dragon consume @codinghorror?
And waste perfectly good venison! What kind of fool do you take me for?
I'm still waiting for that "good venison" of yours . I'm sick of roasted and .
You're the worst ever! -
RE: Find and Replace, by way of Ctrl+F, Ctrl+V
where by "easily" we mean "slowly, clumsily and painfully" because we'd rather remove the wheels altogether than reinvent them.
This behavior is by design.
What really got me was the discoverability. Even pressing Ctrl+F, the universal chord for 'Find', the box that appears is so bloody small that I honestly thought that it was also doing nothing.
Dialog box, two text fields, 'Replace', 'Replace All', and "Cancel' buttons. It's worked fine everywhere else, but it's 2014, time to throw out all the established methods!
Lol, I read these and I instantly thought it was Jeff who made OneNote...
-
The log file ghost returns [1]
Hi there!
So at this dungeon they call workplace we're kindly stuck with a __C__ertain __U__nified __C__ommunications __S__ystem. And everyone was complaining of the Jabber client taking huge amounts of time to send a chat message.
We got a workaround (from PM, not IT nor vendor):
"Delete history db"
-
RE: How to quickly determine if server has been hacked?
It might or might not have been hacked. You are on a schedule and need to quickly determine the status. What do you do?
Easy. You give me the server's ip address and root credentials and I determine its status for you.
-
RE: The bad jokes topic π΄πΉπ¨
What's the difference between a mosquito and a fly?
[spoiler]A mosquito can fly, but a fly can't mosquito.[/spoiler] -
RE: Web scale breaches! This time the president's daughter might be affected!
@lolwhat said in Web scale breaches! This time the president's daughter might be affected!:
@LaoC said in Web scale breaches! This time the president's daughter might be affected!:
The president's daughter has web-scale breeches?
Indeed. The prezdint's significant-other-for-show, sure, but not their spawn.
Umm, what? What's going on?
-
RE: Only for Albert Einstein: 3-3Γ6+2=??
There are only two operations! Multiplication and addition.
3-3x6+2 = 3 + (-3x6) + 2 = 3 + (-18) + 2 = -13
-
RE: Reserving Random numbers for Random posters
Can I get 1 and collect royalties whenever you have a off-by-one error?
-
RE: Closed Poll: Shall @the_dragon consume @codinghorror?
If I do, you know who's cleaning up the vomit?
Who cares? I'll be leaving while you're weak and drowning in your vomit puddle, this if after eating @codinghorror you only get food poisoning. Can be worse. You might want to leave and start writing forum software.
-
A tale of testing
Between the barbecues, failed rescue attempts, and summoning in necromancy rituals, sometimes I write a little Java code.
Before diving in the WTF material, and no, it is not Java, some context is needed.
The platform I develop for is called by management/system architects embedded. Okay, granted it runs on a PowerPC SoC, but apart from that, is as powerful as my 2012 laptop I have at home, and for external access it runs a Sort of Network Management Protocol.
The way it was first programmed, unit tests are almost impossible to write, since almost every class uses one of the "core" classes which in turn expect dozens of other classes to be instantiated. (Some mocking progress is being done on this area, pun intended )
So we resort to have JUnit tests that use a SNMP library to connect to the software, do some sets and gets, and check the responses.
####The Bug Report
Hey Cheryl
This changed between version 4.5.6.90 and version 4.5.6.90.10. I can't set this bitmask to all ones on this objectx.y.z.0.0
Can you check please what's happening?
Oh, and be a dear! File the bug report for me and send me the Ticket #.KTNXBYE
P.S.: Can you give me @the_dragon's phone number. He's sooooo HOT.Ok, I'm filing the bug report, creating a work order and assign it all to myself. At least I'm not QA also.
Here the issue is simple, and in the first 2 minutes I can reproduce the problem, and I know right away where I messed up between versions.
There is this little feature, that allows a bitmask set-request to have extra bits not applicable to the object. As long as one of them is applicable, there is no error (this is by design, and might have some logical explanation. I don't care).I open the test for this, and I see: damn'it. I have tests for extra bits, but none for ALL bits.
New test step:response=comm.set("x.y.z.0.0", 0xffffffff); assertEquals(0, response.errorCode);
Et voilΓ , test reproduces the bug. Fix it. Tests all green again.
####The Code Review
Everything we do, needs to be code reviewed. A good thing, I guess. Team leader, comes by and looks at the test.- Don't use ticket# as test case description.
- Hey boss, after the ticket# there is a line saying "a bitmask of all 1s is rejected by system"
- Okay okay, I didn't see it. Look, why aren't you checking the return value of the response and comparing it to what is expected?
- Boss, return values are already checked on other test cases.
- I know, but you should check the return value of this set!
(Deep breath, take a second) - Boss, this is a test step only. It recreates a bug scenario, and it checks if the set was successful.
And repeat the last two dialogue lines during 10 minutes. On the first iteration, I thought my boss meant "now you should get the object value, and check it also". The object value would be only the bits that were 'accepted'. But then I understood he meant the set response. SNMP protocol says the response is the same as the request, minus the errorCode and errorIndex fields.
Another day at work1
[1] I would say office, but most of the time I work from home.
-
RE: The Side Bar itself.
@Yamikuronue Just this sent by server:
<div class="sidebar-section" id="wtf-sidebar-container"> <input id="wtf-sidebar" name="accordian" type="checkbox"> <label for="wtf-sidebar"><img src="/Content/Images/wtf-sidebar-icon.svg"><span>Sidebar WTF</span></label> <article> <ul> <li><a href="https://what.thedailywtf.com/category/7/side-bar-wtf" marked="1">FILE_NOT_FOUND</a></li> </ul> </article> </div>
-
RE: Frontpagify this code snippit and win a prize!
And I'm sour about no sick references...
-
RE: Which language is the least bad?
PHP has two main issues: it lets people who shouldn't touch a keyboard write code, and it was designed by committee (and a schizophrenic one).
Answering the question in general, there aren't bad languages, only it might not be best suited for the task at hand.
A good design in the hands of a good programmer results in good software. -
RE: ΠLL F-!!1 TOPIC TITLE
Ok, I think we agree, if not about the reasons, at least about the fact there is few women in IT/CompSci, and some workplaces might by hostile.
But what I didn't get is why is it a problem?
And in the same mindset, why nobody protests the lack of men in nursing or pre-school teacher professions? -
RE: Egocentric flame war tech interviews
I wasn't there to see, but if you apply for a "Senior Software Engineer", I would expect you to know the bare basics of data structures. I wouldn't hire anyone who wouldn't spit O(log n) for the common case of binary tree operations. And knowing how to implement one of those structure shows that you know what you're doing when writing
new HashMap()
new TreeMap()
new TreeSet()
new LinkedHashMap()
Sorry to say this, but while that other guy might be an asshole, you just proved to them you would be useless in a team lead position.
Did you consider that the guy already decided not to continue to the WS/Web/SQL part because he already had made his mind about you? -
RE: Discourse 1.0
@aliceif said:
I'm sure @presidentsdaughter will send us a message if she finds him.
Can't be difficult. El Cerrito doesn't look that big... but I still wonder what she will do. For some reason or other though, Carrie Fisher in the "Blues Brothers" popped up in my mind right now.
I had the impression I was in the get-kidnapped business, not on the finding missing persons.
-
RE: QA/BA Interview Questions
Not as weird as having to ask you helping move out of the country the $100m we have inherited. You know, seized funds by the opposition and stuff... Life's hard (since that damned dragon...)
-
RE: Sausages
It is both amusing and sad that we all have that kind of expectations about links posted around here
-
RE: Step 2: ???
@Yamikuronue said in Step 2: ???:
I'm definitely getting ESL vibe: you vs your confusion, idiomatic phrase misuse like "for do" instead of "in order to do",
Portuguese speaker here and have a couple of things to say:
you vs your: The worst offenders are native speakers. Almost everyone I work with (Portuguese, German and Chinese native speakers) get that right.
'for do this': from the context I think the user wanted to write 'to do this'. He uses 'in order to' correctly before.
'autoridad' is a dead giveaway for a Spanish speaker.
'First at all': it is more close to spanish 'ante todo' (before everything), instead of portuguese 'em primeiro lugar' (in the first place)
'para/por': PT: 'para' points to a target, destination, the usual translation of "to, for"; preposition 'por' translates to 'by'
-
RE: The log file ghost returns [1]
No replacement needed. Actual product name of a __C__ertain __I__T __S__ervices __Co__mpany.
-
RE: SexiΓ―st air conditioning
Either
@accalia lost it completely and is few days from a complete meltdown
or
I'm in reality a extra-terrestrial from outer space (and adept of the Department Redundancy Department) and y'all are playing with fire.(Slightly disturbed by: 1) Yaoi when you have a rat and an alien reptil.. .yuck; 2) NOBODY ELSE IS DISTURBED)