|
Necc0 posted:i've just spent the past two days chasing my own tail trying to get what seemed like a super easy fix into this system only to find that whatever dipshit wrote this code decided he was going to re-calculate this one value multiple times at random places all throughout the stack. so far it's been calculated in five un-related javascript functions with different entry/exit points, in two places on the backend that I know of, and i wouldn't be loving surprised if there's a trigger in the DB calculating it as well. instead of hunting all this garbage down and fixing it i'm just throwing my own, correct, code at the very end and washing my hands of it. it's me. i'm the terrible programmer this is the sixth time this conclusion has been reached
|
# ? Mar 10, 2015 18:54 |
|
|
# ? Jun 2, 2024 05:44 |
|
imagine homer's makeup shotgun but instead of eye-liner and lipstick it's international customs charges calculations
|
# ? Mar 10, 2015 18:55 |
|
Bloody posted:this is the sixth time this conclusion has been reached
|
# ? Mar 10, 2015 18:56 |
|
Django s templating language is really good compared to Freemarker or whatever other poo poo is available
|
# ? Mar 10, 2015 19:11 |
|
gonadic io posted:mild lens use is by far the least bad way to deal with multiple nested data tyles yeah I realized after my poo poo post that it's probably somewhat useful.
|
# ? Mar 10, 2015 19:15 |
|
Valeyard posted:Django s templating language is really good compared to Freemarker or whatever other poo poo is available jade is not bad after you get over the syntax. it does the no-human-should-write-xml idea pretty well
|
# ? Mar 10, 2015 19:15 |
|
Necc0 posted:imagine homer's makeup shotgun but instead of eye-liner and lipstick it's international customs charges calculations i dont think you can fault the original developer for using real world modeling.
|
# ? Mar 10, 2015 19:23 |
|
wow, Spicey is a declarative E-R web framework written in Curry, that functional logic programming language what's like Haskell and PROLOG had a babycode:
|
# ? Mar 11, 2015 05:10 |
|
way to mix business and presentation pft
|
# ? Mar 11, 2015 05:22 |
|
i am the great algolia i need db for my bung hole
|
# ? Mar 12, 2015 01:21 |
|
Necc0 posted:i've just spent the past two days chasing my own tail trying to get what seemed like a super easy fix into this system only to find that whatever dipshit wrote this code decided he was going to re-calculate this one value multiple times at random places all throughout the stack. so far it's been calculated in five un-related javascript functions with different entry/exit points, in two places on the backend that I know of, and i wouldn't be loving surprised if there's a trigger in the DB calculating it as well. instead of hunting all this garbage down and fixing it i'm just throwing my own, correct, code at the very end and washing my hands of it. it's me. i'm the terrible programmer same but it calculates it once straightforward and a second time with a bunch of data from someone who decided that modifying a database entry would be easier to do by retrieving it in .net, deleting it from the db, inserting a blank entry, updating it in the db with the new data, and randomly saving two entries if you press save too fast is a good way to do things
|
# ? Mar 12, 2015 05:03 |
|
Luigi Thirty posted:same but it calculates it once straightforward and a second time with a bunch of data from someone who decided that modifying a database entry would be easier to do by retrieving it in .net, deleting it from the db, inserting a blank entry, updating it in the db with the new data, and randomly saving two entries if you press save too fast is a good way to do things this guy seems like he knows what he wants out of life
|
# ? Mar 12, 2015 05:10 |
|
Valeyard posted:Django s templating language is really good compared to Freemarker or whatever other poo poo is available i wish there was a django in a nice staticly typed language maybe asp.net will fulfil that when .net core is finished
|
# ? Mar 12, 2015 07:56 |
|
my stepdads beer posted:i wish there was a django in a nice staticly typed language spring boot?
|
# ? Mar 12, 2015 10:29 |
|
Oh yeahcode:
|
# ? Mar 12, 2015 12:22 |
|
gonadic io posted:i'm assuming that you're trying to work it out yourself rather than just using a library function (it's in Data.List). male shoegaze is right in that you need to use recusion but also list comprehensions: i forgot to come back and say i managed to get it working code:
|
# ? Mar 12, 2015 13:14 |
|
yep! no need to reimplement Data.List.delete though.
|
# ? Mar 12, 2015 13:27 |
|
gonadic io posted:yep! im not allowed to use any library functions afaik, so i did it just in case
|
# ? Mar 12, 2015 13:48 |
|
Awia posted:im not allowed to use any library functions afaik i hate stupid poo poo like this
|
# ? Mar 12, 2015 14:31 |
|
Valeyard posted:i hate stupid poo poo like this
|
# ? Mar 12, 2015 14:35 |
|
St Evan Echoes posted:It only exists because the teacher cba updating their 15 year old assignments i had an exercise last year where half the marks where for implementing a concurrent hashmap in java. when he found out that one already came built in he blamed it on being a really recent new java feature
|
# ? Mar 12, 2015 14:45 |
|
Valeyard posted:i hate stupid poo poo like this gotta build everything from the ground up! i dont really begrudge them for it, if im meant to be learning how this poo poo works just dropping library references everywhere that do everything for me isnt gonna help if your ultimate goal is not to learn how a hashmap works though then go gently caress them
|
# ? Mar 12, 2015 14:48 |
|
Valeyard posted:i had an exercise last year where half the marks where for implementing a concurrent hashmap in java. when he found out that one already came built in he blamed it on being a really recent new java feature
|
# ? Mar 12, 2015 14:52 |
|
St Evan Echoes posted:do you go to heriot watt by any chance valeyard, that is my alma mater He goes to the birthplace of haskell I think
|
# ? Mar 12, 2015 15:43 |
|
Why is angular so loving stupid for just doing ajax and data binding. Why is debugging promises so poo poo. Why shrek is piiiiiiiiiiís
|
# ? Mar 12, 2015 15:56 |
|
re: stupid professors recent algos class had assignments in 'c++', but we weren't allowed to use STL structures or functions e: justification was that they were too slow, obviously!! my homie dhall fucked around with this message at 16:33 on Mar 12, 2015 |
# ? Mar 12, 2015 16:28 |
|
MALE SHOEGAZE posted:He goes to the birthplace of haskell I think correcto
|
# ? Mar 12, 2015 16:31 |
|
Ploft-shell crab posted:re: stupid professors if the point of the assignment isn't to implement those structures or functions then that's p. funny yeah but as a TA i had to deal with a lot of shithead sophomores who would hand in their data structures assignment with just a few function calls all and get pissed when i'd fail them
|
# ? Mar 12, 2015 16:34 |
|
do they put "birthplace of haskell" in the brochures?
|
# ? Mar 12, 2015 16:39 |
|
i know i've been complaining about chef alot but seriously gently caress trying to automate a deploy and database migration on opsworks where event lifecycles cause weird edge cases that are ridiculously hard to guard against ffffuuuuuuuckkkk iittttt
|
# ? Mar 12, 2015 23:13 |
|
just decided to look at my git statistics. my net lines of code added to this repository is -630,000. i think thats good. imo.
|
# ? Mar 13, 2015 00:16 |
|
Illusive gently caress Man posted:just decided to look at my git statistics. my net lines of code added to this repository is -630,000. i think thats good. imo. deleting code >>>>>>>>> writing code
|
# ? Mar 13, 2015 01:19 |
|
yeah, that's a lot of debt you have to pay off
|
# ? Mar 13, 2015 01:38 |
|
there's a line number to time on the job ratio (absolute value of, of course( that is acceptable. anything else means you're just committing lots of assets.
|
# ? Mar 13, 2015 01:52 |
|
Has anyone ever used octive and how bad of a programmer will I look like if I work on a project written in matlab? There's a machine learning algorithm that some mathematician guy wrote and I guess he probably wasn't that pro of a mathematician because he wrote it in friggin matlab instead of a bespoke autist language. It's a pretty interesting project and my only apprehension about it is getting a wedgie from some sr software engineer in an interview when I mention my buzzwordiest machine learning experience in the future and not spending more of my probably worthless time becoming a ~*java professional*~ Also I haven't seen the code yet but I have read an academic publication on it so at least I know it sorta works well enough to spit back a line plot of accumulated falsepositive errors. Bad programmer thread implies that i am too lazy and or dumb to JUST PORT IT TO X and I especially don't want to spend time building a matlab-coollang rosetta stone in my head
|
# ? Mar 13, 2015 02:59 |
|
Marzzle posted:Has anyone ever used octive and how bad of a programmer will I look like if I work on a project written in matlab? There's a machine learning algorithm that some mathematician guy wrote and I guess he probably wasn't that pro of a mathematician because he wrote it in friggin matlab instead of a bespoke autist language.
|
# ? Mar 13, 2015 03:17 |
|
most stuff like that is in matlab because there's an existing function for everything you could possibly imagine and at a university it's all basically free i actually spent the first couple years working translating professor matlab code into c++. my life would actually have been easier if the professors never eventually learned c++ and stuck to matlab but that ship has sailed now. count your blessings
|
# ? Mar 13, 2015 04:02 |
|
Marzzle posted:Has anyone ever used octive and how bad of a programmer will I look like if I work on a project written in matlab? There's a machine learning algorithm that some mathematician guy wrote and I guess he probably wasn't that pro of a mathematician because he wrote it in friggin matlab instead of a bespoke autist language. what's the algorithm
|
# ? Mar 13, 2015 04:06 |
|
i once did cool algorithm lovely matlab -> lovely c++ -> kinda not so bad c++ once it took two years i called it my master's thesis
|
# ? Mar 13, 2015 04:07 |
|
|
# ? Jun 2, 2024 05:44 |
|
Destroyenator posted:i would ask about it in an interview, and would want you to be able to tell me why it seemed like a good tradeoff to keep it in matlab, what issues that caused, whether in hindsight the tradeoff was worth it, and if you would do it differently next time. bonus points if you can talk about why the project was interesting to you, and how that made it more palatable. specifically, it's interesting because it's a "hands off" way of creating classifications for the currently discovered ncRNA (it's computational biology I guess) and it would be my introduction to machine learning. from a personal perspective, i guess i find the idea that some properly implemented statics stuff and mathematical principles can turn whole eras of modern biology into something as quaint as using a slide rule appealing. however, it means i gotta look at matlab code and that means it wouldn't be very useful if i wanted to make an html5 interface for it so i was thinking of moving it to octive (which is supposed to be the same thing as matlab sorta but OSSier)
|
# ? Mar 13, 2015 04:08 |