The Official Status Thread
-
Status: Web API is kicking my arse. And has been all fucking day.
-
Status: At some point we duplicated an xml schema definition as a hack. And now I can't fix it because that'll undoubtedly break backwards compatibility.
Ah well, at least I'm not the person who introduced (or missed in review) the property
categroy
-
Status: [url=http://what.thedailywtf.com/t/why-all-outgoing-email-has-been-globally-disabled-by-an-administrator/9258/189?u=carrievs]Still[/url] craving brownies, but also kinda embarrassed at own lack of observation.
-
blame it on low blood sugar from lack of brownies
-
Public Class WeekOverView Inherits System.Web.UI.Page '' Page with an Overview that displays things that happened for each day of a single month
Public Class Week_overview Inherits System.Web.UI.Page '' Page with an Overview that displays things that happened for each day of a single week
-
Oh, wow. That is truly hideous
-
Status: Web API can go die in a raging inferno as it's being fucked in the arse by a rabid goat.
-
They contain delicious amounts of not-quite-copypasta.
-
Your charitability is generous, but I've had plenty of sugar. In fact I shouldn't even be considering brownies today after the amount of sweet stuff I've already eaten.
I made them once, quite some years ago, and they were amazing and every (non-homemade) brownie I've had since has been a huge disappointment. I've been meaning to make them ever since but they had far too much butter and chocolate in to ever make again while I was living with my parents, my mum would be horrified. And then living in student houses with bare essentials of kitchen equipment and crappy, annoying ovens, makes baking hard, and I lost the recipe and forgot about it. Until yesterday.
-
Ah well, at least I'm not the person who introduced (or missed in review) the property
At least you're not defining the spec for how to make HTTP requests.categroy
-
Status: Had my hedgehog hiney handed to me by Web API all day, and now Unicode bidi is having a go…
-
-
There there, it's after four already. Not long now.
-
Except the Unicode bidi is @shadowmod code, not work code…
Status: Is thankful the product she works on for her employer is strictly English only
-
Status: Is thankful the product she works on for her employer is strictly English only
+㖬
-
The main localization issue is colleagues not knowing that it's 1. Important 2. Not always trivial.
And we only support German and English.
-
Status: wrote some code that populates a normalized side table.
Report query that worked against the non-normalized data: 5.5 hours.
Query needed to define the materialized view: ~30 minutes, without any fast refresh support whatsoever
Code that populates said normalized side table: ~30 seconds
Report query against the normalized table: 8 seconds (!)
Filed under: 3NF FTW
-
Status: Is thankful the product she works on for her employer is strictly English only
Curse this fucking language! I can't translate half the shit properly, once I do it's so long I have to change parts of the layout for smaller screens so it doesn't take up three lines (instead of three words it was in English). The ones I do translate properly get frowned at as sounding "too technical". Even though they are literal translations from English words I saw in every similar piece of software ever.
I label everything in English now and when I get complaints about it I say that the fixes will be in as soon as they give me a list of acceptable translations.
-
Status: Wondering why everyone's being so mean to my queen…
Is this some kind of euphemism for masturbation? (Because it totally should be...)
-
Ouch. At least we send off-site for professional translations and are permitted to assume that they're correct (though checking if your changes are showing in Chinese can be a bit of a pain).
And I don't have to support the process of sending the things to be translated anymore.
-
I hate you for this.
-
"What's up, Buck?"
-
Is this some kind of euphemism for masturbation? (Because it totally should be...)
Are you really really sure?
-
That's hawt. I'd hit that.
-
printf( "There are %d item%s in the queue\n", num, num == 1 ? "" : "s" );
-
printf( "Il ya %d élément%s dans la file d'attente\n", num, num == 1 ? "" : "s" );
Filed under Google Translate
-
I'm waiting for @Maciejasjmj to appear and show us how awfully complex the one-liner for Polish is.
-
I was just about to try to write one for Croatian... You sure you want a one-liner?
Also, it's near-damned impossible. I need to define the gender somewhere at the very least, and I'll probably find a few edge cases still.
-
Status: Out bowling with coworkers. Hopefully brings today up some.
-
Status: Out bowling with coworkers. Hopefully brings today up some.
Bowling with coworkers would not cheer me up. Bowling at coworkers might do the trick, though...
-
I mostly like my coworkers.
Now, some of our clients, on the other hand...
-
Look at it like that: German is so full of irregularities that it's probably impossible to write a pluralizer.
-
I'm surprised no-one called me out on missing the verb pluralization...
-
…and that's the second thing I've seen to day I want (the first is a cheese grater that looks like a hedgehog).
You're welcome.
-
@aliceif said:
I learnt today that there are people that think that electricity can only exist because of the earth's magnetic field.
That's true though.
Without the Earth's magnetic field, DNA would mutate like crazy, and it's doubtful we'd have even gotten to the point of building dynamos. We'd all be born with cancer.
Lightning.
That's all I have to say about that.
-
Status: Still craving brownies
Status: brownies in oven. And I've already done the washing up, aren't I a good girl?
No. No I am not. Nothing about a recipe that calls for 275g of butter, 535g* of assorted chocolate, and 375g of sugar entitles me to describe myself as 'good'.
*Actually the recipe said 455g chocolate and 85g nuts, but since the only reason for adding nuts to chocolate is if there's some sort of disastrous chocolate shortage and it has to be bulked out, I substituted.
-
Look at it like that: German is so full of irregularities that it's probably impossible to write a pluralizer.
Oh, I know, I studied it in school. Don't remember almost a damned thing, but I studied it
I'm pretty sure It's true here as well.In any case, I'm insane, so I did give this a go for this specific case:
printf("%d nov%s podat%s u redu\n", num, num % 10 == 1 && num % 100 != 11 ? "i" : (num % 10 < 5 && num % 10 != 0) && (num <= 10 || num % 100 > 21) ? "a" : "ih", num % 10 == 1 && num % 100 != 11 ? "ak" : (num % 10 < 5 && num % 10 != 0) && (num < 10 || num % 100 > 21)? "ka" : "aka");
Lunatic's notes:
- No, I'm not prettifying it. It's a one liner, damn it! I suffered doing it with nested ternaries, it's being presented in FULL GLORY!
- I am not sure this is the best way to write it. Might be a set of simpler conditions that does it. But I'm not going to waste any more effort on it. My head already hurts.
- There is no proper generic (enough) word for "item" I could use (or I don't know my own language). I used "piece of data / factoid"
- Also, queue. What I used (
red
) is a literal translation and is servicable, but I'd strangle anyone who put it in any kind of technical documentation. - This was tested in a
for
loop and skimmed. If it's still buggy, tough.
Also, using
*italic markdown*
in front of a code block breaks it @discoursebotEDIT: And now I can't get it to break again... Ignore me... -.-
-
@Onyx - Days Since Last Discourse Bug: -1
-
/me am thinking that maybe Tito was on to something...
-
whoooosh
Seriously, confused. Tito? Why him? Is there some critical piece of history I completely forgot?
-
whoooosh
Seriously, confused. Tito? Why him? Is there some critical piece of history I completely forgot?
He decided not to use croatian as yugoslavia's official language.
-
He decided not to use croatian as yugoslavia's official language.
Ah. Therefore my whoosh, since I have the "advantage" of knowing that Serbo-Croatian was no better. Neither is Serbian. Slovenian... not sure, but probably as broken. Macedonian might not be.
-
i saw it, and tought that that was the joke
-
printf("w kolejce znajduj%s sie %d element%s", (num % 10 <= 1 || num % 10 >= 5 || (num % 100 >= 10 && num % 100 <= 19)) ? "e" : "a", num, num == 1 ? "" : (num % 10 <= 1 || num % 10 >= 5 || (num % 100 >= 10 && num % 100 <= 19) ? "ow" : "y"));
-
you need to go to sleep. at least 20 hours
-
-
I see some similarities there
Might even be the same rules, but you wrote it more efficiently. But I'm not optimizing mine, I just shipped it as soon as it worked.
-
you need to go to sleep. at least 20 hours
What are you talking about? I feel great!
Also, looking at the code @Maciejasjmj posted... I think it's the same, I just buggered mine up because I forgot about different behavior after numbers become larger than 100 so I just tacked that on the end.
Still not fixing it :P
-
I didn't even really test mine, being on a tablet, so I might've missed an edge case or so.
The rules are actually simple when the number is typed out, I think a bit simpler than yours actually - of course you need to mind the declension and noun gender(?), but in this case it's:
znajduje sie 0 elementow znajduje sie 1 element znajduja sie 2,3,4 elementy znajduje sie 5--19 elementow znajduje sie ?0,?1,?5-?9 elementow / znajduja sie ?2,?3,?4 elementy ... after that take mod 100 with the exception of znajduje sie ??1 elementow
Basically, except 1 (which gets a singular noun), and 10-19 (which, as in German or Russian, are constructed differently as words), it's fairly regular.
-
Ah. A few more cases here then.
And I actually have a bug with numbers greater than 100:
\d+[11-19]
have to be handled differently, but anything after that shouldn't... damn it!Tempted... to... fix...
EDIT: Dumbass! Modulo, not
< 100
! Fixed in original code.
Filed under: Is that regex even correct? I'm not sure tbh...