|
akadajet posted:i mean, python can do that too and isn't nearly as ugly I agree 100%. I’m just tying to remember any use case for Perl.
|
# ? Oct 16, 2018 15:01 |
|
|
# ? Mar 28, 2024 13:18 |
|
the much-touted tmtowtdi-ness of perl & especially the mode of writing it where everything operates on the implicit argument made it a really non-uniform language, which hurt its reputation being able to write it "like shell script!" is a bad thing for long-lived code (says the motherfucker who wrote production MATLAB)
|
# ? Oct 16, 2018 15:04 |
|
akadajet posted:i mean, python can do that too and isn't nearly as ugly i haven't done any serious perl for over a decade now, but working with regexes in perl was so much nicer than regexes in python
|
# ? Oct 16, 2018 15:05 |
|
akadajet posted:i mean, python can do that too and isn't nearly as ugly but some people get really upset about white space
|
# ? Oct 16, 2018 15:36 |
|
duz posted:but some people get really upset about white space I really loving hate functional white space, ok?
|
# ? Oct 16, 2018 15:40 |
|
I was writing perl way past its prime purely because I was annoyed at the lovely postgres driver situation in python that seemingly only got resolved fairly recently
|
# ? Oct 16, 2018 15:42 |
|
perl will always have a special place for me, because it was my first professional p-lang. I also have never found anything that could process multi-gigabyte text files as quickly as perl (except for maybe barebones C). It really is dreamy for text processing.
|
# ? Oct 16, 2018 15:46 |
|
Sapozhnik posted:I was writing perl way past its prime purely because I was annoyed at the lovely postgres driver situation in python that seemingly only got resolved fairly recently psycopg is good and cool. SQLAlchemy is also pretty good for very different reasons.
|
# ? Oct 16, 2018 16:10 |
|
perl is good if you're writing something that you know someone you hate will have to maintain
|
# ? Oct 16, 2018 16:59 |
|
Main Paineframe posted:perl is good if you're writing something that you know someone you hate will have to maintain
|
# ? Oct 16, 2018 17:09 |
|
the naming of endiannesses seems backwards to me so we have a a system where the “big”, most significant bytes are towards the end of a stream of bytes, or higher memory, and it’s called little endian and then if the big bytes are right at the start of a stream of bytes, or right at the first, lowest memory address, it’s called big endian some neckbeards from 70 years ago decided that the word “end” means the start of something. maybe I should be glad my brain works the opposite way from theirs
|
# ? Oct 16, 2018 17:30 |
|
DuckConference posted:the naming of endiannesses seems backwards to me i think it has to do with some work of fiction where there are two factions, split about how they eat eggs. the big-endians eat the big end of the egg first and the little-endians eat the little end first. ergo, little-endian -> "least significant byte first", big-endian -> "most significant byte first" e: yup, it's a gulliver's travels reference. also "MS byte first" and "LS byte first" are way less ambiguous phrases
|
# ? Oct 16, 2018 17:49 |
|
Spime Wrangler posted:ctps: plotly es6 vuejs babel webpack npm django python2 matlab ctps: goddamnit this actually works really good once you get it going setting up the toolchain was complete poo poo though, and having to integrate six new tools at once to make the simple step from static django templates to something minimally reactive and modern is a pain in the dick
|
# ? Oct 16, 2018 19:22 |
|
Spime Wrangler posted:ctps: plotly es6 vuejs babel webpack npm django python2 matlab Spime Wrangler posted:ctps: goddamnit this actually works really good once you get it going what're you doing with all this? some kinda webapp with niceish design that involves generating graphs I assume
|
# ? Oct 16, 2018 19:35 |
|
Yeah its just a decent-looking interface to some legacy matlab code that will probably get replaced eventually. The app is mostly a reactive plot that describes the underlying model to be simulated and a different plot showing the simulation results once they're run. Really nothing fancy at all but it looks a lot better when doing live demos for clients and makes for a decent development path away from matlab's extremely expensive walled garden. Having spent most of my life running scripts to generate static plots it's pretty wild having them update in realtime as you type numbers into a box.
|
# ? Oct 16, 2018 19:55 |
|
fritz posted:i haven't done any serious perl for over a decade now, but working with regexes in perl was so much nicer than regexes in python DuckConference posted:some neckbeards from 70 years ago decided that the word end means the start of something. maybe I should be glad my brain works the opposite way from theirs
|
# ? Oct 16, 2018 20:10 |
|
lol imagine thinking little-endian is right
|
# ? Oct 16, 2018 20:19 |
|
ugh I'm cursed by my own object model. list<IButt> with standard templates for rendering each butt is all well and good until the butts need to be rendered in a very specific non-generic way so now I either fudge it which will probably introduce some horrid dependency on magic strings or crap out loads of IButt implementations that all look exactly the same which defeats the point if only I could drink on the job
|
# ? Oct 16, 2018 20:36 |
|
Powerful Two-Hander posted:if only I could drink on the job Heh, look at this scrub who doesn't WFH.
|
# ? Oct 16, 2018 20:49 |
|
prisoner of waffles posted:wrote production MATLAB goondolences
|
# ? Oct 16, 2018 20:53 |
|
i moved on ages ago but i’ll always have a soft spot for perl. it’s a fun language, and mojolicious is still a really nice web framework.
|
# ? Oct 16, 2018 20:55 |
|
Let's pour one out for webdev of old... here's to you, cgi-bin
|
# ? Oct 16, 2018 20:56 |
|
Powerful Two-Hander posted:ugh I'm cursed by my own object model. list<IButt> with standard templates for rendering each butt is all well and good until the butts need to be rendered in a very specific non-generic way just make a new IButt wrapper that takes another IButt and changes the way it gets rendered. or maybe swap to Tuple<IButt, Nullable<IButtRenderingOptions>> or something if you don't want to touch ibutt itself
|
# ? Oct 16, 2018 20:58 |
Finster Dexter posted:Let's pour one out for webdev of old... here's to you, cgi-bin and to you, joomla
|
|
# ? Oct 16, 2018 20:58 |
dont look at me like that, im only 26
|
|
# ? Oct 16, 2018 20:58 |
c tp s: im in data science and was asked today how much time would it take me to develop "mission critical" part of our architecture in a hypothetical new product time to see where belize actually is
|
|
# ? Oct 16, 2018 20:59 |
|
gonadic io posted:just make a new IButt wrapper that takes another IButt and changes the way it gets rendered. or maybe swap to Tuple<IButt, Nullable<IButtRenderingOptions>> or something if you don't want to touch ibutt itself Composable IButtStuff ITT E: I meant to say, yes, this is a very good idea. especially if rendering is a concern orthogonal to IButt-ness you should use the IButtRenderingOptions prisoner of waffles fucked around with this message at 21:07 on Oct 16, 2018 |
# ? Oct 16, 2018 21:03 |
|
gonadic io posted:just make a new IButt wrapper that takes another IButt and changes the way it gets rendered. or maybe swap to Tuple<IButt, Nullable<IButtRenderingOptions>> or something if you don't want to touch ibutt itself yeah I think wrapping the render layer is the easiest solution. there is actually already a wrapper because some of the IButt implementations parent other IButts (it's Butts all the way down boys!) so I can put any magic strings based on properties of the collection items into the view template for the parent butt or something. probably I'll do it three different ways and then throw it away and do it again prisoner of waffles posted:Composable IButtStuff ITT this works if I can pull the rendering option from a property of the Butt which.... Hmmm. maybe. Powerful Two-Hander fucked around with this message at 21:12 on Oct 16, 2018 |
# ? Oct 16, 2018 21:09 |
|
cinci zoo sniper posted:c tp s: im in data science and was asked today how much time would it take me to develop "mission critical" part of our architecture in a hypothetical new product
|
# ? Oct 16, 2018 21:16 |
|
prisoner of waffles posted:wrote production MATLAB Bloody posted:goondolences It was surprisingly not bad, mainly because it was replacing something written in a way worse language. The keystone of the style I started using came from a tiny bit hugely helpful function (that took a SQL query and returned a structure array, 1 row per row in the result set with the same structure fields as column names in the query) that biased me towards lots of use of struct arrays and plenty of cellfun / arrayfun. Basically functional data-oriented programming (Clojure-style MATLAB?), which is not at all inappropriate for report generation. Spime Wrangler posted:Yeah its just a decent-looking interface to some legacy matlab code that will probably get replaced eventually. Hmm if I get this new job I'm going to be helping one project that's vaguely like that, I'm kind of wishing that you will be my future coworker
|
# ? Oct 16, 2018 21:22 |
|
Finster Dexter posted:Let's pour one out for webdev of old... here's to you, cgi-bin They call it "AWS Lambda" now.
|
# ? Oct 16, 2018 21:23 |
|
cinci zoo sniper posted:c tp s: im in data science and was asked today how much time would it take me to develop "mission critical" part of our architecture in a hypothetical new product this lead me down the path to eventually be fired from my awful startup job
|
# ? Oct 16, 2018 22:35 |
|
prisoner of waffles posted:Composable IButtStuff ITT Compostable
|
# ? Oct 16, 2018 22:49 |
Boiled Water posted:this lead me down the path to eventually be fired from my awful startup job i quoted estimate of 3 full time weeks of my time + a month of full time of a full development team with overall prototype delivery in 2 months, which should be good enough to ward these thoughts away
|
|
# ? Oct 16, 2018 22:50 |
|
cinci zoo sniper posted:i quoted estimate of 3 full time weeks of my time + a month of full time of a full development team with overall prototype delivery in 2 months, which should be good enough to ward these thoughts away “that’s nice but instead here’s 16 hours. we’re an agile company “
|
# ? Oct 16, 2018 22:57 |
|
Boiled Water posted:“that’s nice but instead here’s 16 hours. we’re an agile company “ you've got a day to deploy an mvp with all the features and all the scaling into production don't worry it's an mvp though
|
# ? Oct 16, 2018 23:04 |
|
gonadic io posted:you've got a day to deploy an mvp with all the features and all the scaling into production haha "mvp" is all our project managers favourite buzzword this year.i don't think a single one has been delivered yet the other is "we need to establish what 'good' looks like" which usually gets followed by a good 6 hours of meetings that achieve nothing
|
# ? Oct 17, 2018 00:30 |
|
Symbolic Butt posted:current q report: working with dates feels really nice but q is hella weakly typed so this is biting me a lot Fun fact: this works with other handles as well: code:
|
# ? Oct 17, 2018 02:23 |
|
Powerful Two-Hander posted:haha "mvp" is all our project managers favourite buzzword this year.i don't think a single one has been delivered yet we had a fun period of time where the product team would push us to plan an 'mvp' and 'mvp 2' now it's 'day 1', 'day 2'
|
# ? Oct 17, 2018 04:34 |
|
|
# ? Mar 28, 2024 13:18 |
|
Still don't understand why people use vue instead of react Protip redux is poo poo but nobody is forcing you to use it, it's a totally independent thing
|
# ? Oct 17, 2018 05:15 |