|
just write javascript geeze
|
# ? Apr 28, 2016 04:21 |
|
|
# ? Jun 5, 2024 03:53 |
|
i want to be able to code at the speed of sound while making stuff thats just as readable as someone else makes but takes half the time bc im not typing vestigial charactesr
|
# ? Apr 28, 2016 04:24 |
|
i use node. it's pretty good. apologies to all the decrepit cjs itt who hate new thing
|
# ? Apr 28, 2016 04:35 |
|
code:
also code:
|
# ? Apr 28, 2016 04:45 |
|
why is "./Character" a string
|
# ? Apr 28, 2016 14:20 |
|
my stepdads beer posted:why is "./Character" a string it's a filename
|
# ? Apr 28, 2016 14:31 |
|
obstipator posted:i want to be able to code at the speed of sound while making stuff thats just as readable as someone else makes but takes half the time bc im not typing vestigial charactesr maybe you should spend time learning to touch type
|
# ? Apr 28, 2016 16:43 |
|
it's a cj language, a terrible thing
|
# ? Apr 28, 2016 17:53 |
|
Ludwig van Halen posted:it's a filename ew
|
# ? Apr 28, 2016 23:03 |
|
ban this sick filth
|
# ? Apr 28, 2016 23:06 |
|
I submitted a patch to node that fixed a lot of issues we were having at work w/ the node require system, and they decided to pull it in literally the day before v6 came out despite it completely changing some behavior -- still good for us, because the old behavior was loving mind boggling, but apparently there are like 5 other bespoke package managers out there that aren't npm that all use this poo poo to structure their apps and none of them work any more
|
# ? Apr 29, 2016 02:58 |
|
GenJoe posted:I submitted a patch to node that fixed a lot of issues we were having at work w/ the node require system, and they decided to pull it in literally the day before v6 came out despite it completely changing some behavior -- still good for us, because the old behavior was loving mind boggling, but apparently there are like 5 other bespoke package managers out there that aren't npm that all use this poo poo to structure their apps and none of them work any more coworker tried running our node 5 app on 6 and it bombed. we had poo poo to do so we didn't bother to troubleshoot. i'm blaming your patch.
|
# ? Apr 29, 2016 03:00 |
|
if your app uses symlinks to structure its modules then it was 100% my patch
|
# ? Apr 29, 2016 03:04 |
|
GenJoe posted:if your app uses symlinks to structure its modules then it was 100% my patch don't think so. unless u mean using `npm link` sometimes to do module dev
|
# ? Apr 29, 2016 03:12 |
|
GenJoe posted:I submitted a patch to node that fixed a lot of issues we were having at work w/ the node require system, and they decided to pull it in literally the day before v6 came out despite it completely changing some behavior -- still good for us, because the old behavior was loving mind boggling, but apparently there are like 5 other bespoke package managers out there that aren't npm that all use this poo poo to structure their apps and none of them work any more is this the poo poo that made windows or windows vm hosts choke when installing packages via npm because the paths went so deep or something. a windows guy was complaining about it idk
|
# ? Apr 29, 2016 03:16 |
|
coffeescript lol just lol that people think the thing holding them back is having to type ( ) { } , javascript code, if it must be created, should be created using typescript.
|
# ? Apr 29, 2016 05:06 |
|
fleshweasel posted:coffeescript lol
|
# ? Apr 29, 2016 06:23 |
|
GenJoe posted:I submitted a patch to node that fixed a lot of issues we were having at work w/ the node require system, and they decided to pull it in literally the day before v6 came out despite it completely changing some behavior -- still good for us, because the old behavior was loving mind boggling, but apparently there are like 5 other bespoke package managers out there that aren't npm that all use this poo poo to structure their apps and none of them work any more fleshweasel posted:people think the thing holding them back is having to type (_Y_)
|
# ? Apr 29, 2016 07:26 |
|
akadajet posted:no, you really should avoid coffeescript these days. especially with node bc you can debug native es6 w/o sourcemaps and transpilation madness. compilation
|
# ? Apr 29, 2016 07:27 |
|
GenJoe posted:I submitted a patch to node that fixed a lot of issues we were having at work w/ the node require system, and they decided to pull it in literally the day before v6 came out despite it completely changing some behavior -- still good for us, because the old behavior was loving mind boggling, but apparently there are like 5 other bespoke package managers out there that aren't npm that all use this poo poo to structure their apps and none of them work any more lol
|
# ? Apr 29, 2016 14:16 |
|
did they ever fix that bug in npm where the progress bar made the install process take twice as long?
|
# ? Apr 29, 2016 14:17 |
|
Ludwig van Halen posted:did they ever fix that bug in npm where the progress bar made the install process take twice as long? lol, people were seeing 100x cpu usage with the progress bar enabled. https://github.com/npm/npm/issues/11283
|
# ? Apr 29, 2016 17:04 |
|
GenJoe posted:lol, people were seeing 100x cpu usage with the progress bar enabled. https://github.com/npm/npm/issues/11283 how the gently caress do you use 100% CPU on a modern Intel chip drawing a progress bar? answer: JavaScript
|
# ? Apr 29, 2016 17:38 |
|
fart simpson posted:compilation in the js community we are trans friendly
|
# ? Apr 29, 2016 18:51 |
|
The Management posted:how the gently caress do you use 100% CPU on a modern Intel chip drawing a progress bar? and also JavaScript is inherently single threaded so while the progress bar is wasting cycles the thing you want to install can't get cpu time
|
# ? Apr 29, 2016 19:19 |
|
even browser js has the concept of worker threads now though
|
# ? Apr 29, 2016 19:55 |
|
Whats a tool that lets me boot 8 instances of node at once (i.e. one per core), look at and manage their state, restart an instance if it crashes, monitor cpu/mem for each, invoke a mem limit at which we force-kill it, etc?
|
# ? Apr 30, 2016 00:20 |
|
port your app to erlang
|
# ? Apr 30, 2016 01:31 |
|
Peanut and the Gang posted:Whats a tool that lets me boot 8 instances of node at once (i.e. one per core), look at and manage their state, restart an instance if it crashes, monitor cpu/mem for each, invoke a mem limit at which we force-kill it, etc? https://nodejs.org/api/cluster.html
|
# ? Apr 30, 2016 01:53 |
|
Yeah but that doesn't do what I want without me having to type a lot of code. I'm more interested in a tool that someone else made because I dont want to do work.
|
# ? Apr 30, 2016 02:26 |
|
Peanut and the Gang posted:Whats a tool that lets me boot 8 instances of node at once (i.e. one per core), look at and manage their state, restart an instance if it crashes, monitor cpu/mem for each, invoke a mem limit at which we force-kill it, etc? heroku
|
# ? Apr 30, 2016 03:30 |
|
fleshweasel posted:even browser js has the concept of worker threads now though this week i wrote a background worker thread search (using lunr.js -- it's like solr but not so bright ) of 15mb of text. the individual text documents are just xhr'd in, but the index has to be kept in memory, so keeping the search index off the main thread made the SPA quite a bit faster
|
# ? Apr 30, 2016 03:37 |
|
crap nerd posted:true but js is still bad, gently caress if i know what you should be using instead tho JS is fine for front end development but if you're using it for more than just sending ajax request and manipulating Dom elements then you're doing it wrong
|
# ? Apr 30, 2016 16:21 |
|
i remember a few years ago you could not talk about node on SA, now everyone seems to like it
|
# ? Apr 30, 2016 16:55 |
|
idk it turns out javascript is an o.k. scripting language when you don't have to deal with the poo poo-show of modern browser compatibility. it's just as bad (or good) as any other p-lang out there for web development -- I mean yeah if your lovely web app *needs* threading (it probably doesn't), or if you want to structure it with concepts that all p-langs are pretty bad at like OO (another hint, your web app probably doesn't need OO), then don't use it obviously, but it's fine for medium-scale web apps and stuff.
|
# ? Apr 30, 2016 18:37 |
|
GenJoe posted:(another hint, your web app probably doesn't need OO) are you talking about front end or back end code?
|
# ? Apr 30, 2016 19:52 |
|
nothing needs oo
|
# ? May 1, 2016 00:45 |
|
My favorite part of node is when someone says "eh I don't want to maintain this code anymore" and someone takes their package name then oops everything is now running malicious code
|
# ? May 1, 2016 01:13 |
|
GenJoe posted:idk it turns out javascript is an o.k. scripting language when you don't have to deal with the poo poo-show of modern browser compatibility. it's just as bad (or good) as any other p-lang out there for web development -- I mean yeah if your lovely web app *needs* threading (it probably doesn't), or if you want to structure it with concepts that all p-langs are pretty bad at like OO (another hint, your web app probably doesn't need OO), then don't use it obviously, but it's fine for medium-scale web apps and stuff. idk i guess js is turing complete
|
# ? May 1, 2016 05:19 |
|
|
# ? Jun 5, 2024 03:53 |
|
BiohazrD posted:My favorite part of node is when someone says "eh I don't want to maintain this code anymore" and someone takes their package name then oops everything is now running malicious code lol
|
# ? May 1, 2016 05:39 |