|
prefect posted:is it wrong to get irritated when an ide highlights a variable to let me know it's unused even though i just typed the stupid thing out and i'm going to use it in a second? it's not really an error yet, dammit it kind of is, you might as well get mad at the sun for shining
|
# ? Jan 15, 2014 18:44 |
|
|
# ? May 16, 2024 09:45 |
|
Nomnom Cookie posted:it kind of is, you might as well get mad at the sun for shining only on days when i have migraines
|
# ? Jan 15, 2014 19:05 |
|
the funny thing is, though, that no matter what you do to try and factor in experience and anticipate the fact that projects take longer than expected, youre still going to (way) underestimate the time it takes for the project to complete
|
# ? Jan 15, 2014 19:11 |
|
every time i try really hard to make an honest estimate and pad it to allow for unanticipated problems, the work takes almost exactly twice as long as i estimated. so now i just estimate everything at two weeks
|
# ? Jan 15, 2014 20:27 |
|
Nomnom Cookie posted:whats the difference between calloc'ing 1 element and malloc + memset i guess it really depends on the implementation of calloc, but both ways have the problem of setting bits to 0, which is not always a good idea because there is no guarantees that the logical value 0 is represented by 0s in memory, e.g. in the case of doubles http://c0x.coding-guidelines.com/6.2.6.1.html Pie Colony fucked around with this message at 21:04 on Jan 15, 2014 |
# ? Jan 15, 2014 21:00 |
|
git clone trooper posted:beep boop i wasted my entire life in front of a computer now I'm neitzches ubermensch
|
# ? Jan 15, 2014 22:04 |
|
today in sprint planning i suggested a couple of changes to our architecture. one can be rolled out slowly as we touch different parts, but the other is a sweeping change that requires a poo poo ton of work. both were accepted. oh god what have i done?
|
# ? Jan 15, 2014 23:32 |
|
i got my first largish internal java project running today and besides having to set up an insane mountain of poo poo in maven/svn/sql/eclipse, it's pretty great that it works now once it's all set up it's pretty straightforward but man
|
# ? Jan 15, 2014 23:37 |
|
Morkai posted:today in sprint planning i suggested a couple of changes to our architecture. one can be rolled out slowly as we touch different parts, but the other is a sweeping change that requires a poo poo ton of work. you're moving on up. if everything succeeds: you're a big success and had great ideas. if everything fails: you have architectural experience and have mistakes that you can draw upon as learning experiences that's how management-types do it
|
# ? Jan 15, 2014 23:41 |
|
we hadn't tested the app i have been running after 6 PM for 8 months until tonight when truck drivers were going to use it. turns out GMT offset means something. my boss had a hardon for sql views, and of course the logic is there and i have no control over the prod db. i am the worst developer (and my boss who got fired during the layoffs for being a poo poo)
|
# ? Jan 16, 2014 03:26 |
|
prefect posted:you're moving on up. if everything succeeds: you're a big success and had great ideas. if everything fails: you have architectural experience and have mistakes that you can draw upon as learning experiences truth. i have learned so much from my design gently caress-ups
|
# ? Jan 16, 2014 04:03 |
|
this week people started implementing one of my designs for the first time ever (previously i designed -> developed my own poo poo) i'm scared yospos what if they are dumb or my design sucsk
|
# ? Jan 16, 2014 07:04 |
|
BP posted:this week people started implementing one of my designs for the first time ever (previously i designed -> developed my own poo poo) you have your answer if you didn't design it like they were dumb, stop worrying your design sucks
|
# ? Jan 16, 2014 07:12 |
|
BP posted:this week people started implementing one of my designs for the first time ever (previously i designed -> developed my own poo poo) they are dumb and your design sucks but as long as it sucks slightly less than everyone elses poo poo ur good
|
# ? Jan 16, 2014 15:25 |
|
BP posted:this week people started implementing one of my designs for the first time ever (previously i designed -> developed my own poo poo) no worry about what if they're smart and ur design sux and they make a better design and tell ur boss and he's like "woahj i need this guy doing BP's job" and fires u
|
# ? Jan 16, 2014 18:02 |
|
another one of my lovely lecturers last term. gave us an assignment which was making a crawler for C source/header files to make a list of dependcies, written in Java. Half the marks were for a single threaded version and the rest of the marks were available for multi threading. he figured the hardest part would be us having to make thread safe hashmaps and queues. when i informed him there was atleast 1 standard threadsafe hashmap he told me they must have added it in the last couple of months - lol
|
# ? Jan 18, 2014 00:40 |
|
Valeyard posted:another one of my lovely lecturers last term. gave us an assignment which was making a crawler for C source/header files to make a list of dependcies, written in Java. Half the marks were for a single threaded version and the rest of the marks were available for multi threading. he figured the hardest part would be us having to make thread safe hashmaps and queues. when i informed him there was atleast 1 standard threadsafe hashmap he told me they must have added it in the last couple of months - lol LOL!
|
# ? Jan 18, 2014 00:58 |
|
xD
|
# ? Jan 18, 2014 01:13 |
|
MeruFM posted:so other than public and private, does anyone use protected or normal? protected is pretty useful for abstract classes isn't it. i don't know python.
|
# ? Jan 18, 2014 01:56 |
|
it is, my post was just worthy of this thread default scope is still weird to me though Python has no scoping other than import management, everything is public (except when it isn't, talk worthy of the other progrmaming thread). _ and __ are prepended to variables to let people know you shouldn't touch them, one scopes at the import level, the other fucks with the var name so it's harder to use. lolpython
|
# ? Jan 18, 2014 02:04 |
|
sounds kind of lame but i guess accessing vars with a leading underscore is basically equivalent to loving around with reflection to get at private fields or whatever.
|
# ? Jan 18, 2014 02:10 |
|
MeruFM posted:Python has no scoping other than import management, everything is public (except when it isn't, talk worthy of the other progrmaming thread). _ and __ are prepended to variables to let people know you shouldn't touch them, one scopes at the import level, the other fucks with the var name so it's harder to use. lmao, python is such garbage
|
# ? Jan 18, 2014 02:58 |
|
RICHUNCLEPENNYBAGS posted:sounds kind of lame but i guess accessing vars with a leading underscore is basically equivalent to loving around with reflection to get at private fields or whatever. p much this. theres always a way to break encapsulation if you really want to, the important thing is to make it obvious that you're doing something unsupported whether via setAccessible() or __ or something else
|
# ? Jan 18, 2014 10:39 |
|
MeruFM posted:it is, my post was just worthy of this thread you mean visibility, right? not scope
|
# ? Jan 18, 2014 12:13 |
|
i wish python had block-scoped variables
|
# ? Jan 18, 2014 12:44 |
|
i tried to read learning python once and the first 100 pages or so were about installing python on your computer so i never finished it.
|
# ? Jan 18, 2014 14:23 |
|
however, if you want to learn python AND have no idea how to use a computer it may be the book for you.
|
# ? Jan 18, 2014 14:24 |
|
use a linux and it'll be lots easier hth oh wait you mean you're too lazy to turn 100 pages? i see
|
# ? Jan 18, 2014 14:29 |
|
Mr SuperAwesome posted:use a linux and it'll be lots easier hth
|
# ? Jan 18, 2014 15:01 |
|
installing python and all the cool stuff like scipy on windows is more complicated than it should be HOWEVER lately I've been using anaconda and it's pretty sweet. heck it makes everything easier even on linux, you don't need to deal with old apt packages or installing poo poo with pip as much. so yeah, install anaconda and learn stuff using ipython notebook.
|
# ? Jan 18, 2014 18:58 |
|
i found some lovely distro called xypython or python xy or some poo poo that installs a lovely open sores IDE and all the scipy numpy or whatever poo poo for u on windows apparnetly but dont use that use VS w/python tools to write ur python its p nice oh and i think it has easy_install/pip or whatever for installing modules from inside vs
|
# ? Jan 18, 2014 19:04 |
or better yet, don't use python at all
|
|
# ? Jan 18, 2014 19:05 |
|
jetbrains's pycharm seems to install some package-management stuff that makes it relatively easy to install various things. haven't gotten really in depth with it yet, though
|
# ? Jan 18, 2014 19:06 |
|
Symbolic Butt posted:so yeah, install anaconda and learn stuff using ipython notebook. seconded, this owns
|
# ? Jan 18, 2014 19:10 |
|
gucci void main posted:or better yet, don't use python at all well yeah ofc we'd all use c# all the time if we could but sometimes u gotta fix someones lovely python project
|
# ? Jan 18, 2014 19:34 |
|
tef posted:you mean visibility, right? not scope visibility is variable separation via files?
|
# ? Jan 18, 2014 19:36 |
|
Also python owns, just don't be cute. And don't use functional stuff when list comprehension works just as well
|
# ? Jan 18, 2014 19:55 |
|
MeruFM posted:Also python owns, just don't be cute. And don't use functional stuff when list comprehension works just as well list comprehension is an adequate substitute, but i would rather have the really easy block-passing i have in perl or ruby. it's a tragedy that guido thought list comprehension was actually better than traditional lambdas/map/reduce i am not one of those fp spergs, i can't reason about lambda calculus or the y/k-combinators or really understand half the poo poo on LtU. i just want to write perfectly normal boring code in python the same way i would do it in perl or ruby
|
# ? Jan 18, 2014 19:58 |
|
gucci void main posted:or better yet, don't use python at all epic this.
|
# ? Jan 18, 2014 20:04 |
|
|
# ? May 16, 2024 09:45 |
|
MeruFM posted:I'm not familiar with the distinction how are you tutoring people dude
|
# ? Jan 18, 2014 20:06 |