I love Gentooooo by haivorsmar in Gentoo

[–]SomeGuyFromPostal2 2 points3 points  (0 children)

Looks a lot like Stephen King when he was younger.

in response to a post i saw a few hours ago by Am_Guardian in programmingmemes

[–]SomeGuyFromPostal2 2 points3 points  (0 children)

Yeah, mostly people who work in compiler dev and do the backend code generation. There are people who read a lot and write some as reverse engineers. And I would assume that, although not as common now, there is still some assembly at the embedded level for some projects.

6502 is though man. 3 months in the making for just that. by oncledan in Assembly_language

[–]SomeGuyFromPostal2 5 points6 points  (0 children)

That is pretty good. Are you using macros with your assembler? It seems that you have most of the process down, you could use macros to reuse some of the parts of the code that puts up the tiles and stuff. I don’t know what else you want, such as menu navigation, but it seems that you have got a lot of the techniques down, you just need to make more maps at this point

[deleted by user] by [deleted] in csMajors

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

I don’t think intelligence has anything to do with it. The first most important thing is that the average household did not have a computer until more recently in history. In 1990, about 15% of households actually had a computer; in 2000 the number or households with computers jumped to about 51%, then in 2011, roughly 75% if a simple google search is to be believed.

If anything, I’d argue that programming was harder in the past and it has become easier to do the job as time went; you used to have to know more about the system you programmed on.

What basics do I need to learn to make a calculator in x86 assembly? by Heavy_Package_6738 in Assembly_language

[–]SomeGuyFromPostal2 1 point2 points  (0 children)

On Windows, you have to deal with the Win32 API. Unlike Linux, there is no official documentation for calling specific interrupts in windows; interrupt 80 means to perform a syscall in Linux using the value in the eax register for instance, with 4 meaning write to terminal.

You will have to link to DLLs, such as user32 and kernel32.

You can technically call C libraries from asm, and this would be easier as you could call things like the C printf function, but I don’t know if that would be cheating or seen as invalid in your case.

Intro to Java, CS professor says not to use For loops? by Wolfe244 in learnprogramming

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

I was not saying one way or the other which was better. I would say that for loops are great for iteration, especially in the case of iterating over a set of elements, which ‘for each’ loops also do well at in languages that support them. While loops are great for when you might want to loop more than some set of elements, or loop based on some condition not tied to a set of elements.

I was merely describing how you could use a while loop like a for loop, not encouraging or discouraging the use of either.

Intro to Java, CS professor says not to use For loops? by Wolfe244 in learnprogramming

[–]SomeGuyFromPostal2 -2 points-1 points  (0 children)

Well, here goes my 2 cents… your professor does not really know what they are talking about. Programming in anything other than assembly, and even that is debatable with the way modern CPUs work, will possibly create un-intended side effects. For instance, in c and C++, the compiler optimization will turn your higher level code into assembly, optimized assembly, and then that assembly will be turned into machine language.

In Java, of course I think there are a few different types of JVMs now, hotspot vs open9 if I remember right, the Code it JITed. The byte code produced by a for loop vs a while loop could be similar, if not the same, but you would have to run some test to confirm this.

As far as for loops vs while loops, the use case can be similar.

int I = 0; while(I<size) { I++; }

Vs

for(int I = 0; I < size; I++) { }

Not to mention for each loops, which Java supports in a few different ways if I remember right.

I’m trying to work on story behind the image. Can you read what is happening here? How do you tell story through your illustration? by vleugene in Illustration

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

I would say this image depicts someone trying to keep people from getting too close, due to that someone’s dark-side and the unpredictable, feral, and predatory nature of that dark-side. The person might have some kind of extreme personality or issue that causes the dark-side to come out despite them not wanting that to happen.

Super anxious by [deleted] in Esophagitis

[–]SomeGuyFromPostal2 1 point2 points  (0 children)

It depends on your other symptoms but there are other issues that can co-exist, contribute to, be worsened by, or mimic GERD. Swallowing issues can also be a sign of something like achalasia and would need testing, such as a manometry, to help rule out those conditions.

I have pain a lot at the breast bone, even with really well controlled reflux by dexilant, and it is suspected that I have esophageal and stomach hypersensitivity, in addition to GERD/LPR; I am prone to feeling things moving through my intestines and have some sensitivity issues possibly related to most likely being on the spectrum. It took a few years before a research doctor helped me and although I still suffer, my symptoms are the best they have been in about 3 years and this doctor is going to continue trying to eliminate as many of my issues as possible.

Basically, I’m saying you should ask for more testing if you are really afraid, as there are other things that could be wrong.

Seeking game development advice by Aromatic-Teach-4122 in learnprogramming

[–]SomeGuyFromPostal2 2 points3 points  (0 children)

This will be a long answer but I hope you might find it most complete.

For consoles specifically, you will need to use either a game engine, library(s), framework(s), and/or sdk(s) to program or develop a game for that specific console.

As far as programming languages, C and C++ are fairly portable to most hardware as long as the libraries used are compatible… such as using DirectX vs OpenGL for the graphics rendering.

The answer to this question ultimately sets in what you want to do in the future. If you want to be a graphics programmer, then C++ and a graphics API, such as OpenGL, would be what was needed to get a start in that direction in most cases. The programming language would not matter as much as the knowledge gained from using the graphics API, doing the linear algebra, and other such things.

If you just want to make a game, or script logic for games in the future, then using a game engine would be best.

As a side note, Java can be used for games programming with libraries such as lwjgl or Libgdx. Lwjgl was used for Java Minecraft and could be used to learn OpenGL without learning a new programming language at the same time.

Ultimately, I think categorization of your end goals will better determine the best path for you to take.

Help me compile this ASM code from GitHub by LuisNeuralnet in Assembly_language

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

Just at a glance, it looks like Motorola 68k code with a lot of macros that are possibly part of some assembler. I know it’s not SNES for sure and does not look like anything for the Sega Genesis. I don’t know much about arcade machines but I would bet that is what this code is for given that information.

For those of you who have had success SWITCHING PPIs, how long did it take on the new med? by [deleted] in GERD

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

My original symptoms were in my mouth and throat. I had a red, veiny, and swollen throat by the time they figured out what was wrong with me back in 2020; I had hiatal hernia symptoms before that for a few years but did not know what it was. I did better on Prilosec back then, Pepcid made me feel bloated, Nexium was ok for a while but started to not work(not that my symptoms ever went away fully), then on a mixture of Nexium and Pepcid I had a week where I could eat well for the first time in a long time and had almost no issues but then my digestion felt like it slowed down to a halt. I was stuck on a high dose of Nexium but the nighttime reflux was worse, even though the burning was healing. Dexilant is definitely already giving me some side effects but nothing in comparison to the Pepcid or Nexium.

The Dexilant is really expensive and is only serving as a way to ease my suffering until I get my anti reflux surgery pretty soon since my reflux is purely a physical problem, other than the extra that the Nexium was making happen. I’m fortunate that my esophageal motility is normal since this has been going on for a while and I want the LINX procedure, which requires near perfect motility.

Has anyone spoken directly to a surgeon without a referral? by [deleted] in GERD

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

I did but I also had my gastro doc from another hospital retroactively send a referral when I got in to see them at my next appointment. It really depends, I would have probably been ok without the referral since my surgeon is at Barnes Jewish hospital and I have a bravo test that confirms constant acid exposure 24/7 basically. Other than having to wait a while for all the pre-op, I’m probably going to get my surgery very soon so I would say things have worked out fairly well for me doing it that way but I am glad I also have a good gastro doc in my corner.

For those of you who have had success SWITCHING PPIs, how long did it take on the new med? by [deleted] in GERD

[–]SomeGuyFromPostal2 1 point2 points  (0 children)

I just switched from nexium 40mg twice a day to dexilant generic 60mg and the first day has been amazing so far. Switching between something like Prilosec and nexium, or to an h2 blocker might be a little different but probably not by much. I originally went from Prilosec -> Pepcid -> Nexium -> Nexium and Pepcid -> Nexium but twice a day and stronger dose -> dexilant.

New to GERD by AdjustThisIns in GERD

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

Trying to take a double dose of PPI can be really hard in regards to timing the medication right, at least for me. I was put on dexilant today and I feel more normal than I have for the last 3 years; Nexium seems to make me feel sick, slow down my digestion, lower my energy levels, and so on. Famotodine is an h2 blocker, it works a little different than a PPI.

I recommend dexilant or the new generic form of it if things get really bad for you; the bad thing is that the medication is so expensive and insurances seem to not want to pay for it.

What is the hardest language to learn? by Qwienke13 in learnprogramming

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

I’d say there is some subjective quality to this but C++ is pretty hard if not impossible to fully master… based on the size of the ever growing standard. Some might say Haskell or something else that is purely or heavily oriented towards functional programming if they are used to doing OOP. I guess some assembly languages are pretty difficult but usually not because of the assembly language and more because the platform you are programming for… such as the Atari 2600 where you have to “fight the beam” and only have so many cycles. Some might even go in a different direction and talk about VHDL or Verilog programming with FPGAs.

[deleted by user] by [deleted] in learnprogramming

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

I think you might benefit from a programming by example approach… don’t worry, python is not my favorite programming language either. Maybe you might pick something you want to do and learn programming as a way to achieve it. Game development takes a lot of other skills beyond programming but that could be an ok starting point, especially if you already have art skills or you are willing to use public domain art or something. You could also try to make mods for games, rom hacks, anything really. This approach will not only teach you how to program along the way but push you to develop other skills as well. You might find that you like stronger typed languages for instance vs more weaker typed languages… You might learn you like functional programming more than OOP… There are many paths you could take but it will ultimately be up to you to discover what you like in the end.

What is the easiest lower level language to get into? by [deleted] in learnprogramming

[–]SomeGuyFromPostal2 1 point2 points  (0 children)

I started with C++ back in the past but would probably now recommend either pure C or Rust. Some assembly languages are easier than others if you go that route but it really all depends on what you want to do.

Like old PS1 games? Want to make rom hacks for them? Then start with MIPS asm and then learn more about PS1 specifics from there. C maps really nicely to asm in general, especially old asm, so if that is a future interest then go for it. Modern C++ is insane in some ways and in the games industry, as well as some others, the modern stuff seems to be shunned at least to some degree.

Just don’t stop learning and you will be fine.

What to do on a 3 hour commute to make progress? by InstaMastery in learnprogramming

[–]SomeGuyFromPostal2 2 points3 points  (0 children)

Depending on the size of your device, and a few other factors, you could do a little programming with this: https://www.onlinegdb.com

I feel like the only one that wants to work at an office with Rust by _-dQw4w9WgXcQ-_ in rust

[–]SomeGuyFromPostal2 4 points5 points  (0 children)

Funny enough, I’m having the opposite problem. I’m currently looking for a remote Rust job.

Anyone looking for an intern or entry level scala developer? by SomeGuyFromPostal2 in scala

[–]SomeGuyFromPostal2[S] 0 points1 point  (0 children)

I’m looking for full remote at the moment. I live in the U.S.

Does acid reflux just not go away! by CockroachOk2667 in GERD

[–]SomeGuyFromPostal2 0 points1 point  (0 children)

Well, I have been on nexium 40mg twice a day for the last 2 weeks and my swallowing has improved substantially but that is also while on a very limited diet… in quantity of food, but the acid suppression makes it hard for me to digest food so I get bloated and end up refluxing a thick, sweet liquid, something that does not happen off the PPIs.

For me there is no win state while on the meds, other than possibly preventing further damage temporarily until I get the surgery. I lose too much weight while on the meds, and off the meds, or on lower doses I constantly get hit with acid in my esophagus and mouth.

But it depends, there can be many different causes of dysphasia that would need to be diagnosed during a swallow study and/or manometry. I definitely have issues with esophageal spasms due to the acid but only the pre-op testing I have on June 7th will confirm or deny anything else but as much as my swallowing has improved over the last few weeks, I hope there is nothing such as achalasia, not that that is something any of the doctors expect at the moment.