« first day (3658 days earlier)      last day (1281 days later) » 
01:00 - 22:0022:00 - 00:00

10:00 PM
@bwoebi it's not canonical I'm concerned about :-P
<font face="wingdings">lol</span>
a real-world HTML parser has to be able to deal both with modern idiocy and ancient lack-of-concrete-standards, libxml is only good for small well-formed HTML 4.01 documents, i.e. pretty much nothing in practice
or at least, not without some oddities, obviously it's pretty damn good, I'm not knocking it
 
We both know you love libxml
 
it falls into the category of "stuff I could not do better myself" :-P
it would be nice to plug in something with a real spice to it, like I bet you can pinch bits of mozilla or chromium on a lot of platforms, but building bindings for it is such a monumental task :-/
in order to make a drop-in replacement you would have to unpick hard libxml coupling from a lot of places
 
@DaveRandom Yeah, I wished there was an easy way to transform gibberish into legal sgml
 
there is, but unfortunately it is "hire a developer" :-P
 
hehe
/me continues parsing html with regex
 
10:15 PM
everyone does it. you got that random data set from god knows where that has fragments of weird HTML-ish stuff in it, didn't you.
didn't you.
and you parsed it with regex like the dirty little cheat you are.
and it felt good.
 
@DaveRandom I think the resulting code was shorter than the formally correct one manipulating DOM
 
At my previous job we actually rendered our website through DomDocument, so if it wasn't valid HTML/XHTML (and we did serve some legit application/xhtml+xml btw) then it's a serialization bug on the part of the library.
 
@LeviMorrison huh
 
@bwoebi ...and you were in the pub at 4.30 instead of still buggering about with libxml flags at 7
 
;-)
 
10:19 PM
We made a domdocument and that's what we sent to the users. Want to add a script to the end of head? Just do it through dom modification. Want it at the end of the document? Same thing, manipulate the dom. Don't want a normal part of the template? Delete it through dom.
 
Though the resulting regex (e.g. ((?:<\s*([a-z-]+)[^>]*>\s*)(?R)(?:\s*<\s*/\s*\1\s*>)|\(\(#[^):]+\)\)|\[\[#[^:\]]+]]|{{#[^}:]+}}) looks like gibberish :-D)
 
@LeviMorrison I've regularly thought about doing this and decided against it on ground of lack of control over memory consumption (not constrained by memory_limit)
 
oh lol
 
@bwoebi I assume you just got an easter egg for that
 
that triggers the easter egg
yeah
:-D
 
10:20 PM
there are a few others on other SE sites, I documented them all in a gist somewhere when I dissected the chat JS file years ago
can't find it
ugh I have it somewhere, along with a semi-decompiled version of the chat sources
 
And the very next regex in this file is parsing PHP variable declarations to extract their string literal value
(^\$([0-9a-z_\x80-\xff]+)\s*=\s*(?|"((?:[^"\\\\]+|\\\\(?:\\\\|")?+)*+)"|\'((?:[^\'\\\\]+|\\\\(?:\\\\|\')?+)*+)\')\s*;\s*$)mi
doesn't that look nice?
 
dem backslashes
double that up in a PHP string <3
 
(that's a PHP string, single quote)
 
oh right
that always breaks my brain
I really love the C# @"literal" thing for that
 
the wurst is using REGEXP_REPLACE() in sql queries <.<
need to triple-escape every backslash
 
10:25 PM
yeh but if you are doing that you have bigger fish to fry than what your code looks like :-P (again, we've all done it)
 
once for php, once for mariadb and once for PCRE
@DaveRandom well, it's not code usually, but mostly finding things in logs and grouping with regex by hand
at least in sql context
or replacements on multi-gb-tables because reading the db into php and writing back is so damn slow
 
oh I generally script shit like that in PHP, I find I'm more productive bashing out 20 line scripts with 30 line SQL queries than trying to write the equivalent 50 line SQL query
that's just me though
 
@DaveRandom oh, I agree - usually
 
and actually that's not true in T-SQL or sometimes pgsql
but I hate MySQL with a passion
I write as little of it as possible
 
But good luck executing that thing in reasonable time on a tens of millions rows table :-/
in mariadb it's like a minute
as a script iterating over each row … yeah… many hours/days
 
10:33 PM
I don't know if I've had that scale of problem with mysql ever in my life, tbh
the only really big DBs I've ever been responsible for were ms or pg
 
@DaveRandom I guess newspapers like using wingdings on their websites to get around making symbols easily... and it makes parsing their content fun
I haven't had the joy of doing it yet, but I'm sure it'll happen at some point. Or maybe I'll luck out and only hear the stories of "how bad it used to be"
 
@DaveRandom curious: do schema changes (alter table) also need a full rewrite of the table in pg/ms? (as in: hard locking causing downtime while it rewrites the table)
 
does wingdings still exist? I use it as a cultural touch point all the time but I don't know if it's actually a thing any more, I don't remember seeing it since the 90s
I am so fucking old.
 
Pretty sure it does
 
@bwoebi depends what you are doing, specifically. e.g. iirc if you are adding a new column at the end of the table this only results in row-level locking
I think possibly also true of modifying if all the modifications are contiguous at the end
 
10:37 PM
okay
 
it only requires a full rewrite if you re-order things or modify something in the middle which results in a size change
iirc
I haven't had any of these problems in production for a couple of years now though so it's hazy
feels like a lifetime tbh :-P
3 mins ago, by DaveRandom
I am so fucking old.
lol
 
Read an article about "gen-z" adults and had a "wait, they're old enough to be adults now?" reaction.
 
I'm not really a developer any more, I really want to get back into it but I haven't properly written code in anger for over a year
 
"18-23 gen-z adults"
 
@DaveRandom so what do you consider yourself now?
 
10:40 PM
dunno, tbh I've always liked jobs that are hard to pin down
 
what are you doing?
examples?
 
I've done everything from installing CCTV and WiFi to rebuilding a cabinet in a data centre to designing HTML reports in the last week :-P
last few days been doing a network map of this insane 50-site higgledy piggledy network
there are a few outstanding coding-ish jobs actually, like making the ticket system talk to the phone system
internal shit like that is always mañana though :-/
 
:-D
sounds great though
 
(the delay there was because I was trying to work out how to make Windows do ñ from a UK keyboard) (I failed and Googled it)
 
I mean sounds like you definitely have enough variation
@DaveRandom boot to macOS, type alt+n, n :-P
 
10:44 PM
tbf I actually do know how, you just have to not remove all the multilingual shit like I have from this machine
:-P
 
I'm tbh annoyed at windows having no dead keys apart from these directly mandated by the keyboard layout
 
yeh it is clunky at the best of times
 
And I know of no possibility to hack that in
I've mapped e.g. ë to alt gr + p
 
I have the luxury of being a native English speaker, and thus not really having to ever think about it because the internet was built directly for me :-P
I'm not proud of it but I am super lazy, it should impress me every day that most of the people in here are fluent in English and I can barely even read most of their languages
 
@DaveRandom fluent is like a gross exaggeration
 
10:48 PM
I have no idea how to say "fluent" or "exaggeration" in any other language
I'm also never sure about the spelling of "exaggeration" but that's just one of those weird mental block things
 
A lot of the non-natives will fail at more exotic English terms and rarely use these in their phrasing
 
Exotic? English? wat
 
ofc, but I cannot think any any other language fast enough to string a sentence together for any kind of practical chat time frame
 
Antidisestablishmentarianism
 
piffle.
 
10:51 PM
@Tiffany well… let's call English a quixotic language.
@DaveRandom and there's a word I don't know :-P
 
I had to google it too
 
@bwoebi no Don Quixote would have spoken Spanish, pretty certain
 
There are a lot of silly British words
Poppycock
 
Spiffing
 
@DaveRandom lol "quichotte" is his name :-D
 
10:52 PM
Kerfuffle
 
The Meaning of Liff (UK Edition: ISBN 0-330-28121-6, US Edition: ISBN 0-517-55347-3) is a humorous dictionary of toponymy and etymology, written by Douglas Adams and John Lloyd, published in the United Kingdom in 1983 and the United States in 1984. == Content == The book is a "dictionary of things that there aren't any words for yet". Rather than inventing new words, Adams and Lloyd picked a number of existing place-names and assigned interesting meanings to them, meanings that can be regarded as on the verge of social existence and ready to become recognisable entities.All the words listed are...
cannot recommend highly enough
 
lol
 
@bwoebi no idea of anything at all about anything to do with any of it tbh, I just love a shit joke linguistic joke and I will seize on even the weakest of opportunities
I also love a run-on sentence.
 
I know :-D
 
right I need to sleep, I have a teams meeting in 6 fucking hours what the shit
 
10:55 PM
At 6 bloody AM?
 
@DaveRandom maybe tell your team about flexible work time?
 
dickhead greeks with their stupid timezone
 
Ah
 
yeh but it's still fucking 8am for them
 
Standup is 8:30 for me
 
10:56 PM
@DaveRandom too early, I'm still sleeping then
waking up at 10 on average
 
no fucking shit because you are a normal(ish) person
 
Though "standup" is just "paste the bulleted list I started writing this morning"
 
@DaveRandom no, most normal people don't get to sleep until 10:30 (sometimes) on workdays
 
I try to be sleep before that, but I'm not normal.
 
@Tiffany doesn't sound all that useful if it doesn't also include "read everyone else's stuff" :-P
@bwoebi nfn
 
10:58 PM
what does that mean? :-D
 
I do read everyone else's stuff, but I cba to look up the tickets when jira tickets are listed
Maybe some day
 
@bwoebi it is like a super abstract cultural reference but it is googlable I think
it stands for "normal for norfolk"
 
Not for nothing? Not for now? Google is confused.
 
which is a think that is apocryphally written on patient charts by doctors on norfolk
 
@DaveRandom not really, too many possibilities
 
11:00 PM
basically it means "what passes for normal around here"
and yeh sorry as soon as I wrote it I remembered who I was talking to
:-P
right I really have to sleep
ttyl <3 x
:-P
 
yeah, how dare you mistaking me for someone who knows such bullshit
:-P
 
I'm ready for Borat 2
 
11:23 PM
I'm ready for payday
 
My was yesterday.
I cry every payday. Seein how much the government takes out of my check.
 
I only look at how much the government takes when I file taxes.
I'm happy to pay taxes; I like socialized roads, bridges, schools, and so on. I'm not too happy about military spending, though :/
 
I always file the last day, even get an extension.
Just to keep my money a little longer lol
 
I do not get the obsession with payday … I just look from time to time on my past transactions and notice a few thousands having come in
 
Who knows how much money they spend on Air plane fly overs.
During sporting events.
What a waste.
 
11:33 PM
@bwoebi it depends on living paycheck to paycheck. Soon I won't have to, once I'm caught up on bills, but right now, I must.
Probably in a month I'll be in a similar position
 
Then you will spend more.
 
probably
 
More money more problems
 
@SalOrozco not if I budget
I want to get LASIK
 
yeah if you are smart with that.
 
11:34 PM
I need to save for it
 
@SalOrozco you just have to know how much luxury is enough … yeah, up to a certain income you're going to spend more unless you ridigly budget
 
@bwoebi rigidly?
 
Super fancy clothing or cars to me is not worth it. What I value more is being able to go on vacation travel.
 
Yeah, I'll be able to do that too :) though I will need to figure out what my insurance covers so I can budget for medical stuff. I'm used to my previous insurance which covered a portion even before meeting the deductible.
 
@SalOrozco not even that, but starting with food; you tend to buy cheaper food when you have less money at hand
which really adds over time
 
11:39 PM
yeah thats true
 
Beans and rice
 
when you have more money you just eat out all the time.
I spend a lot on eating out.
and not fast food.
 
@SalOrozco I don't - but I'll gladly buy some lamb filet which is at like 50€/kg or such
 
I may do it one pay period just to enjoy it once, but I'll need to manage after that.
 
You cook
I cook stakes often.
 
11:41 PM
Used to eat out a lot (2-3 times a week), but since March only 3 times.
Steaks are... pricey.
And really bad for the environment and CO2 emissions
Tasty though.
 
yeah :-)
 
lol
Slow cooked
in a smoker even better
Just so much time consuming
and cleaning up
setting up the fire
 
01:00 - 22:0022:00 - 00:00

« first day (3658 days earlier)      last day (1281 days later) »