|
spent the afternoon refactoring my 'babbys first single page application' garbage app into mvc, my god i wrote a lot of javascript to create something so simple. i mean i am definitely a terrible programmer that makes it up as they go along but i was a garbage terrible programmer when i did this. the 'routing' is just switching which divs are visible on one massive html page lol otoh the REST services that it uses for everything are actually all ok so it wasn't all bad
|
# ? Nov 17, 2016 19:55 |
|
|
# ? May 10, 2024 00:24 |
|
yeah spas loving suck and you're almost always better off just using mvc and either using the webapi via rest or, better yet, directly via your controller
|
# ? Nov 17, 2016 19:56 |
|
Shaggar posted:rewrite it in asp.net so you can hire real developers i will say, in this total clusterfuck of an outsourced app ive inherited, the asp parts are the least bad. im sure they're doing everything wrong but at least its easy to follow. except for the like 1000 line functions with 100 layers of indentation, but asp cant do anything to prevent that. the angular part is such godawful spaghetti though. its a perfect example of pit of success vs pit of failure
|
# ? Nov 17, 2016 19:58 |
|
angular is so bad
|
# ? Nov 17, 2016 20:00 |
|
Bognar posted:go full emacs you know you want to
|
# ? Nov 17, 2016 20:05 |
|
Shaggar posted:rewrite it in asp.net so you can hire real developers work finally made the "no new .net development" rule official because it's easier to hire python developers. me.
|
# ? Nov 17, 2016 20:05 |
|
Shaggar posted:yeah spas loving suck and you're almost always better off just using mvc and either using the webapi via rest or, better yet, directly via your controller i did all the rest endpoints in wcf lol if i can be bothered I'll just stick them into the controllers as the .svc file throws an 'endpoint cannot be found' error about 25% of the time i will also add that it was still easier to work with this than the massive pile of 14 year old vb.net it replaced
|
# ? Nov 17, 2016 20:07 |
|
emacs is a wonderful thing. i will still be learning emacs 30 years from now, assuming i'm alive. gonadic io posted:emacs does have ligature support for other fonts though iirc they work in the osx version, supposedly. i copied + pasted that config and it just gave me syntax errors so i'm not sure that it doesn't work. very excited to peep those beautiful symbols VOTE YES ON 69 posted:so I've tried to use spacemacs a little bit, but I'm really used to my tiling window manager: where i have lots of terminals open, a few running vim, a few running shells it will take you a while before you really want to live inside of emacs, though. it was when i started using org mode to drive my workflow that I realized that I want to be inside of emacs forever. that took me about two years of regular use. don't forget though that I think golang is very good and think the new macbooks pro are great. so take all of this with a big old grain of artisinally harvested salt DONT THREAD ON ME fucked around with this message at 20:14 on Nov 17, 2016 |
# ? Nov 17, 2016 20:11 |
|
Shaggar posted:yeah spas loving suck and you're almost always better off just using mvc and either using the webapi via rest or, better yet, directly via your controller with react and redux, a spa ends up being easier to write than hacked together jquery poo poo. and you can render every route on the server-side so you dont even lose anything. even if youre doing some simple poo poo like just displaying some data in a table, the code is way easy to write and its super easy to add poo poo later. unlike the callback poo poo hell that literally everyone ends up writing in plain js because the DOM is poo poo
|
# ? Nov 17, 2016 20:13 |
|
the only downside is the ahead of time investment you have to make in setting up your js tooling. thats annoying as hell but it helps me with job security tbqh
|
# ? Nov 17, 2016 20:14 |
|
spacemacs is also good if you're starting. it "just works" out of the box but it doesn't get in your way (anymore) when you have the urge to sperg.
|
# ? Nov 17, 2016 20:15 |
|
every js codebase ive seen has been really bad except for the react ones. maybe some selection bias where the people who are willing to learn react happen to be good coders. idk
|
# ? Nov 17, 2016 20:15 |
|
I'm definitely a little bit jelly shoegaze I'll try using daemon+clients (and thanks to others that suggested that). probably have to setup an alias for 'vi' if I want to have a chance of success
|
# ? Nov 17, 2016 20:18 |
|
.net is great if you want to use windows all the time i guess
|
# ? Nov 17, 2016 20:21 |
|
or windows server lmao
|
# ? Nov 17, 2016 20:22 |
|
can i just moan about when a manager asks you a question, you give a good knowing answer then they go ask another coworker the same question while you're gone in the hope ofa different answer like if you don't trust me then just loving say so so i can walk
|
# ? Nov 17, 2016 20:23 |
|
VOTE YES ON 69 posted:I'm definitely a little bit jelly shoegaze you mean like this line in my rc? here's mine: code:
|
# ? Nov 17, 2016 20:24 |
|
bone app the teeth posted:or windows server lmao just chuck it at aws and make the os amazon's problem, who cares lol.
|
# ? Nov 17, 2016 20:25 |
|
Ciaphas posted:can i just moan about when a manager asks you a question, you give a good knowing answer then they go ask another coworker the same question while you're gone in the hope ofa different answer haha just kidding i'm never gonna walk because programmer jobs around here are a white whale and i'm a huge coward so go ahead managers do what you want
|
# ? Nov 17, 2016 20:26 |
|
honestly tho i would have happily accepted that windows is a deal breaker no matter how good c# is if they had ditched it in favour of something like java. but python? gross. jony neuemonic fucked around with this message at 20:37 on Nov 17, 2016 |
# ? Nov 17, 2016 20:27 |
|
Flat Daddy posted:with react and redux, a spa ends up being easier to write than hacked together jquery poo poo. and you can render every route on the server-side so you dont even lose anything. don't you need to use nodejs for server side rendering though? seems to me like a bit of a dealbreaker, although i guess it's not an issue if you're already into huffing js farts
|
# ? Nov 17, 2016 20:37 |
|
the latest emacs port to AmigaOS is 20.3 from 1999, probably still usable and better than SAS/C's editor the OS comes with microemacs but I haven't tried it
|
# ? Nov 17, 2016 20:40 |
|
Flat Daddy posted:hacked together jquery poo poo callback poo poo hell you've seen my app????
|
# ? Nov 17, 2016 20:43 |
|
Ciaphas posted:can i just moan about when a manager asks you a question, you give a good knowing answer then they go ask another coworker the same question while you're gone in the hope ofa different answer maybe they're checking the consensus of the team, maybe manager couldn't really evaluate your answer and the other dev has a better way of phrasing things that reinforces your point but also gets through to the manager. are there other signs of trust issues?
|
# ? Nov 17, 2016 20:45 |
|
redleader posted:don't you need to use nodejs for server side rendering though? seems to me like a bit of a dealbreaker, although i guess it's not an issue if you're already into huffing js farts thats the usual way but theres also stuff like this: https://reactjs.net/guides/server-side-rendering.html
|
# ? Nov 17, 2016 20:54 |
|
Plorkyeran posted:if you're time limited then why are you doing a bunch of extra memory allocations and O(N^2) deletion. erase-remove (or an equivalent handwritten loop) makes zero allocations and only a single pass over the array im not sure what you mean by erase-remove, and the erase method itself is O(N) at worst (linear in terms of number of elements after the erased element). how would you code this?
|
# ? Nov 17, 2016 20:56 |
|
JawnV6 posted:i dunno, you may be reading too much into it? i wouldn't put money either way there are signs of issues but there are also signs that he does poo poo like this to the other dev groups all the time and also i'm a depressed anxious nerd with no self esteem just needed to vent
|
# ? Nov 17, 2016 20:57 |
|
redleader posted:don't you need to use nodejs for server side rendering though? seems to me like a bit of a dealbreaker, although i guess it's not an issue if you're already into huffing js farts i've never done server side rendering with react, although i understand it's a common use case.
|
# ? Nov 17, 2016 21:13 |
|
jony neuemonic posted:just chuck it at aws and make the os amazon's problem, who cares lol. throwing things on AWS as a way to unload responsibility for them is a recipe for disappointment
|
# ? Nov 17, 2016 21:15 |
|
I see no point in server side react until your poo poo is slow to initialize on the client side or something or you want to support people with scripts disabled in which case don't use react lol
|
# ? Nov 17, 2016 21:18 |
|
quiggy posted:im not sure what you mean by erase-remove, and the erase method itself is O(N) at worst (linear in terms of number of elements after the erased element). how would you code this? the code i posted. remove_if moves all of the elements to be removed to the end (which requires a single pass over the range), and then erasing them is just changing the vector's end pointer. the whole point is to avoid multiple O(N) calls to erase()
|
# ? Nov 17, 2016 21:19 |
|
https://github.com/aspnet/EntityFramework/issues/3797
|
# ? Nov 17, 2016 22:06 |
|
quote:Certainly need Lazy Loading... how do you propose doing DDD without it? quote:As I said, one of the absolute main reasons for me to use EF at all, was the Lazy Loading feature as it reduces the effort to ad hoc query a database significantly. Having now to decide during development what I need to load explicitly is creating a notable extra on my work. And reduces my agility. Which is a setback, now that we are all supposed to be agile.
|
# ? Nov 17, 2016 22:08 |
|
such an astonishing amount of effort to avoid writing sql
|
# ? Nov 17, 2016 22:09 |
|
maybe sql is just bad e: although i personally think it's pretty tolerable and don't really mind janitoring my 500 stored procedures even though it sounds terrible HoboMan fucked around with this message at 22:28 on Nov 17, 2016 |
# ? Nov 17, 2016 22:26 |
|
Bloody posted:such an astonishing amount of effort to avoid writing sql Linq is pretty good. Pissing around with sql data readers on the other hand...
|
# ? Nov 17, 2016 22:55 |
|
Luigi Thirty posted:the latest emacs port to AmigaOS is 20.3 from 1999, probably still usable and better than SAS/C's editor give FrexxEd or EdWord a go
|
# ? Nov 17, 2016 23:00 |
|
Sweevo posted:give FrexxEd or EdWord a go I've been using Annotate but its syntax highlighting and scrolling is really slow on a 16-color interlaced screen i have FrexxEd which comes with SAS/C scripts but it also opens in its own screen which is a little annoying, I'll probably end up switching to that anyway after my latest round of upgrades I now have 12MB of RAM on the 32-bit bus so it's way faster than 4MB of 32-bit memory and 6MB of 24-bit memory shared with the expansion bus Luigi Thirty fucked around with this message at 23:08 on Nov 17, 2016 |
# ? Nov 17, 2016 23:05 |
|
so i am now officially certified as an epic web developer or whatever, but now that i can actually start working on my project again i am having a lot of trouble shifting my brain back into give-a-gently caress mode. i hate having to context switch from doing nothing but doing code-along tutorials to actually working on something substantive again. it's the downside to the way epic does these monolothic "camps" to train people on stuff.
|
# ? Nov 17, 2016 23:06 |
|
|
# ? May 10, 2024 00:24 |
|
its cool that theres at least some form of training tho
|
# ? Nov 17, 2016 23:09 |