Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).![]() |
![]() |
|
Thread Tools |
![]() |
#21 |
Guest
Posts: n/a
|
![]()
I used to be almost falling asleep in my old job, but now I've moved that isn't the case. I actually prefer my brain to be engaged, so I'm not complaining.
Grinch, I know what you mean about having a bad day, I was given 4 hours to find a bug in the code, and fix it. The best fix me & 3 other developers can come up with has so far taken me over 8 hours (including investigation) to sort out. For the geeks (who know java), I'm placing tightening restrictions around java's formater parse() function, building regexes on the fly depending on locale settings, basically re-inventing the wheel as a turbine engine! (I can show the code if you want to join me in regex hell). |
![]() |
![]() |
#22 |
Guest
Posts: n/a
|
![]()
Bloody Java's memory leaks are causing me stress...
|
![]() |
![]() |
#23 | ||
Guest
Posts: n/a
|
![]() Quote:
![]() |
||
![]() |
![]() |
#24 | |
Guest
Posts: n/a
|
![]() Quote:
Code:
private String buildStrictRegex(String format){ String[] pattern = {"yyyy", "yy", "MMMM", "MMM", "MM", "M", "dd", "d", "G", "ww", "w", "W", "DDD", "DD", "D", "F", "E", "a", "ww", "w", "HH", "H", "kk", "k", "hh", "h", "KK", "k", "mm", "m", "ss", "s", "SSS", "SS", "S", "z", "Z"}; String[] matchingRegex = {"+[0-9]", "[0-9][0-9]", "+[a-zA-Z]", "+[a-zA-Z]", "+[a-zA-Z]", "+[a-zA-Z]", "+[0-9]", "+[0-9]", "[a-zA-Z][a-zA-Z]", "+[0-9]", "+[0-9]", "[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "[1-5]", "[0-9]", "[a-zA-Z][a-zA-Z]", "+[0-9]", "+[0-9]","+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[0-9]", "+[a-zA-Z; ]-+[0-9]:+[0-9]", "-+[0-9]:+[0-9]"}; |
|
![]() |
![]() |
#25 |
Member
Mega Poster
Join Date: Jul 2003
Location: Hertfordshire
Posts: 1,422
|
![]()
It's my day off today.
You have just sent me to sleep! |
![]() |
![]() |
![]() |
#26 |
Moderator
Mega Poster
Join Date: Jul 2003
Location: Nr Ruthin
Posts: 7,079
|
![]()
Baph! Behave, it's Friday FFS!
|
![]() |
![]() |
![]() |
#27 |
Guest
Posts: n/a
|
![]()
Day off, lucky! They just cancelled my uni at noon, yeah right after my shift gets out good job. So I am stuck here for a little bit longer, then off into the snowglobe! p.s. I'm in Michigan, I bet you don't have a flake of snow there!
|
![]() |
![]() |
#28 | ||
Member
Join Date: Feb 2006
Location: Plymouth, Devon - mostly.
Posts: 527
|
![]() Quote:
![]()
__________________
Twitter: @poseidon_ashore |
||
![]() |
![]() |
![]() |
#29 | ||
Guest
Posts: n/a
|
![]() Quote:
|
||
![]() |
![]() |
#30 |
Member
Mega Poster
Join Date: Jul 2003
Location: Hertfordshire
Posts: 1,422
|
![]()
Hardly lucky. 3 weeks out from Xmas means 2 things - late night opening, working every Saturday.
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
falling off on ice | richbeales | Bikes - Talk & Issues | 12 | 16-11-07 09:29 PM |
What’s the best way to keep from falling over? | zunkus | Bikes - Talk & Issues | 9 | 17-06-07 02:02 PM |
Eyeball....were you lost or asleep? | ASM-Forever | Idle Banter | 0 | 16-06-07 12:58 AM |
Asleep at the wheel only careless, not dangerous? | MiniMatt | Bikes - Talk & Issues | 5 | 05-06-07 07:16 PM |
Pillions who fall asleep | thor | Bikes - Talk & Issues | 68 | 05-05-05 09:48 PM |