« first day (2139 days earlier)      last day (2800 days later) » 

12:05 AM
Sometimes "deal" means "challenge accepted" ?
 
Yeah
 
thx
 
12:25 AM
@Fabor well, if your 5 years ago job is ceo at google, there might be some value in expressing where you would be at now
 
Now that you mention it, my CEO google position might be worth mentioning :)
 
CV is looking good. I'm not a fan of length CVs. Mine is just hitting two pages. But it's a lot of well formatted info on a single page.
I always get tempted to include things which highlight my personality though.
"Freelance Developer & Travelling Hobo"
 
nice^
that might be better served as "Hobo travelling freelance developper"
 
heh. I left it out. Professionalism and all.
 
12:32 AM
:p
 
I once submitted a covering letter with "Does anyone actually read these? Isn't it just a glorified statement about a person telling you how awesome they think they are?"
I didn't get an interview -_-
 
oh... they didn't have a sense of humor :p
 
Yeah, you could argue that it'd probably not be a fun place to work as a result.
 
@rdlowrey Yeah, they are awesome.
Really changed the way I worked worked with "streams" for the better.
(not php stream, just sequences of data)
 
user895378
12:56 AM
@Trowski @bwoebi it's a real PITA for me that I can't create a stream watcher in a disabled state with this new API :(
 
user895378
e.g. used to be able to create an onWritable watcher that's disabled because I'd always need one at some point
 
user895378
1:29 AM
IMO the function signatures should look like:
 
user895378
public function onReadable($stream, callable $callback, array $options = []);
 
user895378
instead of an untyped $data param
 
user895378
(in the interop loop impl, I mean)
 
user895378
anyway ... it's not a huge deal ... it just assumes the only option we'd ever possibly want is callback data when there might actually be others in the future of which we're currently unaware
 
user895378
Makes for a brittle API in which the only future expansion possibility is moar params
 
Wes
2:38 AM
hodor \o
 
3:21 AM
Hi any laravel Geek is on?
 
3:52 AM
@RaunakGupta hello
seems not
17 hours ago, by Gordon
oh… a laravel dev… nvm… you are on your own then
Using an algorithm like levenshein distance to find out malicious login attempts, is that a thing?
 
4:13 AM
morning
 
4:38 AM
not really. I'm thinking of implementing an extra layer of brute force prevention if some is making requests using passwords that are entirely different from each other. But I'm not sure if this is a good option, as some users have multiple different passwords that they use across different sites. So it might cause issues for legitimate users.
 
4:59 AM
@andho I don't see what it would buy you over simple rate limiting.
 
Wes
mornings 2.0
 
morning Wes
 
5:20 AM
user image
6
 
morning Gordon
 
5:52 AM
"We ARE going to fight this case to death." ... some people get really attached to their voting fraud
 
6:13 AM
@PaulCrovella oooh, a good morning read for the first cup of coffee :D
 
6:26 AM
@PaulCrovella sorry, was out for lunch. I'm thinking of this as a strategy for rate limiting, but you're right.
 
is there any reliable way of making sure a php extension is loaded after a specific other? Like is there something like dependency management for php extensions? Currently, if ext A needs ext B, the only way I can influence the loading order is by giving the ini file for ext A a name like zz_ext.ini or enabling it after the other ext in php.ini. that sucks.
 
Wes
wait, are them loaded alphabetically?
 
I think they are enabled in the order they are parsed. But this effectively means they are loaded in the order they appear in the Additional ini files folder (if you use that), which is alphabetical then. Or whatever ordering your filesystem uses. That's why on Ubuntu you get ini filenames like 20-json.ini
 
Wes
does static/shared change something?
 
not sure. I'd need this to work for shared exts
 
Wes
6:38 AM
compilation works regardless of the order, right? not trying to help you, i have no clue of these things :B just curious about it
 
@Gordon lemme guess, you're dealing with the http extension?
 
Wes
it sure sucks though but i prefer it how it is right now than having the overhead of dependency management
 
@PaulCrovella no. custom extension that needs json extension
 
ah. the http one is the only one I'd encountered that's picky about load order (some dependencies).
unfortunately no, there's no better way to deal with that currently than what you've already discovered
 
@Wes well, I kinda agree. Still sucks though.
and yes, having to deal with circular dependencies and stuff would suck, too
 
6:44 AM
gah, I hate making rice. you have to wait so long and can't touch it.. I like to fiddle with things when I cook :(
 
@rdlowrey you can just immediately disable after creation… where's the big issue here?
Was weird for me in first moment too, but fine now
 
Wes
@PaulCrovella wut?
you can't touch the rice while it's cooking? not with bare fingers :B
 
Wes
morning bob
 
hmpf, this is unreliable. I wish there was a way to put the ordering into the extension line
extension=/path/to/my/ext.so,99 or something
I dont want to rely on the filesystem to order zz_ext.ini as the last item
it needs to be decoupled
 
Wes
6:58 AM
i'm pretty sure they load as they show up in the php.ini, if they are shared
no?
 
@Wes yes, like I said: in the order they are parsed.. but that doesnt help me if I want to distribute an extension that depends on another one to be loaded already.
 
o/
 
Wes
i don't get why you are mentioning alphabetic order then, or filesystem order
 
@Wes because Additional Ini files folder
 
Wes
don't have extensions doing stuff during the startup maybe? ie check the json extension is loaded only upon first actual use of your ext
 
7:02 AM
type php --ini and you'll see what I mean
 
@Wes messing with rice while it's cooking is how you screw up rice
 
Wes
@PaulCrovella lol, messing how?
 
@Wes moin Wes
 
@Wes so much as lifting the lid is detrimental
 
Wes
how does uncooked rice look in the us?
 
2nd
depends on the rice, but that's typical
 
Wes
first "scuoce" easily (water temp too low or too high, overly cooked) 2nd is less susceptible to these variables
anyway perhaps it looks the same but it's not actually the same kind of rice
but if you like fiddling, you could toast/fry (oven or pan) the rice a bit before boiling it. some here do that
 
probably not, but it's not so much about overcooking as it is breaking the starch and turning it gloopy
 
Wes
not a fan of rice though, except risotti. i'm good with risotti :B those must be gloopy
 
7:15 AM
!!de gloopy
 
gloopy (translated from English)
 
Wes
i think it means gummy
 
@Wes that's an entirely different ballgame, yes
 
!!de gloopy
 
that's constant attention to get right
 
7:16 AM
oh @Jeeves
 
Wes
@PaulCrovella what brands of rice do you use in the us?
 
brands or types?
actually, either way the list is too long
but I like jasmine
 
I dont cook rice with a lid on. I just throw it in when the water boils. let it cook for a few minutes and throw it out before it gets gloopy (I guess)
 
Wes
wondering if you guys have italian rice too :B lascelta.com/media/catalog/product/cache/1/image/700x477/… with this brand for instance it's basically impossible to make it gloomy... well except if you cook it twice the required time
 
can't say I've seen it, no
 
@Wes never seen it in germany either
 
Wes
neil tyson about italy. i always laugh when i enter one now
@Gordon that's so sad... we should export our best things, but we don't
 
@Wes well, you exported @Ocramius
 
@Wes is best meant ironically?
 
Wes
it's not @bwoebi might be fun to you but we actually care about food quality and taste. might not look very important to you but we are what we eat, if you eat shit you'll be shit :B
 
7:25 AM
@Wes Oh, well… I thought you only had shit food over there :-P
@Wes anyway… I like good ingredients… whether the food is still fine depends on whether I haven't fucked up in kitchen :-D
 
I'm pretty happy with how italy and america influenced each other's cuisine.. from new-world items reaching italy and home-style italian food being adapted here, there's some really delicious stuff now
 
!!is today Sunday?
 
Let me think about it … wait … yes … well actually, no.
 
Morning
 
@Epodax that thread keeps getting better.. in case you're not following along - "having me as their users is a privilege for SO"
 
7:29 AM
morning Oldskool
 
Wes
i'm not sure about that @PaulCrovella :B
 
murnin
 
Wes
i was probably unlucky but i can't say i liked food in america
 
@Wes why not?
 
keep in mind I'm spoiled where I am in particular.. lots of immigrants, great restaurants and foodie culture
 
Wes
7:35 AM
@bwoebi most of things tasted a bit bland, but not bland as being healthy
fast food tastes good, i can't deny i like it, but it's engineered. probably the most familiar taste to me was meat. that was good too
 
@Wes Also depends a lot on how much spices you're used too
 
Wes
pasta, pizza, completely different
 
Can't remember having eaten pasta in america…
but pizza is different pretty much in half the world, not only America…
 
@bwoebi I think even a value object for options > array options
 
@Leigh wut? no.
at least not as long as we don't have object literals
 
7:39 AM
at least then your definition of possible values is explicit
 
@bwoebi which we will never get because quoting "it's too hard"
 
@Wes all of it depends strongly on where in america you were and what kinds of places you went to. even stuff that is distinctly "american", like our BBQ, varies drastically depending on tradition in the area (e.g. wet vs dry)
 
@Leigh yes, but a PITA to write.
@Gordon stop listening to the internals trolls
 
PITA to write > fuzzy values :)
 
Anonymous
morrow
 
7:42 AM
Ummm @Trowski github.com/amphp/dns/commit/… … 2.0 is the amp version, not the next version of these repos, which are currently at 0.1 each.
 
@JayIsTooCommon o/
 
Wes
also interestingly, italian mcdonald's is completely different from american's. same for burger king :B they are both good tho, just different. someone else noticed? :D
 
that's where we lucked out - ours suck
 
Wes
can't tell about the ingredients quality but i liked the taste
quality must be pretty bad here too
 
morning
 
7:46 AM
@Naruto \o
 
posted on August 24, 2016

New Cyanide and Happiness Comic

 
oh, protip: if you're ever in the states but not in the south and want good bbq - go to the worst neighborhood you can find
you might get mugged, but that's where the real shit is at
 
Wes
lol
 
le sausage neighborhood? ^^
 
morntired
 
7:55 AM
3 days to go?
 
When working with large XML is the sane way using XMLReader to find groups you want and parse them further using DOMDoc (XMLReader::expand)?
 
@PeeHaa yes
 
Or do you people do everything with xmlreader
 
@Leigh Yup. 3 slow days :P
 
@PaulCrovella tnx
sanity++
 
7:56 AM
@PeeHaa it depends, but the combo makes many tasks trivial
 
Yeah thought so too. Was first trying to parse it all "manually" but that becomes a mess fast
 
if you want a mess try a sax-style parser
 
is XMLReader the one that streams rather than parsing it all up front? I've managed to dodge XML for a long time now (:smugface:)
 
!!? sax xml
 
@Leigh yes
 
7:58 AM
Search for "sax xml" (https://www.google.com/search?q=sax+xml&lr=lang_en)
• Simple API for XML - Wikipedia - In de software-ontwikkeling is SAX een API voor het parsen van XML. De naam komt van Simple API fo… (https://nl.wikipedia.org/wiki/Simple_API_for_XML)
• Simple API for XML - Wikipedia, the free encyclop… - A parser that implements SAX (i.e., a SAX Parser) … Some events correspond to XML objects that are … (https://en.wikipedia.org/wiki/Simple_API_for_XML)
• Parsing an XML File Using SAX (The Java™ Tutorial… - In real-life applications, you will want to use the SAX parser to process
 
1 message moved to bin
But it has simple it in!
 
I think SAX was a Java invention, so simple + mess
 
The best of both!
ooooh I have used sax parsers before
TIL
 
it's why I wrote JsonReader.. the only streaming json parser available was sax-style, and it made me want to hurt myself
 
8:01 AM
@Trowski which changes exactly made github.com/amphp/amp/commit/… necessary? The functions now look much more ugly ;o(
 
On that subject, I think I remember reading about a Go(?) JSON parser that only parsed the relevant bits or something. I'd love some kind of query language for JSON, something like XPath but not as ridiculously complex. We could call it JQue... oh wait :(
 
@Leigh there is jsonpath, but I'm not a fan of it
 
The performance benefits for only instantiating the parts of the document you need were huge. Maybe I'll chalk it up as a potential side-project
 
a query language would be more or less orthogonal to the type of parser though.. you can theoretically use something like jsonpath whether using a streaming parser or not
 
JSON Schema as an ext would be nice
single pass parse + validate
well, single pass without the complex bits of json schema
 
8:09 AM
for well-structured documents I still prefer xml - the tool support is lightyears ahead
 
remember the sorority video that was linked couple days ago?
they are now being called racist
internet makes me sad
 
@PaulCrovella validation is important even for simple documents - for example 3rd party API responses. Lets say they fail at versioning and change their response. Parsing then validating every element manually could be a monumental task
 
that's true, a simple schema would be useful there
 
8:24 AM
Morning
 
#BritLife
Also morgen all
 
Anonymous
o/
 
heya
 
8:31 AM
@Leigh that's the nice thing about Java. You just use Jackson and get dom-like Json parsing in addition to stream parsing and marshalling. plus xml of course.
jackson is really nice and does all the things
 
@Oldskool -- A SSH issue has been occurred.
 
@Duikboot You don't say...
That's a new one... coughs
 
@Gordon Sounds like a framework advocates mantra
 
@DaveRandom No router?
 
8:41 AM
@DaveRandom anything particularly funny here? [knobhead is not exactly funny?]
 
!!urban knob
 
[ knob ] The glans, the penis head
 
!!urban nob
 
[ nob ] British slang term for the penis. Typically used as an excellent cheap insult. Used in jest (above "moron", just below "twat", and well below "cunt"), or used to describe someone who is doing something you think is annoying or a bit crap.
 
Even has hierarchical help for you ^
 
8:42 AM
@Fabor Oh yeh it arrived yesterday, was in the middle of something when it came and forgot to say
 
And I can't believe I just spelt that right
 
cheers for that, and thanks for new toy :-)
 
Ah good good. I kinda didn't check it before i sent it, only really wondered if I sent correct power cables through after.
 
@Jimbo Whereas "spelled" you aren't so hot on
 
14
A: "Spelt" vs. "spelled"

fiktorFrom Cambridge Advanced Learner's Dictionary: spell (FORM WORDS) /spel/ verb [I or T] spelled or UK AND AUSTRALIAN ENGLISH ALSO spelt, spelled or UK AND AUSTRALIAN ENGLISH ALSO spelt This means that you should say "spelled" in US English and you can use both "spelt" and "spelled" in UK/Au...

 
8:43 AM
FTR there was a USB Wifi thing plugged in to. Well.. I hope it was the wifi and not my wireless keyboard
 
> This means that you should say "spelled" in US English and you can use both "spelt" and "spelled" in UK/Australian English.
Off you fuck! ;)
 
/me fucks off
 
:D
 
@Fabor says 802.11n on it, so wifi :-)
 
Cool
 
8:44 AM
I am awash with power cables for things, I'm sure I can assemble the necessary stuff
 
@Jimbo "spelt" is for weaklings. us germans say buchstabieren. what good is a word describing spelling when it doesnt include at least a quarter of the alphabet? I mean, if you can spell buchstabieren chances are you can actually spell anything.
 
@Oldskool Fixed ( Stupid me,... ( Typo in alias ) )
 
@DaveRandom spelt vs spelled. Learnt vs learned. Spilt vs spilled. What are the rules?
 
9:02 AM
reddit.com/r/PHP/comments/4zbi44/… … oh, a nice invitation for a denial of service <.< Can we please stop showing off insecure software
 
oh, there was an earthquake near rome
rome is in italy for you murricans. italy? in europe. where pizza comes from. it grows on trees there.
 
oh wow, how bad?
 
6.2 iirc
 
oh damn
that's not good
 
9:07 AM
@Gordon wtf?
 
What did you do @Wes?
 
Wes
i farted
 
I thought you fell out of bed :P
 
@PeeHaa your mom
 
9:08 AM
:-P
 
@PaulCrovella BOOM
 
Oh, apparently there were 2 quakes.
That town looks wrecked :/
 
@bwoebi what?
@Oldskool looks legit
 
@Gordon Is the stereotypical American that unknowledgeable about basic geography?
 
@bwoebi when you want to poke fun at us, yes
 
9:15 AM
@bwoebi Your average stereotypical Donald Trump voter... probably.
 
it's an old article but I dont think much has changed since then
 
Moorgen
 
ugh…
 
@bwoebi also note that I deliberately wrote murricans
 
@Gordon Is that something different?
 
9:19 AM
!!urban murrican
 
[ murrican ] United Statesian
 
hmpf. I use the term to refer to the less bright United Statesian
@crypticツ might have a better definition
 
This is pretty much my definition of Murricans:
 
mb_convert_encoding() or iconv()?
 
9:24 AM
@Oldskool that's only half of it.. they not only took er jerbs, but they're lazy freeloaders on welfare (somehow) too
 
I usually use the latter but the code in question is already full of mb_*() function calls
 
iconv
 
Any particular reason?
 
@DaveRandom I have had more success with iconv I think
 
It looks from the docs like mb_convert_encoding() doesn't return false on failure, but that may not be true
 
9:26 AM
supports more encodings and I have a general distrust of mbstring for complicated operations
 
@bwoebi Why not comment and inform them of their insecurities?
 
@PaulCrovella Erm, people that took the jerbs are usually not receiving any welfare? Otherwise it sounds like a broken system.
 
@Fabor It really is just the Nth websocket impl I've seen…
 
@Oldskool ¯\_(ツ)_/¯
 
k, iconv it is
 
9:27 AM
Turn in to a world wide websocket warrior!
@Saitama Umm, random lol.
then change your name to willy wonka
 
I know I shouldnt have done that
 
cause
 
A bit much, I think
 
@Saitama yes, and if you do too much of it, you will grow hair on your palms
 
uhm, cough
 
Anonymous
9:31 AM
awks
 
Anonymous
!!wotd
 
thrummy: shaggy or tufted.
 
!!uptime
 
@DaveRandom I have been running for 12 seconds, since 2016-08-24 09:31:44
 
!!plugin list google
 
9:32 AM
12 whole seconds, huh.
 
@DaveRandom Nice update!
 
Command endpoints for plugin 'Google' (enabled):
[X] Search - Retrieves and displays search results from Google (Default command: google, Mapped commands: ?)
 
god damn it
!!version
 
@PeeHaa's mom's really thrummy
 
9:33 AM
You probably want to STFU iconv btw @DaveRandom
> This package requires php 5.6 but your PHP version (5.6.24) does not satisfy that requirement.
lolwut
Much confuse
 
very wow
 
oh lol. I specifically tell it to use 5.6 and nothing else
That's stupid
@DaveRandom MIssing yield?
 
don't think so
ugh, fine, I will check the logs
 
hello all
 
9:40 AM
More Jeeves work Chris?
 
Yeash sorry @DaveRandom. I don't see something stupid besides your face
 
I don't keep stupid things next to my face
My face is stupid enough
 
:P
 
@Fabor I have probably spent (cumulatively) an entire working day trying to make the google plugin work correctly with encodings now
 
in which table store add to cart data in woo commerce @DaveRandom @Fabor @Oldskool @Jeeves @Gordon
 
9:41 AM
We don't cut characters in half any more but still not handling the input correctly
@Prabhakar I have literally no idea and I also do not care :-)
 
@DaveRandom Plus the earlier work this week :P you must really have some crappy work to do at the real job
 
please do not ping random people with your question
@Fabor you have no idea
 
Let me know what/if you do with the Pi btw. Something cool I hope.
I was going to turn it in to a security camera.
 
I'm wading through a huge pile of SQL Server 2005 stored procedures written by an idiot, and making them work properly with the new business model
 
@Prabhakar Stop pinging random people please.
 
9:43 AM
It's not that difficult but I hate it
 
And no clue.
 
@DaveRandom I dunno, I quite enjoy refactoring :P
 
@Prabhakar kicked because you are an idiot
@DaveRandom specifically said not to ping random people
 
@Fabor So do I, but not stuff like this:
 
TBH I didn't know anyone really used stored procedures.
 
9:44 AM
select a.AgentID, a.Firstname + ' ' + a.lastname as agent, crc as Supplier, CONVERT(CHAR(10), h.CallDateTime, 103) as Date, CONVERT(CHAR(8), h.CallDateTime, 108) as time,
h.phonenum, c.postcode, h.BridgeTime, c.title, c.fname, c.lname, Calldata, h.sourceid

from history h
left join contact c on convert(varchar(10), h.DialID) = c.trans_dialid
left join Agent a on h.AgentID = a.AgentID
where crc in ('penex')
and calldatetime between
'15-aug-2016' and '23-aug-2016 19:45'
AND (BridgeTime > 0 OR BridgeTime = 0)
 
@Fabor stored procedures are not refactored. They are removed
 
heh
 
which, by the way, didn't make sense in teh first place
 
Anonymous
@DaveRandom Use a pastebin you complete and utter vamp.
 
It's not even formatted...
 
9:45 AM
I particularly like the left join on an unoptimisable conversion
The best part is, someone actually goes in and updates those dates every week instead of writing some logic to figure out the week start and week end from the current date
 
heheheh
 
There was one that I did yesterday where I cut the execution time from >10 seconds to <10ms
(without adding any new indexes)
So yeh, I'm kind of avoiding this job in any way I can :-P
 
i want help
 
Me too buddy, me too
 
thats why i am asking
 
9:48 AM
turns out therapy is really expensive though
 
question
 
@Fabor they are (can be) useful when you have a few applications backed by a single database
tbh we overuse them but legacy architecture is legacy
 
Kinda feels like a lot of people would discover them and then overuse them because they seem "cool".
/s/overuse/incorrectly
 
@PeeHaa that was … quick. [not judging tho]
 
@Fabor yeh that's about the size of it, same with views
 
9:52 AM
@bwoebi I have a perfectly calibrated annoying (vamp) person detector. I've basically reached the point I can make a judgement call after seeing a name :P
 
At least you get somewhat quick gratification from those improvements. Anything reducing query times floats the non-tech staff's boats.
 
@PeeHaa it's often obvious at "hello"
 
That's one giev away yeah
 
morning
 
hey @kelunik
 
9:54 AM
Enough mobile internet to open SO chat :-)
 
@kelunik Harro
 
It's that bad?
 
@kelunik I'm curious if you were happy with your DB storage choices for the chat you built?
 
It doesn't load with 60 kbit/s which is the speed I get after the highspeed data limit.
 
ughh tmobile?
 
9:55 AM
@PeeHaa 1&1…
 
@Fabor DB storage was pretty fine, yes. Any reason why you ask specifically about that detail?
 
@kelunik Nope. Just about to start some DB stuff myself and wanted to see if you had any reasons not to use those.
 
hello
 
Anonymous
@Wes that earthquake anywhere near you ?
 
@HamZa yo
 
9:58 AM
@PeeHaa 1&1 currently, will probably switch in October or November to some prepaid provider and have a second one for mobile internet only.
 
@PeeHaa 'sup? Any news?
 
@kelunik dual sim phone?
 
@kelunik how much does internet-only 1 GB+ volume cost in Germany?
 
There's sometimes a special offer from MediaMarkt. You get 3 or 6 GB / month for about 2.50 € / month. If you count that you get a 250 € gift card. Usually it's 10 € / month and after 24 months it's 20 €.
 
@HamZa uhhm not really :P been busy with work and slow with everything else
 

« first day (2139 days earlier)      last day (2800 days later) »