« first day (2323 days earlier)      last day (2624 days later) » 

6:00 PM
@Trowski Yeah, it really needs to be one statement as in PR
I think I finally understood stream_select now. I wasn't using it eearlier :)
 
@brzuchal I would just commit the change, but I'm going to wait until someone replies there, maybe let the PR author do that.
 
@PaulCrovella how's that different from JSON pointers? tools.ietf.org/html/rfc6901
 
user5147563
I have trouble with Server-Sent events with php/js.
 
user5147563
It does not works in all mobile browsers
 
user5147563
But for chrome + computer ones - it works
 
6:04 PM
!!caniuse Server-Sent
 
user5147563
Anyone have an idea?
 
I thought of going to get sushi.
 
Good idea
 
@Danack json pointers are more akin to xpath than xquery.. the latter works on sets and lets you do grouping, ordering, transformation, etc. e.g. en.wikipedia.org/wiki/FLWOR#Example
 
6:11 PM
ta.
 
@Leigh I see you own a copy of Styx: Master of Shadows :) Have you played it yet? If so, is it worth buying?
 
6:32 PM
that is relevant of my interests^. I realized I too have a copy of Styx a few days ago...
 
I'm struggling to find a bug in my Python string interpolation usage.
I feel so incompetent when I spend so much time in these stupid little bugs.
Well, dont know what the issue is but I seem to have fixed it. That makes me feel even worse >.<
 
Was it about that "f-strings" thing?
 
6:55 PM
Hello
 
7:27 PM
fuck... my vm crashed, and it corrupted the repo.
I have never solved/faced that, it's pretty exciting.
 
8:01 PM
may you live in interesting times
 
8:16 PM
trying to find a damn jquery date/time picker, it's like I prescribed pain for myself today.
Either looks like shit/unusable for production, only offers time picking, or has some fatal flaw.
 
jQuery is the most fatal flaw of em all :D
 
lol
 
@Tiffany have you tried datepickr? pure javascript, no nonsense, just works™.
 
I'll try it
 
I had to customize it once, and it was ---pretty-- acceptably easy, and never had to think again about it
 
8:20 PM
doesn't have time options
need time options
 
ah. too bad :)
 
I'm replacing an older version of a timepicker which had the date/time changer in one little window. The older version we're on doesn't work in IE anymore. I tried updating it, but still buggy in IE. I can't remove seconds, milliseconds, microseconds sliders.
Thought about modifying it to use a new date/time picker that's two separate text fields, but that would require fixing close to 100 or so forms that use the older one.
though, I didn't bully the newer version enough, and gave up too quickly. I have a little more push now.
 
@Tiffany jQuery UI? Really?
In 2017?
I pity your soul.
 
Codebase is from like 2011 I think
It uses PHP 5.3
 
@Tiffany Doesn't mean you have to keep it like that.
It's a website, not a webapp
How much JavaScript does it even have?
 
8:29 PM
Sure, but that's a fuckton of work
 
500 lines? 1k lines?
 
there are close to 1000 pages
 
@Tiffany 1000 types of pages?
Or 1000 pages in general
 
I mean the whole site is about 1000 pages
 
Because by that logic, Stack Overflow has several million pages
 
8:29 PM
indeed
 
While in truth they have maybe 20 pages
 
No, it's not a project I want to take
Too many parts of the website are dependent on jquery UI
there are about 20-30 classes
 
No one is asking you to refactor the whole thing at once
 
if my job was solely focus on the website, then sure
but it's not
 
What is your job then?
 
8:33 PM
managing all aspects of website, managing web presence of ERP system, managing internal portal system. ERP system is undergoing a major upgrade that I'll have to help with eventually. Internal portal is going ot be going through a contract renewal soon.
 
Sounds like updating your tech stack bit by bit is something that you should be interested in
Especial if you have systems undergoing upgrades soon
 
We were going to have a redesign this year, with a new codebase but funding isn't happening
 
Again, I'm not suggesting you upgrade the whole thing at once
 
mmm, requires retraining a couple dozen users too
 
That's not realistic
But bit by bit, refactor the crud out
For your sake, you're the one working with it
 
8:35 PM
I don't have enough knowledge to do that, though
 
@Tiffany Sounds like a great opportunity to get some hands on experience
 
In theory
 
@Tiffany All programmers advance by doing work they don't think they're qualified to do.
Every single one.
 
I don't disagree, but I wouldn't know where the fuck to start. And I don't mean how to start a project, I mean I don't know what to improve, what needs improving.
Or how to improve it
 
@Tiffany When in doubt, go for abstraction.
 
8:38 PM
I can't even get approval for switching our environment from WIMP to LAMP (or LEMP)
 
Although I'm not entirely familiar with your knowledge
So can't recommend anything.
 
@MadaraUchiha depends how far outside the realm of qualified they are.. jumping into something where you're in completely over you head typically isn't a great idea in the workplace
 
@Tiffany That's actually not very surprising
Especially if the company already has windows servers
 
I believe in forcing yourself to be better is the only way. That includes stepping out of your comfort zone.
 
I wouldn't worry about that though.
I'd worry more about getting out of an EOLed PHP version.
 
8:40 PM
whenever my to-do list becomes nothing, then that's something I can work on
 
We has code in PHP 5.1 in our previous company, but no one made changes to it ever, and it was an internal tool, so no one really cared.
@Tiffany Realistically, does that ever happen?
 
which, actually I've been able to complete several items off of it
 
@Tiffany Your to-do list is never empty.
I have a to-do list from here to Tel-Aviv
 
The problem is, if I tell my supervisor, "we need to upgrade to a newer version of PHP, but I need to update the website's code to support the new version," I'll be asked how long it'll take, regardless if I spend say an hour a day on it, if it takes longer than what she deems permissible, I'm overruled.
 
@Tiffany The solution is to ask forgiveness and not permission.
Work on it, if you see it takes too long, drop it and continue when you're more free
 
8:44 PM
I'm already on a thin rope.
 
But work on it on a side server or on the same server in a different directory/domain
When you're sufficiently sure it works well, switch
Then, go to your supervisor as part of a routine check-up and say "Oh, and by the way, I upgraded our PHP version too, we're much more secure, and the website should run faster"
Is your supervisor a developer?
 
and all accents are now fucked. :D
 
nope
 
@Tiffany Then that approach would work just fine.
 
kill all jews typo
 
8:45 PM
@tereško and one clown.
 
hi, @MadaraUchiha
 
@tereško Hey Hitler. How you doin'?
 
My routine check-ups are either daily, at least weekly.
"what're you working on?"
 
@MadaraUchiha well .. remember that arc I was looking for
 
"That thing you told me to do"
 
8:46 PM
ya know, I found it
 
@tereško Which arc is that?
 
ant it made me immortal
 
context?
 
but dont tell the lizard people
 
I think @tereško is drunk again
He may have also taken the wrong pill.
Send help.
 
8:47 PM
@tereško it's a bit early to be that drunk
 
lol
 
isn't it like 10PM or so where he is?
 
@Tiffany Just about.
 
@MadaraUchiha "arc of covenant", "indiana jones", "nazis on moon", generaral nazi-ufo-consipicies
 
8:48 PM
haven't you heard of the UFT? Universal Felix's Time?
 
For the last time Felix, you are not getting your own timezone.
 
it's always a bit early to be "kill all jews" drunk
4
 
not even my own half timezone? ;)
 
@PaulCrovella 1939.
@Tiffany The point being: 1. You are the person working on that code, not them. You get to improve your quality of life in it, as long as it's within reasonable bounds and you aren't falling behind on your actual tasks.
And 2. You need to also think about your personal advancement.
 
8:50 PM
Right now, my personal advancement is finding another job.
 
You are not going to stay with that company forever, and if you don't learn new things while you're there, you are very much wasing your time.
 
I applied to another place on Wednesday, hoping to hear something next week
 
@Tiffany Good luck!
 
my job used to be two jobs, but it was crammed into one
that is, two people
 
@Naruto No, that's shakespeare, can't you read?
@Tiffany When I left my previous employer, 3 different people took over all the projects I was working on.
That's actually pretty common.
Both your company (and you) want to have your hand in as many projects and areas of the code as possible.
 
8:53 PM
I wouldn't be surprised if something similar happened, IF the state would approve a fucking budget
 
@Tiffany Why do you care about the budget your company gets?
Why should that prevent you from working with better tools?
All of them are free, you know.
 
It determines if we can get a redesign or not.
 
I think I fucked up very badly my git repo, and now have a bunch of dangling commits, blobs and stuff. I can't push, I can't reset, I can't stash, and I don't want to lose my local branch that doesn't exists anywhere else. Halp!
 
@Tiffany Refactoring internal infrastructure has nothing to do with a redesign.
 
@FélixGagnon-Grenier what did you do
 
8:55 PM
@FélixGagnon-Grenier First off, make a copy of the entire thing
And try to fix on that.
 
@FélixGagnon-Grenier could you copy the files and nuke the branch, or are there versions you're looking to save?
 
wow. you guys pings were... like exactly at the same time
 
Second, I'd try git reflog to see if I get lucky
If that doesn't work, go for the nuclear option: reclone the repo, apply your changes on top of that
You lose your branch history, but at least not the changes.
 
@PaulCrovella my vm froze, but I figured "no, I mutn't lose my work", so I keyboarded my way to the console, commited the stuff. restarted, and everything was broken
 
well, I also learned that @MadaraUchiha is a fucking alien from outer space: youtube.com/watch?v=U8NNHmV3QPw
to sum up that video: jews are from space
 
8:56 PM
 
and now I need another beer
 
something something the moon is the princess
 
... and obviously, I directly tried stuff like git fsck, git reflog and stuff, without doing a backup
 
Beach please, I'm from a different dimension.
 
@MadaraUchiha I am kinda serious
 
8:57 PM
Also Zombie Itachi used Izanami
finally nearing finishing this damn show
 
that video blames fall sinking of Atlantis on two extraterrestrial species: jews and martians
 
@kelunik @bwoebi How would you feel about making master in all packages the v2 branch?
 
@FélixGagnon-Grenier Yeah, first decision tree of a broken git repo: Do you need the delta from the remote? Yes -> copy and work on a copy. No -> Nuke and start over.
TYL
 
... were i that damned beer
 
@tereško how many beers in are you?
 
8:58 PM
*are in you
 
second
 
I wish I could handle booze
 
you can go with this .. emm .. review video instead:
it's shorter
 
@Tiffany I wish tereško could
 
9:00 PM
@MadaraUchiha watch one of those videos and then judge
 
So, how's everyone's friday going?
 
@PaulCrovella One beer and I have a pounding headache :(
 
@tereško I'm not nearly high or drunk enough.
 
@MadaraUchiha pretty cool.
 
... you will probably come back medicated
 
9:00 PM
Two hours till home-time.
12 days till I visit my boyfriend.
 
@tereško here, watch this instead
From the makers of the classic "How pregnant is formed"
 
fuck, I'm tempted
 
@MadaraUchiha such amazing
I love those
 
@Tiffany Where was this all my life?
I can die in peace now
 
9:03 PM
http://archive.is/qvN0D aw, it doesn't work.
This version was the first time I beat 2048
Am I the only one that still has to look up <link> to know the right attributes to add for a CSS file? Besides the href attribute.
 
nope
it indicates that you might be human
 
hair-eff
 
are you objectifying me?
 
Yes. What're you going to do about it?
 
9:09 PM
ohgodI'mterrible
 
@Tiffany rel="stylesheet"
 
yeah :P I looked it up on MDN
 
she was talking about he other part
 
According to The Talos Principle, I am not a human/person. (cc @tereško)
 
I can never remember it though.
 
9:12 PM
I still haven't played Talos
 
@Tiffany What are you writing with?
 
I am currently killing vikings (mount&blade)
 
@tereško It's excellent, highly recommended.
 
@MadaraUchiha npp
I started playing WoW again :X
 
@Tiffany Get yourself a real editor, stat.
 
9:12 PM
@Tiffany my condolances
 
I have phpstorm, just don't feel like using it atm
 
@Tiffany vscode all the way.
 
@Tiffany you should try using Atom or Brackets are your secondary editor
or VS Code
 
I think I tried VS Code, I was very tempted to switch to it
 
well, the correct answer is "not npp"
 
9:13 PM
I'm about eight years on using npp though. I'm just used to it.
 
:P
 
@Tiffany I'm about ten years on vim, mainly because I have no idea how to exit.
Send help.
 
@tereško oh fuck. that "The first one [extraterrestrial race] were the hebrews"!
 
All jokes aside, just force yourself to do 2-3 weeks on vscode, then see if you want to go back.
 
@FélixGagnon-Grenier yes
 
9:15 PM
this is amazing
 
:D
 
@FélixGagnon-Grenier Do you know what the coffee making alien does?
 
Dec 2 '16 at 17:02, by Gordon
@Tiffany just in case: it's :wq to exit vim
 
@MadaraUchiha who?
 
He brews.
 
9:15 PM
oh.
 
@Tiffany :x is shorter.
 
@MadaraUchiha shit. I wish I didn't find this funny, bu I kinda do :P
 
@MadaraUchiha if you have a soft spot for flat-earthers, you should really watch those videos
it tickles the same spot
 
@MadaraUchiha I either use :wq or :q!
 
9:17 PM
worth noting that those are two separate commands: write and quit
so, technically, "it's :wq to exit vim" is true, but it will attempt to write your changes, which may not be what you want
 
yeah
joke was I was quoting R'lyehian
 
@MadaraUchiha ok, a bit more serious question, which was caused by all this trolling: is it actually seen as insulting to use word "jew" instead of "hebrew", or is it just another side-effect of rampant political correctness
 
Depends on how you use it…
 
@tereško I consider myself "Israeli", "Hebrew" as in the people is generally the old name from the bible, which no one (here) uses regularly.
 
hmm
 
9:24 PM
"My doctor is a jew" <-- probably fine.
 
"Jew" is the religion, and the people, but there's usually a religious connotation to it.
 
so, only the people with fancy sideburns
 
"That Jew doctor prescribed me the wrong medication" <-- probably not fine.
 
Jewish people generally take great pride in calling themselves Jewish
Although the distinction between "Jewish" and "Jew" is nonexistent in Hebrew.
 
My boss is technically of jewish heritage, but does not follow the religion. (his dad was in a concentration camp)
and one of my friends, but also doesn't follow the religion.
 
9:28 PM
general rule of thumb is if you're spitting it as an epithet - probably not fine. applies to a bunch of words.
 
My grandfather lost all faith in religion after the holocaust. His entire town was erased from the face of the earth. Along with all extended family.
 
@Tiffany ya know, under USSR, there were a lot of concentration camp, which only cared if you insulted the party
 
Him and his close family fled to Argentina just in time.
 
@tereško still some of those in NK
@MadaraUchiha That's balls :/
 
@Tiffany It happened to pretty much everyone's family around here, you just need to walk 3 generations back.
It's not just the ones from Europe either.
 
9:30 PM
:/
 
well, WW2 was a tragedy
 
when is war not a tragedy?
 
But yeah, back to the point: It all depends on the context
 
War, what's it good for?
 
"You filthy jew" carries a lot of bad connotation
 
9:31 PM
Anyone know why it is that you cannot overwrite fastcgi_param with putenv, even though something like putevn("SCRIPT_FILENAME=foo")would return true, but getenv("SCRIPT_FILENAME") still returns the value set by fastcgi_param?
I don't see this documented anywhere.
 
@Tiffany War doesn't determine who's right, only who's left.
"We have lots of jews in our neighborhood" less so.
 
@MadaraUchiha I take it you haven't heard the song.
 
@Tiffany I have. Just made me think of the quote 😛
 
@Sherif this may be of interest to you stackoverflow.com/questions/42379823/…
 
ahhh
 
9:34 PM
@Tiffany business, population control, gaining power ... emmm ... did I forget anything?
 
@PaulCrovella Interesting indeed. I'm surprised you were able to dig this up. I've been digging for an hour now and couldn't find anything.
 
@tereško Slaves.
 
I knew I forgot something
 
Plenty of war was waged to get slaves.
 
@Sherif just happened to see it the other day
 
9:35 PM
@PaulCrovella Hell of a coincidence then :)
Strange that this isn't documented.
 
@FélixGagnon-Grenier you are watching the original or the make-fun-of video?
 
second I think
 
\o
 
there is a series
 
oh shit yeah I see that now
ffs that is the 12th!
 
9:39 PM
(if you dont have issues with that guy's accent/voice)
 
oh, you mean, the debunking video is a series
 
well, they both are series
 
yeah. looks awesome. and to think I thought about being actually productive tonight
btw @tereško have you played Divinity a bit? I... obviously bought it while drunk the other day and.. it kinda is really cool
 
Original Sin?
 
9:41 PM
it's cool, but the battles are really hard
 
yeah, I guess so. I started an "explorer" level difficulty, and dying is really easy already
 
I need to play that and the sequel, considering I backed the sequel
And Everspace...
 
I'm having some trouble understanding based on the docs alone. If I do something like $foo = yield $bar;, what happens to foo? What is the result of assigning to yield?
 
actually, $foo would be what something sends into the generator
 
you mean foo would be
 
9:51 PM
euh yes indeed
 
@Dereleased The iterator's next() method (or however it's called in PHP) accepts a value as parameter
That value will be the result of the yield statement.
 
I was reading something on python generators, which apparently have explicit next and send functions. Haven't done anything with generators beyond trivial "so-this-is-what-that-does" type playing around. Trying to get my head outside of them.
 
JavaScript's generators simply have a next<T>(value?: T): IteratorItem method
 
9:59 PM
@PaulCrovella is there a way to force the caller to wait when it should send a value? (I'm pretty sure this sounds very dumb, sorry) 3v4l.org/M1slC
 
@FélixGagnon-Grenier Wait for what?
 
other than like, manually waiting for a specific value from the yields that instructs the caller to send a param in
 

« first day (2323 days earlier)      last day (2624 days later) »