Programming Confessions Thread
-
What O(n) notation should I use since I'm currently in a REGEX ALL THE THINGS! mood?
I'm working on a command processor so regexes aren't really incorrect here.
-
Confession: I get irrationally angry when people call PCREs and similar things "regular expressions," because they are explicitly not regular. :-)
To the point where I use "regular expressions" to mean actual REs and "regex[p]" for non-regular "regular" expressions.
-
-
What O(n) notation should I use since I'm currently in a REGEX ALL THE THINGS! mood?
O(nooooooooooooooooooooooooooo)
-
hmmmm....
I like videos, so:3↑↑↑↑↑↑↑N
I think....
https://www.youtube.com/watch?v=HX8bihEe3nA
https://www.youtube.com/watch?v=GuigptwlVHo
-
-
-
That comment deserves cake
-
-
so i linked wikipedia...
props to you for finding the numberphile videos. they are the best.
-
EvanED said:
PCRE
PolyCarbonate Radial Extrusion?
In case that's a serious question: Perl-compatible "regular" expression. (Quotes added. :-))
-
Katy Perry's underappreciated B-side.
Do the homosexuals appreciate that more or less than non-homosexuals?
-
@Keith said:
Katy Perry's underappreciated B-side.
Do the homosexuals appreciate that more or less than non-homosexuals?
I only appreciate her double D side.
-
I only appreciate her double D side.
You're introducing me to all new musical terminology here.
-
I only appreciate her double D side.
You're introducing me to all new musical terminology here.
I'd say that's a Sub Contra D.
-
3↑↑↑↑↑↑↑N
Might as well go for O(3↑N3). If that doesn't terrify you, nothing will [spoiler](or you're gloriously ignorant and are encouraged to stay that way).[/spoiler]
-
Confession (although I'm not a programmer)
Was once asked to gather perfmon data for two servers. I did the first one fine but somehow fucked up the second one. I faked up the data for server 2 in Excel by multiplying the numbers from server 1 by a random amount between 0.8 and 1.2.
I spent the next 48 hours expecting some sort of severe reprimand but no-one seemed to notice.
-
Confession (although I'm not a programmer)
Was once asked to gather perfmon data for two servers. I did the first one fine but somehow fucked up the second one. I faked up the data for server 2 in Excel by multiplying the numbers from server 1 by a random amount between 0.8 and 1.2.
I spent the next 48 hours expecting some sort of severe reprimand but no-one seemed to notice.
Finally, the first serious "court system can get involved" confession of the thread.
-
If that doesn't terrify you, nothing will
....
-whimper-
back to hiding under the desk...
/flee!
-
It terrifies me enough to make sure I never do it myself.
It's safe to come out from under the desk.
-
are you sure?
is the scary code monster gone?
-
I'm sure. I'll protect you.
-
Confession:
I once coded a recursive "delete folder and everything in it"-script in PHP on a remote webserver I only had FTP-access to.
I also had the maximum execution time set to ~3 hours.
Then I accidentally commented out the line that made the script ignore the "." and ".." Folders.So, what happened was that the php-script deleted every file in that folder (including itself) and would then continue to delete all the folders.
Needless to say, I have never been that happy that my script found the "."-folder first.But it was really interesting to see everything I would dump into that folder via FTP get eaten by that one script.
Filed Under: 3 hours of waiting for a PHP-Script to die *sigh* | And yes, you can make fun of me for that all you want.
-
-
It's funny how in other places, I am the big bad ogre everyone has to be warned against.
But there's nothing to be afraid of here.
-
You won't like us when we're angry...
-
It's funny you should say that, actually. Long story.
-
/me is listening
-
It's not a story I want to discuss in public. I'll send you a private message if that's OK.
-
I like storytime!
Send away, I might even share a story or two about my own brushes with... well i'm told i have all the tact of a thermonuclear weapon when you get me angry.
-
Sounds like a plan
-
Ooh, cc me.
-
The tl:dr; version is when I get angry, I get angry. And I can monologue like crazy for it. And I got angry, upset some people, and there was almost retribution for it.
The kind of retribution where IP bans wouldn't be enough...
-
Did you kill anyone?
-
No, I ended up being the bigger man in the situation and apologised. And things got better. But it could have gone in a very, very interesting direction.
-
The tl:dr; version is when I get angry, I get angry. And I can monologue like crazy for it. And I got angry, upset some people, and there was almost retribution for it.
The kind of retribution where IP bans wouldn't be enough...
similar for me, except replace ip ban with resume generating event.
yeah... i kinda lost it in a way that makes a very large bomb look subtle. and somehow still had my job the next day.
-
I wanna flag this post as "Teasing for content thats only going to be public in tl;dr" but I couldn't find that specific flag.
Filed Under: Don't know if that flag would be ban- or badge-worthy
-
You'll find I can be infinitely more teasing should I want to be but most of the pieces of the puzzle are public if you choose to look.
-
+[][1]
Been there, done that, paid to fix the break room wall :what, no embarassed emoji?:
[1]: http://unicode-table.com/en/#88
-
According to Google Image Search, that is a picture of this:
-
I think we will have to dispatch @the_dragon to dispose of such a blasphemous obscenity.
I don't do that anymore.
-
I had to write a bit CSS that targeted only iOS 5 on a 3gs.
-
Confession:
I frequently forget which selector I should use for C# combo boxes.
.ValueMember
.SelectedText
.SelectedValue
.SelectedItemFor the record, I pretty much always want .SelectedItem
-
Nobody knows those. It's one of those things where you keep shoving the thing into different slots until it fits. Kind of like sex.
-
Confession:
I frequently forget which selector I should use for C# combo boxes.
.ValueMember
.SelectedText
.SelectedValue
.SelectedItemFor the record, I pretty much always want .SelectedItem
If it's anything like DDLs, I use:
With ddl .SelectedIndex = .Items.IndexOf(.Items.FindByValue(desiredValue)) End With
-
Ok I have ReSharper 8.2 installed via company mandate. Someone blow me away with a demo.
-
Type Alt + F X to see their effects commands, it's a pretty impressive list.
-
Hilarious.
-
Isn't it just?
-
Not really a programming confession, but I have clients who long before we acquired them became convinced of the need to turn over all of their hardware on an 18-24 month schedule. Now that we live in a multi-core era, they are convinced they should still do so. As a result, we have a surplus of 18 month old laptops, servers, desktops, etc to "recycle". Consequently, I have not had to buy much hardware in the past 3+ years and all of my guys have a steady supply of 18 month old laptops to use.
Nothing shabby either. i7's with 8GB of RAM, etc. I get so much that I give it away to NFP's in exchange for tax breaks, etc. It genuinely amazes me how much hardware some organizations piss away. I have one client with 18 people in their office and every 3 months we order 3 laptops for them. Top of the line, maxed out on RAM and processor.
This comes up because today I picked up a half dozen Dell Inspiron 17R laptops that are not even 2 years old. Last month it was a half a rack of Dell R710s and R720s. If you wonder where all the shit on eBay comes from, it is from people like me I guess?