|
you people and your 8080s. try implementing something fun and esoteric, like a belt machine. if your want real fun, build the whole thing in VHDL after your emulator is working. i did that for a masters course and still have nightmares
|
# ¿ Aug 27, 2018 04:35 |
|
|
# ¿ Apr 28, 2024 00:09 |
|
eschaton posted:LOL you say that like it’s some horrible inefficiency to traverse a few runtime data structures depending on your platform it absolutely can be, especially if it’s a common pattern
|
# ¿ Nov 16, 2018 12:54 |
|
moonshine is...... posted:My issue with debuggers was, learning gdb/or figuring out what gui frontend is good for gdb. My first language was C++ in college, it sucked I never got beyond making useless console apps with it. Now I'm working with C#, when it comes to writing C#, I love the debugger built into visual studio, it's way better than using console.writeline to sort something out. hot take: the gdb protocol is good
|
# ¿ Nov 19, 2018 13:57 |
|
I still about people rewriting FreeBSD’s jails in a Linux as this incredibly new amazing thing.
|
# ¿ Dec 13, 2018 13:09 |
|
Kevin Mitnick P.E. posted:i assumed that the thing op was talking about with pinning pods to hosts and hostPath volumes wasn't actually happening cause if you do that k8s is just a pointless complexity layer we have about a dozen pointless complexity layers in our game client, so I wouldn’t be surprised if there are a few in someone’s server config.
|
# ¿ Dec 15, 2018 15:04 |
|
akadajet posted:it's amazing how many incompetent people there are in tech it’s amazing how many of them make it to the top it’s almost like promotions don’t have anything to do with competence
|
# ¿ Jan 1, 2019 17:40 |
|
Slurps Mad Rips posted:“look in video game development we don’t have time for unit tests. if it looks like it works then it works”, my manager said as he hit “run” in visual studio 2010 and then refused to make eye contact with me as it immediately crashed from a pure virtual function exception. I had a lead ask me a few months ago what the point of a unit test was because it didn’t seem to test much. He proceeded to harp about how he wanted tests while rejecting any changes that would lead to testable structures. This lasted for about a month, in which time he wrote no tests. He often talks about how useful singletons are and extols the virtue of empty non-qualified catch statements. This is the type of brokebrained person that you get to deal with in games because they’re too connected to get the axe and too incompetent to get hired on with a reasonable dev team. I’m in process of convincing my manager and the rest of the team to move perf critical portions of the code to ECS to trick my coworkers into writing testable code. my manager and other teams managers are aware of my plot and in on it. a lead on a different team was against the shift in patterns until I explained that teaching ECS allowed an opportunity to teach people who thought they knew (but don’t know) reasonable practices what they should already be doing. they immediately understood and asked if I needed help getting the ball rolling. games are terrible. still better than government work though.
|
# ¿ Jan 21, 2019 23:23 |
|
pokeyman posted:can we start calling them "loc lines", like "yac yards"? it sounds so deliciously stupid and I think we could start a groundswell is “loc lines” better than compacting it into “klocks”
|
# ¿ Jan 28, 2019 14:01 |
|
Captain Foo posted:dehumanize yourself and face to cockroach name is super apt given their sales team
|
# ¿ Feb 14, 2019 01:09 |
|
DONT THREAD ON ME posted:the shell commands sed, echo, and cat form a turing complete language pretty sure you just need sed.
|
# ¿ Mar 2, 2019 21:43 |
|
CPColin posted:I wrote a BBCode parser for Experts Exchange's special unicorn of a BBCode flavor and, thanks to a long request notification service that I also wrote, discovered that mismatched italics tags exhibited O(n²) or O(n³) behavior as it repeatedly scanned the input back and forth, desperate to find a matching [/i] tag. That was a fun one to hotfix. counterpoint: SA is still alive, so that’s a pretty low bar
|
# ¿ Mar 28, 2019 16:39 |
|
Soricidus posted:congratulations you’re in the top 1% of professional programmers we should really pick that bar up off the floor someday.
|
# ¿ Apr 17, 2019 12:03 |
|
Private Speech posted:on one hand, LMBO at stealing code and admitting to it I found GPL code in a codebase once and had to explain to exec team what that meant and how to remediate. that was fun same re: CCbySA except replace ‘once’ with ‘basically constantly’ personally never been tempted to steal a codebase I’ve worked on because they’ve all been garbage. but people misappropriate code all the time.
|
# ¿ May 6, 2019 11:54 |
|
urea posted:These OOP insights just seem to me like really convoluted ways to do functional programming better than nonfunctional programming.
|
# ¿ May 6, 2019 11:57 |
|
florida lan posted:this describes my current employer's code base, and is doubly fun because it was checked in *by* the exec team
|
# ¿ May 7, 2019 11:33 |
|
BurntCornMuffin posted:Out of curiosity, what issues? I've used both over the years, but I like Gradle far better: it's more flexible, its build files are nicer to read, and the wrapper is great for enabling people to build without having to install the program. hot take: xml is fine. jason certainly isn’t any better. xslt is real bad though
|
# ¿ May 15, 2019 13:52 |
|
Xarn posted:This. There is a definite trend towards value-oriented error handling, and while I don't agree that there is no place for exceptions, it definitely fits better in some ise cases. I refuse to believe go’s error handling could be as bad as errno. error status is at least thread safe in go, right?
|
# ¿ May 17, 2019 12:13 |
|
Progressive JPEG posted:iirc errno is thread-local errno is thread local in modern versions of the spec, but originally it was a global var. of course when C was originally conceived multi core processors were somewhat rare.
|
# ¿ May 17, 2019 13:23 |
|
Fatal Error posted:c terrible programming s: turns out if you want to work on a project on linux and windows, you should make sure you're not using a reserved filename. aux user name post combo
|
# ¿ May 31, 2019 01:25 |
|
started doing some stuff with the server team here. go is such a godawful language for this, why would anyone use it willfully?
|
# ¿ Jun 3, 2019 23:03 |
|
fritz posted:are they 1- 4- 8- or 8-space tabs I use 3 space tabs to make it very obvious when people mix tabs/spaces
|
# ¿ Jun 12, 2019 11:52 |
|
Ciaphas posted:every time i see something like this i twitch involuntarily how about code:
|
# ¿ Jul 3, 2019 16:46 |
|
I just got a robocall from Belize. which of you is doing this?
|
# ¿ Jul 26, 2019 18:53 |
|
Bloody posted:ugggghhh this "thread safe" code is loving cursed. and not at all thread safe. it just has a lot of locks there’s a Job.Threading namespace at job that has a bunch of collections in it. all of them use the non-thread-safe system collections as backing types and don’t even lock. when confronted, the architect couldn’t identify what the problem was.
|
# ¿ Aug 4, 2019 23:11 |
|
Powerful Two-Hander posted:i think the problem here is that our server builds are hosed up and have the classic "whatever the default of the guy that built or possibly even deployed the image was using at the time" which is pretty funny if I'm honest just convert everything to internet time. the machines are already on the internet so it just makes sense.
|
# ¿ Aug 7, 2019 12:15 |
|
Xarn posted:Oooof, I wonder what set of evolutionary steps left a function with both an output parameter and a return value. probably the same as TryGetValue on a bunch of collections in c#
|
# ¿ Aug 29, 2019 11:44 |
|
Doom Mathematic posted:If it's all equally "important" then implicitly you can do the tasks in any order you prefer. I would start with the low-difficulty, high-value ones. this is probably the correct thing to do. but can someone tell me why all the fun stuff is high-difficulty, low-value? fake edit: it’s probably because all high value work gets sliced until it’s low-difficulty
|
# ¿ Sep 8, 2019 21:36 |
|
Soricidus posted:if I had a figgie for every time I’ve encountered a vital new requirement, sweated blood to deliver a solution in record time, and then watched it never be used, I’d have retired long ago yeah but how many times would you retire per year
|
# ¿ Sep 11, 2019 11:21 |
|
Krankenstyle posted:always use integers for money (eg in cents, 100 = 1 dollar, or whatever precision you need) this is all cool and good but banks don’t behave that way hth the world is on fire, nothing should ever work, no one actually cares
|
# ¿ Sep 17, 2019 11:23 |
|
found a C# list of ref types with a comment about locality author doubled down when I tried to point out that the guarantees they were claiming weren’t accurate, and that we had effectively no guarantee on what memory the objects were using
|
# ¿ Sep 24, 2019 01:37 |
|
eschaton posted:that’s essentially what the stupid “put a web renderer in the standard” proposal is why would anyone want that in the standard?
|
# ¿ Jan 3, 2020 12:21 |
|
eschaton posted:vi and vim are not and never will be “fine” you’re right, but neovim is great
|
# ¿ Jan 30, 2020 12:59 |
|
gonadic io posted:need a bit of design rubberducking. Ideally you'd have some lightweight tasks/futures library backed by a thread pool. Then the update thread manages the tasks lifecycles. The C# thread pool has a separate set of UI threads; I'd check the docs to see if rust's is similar. So yes; futures.
|
# ¿ Mar 22, 2020 13:14 |
|
taqueso posted:Acceptance tests of external libraries or really external anything are cool and good, too. http://propertesting.com/
|
# ¿ Apr 5, 2020 22:15 |
|
Wheany posted:if you see a terrible programmer, turn your monitor on Just get a matte monitor, then you don't have to look at terrible programmers so often
|
# ¿ Apr 13, 2020 11:32 |
|
Bloody posted:waterfall is awful lol It's better when people are honest about it instead of claiming they're doing something else though.
|
# ¿ Apr 23, 2020 22:28 |
|
dick traceroute posted:extensible meme language template meta-memeing
|
# ¿ May 2, 2020 11:50 |
|
ratbert90 posted:Chef is fine if you really need a client/server relationship. All of them are bad but none of them are better Just pick one, move on, and occasionally complain about it imo
|
# ¿ May 4, 2020 22:34 |
|
Ciaphas posted:i think this is the point where i need more directed learning on testing and testable code in general, rather than googling topics as i approach them (or shitposting here - not that i'm not grateful ) Working effectively with legacy code is good; you can lookup your complaint about code in the index.
|
# ¿ May 5, 2020 04:04 |
|
|
# ¿ Apr 28, 2024 00:09 |
|
abraham linksys posted:this is like my least favorite thing about leaving the safe single-threaded confines of js Just hold the state in its own thread. Then communicate between threads by dropping messages in thread safe queues. Easy.
|
# ¿ May 20, 2020 03:19 |