« first day (1662 days earlier)      last day (3303 days later) » 

4:00 PM
Ruby syntax isn't bad. I don't like semicolons.
 
I don't like not having semicolons, I feel like they also help the reader
 
@towc ssube thinks pretty much everything is shit, so take that with a grain of salt
 
@JanDvorak and semicolons don't like heathens like you, either. :D
@Retsam a) yes, that's largely true, because most things are shit. b) I didn't actually say D was shit yet, that was all @towc
 
> yet
:P
 
4:02 PM
I'm not a fan of it. I think he chose the wrong parts to fix.
Ended up complicating some fairly critical internals while not actually improving the high-level stuff.
 
I'd say that the lack of memory management is a pretty serious flaw of C. std has shared_ptr, but it's still pretty... verbose.
 
Yeah, but D has far more potential for childish humor than C, so that's obviously in its favor.
 
@SterlingArcher Are you trying to give me ideas?
 
e.g. this one from the creator of the language, no less.
 
@Retsam lol@this thread
all the people crazy over compile-time evaluation
they should try lisp...
 
4:08 PM
weird syntax, the core is kinda low-level...
 
Inbox users, is it possible to attach files from drive like in GMail?
 
4:24 PM
@KendallFrey perhaps
 
hm.. any good reason to send a Kerbal when a probe is lighter and get get a buttload of science?
 
@AwalGarg Not from inbox.
 
and i don't need to rescue failed probes.
 
You can from drive though
 
@Luggage EVA
 
4:25 PM
@Luggage more buttloads of science
 
hm.. i thnk i need an upgrade before i can get soil samples.
i wonder if i can affrod that.
 
EVA, surface sample, crew report, multiple materials bay and goo experiments
 
true.. and i thnk eva is biome specific, now
 
I send probes interplanetary usually though
 
but i might be able to go into polar orbit and get all of it
yea.. polar orbit of kerbin and get ALL the eva science. that might help be get a few more parts before a manned mun mission
 
4:27 PM
@MadaraUchiha :(
rage
 
scientists can't reset the experiment without a science lab, though right?
 
they can now :D
 
ohh, ok. maybe i'll use them.
 
I had a very successful mission to minmus
including a scientist and materials and goo experiments
 
hopefully the sas modules lets the scientist get sas. it's really ennoying without
i don't need all the ither things like prograde, etc. jut to kill rotation.
 
4:29 PM
but do upgrade the R&D if you can, surface samples are super useful
 
i think i have about 500k. might be able to upgrade that
 
@Luggage retrograde hold is indispensable for easy landing.
 
yea, but i can do without. i don't have it on my pilots, yet anyway
 
really?
 
> At last week’s Build event, Microsoft announced that Windows 10 will also support Android and iOS apps
 
4:31 PM
they've only been to orbit, i can't get them any more xp
 
I had it before I went to the Mun
 
i think i need a mun mission for that.
 
maybe because of the flyby mission
 
ohh.. maybe i have it and just din't bother.. i forget
i'm about to go home and find out
 
@KendallFrey xD
 
4:32 PM
weird thing, all my active contracts disappeared last night
I'm hoping it doesn't happen again tonight
 
i used to like the parts-testing ones. i'd build weird-ass rockets to test all sorts of parts at once
now i'm bored with them. maybe i'll try tourism
 
haven't tried tourism
sounds boring, for little cash
 
i should unlokc the hitchhiker can, soon
 
I have tons of cash
 
i thought the money was decent..
 
4:33 PM
I'm pretty sure career is easier now
 
> Microsoft will finally do something about it, as in enable copy and paste in the prompt. This will obviously speed up a lot of menial tasks.
 
it's easy but i can't build the realistically-shaped rockets i want until i get more parts
i don't liek to cheese it and make big asparagus contraptions
 
toptal.com/windows/… I dunno if this is all real or not :/
 
I never needed asparagus yet
 
i jsut unlocked fuels lines, that allows for a nice simple 3-engine setup that's quite efficient
like falcon 9 heavy
 
4:35 PM
I don't think I have fuel lines yet
 
a little crossfeed can really help with some efficient designs
 
and I'm in orbit of Duna
 
i'm only landed on minmus with a probe. and flew by mun
 
so I have many 'almost' good song titles (pulled from youtube, so the format isnt' standard) anyone know of a free service I can pump the titles into and get real track information from? example: I have Big Giant Circles - Impostor Nostalgia 06 "Katana Blaster" which yields no results on google music or spotify, but Big Giant Circles "Katana Blaster" works. :/
 
standard difficulty
 
4:36 PM
I think I'm on normal without the crew respawn and the other one
basically Moderate with Normal sliders
 
@rlemon there is a normalizer for google searches, IIRC.
 
how does a google search help me?
these are youtube titles, google will return the same track I'm trying to decipher
 
ahh
no idea
!!afk
 
posted on May 05, 2015 by Alex R. Young

React Component Playground I have a backlog of React submissions, so I thought I'd work through them rather than spacing them out over a few weeks. First, React Component Playground (GitHub: FormidableLabs/component-playground, License: MIT, npm: component-playground) by Ken Wheeler is a React component that allows you to edit a

 
@rlemon Repeatedly remove parts of the search until there's exactly one result
 
4:50 PM
@copy thought about that, going to try a third party service first.
 
user2620028
5:07 PM
@rlemon back when i was running ubuntu there was a program that fixed all of my music titles for me. Sadly i don't remember what it was :/
 
don't want offline
anyway, I might have a service that will correct it for me
 
user2620028
@rlemon why does it matter if it is client side or not? Just curious
 
because I don't have the files, just the names
most offline tools need the mp3's
 
user2620028
O.o so you are streaming the files from a remote device and want to change the name of the streamed files?
 
no
 
user2620028
5:09 PM
Yeah i am lost lol
 
I modifed the code, after luggage helped me with the webpack thing .. I made of gist of the existing code gist.github.com/aghosh47/0423f21af7ec319a180e .. the problem is even if I replace this.WeatherFactory = new WeatherFactory(); with this.WeatherFactory = WeatherFactory; the getWeather() method doesn't get called.. what is wrong
 
@argentum47 WeatherController.$inject = ['$scope', 'WeatherFactory'] can probably just be class WeatherController { ... static $inject = ['$scope', ...]; }
 
oh, no, it can't, because es6 is shitty
 
5:26 PM
jsh.zirak.me/2gy5t how come the list sorting doesn't change?
return a.score > b.score vs return a.score < b.score
 
@rlemon change < to -
 
in other languages (like C#) , you are expected to give a numeric return type
 
if the sort callback returns < 0, then A comes first. If > 0, B comes first. If 0, order is undefined.
or something along those lines
if you return 0/1 and the language uses stable sort, then nothing will really happen
for high to low, I think you want return b.score - a.score;
 
false == 0 && true == 1
 
This article is a list of articles that are themselves lists of articles that are also lists of articles on Wikipedia; i.e., the articles linked each index numerous lists on a topic. == General reference == Lists of academic journals Lists of important publications in science == Business == Lists of brands Lists of companies == Culture and the arts == === Literature === Lists of books Lists of 100 best books Lists of The New York Times Fiction Best Sellers Lists of The New York Times Non-Fiction Best Sellers Publishers Weekly lists of bestselling novels in the United States Lists o...
 
http://www.commitstrip.com/en/2015/05/05/lost-generation/
CommitStrip - Blog relating the daily life of web agencies developers
Lost Generation
CommitStrip
1430847725
 
hehe
 
silly sysadmins
 
5:48 PM
this habit of convincing the kids that frontend is cool is turning dangerous
we're trying to run JS on servers now cause nobody can be bothered to write a server
 
JS should never be treated as the end-all/be-all. I see it more as a gateway language; I've learned C# and a bit of Go since learning JS
 
MGE
Hello, Im trying to placer json string encoded from a php array into a js var, the problem is that when a single quote appears '
how can I solve this issue?
 
@NickDugger JS is everything
 
@ssube I'm using JS (among other things) on the server because it's sometimes very convenient, not because I don't know other technologies. I've written http servers in C and java, and web applications in many more technologies...
 
MGE
5:50 PM
if I get the json directly from a .post no problem, the problem appears when I place the string into a var
 
@dystroy that's the problem. We're teaching the kids that a JS server is easy, just use that, while forgetting that when you get to prod you're going to need some real servers.
 
Having a weird issue. .trim() works on local debug environment but on staging environment does not. Both tests were for Google chrome. Anyone ever experience something like this?
 
@Adrian Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Similar shit with "app developers" who learn a tiny sliver of an single API because that's all they need to use.
Gives us a lot of devs that don't know a damn thing.
 
@ssube being to prod has nothing to see with JS or not. Node.js isn't used only for prototyping
 
5:52 PM
@ssube This reminds me of that blog post titled "node.js is a tumour".
 
@NickDugger JS is not appropriate for every use-case. Just all the ones that matter to us (as Front End devs)
 
@AwalGarg s/tumour/cancer/, and it was a pretty good post
 
haha yeah
 
meh, I use JS in a lot of places people tell me I shouldn't. haters gonna hate
 
@dystroy it sure as shit doesn't scale
 
5:53 PM
@ssube IT'S NOT A TUMAH
 
JS runs everywhere; It's the perfect language for learning, because it does have a use-case for most (if not all) beginner situations. I do believe that you need to move on from it eventually, unless front end development is your job.
 
had some pretty good points, dunno why everyone bashed on it.
 
I'd still like to have a different language in the browser, though
 
@AwalGarg it was a pretty detailed account of how event-loop based servers are only good for very specific use-cases
 
@rlemon JS wouldn't work for large, performance-intensive tasks
 
5:54 PM
if you aren't IO-blocked, then Node is utterly worthless
 
@Shmiddty sure it would.
just harder
 
@rlemon no, it won't
 
okay, tell that to any of the recent large game ports to js
 
I've been working on a game on and off and wanted to write it in JS, cause ES6 and stuff
 
haters
 
5:54 PM
the math I have to run on the backend is fast enough in Java, but nowhere near in JS
 
just because you can't or it isn't easy doesn't mean it can't be done.
 
that was one of the first things I talked about in the room, I think
node just couldn't get fast enough
 
JS is one of my three most favorite languages but all the over hype makes me sad
 
@rlemon That's the thing. They ported the Unreal engine to JS, but it requires more processing power to run efficiently.
 
impractical? sure I can agree with that. impossible? nope.
 
5:55 PM
the math was just too slow
probably because JS treats math using the weird type
 
!!s/wouldn't work/isn't ideal/
 
@Shmiddty @rlemon JS isn't ideal for large, performance-intensive tasks (source)
 
better.
 
For almost all applications, the fact your internal code doing math takes 0.004% of the CPU time instead of 0.001% is irrelevant.
 
JS doesn't work if you're CPU bound
 
5:57 PM
try harder
 
@ssube Well, if you don't bother looking at how V8 optimizes, or not, the functions...
 
try doing large sorts with js
 
@dystroy yeah I did
that was one of the first things I looked at
made sure there were no function calls involved
or, like, 2 or 3 at the very start of the test. Still, that's the most basic optimization you can do.
the tight math loop was too slow
 
@SomeGuy command line or webapp? what would you prefer?
google music import/export
 
Hey can I get a hand with measuring timing of loading of resources?
 
6:01 PM
bah, I'll make an interface. otherwise you have to dick around with knowing playlist names/id's
 
@Martin using the performance api?
 
@AwalGarg Neat, never heard of it. Can you give me a super brief idea of how it works?
 
!!tell martin mdn performance api
 
it is a fairly straightforward api. dev tools' network tab uses it.
 
6:06 PM
No kidding. But at a glance it looks like you're just setting markers before/after resource loads
Is that all there is to it?
 
mostly. You can look at the dev tools code to see how they do it.
 
My situation is basically this: Client's website but we don't manage the actual code. Can't do code adjustments as they have a 6 week code push cycle. We have a lot of 'patches' to the site that are made on an AB testing platform, and I want to recommend to bring them over to real platform to decrease load time. I want to measure how much of the page load time is spent on loading and rendering resources from this platform
 
Why can't you profile it from the dev tools directly?
 
I'm not ruling that out. But I'm having a hard time figuring out how exactly to sum up the loading/rending time with the dev tools heh :/
 
6:10 PM
@Martin oh, well then try a dev tools tutorial.
 
I had the funniest argument just now. Asked someone they were needlessly wrapping their code as a jQuery plugin - they told me they're an artist and an inventor and that I represent a non jQuery minority, I can't stop laughing.
8
 
ok it is funny how he worded it
but I think he has a point
 
he just invented a joke
 
for example there are a lot of random snow scripts out there, I had a purejs one for a while. As soon as I made it a JQ plugin it got way more popular
 
No IMHO he's not looking at the right problem... The jquery platform is just a tool, not an end
 
6:13 PM
but I also have a purejs one as well. I dont think limiting your audience is good, but definitely provide for the big audience as well.
 
@FlorianMargaine you don't say :D
 
@FlorianMargaine it just depends who you are developing for imo. How many people who run wordpress sites are going to use a purejs script over searching "jquery plugin for dancing balogna"
 
@Loktar it's fine to make it a jQuery plugin - I just wondered why that's the only way to distribute it.
 
@BenjaminGruenbaum ohh yeah I agree thats dumb
 
The artist/inventor part cracked me up
 
6:15 PM
provide a commonjs module, amd, purejs with no deps, ect.
I just assume English isn't his first language lol
 
It was all nice and dandy before the whole "I love me" part which is hilarious
 
the canvas vs psd ref is weird too...
what artist passes around psd's
they are fucking huge.
 
HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII‌​IIIIIIIIIIIIIIIIIIIIIII:D
 
var flight1 = flight({
    number: 1,
    origin: 'LAX',
    destination: 'DCA',
    departs: '9AM',
    arrives: '4AM'
});

var flight2 = flight({
    number: 2,
    origin: 'LAX',
    destination: 'PDX',
    departs: '10AM',
    arrives: '4AM'
});
how does this work in JS?
how do I make instances of objects like this?
 
@Loktar haha
 
6:17 PM
is flight a functional object that acts as a constructor?
If so, do var flight = new Flight()
 
@NickDugger it's actually a NodeJS module
 
what you think about visual studio code?????
 
@AwalGarg Just FYI there aren't any tutorials on what I'm trying to do exactly.. If you have any ideas I'd appreciate it a lot
 
that doesn;t help
 
:-?
 
6:19 PM
what country does CO stand for?
Colorado?
 
no one?
 
Coconut Heaven?
 
Colorado is not a country
 
country/place
Denver, CO
 
6:21 PM
wait, google...
oh, thanks
nope, denver is in colorado apparently
 
What is Colorado?
 
a state?
 
Denver is a large city in the state of Colorado, which is a relatively boring state
 
@JanDvorak box
 
Colorado is not boring!
 
6:23 PM
still, apparently jack rugile lives there, so it prolly is not that boring (anymore)
I was trying to look at his timezone
 
Colorado has mountains and nature and fucking awesome things
 
@towc @Shmiddty is from Denver
@NickDugger did you mean fucking weed?
 
It has some nice nature, but not much else.
 
oh, cool
 
Colorado
I wish I lived in Colorado
 
6:25 PM
so, we have a -8 hours difference :/
when I am in my nerd zone he's at work
when I sleep he's in his nerd zone
and when I wake up he sleeps...
= no instant messages
max is a daily double exchange of messages
 
Perhaps you could switch to sleeping at nighttime?
 
still, it's something
@JanDvorak -_-
 
I started typing jack rugile in my address bar to search and got a bunch of codepen links from history o_O
 
yeah, he's awesome
btw, have you seen ana tudor's new post on svg stuff? css-tricks.com/transforms-on-svg-elements
I might actually want to start to learn svg some time
 
user1596138
@NickDugger me tooooooo
 
6:29 PM
Why don't you offer 450 or 950 instead? — false 54 secs ago
Seriously?
 
I can't help but notice he has a username which is the opposite of one of your former usernames :D
 
@AwalGarg Truth is not the opposite of false
 
...
 
@AwalGarg Truth is a character
 
Chris Coyier faved one of my codepens
 
6:33 PM
silly anime :D
 
@NickDugger nice, which one?
 
Crap. Valentina Kerman is screwed. I thought that I'd use a gravity assist by Mun to help her get Kerbol science with less fuel. It was too successful and I flung her out of orbit too fast to return.
 
nikic.github.io/2015/05/05/… this was a very nice read
 
Im so old I'm excited about a new pen and a new ribbon bookmarked notepad for work...
fuck
 
what's a pen?
 
6:44 PM
what a pen is
 
!!tell luggage define pen
 
@luggage [pen](http://en.wiktionary.org/wiki?curid=4773) An enclosed area used to contain domesticated animals, especially sheep or cattle.
There are two steers in the third pen.
 
It was my buggy shitty pen codepen.io/ndugger/details/zGGRxX
 
ahh. you work on a farm.
 
6:44 PM
haha nice
 
err
pen
An instrument for writing or drawing with ink, typically consisting of a metal nib or ball, or a nylon tip, fitted into a metal or plastic holder.
 
so, i guess i'll just crash her into mun and take the rep hit. she'll respawn..
a rescue mission will be very hard with her speed.
 
Just unlock the warp technology
 
NASA
 
1500m/s into the surface, smiling the whole way.
 
6:50 PM
:-(
 
you horrible man
 
@AwalGarg hiiiiii
 
HAMMERTIME
 
1
Q: Best web deployment method with NodeJS, nginx and ssl

Rafael GómezI'm about to deploy a web application (last phase of developement) based on NodeJS. However, I've read about different methods to deploy a web app in final production environments: Using reverse proxy (nginx) and configuring SSL at that level, or Configuring the system to avoid NodeJS to use po...

Good canonical candidate ^
 
6:54 PM
@KendallFrey look what made its way back to the front page
 
Hmm, I wonder how good KSP aero really is...
 
> "we have great benefits!"
-- offers only 15 days PTO
pls
 
hey 15 isn't terrible
/me only gets 18
 
I get more and I work for a terrible company
 
@NickDugger damn really, do you have sicktime as well or is it rolled into one?
 
6:58 PM
Still, I got in touch with the founder and am gonna set up an interview
@Loktar rolled into one
 
nice!
 
My only concern with this company is that they're really really small; they might not offer insurance, and I'm not comfortable with that
 
user1596138
@NickDugger ask Obama for some of his insurances
 
sometimes smaller companies a bit more creative though
 
user1596138
he'll help you out bruh
 
6:59 PM
@Jhawins I don't care where it comes from, I just don;t want to manage the expenses myself
 
they will let you pick your own and give you a % of your premium
 

« first day (1662 days earlier)      last day (3303 days later) »