Can anyone please tell me what this thread used to be?
presidentsdaughter
@presidentsdaughter
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]
-
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: 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]
-
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: 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!
Latest posts made by presidentsdaughter
-
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: 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: Mysterious Google Maps API failures
What does the IP resolves to in a reverse DNS query?
-
RE: F**king Funny as Hell !
@Luhmann said in F**king Funny as Hell !:
@RaceProUK said in F**king Funny as Hell !:
Maybe St George got her?
Why would @presidentsdaughter do that?
Do what?
-
RE: Mysterious Google Maps API failures
Maybe this:
Restrict your API keys to be used by only the IP addresses, referrer URLs, and mobile apps that need them
-
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: 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: How to learn software design
@asdf There's other Mediterranean cuisines apart from Italian. And I don't like celery.
-
RE: How to learn software design
@ScienceCat said in How to learn software design:
I actually do like to cook already. You're right, it's somewhat similar to coding, but that's the easy part (for me). My difficulties are more with recipe creation (to stay in your analogy). Which ingredients do I want? How should I combine them? etc.
There's only a few chefs in the world who create brand new recipes. Learning to cook is knowing recipes, and understand what are the key ingredients, which ones are replaceable and by what, etc.. You get that by cooking and eating new things.
Example: A vegetable soup. If you ask me, I would make a Mediterranean-style one with mashed mixture of potatoes, onions and carrots as base, and headed cabbage. My mom, on the other hand, would replace the potatoes with zucchini (courgette) because of the calories. Are they the same soup? No. Do they taste the same? Not quite. But both are vegetable soup and both are acceptable if someone who doesn't care about calories ask for a vegetable soup.
Breaking out of the analogy: you should get familiar with patterns (this can be a good 'index' of vocabulary and a door to start exploring https://en.wikipedia.org/wiki/Software_design_pattern) and anti-patterns (what you shouldn't do or you'll be on the front page).
All that was said by everyone else can be summed up: read other's design and code and try to understand the 'why'. Write your own code and designs and tell to yourself 'why'. Rinse and repeat.
Even if you can make an awesome Beef Wellington, that doesn't mean you're ready to make a complete dinner service for a restaurant.
-
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..