« first day (1696 days earlier)      last day (3258 days later) » 

5:00 PM
didn't know you were dual
 
yeap
 
that is terrible
(not you, the bill)
 
tbf, so is the bias in that article
 
I signed the petition. it is bullshit.
actually makes me a little angry because as a native I accept Canada is multi=cultural and therefore I shouldn't be angry about the past.
but this is just tossing all of that to the wind.
 
toss it all to the winds of canada
 
5:09 PM
page won't load for me
holy fuck they signed the bill for "anti terror"
yes, because if we just ship out all arabs, that'll solve all of our problems, amirite?
/angry
 
@KendallFrey So could Ted Cruz!
also, g'morning and stuff
 
@SomeKittens If they can kick out Bieber, it'll all be worth it.
@Cereal I'll just have a coke, then.
 
I.. I don't get it
 
new OSX, big surprise. yay.
 
5:14 PM
I haven't seen boondock saints in years
 
wow safari, we can pin tabs. so revolutionary
 
So if you type facebookc.om instead of facebook.com, you get a shit ton of alerts and and shit trynig to give you viruses
 
wow safari, we can mute tabs.
 
I didn't know that was legal
 
wow osx el capitan much search
 
5:17 PM
Mind upvoting "Show HN: InMailFail"? news.ycombinator.com/newest (my weekend project)
 
@NickDugger I thought you were joking about it being called el capitan
 
@Cereal noperino
 
@rlemon Cool! Where'd you put it?
 
just tweaking it a bit then I'll post a gist
 
I was irritated that you have to watch the apple stream on a mac, but you can watch it in VLC on a pc
 
5:18 PM
you can watch anything in vlc
I watch twitch streams in vlc to get around pay walls
 
@Shmiddty group effort, clean up this:
if( !node[0] || !node[0].target ) return;
var title = node[0].target.textContent;
if( !/^\((.*)\)/.test(title) ) { // no () reset and move on.
    el.href = img.src;
}
var parts = title.match(/^\((.*)\)/);
if( !parts || !parts[1] ) return;
 
wow osx you now have window docking like in windows 7
quality
 
Man I don't even need to watch it with you here
I can't believe they called it el capitan..
 
@NickDugger I'm getting back into it still
 
@php_purest If you really want to get back into it, don't use php
 
5:21 PM
use what then?
 
C# is a good one
 
why is php bad?
 
I vote ruby
 
@php_purest inconsistent/ugly naming conventions, lots of "what, why!?"'s, breeding ground for shit, among other things.
You can do a google search for more
 
Didn't we agree not to shit talk other languages here?
 
5:23 PM
except for php
 
Yes, because lifehacker is such an authority
 
Still voting ruby
It'll make you feel all warm and fuzzy inside
 
lifehacker is?
 
@Shmiddty gist.github.com/rlemon/0c0485b12d97450793c8 overlays favicon and replace title with room number.
 
5:25 PM
@php_purest no
This is a good read
 
javascript is the worst one of all
you may, or may not have access to things when they're there
 
@Cereal no
 
Nobody said that javascript isn't bad
but I implore you to find an alternative scripting language for the browser
please
 
@NickDugger it's a tease
 
There is no real alternative to JS i the browser. There are many, better, alternatives to PHP on the server
 
5:27 PM
You can script the browser with php? o.O
 
Javascript is wonderful for beginners because there is almost zero setup to be able to code JavaScript
if you have a browser you have your interpreter.
 
@rlemon Also doing things wrong happens to work out most of the time
 
you get immediate feedback
you don't need to write 100 lines of fluff to display "hello world"
 
@NickDugger a runtime with known security holes is enough reason to avoid it, by itself.
The naming problems are just shit-parsley on a bowl of shit-soup.
 
is it the best language? Hell no! is it (imo) wonderful for beginners? hell yes!
 
5:29 PM
more like phpoop
 
in php there's only 2 lines neccessary
 
in php there is 11 functions that do the same thing. 4 are deprecated but never removed, 3 have security holes, and only 2 are actually recommended... but good luck finding those recommendations :P
 
posted on June 08, 2015 by Alex R. Young

Array Future Kiko Beats sent in array-future (GitHub: Kikobeats/array-future, License: MIT, npm: array-future), a module that collects together several ES7 proposals for instance methods on Array: require('array-future'); [1, 2, 3].average(); // 2 [1, 2, 3].first(); // 1 [1, 2, 3].shuffle(); // [ 2, 3, 1 ] [1, 2, 3].includes(

 
i like the naming conventions, snce it's almost always $*
 
$what_is_love = _baby_DontHurt__me("no more")
you like the broken naming conventions?
good lord
 
5:30 PM
@NickDugger hang on, CVE-123456789 changed that to _baby__Don\'tHurt_meno('more')
 
that was a function
 
you're a function
 
and you vorgot the ;
a bad one?
 
if you're php, then yes, a bad one
 
If your mom was a function, she would be Promise.prototype.spread
 
5:31 PM
@ssube you should be using the Baby_DoNotHurt_SaidPerson_NoMore(PERSON_ME) alias
 
Question
 
@rlemon but the docs for that one just say "STUB"
 
Why is it using snake case and caps
 
PHP
 
because php is bad
 
5:32 PM
and inconsistent snaking for that matter
 
because PHP actually does that
there is no consistent naming scheme in the standard library
 
Like in built-ins?
Oh dear
 
JS naming might suck, but it is for the most part consistent.
 
What's that HTML5 function that allows you to send a request to a server without caring about a response?
 
My main gripe with php is the terrible naming conventions... snake cased, camel cased, weird names (like strlen)... It just has no consistency, and is less than memorable
 
5:33 PM
you can use any case type in php
 
@WilsonSilva XMLHttpRequest object without a onload?
 
I already linked to it
 
@NickDugger these functions are actually a copy of their C counterpart, to explain the logic.
 
@rlemon, no. It's something newer
 
5:33 PM
@NickDugger there are the original (sometimes POSIX) C names
then there are the PHP-specific ones, then the PHP OO ones, and so on
 
@WilsonSilva if you're talking about fetch, I don't think it was meant to facilitate a responseless post.
 
> PHP is opaque: no stack traces by default
Really? lolol
 
@rlemon you don't have to add a then
 
but then you are not fetching anything
it is no longer semantic
 
5:35 PM
you only need traces if you have a bug in your system
6
 
PHP is the only language in which turning on warnings in the compiler can change the flow of your code and potentially cause it to stop running.
 
@php_purest ahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha
 
@rlemon It isn't fetch either. I saw an article a couple of weeks ago about using that function as a means to send data to the a web server when a user leaves your website, for example.
 
aybe in 7 it would be better
 
@php_purest that's not an if
 
5:35 PM
@WilsonSilva sounds like something they wrote themselves.
attached to onbeforeunload maybe
 
it will be better in 7?
 
@php_purest it's already better in any other language
 
it will still be php in php7, which means it will still be bad
 
@Shmiddty so what do you think? so far I'm enjoying it
 
mysql_real_escape_string is no longer supported
 
5:38 PM
but I only have 4 tabs open right now so it doesn't really benefit me yet.
the black text color needs changing for sure
 
is there an official javascript github?
 
no
there is an official spec, and you can probably find implementations of said spec on github (v8, etc)
 
Javascript isn't code, it's just a specification
 
but the spec lives with w3c iirc.
 
i'm out
 
5:42 PM
peace
 
> Global variables need a global declaration before they can be used. This is a natural consequence of the above, so it would be perfectly reasonable, except that globals can’t even be read without an explicit declaration—PHP will quietly create a local with the same name, instead. I’m not aware of another language with similar scoping issues.
This is the first time I've read anything about php, and I'm finding it hilarious
 
php started with fantastic intentions. Templating? Yes please! But damn, it's just a shit programming language.
 
@NickDugger that's because they utterly ignored any separation of concerns
 
phpls
 
it's the session management, data access, and templating all in one
doing the same with JSP, even with Java's much larger and more consistent (if not "good") stdlib behind it, still fails
 
5:46 PM
apple pay on busses in england yay
 
so relevant to my american life
 
@rlemon what is this?
 
@Shmiddty what's this?
 
> I can't believe my eyes!
 
5:48 PM
... OMG IT PICKS UP PINGS!
I didn't even account for those
!!magic2
 
@Shmiddty check out the script
run it
 
@Shmiddty I must be dreaming
 
Ubuntu... how can you fuck up workspaces?!
seriously.
 
I love workspaces in ubuntu.
 
5:51 PM
cept when they don't work
 
what is not working?
 
won't let me move windows to my workspaces.
what are you 12?
 
won't let you how? Does a magical hand come out of the screen and stop you from hitting the keys?
 
I hit they keys and nothing happens smart ass
 
Hit Super+S
 
5:52 PM
I'm putting you on ignore. can't take it today.
 
If a retailer supports apple pay, does this mean that they support all NFC, which means google pay as well?
 
lol
 
apple news app so good
 
Hi guys, if I check for typeof var do I have to do check against null or 'null' ?
the first might be the answer right ?
 
if I understand, yes. typeof null === "object"
 
5:56 PM
!!>typeof null
 
@akaRash "object"
 
there is no typeof check for null, iow
you just == null
 
if you want to avoid null, you probably also want to avoid undefined
 
@rlemon TODO: 1) make base img larger and crisper. 2) make text smaller and crisper, cap at 9, show 9+ for anything higher. 3) If also pinged, use a color highlight
 
!!> console.log(typeof null, typeof {})
 
5:56 PM
in which case if (foo) is usually good
 
@NickDugger "undefined" Logged: "object","object"
 
That should explain why that's not working with 'null' or null ... when I compare @akaRash
 
I can help a bit during lunch
 
@Shmiddty I've moved on for now.
will revisit later.
need to generate dummy data right now
:(
 
@ssube does getElementById can return undefined ?
 
5:58 PM
> We've taken photo galleries to the next level with something that we call, "Photo Mosaics"
yes apple, so innovative
 
@JonathanLafleur it returns null if nothing is found
 
@JonathanLafleur if you're working with elements, you can safely do a truthy/falsy check
any element will be truthy, no elements will be falsy
 
@akaRash exactly what I expect, that's only because @ssube said that I would like to check against undefined too, but since it's not a probability i'm not testing it
 

« first day (1696 days earlier)      last day (3258 days later) »