« first day (1972 days earlier)      last day (2969 days later) » 

4:00 PM
> You'll need a good NVIDIA card with CUDA to run this software on GPU, ideally 2Gb / 4Gb or better still, 8Gb to 12Gb for larger resolutions. The code does work on CPU by default, so use that as fallback since you likely have more system RAM!

To improve memory consumption, you can also install NVIDIA's cudnn library version 3.0 or 4.0. This allows convolutional neural networks to run faster and save space in GPU RAM.
 
@Trasiva gross.
 
Gonna test it with my 970 when I get home
 
@Loktar I agree.
 
@SterlingArcher callback
 
I forgot you're AMD :p
 
4:02 PM
wonder why they chose CUDA vs OpenCL
 
just replace "function" with "callback" and the question makes sense
 
@BenFortune eh its more about using a proprietary method
that's my main gripe with nvidia as a whole
 
I need to try CUDA again
 
Well yeah, AMD usually has way more processing power
 
@Loktar You own zero Apple devices, correct?
 
I guess it's the whole cuda cores vs stream processors thing
 
@Loktar been around longer and in general CUDA is more popular with GPGPU work
 
@SterlingArcher "3" doesn't make any sense
 
4:04 PM
> What are the benefits and or drawbacks of using the express framework with NodeJS?
 
and "2" is still terribly phrased
 
well, you have... more code? and it's not all code you wrote? but also you don't have to write code?
 
so it's just like jQuery
 
that question is incredibly vague. You may as well ask "what are the benefits of using libraries?"
 
@KendallFrey none that I've paid for
 
4:05 PM
It's supposed to be. its a question to make them think a bit
 
I have a work Mac, but I hate it
I never use it, it just sits next to me at work
 
!!feel satisfied after missing dinner, working my ass off and losing 4.50£ or stay home lazily while trying to finish installing arch
 
@towc feel satisfied after missing dinner, working my ass off and losing 4.50£
 
your opinion doesn't matter, woman
 
@SterlingArcher think about what? You can make up a million answers to it that are general enough to make sense
 
4:06 PM
@SterlingArcher not bad, but those are mostly like trivia
someone can know the diff between save and save-dev but can't code themselves out of a box
I know who won the last UFC fight, but would get killed if I tried to fight.
 
@rlemon is that not what all developers should do ?
 
unless those are just pre-screening/openers
 
there are developers that questions first before checking the API first :/
 
> How does NodeJS handle child processes?

is totally wrong, too. Node does handle child processes, it just doesn't handle multiple *threads*.
 
^ don't trick people! :P
 
4:08 PM
@KarelG lots
 
Suggestions?
 
i have printed the Java API :P
 
@SterlingArcher I ask code questions
like actually give them questions they need to code
 
it's now bundled on the shelf
 
Kittens had a good one actually
he asks them to make minesweeper
I guess the thing is, someone can have great localized knowledge but be a shit dev
 
4:09 PM
reason: throw it at a co-worker if he has questions which could be answered easily when checking the API
 
@SterlingArcher If you asked how node handles running code in parallel and whether callbacks can run in parallel, you'd get into the meat of threads vs procs and how node does clustering.
 
The most I can do is whiteboard and concept -- I only get maybe 5-6 minutes to ask questions
 
had to do that 2 times so far
 
I'd rather have a good dev that just needs to learn domain specific info
@SterlingArcher ahhh lame
 
Yeah that's why I'm just doing trivia style
 
4:09 PM
well that makes more sense I guess.. but it's super hard to actually judge their competence you know :?
 
> JavaScript is the most commonly used programming language on earth.
 
Yeah lol
 
so it is too mainstream now :(
 
@AwalGarg welcome to 2005
 
@AwalGarg been the case for some years now
 
4:10 PM
@AwalGarg only because your mom isn't a programming language, although you can get her to do whatever you want
 
@AwalGarg abused*
 
@FlorianMargaine "officially"
 
require('http').createServer( (req, res) => {
    // make me serve different files on /foo vs /bar
});
@SterlingArcher ^
I think this would be an okay question
 
yeah that is totally fair!
 
Also that survey shows rust is the most loved, so there is something I can be proud of \o/
 
4:11 PM
@rlemon Or possibly "Serve static files in a folder"
 
I'm scrapping the Q&A because that's a good idea lemon
 
stackoverflow.com/users/prediction-data wow, since when are they recording this :o
 
since ever
 
@ssube I bet your most viewed tag in that data would be
 
I don't remember viewing the java tag.. 16 times?
 
4:16 PM
  "TotalTagViews": 2593,
  "TotalQuestionViews": 1756,
  "TagViews": {
   "javascript": 792,
 
@AwalGarg nah, it's JS then C++
 
man, that is a lot of data to keep per user
 
"TotalTagViews": 9068,
  "TotalQuestionViews": 5839,
  "TagViews": {
   "javascript": 2399,
   "node.js": 2257,
 
mine are not in order
 
70% devs are self-taught. that makes me feel loads better
 
4:18 PM
I read through that entire survey, and they didn't even mention the most read book
 
Neither are mine, but those are the top
 
I spent all that effort getting people to write in Zirak's XHR gist for nothing
 
@SterlingArcher did they publish the survey results today or something?
 
Yeah, Ignore Garg posted the link
5
 
js, jquery, html, then css THEN node for me
 
4:20 PM
@SterlingArcher lmao
 
only 1.5% of the people taking the survey are sysadmins :(
 
I AINT EVEN GUN STOP IT
 
You can hate on someone all you want but please do not make sexual comments about them after they have explicitly asked you to stop.
 
HAMMERTIME!
 
4:23 PM
y so anal
 
@BenjaminGruenbaum Sorry, what?
 
@rlemon that's totally fine, we ask people to build a (tiny) router in their interview (doesn't do actual routing, but keeps route state etc)
 
@SterlingArcher I didn't know there was a "listen" method on http. I've always done the following:

http.createServer(requestHandlerCallback).listen(port)
 
@ndugger wait, that's not how you're supposed to do it?
 
@BenjaminGruenbaum My first message was in like, 2015.
 
4:25 PM
@BenjaminGruenbaum I dunno... Jordan's example is very different
 
You can create a server any way you want -- listen, or createServer
 
createServer needs to still listen.
 
http.listen isn't in the API docs
 
Server.listen is
http.createServer returns a Server instance
 
@BenFortune yeah, and I didn't give you as much as a warning, I just notified you that in particular message that that message is not acceptable in SO chat. No bad feelings, no harm done, don't worry about it - just pay attention in the future.
@ndugger we have that?
 
4:26 PM
Yeah, so http.listen shouldn't work...
 
BTW, I'm being made into a core contributor of Node on Friday, gave in .
12
 
http isn't Server
 
@BenjaminGruenbaum I have no idea. Jordan has me really confused
 
@BenjaminGruenbaum Yeah sorry, didn't even know it was a thing...
 
yeah, again, no harm done.
 
4:26 PM
@BenjaminGruenbaum \o/
 
@SterlingArcher are you sure you can do http.listen?
 
@BenjaminGruenbaum there's nothing sexual though. It's just that @AwalGarg has ignored ~90% of the JS room.
 
@BenjaminGruenbaum that's awesome!
 
@BenjaminGruenbaum \o/ congrats!
 
@FlorianMargaine He's referring to my comment, which was binned
 
4:27 PM
@BenFortune ah, my bad
 
> JavaScript is so pervasive that it’s in all top 3-tech combinations used by Back-end developers. This suggests a lot of these Back-end devs are probably Full-stack devs in disguise.
that survey is emphasizing JS' popularity everywhere
 
@FlorianMargaine which is beginning to get tiresome. listening to people answer him but get nothing because the 1% he doesn't ignore hasn't answered him yet is a bit annoying.
 
@ndugger now I'm starting to rethink it.
 
@BenjaminGruenbaum Nice work Benny boy!
 
@SterlingArcher I've never seen it, nor is it in the docs.
 
4:29 PM
am I invisible here?
>
Server.listen is
http.createServer returns a Server instance
 
Thanks guys, it's really not that big a deal, @FlorianMargaine can probably make core contributor after his mktemp stuff gets merged in.
 
@rlemon I've found that JS devs don't understand what factory methods actually are.
 
@BenjaminGruenbaum cool, you'll merge my PR then :D
 
@ssube they do, they just don't like calling them such
reminds them of Java
 
@BenjaminGruenbaum thanks for pushing on the PR, btw
 
4:30 PM
the idea of a method that just creates an object with an actual prototype is lost on a lot of people
they seem to think the method just gives them back an object that's sort of like something
 
@FlorianMargaine thanks for making a contribution.
 
maybe people just don't understand Instances in js yet?
(not like they're new)
 
@ssube most JS developers don't know what .prototype means, at least in courses I've taught
Try to explain prototypes (without classes) in a sentence.
 
can I assume they know what inheritance is?
 
Just think about how objectively complicated the following is:
 
4:32 PM
It's like, the stuff that comes before the object, man.
 
I have a morality question; can I write personal blog posts about a technology which has mostly best parts out of official documentation of that technology? So it will be filtered minimal version of that documentation and have best practices for that technology? I will be adding my comments as well but examples can be taken from that documentation?
 
Explaining development concepts like a stoner is by far the best way. It makes them all sound so simple, yet so meta.
 
cite the documentation as your source and I see no moral dilemma
 
Every function can be used as a constructor by placing new before it - at which point the value of thiswill be fixated to a new instance of an object. Functions have a .prototype property which is an object that will be used as the prototype of objects created when invoking that function as a constructor.
> Functions have a .prototype property which is an object that will be used as the prototype of objects created when invoking that function as a constructor.
My head hurts just writing it and I used it a million times.
 
that's not even grammatically correct
 
4:34 PM
Probably, my English sucks.
 
> When invoking a function as a constructor, the function's prototype property will be used as the prototype of the new object.
 
explaining what these concepts are is much harder than just demonstrating their proper usage
 
@rlemon That's that thing I'm not getting when my parents die because they're broke ass clowns, right?
 
@ssube But it's not the function's prototype, it's a .prototype property that is on the function as an object.
 
@BenjaminGruenbaum ok, rephrased it
 
4:35 PM
@rlemon ok, I was just wondering after I write all bunch of posts, someone will come and say remove all these, because those examples are belong to Microsoft, Mozilla or whatever.
 
prototypical inheritance is stupid complex, but still explainable
 
not sure offical documentations are protected somehow
 
it's also, IMO, not a very good idea
 
@ssube missing that it's a regular object, and that it's a property named prototype (and not a special prototype property)
 
read the license on the material @Teomanshipahi
 
4:35 PM
@Teomanshipahi if you cite it, and credit them, it should be under fair use. but always check the licence
 
more classical inheritance with emphasis on inheriting behavior is my favorite
 
@rlemon will do that, thanks.
 
@ssube the thing people never explain is where the data goes, in classical inheritance you have structural similarity where in prototypical inheritance you share functionality.
 
it got shared on imgur, plane folding with lego: youtube.com/watch?v=TDiIOTjyHzU Me gusta !
 
That's why people find it so confusing, the prototype is just a place to put functions.
 
4:38 PM
@BenjaminGruenbaum yeah. I actually really like Java 8's default interface methods pattern. It makes mixins/behavioral inheritance really clear.
 
!!afk feeding the fish
 
and completely breaks the abstraction, sort of.
I prefer Swift's protocols/extensions and C#'s extension methods.
 
how so?
 
And JavaScript's :: if we ever get them.
 
:: isn't entirely the same thing (though it is closely related)
 
4:40 PM
It's the answer I got when I asked for the same thing - scoped binding of a method to an object.
The problem being solved in all cases is introducing a big API change to an existing system
 
Having an interface construct that can't declare or access instance state, but can provide and call methods, and allowing multiple inheritance of interfaces but not classes is fantastic (in every place I've used it)
 
I'd love a language with class and contract, where contract can only use this as the prefix to a method call.
 
Swift extensions is great for that, you can extend objects from the outside, scope it and still split the declaration and the method definition.
@ssube that's similar to C# extension methods.
 
But extension methods are declared separate from the class, aren't they?
 
4:42 PM
Yes, that's the point after all
 
Java 8's interfaces are mixins that the class has to request.
 
But sometimes you want to extend the class without it requesting
 
They're not solving extension methods, it's all part of the original class, it just enforces the separation of state and behavior.
@BenjaminGruenbaum yes, but those are two different things.
 
They just needed to add .stream() like C# needed to add linq methods.
This was their out
 
Extension methods are great and having them in JS would be swell (which is why I talked in the proposals about it), but having a language construct to add behavior to the inheritance chain while enforcing no state is touched is also really useful.
Being in the chain, you can instanceof and all that good stuff. It adds a broader contract you can check while allowing duck typing.
TS effectively has the same system for how they enforce types. It doesn't matter if the name matches, so long as the requested contract is known to be a subset of what the object provides.
 
4:51 PM
kitty kitty
 
oh imgur
> The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.
it now displays blank pages
 
@ton.yeung I can't think of a good reason to use webpack for back-end javascript. Node already allows modules via require, so I use gulp to transpile with babel, and let Node use it's own module requires.
 
@ndugger bundling things into a single file, minification before you distribute
Maybe you do, maybe you don't. Depends on what you're doing.
@ton.yeung I typically use the same workflow that article is trying to describe, but the way they talk about it doesn't really make any sense.
that covers webpack itself pretty well, but not the rest of the process
 
I use gulp for server resources when I need to transpile, and webpack only for client resources
 
5:10 PM
@ton.yeung of everything, turning source into a redistributable package
the other article touches on watchers and server restarts somewhat, although in a weird way
@ton.yeung either or. There's no real difference.
you probably don't want gulp to do your deploy, at least not as part of the default task
usually you'd use gulp to create the package (tarball or rpm), then have the CI server actually push it out, but only on master or certain tags
or, in the case of an NPM package, you set up your CI to publish on tags and run npm version locally
lol
I believe the recommended way to handle nupkgs is to set up a TFS server, then -- whole holding it tightly -- throw yourself off a bridge.
 
Oh god, tfs...
 
TC doesn't handle the tagged release concept super well, unfortunately
I think we may not be renewing our license next year because of that
plus we only have 20 agents and that's not really enough
I'd like to move to Gitlab/Travis CI and set up 40 agents or so
but the idea is that you either run the release section of the build when a tag is created or create a tag when you run the release
 
crap
I accidently entered a room for @ssube and @ton.yeung
lol not often this time of day you see only 2 people talking
 
@ton.yeung Gitlab CI handles that really well with jobs and branch/tag filters
 
5:21 PM
I'm not making a snarky comment btw!
lol my whole screen was just 2 people
 
the only/except keys in the build file allow you to filter by branch
TC can't filter by branch within a build task, unfortunately
so you have to set up a snapshot dependency with a branch filter
and using too many snapshots will bring down your server
we run maybe 500 builds/day (1k on really busy days) and had a project with 8 different tasks, all with snapshots between them
it frequently just broke the queuing algorithm
 
How about that weather?
 
@ton.yeung yeah, we go through 600-800 commits/day
we've had almost 3k merge requests in the last year
of course not
we actually broke TC by having a project with almost 100 topic branches and ~4k tests
the test results/history table hit something like 6 million rows
trying to load them up in the UI just timed out
nah, it's backed by postgres
a 4x16x40 box (4 core, 16 gig)
 
!!weather minneapolis
 
@ndugger Minneapolis: 34.64F (1.47C, 274.62K), overcast clouds
 
5:26 PM
it keeps most of the data in memory, but the build DB is pushing 30GB now
 
@ssube want to borrow my PC?
8 core 32gb
lol max ram usage the other day... 6gb
overkill ftw.
 
You can borrow my HP laptop/tablet thing that has an i3 in it
 
I prefer the <3
;)
 
no winks allowed
 
@Loktar no thanks :D
 
5:27 PM
i3s are serious business
 
that's just my build tools tenant
 
@ton.yeung oh this is my home PC I'm talking about
work PC I prob hit more than 6gb
/me checks
11gb currently
 
@ssube you can host so much porn just in your RAM :o
 
I mean I have 16gb on this PC
 
@AwalGarg I could, but these are the work servers
 
5:29 PM
but am using 11gb
 
Of course the first thing Ignore Garg comes up with is hosting porn.
 
at home I have 32.. but use like 6-8 lol
 
I think we just grab 32-core/256GB boxes and throw them into the OS cluster
 
but! Having huge amts of ram is nice for ram drives
throw a game on that badboy and instant loading
yeah me too (use it for side work), just havent done any in a while :/
 
we've got a rack or two full of them, so we actually have more than just the 8TB of RAM I'm allowed to touch
 
5:29 PM
@Loktar throw*
 
wtf, lol ty @Trasiva
 
@Loktar That totally means I got the job, riiiight?
 
haha
 
@Loktar Did you ever look at that updated fiddle?
 
I got the job, turned it down, interviewed again, got the job, turned it down. I like to make people cry.
 
5:32 PM
@ndugger So you're like Ben from Parks and Recs with that accounting firm.
 
yes. I even made my own RPG board game with cones.
 
@ndugger kendall's mom can confirm
 
@ssube so host porn which is sfw like pornsfw.com (not clickable because potentially NSFW)
 
@Trasiva yea
yeah I'll respond
 
Someone in my area is letting g their dog shit on my lawn. So I'm putting up cameras and catching then then posting the pics all down the street. Fucking assholes.
 
5:46 PM
@rlemon lol the last sentance.
You have a right to be mad at exactly those.
 
Pickup your dog shit ffs
Stepped in it last year, it was on the sidewalk behind my car today and drove in it.
I'm hiding the camera. I want to shame them.
I'm pissed. There is dog shit smeared into my driveway and sidewalk.
 
Any recommendations for a screen capture for Chrome?
Awesome Screenshot it is!
 
@ton.yeung gonna get stills and post them with the caption "beware of this shitbags lack of shitbag"
neither of them have dogs
so unless the old chinese man is squatting one on my lawn, or the others kids are doing it
 
@rlemon This behaviour is extremely aggressive and un-Canadian. I'm going to have to ask you to apologize.
 
@Trasiva do you crossfit? because you can cross fuck off.
 
@rlemon Oh my gawd, those accents.
 
Reps for Jesus!
 
hold my spitter
@rlemon Oh my god, I'm crying.
 
5:59 PM
@Trasiva they don't have many videos on the channel but all of them are just as good
apparently it is a TV show, I'll have to see where I can stream it
 

« first day (1972 days earlier)      last day (2969 days later) »