|
carry on then posted:my computer organization course was in masm and it wasn't too bad imo, but we stuck to ia-32 so maybe amd64 is worse? Same, it wasn't so bad and I even made a space invaders game with it
|
# ? Jul 19, 2018 17:56 |
|
|
# ? Oct 4, 2024 11:49 |
|
VikingofRock posted:Hey male shoegaze if you're getting exponential compilation times you should file an issue on the rust GitHub. They take solving that sort of thing pretty seriously so I'm sure they would be very interested in hearing about your case. yeah i plan to. i only hit the issue last night and i need to isolate a test case first because my poo poo is pretty crazy right now.
|
# ? Jul 19, 2018 18:35 |
|
Circleci goes down during us trying to hotfix prod. Fml.
|
# ? Jul 19, 2018 18:43 |
|
If you want a light start with assembly and low level programming I'd suggest tinkering with an 8 bit cpu like 6502 or z80. Make nes or gameboy homebrew
|
# ? Jul 19, 2018 18:54 |
|
yeah nes is really well documented and doesn’t have too much to trip you up. plus you get to show off your cool Nintendo game! 6502 is real simple but has just enough kinks to make you think
|
# ? Jul 19, 2018 19:00 |
|
MALE SHOEGAZE posted:JawnV6 (or anyone else): recommendations on where to get started learning assembly? it's about time. (Keep in mind I'm a lazy bitch and the last time I ever did it was a FizzBuzz for a company that I figured wasn't going to hire me that I wanted to annoy)
|
# ? Jul 19, 2018 19:06 |
|
Peeny Cheez posted:Codier Than Thou. This is amazing I'm stealing it
|
# ? Jul 19, 2018 19:13 |
|
does nand2tetris cover “real” enough assembly language? because it looks like a rad course.
|
# ? Jul 19, 2018 19:17 |
|
Codier than Thou is a phrase i've been needing, perfect.
|
# ? Jul 19, 2018 19:18 |
|
i ams an wordsmith edit: But if you must, 6502 is a good way to start. It'll get your head around the core concepts and there's like 40+ years of examples and people trying to do whatever you're trying to do. Ellie Crabcakes fucked around with this message at 19:37 on Jul 19, 2018 |
# ? Jul 19, 2018 19:31 |
|
Peeny Cheez posted:Why tho? It's one of those things that you never do unless it's absolutely necessary or you're Codier Than Thou. but i really can't imagine doing anything low level without some reading. sure don't go memorize the ISA/PCS/ABI, but be familiar with the documentation and how to read it. i don't inspect most asm i generate, but in a debugging or investigation that step is crucial
|
# ? Jul 19, 2018 19:37 |
|
every time ive messed with asm, i've had several documentation sources open. it's been a while, but sometimes I play with gameboy stuff and that's in a funky version of z80
|
# ? Jul 19, 2018 19:46 |
|
VikingofRock posted:Can we talk about the elephant in the room here? What possessed everyone to use and Visual Studio will finally support it
|
# ? Jul 19, 2018 20:11 |
|
tinaun posted:male shoegaze you should write a blog chronicling your HKT rust adventures, there's fp nerds on the lang team who would probably love to read about it they might also start treating some of it as a test case, ensuring it gets recognized, compiled, and optimized as best it can
|
# ? Jul 19, 2018 20:24 |
|
MALE SHOEGAZE posted:JawnV6 (or anyone else): recommendations on where to get started learning assembly? it's about time. you could do worse than to read her are posts but really, fooling with something like 68K In emulation can really help you get a feel for it
|
# ? Jul 19, 2018 20:26 |
|
jit bull transpile posted:i learmed mips assembly for my compilers class and it was a pretty easy way to get my toes what with an assembly language. i have no loving clue how well that translates to the x86 shibboleth because ive never tried to gently caress with that poo poo. i did too. if one's goal is to learn the general theory and practice of how native code is executed on hardware, I'd definitely suggest going with an easy to learn architecture like MIPS Peeny Cheez posted:Why tho? It's one of those things that you never do unless it's absolutely necessary or you're Codier Than Thou. knowing about computer organization and assembly language isn't 100% a prerequisite for being a good programmer, but it's something that can help in several areas. understanding how your algorithms and data structures will exist and run on hardware is helpful in debugging, especially when you're trying to diagnose or improve performance problems. it can also be helpful when you are having problems on one type of hardware but not another
|
# ? Jul 19, 2018 20:41 |
|
Lutha Mahtin posted:i did too. if one's goal is to learn the general theory and practice of how native code is executed on hardware, I'd definitely suggest going with an easy to learn architecture like MIPS just ... not the kind of mips they used in ps1-era consoles, in which the instruction after a jump is always executed even if the jump was taken, and the instruction after a read or store will still see the old value
|
# ? Jul 19, 2018 21:26 |
|
nah just download the SPIM simulator to start with. it uses regular old mips32. it also lets you monitor system values, inspect memory, and other fun stuff. you won't be making video games with it but it's useful for learning the basics http://spimsimulator.sourceforge.net/
|
# ? Jul 19, 2018 21:33 |
|
Learn RISC v then Similar to MIPS except no delay slots or weird multiplication registers and in 2018 it is exactly ad relevant as MIPS ie not at all
|
# ? Jul 19, 2018 21:49 |
|
i keep trying to figure out who risc-v is for besides academic wanking certainly enthralled a bunch of x86 expats i know, but the only credible investor storytime i heard was "china phone makers" who don't give a poo poo about the 3 encumbered MIPS shift instructions anyway
|
# ? Jul 19, 2018 21:57 |
|
does the "open" part of risc-v even matter really? like wouldn't you still be dealing with patents and crap for other parts of the chip design/manufacturing, and also if you wanted to include any other useful hardware in a device
|
# ? Jul 19, 2018 22:16 |
|
i mean there's something to be said for entire $1bn-$1tn market sectors not being intel's or qualcomm's bitch but we're at least a decade away from breaking those strangleholds it's cool in the meantime but yeah not very relevant beyond academic exercises.
|
# ? Jul 19, 2018 22:20 |
|
learn ia64 op
|
# ? Jul 19, 2018 23:07 |
|
Ok. I ran into a bug the other day that is just... incomprehensible to me. Long story short, I'm working with an arduino-based project that uses ArtNet for controlling some lights. ArtNet is basically DMX sent via UDP packets. I'd fiddled with a test program a bit, and it worked great. I basically copied the code from that directly into my actual program. I use a seeedstudio W5500 Ethernet breakout board for my network connection. So a few days ago, I start doing testing of the code, most of which was untested and written while waiting at airports. I'm mostly testing that state-changes and logic works well, and I'm not particular concerned about the Artnet portion of the software, since it's very simple, and I do simple lighting ramps all the time. So, I have the arduino connected to a network for some other UDP-based functions, but I don't bother to connect the Artnet receivers. I notice during the setup(), where I do a quick light fade, that the for() statement is taking forever. Like, each Artnet packet is taking literally 5 seconds to go. It's nuts. I can't suss out what the code issue is, so I eventually just comment it out and worry about it later. I eventually run the original test program, and it's doing the same thing! So now, I finally hook up the Artnet hardware to see if it really is acting that slow or if my feedback is just acting stupid. The lights connected to the receiver start cycling nice and smooth. I look over, and the serial feedback is spitting out numbers 40 times per second, like I expect. Further experimenting reveals that the critical issue is if an ArtNet device is connected to the network at the proper IP to receive the command. If there's a receiver, it works great, if not, the software crawls. This makes absolutely no sense. The device shouldn't care if the UDP message is being received. Heck, I don't think it has any way of knowing. WTF? Maybe it's something in how the arduino UDP stack is implemented. Maybe something with my switch bouncing back those messages and filling up the W5500 chip's buffer? I don't know. Anybody have insights? For reference, here's the test program I used for my ArtNet Stuff: code:
|
# ? Jul 20, 2018 01:28 |
|
Looks like X really gave it to ya
|
# ? Jul 20, 2018 01:32 |
jit bull transpile posted:Looks like X really gave it to ya
|
|
# ? Jul 20, 2018 01:39 |
|
jit bull transpile posted:Looks like X really gave it to ya
|
# ? Jul 20, 2018 03:01 |
|
jit bull transpile posted:Looks like X really gave it to ya
|
# ? Jul 20, 2018 03:15 |
|
jit bull transpile posted:Looks like X really gave it to ya
|
# ? Jul 20, 2018 03:20 |
|
ARP timeouts?
|
# ? Jul 20, 2018 03:33 |
|
Soricidus posted:just ... not the kind of mips they used in ps1-era consoles, in which the instruction after a jump is always executed even if the jump was taken, and the instruction after a read or store will still see the old value I've mentioned the weirdo isa I write in at work sometimes and it's got nice deep delay slots for all sorts of instructions
|
# ? Jul 20, 2018 04:27 |
re: dropped prod database. turns out a team lead confused two projects and thought he was in the test environment of project B, when he was in prod environment of project A. thankfully there were actual nightly backups and everything was restored in order fashion, sans literally a dozen primary licence keys being invalidated
|
|
# ? Jul 20, 2018 10:37 |
|
and the backup works as well? wonders never cease
|
# ? Jul 20, 2018 10:37 |
Boiled Water posted:and the backup works as well? wonders never cease weirdly enough i only had to remind twice about broken replication, otherwise it did work as advertised
|
|
# ? Jul 20, 2018 11:30 |
|
lol there’s a loop in our message bus wreaking havoc. i warned that this would happen if we continued to rely on kinesis as our only method of ipc for our 30+ micro services, but service to service calls are still forbidden because they create coupling DONT THREAD ON ME fucked around with this message at 17:47 on Jul 20, 2018 |
# ? Jul 20, 2018 17:45 |
|
No wonder a PhD track or learning assembly seems appealing to you at this point.
|
# ? Jul 20, 2018 17:53 |
|
phds are fine if you want to be in academics for the rest of your life and you hate writing good code. but lol if you pay for your graduate studies, you'll never make the money back. if it's not paid for by the school it aint worth it.
|
# ? Jul 20, 2018 17:57 |
|
I honestly don't know much about how academia functions, I mostly threw the PhD thing out because if I'm going to go get an undergraduate degree at 32, I want to make sure that I'm getting the most out of it. If a masters is sufficient to unlock the jobs I'm interested in, that's fine. But really, I think that I'll probably be able to get myself on the right path with a year of dedicated study, making open source contributions in the areas I'm interested in, and being willing to accept positions that pay less than I'm making now. What it comes down to is: When I started my career, I chose web because it was the most accessible path for a very inexperienced programmer with no college degree. Since then, I've been operating under the assumption that webdev is just the best I'm gonna be able to do (as a terrible programmer with no college degree). But honestly, I'm a great programmer who works very hard and there's no reason for me to limit myself to webdev when I desperately want to do something else. I shortsell myself ITT as a defensive mechanism because it's easier for me to pretend to not care than it is to care and be wrong. But honestly, I love this poo poo, I am serious about programming, and I don't want to spend my career figuring out how to shoehorn functionality into CRUD apps with developers who just want to clock out at the end of the day and never think about programming again (not that there's anything at all wrong with that, but it's not me).
|
# ? Jul 20, 2018 19:12 |
|
i do realize that im setting myself up for a big disappointment when i realize that everyone is doing garbage programming. but there must be fields that are better than webdev
|
# ? Jul 20, 2018 19:30 |
|
|
# ? Oct 4, 2024 11:49 |
|
MALE SHOEGAZE posted:but there must be fields that are better than webdev
|
# ? Jul 20, 2018 19:33 |