|
Sapozhnik posted:no escaping to worry about in non-degenerate cases so you can whip up a parser for it in like 10 loc don't roll your own parser for common formats
|
# ? Nov 2, 2017 08:40 |
|
|
# ? Jun 7, 2024 12:00 |
|
just broke prod because the minimiser which we don't run in test failed. one of the actual js guys diagnosed it as quote:The problem is that <app> doesn't use babel to transpile the arrowfunctions wtf does any of this mean?
|
# ? Nov 2, 2017 12:45 |
|
gonadic io posted:just broke prod because the minimiser which we don't run in test failed. the minimiser works on an ecmascript version that the actual code developed does not use -- they likely run a newer one -- and they run a transpiler (babel) to convert from one ecmascript standard version to the other so the entire toolchain can work on the same codebase. This is normal in js land since front-end browsers tend to support older poo poo than what the backend devs want, so they do whatever they need with whatever version on the backend and then transpile down to the front-end folks.
|
# ? Nov 2, 2017 12:50 |
gonadic io posted:just broke prod because the minimiser which we don't run in test failed. so, bear with idiot me. if i remember correctly, babel is a javascript "compiler" that transforms code between various dialects and versions of javascript, and is usually used so you can write in <modernthing> and then deploy to internet explorer 6 or whatever without breaking compatibility. sounds like it is failing to parse newly added syntactic sugar for oop
|
|
# ? Nov 2, 2017 12:54 |
|
Arcsech posted:my god, i have never been more grateful for our mediocre CI/CD system. hah. i'm not crying.
|
# ? Nov 2, 2017 13:12 |
|
Powerful Two-Hander posted:also I might be literally satan here but I detest popups and instead use modals hi, satan
|
# ? Nov 2, 2017 13:13 |
|
cinci zoo sniper posted:so, bear with idiot me. if i remember correctly, babel is a javascript "compiler" that transforms code between various dialects and versions of javascript, and is usually used so you can write in <modernthing> and then deploy to internet explorer 6 or whatever without breaking compatibility. sounds like it is failing to parse newly added syntactic sugar for oop [...document.querySelectorAll('.post')].forEach(post => post.textContent = 'poop'); that thing inside the forEach function call is an arrow function.
|
# ? Nov 2, 2017 13:26 |
|
and basically that's shorthand for JavaScript code:
|
# ? Nov 2, 2017 13:28 |
|
gonadic io posted:just broke prod because the minimiser which we don't run in test failed. just lol if you have enough js getting loaded for it to be worth minifying it
|
# ? Nov 2, 2017 13:30 |
|
ask me about my company starting not one, but two greenfield angular 1 apps in tyool 2017
|
# ? Nov 2, 2017 13:41 |
gonadic io posted:ask me about my company starting not one, but two greenfield angular 1 apps in tyool 2017 ask me about my financial company running php + mysql stack for everything
|
|
# ? Nov 2, 2017 13:42 |
|
cinci zoo sniper posted:ask me about my financial company running php + mysql stack for everything could be worse. not a lot worse mind you.
|
# ? Nov 2, 2017 13:45 |
gonadic io posted:could be worse. not a lot worse mind you. it was worse until i forced phase-out of mongodb
|
|
# ? Nov 2, 2017 13:48 |
|
cinci zoo sniper posted:it was worse until i forced phase-out of mongodb lmao
|
# ? Nov 2, 2017 13:52 |
gonadic io posted:lmao we're also becoming friends with postgre!!
|
|
# ? Nov 2, 2017 13:58 |
|
Wheany posted:and basically that's shorthand for in this example, yeah but arrow functions have some pretty significant differences from regular functions, the main one being that they're lexically scoped and don't have their own locally-bound this.
|
# ? Nov 2, 2017 14:04 |
|
the talent deficit posted:i mean it's literally the long term support release. and it doesn't work without a workaround that amounts to `don't use this ever` node 8 has been out for awhile and was always slated to get an lts release (it currently is the latest lts). there was never a reason to stay on 6 when 8 was out. akadajet fucked around with this message at 14:36 on Nov 2, 2017 |
# ? Nov 2, 2017 14:32 |
|
there's never a reason to use node, ever
|
# ? Nov 2, 2017 15:43 |
|
CRIP EATIN BREAD posted:there's never a reason to use node, ever it's better than the alternatives
|
# ? Nov 2, 2017 15:58 |
|
how can people gently caress up a merge so bad? I suck at using svn but even I know that merging a branch to trunk should *probably* include all the folders in the branch and not just the ones that were additive only but no, they merged about 50%of the changes and then took a new branch that unsurprisingly didn't work
|
# ? Nov 2, 2017 16:26 |
|
Powerful Two-Hander posted:how can people gently caress up a merge so bad? I suck at using svn but even I know that merging a branch to trunk should *probably* include all the folders in the branch and not just the ones that were additive only but no, they merged about 50%of the changes and then took a new branch that unsurprisingly didn't work svn.txt
|
# ? Nov 2, 2017 16:26 |
|
akadajet posted:it's better than the alternatives lol, no
|
# ? Nov 2, 2017 16:34 |
|
akadajet posted:it's better than the alternatives lol source ur quotes
|
# ? Nov 2, 2017 16:34 |
|
i guess you are probably correct if you mean the alternatives in the domain of server-side javascript interpreters
|
# ? Nov 2, 2017 16:37 |
cinci zoo sniper posted:we're also becoming friends with postgre!! Wait I thought the YOSpinion was that postgres was good?
|
|
# ? Nov 2, 2017 17:01 |
|
There Will Be Penalty posted:it's listed on mdn as an experimental technology?? it's supported in everything except IE, Edge, and Opera Mini, so that's 90% of users. good enough for me gonadic io posted:just broke prod because the minimiser which we don't run in test failed. someone was writing their code using Javascript 6 (aka ES6) syntax, but your minimizer only understood Javascript 5 (aka ES5) syntax a tool called Babel exists that will convert ES6 syntax to ES5 syntax for the sake of tools and browsers that haven't been updated to handle the new syntax yet, and the JS guys say you should add it to your build process and run the JS through that before you run it through the minimizer in general, web devs have this annoying tendency to use new stuff as soon as it's added to the language, without waiting for silly things like "browser support" or "clearing up vague or poorly-worded parts of the spec", and it's caused all sorts of trouble in the web
|
# ? Nov 2, 2017 17:21 |
VikingofRock posted:Wait I thought the YOSpinion was that postgres was good? yes it is, the joke is that we are just starting to adopt it in 2k17
|
|
# ? Nov 2, 2017 17:21 |
|
HoboMan posted:lol, no tough talk from a trump guy
|
# ? Nov 2, 2017 17:28 |
wish me luck im touching https://plot.ly/dash/ for a weekend
|
|
# ? Nov 2, 2017 17:28 |
|
cinci zoo sniper posted:wish me luck im touching https://plot.ly/dash/ for a weekend daesh framework for python
|
# ? Nov 2, 2017 17:29 |
akadajet posted:daesh framework for python it's shiny for python basically since i really don't want r in prod, even if its intranet website writte by a coworker who is an r gnugnard
|
|
# ? Nov 2, 2017 17:30 |
|
cinci zoo sniper posted:yes it is, the joke is that we are just starting to adopt it in 2k17 god i wish this company was starting to adopt it
|
# ? Nov 2, 2017 17:43 |
gonadic io posted:god i wish this company was starting to adopt it what are you on, sybase?
|
|
# ? Nov 2, 2017 17:45 |
|
cinci zoo sniper posted:what are you on, sybase? mysql
|
# ? Nov 2, 2017 18:10 |
gonadic io posted:mysql oh rip. we had some fuckiness when some of our mysql replicas became mariadb but then not (dont ask), but all is good and well now and no new product will be made with anything but postgre
|
|
# ? Nov 2, 2017 18:25 |
|
nearly got through a release without a fuckup and then whoops turns out a lovely 10 year old service uses inline SQL with zero error handling so blew up
|
# ? Nov 2, 2017 19:00 |
|
gonadic io posted:could be worse. not a lot worse mind you. CRIP EATIN BREAD posted:there's never a reason to use node, ever
|
# ? Nov 2, 2017 19:03 |
|
holy loving lmao, coldfusion W O W that's a blast from the past
|
# ? Nov 2, 2017 19:04 |
Ciaphas posted:holy loving lmao, coldfusion i remember making website in macromedia dreamweaver
|
|
# ? Nov 2, 2017 19:07 |
|
|
# ? Jun 7, 2024 12:00 |
|
cinci zoo sniper posted:i remember making website in macromedia dreamweaver dreamweaver received an update on october 19, 2017
|
# ? Nov 2, 2017 19:53 |