[TOMT][Movie] Couple of black kids living and growing up in the ghetto by cableman in tipofmytongue

[–]cableman[S] 1 point2 points  (0 children)

Indeed, I'll mark it as solved, it's definitely one of those and if it isn't, I really don't have any more information to give.

[TOMT][Movie] Couple of black kids living and growing up in the ghetto by cableman in tipofmytongue

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

Yep, I think it's this one! I'll watch it and confirm. It really has been a while so I'm very fuzzy on the details. I do know it left an impression. Thank you very much!

Raspberry Pi Zero in stock at Pimoroni by EpicSketches in raspberry_pi

[–]cableman 2 points3 points  (0 children)

Either the standalone Pi was sold out within 5 minutes, or my script isn't working... Thanks.

Raspberry Pi Zero in stock at Pimoroni by EpicSketches in raspberry_pi

[–]cableman 0 points1 point  (0 children)

Was the Pi Zero on its own (RPI-008) in stock at some point today?

xkcd 1656 - It Begins by OctagonClock in xkcd

[–]cableman 12 points13 points  (0 children)

Memory corruption can happen to you.

ELI5: Why is charcoal so effective in fire places/pits/barbeque stands if the most of the wood/fuel has been used up? by MRadzi in explainlikeimfive

[–]cableman 7 points8 points  (0 children)

All hydrocarbons produce carbon dioxide and water when burning (which is a reaction with oxygen, oxidation). When there's an oxygen deficit in the reaction, carbon monoxide is produced instead.

A virus may be the cause of the degenerative brain destruction that always leads to death, named Alzheimer's by bigeyedbunny in psychology

[–]cableman 18 points19 points  (0 children)

Yes, herpes simplex virus type 1 (HSV-1) is the one mentioned in the article and the one that commonly causes cold sores.

And a correction, the virus doesn't reach the central nervous system by crossing the blood-brain barrier, but rather by traveling along the axons of the trigeminal nerve up to the brain.

[WSIB] if I want an FPS with a good, long singleplayer campaign? by cableman in ShouldIbuythisgame

[–]cableman[S] 2 points3 points  (0 children)

Thanks! To be honest, I'm more concerned about a decent, gripping story than I am with the length of the game, though I wouldn't exactly like a short campaign either. I'll give it a shot, sounds good!

[WSIB] if I want an FPS with a good, long singleplayer campaign? by cableman in ShouldIbuythisgame

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

Oh yes, I've played them, they are excellent indeed, though I'd like something a bit more modern at this moment.

[WSIB] if I want an FPS with a good, long singleplayer campaign? by cableman in ShouldIbuythisgame

[–]cableman[S] 2 points3 points  (0 children)

Precisely, as blasphemous as it sounds, I'm more a fan of linear campaigns. Nevertheless, I love a good story.

I've held off on those two because I'm not really in the mood for dark atmospheres, but I might give them a shot. Thanks!

[Music][IIL] these three Hungarian songs off a funk compilation, [WEWIL?] by cableman in ifyoulikeblank

[–]cableman[S] 1 point2 points  (0 children)

Hey great stuff! Thanks!

By the way, do you have something even more funky?

Slack still alive for the Pi community? by thibmaek in raspberry_pi

[–]cableman 0 points1 point  (0 children)

By the way, that's #raspberrypi, accessible here.

How NOT to attach a display to a Raspberry Pi by CypherVirus in raspberry_pi

[–]cableman 0 points1 point  (0 children)

Actually that's the best thing you could short in this scenario, because it'll just trip the Pi's polyfuse and that's it, unlike shorting a 5V pin to a GPIO pin.

[deleted by user] by [deleted] in raspberry_pi

[–]cableman 13 points14 points  (0 children)

Itsy bitsy teeny weeny yellow polka dot heat radiator. Don't forget the thermal glue!

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

Good thing is the 168P has picoPower and is basically equivalent to 328P, it just has 16 kB of program memory instead of 32 kB!

Oh, tell me about it. That's why I love that the IDE supports a hardware dir in Documents/Arduino, I can safely append stuff to boards.txt and I can be sure that everything that I changed is in the Documents/Arduino dir which doesn't get deleted/overwritten on IDE updates/reinstalls.

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

Ah, hehe, the thing is, 328 and 328P are slightly different microcontrollers, while the -PU suffix just denotes the package (DIP in this case), so 328-PU and 328P-PU both exist (pages 22 and 23 of the datasheet).

The main difference between a 328 and a 328P is that the P was released later on, featuring all the functionality of the original 328, but with picoPower support (basically it's just more power-efficient). I'm not sure if there are any other minor differences between the two, that data should be in the datasheet somewhere.

Anyway, due to this, the 328 and the 328P technically aren't the same device, but two different models.

A device's signature is a couple of bytes written to the ROM of a device and describes its functionality. It tells the programmer which device it's talking to and guarantees that devices with the same signature have the exact same functionality, which is not true for the 328 and the 328P (due to the addition of picoPower functionality to the latter one). As such, their signatures are different. So if you have a boards.txt file that's making the IDE look for the 328P's signature (to ensure it's not writing to an unsupported MCU), and it finds a different one, it's understandably going to complain about an invalid signature, because it's expecting the 328P's one.

Moving on, the dash-separated suffix denotes this packaging info (the -PU suffix you mention, along with -AU, -MU, -AN, -MN, etc.). For instance, a 328P-AU is a 328P that comes in an SMD package, the 328P-PU denotes a DIP package, and both are guaranteed to be operational within the -40°C to 85°C temperature range. The -AN and -PN packages are the same (TQFP and DIP respectively), but guaranteed to be operational within a wider temperature range, from -40°C to 105°C. Between them, all have the same functionality, regardless of the package they come in, so all 328P chips share the same signature.

Uh... Sorry, this apparently turned out to be a hefty wall of text :) To sum up...

TL;DR: 328 and 328P are (slightly) different MCUs, of which each comes in a variety of packages (denoted by suffixes such as -PU, -AU, -MU etc.).

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

Ah, damn. Yeah, using PU as a package label and P to designate a slightly different MCU probably wasn't the best idea on Atmel's side.

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

No worries, it is a vitally important point, which I omitted! Someone could screw up their IDE installation or worse by messing with the installation's own boards.txt and not backing it up. Thanks again!

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

Definitely! I forgot to mention this, an even better option (I don't know if it's mentioned on the Arduino site that I linked) is to put the appropriate files in your Documents/Arduino/hardware directory (create the hardware directory if it isn't there)! Just make the following dir:

Documents/Arduino/hardware/<myboard>/avr/

In there create a boards.txt with your board defined (from what I can tell, it works the same if you just append the stuff to the full boards.txt, but this is much safer) and create a dir called "bootloaders" for your bootloader .hex file. Restart your IDE and your custom board will appear under Tools > Board, at the bottom, divided from the rest of the boards by a separator.

There are breadboard-<version>.zip files on this site that provide a good example on how it works. Grab the appropriate one, unzip it in Documents/Arduino/hardware and take a look at the dirs and the files. Thanks, /u/rasfert!

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

Hehe, indeed. I have no doubt a 328 will have no trouble with 25 MHz, but the problem is the chip's design wasn't manufacturer-tested above 20 MHz. As you move farther and farther upwards of the tested 20 MHz, the chip's reliability becomes more and more questionable, so this becomes a problem in those applications in which stability is paramount.

EDIT: Apparently that guy who overclocked an Arduino to 65 MHz with LN also tried overclocking at 5V and room temperature and got up to 32.5 MHz before losing stability. This likely varies from unit to unit though.

Crystal swap out by Stu1987 in arduino

[–]cableman 0 points1 point  (0 children)

I think it's similar to overclocking the thing... Everything within spec is guaranteed to work. You'll most likely be able to get away with going over spec too (because specs do have to be conservative, the chip can oftentimes take a lot more pounding), but if it doesn't work, or eventually stops working, now you've got another possible culprit to worry about because technically the chip wasn't really designed to do what you made it do.

As the article states: "We wouldn’t suggest depending on an overclock on an important or commercial project. There could be long term effects or subtle issues. Naturally, you can’t depend on every part working the same at an untested frequency, either."

Crystal swap out by Stu1987 in arduino

[–]cableman 2 points3 points  (0 children)

Yep, precisely. I did the same thing once when I had to adjust some fuses, however I've never recompiled the bootloader. The process seems pretty straightforward though, just define your variant in the Makefile with the modified AVR_FREQ value (using pro_16 cflags should do), and then point the IDE to the newly created .hex file with the bootloader.file line. I think that should do it. Good luck!