|
gonadic io posted:logstash has an issue where if you start it in a fresh docker container it can't start until it gathers enough entropy or some bullshit in practice this means a 15 min startup time Have it gather entropy by reading ur poasts
|
# ¿ Nov 17, 2018 14:07 |
|
|
# ¿ Nov 3, 2024 06:50 |
|
hi everyone I've solved all our problemscode:
|
# ¿ Nov 17, 2018 14:47 |
|
A friend of mine took a cool course at Carnegie Mellon when he was an undergrad that was described to me as a prof would give you some binary each week and your job was to hunt down problems or fix things in gdb. For new students I work with on programming projects, I tell them I don't give a poo poo if they don't have any presentable work done for any amount of time as long as they spent that time learning a debugger. This has paid off many, many times over
|
# ¿ Nov 17, 2018 16:13 |
|
uncurable mlady posted:imo effective logging and metrics are almost more important than being able to use a debugger if you’re working with distributed systems.
|
# ¿ Nov 17, 2018 18:30 |
|
floatman posted:Don't get me wrong, my current job is great, except for the one main thing which is the codebase for it. pwnd
|
# ¿ Nov 18, 2018 17:24 |
|
hahaha I do non-functional programming am I rite?!
|
# ¿ Nov 24, 2018 00:46 |
|
Schadenboner posted:fell asleep extremely worried I wasn’t going to ever wake up but unable to do anything about it. This appeals to some people.
|
# ¿ Nov 26, 2018 12:47 |
|
I took AP CS back when they used God's own language, Pascal.
|
# ¿ Dec 16, 2018 12:46 |
|
cinci zoo sniper posted:i took pascal class too. it was called scientific computing and it was university physics curriculum in 2012 because my alma mater was so poor they couldn’t afford matlab This makes me sad.
|
# ¿ Dec 16, 2018 16:40 |
|
Soricidus posted:there is a fundamental law of software that states that the only documentation that ever turns out to be important is the documentation that didn't get written Working examples covering your obvious cases are a) often the most useful documentation b) used (but I guess not read so much as copy pasted)
|
# ¿ Feb 17, 2019 19:12 |
|
just post your poo poo to stackexchange nbd
|
# ¿ Feb 17, 2019 19:12 |
|
|
# ¿ Feb 17, 2019 20:26 |
|
Soricidus posted:writing parsers is fun lol
|
# ¿ Mar 10, 2019 02:55 |
|
Chalks posted:Commit messages that link to the work item/ticket they were assigned is always useful no matter how terrible the developer. When ever you find insane code, you always want to know what they were trying to achieve when they did it. Gonna emptyquote this
|
# ¿ Mar 21, 2019 08:34 |
|
Terrible programming thread: Zlodo posted:boss: ah. I see. can't you just not make bugs in the first place?
|
# ¿ Mar 25, 2019 16:52 |
|
the talent deficit posted:all numbers in json are doubles I use this as proof that there is no loving god
|
# ¿ Jun 14, 2019 14:35 |
|
Beamed posted:is Midwestern guilt what midwesterners call catholic guilt when they move out of the midwest pmuch
|
# ¿ Jun 26, 2019 02:10 |
|
Ciaphas posted:c tp s: just discovered that this compiles fine in the project i'm bugfixing atm code:
man gcc posted:-fno-for-scope DrPossum fucked around with this message at 13:27 on Jun 29, 2019 |
# ¿ Jun 29, 2019 13:21 |
|
Achmed Jones posted:stop working
|
# ¿ Jul 1, 2019 00:03 |
|
NihilCredo posted:var guid = new System.Guid() Had to look this up, but I guess the right way is NewGuid() which will initialize with a random value rather than this which gives you 0?
|
# ¿ Jul 3, 2019 13:54 |
|
code:
|
# ¿ Oct 9, 2019 01:52 |
|
gonadic io posted:This could only be more terrible if you're a physics student. I swear they always had the absolute worst code As a former physicist this is 100% true. I had one kid who I couldn't convince to a) not use five-level deep nested loops and b) use indentation formatting said loops. Just start each line at the first possible position of each line, top to bottom, always and forever.
|
# ¿ Oct 9, 2019 13:06 |
|
Arcsech posted:uncle bob isn’t “kind of a tool” uncle bob says try clojure
|
# ¿ Nov 2, 2019 23:52 |
|
Plorkyeran posted:clean code is not worth reading. the good advice in it is mostly banally obvious or uphelpful, and there's a lot of not so good advice scattered in there. it's not actively awful like clean architecture is, but if it's never occurred to you that functions with too many arguments is a bad thing, you also probably aren't going realize that his proposed fix of moving things to member variables might not be making things any better. but you would miss the book-of-vile-darkness-quality art
|
# ¿ Nov 4, 2019 12:47 |
|
gonadic io posted:Maybe it's just my sleep deprivation but I can't actually see the bug missed that. I just figured it was the 20 min unmitigated spin lock
|
# ¿ Nov 10, 2019 14:19 |
|
Asleep Style posted:I DECLARE TECHNICAL BANKRUPTCY new thread title please
|
# ¿ Dec 5, 2019 13:52 |
|
code:
edit code:
DrPossum fucked around with this message at 00:42 on Dec 21, 2019 |
# ¿ Dec 21, 2019 00:38 |
|
The one of the many terrible things about js is also getting answers to your questions but everything changes so much it's out of date and wrong so it's an extra layer of shitdiving when you're trying to get your head above the poo poo
|
# ¿ Dec 31, 2019 22:26 |
|
Plorkyeran posted:posix says that filenames are just arbitrary strings of bytes as a garbage way of "supporting" systems that predate utf-8 and also don't store what encoding the filenames are encoded with anywhere. for some reason this makes linux users think that they actually should create files with names that are just arbitrary bytes and not utf-8. What is a file? [flings his wine glass aside] A miserable little string of bytes!
|
# ¿ Jan 15, 2020 07:44 |
|
i wrote a code today and it was terrible and im terrible and im going to do more tomrorow
|
# ¿ Jan 29, 2020 01:31 |
|
developers can have a little class inheritance as a treat
|
# ¿ Feb 5, 2020 14:33 |
|
abigserve posted:It's quick and it's easy and it's nice to read unlike you're posting
|
# ¿ Feb 26, 2020 13:17 |
|
taqueso posted:code is art comments are art I have given up commenting and delete them as responsibly as I can. If you can't read what's going on someone done hosed up
|
# ¿ Feb 27, 2020 03:36 |
|
Finster Dexter posted:terrible programming: Lower your expectations. Significantly.
|
# ¿ Feb 28, 2020 00:26 |
|
NihilCredo posted:because go doesn't support nullable primitives, so if you load a null column into an int field it cannot be set to nil go is a language designed for babby programmers to have maximum value extracted from them by google in big, already-defined google products
|
# ¿ Mar 2, 2020 11:50 |
|
ahhhhhhh yissssss this is what I come here for
|
# ¿ Mar 3, 2020 00:54 |
|
Krankenstyle posted:hmm this window doesnt show either, likely because im stupid add code:
edit: DrPossum fucked around with this message at 10:02 on Mar 20, 2020 |
# ¿ Mar 20, 2020 09:56 |
|
Krankenstyle posted:Weird, it doesnt for me I did this in Windows 10. ymmv code:
|
# ¿ Mar 20, 2020 10:50 |
|
Krankenstyle posted:this possum I'll try in a bit, kinda at work lol Try dropping all the lines with GL stuff just to get it running, too. It still worked for me. There's more overhead I've had to do in the past like setting up contexts and stuff, so there might be something missing for your environment. You'll also get better results with code:
|
# ¿ Mar 20, 2020 11:04 |
|
|
# ¿ Nov 3, 2024 06:50 |
|
Zlodo posted:maybe it can work in windows without implementing the event loop but not in linux Krankenstyle posted:yes you normally call it with like &event of type SDL_Event worked in linux without modification code:
excuse my 4k monitor
|
# ¿ Mar 20, 2020 22:26 |