j4k3
@j4k3@lemmy.world
- Comment on The eyes creep me out. Even I wouldnt be able to focus on the job 13 hours ago:
Was that your flatulence Bob? Don’t lie…
- Submitted 15 hours ago to 3dprinting@lemmy.world | 1 comment
- Comment on The first quarter is on track for negative GDP growth, Atlanta Fed indicator says 15 hours ago:
dogé style
- [Article/YT] This DIY Machine Churns Out Interesting Concrete Lamps with Embedded Fiber Optics (18:15)www.hackster.io ↗Submitted 1 day ago to 3dprinting@lemmy.world | 0 comments
- Comment on ‘People spontaneously strip off and join us’: nude cyclists send message you don’t need to be buff 1 day ago:
Such a funny breed that do this. There is never a hardcore roadie in the group and I always check. I can even tell based on helmets alone.
- Comment on WHAT IF 😮 2 days ago:
- Comment on I wonder what my wife thinks when the shampoo bottle starts dispensing again after I put a little water in it. 2 days ago:
“Dumbass doesn’t know the replacement that is under the counter. I’ll swap it after the poor miser has a greasy hair day.”
- Comment on Why should someone join the Fediverse? 4 days ago:
It is the principal fulcrum to leverage the masses, stated simply enough for most to understand.
- Comment on Why should someone join the Fediverse? 4 days ago:
The fediverse is the public commons of the internet; a truly democratic institutional framework unlike any commercial alternative. It is the 21st century internet of the present and the future.
- Comment on Washing machine PCB has a USART port. Do repairers use that? 4 days ago:
You are correct and I misspoke in my wording and stated logic. I had intended to constrain my logic to eliminating the potential of the entire script being stored or somehow altered and reloaded. Storing an error code is entirely feasible.
Now the machine will not even attempt to run because it is apparently trapped in an error state.
You might trace out the pins that go to any buttons. I am not super familiar with the 32L, but IIRC usually old Atmel chips only have a couple of hardware interrupts available.
So, when a simple CPU core is running, there are various ways to force it to stop what it is doing and divert attention elsewhere for things that are more important. At the general level there are flags that can be set to indicate higher priority tasks need to be completed inside the CPU. This is stuff like a block of serial communication is received and needs to be processed so that the buffer doesn’t get too full. Or, some timer expired and triggered some code to run next.
Hardware interrupts are like these flags but are usually setup as the highest priority interrupts in the physical hardware. Like a person can make any Input/Output capable pin into an interrupt by turning it into an input, and simply checking the state of that pin in the code that is running.
However, the hardware interrupt is very powerful and forces the CPU to only pay attention to whatever code is associated exclusively with that interrupt. Typically in the code, one would only use this hardware interrupt to set a flag somewhere quickly and return to execution of whatever was happening. There are a lot of gotchas that need to be taken care of if one wants to do something more complicated because the hardware interrupt isn’t like multithreading code in a desktop CPU where all the registers and states are saved. This is like, stop in the middle of a word on the exact letter you are pronouncing mid sentence while talking to someone about something important the moment that interrupt happens.
It is quite likely that the key combo to reset your device is related to one of the hardware interrupt pins. It would be reasonable in the code to check if another pin is low when the interrupt happens.
You know the device can be reset by someone. It will be just a combination of keys. If there are a lot of keys, this should limit the number of possibilities to something manageable. Write this stuff down and test methodically.
Also be sure to check Louis Rossman’s new documentation project website and do a search on the EEVBlog forum if you have not already done so.
- Submitted 6 days ago to 3dprinting@lemmy.world | 3 comments
- Comment on What Exactly is the Issue with my Bambu P1S...? It Both Under and Overextrudes in Batched areas and sometimes leaves what looks like Overheated Ripples? 6 days ago:
It can’t be filament or a clog. The length of each diagonal extrusion path changes, so it is impossible for that to align perfectly with a pattern on the build plate like this.
It could be contamination of the build plate, or an issue with sensor noise related to however the the bu checks for bed height. Depending on method of bed height sensing, it could also be related to bed leveling versus the sensor mapping resolution. Again, this is just a general hardware assessment. I don’t know the specifics of how this machine works and have no interest in learning anything about it. Hardware wise these are the issues I can think of. It also looks like a high first layer to me, with an additional issue too.
- Comment on Sometimes the advice "just be yourself" is bad advice. 6 days ago:
Be the best version of yourself. We are all a product of our environment and opportunities. We are all animals. We are all evil under certain circumstances. All any of us can do is be the best version of ourselves.
- Comment on Most people do not know how they died 1 week ago:
Not my point here. BT did not know he would die. Being scared of the potential is not the same as the experience itself.
When a person is injured and in an unstable state they do not seem to be aware that the moment of death has arrived in most cases that I have seen (3).
- Comment on Most people do not know how they died 1 week ago:
Not just that really. I have watched 3 people die and none really knew what was happening or when it was coming even when intuitively it would seem like they should. I was apparently lucid for parts of 3 hours that was a total blackness in my memory for years. I have 2 little parts that feel like a very fuzzy dream, but if I had died, I wouldn’t have known anything about the last experiences, pain, or struggle. For a long time I thought that was only due to the massive head injury I had, but thinking of others I have watched die, I see a similar lucid like state without much if any awareness. Sure they were in pain, I certainly was, but there is a disconnect between the sensation of pain in the body from wounds and the trauma that leads to death (IMO). That trauma does not seem to have a tie to conscious experience. It is almost like we are in user space, death in in kernel space, and we can never fully experience kernel space.
I’m in so much pain all the time that even breaking bones does little to phase me any more. I already hurt worse than almost anything anyone can do to me. It yields an interesting perspective on the nuance of death IMO. My intended nuances are often missed on Lemmy.
- Comment on Most people do not know how they died 1 week ago:
With some probability but not with certainty. At that age it could be anything.
The post isn’t about knowing in a meaningful or useful sense. In this context it is about the anxiety of the experience in the moments just before it happens.
- Submitted 1 week ago to showerthoughts@lemmy.world | 15 comments
- Comment on TransPeople are real 1 week ago:
And worth supporting as decent fellow humans
- Comment on If Canada becomes the 51st state 1 week ago:
No one wants to swim next to a drowning person with their head deep below the surface of democracy, hitched to the wagon of a fascist. That garbage is just hype, or the duty of every American to fight.
- Comment on The person who invented hell was probably just really mad at the person who invented heaven 1 week ago:
At some point some kids learned they could get food and shelter by peddling the dumb shit their dad made up when they were kids.
“Daddy, where is uncle Larry after he touched little Susie?”
He’s burning in hell sweetie.
“… Are we having bacon tonight daddy?”
No sweetie. That’s uncle Larry in hell.
- Comment on Washing machine PCB has a USART port. Do repairers use that? 1 week ago:
In the last 10 years it has become common for devs to disable and remove or encrypt to prevent reverse engineering and repairs. If the device is older, the debug info from UART is likely still present. How useful that information is may be dubious.
Most of what you are saying about functionality is not in line with how a microcontroller works. The microcontroller is not sophisticated like a real computer. It is like a very simple state machine running on the device. Basically it is like a single long script that is not running on any kind of abstraction layer. When the device is turned on, there is the script. The script is not executed by some operating system or any other complication. The entire software stack is the script. Only, the script is actual hardware registers and flags and operation codes. There is a tiny amount of RAM that actually runs the script, like 16kb. There is the programmed memory, like 32kb. Then there is a tiny amount of electrically erasable and reprogrammable memory, like 4kb. The eeprom is the only section of memory that a microcontroller can access to write persistent data, meaning something that will still be present when power is cycled. I doubt many people use eeprom to save any kind of error. This is more like where a serial number might be saved, or more likely the calibration values for some internal control algorithm. It is not anywhere near large enough to save something significant like the script. It is far more likely that the script is just a state machine and is reaching an error state because of some missing or bad signal that it needs to continue running the script. This is likely your problem and the issue is like 99% likely to be hardware and not the microcontroller. Resetting such a device is just an interrupt signal that restarts the script. There is nothing dynamic about this. From the perspective of the original dev, the ISP programming interface has the functionality of brute forcing running code to step through each machine instruction and halt further execution while monitoring or changing any value present in any register of the internal microprocessor. This is super powerful but requires a pricy setup from the manufacturer in most cases, and a thorough understanding of the internals of a microprocessor’s registers, op codes, memory addressing, interrupts, clocks, and the ALU (arithmetic logic unit). In this type of device, text strings are far too expensive to have much, if any, value. Any such debug info is likely to be very terse. Text strings take an enormous amount of memory space to encode, so in general, these are not used very much. A microcontroller is a far simpler device than this. It is a computer in the sense of a device that can do Input/Outputs and run a control algorithm like a temperature controller with a PID loop.
- Comment on Washing machine PCB has a USART port. Do repairers use that? 1 week ago:
That is a microcontroller. I don’t have a lot of experience with hacking around with commercial products like this. It is not capable of running something like embedded Linux or a standard real time operating system. It could in theory be running Arduino, but probably not with the ISP connector. It was likely developed with the Microchip toolchain for ISP support. In this instance, the serial port is likely used for feedback only and not some interactive like interface. There may be some functionality programmed or the port may have been disabled after it was used in the jig that did the initial programming and tests.
Most of the info you will find about using UART to hack around is related to embedded Linux where UART is a full terminal interface. Devices capable of running embedded Linux are the next level above something like an ESP32 microcontroller.
The datasheet for the ATMega32L is not really relevant to you unless you want to rebuild the entire software stack from scratch. Reverse engineering and rebuilding is a major project even for a pro dev.
The manufacturer as you perceive a brand is likely just a logistics and label maker with little to no relevance to your actual device. The components PR entire machine were likely out sourced and contract manufactured. In the world of contract manufactured goods, the software is usually just a checklist of features. As soon as the checklist is complete and verified, the dev gets paid and is never seen again. If the company wants something more or something changed it will cost a fortune for the old dev to return or a new one to read-in to the code and make changes or just start over. This kind of thing might happen when versioning is required because some part is not available or something like that during production runs.
Each run is like a one time thing. Some capital is put together and parts are sourced, then the contractor makes like 5k of the thing over the course of 2 weeks. These go in shipping containers around the world with whatever brand stickers applied. When each run is done, the software and any unique tooling are consumables to the whole affair and not something anyone cares about or keeps like a real asset of value. It is probably archived in several private databases on various employee’s computers, but these are not connected in any way to aid or support your needs. It is in the best interest of the company to never give out this info.
Also getting the whole microcontroller toolchain working is a major pain in the ass. That large datasheet is because a microcontroller is a whole computer all integrated into a single chip. It is just a very simple type of computer. You need to understand all of the peripheral parts of computing to really make sense of it in practice. It is not just a microprocessor.
Embedded Linux means that there is a kernel and user space abstraction layer that makes the unique hardware irrelevant and abstracted away. Without this abstraction layer, you need to know and understand that actual hardware assembly, or use a language like C and a compiler for the actual hardware. This is the level you are facing.
- Comment on Homeserver advice: i9-14900KS vs. i9-10940X 1 week ago:
Plan 9
- Comment on Washing machine PCB has a USART port. Do repairers use that? 1 week ago:
UART is often used for debug and programming, but there is no telling what it is running from this info. What is the processor? That info might recruit more help
- Comment on Homeserver advice: i9-14900KS vs. i9-10940X 1 week ago:
Need max AVX instructions. Anything with P/E cores is junk. Only enterprise P cores have the max AVX instructions. When P/E are mixed the advanced AVX is disabled in microcode because the CPU scheduler is unable to determine if a process thread contains an AVX instruction and there is no asymmetrical scheduler that handles this. Prior to early 12k series Intel, the microcode for P enterprise could allegedly run if swapped manually. This was “fused off” to prevent it, probably because Linux could easily be adapted to asymmetrical scheduling but Windows would probably not. The whole reason W11 had to be made was because of the E-cores and the way the scheduler and spin up of idol cores works, at least according to someone on Linux Plumbers for the CPU scheduler ~2020. There are already asymmetric schedulers in Android ARM.
Anyways I think it was on Gamer’s Nexus in the last week or two that Intel was doing some all P core consumer stuff. I’d look at that. According to chips and cheese, the primary CPU bottleneck for tensors is the bus width and clock management of the L2 to L1 cache.
I do alright with my laptop, but haven’t tried R1 stuff yet. The 70B llama2 stuff that I ran was untenable for CPU only with a 12700 with just CPU. It is a little slower than my reading pace when split with a 16 GB GPU, and that was running a 4 bit quantization version.
- Submitted 2 weeks ago to showerthoughts@lemmy.world | 26 comments
- Comment on Ilya Sutskever's startup in talks to fundraise at roughly $20B valuation | TechCrunch 2 weeks ago:
It is just a fundamental abstraction that it is an all Israeli thing. Israel has no separation of business government and military. It is one of the most integrated States in that respect. The person with the most influence and control over the alignment problem and the most proprietary undocumented black box aspect of all present AI, so close to the Israeli military is not a good idea. Israelis have proven that they are genocidal nuts with no ethics. Even with the best intentions, will these people maintain them under torture and duress. We are all only animals that cosplay sentient intelligence. The power available by bending alignment is already so large it can reshape all of civilization if it were removed or realigned and that power is only going to increase with time.
- Comment on How do you all handle security and monitoring for your publicly accessible services? 2 weeks ago:
Not unless an http port is open too. If the only port is https, you have to have the certificate. Like with my AI stuff it acts like the host is down if I try to connect with http. You have to have the certificate to decrypt anything at all from the host.
- Comment on How do you all handle security and monitoring for your publicly accessible services? 2 weeks ago:
Sorta, you have to install your certificate authority into the browser and it might complain about verifying that but it will still connect with the encryption.
- Comment on How do you all handle security and monitoring for your publicly accessible services? 2 weeks ago:
I mean more like a self signed TLS certificate with your own host manually set in the browser. Then only make the TLS port available, or something like that. If you have access to both(all) devices, you should be able to fully encrypt by bruit force and without registering the certificate with anyone. That is what I do with AI at home.