« first day (1888 days earlier)      last day (3076 days later) » 

4:00 PM
youtube.com/watch?v=7vbfgqL4ChM awesome laser show, annoying mc
 
@Neil they found the D-boson, long speculated, never observed before now. Not surprisingly they found it in @KendallFreys mom
 
@rlemon aka your particle penis?
 
visible with an electron microscope is still visible!
 
@ton.yeung I bought a better theme for the portfolio site I made for my GF: jaral.in
 
4:03 PM
@rlemon imgur.com/gallery/txp5l savage af
 
@ton.yeung it's not responsive :/
 
@SterlingArcher #rekt
 
@phenomnomnominal i.imgur.com/Kcy6cQk.jpg
Semi-relevant
 
@SterlingArcher Why does he have a box of Visual Basic?
 
Victoria Bitter (VB) is a lager produced by Carlton & United Breweries, a subsidiary of Foster's Group in Melbourne, Victoria. It was first brewed by Thomas Aitken at Victoria Brewery in 1854. It is one of the highest selling beers in Australia. == History == The origins of Victoria Bitter date back to Victoria Brewery founder & head brewer Thomas Aitken, who developed the recipe in 1854. The beer began to gain wide popularity in the mid 1960s with an innovative television advertising campaign featuring a very similar recording of the theme from the film The Magnificent Seven, images of working...
 
4:08 PM
Seems decent; and owned by Fosters, which I like
 
The beer or the children?
im sorry
 
crl
Is it a good idea ot call ReactDOM.render dynamically? the idea is to render a menu on the certain container and show it's properties in the sidebar when you click on an element on the page (CMS). alternative may be to pass the Menu component in props to all Elements
 
VB is pretty good
 
vb is awful.
 
4:09 PM
@crl no, it is not.
 
crl
thanks ok
but I need to interact with it
 
Just put the menu component in places it's relevant, you can import it, don't pass it, pass its state
It's just state
 
crl
yes but an element is completely independant, I don't have a global Component that manage the whole state, that's maybe a mistake
 
@BenjaminGruenbaum I mean... for a domestic lager, it's ok. It's better than PBR for example
 
crl
yes state, ok, I could have a global object that each actor access and modify :s?
 
4:12 PM
everything is domestic somewhere
 
Is anyone here good in math? I can't get my head around this...
 
@towc ^
 
crl
..
 
@Codeman lol
 
@JacqueGoupil riddle me
 
4:13 PM
oh shit I wandered into usersub again
 
@JacqueGoupil sup?
 
ben is far better btw
 
I just know different stuff.
 
I can do addition
 
crl
Do you know the jacobian Matrix?
 
4:14 PM
@crl god, that takes me back to calc 3
 
crl
and the Vandermonde determinant? :p
 
My application is a clone of Visio made with the HTML5 canvas. There's a value called pixelsPerUnit which determines by how much the values must be multiplied to draw on the canvas
 
@crl yes of course.
@crl yes..
 
crl
yes fun things, hehe
 
4:15 PM
So it you increase pixelsPerUnit from 1 to 2, it doubles the size of everything. If you set it from 2 to 6, it triples it, etc.
 
The only calculus I took was business calc
 
crl
Flux is just a global state object right, somehow, or not at all?
 
@crl In a sense, yeah. Flux/Redux is just a global store
 
!!tell JacqueGoupil mdn ctx.scale
 
crl
ok
 
@SterlingArcher Uh, that's front page....since last night.
 
Not so fast, haha :) I've got that working, now I want to make a zoom slider (out of a range input) that allows a linear zoom, not exponential.
 
!!tell JacqueGoupil google logarithmic scale
 
@ton.yeung yeah I need to get some non-B&W pics up
 
crl
4:18 PM
if x is in [x0, x1] and you want to scale it to [y0,y1] you do y0+(x-x0)/(x1-x0)*(y1-y0)
 
user image
6
Son of a bitch
 
@ton.yeung yeah, here's the demo of the theme: themeforest.net/item/artee-portfolio-ghost-theme/…
 
@SterlingArcher Oh god x)
 
ew
SELECT *
santa is a pleb
 
You'd think santa would use a join... what sort of singel table contacts file this guy running?
TIL Santa is a shitty DBA
 
4:20 PM
I've been storing data in data-* attributes, and then accessing via js through dataset. Still doesn't feel very secure though. I should probably make variables/objects that store it and then just give an id of the HTML element or something?
@SterlingArcher lol at that picture
 
@SterlingArcher he's probably using mysql_*
 
He's as deprecated as christmas
 
$:/var/www/tmp$ sudo gunzip -dc < tmp.gz > result
-bash: result: Permission denied
what the f*ck?
 
Christmas is not deprecated, jerk
 
Tell that to SJWs
 
4:22 PM
@SterlingArcher Yea, it's cool, but that query is fucking brutal.
 
SJWs can burn in syria
 
!!urban sjw
 
@Neoares SJW Social Justice Warrior. A pejorative term for an individual who repeatedly and vehemently engages in arguments on social justice on the Internet, often in a shallow or not well-thought-out way, for the purpose of raising their own personal reputation. A social justice warrior, or SJW, does not necessarily strongly believe all that they say, or even care about the groups they are fighting on behalf of. They ty(snip)
 
Last year I got yelled at (I'm jewish) for telling somebody merry christmas on christmas eve
 
@SterlingArcher It's probably one of the elves that got dropped on his head.
 
4:22 PM
btw guys, I've been learning how to use gdb in the terminal :D it's so awesome
 
lol; you need to be more PC, jorjor
 
@SterlingArcher Wait wait wait, you're Jewish?
 
it's like a whole new world
 
Born and raised -- not religious however.
 
Thank you SOOOOOO much for the early Christmas present.
 
4:23 PM
Bar Mitzvah'd, confirmed, just don't believe in organized religion
 
since now, christmas images are NSFW
 
happy non denominational generic winter season celebration ceremonies everyone!!
 
the same to you :D
 
SELECT * FROM SolarSystem WHERE nickname = 'sun';
:)
You can't say that's not a pretty SELECT *
 
It's a Festivus for the rest of us!
 
4:27 PM
why ubuntu keeps saying permission denied if I'm using the fucking SUDO!
Q_Q
@SterlingArcher do you have some food restrictions?
PS: I'm an ignorant, I know
 
Nope I eat whatever the fuck I want
 
awesome
 
My grandmother is kosher as fuck though
 
@ton.yeung not sure, I'm surprising her with it as a xmas present
so I'm trying to make it as good as I can and then letting her tweak it
 
She won't touch anything that had a split hoof
 
4:28 PM
@Neoares > sudo tee result
 
god, that episode. I forget why there's a homeless man sitting behind them. was that Elaine's date or something?
 
@Neoares Perhaps you're trying to use a file that doesn't allow even sudo to do whatever on it?
 
@Neoares sudo is lost after the redirection
 
I love Seinfeld
Such good clean humor
 
@FlorianMargaine Ah probably that
 
4:30 PM
@JacqueGoupil s/probably/absolutely/
 
I had to use sudo -i and then use the gunzip
 
@ton.yeung cool :) thanks. I am sure she will want to change it up. There's options to categorize by medium and such
 
zcat tmp.gz > sudo tee -a result
 
Christmas idea!
 
oh I see
 
4:31 PM
Just use su and enjoy the accidents :)
 
tee is the second most wonderful thing in nix ever
 
relevant
I AM THE ONE WHO SUDOS
My god the coffee is strong today I apologize.
 
stay calm and lose the game
 
crl
!!define tee
 
@crl tee T-shirt - casual wear for all ages.
@crl tee The name of the Latin-script letter T/t.
 
4:33 PM
@ton.yeung she's computer literate, yes
xmas gift will be the portfolio website, a Wacom tab and an Adobe CC subscription. Get her art career jump started
 
crl
> abobe
 
@crl tee is a coreutils' command
 
crl
I know just trying to see the meaning (origin of name)
 
@ton.yeung the intuos art Wacom
the entry level one, but it still seems pretty good
yeah?
ah well, she can get a better one if she ends up loving digital art
 
my star wars message has disappeared from the star board. I'll make a new one and pin it again. If it gets unpinned again, I'll flip a shit
 
4:40 PM
oi
 
Guys, NaN can be an object key. strange.
!!> var a = {}; a[NaN] = 1; console.log(JSON.stringify(a));
 
@ndugger "undefined" Logged: [object Object]
 
cap pls
 
@ndugger "undefined" Logged: {\"NaN\":1}
 
crl
!!> var o={undefined:0}; JSON.stringify(o)
 
4:41 PM
@crl "{\"undefined\":0}"
 
that's bizarre
javascript pls
 
crl
it's the stringified version
 
@ton.yeung yeah she is quite good with mixed media. Never done digital though
 
crl
'NaN' not NaN
like for numbers
 
!!> var a = { NaN: 1 }; a[NaN]
 
4:43 PM
@ndugger 1
 
this one has the "pencil on paper" feel to it.
I have an OG Nexus 7, that's it
 
Dumb mistake, nvm. Put it as a class method instead of instance method
 
:)
 
http.STATUS_CODES[NaN] = 'Whoever made this website is bad at programming'
 
@ton.yeung I wanted to get a nexus 10 but never did, lol
yeah. I don't really, I like dead tree edition books.
but if I ever get a Pixel I'll remember that :)
 
4:49 PM
The Surface Book is a 2-in-1 detachable designed and produced by Microsoft, part of the company's Surface line of personal computing devices. Surface Book is distinguished from other Surface devices primarily by its detachable keyboard, which uses a dynamic fulcrum hinge that expands when folding open the notebook. The keyboard contains a second battery, a number of ports and an optional discrete graphics card used when the screen, also known as the clipboard, is docked to it. Contrary to Surface Pro devices, which are marketed as tablets by Microsoft, the Surface Book is marketed as a laptop,...
 
Surface maybe. Still pretty expensive and idk if I'll use it much.
I don't get a very big hardware discount, you know
for hardware, a small one. nothing to get excited about.
I get a huge software discount
lol, office is $40 for Home and Student if I wanna buy it. But I get it for free through MSDN anyways
yea thru MSDN I'm sure
this is for a retail copy
 
I don't use office
 
I can get most Xbox games for $5 though
 
@FlorianMargaine that's because you frenchmen spend so much time on holiday
 
@ton.yeung yes, remote in a company of 20 people
 
4:52 PM
I can get a 360 bundle for $349, and xbox live gold is $20/year, which is nice
 
@ssube don't you guys get 4 months of paternity leave?
 
@FlorianMargaine 20 weeks parental here
 
@FlorianMargaine we can't even spell paternity here
 
and sometimes 6-8 weeks of vacation?
 
and no, americans don't get paternity leave
I get... 4 or 5 weeks of vacation a year
 
4:53 PM
@ssube I have 5 weeks too.
 
which will go up to 6 or so when I've been working here for 4 years, iirc
 
I have none! \o/
Loopholes~
 
I can buy retail copies of Windows 10 for $25 which is neat
 
tomorrow is my last work day for the year
off from the 19th to the 3rd, which will be sweet
 
@ton.yeung $35
@ton.yeung it's a retail copy
benefits of a big company
 
4:59 PM
Has the main SO page gotten a lot more targeted based on your tags, recently?
I feel like I used to see a wide variety of questions, and now I mostly just see questions relating to other questions I've answered.
 
@ssube nice :)
I was off today, and will be off on the 28th and 31st
+ 1st of january is bank holiday
as well as 25th dec
 
@ssube Ditto. It's like having school holidays again...
 
crl
is propTypes really useful in reactjs? what's the usecase? it's not even for validating things in state
I mean, props are passed with right types if you're not drunk
 
Is anyone here a member of CodeWars?
 
We have the 24th, 25th, and 1st as actual holidays. I just took the in-between days.
 
5:04 PM
www.codewars.com/r/hFSZoA
 
Means I can get 16 days in a row off while only taking 7 days of PTO.
 
PTO = paid... ?
 
paid time off, yep
 
ah, "time off" :)
 
Generally PTO is a combination of vacation time and sick time.
 
5:05 PM
my company doesn't split sick time and regular time off
 
ah, yeah
 
we just have a pool of paid time off and every pay period (two weeks) adds N/24 of your annual amount
 
sick time is not related to vacation time in France
 
which for me is 170 hours or something
so I could take a day every 2 weeks, or, I can take two weeks at the end of the year and random bits throughout
 
yeah, similar to france there
except it's only vacation time
sick time is outside of that
and it's actually paid by healthcare, not by the company
 
5:07 PM
that's clever
 
(every time you take sick time, the first 3 days aren't paid though)
 
if you're really sick, we have a number of insurances
 
crl
O yes jsfiddle.net/crl/6a13gabd/10 (< btw @Loktar that's how I 'bind' events now)
 
if you have to be out for a month or more, there's an insurance that kicks in and pays 60% of your salary or something
 
my thumb got a big cut :( It almost feels like a hole
 
5:08 PM
@crl in componentDidMount?
 
@asr
 
crl
yes and with a lambda for avoiding bind
 
@ssube yeah, healthcare does something similar as soon as you take sick time (except the first 3 days)
but it's national healthcare though
 
eh I don't see the reason to bind them all in componentDidMount
 
so... everybody pays for it in taxes
 
5:09 PM
yeah yeah, you kids and your civilized countries
one day we'll catch up
 
you lose out on reacts event pooling doing it that way. I mean I see the need to do that if you need to work outside of react
 
I don't think so :)
 
if we just sold all our guns and used it to pay for healthcare, we'd have no problems at all
 
And one day we will try to catch up
 
but otherwise that seems like a bad practice if you're working within react imo
 
crl
5:10 PM
@Loktar it's equivalent, it's to 'lighten' my render templates that are resused many times (many types of components for a CMS)
@Loktar the lambda make it lose pooling?
 
@ssube hehehe
 
crl
only if the lambda is in render
 
no talking about adding the event listener within componentDidMount
 
crl
ah ok, I'll see if I can do otherwise, but it's heavy in render, (will try a destructring)
 
crl
5:12 PM
ok thanks
ah putting a sub-function will do, since the events are in an overlay inside the component, thanks Lok.tar
 
haha
 
I'm speechless
 
crl
they want to reach the next roof maybe :) and have no ladder and suck at climbing
 
Jesus
Actually, they'll be seeing Jesus soon enough
 
5:22 PM
in PHP, yesterday, by DaveRandom
user image
 
Most accurate description of PHP ^ 5/7
 
I've made more impressive things with my bum
 
@FlorianMargaine gimme a list of things to make with a compiled language (rust)
 
@AwalGarg a png reader/optimizer, a video player
 
Just spent $350 on my father's christmas gifts... That's almost twice of what I spent on my mother. I need to get her another thing, then
 
5:25 PM
Start by getting her a better son
im sorry
 
:'(
 
@FlorianMargaine no :( some developer tool like thingy
 
dont cry pls
 
i'm gonna tell on you
 
@AwalGarg a screenshotter
 
5:25 PM
@MadaraUchiha jordan said I was a bad son :(
 
@FlorianMargaine that's better. I still have 2 days to decide on, so ping me if you think of something cooler. If not, I'll go with that.
 
@AwalGarg a screenshotter that lets you draw an arrow
 
-_-
@FlorianMargaine you know very well how bitchy it is to write over main screen with current DMs :P
if conky devs can't do it right, I can't either :P
 
you could take a screenshot, open it in some GUI, let me draw the arrow, then immediately close the GUI
 
5:28 PM
@SterlingArcher Mmm, anyone else smell burning flesh from that burn?
 
you clearly lack imagination
 
@FlorianMargaine me?
 
no, the Pope
yes you, who else am I talking to
 
I am the pope
 
@FlorianMargaine >:( opening and closing stuff like that sounds very hacky
 
5:31 PM
@AwalGarg fine
 
@FlorianMargaine ..snipping tool?
 
@FlorianMargaine I know I know!!!!
reimplementing coreutils stuff in rust!
 
"'Anyone need MS Office on their laptop?' Rol asked the party. They later vowed never to bring an Installation Wizard on adventures again."
 
@rlemon @Loktar @BenFortune @GNi33 youtube.com/watch?v=_YdcQIKScEk
Mother of god.
I forgot about how good he was
 
9
A: Why are wizard dialogs called "wizards"?

Laurence GonsalvesMy impression is that it's related to the meaning of wizard that's similar to "expert". A UI wizard is like a (very simple) expert system. The wizard/"expert" asks you a series of questions to figure out what you want, and then they use their "expertise" to generate a result.

 
5:39 PM
Ok, for a start, I will rewrite less in rust, then move on to coreutils and friends as I get the hang of it.
 
I don't know why I laughed
 
@AwalGarg you can start with /bin/true
 
lol
@FlorianMargaine github.com/uutils/coreutils >:(
 
@AwalGarg another one is /bin/yes
 
they have a big TODO section though, I am probably gonna help out at that, then
 
i love kids faceplanting
inb4 s/*/*/
 
Well at least she caught herself
 
r/fatpeoplefalling
 
@AwalGarg something I'm not sure is technically possible... find the php version of a running fpm process
you can't just look at the files since you may have upgraded since then
 
5:51 PM
8
 
@FlorianMargaine IIRC FPM lets you enable a "stats" endpoint where you send a CGI request and get lots of info. That info includes php version as well.
 
crl
!!mdn mixin
 
so... that would work?
 
so you have to hook up the actual process and check it out. /proc/$pid/ may have some info too
 
crl
5:52 PM
jsx.github.io/examples/shooting/shooting.jsx mixin? (mixin Sprite {...} )
 
@AwalGarg let's say it's not enabled :)
 
ok :/
 
@AwalGarg or nodejs version if you prefer
 
I'm bored
 
Nudes?
 
5:55 PM
yes
 
crl
What does github.com/jsx/JSX have to do with react's jsx? nuffing I guess
 
@FlorianMargaine proc doesn't seem to contain anything useful except for the usual symbolic link to the binary, which as you said could be changed
 
@AwalGarg yes, but if you move it, it still shows the binary name
so it keeps that information somewhere
and the process is still in RAM
 
if you run phpinfo(), you'll get the info, so the information exists somewhere in ram
as I said, I don't know if it's technically possible
 
5:58 PM
@FlorianMargaine so we inspect the RAM? can't we just enable that endpoint dynamically somehow?
 
sweat to god im gonna rip my ear off one day from snagging a headphone cable...
 
@rlemon most bored murderer ever
> sweat to god
 
enable endpoint -> send request -> get info -> close endpoint
 
@Codeman love ity
 
5:59 PM
@AwalGarg maybe :)
 
Enough to hurt you, not enough to ruin your day
 
@FlorianMargaine any specific usecase or just brainstorming?
 
@AwalGarg a security vulnerability was disclosed, we want to know if the running version is patched
 

« first day (1888 days earlier)      last day (3076 days later) »