- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
http://thedailywtf.com/images/15/q4/e189/Pic-7.jpg Oh shoot, that reminds me, I need to do the same in one of my apps... :horse:
Filed under: Oh dear...
Admin
Add a step to your release build process that makes the build fail if the string
TODO
appears anywhere in the code. :smiling_imp:Admin
That will totally work in my app with a variable "FilesToDownload"
Admin
http://thedailywtf.com/images/15/q4/e189/Pic-1.png
This is what happes when your message box function ends up with so many parameters that it's hard to keep track of which is which. Especially if all of them are strings - message title, message content, and vararg button labels.
Admin
I spent ten minutes trying to solve this problem with regex and then gave up. Apparently it's just way too complicated to say "this case insensitive string must not have letters on either side".
Admin
+1
Admin
Admin
/\b(?i:)todo\b/
Admin
Or that.
Admin
I stole the search box!
:musical_note: But I did not change the photo year. :notes:
Admin
Re: One drive;
If you don't go out and take those photos on those days, does the universe come to an end?
Admin
The description of this cleaner notification image, "I went to get my stuff off the printer at work but it appeared to have passed" is left over from Kelly B's printer RIP picture from last week. So the article also has a bit of work TODO.
Admin
:musical_note: Who me?!:musical_note:
:musical_note: Couldn't be! :musical_note:
Admin
As Discourse has proven with their BelgiumBlocker function, it's trivially easy to make sure your rule only matches on word boundaries. Thus avoiding the clbuttic mistake of failing the build for the FilesToDownload project.
INB4: using TODO in comments to bypass the build blocker.
Admin
I pretty much had exactly that (with
\W
) but it wasn't working. It needs to not match "FilesToDownload" but should match "TODO: download files" and no matter what I did it would always either match both or neither.Admin
Are you sure you used case-insensitive regex?
Admin
I used
[Tt][Oo][Dd][Oo]
because I was too lazy to look up how to do case insensitive regex in Java. (I don't use regex very often...)Admin
Have you or'd with line boundaries?
Admin
Admin
Yes, I tried with
^
/$
and with\A
/\z
. Like I said I spent ten minutes :\Admin
Ok, the dates in onedrive are based on the meta data in in your image files, so thats user error...
Admin
I think Google has become self aware. It knows proceeding may cause problems - so it's protecting you.
Thank you oh great and powerful Google. I bow before you in humble acceptance...
Admin
No, it just means you need to use a camera based on thiotimoline.
Admin
But...isn't that dialog from Unity?
Admin
Didn't you hear? The US and Canada annexed Australia last month.
Admin
Funniest thing I've seen on the internet all day. Of course, I've spent most of the day Googling MVC errors, so there's that...
Admin
Yep. Love Unity to death, but some of the stupidest things fall right through QA there, I swear... there was that bug a while ago with network queues getting processed in reverse order, at an event I just attended recently one guy was talking about a huge memory leak with shadows, when Mecanim was first introduced I had problems with the whole Mecanim system crashing and giving me T-poses until I restarted Unity altogether... And somehow it's still the best engine I've ever used >.>
Admin
... something something two problems.
Admin
At least it's not GameMaker.
Admin
Admin
I can't find a value of one that is even.
Admin
For the article: TR:wtf: is that when you replace your printer, you have to notify the cleaning staff... <yes, that's a joke>
Admin
What's 7 mod 3?
Admin
Working mod 3, 2 * 2 = 1, so 1 is even.
Admin
FTFY
GameMaker would be semi-decent for 2D stuff if it wasn't a strictly interpreted moon-language. Try to do anything semi-complicated and the damned thing slows down to a crawl!
Admin
Or in the rationals, which are also closed under division by 2.
Admin