|
Oh, and don't get me started on the crypto scams... which I still feel for... despite being educated and knowing we were in a bubble. Sometimes people can be so convinced in their delusions they sound trustworthy... despite being 100% delusional on 100% speculation (which is a fancy word for guessing)... that even an educated person can go against their better judgement.
Nothing against crypto btw, but by the nature of a bubble, you better know when to get out.
Jeremy Falcon
|
|
|
|
|
When I retired I thought I would "fiddle" around with the equities market, stuck the bulk of the funds into the wife's name and went for low risk, long term stocks. Then attempted to pick and choose some high risk, volatile stocks taking the advice of a bunch of online "experts".
3 months later having dropped a large percentage of the capital I moved the lot into the wife's choices. We don't make a lot but we don't lose much either.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: We don't make a lot but we don't lose much either. Believe it or not, breaking even is a lot better than what most people do. Don't ask what I lost on crypto...
I will say this though, anyone who claims they can predict the market is lying. I mean, you can make money day trading, but it's a hard learned process the "experts" lie about.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: there is active manipulation going on in most markets.
And yet, people still believe "experts" online... You mean the 'active manipulators.'
|
|
|
|
|
I love me some RSI! It isn't biased, it just reports how strong the trend is at the moment. I always trade with the trend, when I trade. Now, that said, if today is not an up day for the market or the security that interests me, I won't buy even if the trend is up. I never go long on a down day, no matter the trend. But if the market and the security are down, and the RSI remains above about 70, I'm going short. Actually, I never use shorts; I buy Puts. The leverage really helps. I find that, in a volatile market with a moron leading the Nation, a Buy and Hold strategy is incredibly stupid, so I've been swing trading and playing options. I'm told that 80% of securities follow market trends in pricing, no matter their fundamentals, so it really makes no sense to try to fight the market, unless you have insider information.
By the way, Jeremy, I use a product called VectorVest for investing knowledge and training. They have been very good to me. They have a YouTube channel, and they will be hosting a weekly live event tomorrow called "Trending Thursday" there. Plan to be there, and I think you might be impressed by the amount of knowledge they have to impart. I highly recommend their service...
Will Rogers never met me.
|
|
|
|
|
Roger Wright wrote: I love me some RSI! It isn't biased I love ya buddy, but gonna have to disagree there man. I don't think the RSI has a negative or positive bias btw. But, I do not think any indicator is the holy grail of anything. This is coming from over a decade of trading and going through many books, a personal hired tutor, self-study, years of back testing, years of watching the charts in real time. I've broken down the math. Written my own RSI in JavaScript. I fully understand it's a lagging indicator. Went through the novice teachings. Went through the advanced teachings. I could go on. I'm to the point now I can back test over a decade's worth of trades in seconds, using things like an RSI.
Did you ever read the book by the dude that invented RSI? I did. I've hosted meetup groups training other people. And so on and so on. I could go on, but it's been my experience that online... everyone tends to assume someone is a n00b or clueless when they post something. That's not me dude. I'm posting so people don't end up like Johnny and just lie about it to save face.
Roger Wright wrote: and the RSI remains above about 70 If you believe in that, you shouldn't, but if you're still at that level, don't forget to get confirmation in a higher timeframe. Not that it means squat, but if it gives you warm fuzzies.
Roger Wright wrote: , in a volatile market with a moron leading the Nation, This is why I like you, man.
Roger Wright wrote: I'm told that 80% of securities follow market trends in pricing, no matter their fundamentals, so it really makes no sense to try to fight the market, unless you have insider information. Going with the RSI isn't necessarily going against the market. It's an oscillator, not psychic pixie dust. Which means, it could stay in overbought for along time while the market continues to go up. My point was pointing out the folly in assuming it can predict anything. But, totally agree you shouldn't fight the market.
Roger Wright wrote: By the way, Jeremy, I use a product called VectorVest for investing knowledge and training. They have been very good to me. They have a YouTube channel, and they will be hosting a weekly live event tomorrow called "Trending Thursday" there. Plan to be there, and I think you might be impressed by the amount of knowledge they have to impart. I highly recommend their service... Thanks buddy, but I wouldn't be going unless I was training and they paid me. And, I already did the training others thing. Anyone that talks RSI over market theory, for instance, are not the people I'd trust. Their P&Ls I seriously doubt will be ever shown, without being doctored, etc.
Btw, the reason I stopped the meetup stuff is because I got tired of the BS. People were so egotistical about it all (not saying you) and lying about everything. Dunno what it is about money, but thar be a lot of ignorant folks with egos being fake and pretending in that circle. And they'll never show you their honest P&Ls.
Jeremy Falcon
|
|
|
|
|
If you are interested in 6502 (and/or computing history) this video is absolutely worth a watch.
He has a bunch of quality videos for retro but this one is great for the history.
The 6502 CPU Powered a Whole Generation! - YouTube[^]
EDIT: Includes interview with Bill Mensch (one of original designer/creators of 6502).
modified yesterday.
|
|
|
|
|
Bender from Futurama CPU of choice!
|
|
|
|
|
That's the chip i learned to code on! I love that lil guy.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: That's the chip i learned to code on!
I'm very curious about a number of things. If you don't want to answer, no pressure I understand.
What year were you learning 6502?
Were you learning this on your own? Or part of some school?
What was your programming rig? IDE? Device programmer? etc.
I'm thinking you learned this back in the 80s or 90s maybe and I'm curious how you had access to that stuff? I remember having a C64 and having no idea how to program it to do anything worthwhile because all I had was BASIC and the other alternative was 6502 Assembly but I didn't know how / where I would've learned that back then.
Just curious.
|
|
|
|
|
1986, on the venerable Apple ][ machines. I got a ][gs at home but i did most of my coding at school labs at the time. I was 8 so there was no programming classes at the time, but we at least had apple labs. Most of the kids played Oregon Trail. I was still into building frankenbikes and stuff in my off time before i really caught the coding bug so like i said, mostly i did it at school to kill time, a bit at home too though, especially as I gained interest.
I learned on my own starting with the BASIC programming manual that came with the Apple ][gs. I was using it in 8-bit 6502 compatibility mode until like a year later.
raddevus wrote: What was your programming rig?
Apple ][gs in 8-bit mode, and Apple ][e's mostly. Though a friend had a ][c, and later i got a commodore.
raddevus wrote: IDE?
Surely you jest! I eventually picked up TML pascal on the ][gs but before that I had no IDE. Just a prompt and either BASIC, asm, or manual machine code (before i learned about the mini assembler)
raddevus wrote: Device programmer?
First one was an Arduino board in more recent years.
raddevus wrote: I'm thinking you learned this back in the 80s or 90s maybe and I'm curious how you had access to that stuff?
Yeah, my parents bought a ][gs as soon as it was released, and we had apple labs at our very well funded schools.
Libraries gave me access to computer mags like Byte. I learned machine code by more or less reverse engineering the code I'd find in magazines. I can't remember it now because I switched to asm as soon as I discovered the ][c and later had it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Wow! You were extremely young to begin learning to code like that.
Yeah, the question about IDE was a bit off
Fantastic information. Thanks for sharing!
|
|
|
|
|
FWIW I learned 6502 assembler in the '80s on my Acorn Atom, that had a BASIC with a brilliant inline 6502 Assembler; you could seamlessly interleave BASIC and 6502 code. The manual documented lots of information about the internals and OS API which was also very useful.
The Atom, for those who aren't familiar, was the predecessor to the BBC Micro, itself the predecessor to the Acorn Archimedes (which was technically way ahead of the Lisa and Macintosh) and Acorn Computers begat ARM. Heady days! "Acorn Computers" was a prescient name for something small that grew so big and strong, doncha think?
I still have my Acorn Atom, with manuals, but no suitable TV for video output.☹️
|
|
|
|
|
Did not know Acorn was the ARM predecessor. Neat.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
FWIW I learned 6502 assembler in the '80s on my Acorn Atom, that had a BASIC with a brilliant inline 6502 Assembler; you could seamlessly interleave BASIC and 6502 code. The manual documented lots of information about the internals and OS API which was also very useful.
The Atom, for those who aren't familiar, was the predecessor to the BBC Micro, itself the predecessor to the Acorn Archimedes (which was technically way ahead of the Lisa and Macintosh) and Acorn Computers begat ARM. Heady days! "Acorn Computers" was a prescient name for something small that grew so big and strong, doncha think?
I still have my Acorn Atom, with manuals, but no suitable TV for video output.☹️
|
|
|
|
|
Saw the 6502 reference in the newsletter, so, got to here.
In 1980, my high school got 3 Commodore PET computers - 16K each. Commodore had a deal - buy 2 get one, so a number of teachers or parents pooled their many and bought them. A friend's dad bought one, so we had ready access to it. Not sure how we got access to the programming manual, but we did.. and taught ourselves.
Jim Butterfield wrote an assembly program that we got a copy of and the assembly code list, so we taught ourselves 6502 assembler as well.
The following year, the school got 12 more computers, so access to more people.
Still, we simply taught ourselves.
Programs I remember writing: a two-person shooting games with cowboys, solitaire Hearts, a Star Trek type kill the aliens game, and, in assembly, fill the screen with random characters and execute a bubble sort to sort the screen characters.
|
|
|
|
|
Tim Carmichael wrote: Jim Butterfield wrote an assembly program that we got a copy of and the assembly code list, so we taught ourselves 6502 assembler as well.
Wow! Amazing.
I had a Coleco Adam in 1984 or so and I would type programs into the BASIC interpreter and they would invariably fail. Once they would fail I was lost for how to fix them. I'm pretty sure my brain did not use any logic back then. Only emotions. But I would sit and stare at the computer, however, that did not fix any of the bugs.
|
|
|
|
|
I had the later 6510 to start with... Which is different but not on the instruction level...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|
|
His channel is awesome. Since the NES used the 6502 chip too, this channel covers some 6502 ASM as it pertains to NES development, as well.
Jeremy Falcon
|
|
|
|
|
Yeah, definitely. He has an amazing set of skills that I think are actually quite difficult to obtain.
and, his videos are really informative and entertaining and well edited too.
|
|
|
|
|
Happy days... I was already using Cobol, Fortran and Basic then (1979/80) but bought myself a UK101 kit, which used the 6502. Frustrated by the slowness of Basic, I bought myself a "Learn 6502 assembler" book and dived in. The UK101 ROM included a very simple "monitor" which allowed you to type in machine instructions address-by-address, and display blocks of memory in hex. However you could also call assembler code from Basic, so when experimenting with 6502 the trick was to write a "loader" in Basic and then you could simply save and load your code to/from cassette tape.
I lived 5 doors away from a fledgling home computer shop (it was just his front room initially, he later moved and it became a pretty well-known source for computer stuff in the UK in the 80s). But it meant I had a ready (and cheap) supply of hardware, so plenty of extensions on the UK101 - doubling CPU speed, quadrupling cassette i/o, doubling screen resolution, doubling memory... and later adding a soundcard.
|
|
|
|
|
I remember something like 'Commodore VC 64' which had a variant of that cpu
|
|
|
|
|
Finally got a minute to watch through the video. Side note, the trick about using the bit shifts to multiply and divide by two, is also why older video cards wanted texture dimensions to be in powers of two. So much in fact, they had their own acronym for it: POT. On older cards, using non-POT textures would slow things dddooooooooowwwwwnnnn.
Jeremy Falcon
|
|
|
|
|
6502 was (Still is) one of my favourite ever CPU's, in fact I have such a deep love for it that I have modelled various elements of it using "Digital" the successor to "Logisim" written by H.Neehman and available on Github.
GitHub - hneemann/Digital: A digital logic designer and circuit simulator.
My First CPU was actually a Z80 back in around 1979, but I rapidly got bored with that, and within a couple of years had moved on to the Acorn Electron, then eventually the BBC Micro Model B (I'm in the UK btw)
I loved the 6502, it was a joy to program. Memory Mapped I/O was the way to go, none of this taking control of the bus nonsense that the Z80 had, it was what would be classed now as a RISC processor, unlike the 6809 which had a register and instruction for every purpose.
The 6502 was light enough that you didn't get overwhelmed, but powerful enough that it could do some fantastic tricks.
Many of my friends followed the route of just using computers to pay games, so they went the Z80 route and stayed with the Sinclair computers, many of them eventually moving on to the 16 bit 68000 CPU's via the Atari ST and Amiga 500 platforms.
Myself I stayed with the 6502 on a physical machine right up to the early 90's, and even though I had a PC by that point in time, and had been doing some work with them due to college/uni etc I never forgot my BBC Model B micro.
Eventually I managed to afford an Acorn Archimedes A5000 with it's 25Mhz ARM3 CPU, a CPU which I felt was the true spiritual successor to the 6502, it had a very similar programming model, just the right number of registers and functionality, and the combined instruction layout (IE: being able to branch and loop without using separate branch & loop instructions) just felt right.
People worship the ARM CPU Architecture today, it's everywhere and inside everything, it would never have happened if it wasn't for the 6502.
Consider too, that the 6502 is an old 8-bit CPU that is still manufactured today. The western design corp, still manufactures brand new 6502 silicon, that can clock up to 32Mhz (Faster than my original ARM3 successor to it) and hobbyists are STILL making their own NEW home computers.
If you look on places like PCB Way and JLC you can find NEW board designs enabling you to build a modern BBC Model B micro, and all of the silicon and parts required to do so are still available should you wish to do so.
Myself, over the years I've released a lot of my old 6502 machine code on places like "*. forums" and Github, I'm also still credited as one of the very few people who actually made the BBC Micro (and it's 6502) produce a rolling multi part tech demo.
BBC Model B Dreamscape Demo (Colour Version) - YouTube
Something that many folks didn't see until the Amiga & Atari ST computers finally hit the scene with their 16 bit's CPU's
6502 will ALWAYS, ALWAYS have a place in my heart, and is a large part responsible for the developer/technologist that I am today.
|
|
|
|
|
For reasons I have to hand implement a parser for JSON numbers that can operate over a stream parsing part of the number with each fetch. It's kind of difficult, so I fired up my Visual FA C# project and fed it this code
var number = FA.Parse(@"(0|-?([1-9][0-9]*))((\.[0-9]+[Ee]\-?[1-9][0-9]*)?|\.[0-9]+)");
var dgo = new FADotGraphOptions();
dgo.HideAcceptSymbolIds = true;
number = number.ToMinimizedDfa();
number.RenderToFile(@"..\..\..\number.jpg",dgo);
which gave me this which I can use to guide my hand rolled implementation:
DFA state diagram[^]
Bam! Now it makes it easy to write what is pretty complicated code by following this graph.
The code that I need to write to be clear, must be able to parse a very long number. For example 3.14159265358979462643 and parse it using say, 8 bytes of memory for the capture, so it can parse 8 characters at a time. Real world those figures would be larger, but the principle is the same.
If you have an easier way, put it in the replies. I'd love to hear them, honestly. Otherwise I'm sticking with my regex solution because I can't think of a more direct route from A to B.
Edit: Aaand my regex was wrong (not quite JSON spec) so I since fixed it but haven't updated this post to reflect the changes. Still, it was easy to change.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified yesterday.
|
|
|
|
|