« first day (1622 days earlier)      last day (3327 days later) » 

6:03 PM
@Loktar look at my tmux.conf on github.com/Ralt/.dotfiles
Pretty colors and some features
 
ssube gave me one as well, I need to look at them
React Native is out for everyone to use/try
 
I need react as much as I need angular. No thanks
 
@NickDugger you said the same thing about commonjs a few months back
you always make these sweeping statements it cracks me up
 
commonjs? Modules?
wat
 
thats highly voted on reddit right now pretty interesting
 
6:12 PM
Caps down for a bit, Coffee went down the wrong tube and ended up all over my kb + monitor
now on my laptop :?
 
I spilled rootbeer on my laptop once. It fizzled and shut off, but I aired it out and it still worked. Magic.
 
yea luckily it wasn't my laptop
> The top comment explains that the study was done to prove that vaping is more harmful than complete abstinence. While this may be useful to some, there are numerous substances, food products and behaviors that are more harmful when consumed versus not consumed.
I highly doubt anyone here thinks vaping is absolutely harmless. The point is that it's many times less harmful than traditional tobacco products. Given that free adults can choose to smoke, vape products provide a much safer alternative. This is what is important.
 
If your laptop had Windows it would be easier to air out
 
@Loktar The only thing I've been feeling lately is your mom
 
6:14 PM
@Loktar GROAN!!
 
@Zirak she is very soft
and squishy.
 
Cap will be back up once the fan dries my KB and windows is done installing the rest of the updates
instantly ran to the sink and doused my KB with 99.9% Isopropyl alcohol
once that dries it should be okay
 
Is a string an Object in JS?
 
everything is an object
 
nope, but a String is
 
6:17 PM
but you can have two types of strings in JS
 
Number, String, Banana, Array, Array, Array
 
@rlemon two types? You mean like literal vs ..?
 
@ApathyBear That's a tricky question. You can treat a string like an object, yes.
 
@ApathyBear boxed / primitive
 
"abc" and String("abc") and new String("abc") can act differently.
 
6:19 PM
6
Q: Why are JavaScript primitives not instanceof Object?

Gary ChangToday I happened to have too much time to kill and I played a bit with the Node (v0.10.13) command line: > 1 instanceof Object false > (1).__proto__ {} > (1).__proto__ instanceof Object true > (1).__proto__.__proto__ === Object.prototype true Now, according to MDN, what instanceof does is: ...

 
@Zirak autoboxing
 
^ instantly thought of transformers
 
Autoboxers, box and roll out!
 
lol^
 
@Zirak Autoboxers makes me think of high-tech underwear
 
6:21 PM
Interesting. I can see how new String('abc') could be different. But not quite sure how String('abc') and "abc" are differnt
 
They're not
String(val) converts val to a string
 
String("abc") is marginally slower
window.String = function(){throw "oops"}
 
eval(String(Array(Object)))
 
so my boss just randomly brought me a 'drinking bird' toy
 
doesn't work
whatever
 
6:26 PM
 
Why
@rlemon oohh, fun
 
@rlemon He wants you to realise just how cold your coffee is
 
I'd do a node.js job
Rockastar Full Stackk
wait
nevermind
ew
 
and it's going!
that is one thirsty bird
this thing is WAY to amusing
I've never had one before
 
make it drink booze
and then murder it and steal the booze
 
6:35 PM
Make it drink leftover coffee
 
@Zirak obviously to make bimeo gaemps. I made a game in Node.js, it was awful
 
ISO stripped the letters off most of the keys but I'm back baby!
 
Hacker upgrade for your keyboard for free
 
@JanDvorak the head would get filthy
 
6:42 PM
Read the title, still didn't stop laughing, will read in a sec
 
> The once and future king of internet programming
k java
k
 
> Safety-Critical Java Programming
if it's critical, be safe and don't use Java
 
So... we're gonna finally release Monday... maybe. I swear, I want to die...
 
I have to clean this up before monday...
I need to stop letting my desk get this way
 
Grouse, some Ubuntu has grown on your desk
 
6:45 PM
lol
nothing wrong with Ubuntu
I do need to stop using Unity however
@Zirak but did you notice the ducks?
I keep those around just for you
 
Ooohhh the little yellow things are ducks
 
they guard my office
the other window has the other 5
 
Some people call you a quack, but you'll show them
 
Why does your coffee look orange?
 
foam + cream?
 
6:50 PM
I drink coffee black... weirdos
 
lots of cream
 
That Java article was pure shit. It didn't even spout wrong technical details or had some bad logic, it just said "Java is good for embedded/real-time because it was made for embedded/real-time"
 
My mother said that we drink our coffee strong because we're Norwegian. I think she makes shit up
 
Without actually giving any merits which separate Java from competitors
 
@JanDvorak only 'half a cream' actually
bout a tablespoon worth
 
6:51 PM
@NickDugger Swedish import presumably, IIRC?
 
I prefer red bull
 
I like my people like I like my coffee: I don't (I hate coffee).
 
I'll drink coffee if it's convenient to do so
 
I drink 2-3 a day
 
This is so full of stupid idganswers.com/question/6304/…
Second answer is golden though. "It's Java or being eaten by a bear while locusts swarm around you"
 
6:54 PM
Java: still better than PHP
 
I have graduated to caffeine pills a while back
 
@Zirak too bad i don't know how to guitar or even sing, i'd maybe have a chance on those rockstar job ads otherwise...
 
React native is out ^^
 
Also, fantastic news; I took ibuprofen yesterday, and my carpal tunnel pain has almost entirely gone away! After wearing a brace for a whole month, all it took was an anti-inflammatory. Dur.
 
6:55 PM
you're awesome
 
@BenjaminGruenbaum is that like node-webkit but for react?
 
@Loktar already posted that
 
it's like the greatest thing since sliced bread
it's "write ios apps in JS and get good perf
 
I wasn't aware nwjs was slow
 
goes grab a slice of bread
 
6:58 PM
ios is bad, react is bad, and I'm bad.
 
2 of those three are true
 
3 of those are true, which one is false?
 
I think React is pretty neat.
 
I'll need to use it before I make a judgement on it
 
What? Nah, this is the internet. Blindly judging things you don't really have any experience with is the normal protocol.
 
7:02 PM
Yeah
 
does anyone know nginx here
 
everyone
 
is there a way to get the the upstream server url that has been chosen to for request.
 
the what, now?
 
nginx is server load balancing
you can set server1 , server 2 et
i want to know which server was chosen and set that as header
host header
 
7:08 PM
why?
 
the application node can infer that based on whether it got the request or not
no need for nginx to set and send it
 
8 jobs for “rockstar” @ careers.se
 
because my servers only take request from the domain they are registered for this is the limit by pass provider
 
why do the handling servers have different URLs?
 
@Zirak @SterlingArcher
 
7:17 PM
@rlemon needs a thug life :D
 
Make it into a looping GIF
 
user1596138
Sexin bird
 
lol, is that comment by that turkish dude? youtube.com/watch?v=shMSEJT61aM
 
user1596138
 
7:24 PM
I've blocked him
 
user1596138
What the fuck lol
 
he has like ten accounts and was creeping kittens and I
he's a year + troll
he's the swastika troll
just saying that probably re-summoned him
 
user1596138
He was messing with @SomeKittens too?
 
user1596138
Eww some weird stuff lol
 
7:25 PM
started with kittens
 
user1596138
Happens to be from netherlands where one of our favorite trolls was... Probably was swastika guy too
 
@Jhawins mods confirmed that is not true.
swastika guys is a long time troll. other guy is just annoying at times
 
Europeans are weird
 
user1596138
@rlemon Oh I should stop blaming zig then?
 
7:26 PM
yup
 
user1596138
Ok fine. I didn't know it was disproven
 
@rlemon HE COMES
 
and his 50mb of javascript
 
don't get me wrong, he trolled us. but he isn't the same guy
 
user1596138
Hahaha
 
7:27 PM
lmfao
@rlemon he wasn't one of the more annoying trolls but he was special.
The problem with him is that he was a dumb and uninteresting troll - dealing with him was like taking the garbage - he didn't have an interesting personality.
People like noob1992 and okok at least had a personality.
Also porizm was pretty funny.
If you're gonna troll at least be funny, don't be a lame troll >:(
 
Take yourself as an example
 
A smart troll is mildly amusing, a dumb troll is just meh. Although the swastika thing was pretty inventive for like... 10 minutes.
@Zirak hey @Zirak guess what?
 
Benjamin Gruenbaum: troll connoisseur
 
@BenjaminGruenbaum yeah native react is aweosme
 
cc @BenjaminGruenbaum @Zirak
 
totally want it on Android
 
@rlemon Truly a tale of the modern man
 
lol, that goat
@Loktar it's missing a ton of stuff though - Y U NO tableview?
 
7:34 PM
 
The last we heard from the cyber-dolphins before they left Earth was "so long, and thanks for all the developers!"
 
user1596138
@rlemon link says png image is gif you broke it
 
It's fun when Java fails / when people discover OO isn't about real-world objects stackoverflow.com/questions/29275623/…
 
@Zirak lol, I'd just tell him to use interfaces since those now let you do multiple inheritance
 
@Jhawins did that on purpose
was oneboxed
didn't want cap to move it
 
7:40 PM
@BenjaminGruenbaum Of behavior, not of state.
@Zirak It's a problem with almost every OO tutorial on the web I've seen
They all use physical objects (car, animal, house), and it's completely wrong.
 
@SecondRikudo usually inheritance wants to share behavior anyway
 
Unless you make a car shop, you won't have a Car object in an application. Ever.
 
oooo
that could be nice
 
stupid spaces, @rlemon yeah pretty crazy if it happens
 
7:43 PM
stackoverflow.com/questions/28013045/… is there anything wrong with this answer I wrote that would warrant a down vote? pulling my hair out
 
@Zirak that escalated fastly
 
@Zirak solved in Java 8
 
on meteor, is it possible to access the internals of Node.js?
 
@ssube Java 8 throws an error when you use classes?
2
 
@corvid Define "internals"?
 
7:45 PM
@royhowie might want to explain what 1 0 and -1 represent and where they come from but otherwise it's lgtm
@Zirak you know, Gosling actually said that - that if he could remove one thing it'd be classes
 
@SecondRikudo simple example is fs.readFile()
 
@Zirak default methods in interfaces means multiple inheritance, but only of behavior
which solves the diamond problem, while allowing multiple inheritance
 
@corvid So NodeJS API
 
yeah pretty much
 
Honestly what people need is just mixins and shared behavior and not multiple inheritance
 
7:46 PM
Isn't meteor built on top of node?
 
@ssube you can multiply inherit behavior as well
 
@BenjaminGruenbaum I've never been to a situation where I absolutely needed multiple inheritence
Mostly because I favor composition over inheritance 95% of the time.
 
@SecondRikudo the rust people said they really needed it in servo to implement the DOM... Rust didn't know whether to support inheritance or not, they ended up doing it because it has its cases iirc.
 
@BenjaminGruenbaum I guess I could add that.
 
7:49 PM
@ssube do you use java8 at work?
 
@FlorianMargaine vOv
 
@FlorianMargaine nope.
 
@SecondRikudo the problem with Java is that decoration with composition does not have a way to automatically forward methods - that would totally solve their problem.
If you had a decorates keyword Java would be a lot more acceptable.
 
not sure if it's in yum yet
 
7:49 PM
@BenjaminGruenbaum Oh yeah, you have to implement all the methods yourself to forward, that sucks.
 
@SecondRikudo yeah, it is, but it abstracts you away from Node.js in the process.
 
cough lisp cough
 
class Foo decorates Bar{
    // access decorated member here, all non-implemented methods
    // are _automatically_ forwarded
}
 
@JanDvorak <3
 
@JanDvorak also, every language with strong reflection...
 
7:50 PM
@BenjaminGruenbaum nods, that would be pretty awesome if Java had that.
 
cough mixins cough
 
Scala :D
 
@corvid It took me 3 google searches
But I found this
7
Q: Access node.js File System module in Meteor

M BarrettaraI'm creating a web app that will edit some config files stored on a user's HD, and decided to give Meteor a shot. I'd like to use Node.js's File System module to handle to I/O of the config files, but I haven't been able to figure out how to include the module. After some searching, I found the ...

 
@JanDvorak why are you coughing? I literally said "what people need is just mixins..." a few lines above
 
For those who have worked with .htaccess in the past, is it possible to create a virtual sub-directory inside another virtual sub-directory?
 
7:52 PM
Missed that, sorry
 
@DemCodeLines Why are you asking this in the JavaScript room?
 
@DemCodeLines yes, it is.
 
I already have RewriteRule ^profile/(\d+)?$ profile.php?u=$1 [NC,L]. Need to do something like this: RewriteRule ^profile/(\d+)?$/messages profile.messages.php?u=$1 [NC,L]
 
@BenjaminGruenbaum suddenly, OOM
 
But going to /profile/1/messages gives a 500 internal server error
@SecondRikudo I realized I was in the JS room after I posted hehe. Sorry!
 
7:54 PM
Why not use a forward controller pattern instead?
@royhowie update looks good :)
 
@BenjaminGruenbaum what? That won't work in this case
 
@BenjaminGruenbaum as in, direct all requests to index, and let it decide?
 
@SecondRikudo that's the pattern
 
@BenjaminGruenbaum Front controller*
 

« first day (1622 days earlier)      last day (3327 days later) »