|
i'm not really a programmer but unfortunately, i do a lot of programming. most of the programming i do would have been better off getting outsourced to india. i can't really post in serious programming threads because i'll basically jsut get made fun of, which is fine, but usually i'll get made fun of and my question won't get answered. so here is a SAFE SPACE for bad programmers to hang out and try to get better at stuff. i'll start this off with a question about preventing code from getting executed asynchronously. when does code get executed asynchronously? i always kinda figured that most code gets executed in a line, but it seems like when i call other functions, or espescially when i call some shell command, it won't actually block the thread and i'll end up with things happening at the same time when they really shouldn't be. i think they call this a race condition?? any pro tips?
|
# ¿ May 7, 2013 20:32 |
|
|
# ¿ Apr 27, 2024 23:23 |
|
horse mans posted:kill others then yourself umm did you not see the "SAFE SPACE" siren? I thought it made it pretty clear
|
# ¿ May 7, 2013 20:36 |
|
BONGHITZ posted:http://en.wikipedia.org/wiki/Impostor_syndrome at least im not a dunning kreuger
|
# ¿ May 7, 2013 22:39 |
|
Moist von Lipwig posted:op whats your workflow like my workflow is that i am the only person who does any programming at my company, and since no one else looks at it, it doesn't matter how poorly it's programmed as long as it doesn't wipe anyones hard drive. i've actually managed to create a fairly complicated content management system that does a bunch of media transcoding/web streaming. my company things it is the greatest thing since sliced bread. but i know when i leave this place, some poor idiot is going to have to take over and they are going to curse my name forever. also everything is driven by time. i would really like to take the time to l earn to be good at programming and write my programs properly, but i only get a day here and there to work on something, because most of my job is not programming. so i just get it done as fast as i can because otherwise it wont get done DONT THREAD ON ME fucked around with this message at 01:15 on May 8, 2013 |
# ¿ May 8, 2013 01:01 |
|
Silver Alicorn posted:I think maybe the community has gotten better, I haven't really paid attention since I stopped following slashdot i understood pointers pretty easily. my problem is more that i know they exist but i don't know the language specifics of whatever language i'm working with (espescially if the language isn't something like c which forces you to be explicit about what you're doing), so i get really confused when i start passing variables around around. when people say a programming language is pass by reference, does that mean you can call a function using pointers as variables? wheras some languages don't allow you to use pointers? if that's the case what is the appeal of a non pass-by-reference language?
|
# ¿ May 8, 2013 02:21 |
|
Jim Silly-Balls posted:I want to meet a farmer like you IRL someday. My mind can't reconcile a farmer also being a yosposter most yosposters are real salt the earth types though???
|
# ¿ May 8, 2013 02:31 |
|
^^^ that sucks and it is an example of why i really don't want to get any more serious about programming my company has been asking me if i want to move over to development full time. it's tempting because i honestly enjoy it a lot more than my real job (editing/coloring), but then i go into cavern of cobol or stack overflow and realize how hilariously underqualified i am to do any kind of real programming work. i think i am much more employable as "an editor who can kinda program" than i am as just a bad programmer. i may be undervaluing my skills though, i don't know. i put together a really nice content management system that streams video and does a lot of other stuff in two months without any web development experience. but the code is really, really, really bad. it works and it has never gone down unless i've taken it down, but i'm sure a hacker could exploit the poo poo out of it if they wanted to. tbh there is a lot of niche programming to be done in small or even big companies. one thing i did here was write a script that parsed music EDLs into an excel spreadsheet so we could send them to the music license people. it was a job that took some PA a few hours a week, and now it takes seconds. that stuff is invaluable but it doesnt take a computer engineer to do it. DONT THREAD ON ME fucked around with this message at 04:08 on May 8, 2013 |
# ¿ May 8, 2013 04:04 |
|
Tori CMOS posted:who gives a poo poo if it all fits together
|
# ¿ May 8, 2013 04:09 |
|
thanks i'm pretty sure i get it. that's kinda how i thought it worked i just didn't articulate it right. sorry about your gramps.
|
# ¿ May 8, 2013 04:22 |
|
i just want to write some code that I feel okay posting in public
|
# ¿ May 8, 2013 23:49 |
|
echinopsis posted:external libraries ruin languages sorry, how!!!! this thread is for inexperienced programmers only, please leave
|
# ¿ May 9, 2013 03:19 |
|
here's a cool tip i figured out: you're an idiot if you make your webpage in rails/django/something else equally easy to work with. you're even more of an idiot if you try to do it in perl/php when you don't have a reason to (supporting legacy poo poo). as long as you dont have a twitter account, you can use rails without shame.
|
# ¿ May 9, 2013 03:46 |
|
keygen and kel posted:don't get me wrong i kind of like my life most of the time, and having done some really hard and horrible manual labour jobs i'd take my job any day, but if i could go back in time i would have studied harder and become a cult leader or something. i dunno when i was doing manual labor i was so tired all the time the only thing i could stress about was my job. now i have tons of surpluss energy but no surplus motivation and my job isn't that stressful so instead i stress about how generally unhappy + unhealthy + terrible my life is.
|
# ¿ May 9, 2013 09:18 |
|
sublime text 2 is awesome and worth 70 dollars, not that i paid for it vi is probably better but i tried learning it once and it's too much work
|
# ¿ May 10, 2013 19:51 |
|
I am finding javascript/jquery really difficult to understand. Is there a decent resource for learning js or should I just kill myself
|
# ¿ May 10, 2013 19:56 |
|
Jquery is p easy it's the functions nested within functions nested within functions from js that I don't really get
|
# ¿ May 10, 2013 20:01 |
|
Sniep posted:btw this is not because apple gives 1/2 of a gently caress about that $99 but it sets a (low) bar to entry so that not every idiot who downloads xcode shits up the market with garbage fart apps 24/7 it also ensures that if you want to create malicious software, you have to give apple your credit card and info about who ayou are
|
# ¿ May 11, 2013 04:00 |
|
gucci void main posted:it's not really that weird after about an hour. just read stephen kochan's programming in objective c book, as it's basically the bible for the language. it's not too hard to learn, the real difficulty is in getting used to using the cocoa framework as objc itself is completely useless without it. whatever you do, dont use search in apples documentation, it will get you nowhere. and don't bother with NSTask
|
# ¿ May 12, 2013 00:40 |
|
Martytoof posted:i don't really care if objc is verbose. I'd rather see a half sentence long method name with args interspersed than something like doAThing(a, e, i, o, u, y); the verbosity is fine for methods and etc but it would be nice if they had some easier syntax for doing things like allocating/initializing arrays/dictionaries/etc. it seriously takes 2 lines to make an empty goddamn mutable array
|
# ¿ May 12, 2013 01:20 |
|
ur going to have some pretty stiff competition from me just signed my first app today
|
# ¿ May 12, 2013 04:16 |
|
what is a checked exception and why do you idiots care
|
# ¿ May 15, 2013 01:11 |
|
code:
|
# ¿ May 16, 2013 03:07 |
|
lol is that a windows thing? can't be worse than NSTask
|
# ¿ May 16, 2013 19:22 |
|
quote:any protips for a fledgling cowboy programmer who needs to make tools other people may have to maintain and use. im still way ahead of most college grads in that i Give A gently caress and dont care what tool it takes to get the job done right, i dunno, yospos help? learn to make your code as portable as possible (buy a macbook air)
|
# ¿ May 17, 2013 02:33 |
|
That's really an easy mistake to make. If you showed it to him he'd probably see the error immediately. I mean if he really doesn't understand why it's wrong, then he's a bad program. Looks like he's just human tho Woops I thought I was replying to a post that was just made. It's back a page. Can you guess which one?
|
# ¿ May 20, 2013 20:35 |
|
Ronald Raiden posted:you are talking about this right. Anyway idk what language or whatnot that is but my guess as to why DoNeedful wasn't executed would be that datagridrow[hardcodednumber].value does not == datagridrow[anotherhardcodednumber].value finally some terrible programmers in this thread
|
# ¿ May 21, 2013 07:10 |
|
prefect posted:in my (limited) experience, the perl community is pretty sensible if you love regular expressions, have i got a language for you
|
# ¿ May 21, 2013 15:16 |
|
wizard magic, yes, that's my problem with regular expressions (tbqh i don't really know a better way to parse lots of text, i guess my solution to regular expressions is to get a job that doesn't involve parsing a lot of text).
|
# ¿ May 21, 2013 15:22 |
|
the reason regex are so popular in perl is because regex syntax is actually much better than perl syntax
|
# ¿ May 21, 2013 15:30 |
|
i feel like regex only exist out of a mistaken attempt to impress girls 'yeah that's a pretty scary lookin regex, just gonna leave it up on my screen here, that'll impress her'
|
# ¿ May 21, 2013 15:32 |
|
clearly you open up a shell for some reason or another "just gotta check some computer stuff" while you're installing her printer
|
# ¿ May 21, 2013 15:36 |
|
Seems reasonable
|
# ¿ May 21, 2013 16:33 |
|
do you accept applications from terrible developers willing to relocate
|
# ¿ May 23, 2013 19:54 |
|
babies first development ecosystem
|
# ¿ May 23, 2013 21:10 |
|
Nomnom Cookie posted:Why would you want to hire someone looking to move to the south. Might as well hang up a RACIST poo poo EMPLOYEES WANTED sign ummm there are way more black people in the south, it's like being the opposite of a racist in the north it's like "oh we're not racist, we love the 2 black people we allow to live in our gated communities"
|
# ¿ May 23, 2013 21:54 |
|
heh just as good as engineering humor, if you ask me
|
# ¿ May 24, 2013 01:08 |
|
i just made a thing that exports excel spreadsheets by creating an excel template where I put !!H1!! !!H2!!...etc in every cell and then doing a sed in sharedStrings.xml for those keywords. way easier than figuring out the xlsx formatting poo poo
|
# ¿ May 28, 2013 20:56 |
|
every time i get probated (a lot), i secretly feel kinda bad about it (once or twice ifelt really bad because i definitely deserved it). if anyone ever commented on or cared about it i think it would suck a lot more than i'd ever admit
|
# ¿ May 29, 2013 08:30 |
|
CamH posted:why is that even a setting (no didnt) lol'd irl at this exchange
|
# ¿ May 30, 2013 21:39 |
|
|
# ¿ Apr 27, 2024 23:23 |
|
use iOS maps idiot
|
# ¿ May 30, 2013 22:35 |