
Helloooo! I am Moose! They/Them/He/Him I am a embedded software engineer with autism, depression and anxiaty ( Wooo! ). I post about... whatever I want... software things, mental health things... whatever I feel like Feel very wellcome to send me asks about... anything that strikes your fancy :3
266 posts
I Scared The Dog With My Sudden Screaming Laughter...
I scared the dog with my sudden screaming laughter...

-
salamansir liked this · 9 months ago
-
ms-nesbit reblogged this · 1 year ago
-
jumbleverse reblogged this · 1 year ago
-
xemnaspvpboss liked this · 1 year ago
-
persimmon-tree reblogged this · 1 year ago
-
helloivymew reblogged this · 1 year ago
-
helloivymew liked this · 1 year ago
-
castur1 liked this · 1 year ago
-
joyouskimptentrailblazer reblogged this · 1 year ago
-
joyouskimptentrailblazer liked this · 1 year ago
-
dancingfishees liked this · 1 year ago
-
iactuallytryingtolovemyself reblogged this · 1 year ago
-
iactuallytryingtolovemyself liked this · 1 year ago
-
greatbiscuitpickledreamer reblogged this · 1 year ago
-
greatbiscuitpickledreamer liked this · 1 year ago
-
jt33333 reblogged this · 1 year ago
-
jt33333 liked this · 1 year ago
-
purpleromano reblogged this · 1 year ago
-
glassballdinosaurs reblogged this · 1 year ago
-
narisz reblogged this · 1 year ago
-
narisz liked this · 1 year ago
-
coldpizzaboy liked this · 1 year ago
-
seriousy-though reblogged this · 1 year ago
-
seriousy-though liked this · 1 year ago
-
the-claire-witch liked this · 1 year ago
-
surelynotapornbot liked this · 1 year ago
-
transactinides liked this · 1 year ago
-
gibdabobo reblogged this · 1 year ago
-
serigel reblogged this · 1 year ago
-
hercrusadedinosaur liked this · 1 year ago
-
maskedferret liked this · 1 year ago
-
blueferalcat liked this · 1 year ago
-
mxmuffin liked this · 1 year ago
-
juniperbutt reblogged this · 1 year ago
-
12december2017 liked this · 1 year ago
-
dogepope reblogged this · 1 year ago
-
dogepope liked this · 1 year ago
-
prettytrashchild liked this · 1 year ago
-
constantmoon liked this · 1 year ago
-
blankmindsposts liked this · 1 year ago
-
wolfscreations liked this · 1 year ago
-
moist-pegging-champion reblogged this · 1 year ago
-
moist-pegging-champion liked this · 1 year ago
More Posts from Moose-mousse
I am not a big fan of the "Ignore that you are being asked to work unreasonably hard" push. The qualification that "it only happens for a year" does not make it ok.
Yes, it will happen. Universities and corporations are bastards and have no issue pushing more and more work on you, but that does not make it ok.
You might need to push through it, and it is good to get help to survive it.
But it does NOT make it ok. And pushes like this (With no data, mind. Just "Text on the internet said so") that tries to make it ok and inevitable, dangling a vague reward if only you allow yourself to be abused for a while is BAD. The mental damage, and the bad learning that happens when people have to work 60-80 hour weeks (Which my University required) COSTS you. And it costs YOU, not the university, or the corporations you worked for. They count the abuse as a great success.
Motivation


⤷ ♡ my shop ○ my mini website ○ pinned ○ navigation ♡
What is half-adder and full-adder combinational circuits?
So this question came up in the codeblr discord server, and I thought I would share my answer here too :3
First, a combinational circuit simply means a circuit where the outputs only depends on its input. ( combinational means "Combine" as in, combining the inputs to give some output )
It is a bit like a pure function. It is opposed to circuits like latches which remembers 1 bit. Their output depends on their inputs AND their state.
These circuits can be shown via their logic gates, or truth tables. I will explain using only words and the circuits, but you can look up the truth tablet for each of the circuits I talk about to help understand.

Ok, so an in the case of electronics is a circuit made with logic gates ( I... assume you know what they are... Otherwise ask and I can explain them too ) that adds 2 binary numbers, each which have only 1 character.
So one number is 1 or 0
And the other number is 1 or 0
So the possible outputs are are 0, 1 and 2.
Since you can only express from 0 to 1 with one binary number, and 0 to 3 with 2, we need to output 2 binary numbers to give the answer. So the output is 2 binary numbers
00 = 0
01 = 1
10 = 2
11 = 3 // This can never happen with a half adder. The max possible result is 2
Each character will be represented with a wire, and a wire is a 0 if it is low voltage (usually ground, or 0 volts) and a 1 if it is high voltage (Voltage depends. Can be 5 volts, 3.3, 12 or something else. )
BUT if you only use half adders, you can ONLY add 2 single character binary numbers together. Never more.
If you want to add more together, you need a full adder. This takes 3 single character binary numbers, and adds them and outputs a single 2 character number.
This means it have 3 inputs and 2 outputs.

We have 2 outputs because we need to give a result that is 0, 1, 2 or 3
Same binary as before, except now we CAN get a 11 (which is 3)
And we can chain full adders together to count as many inputs as we want.
So why ever use a half adder? Well, every logic gate cirquit can be made of NAND (Not and) gates, so we usually compare complexity in how many NAND gates it would take to make a circuit. More NAND gates needed means the circuit is slower and more expensive to make.
A half adder takes 5 NAND gates to make
A full adder takes 9 NAND gates.
So only use a full adder if you need one.
Geeks for Geeks have a page for each of the most normal basic cirquits:

I hope that made sense, and was useful :3

So I made a GUI for my parents Campsite. They wanted a GUI on tablets, or maybe a PC where they could have costumers input the needed info from them.
I can make native GUI's on WIndows, Linux, Android but… this is not the smartest way to make 95% of programs.
You just write a website in HTML, CSS and Javascript, and have all the code in 1 file (You can easily write your own "compiler" that simply copies CSS or Javascript from many files into one file if you want to work with multiple files… And yes, you can write that in HTML and Javascript too)
Here I simply take in the values as strings, sanitize and treat them, and then save them in LocalStorage on the browser.
When you type "Excel" into the first textbox, it reveals 2 extra buttons to download all the data as a CVS file that my parents can open in Excel, and to clear the local storage so the GUI is ready for the next day.
Simple, safe, easy, and will work on any machine that have a browser… meaning them all.
Forget chefs kiss. Programmers KISS is what you want :p
"So I packed all the cables I tested back in their places, after marking them so I will(hoefully) not have to do this again." WHERE??? WHERE PAST MOOSE? WHERE DID YOU PUT THEM??? I AM TOO GOD DAMN STUPID SOMETIMES!!!
Frustrations
Following other developers, learners and makers are great. It facilitates learning and gives inspiration
But one thing that is often missing from people telling about how it is going, is the failures, frustrations and problems any developer will run into.
For this reason, two of my favorite maker youtube channels are Extractions&Ire (Chemistry) and Code Bullet (machine learning). Because these madlads are brave enough to not just show their process and result, but also their failures, mistakes and errors. And how they overcome them. Not always by learning (Sometimes making a dumb mistake is not really something you can learn from...)
It's good, because it's real.
Code tutorials and guides can give the impression that the normal process of development is "Open IDE, code, fix tiny typo error, compile, success". They don't do it out of malice, but out of a want to be concise. Which is fair.
So I also want to share when things do not go so well. I have programmed Atmel's AVR Chips for quite a while now. But I have done it mostly in microchip studio(former Atmel studio) and a bit in the arduino IDE. A job I am currently applying for, uses visual studio code. Which is fair enough. So to prepare for this specific job, and to acquire this quite good-to-have skill, I want to set that up for myself First things first, since I have not done this before, I cannot know if my code would have a weird error so I want to know everything else is working first. So I write a tiny program which simply have the microcontroller increase a number every 2 seconds and write it to my PC over UART. Takes 2 minutes.... I grab one of my Arduino Nano boards and a USB cable for it. And then... I cannot flash it... Its communication protocol have troubles.
I have seen this before. It is to do with the cables not being correct. If they are USB 2.0, very little magnetic noise can cause trouble. (And you cannot tell if a cable runs USB 2.0 or 3.0 by looking at it... because the universal serial bus is not universal... Insert grump rant here) I then spend an hour finding and trying different USB A to USB B-mini cables. Give up, notes down to buy (and MARK) some USB 3.0 versions for the future. I then grab a Arduino Uni instead, as they use USB B, which is much more resistant to noise... And then spend half an hour trying to find a the cable, as I do not have a lot of them, since... nearly nothing uses them. Finally find it, and yes, the program can now be flashed. So I packed all the cables I tested back in their places, after marking them so I will(hoefully) not have to do this again. Had to take several breaks feeling depressed and grumpy, and all in all, this adventure took 4-5 hours. And now I can START on this... And this is how work sometimes is. And that is ok. It is still... VERY frustrating ...
I look up the stupid printf argument format dozens a dozens of times every year, despite having coded C for almost a decade now...
me: has been coding for 6.5 years
also me:
