|
folks, the source control around here is one part making a new folder v.1.0.468 and one part something called accurev help
|
# ¿ Aug 30, 2018 18:03 |
|
|
# ¿ Sep 16, 2024 23:07 |
|
im prepared to run away to Belize if that's what it takes to get away from AccuRev™
|
# ¿ Aug 30, 2018 18:19 |
|
Feisty-Cadaver posted:AccuRev isn’t that bad if you have a decent use case for their version stream setup. what would those use cases be? Space Whale posted:Are unencrypted config files (and application code) with plain text as gently caress sql admin passwords BADbad, or BADBAD bad? it's a really bad idea and I'd advise against it
|
# ¿ Aug 31, 2018 00:28 |
|
ThePeavstenator posted:When he started here the first thing he worked on was an older VS solution that we have in a git repo. He then made new projects in this solution for everything he did because he didn't know how to create a new repo for a new solution (we use VSTS so this is easy as hell from Visual Studio even if you don't know git). He'd periodically (like once every week or so ) ask me to help him get his stuff "checked in" and every time I'd have to remind him that committing doesn't also push to remote. I'd also try to use this as an opportunity to teach him stuff about git but once he got his stuff committed, he brushed it off as a thing he'd worry about later. perfect in every way
|
# ¿ Sep 4, 2018 19:12 |
|
cinci zoo sniper posted:also im dumb and playing poe again so time to crack out my scala value counter for poe stash and finish it to some usable-ish state poe is cool and good
|
# ¿ Sep 10, 2018 13:11 |
|
if you held a gun to my head and said pronounce quaternions I'd say pull the trigger that could be because I've been staring at code:
and I'm ready to just go home by any means necessary
|
# ¿ Sep 10, 2018 20:56 |
|
Luigi Thirty posted:I was going to say “hey what if you’re on a system with weird bytes” then did a quick google and C99 says sizeof(char) is defined to be always 1 Yeah that was my first thought but then it's modern c++ written in the past 3 years explicitly for windows 7 and up so why this guy did this for 50+ variables (with NUM_OF_BYTES changing every couple variables) is beyond me but alas,
|
# ¿ Sep 10, 2018 21:48 |
|
Soricidus posted:uhuh yeah, my fun job tomorrow is throwing all of that in the trash and fixing it
|
# ¿ Sep 10, 2018 23:13 |
|
Luigi Thirty posted:homemade lisp status:
|
# ¿ Sep 12, 2018 11:55 |
|
white sauce posted:I'm working through the problems by myself already, I just kinda needed some guidance understanding some of the basics (like boolean operators). I've never really coded before and the teacher threw us a difficult first set of problems, so I thought I would need help from someone that already knows his poo poo. Dropping Big O in babies first programming class sounds cruel and unusual
|
# ¿ Sep 15, 2018 12:26 |
|
CRIP EATIN BREAD posted:i'm pretty sure that at my university, before i could take anything related to programming, i had to take an algorithms course that was nothing but reading/write pseudocoe and time complexity analysis. yikes Star War Sex Parrot posted:babies first programming class at my undergrad dropped EBNF on us day one jesus christ what the gently caress That wasn't until late year 2 for me, but the first two years were like math, engineering, chemistry (or physics but gently caress that) and some light programming along with some Liberal Arts DONT THREAD ON ME posted:doing theory out of the gate is going to weed out a lot of people who would have succeeded if they had more context first, imo. agreed
|
# ¿ Sep 15, 2018 16:00 |
|
Kilometres Davis posted:Fixing this database has turned me into the db janitor I came here to write software damnit this is why I'm afraid to reveal my sql knowledge at work
|
# ¿ Sep 18, 2018 00:55 |
|
wait helpful compiler errors exist?? tell me more... which book?
|
# ¿ Sep 18, 2018 12:25 |
|
time is evil
|
# ¿ Sep 19, 2018 20:02 |
|
Is there something about c that forces you to dump 40 some odd c and h files into a single directory, with vaguely cryptic names, and file lengths reaching to 5k lines (not generated) or are the people that wrote this broken I know enough c to be very dangerous but my work with other languages is telling me this is a pile of codesmell I've fallen into
|
# ¿ Sep 19, 2018 20:45 |
|
cZk posted:still better than node_modules ive barely had the pleasure but thats a real low bar to clear
|
# ¿ Sep 19, 2018 21:38 |
|
i think we're using PLM software as... a repository for software/firmware builds??.? I want to die
|
# ¿ Sep 20, 2018 17:28 |
|
hm yes let me just find the most recent version of source code on this piece of hardware they want me to debug hmm it's Part Number 6482-3556-846 revision b wait what the gently caress oh no steps to find the source for a build: Go to PLM, search for a loving part number If you find it, you go to the attached files, there's sometimes (but not always!!!) a file helpfully named SourceCodeLocation.txt Inside this text file (which may or may not exist) is the server, depot, stream, and snapshot for the source code in accurev how do I make them stop doing this holy gently caress
|
# ¿ Sep 20, 2018 17:50 |
|
JawnV6 posted:is there a fig leaf of justification like "13485" or is this just home-rolled goofiness I think it's hardware people who have been very confused about how to deal with software and firmware in relation to their hardware and they've been doing this for years and don't know any better I'm currently in the process of going through the Bill of Materials that contains sub Bills of Materials and downloading all these loving text files in the attachments for the sub-BoMs just so I can find the source code and fix this bug What I really want to do is find the CEO, turn him upside down, and shake him until money for git(lab/hub) and jira falls out because holy poo poo that would be such a massive improvement
|
# ¿ Sep 20, 2018 18:14 |
|
there's a file in the top level bill of materials titled SourceCodeLocation.txt It tells you to download the other ones
|
# ¿ Sep 20, 2018 18:40 |
|
It's a bunch of EEs and poo poo and like they can do C and know how to design and build hardware and whatnot but uh There's no testing for software, unless it manually done, there's the aforementioned PLM abuse, they barely use an issue tracker. There will be references to tickets in the SCM and PLM software but clearly they're not linked in any capacity. Builds are done manually, using I want to unfuck all this but I'm an intern so I'll just take this as a very valuable lesson about asking about their Process in an interview and suffer for the next 4-5 months e: actually not sure how much CodeWarrior is needed since you apparently use .exes to build??? AggressivelyStupid fucked around with this message at 19:13 on Sep 20, 2018 |
# ¿ Sep 20, 2018 19:05 |
|
the internet was a mistake
|
# ¿ Sep 20, 2018 22:38 |
|
folks, is it good or bad to have a, say 12 case long switch statement wherein each case calls a function however, whether or not this function does something or instead has the helpful comment "not implemented!" is seemingly at random i want to say bad
|
# ¿ Sep 21, 2018 14:34 |
|
My thought was just cluster the actually useful functions (there are two, I think) and have the rest just fall through It's all related to NMEA sentences, I want to say we're primarily interested in the GSV and GGA sentences, but I'm still scanning through this abomination its all plain old c ratbert90 posted:Depending on how "new" it is, it might be based off of Eclipse, at which point you can just download Eclipse and use CW's compilers. It's a MUCH nicer upgrade. 5.9.0 classic IDE AggressivelyStupid fucked around with this message at 14:57 on Sep 21, 2018 |
# ¿ Sep 21, 2018 14:42 |
|
digging through this we're doing some weird homegrown string splitting for the NMEA sentences and I'm pretty sure we could just make a copy of the string and use strtok and clean up a few hundred lines in this 4600 line file
|
# ¿ Sep 21, 2018 17:29 |
|
eschaton posted:make a class and a bunch of subclasses this will be hard to do in c Main Paineframe posted:terrible programmer status: writing code to scan dynamically-loaded javascript files for their function names at load time and recording them, so that I can get rid of them later by overwriting them all with undefined this is good, actually
|
# ¿ Sep 22, 2018 03:43 |
|
im a terrible programmer and c doesn't have classes that has not stopped the people that wrote that program im talking about from trying to approximate some aspects of classes very poorly im just going to track down the bug, fix it, and try to forget that the source code even exists e: oddly enough im pretty drat sure the microprocessor we're using supports c++ but we didn't choose to use it for reasons AggressivelyStupid fucked around with this message at 03:57 on Sep 22, 2018 |
# ¿ Sep 22, 2018 03:55 |
|
I'm also afraid of what they would have done with c++ available
|
# ¿ Sep 22, 2018 04:15 |
|
eschaton posted:classes is structs with pointers inside well, yeah, but the amount of effort it would involve to untangle this pile of spaghetti isn't really worth it its a low sale volume product, im just supposed to fix this bug, its seriously like 30-40 files with 2-5k lines of poo poo each quote:do you mean the processor has a C++ compiler available? yep
|
# ¿ Sep 22, 2018 16:53 |
|
CRIP EATIN BREAD posted:help i cut my fingers off with this tool because i lacked the basic understanding of how it works, and i spent no effort to learn it. the tool must be bad! this is me and accurev right now and i'm not sorry
|
# ¿ Sep 24, 2018 16:42 |
|
ctps: folks, I think I like C
|
# ¿ Sep 25, 2018 20:20 |
|
Yeah I kinda like that. Give me a rear wheel drive car with snap oversteer, give me a those dark scary corners, I lust for death
|
# ¿ Sep 25, 2018 20:38 |
|
extern has been slathered all over functions in this pile of poo poo c program and I'm like 99% sure functions are implicitly extern in header files there are some instances of variables being EXTERN, with EXTERN being conditionally defined to either nullstring or extern, depending on if __foo__ is defined this feels gross, could someone recommend some good reading for all this? my gut tells me we're doing poo poo very wrong but I don't have any concrete reasons why E: I've done some googling but keep getting c++ stuff which while interesting doesn't really apply
|
# ¿ Sep 26, 2018 21:14 |
|
theyre actually doing a lot of:code:
code:
i actually can't get the goddamn thing to build due to linker errors, straight out of source control, which is a cool and good feeling. there's approximately 200 .c and .h files in the folder, and only 90~ of them inside the codewarrior project. i dunno if embedded is normally this level of Hell or what but I kinda hope not
|
# ¿ Sep 27, 2018 01:46 |
|
JawnV6 posted:#ifdef guards to prevent multiple-inclusion (if that's actually what's happening) is better done with #pragma once i think this is exactly what is happening JawnV6 posted:sorry i have the memory of a goldfish, what's your goal here? just re-building something, trying to modify it, trying to do a new product with the old code base? fixing some bugs and just getting the drat thing to compile in the first place
|
# ¿ Sep 27, 2018 02:26 |
|
I was able to clear up the undefined linker errors by adding a few files to the project ended up with a multi defined error instead just before I left for the day!! Looking forward to untangling that tomorrow The annoying thing is that it's basically untouched since 2014 and these people don't have source control discipline so the compiled binaries that are in the PLM (god drat it) may well have been the result of changes that exist only on some dickhead who left last years computer I think this somehow makes me, the intern, the leading expert on this product lmfao AggressivelyStupid fucked around with this message at 02:59 on Sep 27, 2018 |
# ¿ Sep 27, 2018 02:53 |
|
eschaton posted:sounds like your internship is teaching you a lot you could say that, yes
|
# ¿ Sep 27, 2018 13:54 |
|
ctps: my boss barely pays attention to me so I'm just rewriting this entire project from scratch for fun instead of reading twitter
|
# ¿ Sep 27, 2018 19:19 |
|
AggressivelyStupid posted:ctps: my boss barely pays attention to me so I'm just rewriting this entire project from scratch for fun instead of reading twitter post username combo
|
# ¿ Sep 27, 2018 19:24 |
|
|
# ¿ Sep 16, 2024 23:07 |
|
I've got a question I couldn't find an answer to after a quick google, what uh, what is going on when someone hascode:
this seems dumb and bad note that there are no quotation marks around variableName what the gently caress
|
# ¿ Sep 28, 2018 14:39 |