|
jony neuemonic posted:i know this is going to sound pedantic as hell but, it's not html and react components are your templates. this guy's blog post explains it better than i probably can. Fair enough, but still it looks ugly as sin and is not the most readable template, specially if you open it on an editor that doesn't know JSX
|
# ? Oct 29, 2016 17:39 |
|
|
# ? Jun 13, 2024 04:05 |
|
i think everyone has that same gut reaction about jsx, i sure did but i have stockholm syndrome now so i don't mind it. i also write most of my components as functions of their props rather than classes, egcode:
code:
|
# ? Oct 29, 2016 18:10 |
|
react taught me that shoehorning a markup language into a programming language is much better than shoehorning a programming language into a markup language
|
# ? Oct 29, 2016 18:11 |
|
Powerful Two-Hander posted:actually pretty much everyone knows that offshore is costing us money and is at best about 60% as efficient as onshore, but the entire company is completely paralysed by its obsession with budgets so therefore we carry on they don't consider the large communication overhead arising from different timezones and culture they don't consider the immense amount of time that the onshore developers have to use to train and fix the fuckups of offshore they don't consider the increased cost due to lower quality software the only real justification you can use is that you have another labor pool of talent to hire from, but typically the talented in india command higher wages that bean counters don't want to pay or they immigrate to other countries
|
# ? Oct 29, 2016 18:16 |
|
fleshweasel posted:react taught me that shoehorning a markup language into a programming language is much better than shoehorning a programming language into a markup language xslt is a very terrible idea
|
# ? Oct 29, 2016 18:17 |
|
fleshweasel posted:react taught me that shoehorning a markup language into a programming language is much better than shoehorning a programming language into a markup language exactly. "instead of reimplementing javascript features in a templating language, just use the javascript features"
|
# ? Oct 29, 2016 18:22 |
|
fleshweasel posted:react taught me that shoehorning a markup language into a programming language is much better than shoehorning a programming language into a markup language I never thought of it this way, but this is bang on. templating systems are just full of indirections to make them configurable enough to actually do what you want to, and beyond reliable escaping they always seem to fall short of how you'd like to express things.
|
# ? Oct 29, 2016 22:56 |
|
Elias_Maluco posted:Fair enough, but still it looks ugly as sin and is not the most readable template, specially if you open it on an editor that doesn't know JSX an angular 1 app of any size is going to be 10x more ugly
|
# ? Oct 29, 2016 23:21 |
|
youll get over jsx seeming bad after using it it's still bad of course but as bad things go, it's pretty good
|
# ? Oct 29, 2016 23:40 |
|
comedyblissoption posted:this is my experience as well, but bean counters dont factor it into their analysis and only see the tiny salaries they can pay for a bundle of offshore developers yeah pretty much. just because your spreadsheet says that that person is costing less doesnt mean that they're delivering the same value per $, this is why every hosed up enron or lehman company has a pile of accountants going 'well our figures said they were ok so idk" also yeah, i have seen genuinely good people but they all either a) leave to get paid more or b) transfer to an onshore location which defeats the point entirely. anyway i have decided to be 'good cop' and instead of forcing my own arbitrary coding preferences on them im going to try and instigate a shift by forcing them to innovate by picking one system area to refactor and do at least some basic code reviews on it. I'll also tell them that we're shifting to whole app to mvc piece by piece so they should get learning. if this fails ill just set the min commit comment size to 500 chars and then revoke their svn access if they don't comply
|
# ? Oct 30, 2016 00:11 |
Powerful Two-Hander posted:yeah pretty much. just because your spreadsheet says that that person is costing less doesnt mean that they're delivering the same value per $, this is why every hosed up enron or lehman company has a pile of accountants going 'well our figures said they were ok so idk"
|
|
# ? Oct 30, 2016 00:18 |
|
cinci zoo sniper posted:Adds missing functionality, fixes many problems..................................................................................................................................................................................................................................................................................................................................................................................................................................................................... dont dox my commits thx actually, also a good description of my day at work. fix some bugs, add some features, stare at the wall until enough time has passed to leave
|
# ? Oct 30, 2016 00:26 |
|
my company is de-offshoring a angular 1.x webapp and im one of hte lucky ones taking it over. every git commit message is "chnge" and they hand-edit 3rd party minified CSS/JS like bootstrap, to add in stuff specific to this app straight into bootstrap.min.css
|
# ? Oct 30, 2016 00:54 |
|
Powerful Two-Hander posted:dont dox my commits thx why arent you leaving now it sounds like a real shithole there and youve currently got options whether you realize it or not e: overall it sounds like youre wasting your time with this company tbh e2: to be clear you should only actually leave once you have a signed offer from your next employer -- dont leave before then Progressive JPEG fucked around with this message at 00:57 on Oct 30, 2016 |
# ? Oct 30, 2016 00:54 |
Flat Daddy posted:hand-edit 3rd party minified CSS/JS it's like deploying bugfix to obfuscated code
|
|
# ? Oct 30, 2016 00:58 |
|
well the good news is AmigaOS has a built-in IFF parser and ILBM isn't a complicated format the bad news is I have to figure out how to decode PackBits RLE data into chip memory and shovel it at the Copper to draw SKULL_TRUMPET.IFF
|
# ? Oct 30, 2016 01:03 |
|
cinci zoo sniper posted:whyyy i swear, they even added comments to explain one of the changes (relatively nice of them), so i know they werent editing + minifying it outside of source control and just copying it back in. it really looks like the output of someone who has no loving idea about web dev at all, not even basic jquery*, and they had a strict requirement to add an angularJS frontend. * somewhere they wrote: angular.element(document.querySelectorAll('.thing')); literally everywhere i look in the source, theres an amazing coding horror ive never seen anywhere else
|
# ? Oct 30, 2016 01:14 |
|
|
# ? Oct 30, 2016 01:18 |
|
Flat Daddy posted:i swear, they even added comments to explain one of the changes (relatively nice of them), so i know they werent editing + minifying it outside of source control and just copying it back in. this is pretty amazing
|
# ? Oct 30, 2016 01:44 |
|
Luigi Thirty posted:well the good news is AmigaOS has a built-in IFF parser and ILBM isn't a complicated format does the QuickDraw source code that was released not contain an optimized 68K PackBits/UnpackBits implementation? edit: it does, see Bitmaps.a and search for PROCEDURE UnpackBits eschaton fucked around with this message at 03:51 on Oct 30, 2016 |
# ? Oct 30, 2016 03:47 |
|
eschaton posted:does the QuickDraw source code that was released not contain an optimized 68K PackBits/UnpackBits implementation? oh duh forgot about that i had to adapt it slightly because QuickDraw knows how long the result should be (one scanline worth of bytes) while with an ILBM bitmap we know how long the compressed source is (the length of the BODY chunk) but not the result size
|
# ? Oct 30, 2016 04:32 |
|
Progressive JPEG posted:why arent you leaving now well i was exaggerating a bit there tbh i get annoyed enough to look for another job about every 3 months but then settle back down because i get paid well and actually have an insane amount of freedom in what i do day to day. there's just the usual large corporate bullshit of offshoring, incompetence and bureaucracy to put up with Flat Daddy posted:they hand-edit 3rd party minified CSS/JS like bootstrap, to add in stuff specific to this app straight into bootstrap.min.css also holy poo poo it could be worse lol
|
# ? Oct 30, 2016 10:06 |
|
Powerful Two-Hander posted:also holy poo poo it could be worse lol i think you mean "couldn't", unless your imagination is a lot more twisted than mine
|
# ? Oct 30, 2016 10:23 |
|
Luigi Thirty posted:but not the result size how
|
# ? Oct 30, 2016 12:17 |
|
Powerful Two-Hander posted:well i was exaggerating a bit there tbh it is actually possible to dynamically modify the contents of a stylesheet using javascript
|
# ? Oct 30, 2016 12:30 |
i want to kill everyone involved in sphinx documentation for sphinx being acceptable e: ok, it's not that bad, but they certainly didn't concern themselves with providing more than a mere reference e2: good lord who did and still thinks that was a great idea to write docs. thanks google and scipy for more sensible dosctring style guides e3: Python code:
cinci zoo sniper fucked around with this message at 17:32 on Oct 30, 2016 |
|
# ? Oct 30, 2016 13:45 |
|
well here's where we're at so far
|
# ? Oct 30, 2016 18:10 |
|
Soricidus posted:i think you mean "couldn't", unless your imagination is a lot more twisted than mine no i mean like my life could be worse because i dont have to deal with that kind of poo poo (yet) qntm posted:it is actually possible to dynamically modify the contents of a stylesheet using javascript what an excellent way of introducing difficult to find bugs, thanks javascript! Powerful Two-Hander fucked around with this message at 18:29 on Oct 30, 2016 |
# ? Oct 30, 2016 18:12 |
|
qntm posted:it is actually possible to dynamically modify the contents of a stylesheet using javascript You can also create a new stylesheet in JS, which I had to do on a previous project.
|
# ? Oct 30, 2016 19:09 |
|
we did it, a 224x190 still frame in a 32-color display window it pops 5 recoverable guru meditations when it exits, leaks memory like a sieve, and crashes the system if you try to run it twice without rebooting Luigi Thirty fucked around with this message at 23:15 on Oct 30, 2016 |
# ? Oct 30, 2016 23:08 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window
|
# ? Oct 30, 2016 23:19 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window meets specs, ship it
|
# ? Oct 30, 2016 23:51 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window rewrite the error messages so they say "thanks for using my program!" like they famously did for Wing Commander
|
# ? Oct 30, 2016 23:58 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window
|
# ? Oct 31, 2016 00:59 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window dang.
|
# ? Oct 31, 2016 02:01 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window Fully sick
|
# ? Oct 31, 2016 02:54 |
|
also the custom Amiga I'm ordering is assembled and tested and on its way to my house I'll post pics of it running on real hardware lol
|
# ? Oct 31, 2016 02:57 |
|
Luigi Thirty posted:also the custom Amiga I'm ordering is assembled and tested and on its way to my house recapped? because amigas need recapped what Amiga are you getting?
|
# ? Oct 31, 2016 04:28 |
|
eschaton posted:recapped? because amigas need recapped yeah it's all refurbished and fancy amiga 2000 with a fat agnus and a combination 40MHz 68EC030/fast RAM upgrade/scsi card and a flicker fixer that gives VGA output Luigi Thirty fucked around with this message at 04:40 on Oct 31, 2016 |
# ? Oct 31, 2016 04:36 |
|
|
# ? Jun 13, 2024 04:05 |
|
Luigi Thirty posted:we did it, a 224x190 still frame in a 32-color display window not good enough. has to be animated and also have the sound
|
# ? Oct 31, 2016 08:19 |