#general-chat
1 messages Β· Page 143 of 1
what do you need that for
I mean
I want to learn programing and I want to write code for my raspberry pi and arduino to do what I want
I remember when I was 4 or 5 years old I was fascinated by microorganisms
I would watch documentaries over documentaries nonstop
I wondered about it for a bit, and I pulled this Google Search out of my head
How do I remember this......
A tool people had wondered about for decades, then found in various pathogens and then used for their own purposes.
breadboards are expensive
@dusty citrus what do you want ?
Breadboards are expensive, but useful enough for me to buy some.
Some people just make custom PCBs to start with.
i don't have that faith in my design working off the bat π€
Same here, which is why I'm fond of solderless breadboards.
Expensive compared to what? $6 for a normal size one, down to $4 for the tiny size.
expensive compared to what i would expect the raw materials to cost
it's just plastic and metal strips
40-pack of 6" jumper wire is $4. Plenty of other non-consumable examples like that. Might be other places with either of those cheaper than Adafruit, haven't done an investigation.
granted there may be a difference in quality, but still
I should have specified that i meant on mouser
That might be a "Mouser is expensive", then?
I'd imagine there could be a quality difference between them. Depending on your usage and tolerance for DOA/breakage.... and then, some stuff is just naturally more expensive.
You can't go wrong with the curated products in the Adafruit store -- and as an added benefit, your purchase helps continue awesome guides, products, etc.
The cheap ones tend to go flaky quickly which can be quite frustrating when trying to get something working - unless you're looking for lots of practice debugging weird intermittent issues
I always say -- get one or two known good ones. Test them, make sure they give predictable results. Then if you want, take the cheap way out and roll the dice. You might get an equivalent. Or you might have exactly what @late fulcrum mentioned -- a rat's nest of flaky, intermittent issues.
But for a beginner or sometimes just starting -- rarely I'd recommend getting a low-end piece of hardware. It's such a fast and effective way to discourage progress.
I spent money it took me a long time to earn decades ago on quality breadboards, I'm still using them. I've had cheap ones start getting unreliable in a couple of weeks
"Buy cheap, buy twice."
"The person who buys quality tools only cries once."
Can I get some feedback on these logos Iβve been working on for the last few days?
Why would you use a sans-serif typeface for body text?
I dono, folks have used Neue Haas / Helvetica as a body text font for plenty of stuff.
For me, the orange underline looks messy, like a spellchecker flag or an accidental hyperlink.
There does seem to be a fad of using sans for body text, and a lot of people do it, but IMHO it looks bad and is harder to read. I agree with you about the orange underline.
You could specify a fixed-width typeface as well, since a robotics organization might end up publishing source code. I suggest one that makes it easy to distinguish between 0 and O, and 1 and l. The usual one is Courier, but I prefer Lucida Console, AndalΓ© Mono, and Menlo. There are variants of Courier like Courier Code, that better differentiate lookalike glyphs. Some folks like Courier Neue, but I find it ugly. I'm also not a fan of semi-slab efforts like American Typewriter.
Even if you choose to specify a sans typeface for body text, all three of your families are sans: you might want to offer at least one serif face for variety.
I do like the hexagonal lion logo.
Thanks! I realized I forgot to put Times new Roman on the sheet
We use Seti and the carbon formatter for code presentations
Test
Pass
I finished my Velocity Character Sheet! https://twitter.com/dvanw6/status/1161416760324526080
Heres a character design for an assignment! Her name is Naoko! https://twitter.com/dvanw6/status/1161419399082864640
hi
so i just had a Ainol Novo 7 Paladin came in the mail today
can i learn Z80 assmebly by using a emulator?
Yah, you just need to spend time with the tooling to make sure that you can get your Z80 code running properly in an emulator, @dusty citrus
I mean
I'm thinking programing on a z80 emulator is easy as typing the code down onto a notepad on your desktop and then telling the emulator to run the code
Well, you need the toolchain.
So, you'll need a z80 assembler or compiler, then you'll need some way to get the code into the emulator, et al
You can probably find a Z80 assembler easily enough, but I still advise hand-assembling a small program just to see how the mnemonics map into instruction bits. An emulator is a great way to learn (as I mentioned when you asked earlier), especially if it's the kind of emulator that will let you monitor processor state, memory locations, and the like to see what the CPU is actually doing.
Is there any book that I can learn from?
There are lots of books out there.
itll be pretty difficult programming for the z80
but
one step at a time
i will learn
Toast with local peaches, tomatoes, and microgreens, just the thing before I start messing with circuitpython this morning
@sick adder Bring enough for everybody, if you're going to post stuff like that!
@dusty citrus It's really not that difficult, especially with an emulator. My advice is to start small, perhaps an OUT instruction to turn a LED on, then a countdown loop to delay for a bit, another OUT instruction to turn the LED off, another delay loop, then a jump back to the beginning?
You could also get fancier and use an XOR instruction to toggle a value and use that to control the LED. The other obvious one (and in fact a common one to start with) is the usual "Hello, world!" program. Put the "Hello, world!" bytes in memory with some sort of terminator, then send them out a serial port (possibly a simulated one) one at a time.
There's a description of a similar process for a different CPU (a 6800 in this case) here: http://roland.cordesses.free.fr/Motorola6800MEK_4.html
@stray wind come visit me and I'll treat you. It wouldn't ship very well.
i once again suggesting learning how to program ti84 calcs
I like my TI89
from the cheapskate that brought you $10 logic analyzers, $3 calipers https://www.aliexpress.com/item/4000048499900.html?spm=a2g0s.9042311.0.0.1cfd4c4dt2j9ly
Smarter Shopping, Better Living! Aliexpress.com
they're no mitutoyu's but hey, they're $3!
hm well that's unusual. my whole linux desktop locked up while flashing (segger) my nrf board.
Hydraulic Press Channel did a showdown of cheap digital calipers
@late fulcrum Do you recall what was the takeaway from their testing? Or did they just flatten them? π
Yeah, were they impressive or just in-press-ive?
They actually took turns testing them against some other calipers including some really cheap all-plastic ones. They performed pretty acceptably.
https://www.youtube.com/watch?v=koGBgPDActE if you're curious
We bought 2β¬ plastic calipers for some inaccurate work on filming site but I wanted to test how accurate they really are. There is also some footage of us ma...
All right, I finished my butterfly dye project! Well, the dyeing part of the project; I still have to make it into clothed
And I was feeling silly so I put up a time lapse video of the process on my Instagram. Everything looks cooler at 20x
It was nerve-wracking because it's not easy to recover from mistakes on this kind of dye job short of bleaching out the botched print and starting over (and discharge agents are not very reliable, in my experience) - it was a big relief to finish this part, since I don't have time or spare fabric to do it again if necessary
I mean, it gives you a certain mental clarity, however.
My drawing got better when a drawing teacher took away my eraser.
Mentally screaming NO MISTAKES NO MISTAKES NO MISTAKES at myself for a few days straight isn't good for my mental health, though
As I heard of a great meditative garden that has a crazy long slide, as people would enjoy the garden, then crazily ride the slide.
I remember a "motivational speaker" at our company once who said "Can you make zero mistakes for one second? Just one second? Sure you can. Now just do that over and over for 8 hours a day." Unfortunately for that charlatan, I have a good grounding in statistics, human performance, psychology, and debate. I cut him to ribbons in front of the whole company.
Heyo
Just joined since I'll start doing Arduino stuff soon
I'll make my final exam in physics and take colors as the topic and wanna make a color mixer with my Arduino and an RGB LED
Sounds like a good project.
have you guys ever thought of dumb ideas?
i thought about creating a super computer out of Pentium 4s
I come up with all sorts of dumb/nutty ideas (like a vacuum tube Ethernet hub). I think I told you about the University of Maryland's "ZMob" effort to build a parallel computer out of 256 Z80 boards connected together.
Actually
That's pretty interesting
How were they able to control each individual z80?
They had a bus (which they called a "belt", for some reason) connecting all the boards together with ribbon cable. I think one node was the "communication" node that serviced user requests and sent jobs to the other nodes for processing.
Doing a little reading, the "conveyor belt" was a 48-bit wide bus that implemented a "slotted ring" architecture, and the control computer wasn't one of the moblets (which is what the individual Z80 nodes were called), but a VAX 11/780.
I remember playing with the thing, they had some real reliability problems because the node boards were pretty big (about A4 paper size), and there were issues with board warping causing intermittent connections, so usually only a subset of moblets was working at any given time.
ZMOB: A Mob of 256 Cooperative Z80A-Based Microcomputers -- https://apps.dtic.mil/dtic/tr/fulltext/u2/a081346.pdf -- I need to forward this on to another group, they'll lose their minds on this one.
Oh, good find. Chuck Rieger and Mark Weiser built the thing.
RE: Monster M4SK - Not sure where to ask this and perhaps the learn guide will have this detail, but I noticed a seesaw chip on the left (back of pcb).. How is it used in this setting ?
Interesting question. Adafruit has put Seesaw on products before when there are a number of buttons, to keep from using too any GPIO pins. With two SPIs, cap touch, STEMMA I/O, and 3 buttons, probably some of that is offloaded to Seesaw.
@umbral phoenix yeah looks like the buttons are through the seesaw chip... sharp eyes π
For a moment there I thought the display is also handled by the chip, but it doesn't seem to be the case for this featherwing either:: https://www.adafruit.com/product/3321
Add a dazzling color display to your Feather project with thisΒ Adafruit Mini Color TFT with Joystick FeatherWing.It has so much stuff going on, we could not fit any more parts on the ...
But maybe the backlight and display reset like the MiniTFT. Joystick adds a lot of inputs. I understand the desire to preserve GPIO. Adafruit seems to especially prioritize the analog inputs... some peripherals will use the same digital inputs as others (FeatherWings will often have jumpers for this case), but I haven't come across anything using up the analogs yet.
The TFTs seem to be usually SPI, for speed I assume (though PyPortal is a parallel interface)
http://www.youtube.com/watch?v=WMj7G-U3LW8 possibly the best binging with babish yet, and also the most relevant to makers
Check out Dan Souza's far-more-scientific take on giant pancakes over at What's Eating Dan! https://www.youtube.com/watch?v=uHOqSNnDib0 Happy (early) birthda...
Power ISA is being open sourced: https://www.nextplatform.com/2019/08/20/big-blue-open-sources-power-chip-instruction-set/
I see they're providing an FPGA core as well, so we could buy some chips and play with it ourselves. This is one architecture I'm not going to try to build up from individual 7400 logic gates!
Similarly, remember MIPS? Them, too. https://wavecomp.ai/wave-computing-launches-the-mips-open-initiative/
New Initiative Will Expand Adoption of MIPS By Providing a Proven, Industry-Standard and Patent Protected RISC Architecture for Free
Part of why RISC V was created to be a slightly more modern teaching architecture than MIPS.
MIPS or a simplified version thereof is how I learned computer architecture
i really need to learn about CPU architecture
but
my highschool does not teach that
Most high schools don't teach that. π
However it seems to me you've already learned a lot about CPU architecture, and are continuing to learn more.
i mean
i would have so much fun learning in high schools
playing around with a whole bunch of CPUs
It would be fun to do that instead of some other high school class, but instead we do that kind of learning at home.
I really want to be with other kids who are interested in CPU architecture's
And it seems like everyone else seems different from me
That's both the beauty and frustration of the internet: you can find other people who share an interest, but they're spread all over the world (and we're all different ages).
True true
But hey
At least I'm learning something early that will prepare me for my future job
TIL, about a tool call gstack which can be used to print info about userspace thread's stack
yeah
@dusty citrus Im in 7th grade and it seems like nobody has similar interests to me
thats why i joined this discord
so i could have some people to talk to, and also the bonus of being able to have help
I mean, to be fair, I'm mumble mumble years old and I was totally a 7th grade misfit where nobody else cared about the stuff I thought was cool
I too am mumble years old and was a 7th grade misfit. Alas, there was no internet then, so I just sat around and tinkered with vacuum tubes from trashpicked electronics.
decode this color into a word
484900
thats the html value of it
you can use online conversion calculators to get a word out
solution is
||convert html color value to rgb, convert each rgb value into ascii which gives you a sentence, which says HI||
you could of just said "read this ascii text encoded in hex"
Alright it's pretty hard trying to find a way to program on a z80
I'm better of using the ti 84 it program the z80
What does it do?
Send the contents of the A register to I/O port 0 repeatedly. A few more instructions could let it toggle.
I really need a book on assembly language for the Z80
Steve Ciarcia's book "Build Your Own Z80 Computer" (ISBN 0-07-010962-1) includes good details on programming it.
There's also the Z80 Software Gourmet Guide & Cookbook I mentioned on August 12 when you asked π
I have a book called digital computer electronics
That's how I learned most of my knowledge from that book
Sounds like a good start.
Oh man, I remember checking out the Ciarcia book a zillion years ago.
From the library.
Never built a Z80 computer, tho, part of why I'm building the 6502 now.
There are useful web sites out there too like http://www.z80.info/ which has a "Software Tutorials" section.
The prolific and informative Ken Shirriff writes about Z80 topics repeatedly http://www.righto.com/search/label/Z-80
I feel like I should learn assembly on my raspberry pi
arm assembly is a lot more complicated than say, 6502
did you mean arm assembly or were you thinking of running emulators and assemblers for other architectures?
I mean
I dont know how to start on programing for the Z80
I dont have the neccessary tools
And a emulator and assembler is kinda complicated
still less complicated than arm assembly
if you wanna learn arm assembly go for it, but not because it's easier than z80
because it's not
I guess I can try to go through the pain of learning Z80 assembly
So, this is kinda cute: https://www.tindie.com/products/8bitforce/retroshield-z80-for-arduino-mega/
Yah.
I mean, there's a few problems.
If you want to write ARM assembler for your Pi or x86 assembler, you might run up against annoyances with dealing with a modern OS and syscalls and stuff
Whereas the level of getting-started complexity on an old standard IBM PC running DOS or a Z80 machine running CPM was really really low.
Like, the way I became comfortable with assembler was writing code in a higher level language and then writing bits and bobs of it in assembler.
Which does constrain the problem while giving more evident results.
Either way, a lot of it comes down to "what is fun?"
There was a small number of dorks at my high school and optimizing functions in x86 assembler was a game we'd play.
And I remind people that that was not actually a useful skill we were building. We were just dorks and people who picked CS as a major in college and who don't code for fun are Entirely Valid, worth of respect, and arguably not any worse at programming than I am.
I didn't find ARM assembly difficult
but you would agree it's more complex than z80, no?
Or just create a virtual machine from scratch inside the Arduino IDE and then program that, using rules you specify.
lol
z80 is ez
hook up arduino, z80, and ram on a single data/address bus
write arduino "bootloader" to write a z80 program into ram and then reset the z80
pretty sure I told you the pinouts some months ago
And I have source code you could use
does anyone have a good source for clear acrylic/plexi in the 1/8" range? stuff is a lot more expensive than I remember
I came from a 6800/6502/1802 background so ARM with its register rich, load and store style and orthogonal instruction set felt natural to me. Z80 still showed it 8008 roots and felt awkward.
There are so many 8 bit CPUS that it's really complicated
i can't wait for more RISC V cpus
Why not Power-RISC VI?
i also can't wait to see what Adafruit contributes to RISC V
I want to see a larger form factor raspberry pi
with a socketed RISC cpu
and a single ddr4 sodimm slot on the bottom
that can accept a compute module
maybe even a mpcie slot
Make one?
thrown in a usb -c thunderbolt 3 as well
making such a device would be difficult to make at home
i don't have enough breadboards
We can build our own RISC V chips
Just use the website from si-five!
@tight hill and also, adafruit did join the RISC V foundation
@solar hamlet very nice work on the pew pew m4! looks very slick,
thanks
TFW you find the bug that had you questioning the nature of reality.
I know that feel
praying mantises seem like the only insect that seems to acknowledge our existence
i love mantises. i could watch them just hang out and swivel-head longer than most other things. π
Wish I can keep one as a pet
I think the mosquitoes notice us as well, though I wish they didn't
Let's just make our blood toxic for mosquitos
nice
I found a mantis just before the first freeze one year and took it home. I fed her any bugs that blundered into the house. She lived until February and laid four egg cases, which I put outside in appropriate spots.
so, I recorded this sfx from a game, and I'm wondering how I can recreate similar sounds in this style,
@dreamy solstice If you're on a Mac or iOS, the free GarageBand app has a lot of sound effects, especially in their add-on sound packs.
Additionally, https://freesound.org has a lot of raw material that you could layer to build sounds in that style.
Freesound: collaborative database of creative-commons licensed sound for musicians and sound lovers. Have you freed your sound today?
lol just saw this on github jobs https://jobs.github.com/positions/d7c1a573-88b7-4027-b92a-1f85e9147252
anyone wanna make the next nRF52?
should get them on the adafruit job board
Any software test engineer here? Is it a good position to learn programming as a novice or it's entirely different from what I expect?
I'm a programmer, but I have some friends and co-workers who are test engineers. While we both deal with software, it's in different ways. As a programmer, I'm more concerned with how it works, but the test engineers are more concerned with what it does. Their job is to break my software, and tell me how they did it, for example "If I click on the City button, then fill out the text box, then click on the City button again instead of the Submit button, it erases my input."
Traditionally, test engineers are more familiar with user interfaces, and programmers are more familiar with algorithms, but there are programmers out there with user interface expertise. As for myself, I love test engineers, the help me build better, easier to use software.
@late fulcrum How exactly does test engineer break your software? I know there's automated and manual testing can be done, but that's the info i get from googling
Since my mindset as a test engineer was to be able to learn from other engineer's code, as well as suggesting improvements from bug/issue reports
There's a bit of a problem where a lot of times test-engineers are seen as a level below regular engineers.
Like, in terms of pay grade, Software Engineer III was grade mumble mumble, Software Engineer in Test III was grade mumble mumble minus one, and Software Engineer II was grade mumble mumble minus two.
The problem is that there's a set of roles, software engineer being one, software test engineer being another, where good programming skill is required, but a particular mindset is required.
A good software test engineer is worth their weight in gold, because they can spot edge cases, understand a whole stack of testing systems, et al. But, as I said, they frequently get no respect.
Like, in the dark ages of Windows, a software test engineer was often a trained monkey pushing buttons, because there was no way to automate things like that... but at this point, test engineering is a specialized trade unto itself.
And I kinda feel like, especially at the junior level, it's semi-abusive to shove someone into testing and then keep them "stuck" in the trade.
Sometimes people are that good, otherwise they are just non-test engineers stuck in a track.
Like, some things test engineers have done is created complete "mock" subsystems to wire up the code under test in between.
Or orchestrating QEMU so that you can fire up a set of emulators to automatically test the process of installing low-level software on a piece of hardware.
Or figuring out the best way to automate a fake browser for the way a given piece of software works.
From my understanding, usually they let juniors take the role of test engineers to slowly let them catch up with the software team, but I'm deciding whether its a good move to be a test engineer (an intern to be specific). Even I put test engineers below normal engineers, as you dont get to tinker programming as much as normal engineers
But I do want to grow as a developer and develop the skill set that lets me pinpoint bugs and issues better
Yeah, if testing doesn't call to you, you might end up stuck in an abusive spiral.
In terms of what test engineers do on the desk, how many % time is used on writing reports, manual automated test, develop automated test, etc?
But I get the gist of what software test engineer does from your input, I'll try to make the decision wisely, thanks a lot!
Like, sometimes the test engineer ends up being the person who has to apply process and order to a team.
Ideally, it's mostly automated testing, but frequently manual testing ends up being part ofi t.
Like, when I have been in charge of teams that had test engineers, they were doing as little manual testing as we could muster and we had excellent coverage with fully automated testing.
As someone who was a former Software Developer Engineer in Test --- I'm in agreement with @burnt tendon.
The pay and perception was SDET = SDE-1.
And they absolutely use different skillsets. Failure to test will result in a failed product -- testing is essential. And it's best to do it lock-step with development, not as an afterthought.
Automation is how everything in the industry is moving. Having fully automated test frameworks that can perform regression testing, clearly document the results in a business format/dashboard -- that's transformative to a business.
But traditionally in the past, testing was manual poke and hope within the interface. Hence the lack of traditional respect.
Ops is the same thing! It used to be "Log into a machine, run scripts, follow prompts"
Now it's "Figure out how to make things run well atop a kube cluster when nodes appear and disappear, etc. with all of the operations requiring judgement carefully runbooked and everything not carefully automated"
For a testing role, those who'll succeed are those who wake up in the morning with an evil gleam in their eye, cackle in their voice: "Well, my pretties....let's see who we get to break today! Buwhahahaha!" And you're good at doing so too. Finding bug nests, have a broad understanding of the code while specializing in particular subsections.
For me, my specialty was fonts, paragraph formatting, smartart objects, and XML. But I tested parts of the entire application. I remember reading prolifically about OpenType, an example of the research I did to specialize.
@grave crest So being a software test engineer doesn't mean that you are worse in programming than a software engineer right? It's just that test engineer has a specific sets of skill to find bugs?
Exactly @floral urchin. It's a different mindset, different set of skills & tools, with a different goal in mind.
It depends on the job itself, as the line between the two is blurry from place to place. Some testers don't write the code itself, others have a hybrid role of writing code & testing. Some do manual testing, yet some might do scripting + testing frameworks.
But a tester is looking to break things, and figure out why they broke....eventually leading to fixing them & preventing them from ever breaking in the first place.
From my perspective, the best software developers do test-driven development. They write the tests first, and then write the code around them -- forever changing the approach they take to development. It's more solid, robust, and usually fewer bugs that way.
The part that I'm worrying about is that I do want to be a sort of hybrid, find things that break, and fix it myself too. I guess it depends on the company that I'm going to apply to.
That's a good, healthy approach.
TDD is interesting. I occasionally read/listen to podcasts on it.
I believe in a hybrid model, it yields good results. Otherwise, it can turn into fierce arguments between the "testers" and "developers".
Alright, I think after reading what @grave crest wrote, it's more clear to me what I want to pursue. I'll just try my best for the interview tomorrow π
Best of luck!
As for topics to look up -- unit testing, edge cases, testing automation, TDD.
They're looking for someone who'll be a good fit with the team's culture + has the core skills + is able to learn. Good luck π
They might ask you to design test cases for a "candy bar vending machine". It's a common boilerplate question for testing interviews. They're looking for logical, structured thinking -- focus on one area/set of features, then move to the next.
Or they could open up Notepad [or any application] and say -- ok, find me bugs. Show me edge cases. [For example, you have a field to fill out that takes a number. What happens when you put in a letter? Punctuation? Wildcards? -1? 0? Empty? Spaces?]
@tame saddle Any particular books & podcasts you enjoy regarding TDD?
I haven't touched development in a professional context for a while, just wondering what's new and interesting out there π
I have to say, this is the most comprehensive answer that I get from discord
Can't thank you guys enough π
π
Yeah, I have to say, I'm testing obsessed and also operations obsessed, but I've never had an explicit testing or operations title.
There is the career role for power-generalist who can actually fit enough of the whole stack into their brain
The example problem there is "Starting with just a company credit card, can you build out the infrastructure for a team such that when there are individual staffs for operations, performance, testing, security, engineering, and IT, none of them hate you"
Also, this is one of my favorite testing toys. This is the Python version, but there's equivalents in a bunch of languages: https://hypothesis.readthedocs.io/en/latest/
@grave crest no books yet, just articles along the way. And Brian Okken's Test & Code podcast: https://testandcode.com/
Made a 32u4 Raspberry Pi pHAT :)
Itβs for GIMX converter (converts mouse+keyboard input into PS4 DualShock protocol so you can play shooters with mouse+KB)
ICSP header is the fav part ;)
shiny new role @late fulcrum
This is the biggest kanji character to date, with 84 strokes
taitΕ = 3 cloud kanji on top (tai) and three dragon kanji on the bottom (tΕ). Basically meaning βDragon in flightβ
Pretty cool
So, statistics are kind of weird.. if I have a ten percent chance of developing a disease, and I take a supplement advertised to decrease my chances by 80 percent. 0.1 * 0.8 = 0.08.
My chances are two percent now. But then I take a supplement said to increase my chances by 20 percent. Would that be 20 percent of the 2 percent I have now? Or 20 percent of the 10 I started out with?
Either way: it comes out to the same thing (0.096 or 9.6% chance).
So, if it was 20 percent of my 2 percent, then I would have 2.4%. But if it was 20% of the initial 10. I would add 2 percent to 2 percent, leaving 4 percent chance
I donβt get it
I don't think you could conclude anything without more data.... there could well be combined effect of the two supplements (when taken together) that complicates the math.
80% of 10% is 0.8 * 0.1 = 0.08, so your chances are 8 percent with the first supplement. If you then use the second supplement, you increase your chances by 20%, so you can multiply 0.08 * 0.2 = 0.016 and add that to 0.08 to get 0.096, or you can just multiply 0.08 * 1.2 and still get 0.096.
Or you can take 20% of 10% = 0.20 * 0.10 = 0.02 and add it to the original 10%: 0.02 + 0.10 = 0.12 (or again, just multiply the original 10% by 1.2 to get the same 0.12. Then take 80% of that, yielding (again) 0.096.
I think you have this issue: when you interpreted "increase your chances by 20 percent" as "multiply by 0.2", but it's really either multiplying by 0.2 and adding to the original chance, or simply multiplying by 1.2 (100 percent + 20 percent).
So: first supplement alone: 8% chance. Second supplement alone: 12% chance. Both supplements together: 9.6% chance (whichever way you calculate it, you get the same answer because multiplication is commutative).
Oh god
I'm getting flashbacks from 9th grade
I would get really stressed from algebra
@late fulcrum I see the misunderstanding, I said the first supplement would decrease my chances by 80%, not lower them to 80%
And the second would increase them by 20%
My mom was a math teacher so I learned algebra before kindergarten
Now thatβs pretty good
Which nixie tubes should I pick up for a clock? IN-14 or ZM1332? I also thought about IN-18 but it's REALLY expensive and apparently shouldn't be driven with 74141/k155id1 driver IC. Also if you have other suggestions you can post them as well.
Casting Out Nines
for adding a column of figures
0 + 9 = 9 8 + 1 = 9 7 + 2 = 9 ..
5280 6
4096 1
+ 2048 5
======
11424 3
5280 6 = 8 + 2 + 5 = 15 = 1 + 5 = 6 (or 15 = 15 - 9 = 6)
4096 1 = 6 + 9 - 9 + 4 = 10 = 1 + 0 = 1 (or 10 = 10 - 9 = 1)
+ 2048 5 = 8 + 4 + 2 = 14 = 1 + 4 = 5 (or 14 = 14 - 9 = 5)
======
11424 3 = (horiz.) 4 + 2 + 4 + 1 + 1 = 12 = 3 (1 + 2 .. or .. 12 - 9)
(vert.) 6 + 1 + 5 = 12 = 3
It also works with 11 instead of with 9 but I have forgotten the exact method.
x * 10 = x * (9 + 1) = x * 9 + x
when you add a digit to the next-lower one, you're essentially replacing 10 * x with x
summing the digits of a number doesn't change the remainder when divided by 9, which is what you get
and when you add a series of numbers, the remainder of the sum will be the sum of the remainders modulo 9--add the digits again!
for 11, add pairs of digits at a time. it works because 99 = 11*9, so you can replace 100 * x with x
86415 -> 6415 + 1600 = 8015
8015 -> 15 + 160 = 175
175 -> 75 + 2 = 77
therefore 86415 is divisible by 7 since 7 divides 77 -- double the value of the pair of digits to preserve remainder by 7!
(insomniac with math tendencies--this is what I think about when I can't sleep!)
that is awesome ;)
I'm intending on figuring out how to do decimal multiplication using only binary (for a Forth project).
The cheater way is to just write the algorithm in C and then copy the answer back into Forth.
Forth already provides for multiplying by two (shift the bits to the left one place) or division by two (shift right).
Good luck with that! Sounds like fun. π
I once wrote a binary divide-by-3.5 function in 6502 assembly language. Needed it for Apple II graphics. It used the repeating binary representation for the fraction 1/3.5, multiplied by adding for 1 and not adding for zero, then shifting. I tested it to see how many times the loop had to run to give the right answer for all 256 values. And no one else ever saw what I did. π’
I'm testing out the Discord emoji πΊ
Haha. My first intuition would be to consider 3.5 a special case of 7. ;)
My mom accidentally noticed I was doing 'long' division the hard way when I was a kid, and showed me the short way.
I must have missed that day in school -- nobody caught on that I hadn't learned the short way.
I think that was, like, the only time either parent noticed anything I was/wasn't doing in school, and corrected it.
My dad taught me long division because I asked where the batting average in the sports pages came from. But yeah, other than that it was usually, "We're trying to watch TV."
"averages"
And yes, 1/7 in binary is .001001001... 1/3.5 is twice that, so left shift to double it: .010010010... 6502 doesn't even have hardware multiplication, let alone division. I would've divided by 7 the same way. (Most folks used a lookup table but I was tight for space and the code was ~a dozen bytes.)
;) There was a 6502 'laboratory' gadget/assembly .. complete with the manuals that shipped with it .. on a shelf in a hospital's electronics repair department (complete with Faraday cage to adjust the doctor's pagers RF innards).
I was their delivery driver from an electronics parts house. In .. 1979 or so.
I was going to ask them for it, but I didn't.
So if 1/7 works I wonder if many odd numbers work. (or repeating binary patterns, I suppose).
Fractions like 2^m / (2^n - 1) work well because they only have one 1 bit per repeat cycle, so you don't have to do many adds.
BTW, for calendar date math, the fiction "March Zeroth" (last day of February) is pretty handy.
I'll have to look into that. First I've heard of it!
I think I see where you're headed though
Just google for Conway's Doomsday algorithm. Article on Wikipedia.
Though I prediscovered it before hearing of Conways' thing.
Except for the leap year goofiness, the dates are all relatively the same.
The 4th of July, my brother's birthday, my birthday, and Halloween are always on the same day of the year.
"week" not "year"
An old blind guy gave me part of it (he was a church calendar math enthusiast). He said "A year is a day" which was an observation about the progression of January 1st from year to year.
Oh man, some people have even less of a life than I do! π
Looking at the Wikipedia entry now. Yeah, I see now.
$ cal 1 2017 ; cal 1 2018 ; cal 1 2019
January 2017
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
January 2018
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
January 2019
Su Mo Tu We Th Fr Sa
1 2 3 4 5
He was nuts about 'bissextile' which is a reference to the first day prior to the first day of March (the last day of February).
Turns out it was Roman calendar reference.
The Romans counted backwards from a holiday.
The Ides and Calends were two reference points in that system.
Convenient that July 4th and Halloween are Doomsdays.
Yeah when you work with Conway's algorithm, 7/11 registers also as 7/4.
Another helper is when you lay out a two facing pages for a week's calendar (in a loose leaf notebook) you can remove a page to get a difference of 10 between a Monday and a Thursday.
When you're using Julian dates (365 days of a year) this helps lay it out faster.
(As in Monday, 2 September and Thursday, 12 September).
So your left-side page has Mon Tue Wed and the right-side page has Thu Fri Sat Sun.
One 'leaf' in the notebook is a 7-day week (front and back of the paper are used for this).
That's cute! I'll try to remember next time I'm laying out a Julian calendar. π
(Not mocking you. I spend/waste all kinds of time on stuff like this.)
Even when they're mocking me I don't notice it unless there's a tone of voice I can hear. ;)
Those funny hats they made me wear, though ..
my d-link wont turn on anymore
old one i wanted to turn into a network switch
family used it since 2010 until the ISPs starting giving out their own
only Ubicom32 based router i had
RIPβ
Might be fixable? It may just need a new power supply (if it's separate) and/or a couple of capacitors.
tested the external power supply, it was at 12v as it should be, also congrats on communtity helpers
Pretty. X-ray?
Yep, needed to check the solder balls under a couple parts
What's the device? I don't recognize it from the pinout.
That's pretty cool. I've never seen an x-ray of a DIMM before.
what are those rods?
Through-boards?
They're vias π
found this in the dvd writer drive i used to have in one of my PCs
what's so special about it?
ah
Guys I'm making Minecraft hosting (1.3β¬/GB RAM). How it should be named? Plz no popular hosting names ty. Tag me for any ideas.
@sick adder friend decided already touchyhosting
how can I connect two planks of wood so that they can spin relatively to each other?
like two 2-by-4s
Do they need to spin freely, just move without much effort, or what? Any constraints on thickness?
Something like https://www.caseyswood.com/shoppingcart/zen-cart/index.php?main_page=index&cPath=231_10 could work.
I have no idea what that is representing. Rotating is rotating, Iβd think.
i guess a normal bearing + dowel rod would work there
didn't there used to be a digikey channel?
anyhow, if y'all could not crash password reset when it contains a symbol, that'd be great π
Yeah, there was a DigiKey channel for a while.
We still get the icon, at least.
yall think it would be possible to modify the ROM of a car's computer? π€
for older cars i would assume they just got an (E)EPROM somewhere
You can't exactly just pop some in, but it is
If you're trying an older car, it will require a new computer
They didn't design cars with open source concept
A really old car probably has a 8088 or something
Well, 2006 & newer is more of computer, before that was something else
If it's really old, you're lucky if it has that
Wym?
Depends on manufacture, it could be nothing more than data logger for censors, or basically 555 timer for fuel.
They made them to be cheap & compact circuit boards
Then again, it is possible to have 8088, if it was when it was in "affordable" range to their buyers
Well why wouldn't a car have a computer if they can fit it in
Usefull for a bunch of stuff
There is being useful, & bottom dollar.
Which is why aftermarket exists
Especially now it's common for people to add a computer into older cars.
well past a certain year, bolting a CPU onto something became cheaper then designing a circuit from more discrete components
easier too
2006
That was when it became a push for computers to calculate with new parts & censors
Well, just because it hit market doesn't mean engineers are gonna throw it into their product. Rationale is to make sales happen, so unless there is people willing to pay for it. Only then it'll become included. Automatic came out in 1920's it wasn't commonly added until many decades later
But my point is that it would probably be cheaper to have a single CPU plus I/O logic handle everything then many discrete circuits
That also depends on what you view as 'cheaper'; a beta product which could lead to payout for recalls, & lost of customers. Or creating what you trust most
Yes, there were manufacturers that jumped on that chip, but then again it depended on who blew out chunks of cash for engineers to develope to the new stuff on market.
For instance BMW was one of first to go towards computers.
Yet Honda now has it even, way decades later
What about the thingy where you plug a thingy into the car's computer and it sends error codes
That was the circuitry I was mentioning about censors. OBD, is literally nothing more than gives a number if a sensor reads back negative.
It's great for troubleshooting car issues, but that lesson was best learnt trying to work on 1960's Cadillac when you don't have such a thing, & more features than any modern vehicle
I have had a vehicle where that was all my OBD circuit done.
Then again, fuel injection, more sensors have been added to vehicles since
I think you meant to type sensors not censors :P
@fickle slate Ford sold millions of cars with the EEC-IV engine computer starting in the mid 1980s. I had one in a 1985 car with a turbocharged 2.3l four-cylinder.
Based on an Intel chip. https://en.wikipedia.org/wiki/Ford_EEC#EEC-IV
The Ford EEC or Electronic Engine Control is a series of ECU (or Engine Control Unit) that was designed and built by Ford Motor Company. The first system, EEC I, used processors and components developed by Toshiba in 1973. It began production in 1974, and went into mass produ...
There's a hack that's been around for a long time, using a service port to override the internal PROM with an EPROM of your chosing. https://www.tweecer.com/tellmore.htm
The TwEECer is an adapter which connects to the J3 service port of an 87-95 Mustang EEC-IV PCM, giving you the ability to substitute parameters in the calibration data with parameters that match the modifications which you have made to your engine combo. So as you add perfo...
As that page says, the next-generation Ford box uses flash memory and can be reprogrammed over OBD-II.
if someone wants to give me the community helper role I'd be down
I spend a lot of time in here answering random questions, I'm no expert, but I do what I can
shiny yellow βΊ
Rust Cleaning? Remove rust easily from metals using a 1000 Watt Laser. When aimed at a metal surface, the dirt layer and any oxides underneath will absorb th...
Instead of working on CircuitPython tonight, I'm going to an outdoor bluegrass concert. Where's the :banjo: emoji when you need one?
@vernal gale congratulations and thank you (re: community helper role)
Ty
well that didn't go particularly well. My USER PORT micropython device did successfully echo characters into a terminal program running on the Commodore, but it didn't seem to receive anything entered, and then after a few minutes the Commodore stopped showing video. My friend whose system this is was perfectly happy(?) to say it could be the old C64 PSU for all he knew, but of course I worry that it was obviously my hardware that did it. π¦
and this is at the office so we don't have any diagnostic equipment. booo
probably just ancient capacitors drying up
If I remember correctly, C64 power bricks had heat issues, too.
yeah they're pretty bad
According to youtube (8-bit guy I think), the old C64 PSUs tended to fail in the way where they start sending much too high a voltage, so there's a risk to your MCU too
also, Lasers! Is there anything they can't do?
yeah probably a good idea to put a voltage regulator on there if there isn't already
I built two tapuinos today, an atmega328 based sd-card tape drive
for C64
also an eeprom game boy cartridge and flash cart programmer
still need some of the connectors though
and my C64 is out of commission until I get the PCBs for my modulator replacement
hopefully get those next week
we need an oshpark emoji
wow, needsmorejpeg
https://www.youtube.com/watch?v=y4APWK3VVxA more at the intersection of tech and food
Optimus Prime Kitchen Islands Ep2. Don't know about you, but I really dislike touching garbages when I cook. Problem : Commercial touchless bins don't fit wi...
@vernal gale the update is, my friend has diagnosed the problem as being the PSU. Happily in this case it was just under-voltage on the 5V rail. so we will continue experiments with micropython on the USER serial port soon
look forward to it
https://www.thingiverse.com/thing:3354131 I didn't even know I needed this
This is a remix of Nathan Robinson's Particle Proton puller to be a bit longer to work with the new Particle Mesh series (Xenon, Argon, Boron).
I printed it on its side and used a small support within the gap for the USB and that worked well.
This is my Tinkering: https://www...
LOL, just fired up an old late-90s Mac after 15 years of collecting dust. It won't talk to modern HTTPS servers b/c there are no common encryption algorithms left available. But HTTP is fine. Next up: see if '80s Macs (System 7) can still get on the internet.
Haven't seen this user-agent in a long time Mozilla/4.7C-NSCPCD (Macintosh; U; PPC)
PowerPC!
The older machines are 680x0, that will be fun. I downloaded Mosaic for the PPC, it had more trouble than just HTTPS... it's HTTP/1.0 with no Host: header, so it can't talk to shared hosting servers. CircuitPython is HTTP/1.0, but fortunately does include the Host: header (and of course speaks modern HTTPS).
IIRC you can set up a proxy.
Thanks, yes I may do that, for Host and for non-sensitive HTTPS sites.
I miss the old 68030-based Macs. Those were fun.
E
E
@stuck moth excited for celeste chapter 9?
yup! not sure when I'll have time to play though
ooh found a time next week to work further on the micropython + C64 USER PORT serial adapter. The going theory is that because the board is not asserting one of DCD, DSR, or RTS, the first C64 terminal software we tried will not transmit anything. I'm not entirely confident of this, but it is the first theory we will test, by asserting those lines manually.
need to also look at getting proper "UART console" working in circuitpython, because micropython on an esp32 (the only one I got to work with micropython console switching/duping) is a bit of a drag without usb filesystem!
and to further complicate things, the C64s live at my friend's place, not mine
I guess you need GoToMyC64. π
oh my goodness that is an awful/terrible idea
let me know when it is available, I would like to subscribe to your beta software
too bad I sold my spare c64 already lol
Samsung has their dev program that lets you try your software on one of a pile of their physical phones with some sort of remote control interface. You should totally do that for a C64
I'm glad I don't have a C64 or I'd totally be registering that domain and starting to work on code right now:
Hmm, I have a broken C64 someone gave me, I should see if I can get it going again.
probably a bad PLA
could be lots of other things, but that's usually what goes first and takes down a whole system
is it a black screen @late fulcrum?
Enjoy this restoration of the βportableβ Commodore SX-64.
In this video you can see amateur repairs performed upon the Commodore SX-64 Executive Computer involving the SID, PLA, Graphics Memory, Keyboard Cable, Disc...
No full-size TV required, so that qualified as portable. See also http://www.retrotechnology.com/herbs_stuff/macbag_gr_st1.jpg
oooh
That's a clever approach for side-emitting LEDs, and may be easier to hand-solder than ordinary surface mounting of those packages.
@smoky grotto I'm hoping that's a disk drive with a built in airhorn that warns my friends and family when it's 90% full.
Ooh got my pi4. It's as slow as any other pi I've had at updating packages.
And the fan shim makes it not fit in the case I 3d printed
But the fan is quite quiet
765Mbit/s download which is as good as any other wired machine in the house though. Upload was bad for some reason though, 4Mb/s
No its a part of a sorter
I already made a that part with the 3d printer
The darkgray part is the steppermotor
The rest is 3d printed
Folks who have higher-end keyboards, how often (if ever) do you remove the keycaps and vacuum/brush out the collected detritus?
I've got a K70 red, and I just hoovered out all the hairs and other odds & sods
Now I'm not disgusted by looking down at my keybaord
between a beard and a cat
it was yucky
yea i go alot to lanparty's and then it is under the chips ect. i have a pencil for it π
Every couple of years, I'll pull the keycaps off my Matias Tactile Pro. I'm not particularly messy and (usually) don't eat while using the computer, but it was all full of hair (human and cat), dust, and bits of stuff.
Recalling a bunch of 6502 comments in here awhile back, saw these and thought they might be of interest:
That's a little boggling.
A while back I was doing something with a 16gb microsd card and realized that it was basically the square of a 140k 5.25" Apple II floppy disk. It held ~140k bytes for every byte on the Apple floppy. And it was small enough to worry about losing it in the carpet if I dropped it.
Sneakernet keeps getting better and better.
yes i agree
when will the Adafruit MONSTER M4SK - DIY Electronic Eyes Mask be in stock?
@amber jungle As of this moment, Digi-Key has some MONSTER M4SKs in stock:
https://www.digikey.com/product-detail/en/4343/1528-4343-ND/10419155
Why didn't they call it "liftsy bitsy" https://www.adafruit.com/product/4363
Give your ItsyBitsy project a lift with the Adafruit AirLift Bitsy Add-On - a daughterboard that lets you use the powerful ESP32 as a WiFi co-processor. You probably have your favorite ...
@sick adder
or pee-wee Wi-Fi
or bonsai Huzzah
No
just a myth made by the technophobic baby boomers
Because my friend says that 5G gave people headaches and stomachaches and killed 300 birds! But I still dont believe that
@dusty citrus There's a lot of that going around. Here's a recent NYT article about it.
https://www.nytimes.com/2019/05/12/science/5g-phone-safety-health-russia.html
I just want the actual information that 5G harms people
I want faster internet
I want faster mobile data
My friend is brainwashed by all these fake articles
I clean mechanical keyboards twice a year.
My newest keyboard (GMMK TKL) is hot swappable and has Zealios V2 which are the true higher-end MX profile switches.
Other keyboards
Partly I'm not fully awake, so my memory may be failing me
What anime is that avatar from?
Hatsune Miku. Not anime actually
Ah hah
She's a vocaloid
All of them are eh?
Yea, vocaloids are super popular at conventions
Not as much as Boku no Hero Academia, but . . .
I'm from Japan and vocaloid is bigger than boku no hero here in Japan
It's only still slightly growing popularity here in US, but I think people immitating their performance on stage is helping
I just checked a review video while ya was posting pictures of keyboards
I'm not big into RGB keyboards
Majnly because it's hard to find key covers I want
I don't mind RGBs. They're cool
Then again, I already gotta turn off my computer due to all the rgb lights
Mobo, speakers, etc
Rebuilt keys?
Oh, nice
Thanks!
Next keyboard I want to do is to make mine closer like one from Net-juu Susume
Ohhh
Yea, I repainted keyboard like it, but it's basic keyboard. Now I want gamer keyboard in same colour
Also Japanese key covers instead of Russian
Gamer keyboard? So you want a keyboard with switches like MX Red or Speed Silver?
MX Red
Yea, not sure which I'll end up preferring, but everyone I know recommends the MX Red
Yeah, Red is battle-proof and a safer option
Yea, battle-proof is main reason they tell me, since I tend to also use old typewritters
So, slamming keys are too easy when I am in middle of a game.
I believe I have fallen in love with Daft Punk
I will buy myself a gigatron TTL computer
But the shipping price is really surprising
ms!ping
:greencheck: pong! 227ms
ms!help
ms!code - Code Database: For more info on CodeDB, run ms!code.
ms!addcode - Add code to the Code Database. Run ms!code for more info on this command and it's args..
ms!3D <search/id/user> (search/thing id/username) - Thingiverse.
ms!product <id/search> (id number/search) - Adafruit Store.
ms!learn <random/search> (search) - Adafruit Learning System.
ms!shorten (full-url) - Bit.ly url shortener..
ms!info - Get info about the bot.
ms!server - Get the invite link to the MakerSandbox server!.
ms!invite - Invite the bot to your server.
ms!suggest (Suggestion Name) | (Suggestion) - Request bot features.
ms!ping - See how fast the bot reponds!.
ms!opensource - Get a link to the MakerSandbot github page!.
ms!help - Shows all commands for the bot.
ms!code
Read about Code Database Below:
CodeDB is a One-Of-a-Kind code feature! You can upload custom-code with a cool name to the databse, and it will be added to the list of codes. This means that it will be up until we do a code recurculation, when we take down your code so we have space for new code!
Just run ms!code list to get a list of the code cards and therir ids. Then run ms!code open (id) to open the code on that database!
It's super easy to add code! Just run ms!addcode (code-name) - (code-lang) | (code-description) | (Code-NO-MARKDOWN) and it will be up there! Also... we have added an extra feature for people who post to the code database: A Vurtual Maker Badge, and 200 free MakerCoins per-post. DO NOT ABUSE THIS OR YOU WILL BE BANNED FROM THE DATABASE + MONEY COMMANDS!
@dusty citrus The Gigatron is an interesting approach, especially the "programmable gate" stye ALU.
I would have done it a little differently, but they got it working, which counts for a lot.
Thing is it seems more interesting for me
And I could mod it
Or do a whole bunch of stuff
It is a nice TTL build without using a TTL ALU (but using a bunch of ROM and some diodes to emulate sequencer/decoder/gate functionality).
The main thing I would have done differently, to keep it pure TTL, would have been to implement a TTL LUT (like used in an FPGA) instead of the diode-based programmable gate. I think it would have been faster and more elegant, but I freely admit it's a personal choice, not an engineering one.
One interesting observation of that (and many other) SSI/MSI based computer projects is that a surprising amount of the chips are basically registers/counters. The actual compute logic is a surprisingly small fraction of what you see. There's a similar effect in early CPUs, where a large chunk of the silicon is occupied with registers/counters.
This was particularly noticeable in the RCA 1801 two-chip CPU. One chip was the logic and some of the counters, sequencers, and registers. The other chip was the program counter and the rest of the registers (the 1802 was basically the same CPU but in a single chip).
Did people actually manage to build a IBM mainframe from the 60s using TTL gates?
And that does sound interesting with early computers just being counters and registers
@dusty citrus IBM mainframes used vacuum tubes in the very early 1960s, discrete transistors after that, and "Solid Logic Modules" (logic blocks soldered up from individual transistors) for the System/360 which came out in 1964! https://en.wikipedia.org/wiki/IBM_Solid_Logic_Technology
7400-series TTL chips weren't even around until 1966.
There were some crazy people doing really hard stuff back then.
So, there's this project: https://www.ludd.ltu.se/~ragge/vtc/
To madbodger's point, that design uses capacitors for register storage
It looks like it was not updated in a long time
yah
that's cool
I'm watching youtube on a Commodore 1701 monitor. Hardcore mad-ladding it right here
twitch too
@lucid jackal @dusty citrus Ben Eater just came out with a video breadboarding a 6502 and writing a "Hello, world" program for it. https://www.youtube.com/watch?v=LnzuMJLZRdU
Learn how computers work in this series where I build and program a basic computer with the classic 6502 microprocessor. More info: https://www.eater.net/650...
Heh, I was just comparing Mustie1 with Bob Ross the other day (but Mustie is the Bob Ross of repairing small engines).
Does the 6502 have general purpose registers?
The 6502, like the 6800, has a somewhat creative approach to registers. Onboard, it just has the accumulator and the X and Y index registers, which can only sort-of be used as general purpose registers. However, it also has "page zero" addressing, which provides special short fast instructions to address data in a particular page in memory. In effect, this gives 256 general purpose registers, but they live in RAM instead of onboard.
In my opinion, the most register-rich of the early CPUs was the 1802 with its whopping 16 16-bit registers.
More precisely, the early single-chip CPUs. For example a DEC KA-10 also has 16 registers, but it's a machine the size of a refrigerator, not a single chip.
@late fulcrum That's a really good video.
But is the 6502 easy to program for?
I think it is, it has a pretty orthogonal instruction set and a straightforward architecture, but I'm probably biased, coming from a 6800 background, it felt pretty familiar.
When you get down to assembly programming, personal taste tends to become a dominant factor.
I feel like the 6502 will be difficult to program without any general purpose registers
@dusty citrus I made my living writing 6502 code for a few years. It's actually fun once you get used to it. You learn to make do with what you have. As @late fulcrum says, you store values mainly in memory, zero page if they're really important. Things don't stay in A, X, or Y for very long.
The lack of hardware multiply and divide operations would probably throw most people more than the registers. But there's still much love for the 6502 on the internet, lots of resources for it out there.
It's all binary... you can do anything with three (carefully chosen) instructions π (one and two get a little more painful https://ieeexplore.ieee.org/document/7847384)
I guess I can try to play around with the Z80 and the 6502
I imagine the registers on a 6502 aren't any faster to access than the RAM so register vs page0 didn't make much difference. In contrast to modern CPUs were going to RAM might take 1000 times as long.
@Luminescentsimian Correct, two clock cycles for either, but three clock cycles to access memory outside zero page with a 16-bit address. And we really did count those cycles.
I should add though that it wasn't really one or the other. You loaded A or X or Y from memory or stored A or X or Y to memory, or you added a value in memory to A. Most operations (excepting "increment A" and such) involve a register and a memory location.
A short video going through the main components of the Nordic Thingy:91. The Nordic Thingy:91 is an easy-to-use battery-operated prototyping platform for cel...
Well, dang it, my pihole ate itself.
That was an annoying last hour reconfiguring my network around it.
I think it's their first shown. Sound like based on the idea of show & tell + ask an eng.
https://www.youtube.com/watch?v=uPV6Kuh_SS8&feature=youtu.be
We will be showing off some new products, and looking at one of our intern's project!
I wish adafruit would just slow down. They make great products, their documentation and learning resources are second to none, and they have created great communities. But they bring out a product, it goes out of stock and seemingly they have moved on to the next big thing. I really want to buy a Pygamer but waiting for them to restock... Gosh it's frustrating. Sorry if I'm misinformed, but I feel it has to be said... Please adafruit, make enough for everyone who wants to buy one.
@woeful forge Digikey has them in stock. https://www.digikey.com/products/en/development-boards-kits-programmers/33?k=Pygamer&newproducts=1
@woeful forge How do you know how many to make on your first run? Make too many, you wasted money that you could have used for other things and you're sitting on inventory (especially if you find you need to make revisions).
It's a hard problem to solve
@torpid belfry I agree it is a difficult equation and I do truly want adafruit to be successful. I just think the excitement, anticipation and build up to some recent products like the Pygamer and the NeoTrellis M4 before it would have warranted bigger initial production runs. They both went out of stock so fast.
@frail blade Thanks for the link. I'm in the UK. When international shipping and import duties etc are added it all gets a bit expensive. I've been waiting for notification that Pimoroni have it in stock.
Maybe I should just be kicking myself for not ordering fast enough.
I'm currently need an app to run on android pie, it is tested to work in android lolipop, will it be guaranteed to work as usual?
There are a lot of nice platforms available these days for crafting games. I had a lot of fun writing simple games in BASIC on an Atari 800. I'm thinking of trying my hand at doing the same with a VIP2K, and possibly learning CHIP-8.
Any of you heard that the 8 bit guy is creating his own 8 bit computer?
@late fulcrum I was writing games as well back in the eighties - not very good though - on my C=64, PET and BBC Model B. I still have the C=64 I bought in 1983 and my wife's Atari 800 XL.
@dusty citrus The 8 bit guy has never done anything about the BBC Micro which is sad because it is the progenitor of Raspberry Pi and everything ARM powered eg. almost all mobile devices and most of adafruit's products.
There are some good writeups out there on how the original ARM CPU works. It's an appealing approach, and the ISA is fun to work with.
I hope I can get my hands on a RISC V dev board
So that I can do programing on it
Using C++
Or maybe assembly
TVS like transient voltage suppressors, or televisions, or something else?
Ah. Is it an analog or digital television, and CRT or flatscreen? Also, what shape and location is the shaded area?
lcd
ccfl backlit
about +-2 in from the sides appears lighter
its very apparent on a dark screen
That's an odd one. Is it a sharp, distinct difference, or gradual?
sharp
shall i share a pic?
its more distinct on the left hand side
i initially thought it was the psu burning the lcd
but then it should be fine at a cold start no? lcds recover dont they
That does look like a burn.
i have no idea
Does the display itself get hot, or is it (or has it been) in the path of something that exhausts heat? I saw something like this when an LCD display was in the path of some electronics heat flow, but this is more dramatic.
A similar thing happens with the phone I just replaced, an LG V10. That's just what happens to LCDs when they overheat. The big question is, is that normal (i.e. a design flaw) or a fault in your particular device.
i think
its not just age
but since i use it as a monitor is on quite alot
ccfls get hot man
Time for Dark Mode
i wonder
do you guys think it will be reduced if i put in washers
then again dunno if i can
but it seems permanent
as its there on a cold start too
i do wanna upgrade it tho
will when i have funds
I'm in and out
Not a whole lot: my phone knowledge is mostly older stuff.
ahh kk
For anyone who is looking for a great resource for free templates to make Kamen Rider (Power Rangers etc) helmets for halloween using EVA Foam -- I found this channel :
https://www.youtube.com/user/batmannabe/videos?view=0&sort=dd&shelf_id=12
Maybe make it light up with a monster m4sk or other Adafruit stuff eh? @thin rose @spare ether
Better preview image for the link above
Is confedyank still here? Its bobaFETT.
Yo yo yo
Sorry, helping a buddy making Hogwarts house robes
We got side-tracked on books to carry to sell being idea that we're wizards
Hey @covert spire, its been a wild ride trying to get my tech back in order after the nuking of my phone and computer. You upgrade to general license yet? Or was it extra you were working on?
Morse code isn't necessary, if you are still in the us that is
I need to get back to the dihs and dahs myself
I need to get my antennas set up now. I moved into the boonies
Ahhh, that would cause lost of tech realms
But, great oportunity to garden at home
Also less rules against antennaes
Looks like a heatsink blew off?
It didn't blow off
I removed it
Since I was lazy to use a vacuum cleaner
To clean the heatsink
I just brought it to the kitchen
And banged it on the side of the sink
And
Dust got off
Heh throw it in the dishwasher?
But what about the fan circuits?
I want my PC to go up in smokes and my mom running into the living room asking
"Where is all the smoke coming from?"
I meant the motherboard. The case, you could take apart and clean most of it fairly easily with a brush.
I just used a damp paper towel and wiped it everywhere
Uh I need help
So
My xbox one S
A ethernet cable is stuck in its ethernet port
Nevermind
I managed to do it
@dusty citrus FYI that heatsink glue is super toxic, personally I wouldn't want it in my kitchen
So I've heard anyway, the SDSs I've found don't look terrible.
I was talking about banging your heatsink on the kitchen sink
But perhaps I misunderstood.
What would happen if I washed my face too much, and didnβt let my face oil over at all
Dry out?
Hello All. New to Discord. Just bought a PyRuler to get started on learning some coding.
What happens to some people is their skin is unhappy about the dryness and starts to both get flaky and produce copious amounts of skin oil, leaving them with an oily, flaky face. This happened to a friend of mine, who finally saw a dermatologist who recommended the counterintuitive approach of using a moisturizer for an oily face. It worked, too.
So
I was luckey
I found some wireless earbuds
But
The problem is
The battery is swelling
Time to replace! However, working on earbuds is generally difficult.
what size lipo is it? more than likely a 1 cell and something like a 200 mah. Try looking in the hobby/ rc world for something. Hobbking.com maybe? 2c
okay so
stupid question
im trying to forward ports on my routher
but i dunno how
idk if the wan port is udp or tcp
so um unsure where to put each value
im kinda estranged to this, no idea whats going on
i tried the protforward app, works well but needs full version
warframe requries ports UDP:4950, 4955 and TCP 6695-6699
im trying to get those to forward
as well as trying to amp up the speeds on my torrent client
(backwards country, backwards internet, hence gotta download to watch anything
okay nvm, seems its something wrong with the game
one thing thatsbothering me is this
but this routher is wonky
i need to find the best setup for it to work with my sim to get the most possible throughput
I just had to share this super deceptively labeled USB battery pack
6600mAh...but at 3.7v.
Not the 5v output.
^that's actually not deceptive, all power bank manufacturer uses mAh at battery spec, cause higher advertised capacity in mAh
Another point to think about is that with the addition of quick charge, charging phone at 9v or 12v would change how you calculate capacity in mAh. So to evaluate raw battery capacity, either look at capacity at battery nominal voltage or using watt-hour(Wh)
here's my power bank, luckily mine specifies both capacity value. 16000mAh is battery capacity, but discharging capacity at 5.1v is 10200mAh.
Do they all use mAh at the battery voltage? Maybe this one is being less deceptive than my other ones that don't specify
most of it yes
I always figured it was at the discharge voltage (and that's what I used when determining battery size for a project)
Welp, learned something then.
If I use a billion lines of FOSS code a day and write 10, I suppose that's "mostly consume"? Seems hard for anyone to "mostly contribute". Maybe I misunderstand the question...
LOL that's a really good point.
<3 the c64 learn guide
Did the server go down for anyone else?
This place is cool. Pricing the led strips in my head though.
I finally have a reason to get the Amazon spy.......https://www.usatoday.com/story/tech/2019/09/25/samuel-l-jackson-first-celebrity-voice-amazon-alexa/2447992001/
Heh, he's been available for Tomtom GPS units for years.
He's also done Waze & few others
question to the people with a k40 laser. There is a display with the laser power percentage on mine. Is there a maximum value that I should not exceed? I assume the 100% will kill the lasertube?
It won't kill it instantly like a diode laser but I suppose it might impact the lifetime
we stay below 70% power
The Hackerspace i3Detroit is doing a live steam all weekend. Laser cutting and circuit python abound.
https://www.youtube.com/watch?v=XnA6b5jt91M
DONATE: http://i3detroit.com/grant WEBSITE: http://i3Detroit.org FACEBOOK: https://www.facebook.com/i3detroit/ TWITTER: https://twitter.com/i3detroit INSTAGR...
btw, it is a fundraiser for our patronicity campaign
https://www.patronicity.com/project/i3detroit_expansion_1#!/
Steam powered Circuit Python laser cutter?
oh yes
So I had been thinking of ideas of building a portable raspberry pi computer
Where I can do coding
And maybe some java minecraft on the go
Any suggestions?
@dusty citrus What exact environment do you plan to work with this, in? Library? Someone's kitchen table? On the bus or train?
An Atrix dock makes an easy route to a portable Pi. It includes a battery, power supply, screen, keyboard, and trackpad.
Alternatively, you could use an ordinary USB powerbank, an old LCD from a laptop with an adapter, and a keyboard and trackball.
The Atrix dock is super portable, but a little small. A lashup with an old laptop LCD could end up more or less laptop/notebook size.
I used to run a cast-off IBM (Lenovo build) laptop with Oberon running on it, because 15 seconds after I powered it on, there was Oberon, ready for me to type into a text document. Solve the 'tryingo to get it to go to sleep and wake up properly' problem by not bothering with sleep at all - powered it off completely.
This was very effective for quick editing sessions on the road.
I had been eyeing on portable raspberry pi computers that has a mini keyboard and a small screen
Kinda like a size of a smartphone or a Nintendo switch
Even a full-sized keyboard and display seem slow to me, so I wouldn't give up at least the full sized keyboard. The Dell Mini 9 had a keyboard I found too small to be productive on (but still better than anything handheld, and I could just barely touch type on it - just wide enough).
I guess I can live with netbook small raspberry pi computer because I dont need that much space inside it
There's other stuff out there like a GPD Win or a Mirabook: if you could find a cheap broken one and graft a Pi into it, you'd have a great little palmtop computer.
Then I can create a special dock to slide the palmtop in and it creates a full fledged desktop
If I wanted to create my own case to build my laptop
I would need to get my hands on a 3D printer
While you could 3D print a laptop case, it wouldn't be very durable.
I guess I'm better off getting something thats a bit more mainstream
Like something with a x86 CPU
And besides
ARM cant run x86 code
The one thing only the Pi can provide that nobody else really can - is a development environment for programs meant to run on .. the Pi. ;)
ARM can run X86 code, just not very fast.
I had seen videos of it runing windows 10 and it was really slow
Windows xp on the raspberry pi would be amazing though
I've run Windows for Workgroups 3.1 on a SparcStation 1.
I notice nuisance telemarketers absolutely never call after 9 p.m. Which tells me that (since they aren't obeying the Law, anyway) there's no money in after-9 harassment.
That means people are giving them what they want before 9 p.m. but wouldn't, after 9 p.m..
I set my phone to only ring for people in my addres book π
I harass them any time they call.
I'm too cheap to subscribe to Jolly Roger, but that would be awwesome.
Reading them (fake) credit card numbers with randomly varying speed and volume infuriates them. One called back four times to give me more insults and imprecations. I claim victory.
I physically owned a machine (no special retailer) that was able to somehow count rings or something. Many years ago. And if the caller did the right thing, it'd ring through to the answering machine. If the caller didn't do the right thing, it wouldn't. Pretty sure it was based on ring signal counts. I've forgotten just how it worked, but it implemented some form of 'the whitelisted callers know what to do' protocol.
I've thought of taking an old CLEP or voice synthesizer modem and creating an unending automated attendant that whatever you press, you get 10 more (randomly generated) choices. People I actually want to hear from get the secret code or whitelisted. Unfortunately, I work from home and have clients all over the world, so I have to answer random calls.
I just wait 5 seconds after answering the line. Removes a lot of the will to continue, for unwanted calls.
I answer brightly "Hello?" and always press the keys to talk to the representative, who quickly comes to regret their life choices.
Haha.
I have a friend who claims he got some voice recordings from the official woman who did them for the (local) phone company. He has some kind of fancy PBX stuff. He uses her voice to mess with telemarketers and such.
I just have an old Phlink phone interface, some old modems, and a very nice headset.
I'm using a Jabra Evolve 365 bluetooth headset with a cordless base that accepts Bluetooth for my POTS needs.
And a lot of familiarity with infuriating vocal habits.
Neil DeGrass Tyson did a YouTube vid recently about the future of space. Something about the audio was intensely distracting to me, and he was constantly physically interacting with the podium, setting off decaying mechanical oscillations getting into the microphone at .. oh about 2 Hz or so.
I'm using a Plantronics M22 interface unit with their H101 binaural headset, connected to a ZoomSwitch ZMS20 USB interface so I can switch between my computer and phone line.
Are you tethered or is that wireless?
Yeah, it's tethered, I have little patience with wireless headsets.
One nice thing about the headset is that I can continue to do paying work while ignoring the telescammer, occasionally saying "What?" to keep them going. I had an auto warranty scammer on the phone for 46 straight minutes before I explained that I wasn't buying.
If everyone did that, they'd be out of business in a couple of weeks.
Haha.
I have a nuisance friend who does all the talking. It always amazes me how long he can go on for without feedback.
The "you won a vacation" ones are like that. They'll drone on for 10-15 minutes, listing all the features of the (weirdly expensive for a free vacation) that you'll (never really) get.
I used to think I was better off pretending to cooperate with anything mentions police (police benevolent this and that) telemarketers.
Now I usually challenge them directly, since I know for sure it's not a live human voice.
They did us a big favor by going to all robots.
I used to fall for those too, thinking that the stickers they sent would reduce the chance of getting a traffic ticket. Turns out that police don't care about the stickers (they know most of the money ends up in the scammers' pockets) and if they do, you can easily run into rivalries, so if it's a state sticker, a county cop probably will sneer at it, and vice versa.
"Quick! What's twenty two divided by seven?" is my standard Turing test. A human will always have a non-programmatic response that is a credible testimony to their actual humanity.
My standard answer to that is "What?"
A close friend has been dating a cop a long time; I asked him about this and he basically said that we cannot accept any kind of gift.
He was actually unhelpful to the 'but what if I wanted to do something nice for the police' question. He had no suggestions at all.
That tells me all I need to know about telephone solicitations on the same subject.
Most of those are actual licensed charities (not good ones, mind you, most of the money goes to profit and to fund more fundraising), so the magic phrase "Please put me on your no-call list" will hold them off for their standard waiting period (generally a year). Not a huge advantage, as many of them have an annual solicitation cycle anyway. If you're lucky, the company doing the calls (it's usually contracted out) will put you on their master "no call" list, and they won't call you for any of their clients for a while.
My phone company wants a pretty big hit for caller ID so I haven't had caller ID for several years, now.
I also refuse to pay for caller ID. Weirdly, even if you don't answer, the scammers make money via "dip fees" that your phone company pays them to get the calling number (which is usually spoofed anyway). The phone company would love to recover that money by selling you the information, but I'm disinclined to pay for mostly garbage data.
I got a lot of dead calls where I did nothing special to dissuade them from speaking to me, yet they never spoke one word (the inbound caller). Like a lot of those.
If we gave phone companies the ability to refuse to route calls from foreign networks who violate their terms of service, it would all be over fairly quickly. The scammers would be isolated on their own network, only able to call each other, and we would be insulated from them.
The only think I could think of was 'wrong gender' .. that they were targeting women for their 'market'.
Yeah, I get a lot of dead calls too, when the autodialer gets more answers than it expected, and there are no scammers available to take the call. Even their "your call is very important to us" (um, YOU called ME) recording eventually runs out of ports .
Oh I get it. That makes total sense.
I had some fun with the "microsoft tech support" scammers, who would want to get a remote session into my computer, using a (stolen) key to the software they're using. I'd go to the vendor's website, find the "abuse" link, and enter the key there. I'm not exactly sure what happens then, but the scammers suddenly become very angry when I do it.
They probably have to go buy/steal a whole new key before they can resume scamming.
When telemarketing was first on the rise, enough to notice from 'background' volume (typical # of calls per week, prior to the rise in frequency) .. I was pretty sure the phone company was selling my 'he just hung up the phone' signal to telemarketers.
Haha you get even in ways I've never even heard of, before. ;) rofl
I noticed today that my new Motorola headlamp (wear it on your head) has a flicker freq low enough to notice while washing the dishes. The water undulates enough to pick up on it.
So I shone it on some fan blades, thinking I was going to have to look through the fan blades, like you do to see the refresh on a (vintage) 50 Hz refresh, B&W compact Macintosh.
I realized I just have to shine it onto the blades, and look from the same side as the light. ;)
I do the same thing with the knobbies on my bicycle front tire -- ride under a 60 Hz sodium streetlight, and adjust my speed to time perfectly with the light flicker. ;)
I don't remember how it worked, but the turntable we had (for 33 1/3 vinyl LP's) had a strobe strip along the rim; probably relied on 60 Hz line frequency to do its thing, to calibrate it.
Google has a hit for 'turntable strobe' for the same idea.
Hey, I don't know if this is appropriate to ask here, please remove it if not, but, do alter-egos denote the presence of psychopathy?
@dusty citrus i don't think its inappropriate. and while i know that Dissociative Identities are in the current DSM, I would highly suggest that question be posed to a mental health professional. (sorry if that seems like a non-answer, answer. its just a field that truly benefits from a professional.)
Gotcha, thanks
random discarded idea:
raspberry pi case thar incorporates a Circuit Playground Express using a serial link, to do whatever cool stuff comes of it
It was called Distinctive Ringing - a phone company service. I think it was meant for when you have two separate pairs of wires providing two phone numbers to, say, your desk telephone.
Guys
What is a good LED to use if I want to make an LED cube with RGB
Isn't there a type of RGB LED with a 10-bit color decoder inside?
You just send it a serial color code through that line, and it will create it, I think
apa102
You could basically hand-send the entire RGB sequence to apa102 I think. Doesn't seem to require synchronous timing.
https://www.adafruit.com/product/3195 BLINKT
easy to program - I did mine on bare metal ;)
Can an NPN BJT take about 1.5 amps?
Does anyone have some part number for this?
1.5A at 5V
For an LED cube, you could use these https://www.adafruit.com/product/1938
bitbanged apa102 for Arduino IDE:
https://github.com/wa1tnr/apa102-demo
SpaceX's Starship and Super Heavy launch vehicle is a fully, rapidly reusable transportation system designed to carry both crew and cargo to Earth orbit, the...
@dusty citrus 2n3055 is a classic NPN power transistor. I've still got a few in Radio Shack blister packs. 15A at 60V.
TIP31C is another golden oldie. Smaller TO220 package, 3A at 100V.
There are a whole lot of NPN BJTs that can handle 1.5A at 5V. The TIP31 mentioned is a nice choice, common and easy to breadboard.
I remember I was trying to create a micro capacitor bank using ceramic caps in parallel
So me being a genius
I put a cap that was not ceramic
And I almost had my house filled with smoke
I could I have put the caps in series
Whoops! What kind of capacitor bank?
A quick look through DigiKey looking for a 1.5A, 5V NPN BJT brings up the 29 cent SS8050 and the 86 cent ZTX649, among others. Those two are in TO-92 (ish) packages that are really easy to breadboard.
There are, of course, other exotic choices like the 2N3421 in a mil-spec metal can TO-5 package, but at over 21 dollars apiece, it would not be my first choice unless I needed those qualities for some reason.
Yow, there's a 2N1485 in a metal TO-8 package for a whopping $361.46! It's a "non stocked" item, but they happen to have 4 of 'em lying around, should you want them for some reason.
@late fulcrum saw this and thought of you https://www.ebay.ca/itm/1985-Motorola-16-32-Bit-Microcomputer-System-Components-Data-Book-500-pgs/113702679147
I might have one of those but it wasn't where I expected to find it. I did come up with a couple of sister volumes however.
Also, a 1985 single-volume "phone book" edition of Inside Mac...
Sweet dreams are made of this @elonmusk @Erdayastronaut
@hardy rock Back in 1987 I got a job where they told me that if I hired on, they would teach me how to program Macintoshes. "Oh cool" I thought. My first day at work my "education" consisted of them handing me a copy of Inside Macintosh. Then basically I got a "get to work". Ended up being a fun job, but wow what a learning curve!
Iβve been watching a romantic comedy anime, and I donβt know, but it looks like calling someone by their first name, and not their family name shows a really high level of closeness.. I didnβt think it would be that bad
Their way of calling each other is weird to my western mind. And Iβm trying to learn the language, so I should get with the system
@vernal gale The computer I learned on came with a box of manuals and guides. Since the 6800 chip by itself cost $175 or so (back when that was a lot of money), Motorola sweetened the deal somewhat by offering the nicely packaged documentation set with the evaluation board.
