|
jony neuemonic posted:i've seen tickets sit in code review for three weeks. no longer at that company, thankfully. I had a 3-line code review take four months in 2014 because I was changing this fundamental configuration file for one of our products and not a goddamn person at the company seemed to understand the full set of implications. Part of the delay was also because I had to write a separate project to backfill the data that the config change was causing. It was p neat.
|
# ? Mar 14, 2016 06:00 |
|
|
# ? May 11, 2024 10:31 |
|
we have three big software releases scheduled for one of our products. release 1, 2, and 3. they go in order, and each release builds on the previous one. except management keeps delaying release #1 because they dont want to accept a couple bugs that dont really matter and we should just accept for now, but they're also unwilling to budge on the scheduled release date for #3, so as of today our official schedule has us working on #2 and #3 in parallel, despite #2 being a dependency of #3. cool.
|
# ? Mar 14, 2016 06:23 |
|
ErIog posted:I'm loving around with a toy software renderer to learn more about graphics programming. I decided to use some code I wrote a few months back that spits out Windows BMP files. Now, I never really tested that code since it was also just dumb toy code, and apparently ErIog-3months thought it would be a great idea to reverse the endianness of a hexstring by calling reverse on it. i found this recently, you might find it helpful: https://github.com/ssloy/tinyrenderer
|
# ? Mar 14, 2016 06:35 |
|
CommunistPancake posted:i found this recently, you might find it helpful: https://github.com/ssloy/tinyrenderer Lol, what do you think the screenshot I posted was supposed to look like? edit: My triangle and line drawing code is a nightmare, but it allowed me to pull z-buffer information really easily. Results look way better than the really ought to. I highly recommend the above short tutorial as a way to learn about the key concepts behind 3D graphics. ErIog fucked around with this message at 07:00 on Mar 14, 2016 |
# ? Mar 14, 2016 06:42 |
|
ErIog posted:my dumb rear end loving up a simple byte order conversion. It's me. i wasted a lot of critical time the last couple weeks by not checking a bit order issue (because OF COURSE you read bits from high to low, and: nope)
|
# ? Mar 14, 2016 07:58 |
|
Valeyard posted:i need to listen to music to drown out this guys voice is this the same one that forces his changes to scm?
|
# ? Mar 14, 2016 08:11 |
|
fritz posted:i wasted a lot of critical time the last couple weeks by not checking a bit order issue (because OF COURSE you read bits from high to low, and: nope) read the ones first and then the zeros
|
# ? Mar 14, 2016 09:47 |
|
ErIog posted:I'm loving around with a toy software renderer to learn more about graphics programming. I decided to use some code I wrote a few months back that spits out Windows BMP files. Now, I never really tested that code since it was also just dumb toy code, and apparently ErIog-3months thought it would be a great idea to reverse the endianness of a hexstring by calling reverse on it. That looks a lot like my glitchy software renderer http://i.imgur.com/wEzSMAc.gifv
|
# ? Mar 14, 2016 13:06 |
|
netcat posted:That looks a lot like my glitchy software renderer that looks like a perfectly normal sequin teapot
|
# ? Mar 14, 2016 13:22 |
|
my software renderer in 1997 wasn't ugly at all: https://www.youtube.com/watch?v=eQvG9M2kcyY ...
|
# ? Mar 14, 2016 13:39 |
|
Awia posted:is this the same one that forces his changes to scm? yeah, that same joker
|
# ? Mar 14, 2016 13:45 |
|
Sagacity posted:my software renderer in 1997 wasn't ugly at all: That's really cool
|
# ? Mar 14, 2016 13:50 |
|
haha thanks it's ugly as hell though we improved over the years and eventually had nice subpixel accurate rendering and bilinear filtering etc, but by that point it was too late since everyone was doing (snort) accelerated 3d as a reference, this came out around the same time as our demo: https://www.youtube.com/watch?v=lfqMQG8pws8 it is infinitely more gorgeous
|
# ? Mar 14, 2016 13:58 |
|
Sagacity posted:my software renderer in 1997 wasn't ugly at all:
|
# ? Mar 14, 2016 14:00 |
|
netcat posted:That looks a lot like my glitchy software renderer Fun fact, this was the render that caused me to make the post you replied to, but it was less interesting than the nightmarish skull so I didn't post it. ErIog fucked around with this message at 14:50 on Mar 14, 2016 |
# ? Mar 14, 2016 14:48 |
|
fritz posted:i wasted a lot of critical time the last couple weeks by not checking a bit order issue (because OF COURSE you read bits from high to low, and: nope) never assume when it comes to endianness
|
# ? Mar 14, 2016 18:17 |
|
endianness is such annoying loving bullshit
|
# ? Mar 14, 2016 18:20 |
|
Bloody posted:endianness is such annoying loving bullshit we should just decide on one!
|
# ? Mar 14, 2016 19:10 |
|
Valeyard posted:yeah, that same joker did he learn how git/svn worked eventually?
|
# ? Mar 14, 2016 19:11 |
|
Awia posted:we should just decide on one! sure, mine
|
# ? Mar 14, 2016 19:12 |
|
JawnV6 posted:sure, mine excellent, you win, everyone sort their poo poo out
|
# ? Mar 14, 2016 19:36 |
|
you would think there's only big- and little-endian but no the things i have seen good lord
|
# ? Mar 14, 2016 19:39 |
|
Bloody posted:you would think there's only big- and little-endian but imagine i made a joke like that bit from blade runner
|
# ? Mar 14, 2016 19:41 |
Bloody posted:you would think there's only big- and little-endian but This sounds interesting. Tell us more!
|
|
# ? Mar 14, 2016 19:54 |
|
Bloody posted:you would think there's only big- and little-endian but i remember rolling my own guid decoder a billion years ago and some of the groups separated by hyphens have different endiannes for some microsoft reason
|
# ? Mar 14, 2016 19:54 |
|
i know i have seen something that had an endiannes where the bit order was likecode:
|
# ? Mar 14, 2016 20:19 |
|
LeftistMuslimObama posted:i know i have seen something that had an endiannes where the bit order was like why would you do that? is there some magical optimisation it lets you do?
|
# ? Mar 14, 2016 20:20 |
|
pointsofdata posted:why would you do that? is there some magical optimisation it lets you do? maybe the guy who was working on the circuit diagram hosed up and it was cheaper to just document it?
|
# ? Mar 14, 2016 20:31 |
|
pointsofdata posted:why would you do that? is there some magical optimisation it lets you do? i have no idea, i am not an architecture person. that was just the order the bits were expected to be in when passed to instructions. it was like some weird MIPS variant or something. I just wrote a helper function to deal with the bit twiddling and forgot about it.
|
# ? Mar 14, 2016 20:32 |
|
VikingofRock posted:This sounds interesting. Tell us more! it was basically whatever you get when you wire up a sd card for the 4-bit mode with the bits backwards. works out to like 4567 0123 or something idiotic like that. the employee responsible wasted around half a year on what should've been a 3-4 week project, overrunning the budget and pissing off the sponsor he still works here, four years later
|
# ? Mar 14, 2016 20:44 |
|
See middle-endianness Network order 4 lyfe
|
# ? Mar 14, 2016 21:12 |
|
basically bits are stupid and it's a blessing that outside of specific domains like embedded software modern platforms protect us from having to think about it
|
# ? Mar 14, 2016 21:40 |
|
MononcQc posted:See middle-endianness Lol An example of middle-endianness in everyday life is the American date format.
|
# ? Mar 14, 2016 22:17 |
|
need a recommendation. working on a personal project in c#. it involves managing files in directories configured by the user. basically it's just a metadata manager for files on your system. it's not really a problem that desperately needs solving but just something im doing for the hell of it. i have a relational structure in mind that involves 3ish tables, but ive never had to work with sql + c# before so i dont know what the best solution out there is. just sqlite plus some kind of orm? i'd pretty much need a table of hashes of files->path to file, a table of hashes of files->keys, and directories->hashes of files contained. that should let me assemble the needed information into any of the various in-memory structures i'd want for working in directories, listing files by metadata, etc.
|
# ? Mar 14, 2016 23:34 |
|
LeftistMuslimObama posted:need a recommendation. working on a personal project in c#. it involves managing files in directories configured by the user. basically it's just a metadata manager for files on your system. it's not really a problem that desperately needs solving but just something im doing for the hell of it. i have a relational structure in mind that involves 3ish tables, but ive never had to work with sql + c# before so i dont know what the best solution out there is. just sqlite plus some kind of orm? i'd pretty much need a table of hashes of files->path to file, a table of hashes of files->keys, and directories->hashes of files contained. that should let me assemble the needed information into any of the various in-memory structures i'd want for working in directories, listing files by metadata, etc. just use SQLite and EF
|
# ? Mar 14, 2016 23:37 |
|
never used ef before, so forgive me if this is a dumb question, but the big thing is that i'll want to query this data in a few different ways to list files by various pieces of the data (by directory, by metadata, alphabetically, etc). does ef allow that level of flexibility?
|
# ? Mar 15, 2016 00:19 |
|
LeftistMuslimObama posted:never used ef before, so forgive me if this is a dumb question, but the big thing is that i'll want to query this data in a few different ways to list files by various pieces of the data (by directory, by metadata, alphabetically, etc). does ef allow that level of flexibility? yeah, you can still query on whatever you want. i had some struggles setting up sqlite + ef in the past, hopefully they made that easier.
|
# ? Mar 15, 2016 00:29 |
|
use the sqlite.net driver it's first-party and then use sql like an adult
|
# ? Mar 15, 2016 00:35 |
|
Bloody posted:use the sqlite.net driver it's first-party and then use sql like an adult i might do this as a second option, but i think it would be good to use ef because part of the point is i want to learn some actual modern technologies so my skills arent just 100% the weird legacy poo poo i do for my dayjob.
|
# ? Mar 15, 2016 00:46 |
|
|
# ? May 11, 2024 10:31 |
|
sql is an actual modern technology; ef is not
|
# ? Mar 15, 2016 00:55 |