ultravoices posted:There is a lot of useful stuff sort of squirreled away in the methods. str.format() does all the heavy lifting but it's not obvious, you have to read examples or the docs. pythons docs are p decent but i dont think ive read much of them except io stuff
|
|
# ? Nov 3, 2017 14:48 |
|
|
# ? Jun 8, 2024 15:45 |
|
gonadic io posted:on the other hand, "declarative" is one of the words that's used by fart-huffers too so as soon as you see something like "declarative minimal embedded dsl" then it's time to start being a little sceptical. link to the bullshit programming dictionary? I want to see the entry for "lightweight"
|
# ? Nov 3, 2017 14:51 |
|
NihilCredo posted:link to the bullshit programming dictionary? I want to see the entry for "lightweight" i found it, the original one anyway: https://programmingisterrible.com/post/65781074112/devils-dictionary-of-programming posted:simple — It solves my use case.
|
# ? Nov 3, 2017 14:53 |
|
that's mostly filler for the definition of framework
|
# ? Nov 3, 2017 15:00 |
|
cinci zoo sniper posted:pythons docs are p decent but i dont think ive read much of them except io stuff itertools, functools in the docs & sentdex and raymond hettinger's videos on youtube were very helpful for me.
|
# ? Nov 3, 2017 15:05 |
|
gonadic io posted:just lol. who gives a gently caress, nothing means anything.
|
# ? Nov 3, 2017 15:45 |
ultravoices posted:itertools, functools in the docs & sentdex and raymond hettinger's videos on youtube were very helpful for me. itertools is p cool but i haven't found much use to it (since all i do is numpy, mpl, scipy core, and now pandas). i guess i should reskim some docs at least now that i likely have to babysit development of a "flask" app in all stages
|
|
# ? Nov 3, 2017 16:08 |
|
St Evan Echoes posted:pls tell if this was an autocorrect so i know whether to lol or tut mongodb -> came from mongo from blazing sadals -> probably came from the word "mongoloid"
|
# ? Nov 3, 2017 16:19 |
okay this is some magical bullshit i'm not likingPython code:
e: from https://plot.ly/dash/getting-started-part-2 e2: nevermind im idiot, the callback decorator decorates the function i really need to find some way to get more python into my daily workflow since im starting to miss really stupid things after just sitting with r and non-coding duties for bunch of months cinci zoo sniper fucked around with this message at 17:33 on Nov 3, 2017 |
|
# ? Nov 3, 2017 17:31 |
|
ya its the decorators mate for example the pyramid web framework does this to signify views i'd recommend making a toy app in pyramid after you get used to the flask basics btw, it is a lot more powerful than flask and a nice framework to work with mostly
|
# ? Nov 3, 2017 17:34 |
Mr SuperAwesome posted:ya its the decorators mate ya i decorate my shite as static etc too. normally i would check pyramid, but this is so far a one off thing that i don't have too much time for, and won't even code it (just ~manage~), so im going through tutorials/refs to see what's up and if we can let this slide instead of r shiny which i really don't want to see. also i don't think i'm seeing much of flask bits either, it's all abstracted to reasonably neat api so that analyticians can push their poo poo to web, which is just what we need - get 3 ppt presentations online and self-updating, based on already written sql queries, while we come to point where bi people are hired and stacks of money are dropped on tableau/qlik/power bi
|
|
# ? Nov 3, 2017 17:46 |
pyramid might be something i can toy with later, but my free time and job time for loving around are both turbofucked until new year i think
|
|
# ? Nov 3, 2017 17:47 |
speaking of getting more python, if we settle on a self-service model deployment then i'll be writing all of it in python anyways so i can ascertain what on earth is or is not happening and why, because the 1 time in 10 something doesn't work in r it's a coin toss if i am not running into some remnants of huronian ice age
|
|
# ? Nov 3, 2017 17:49 |
but pandas is sucky
|
|
# ? Nov 3, 2017 17:51 |
|
gonadic io posted:declarative programming is a style where your variables are generally immutable, often is more functional/side-effect light. not really, declarative just means "sufficiently high level," i.e. you tell the compiler what you want, but not how to do it. sql is a standard example, you tell the database the information you want, the database figures out the execution plan for you. but typically functional langs are more "declarative" than imperative ones, e.g. compare `map` to `for (Iterator<X> x = xs.iterator(); xs.hasNext(); ) { ... }`
|
# ? Nov 3, 2017 19:10 |
|
akadajet posted:mongodb -> came from mongo from blazing sadals -> probably came from the word "mongoloid" mongodb claims it comes from the word "humongous"
|
# ? Nov 3, 2017 20:28 |
CommunistPancake posted:mongodb claims it comes from the word "humongous" our mongodb also liked to claim our data is in a good place but something went amiss
|
|
# ? Nov 3, 2017 20:33 |
|
c tp s: just took a look at a section of code for calculating money stuff and project hours. absolutely every number involved is a float.
|
# ? Nov 3, 2017 20:54 |
|
CommunistPancake posted:mongodb claims it comes from the word "humongous" bull poo poo
|
# ? Nov 3, 2017 20:56 |
|
reminds me that solyent claims to not come from solyent green mtgox claimed to not have anything to do with magic cards and php doesn't stand for personal home page lol
|
# ? Nov 3, 2017 20:58 |
|
akadajet posted:bull here's the claim: quote:Actually the name choice really does come from the word humongous. A couple years earlier a naming consultant showed me a list of 50 names for potential companies and consumer web products, and it was in that deck, and the point made was that it connoted “big”. But as you say some folks joked about the movie reference when we gave that name to the db, and I didn’t elaborate on the logic behind the naming at the time I would guess. I certainly didn’t in my mind make a negative association about the name at the time; my last encounter with it before that point was probably in Shrek 2. I knew it was campy but it was just a piece of the tech stack at first, not then a big standalone product and technology as it is today. Of course I now know that in some parts of the world it’s an odd choice — apologies about that to those of you in those locales. from https://www.kchodorow.com/blog/2010/08/23/history-of-mongodb/
|
# ? Nov 3, 2017 20:58 |
|
mondodb
|
# ? Nov 3, 2017 21:16 |
|
akadajet posted:reminds me that solyent claims to not come from solyent green don't forget lucky goldstar
|
# ? Nov 3, 2017 21:19 |
|
CommunistPancake posted:here's the claim: its hugh mongodb us
|
# ? Nov 3, 2017 21:32 |
|
tardar sauce the cat uh huh, yep. sure.
|
# ? Nov 3, 2017 21:40 |
akadajet posted:reminds me that solyent claims to not come from solyent green
|
|
# ? Nov 3, 2017 22:17 |
|
php: hypertext preprocessor
|
# ? Nov 3, 2017 22:19 |
|
it was renamed that once rasmus decided that "personal home page tools" was no longer an apt description, though the engineering sophistication has still not advanced beyond that original stage
|
# ? Nov 3, 2017 22:32 |
DELETE CASCADE posted:it was renamed that once rasmus decided that "personal home page tools" was no longer an apt description, though the engineering sophistication has still not advanced beyond that original stage it really explains the state of my job it team. our 4 years old customer web portal will soon gain a functioning forgotten password restoration mechanism
|
|
# ? Nov 3, 2017 22:36 |
|
been dabbling with cmake just so my wagon isn't hitched to msvc and msbuild quite so tightly. it seems good but jesus did anyone ever write down how to use this thing? so far this is the best learning resource i've found but it's half-finished and the author's english isn't exactly great (totally understandable though). on the plus side it really does seem solid and vcpkg is designed with it in mind so it's theoretically possible (lol) to treat windows more or less the same as anything else.
|
# ? Nov 3, 2017 22:58 |
|
how do i prant web
|
# ? Nov 3, 2017 23:33 |
|
jony neuemonic posted:been dabbling with cmake just so my wagon isn't hitched to msvc and msbuild quite so tightly. it seems good but jesus did anyone ever write down how to use this thing? so far this is the best learning resource i've found but it's half-finished and the author's english isn't exactly great (totally understandable though). i loving hate cmake half the time it can't find libs installed on my system without me literally pointing it at them
|
# ? Nov 3, 2017 23:41 |
|
CMake the language sucks horrible rear end and is likely fragmented worse than Python 2/Python 3. It also holds plurality of usage, so you have to use it anyway
|
# ? Nov 4, 2017 09:18 |
Xarn posted:CMake the language sucks horrible rear end and is likely fragmented worse than Python 2/Python 3. python is not terribly fragmented
|
|
# ? Nov 4, 2017 10:06 |
|
cinci zoo sniper posted:python is not terribly fragmented Last time I was paid to work with Python, you could either use Python 2 and cloud compute (AWS Lambda, Google App Engine, ...), or Python 3 with non-lovely handling of unicode strings. IIRC AWS Lambda moved to Python 3 earlier this year, so there probably aren't many more widely used holdouts, but still, even last year there were significant reasons not to go with Python 3.
|
# ? Nov 4, 2017 12:22 |
Xarn posted:Last time I was paid to work with Python, you could either use Python 2 and cloud compute (AWS Lambda, Google App Engine, ...), or Python 3 with non-lovely handling of unicode strings. IIRC AWS Lambda moved to Python 3 earlier this year, so there probably aren't many more widely used holdouts, but still, even last year there were significant reasons not to go with Python 3. that's a very specific use case imo. the majority seems to have moved onwards to python 3 in the span of last 3 or so years
|
|
# ? Nov 4, 2017 12:34 |
|
I still use python 2 because for some reason we have a thing that relies on jython, which only recently made the jump from 2.5 to 2.7, and still doesn’t work properly in java 8 basically: if you’re still using python 2
|
# ? Nov 4, 2017 14:38 |
Same. gently caress jython
|
|
# ? Nov 4, 2017 14:56 |
|
|
# ? Nov 4, 2017 15:33 |
|
|
# ? Jun 8, 2024 15:45 |
|
jony neuemonic posted:been dabbling with cmake just so my wagon isn't hitched to msvc and msbuild quite so tightly. it seems good but jesus did anyone ever write down how to use this thing? so far this is the best learning resource i've found but it's half-finished and the author's english isn't exactly great (totally understandable though). please use meson, it's cmake except better
|
# ? Nov 4, 2017 16:17 |