« first day (1816 days earlier)      last day (3129 days later) » 

7:01 PM
aren't both equivalent per definitionem?
 
@Ghedipunk The former
 
On Earth's surface at 1G, yes they're roughly equivalent, on the order of one part in a few million years.
 
WTF...
 
Uhm… the meter is defined by the second…
 
> max()
> NOTE: This function has been deprecated in 2.7.0. Consider moment.min instead.
> min()
> NOTE: This function has been deprecated in 2.7.0. Consider moment.max instead.
5
 
7:03 PM
@Ghedipunk there are only two kinds of countries: those that have landed on the moon, and those that aren't idiots
 
...
 
@PeeHaa lol
 
@PeeHaa amazing
 
@bwoebi And the second is defined by the speed of light across a certain number of meters. Change your frame of reference and time itself changes.
 
@Ghedipunk and the meter is defined how then?
 
7:06 PM
@Ghedipunk I admit that scheduling appointments becomes somewhat challenging if you take into account relativity
6
 
By the amount of distance light covers per second. They're self-referential definitions that seem constant only at speeds where relativistic effects are minimal.
Easy way to think about the trade-off of the speed of light: you're always traveling at the speed of light in 4 dimensions, and the speed of light is one light second per second. (And water gets things wet, but sometimes tautologies need to be pointed out when getting definitions straight...)
Any acceleration you do along a spacial dimension steals from the distance you travel through time.
Thus, the faster you go, the slower time goes for you. Observers are unchanged.
 
@Ghedipunk It's not stealing it's infringement
 
copying, without intent to delete, then. Objects accelerating through space are all members of The Pirate Party.
 
@bwoebi btw, I totally foresaw that dmitry was going to be pissed about those changes ^^
 
Anyways, sorry, timezones got me on a soap box, which lead to another soap box...
 
7:13 PM
@NikiC well… you also can say something on IRC…
 
@bwoebi I'm starting to read the backlog now
I only saw the comment about you having joined ISIS until now
 
lol
 
7:30 PM
> PeeHaa committed in 2 hours
Timezones...
 
GitHub?
 
No I fucked up in my own project
 
why are you applying timezone offsets to relative times?
 
@PaulCrovella Because I like pain
 
I'm confident @PeeHaa will fix his bug in 5 hours ago
 
7:35 PM
@tereško "gals" and "lords" are synonyme?
 
@NikiC hehehe
 
@Sajad no
 
ah ok
 
Nobody says "lords"
 
@Sajad no, it's just the pairing is lords-ladies and guys-gals
 
7:36 PM
ah
 
@Sajad Gal is familiar, informal way to indicate a woman. Lord is a formal address for certain types of royalty, almost overwhelmingly male (the female equivalent is "lady" but lady can be used informally, depending on context).
 
@Ghedipunk ow, alright. good explanation, tnx
 
49 mins ago, by ircmaxell
nice podcast guys (and lady)
 
Neither are often used in modern slang in the US; especially "gal" which was common about 30 years ago.
 
I was just pointing out an inconsistency
 
7:40 PM
@Sajad Lorde is a gal...
 
@Machavity :D
 
@Machavity "lord" means God, right ?
 
@Sajad no
 
@Machavity ah, so ok ;-)
 
Lord is an appellation for a person or deity who has authority, control, or power over others; a master, chief, or ruler. The appellation can also denote certain persons who hold a title of the peerage in the United Kingdom, or are entitled to courtesy titles. The collective "Lords" can refer to a group or body of peers. == EtymologyEdit == According to the Oxford Dictionary of English, the etymology of the word can be traced back to the Old English word hlāford which originated from hlāfweard meaning "loaf-ward" or "bread keeper", reflecting the Germanic tribal custom of a chieftain providing...
 
7:41 PM
Lord is one of many titles for the Christian god, but outside of religious context, is assumed to be a royal human.
 
@Ghedipunk so why a "lord" is a "girl" ? (according to Machvity's comment)
 
"Lorde" is a proper noun there, a name.
 
ah
 
@Sajad Sorry. I forget you're not in the US. Lorde is a female singer
 
7:43 PM
@Sajad "Lorde" is a name of an artist musician
 
@Machavity Ah I got it
@tereško I see
@tereško what are you doing now?
 
listening to live youtube stream, drinking beer and eating pringles
 
ah ok, have fun :-)
 
btw, that book I gave you is a first in series of 6 (at least, currently)
that reminds me: @samayo did you start on "Lost Fleet" ?
 
@tereško OMG, really?! so I'm really rear
 
7:47 PM
"rear" ?
 
@Sajad "rear" == "far behind"?
 
@Ghedipunk yes yes
 
Anonymous
@tereško nope
 
@samayo boooooooo
 
Anonymous
why :)
 
7:49 PM
because it's good :P
 
@tereško "boooo" means "hoooff"
?
 
Anonymous
@tereško I know it's good, because I trust you. But, like I said .. I will only read it, in good times. The narrator's voice is ok btw
 
@samayo there are 11 books in that series
@Sajad it's what people shout then they disagree with a public speaker
"shouting off the stage"
 
ah
@tereško you always improve the google translate (via me) ;-)
 
Rear is an adjective or, in the absence of an explicit noun, a pronoun. You would say "the rear of the car" or just "the rear" if the subject were implicitly the car based on context.

Behind is a preposition, a direction. The rear of the car is behind the middle of the car.
 
Anonymous
7:53 PM
@tereško problem is, if I am stressed, nothing makes sense to me. I don't want to ruin a good book by reading it in a bad mood.
 
"rear" is also euphemism for "ass"
 
@tereško And it holds up for all 11 books?
@tereško "behind" :)
 
@Ghedipunk ah, tnx
 
Yes, the rear of the human is behind the middle of the human...
 
@tereško your mean of "ass" is an animal or booty?
 
7:54 PM
Booty. Buttocks.
 
Anonymous
hershey highway this is my fav. @Sajad
 
ah ok
 
Ah, what would the "ass" animal be?
 
Posterior. Rump. Butt. Ass is the vulgar form.
 
@NikiC Donkey (google.translate)
 
7:56 PM
@NikiC it's actually two separate series in same universe and with same characters. There was only one book which I found to be "slow", but it actually was a good context for final arc.
 
@Sajad ahhh
 
what application is usually used (popular) in the other countries? Whatsapp? Viber? Telegram?
 
Anonymous
Is the phproundtable.com owned by some of the roomies? Because, I would really love for room-11 to gather around and just talk about php and rebecca friday just once.
 
@samayo we try to make a yearly-ish google hangout
 
@samayo @SammyK hosts it
 
Anonymous
8:03 PM
@SammyK What say you?
 
But we don't need that
Just google hangouts
 
@samayo already in their archives phproundtable.com/episode/11-black
 
Anonymous
damn you :)
 
you were kinda begging for it
 
@PaulCrovella And the 11-black kinda made it obvious...
 
Anonymous
8:08 PM
also, I am on mobile, so I didn't check the link
 
Anonymous
But, I don't have/use google hangout. This means, there is a good use for Google+ afterall
 
google+ is the perfect antisocial network - superior platform with no one on it
 
@PaulCrovella You're just not following interesting people.
 
@samayo I listened to it for a while and it ended up going completely off-topic and nothing to do with PHP really so put it down
 
@Ghedipunk I'm not interested in people, so that makes sense.
 
8:15 PM
@PaulCrovella Not sure because you said so, but yes
God I cannot type anymore
 
@PaulCrovella Now that it's pointed out, yes.
 
@Sajad you're here 24 hours online ?
LOL
 
well... welcome, everyone, to my hell I guess. sorry 'bout that. who am I kidding
 
:P
 
Anonymous
@Jimbo Yeah, it makes sense. It would be cool though to hear some of the familiar people here talk.
 
8:18 PM
 
:-D
 
hahahahahahaha.
 
I guess I should have gotten there eons ago, but just now I got my first packagist valid package down- and auto-loaded with composer. feels somewhat good.
 
@NikiC I'm just a bit puzzled… Dmitry does all sort of weird optimizations and he complains when I do one…
 
8:26 PM
@FélixGagnon-Grenier \o/
 
Noice
 
@PaulCrovella haha, yeah
 
@bwoebi just managed to fix the bug, would you mind taking a look?
 
we could field such questions as "What day comes after Saturday?" and "Which seat can I take?"
...I'm signing us up.
 
8:40 PM
@marcio where? I see no php-src commit?
 
@bwoebi oh I don't have zend karma, see github.com/php/php-src/pull/1552/files
 
@marcio looks fine, but why do you copy and release right after it?
 
oops, it shouldn't have been copied.
 
hah, Nikita made the same comment^^
@marcio you just can pass the child[2] directly to the declare_prop_ex() call
why that conditional there?
 
@bwoebi just pushed again, he wants me to use zend_ast_create_zval_from_str
 
8:48 PM
Little database logic question here, it's not really language related.

I have a Cookie table, and each cookie has a foreign key referencing a flavor from the Flavors table. I also have a FlavorNames table, which has three fields: flavor_id, language_code, name.

Is it horrible if the actual Flavors table doesn't have anything else than a numeric primary key?
 
… ah. in parser. @marcio … yeah, doesn't really matter, but okay.
 
@JacqueGoupil Yes
It means the table is useless
 
If you have a rainbow table, don't put your flavors in it. It's not good to taste the rainbow.
 
lol
 
(Ignore me, I'm not helpful right now.)
 
8:49 PM
What about double rainbow tables?
 
Haha :)
 
@JacqueGoupil I think you could just use a composite key
 
@PeeHaa Made of what?
 
it's when you get to many-to-many rainbowlations that it gets really strange @Ghedipunk
 
@JacqueGoupil id+lang?
 
8:51 PM
I know that the table is technically useless, but then there's no way to make an auto-incrementing index or foreign key constraints.
 
ah I see now
 
dogs...
 
Haha, never thought I'd start a trend about rainbows with my cookie example.
 
8:53 PM
Why not have a canonical name for the flavor in your flavors table, then a separate translation table?
 
That kinda makes sense
 
Mmm, I guess that's a way to make sure there's always a default name in case the translation isn't found.
 
@Nabi no ;-) just 12 AM until 12 PM
 
Oh shoot, is it that time already! Got to go, thanks for the ideas and rainbows!
 
later @JacqueGoupil
 
8:59 PM
Idea for a father's day present for my dad, who is an information security guy... Custom built desk for his workstation painted with the full spectrum (including just a clear acrylic glaze at the ends for the IR and UV ends). I'll call it a rainbow table.
That way, when he's slinging his "leet haxor skillz" (his words, not mine. Yes, he's in his 60's), he can have a rainbow table for every occasion.
 
make sure to wire it with a hidden microphone and rogue access point
 
=
nevermind, just me playing with my new chromebook
 
Ah Anthony got a new toy :-P
 
:-D
 
@PaulCrovella a little bit
 
Anonymous
9:08 PM
I'm pretty sure I was told to never buy a chrome book, when asking for advice on a new laptop. Has anything changed? because chromebooks are way more affordable
 
chromebooks are great, but they're not a substitute for laptops
 
Don't expect great things from them... but they're not just dumb toys.
 
speaking of which, I really need to get around to soldering on this new power jack for mine.. I've had it laying here for months now
 
Anonymous
Hm, all I wanted and think about is dell xps13 but they are way too expensive imho
 
[-oo] <-- tie bomber operator. For when you want to execute the HCF operation.
 
9:16 PM
⦅oo⦆
 
@PaulCrovella I'm running Ubuntu on it
 
the one I've got has enough trouble just running chrome on it... not gonna get adventurous here
 
ThW
@samayo well, here is surface book now, too :P
 
@PaulCrovella which one do you have?
 
Anonymous
I'm ITechnically illitrate to take surface book seriously @Sajad
 
9:22 PM
@ircmaxell the first one they gave out at I/O... plastic samsung thing
 
Ah, so not a pixel
 
very much not a pixel
 
yeah, I got a pixel 2
 
I can finally look forward to changing my WP...
 
@samayo what are you talking about?
 
9:27 PM
How can I get ROOT directory from any directory on project?
 
Anonymous
@tereško I don't know enough about computers and hardware to make a conscious approval, that a tablet-lookalike thing compares to a laptop in performance.
 
Anonymous
So, I'll judge it on face value
 
"/"

BUT... this is non-portable solution, especially in the world of chroot jails. Only use it if you have absolute and full control of your servers.
 
@AjmeraInfo use realpath(dirname(__DIR__)."/../") or similar in a known location in the project.
/oh and define what you mean by root dir.
 
@AjmeraInfo theoretically you could use $_SERVER['DOCUMENT_ROOT'] but you shouldn't access superglobals directly outside of bootstrap file
 
9:31 PM
@tereško The document root isn't the root. The root is the root. If he wants to ask terrible questions, that's his problem.
 
I tried but it's not working when I go inner directory
 
ThW
@samayo not surface pro, surface book. MS just announced it today. It is very much a laptop.
 
realpath('.') or dirname( FILE ) working fine but they give me different directories on child directories.
 
@AjmeraInfo Yes, and that is the correct behavior. What is your problem?
 
@Ghedipunk I assume he's talking about document root, because using php to access stuff from / is a really bad sign
 
9:33 PM
@ThW it detaches from the keyboard just like a tablet would... I guess that's the source of the confusion
 
I want to define like define('ROOT_DIR', realpath('.'));
and want to access ROOT_DIR from everywhere
 
Well, putting "ROOT" in all caps when talking about a project's working directory usually means that they need a bit of hard lessons in filesystem jargon.
 
function getProjectRoot() {
return realpath(dirname(__DIR__)."/../");
}
 
ThW
@iroegbu possible, but in terms of power?
 
Anonymous
@Sajad I didn't know that.
 
9:36 PM
@AjmeraInfo Does your project have one single front controller? I.e., an index.php file with an .htaccess file that uses mod_rewrite to define your requests?
 
Not sure if it's good practice or not, but I put mine in $_SERVER['ROOT_PATH'] using either .htaccess or nginx fastcgi_params @AjmeraInfo
 
@ThW it actually is a laptop, GPU and all... just the detachment part is the basis on which some people will refer to it as a tablet... I don't want it though, I'll just change my phone and consider the Surface pro 4
 
@Danack it's not working. still same problem
 
"It's not working" - it stays at home playing xbox and eating doritos?
 
ThW
@iroegbu same here. I use the sp3 now and I like the form factor
 
9:39 PM
@Danack means it has same problem like it show different directory when I execute code from child directory :)
 
ThW
might go for the maxed out sp4
 
@AjmeraInfo put that function in one file in a known place in your project. And then include the PHP file that contains that function, wherever you want to be able to call that function.
 
@Danack did same thing. but still same problem
 
@ThW maxed? How much do reckon that will be?
 
@Danack Thank you. I change little bit your code and working great. :)
function getProjectRoot() {
return realpath(__DIR__);
}
 
Anonymous
9:44 PM
@ThW any idea when it'll be available for sale?
 
ThW
full would be $2,699.00, $2,199.00 with the 512gb ssd
 
that's way too much for me! I could get an alienware with that
 
ThW
@iroegbu yeah but compare the specs
 
Anonymous
With that much green, it should last me for atleast 5 years with optimal performance.
 
9:52 PM
here is a quick guideline for buying Alienware PCs: DON'T
 
Oh? I was seriously considering that... Why, please?
 
overpriced, poor build quality
 
Dell has the absolute worst customer service of every single manufacturer. They're to PCs what Comcast is to cable TV service.
 
I don't know about customer support, but they are pain in the ass to clean
 
Alienware used to be a great brand, but Dell bought it and they immediately started churning out sub-quality crap.
 
Anonymous
9:55 PM
I think Alienware has a poor battery life, and heavy as hell. Not suited for mobile use at all imo
 
I don't mind weight... I'm bothered about the "poor build quality"
If it can stay on for 2hrs it's good enough... I would have opted for desktop, but developing country power supply :(
 
Dell bought a brand name, and stopped selling product for that actual brand. It would be like if WalMart bought out Macey's and just put WalMart inventory inside.
 
@iroegbu invest in a PSU :)
you can get a small one for $30
 
Anonymous
@iroegbu Why even Alienware? +gaming?
 
I have constant power where I am now... but I'm thinking "what if I leave?"
@samayo, yes gaming
 
10:00 PM
seriously, a good PSU would solve that problem
 
I leave off investing in a new computer for now though... I'll just change phone and wait for Surface 4 if that ever comes (or just get lowest pro 4).
 
hell, just an extension cord with surge protection might even solve it for you
 
In addition to a good PSU, a UPS would also be required.
 
FUCK
I ment "UPS"
 
I have surge protection... what I need is PSU
 
10:01 PM
Added bonus is the line conditioning of the UPS would help save the PSU...
 
UPS
 
what's the difference -> Power Supply Unit vs UPS?
 
UPS is a temp-battery
that's what you need
how the fuck did I manage to confuse the two ?!?
 
PSU is what converts normal house power into something usable by the individual components. UPS is Uninterrupted Power Supply, a battery back-up that could keep your system powered... Cheap units typically give you enough time to power down safely (very important). Some can give you a few hours of uptime.
 
^ that
 
10:04 PM
hmmmm... hang on, what would you call the batteries and inverter that comes with those solar power systems?
that's minus the solar panels
 
If the batteries and inverters are also connected to the grid power, then they qualify as a UPS.
 
oh... PSU is like "step-down transformer" or "AC-DC converter"?
 
yes, kinda
8 mins ago, by tereško
@iroegbu invest in a PSU :)
 
okay... I used to have a UPS (batteries and inverter), I'll get one if I have to leave where I live at the moment... Then I'll get a desktop.
 
I meant UPS
 
10:07 PM
Maybe build even
 
that's too much of an effort
 
All computers have a PSU, sometimes sold with the case. Most people don't think of them as an individual component unless they build their systems from parts.
 
@tereško too much? why?
 
@iroegbu because it require some skills in electronics
also a proper UPS performs a safe shutdown of your system
 
Everybody knows that the moment you actually need ups the battery fails on you :P
 
10:09 PM
oh... I think I can handle it (with some guidance though). I know I'll get more value for money building instead of buying...
 
@iroegbu do you mean building the computer or building the UPS
 
My previous UPS could stay the whole day if I don't plug my fridge
@tereško mean computer
 
Honestly, I'd rather trust a home built battery array + inverter in a third world country over a factory built UPS, because the people who build them know the problems with the local power... Wouldn't want an over-voltage to kill a UPS that would be laughed off by the local systems.
 
I can handle UPS - done it before
 
@iroegbu well, if your IQ is above room temperature, then you definetly should be building your own computer
 
ThW
10:12 PM
lol the top model surface book is out of stock.
 
Already?
 
^ found this old gem
 
10:29 PM
You're an mineralogy artist
 
Is there a git command to get all branches from my bare repo?
I have repo A which pushed new branches to my bare repo B (git branch -a confirms repo B has indeed all new branches). Now I want to get all branches in repo C. I tried git fetch --all, git pull --all, git fetch origin but all seem to result in:
* master
  remotes/origin/master
  remotes/origin/test
  remotes/origin/test2
  remotes/origin/test3
 
have you tried to teh googlez result - stackoverflow.com/a/10312587/778719
 
Saw that, but I assumed git would provide an actual sane way to do it
 
git. sane.
 
Yeah... sorry
 
11:01 PM
Someone with more rep than I... I flagged this as too broad several hours ago... It's typically been my experience that when I flag things, they're typically dealt with within at most an hour. Any reason why this is still open? (Do I need my definition of "too broad" updated?) stackoverflow.com/questions/32951791/web-socket-listen-in-php
Or is there a backlog and I just need to be more patient?
 
Anonymous
11:14 PM
@Ghedipunk I am not sure what you mean by "flagged", because that is usually reserved for spams, vandalism and such
 
Anonymous
But, I cast the last vote, the the q is now closed.
 
Thanks, and by flag, I mean that since I'm a lowbie and can't directly cast votes to close, clicking on the flag link gives me the option to put the question into a review queue based on it being too broad, among other reasons.
I guess I should start caring about points, so that I don't have to depend on others to close questions, eh? ;-)
 
Hi all, I want to encrypt a value I'm saving to a cookie via php so that the user never actually has sensitive information that can be stolen in plain text on their local machine. Which encryption library would you suggest? I don't want to make the mistake of trying to write my own. Thank you!
 
Anonymous
Oh, in that case the queue will be reviewed by +20K members and moderators. As you said, it is given priority above the rest and hence dealt with asap. You should check your flag history for the status. @Ghedipunk
 
@Porlune keep that information on the server and just use an ID in the cookie.
 
11:26 PM
Not possible in this instance, as it's used for state tracking.
 
i.e. just keep track of who the user is, rather than trying to keep info encrypted.
 
I need to secure a remember me feature using this same technique.
The id's are generated as session id's so that a users real system id is never sent over a network.
So, which AES256 library do ya'll like? :D
 
desoldering is enough of a pain in the ass that I should take the time to become competent at it, but won't
have to say, that was not my best work - but the chromebook lives again at least
minus 2 screws I had to dremel out, but fuck them they were no good anyway
 
to desolder use wire mesh and a desoldering pump.
 
so that's what @bwoebi looks like
now I know
 
11:30 PM
what did you solder in Paul?
 
@Porlune I did it the hard way, ribbon and iron
new power connector
 
OH MY GOD I HEARD NIKITA'S VOICE
WHAT IS THIS SORCERY
also why are all the PHP contributors German
 
fun
Germans do it better.
:D
 
I'm not German, but I speak it
 
Anyone have a favorite AES library?
 
11:32 PM
I could probably pick a fight in german - it's all I know how to do in a number of languages
 
"C is a simple language. It's not C++, so it's fine."
:D
 
sara stole the show, poor bob didn't really have a chance
 

« first day (1816 days earlier)      last day (3129 days later) »