#general-chat
1 messages · Page 66 of 1
boost converter I assume, do they tend to work at that low a voltage? I expect it to draw over double the output amperage.
(oh, not create USB power from NiMH, but create NiMH charging current from USB...)
It's easier (and better for them) to charge the cells individually.
How
I like to use simple resistive voltage dividers from a common power supply to charge each cell. You can charge several cells at once that way. The dividers limit the maximum charge current and voltage to an appropriate level.
You can get fancier with charge control integrated circuits that monitor the conditions and provide the ideal charge curve. More complex to build, but the cells will last longer.
Whats the circuit though
Circuit ?
@late fulcrum is there a circuit ?
Is this one for all batteries ?
The voltage seems a bit high, and there's no real current limiting, I don't trust that circuit.
I can't find the circuit I used previously online, just stuff like this for current regulated series charging https://www.codrey.com/electronic-circuits/nimh-battery-charger/
If you want a smart charger, TI's BQ25172 chip might do.
I just tripped over a handy part that might be helpful. It's the TLP240A, a dual MOSFET output optocoupler that can switch AC or DC, up to 60V and 500mA.
so the premise is not to do a level shift on the IO, but have each IO drive a mosfet instead? oddly, that is what i did on the output from another board ages ago. othewr than being annoying to add them all (i shrunk wrapped them into the cables, but there was only 4 of them) it worked fine.
hmmm
It's similar to the relay suggestion, just in simple semiconductor form. Any modern microcontroller should be able to drive the optocoupler with a GPIO and current limiting resistor, it's a low current load.
yeah
I had considered mentioning optocouplers, but it seemed like the load wasn't well characterized, so transistor and triac output optocouplers would be problematic. But this dual-MOSFET one I hadn't seen before and seems like a really versatile part. I may buy a few to play with.
the part you suggest is very expensive. unless i got the wrong one.
Ah, I hadn't priced it yet, just looked over the data sheet. I wouldn't be surprised if it were expensive, as it meets the "reinforced insulation" requirements and it seems like a newish specialty part.
Mouser has 'em for US$1.25 apiece in quantity ten, not that expensive (especially compared to relays)
Poking around, it looks like an AB45S might be suitable if 200mA is enough, and they're quite affordable, but I only see them in reel quantities. For small quantities, maybe a CPC1017? 89 US cents apiece in quantity 10, but they're only good for 100mA.
That's a good find!
what i find is everything exists, i just usually dont know the names to look for haha
they also have one to go the reverse direction too
I've had the same problem, I know the feeling!
thats pretty cool. need to bookmark that as it will come in handy for many things on these machines.
That board looks like it uses transistor output optocouplers, which should be fine for DC and low current.
these are.. um.. 50ma if i remember
let me check
ah, its 300ma max output (for driving a relay directly). input i guess is determined by the level shifter
since it is the load
OP71A04
thats whats on that board
I don't follow. The control input comes from a microcontroller, it's just two LEDs in series with current limiting resistors. The output seems to be a voltage level instead of a switch closure, which may or may not be what you want. It looks like it would source about 10mA with a 24V supply and can sink 50 or so?
I had thought you wanted to emulate switch closures for 24V equipment, but perhaps you did want a level shifter like this.
no, you are right. i was just trying to remember the 24v card specs.
dont wory about it ha
they have sourcing and sinking variations and such. it can be confusing to me 😛
Basically madbodger what I want to do is a charger for charging the 1.2 2 aa batteries of my cbox series s controller cause I don't want to buy the rechargeable batteries that they sell
Anyway if you find something ping me
First try!
Nice
I got this screen, it's supposed to be for a raspberry pi something or rather but I'm not using it for that, it's a normal TFT display but the carrier board is made for that
but i cant figure out which pins would be the right ones
its SPI TFT
and i have the driver ic for arduino
does anyone have an idea of which pins would be which
lemme get a better pic
That looks more like an Arduino pinout than a Raspberry Pi one
Definitely Arduino.
anyone know where I can get the type of prongs/connectors like the ones used on black and decker batteries? I don’t even know what these are called but they would be ideal for a project I’m working on
That horrendously annoying gap...
It's just a set of metal blades. You could probably crimp on some Faston style terminals to some wires an 3D print something to hold them. Another approach is to get one of the cheap no-name chargers and pull the connector out of that (I have done exactly this)
maybe
yeah I know the blades would be easy to DIY I was more concerned with the spring connector end
that second option might work tbh
The Arduino bucktooth gap.
..and I'm using the letter 'b' to be polite.
It's an offensive design choice.
hehehe
So, today I learned that konami made an early arcade machine with the game stored in bubble memory instead of ROMs. Because bubble memory needs to be heated up to be usable, the machines had an elaborate bootup sequence, in which a voice synthesizer chip played a countdown while the bubble memory was being heated up, and, afterwards, a graphical display would show up counting down while the game was being copied from the bubble memory to RAM:
https://www.youtube.com/watch?v=o1GFHcJ1SYE
The video description reads:
冬季は暖めるのに時間が掛かります。
Because it is warming up in winter, it takes time.
ive never heard of bubble memory before!
thats a very weird design, and feels like it could result in data loss during a malfunction
but then again, core memory and dram have the same problems, a read is destructive
Apparently, they failed commercially because exposure to magnetic fields would cause data loss
This is also true of floppies, and they didn't fail commercially.
(Hence the "apparently")
and vhs and audio tape
In any case, konami released ROM conversion kits for these cabinets. Which had the neat side effect of dramatically decreasing load times :P
And hard drives
it sounds like bubble memory is using weird physics, to move the bits on the magnetic material, rather then moving the material itself (hdd/floppy/tape)
and then it moves those bits to the read head
but its kind of like an analog shift register, and data just falls off the edge when you shift too far
so you have to read it, and re-write it on the other edge
The Japanese wikipedia has the following anecdote:
電車での輸送時、床に基板を置いていると、データが消失することもある。
When transported by train, data loss could occur if the PCB was placed on the floor
heh
Apparently, somebody is selling a conversion kit that removes the need for using the original bubble memory. Interestingly, they are storing the game in FRAM:
https://illegalfunction.wixsite.com/bubbless/bubbless
(They have an entire procedure for dumping the game from the original bubble memory to the FRAM)
I wonder why they chose FRAM, and not some sort of flash... 🤔
They want to recreate the destructive read too /s
Funnily enough, it might be part of the reason, if the original game code includes routines for rewriting the bubble memory and it isn't something handled at the hardware level
I’ve been thinking a lot about what I want to be for Halloween and I’ve decided that I’m going to be a burden.
(This is a joke I came up with like.. 2 minutes ago)
Lol
Ahh, you're going to dress up as my ex-wife!! 🤣
....sorry.
TMI?
Going as myself actually lol
Pwnt
But hey, if you need a customer docker base image, I’m your guy
tears stream down face
If you wanna help out with my Kubernetes lab, once I'm moved into a new place.. 😁👍
Haha
From my limited experience, imagine docker, but at a grand scale!
I just want to learn how it all works.
I'm likely going with Rancher Harvester.
No, I’m aware of what kubernetes is capable of, I just have no experience building and managing helm files
If you want to build a bunch of different skywater PDK compatible ICs, you could use kubernetes to launch all the docker containers needed to build all your chips
I want to get back to Linux SysAdmin, with a focus on infra.
Something only possible with sky130 (or gf180mcu, or ihp), because having that many floating licenses for cadence/synopsys to check out would be quite the pipe dream :3
They’re pretty cheap, just like.. $3k
For one individual use
$10-$15k for ones that can be managed with a license server
Virtuosos enterprise licenses are like.. $100k
Or that’s what I was told back in 2020 when I took VLSI
😮
And had to use Virtuoso
... I don't like paying for things. Lol
And of course, you don't only need virtuoso
You also need genus for synthesis
And XCelium for sim
And Other Stuff I'm forgetting
I have absolutely no idea what you're talking about. 😅
Back 20 years ago
Integrated Circuit design tools
Ahhh!
Stonks Inflation!
Virtuoso supports sim
Yeah, but xcelium is multicore
That's all I got. Lol
Fun fact: The open-source IC layout software is called "magic"
👍
The website doesn’t list the current price for virtuoso so I’m guessing that it’s still immensely expensive
It has a “contact us” button lol
"If you need to know, you can't afford it"
Yeah, basically
You know how could absolutely wipe the PCB cad market if they had a free or lower cost version?
Altium
They have a startup license for a reduced cost
But still pretty pricy from what I’ve seen
More than I could ever justify paying
Oh well. There's always kicad
Indeed
I think I'll stick to drawing really crappy PCB designs on paper. 😅
I can't even do that!
And ran on a modern OS... And had a nice UI...
TIL altium does not support UNIX? o_O
Yeah
They do have https://www.altium.com/circuitmaker, though I haven't tried it.
Pulled the final pumpkins because one of my smöl ones I was growing for my daughter was stolen by a neighborhood kid
They don't look ripe yet
Or is that another breed?
(Also, the elongated pumpkins on the left are strange ;>)
is that how you refer to squirrels?
pumpkins will ripen after you pick them
stick em in a window
Didn't know!
I mean, they could literally ask for permission to pick a pumpkin
Could have but they straight lied to their own parent about who’s garden bed it came from
o.O
Yep…
Are those cards with the huge letters on them some sort of kindergarten alphabet learning project?
Yeah, my daughters class project
I remember they had us trace enlarged characters to learn the alphabet. We didn't do any crafts
"remember". It's very faint lol
Yeah, school is different these days
It probably is
I mean, we did do crafts projects, but they were figures, shapes, etc
This chat is quite the whiplash
kubernetes -> CAD tools (IC and PCB) -> Gardening -> Learning to Read
Lol
We let ours cure in a box in the basement
The ones from July are ready for pumpkin goodies
cure
That sounds as if you're doing some sort of mad science thing to your pumpkins xD
All I've ever done with pumpkins is pumpkin pie
Lol
Curing is a process in which you let a crop sit for a period of time, either in the sun for things like onions and garlic and occasionally potatoes, and sitting in dark cool areas like winter squash
You can also cure pumpkin in the sun
Essentially, yes
I knew about curing garlic in the sun, but had no idea one can do it with pumpkins
Dry curing is a thing. 😁
Pumpkins turn very very slowly
Which is nice because they’ll last for months before going bad
Same with other winter squash
The phrase "pumpkins turn" is making me think of a werewolf or vampire pumpkin lol
Lol
What does cured pumpkin taste like?
Can you eat it as-is?
Hah. I thought the curing process made it palatable raw xD
no, its still not sweet and hard as a rock
I was trying to figure out how "oiled pumpkin" would look like
Ahh, it's fine... We can just redirect it with a Sharpie.
Or nukes
Hello folks! I'm relatively new to this stuff but I've a fair bit experience with PLCs, circuitboarding, etc
I'm probably going to have a lot of dumb questions but you seem fun so far!
Lee could very well make a direct hit on me next weekend which would be lame
if it does and its bad im gonna have quite a few people over until their power comes back
My Big Tough Q of the day: when you get a new TFT, do you leave the cellophane cover on, or peel it off? 😀
EBun: No such thing as dumb Q - I've asked plenty here... Great gang o' folks! If specific to Circuitpython, ask in that help channel.
Depends on the situation
Sometimes I do, sometimes I don’t
you could get a screen protector if you are worried about scratches
Just got my hands on a ThinkPad X230. 😁👍
It's not exactly perfect condition, expected for the age.. but it's definitely worth £55. 🙂
... More, really. Lol
I may be asked to program some PLCs at work, may need to learn up on that myself.
Fun! They all work pretty similarly, but I personally love working with Automation Direct's Click line. Easy, durable, cheap, and I love how they snap together
I have a couple cm4 coming in the mail and I was trying to think of a fun project to use with the CM4, I was thinking maybe a smöl ethernet switch
Something using this https://www.digikey.com/en/products/detail/KSZ8873MLL/2062419
Maybe I’ll use a 5 port on to have more options
Lol
comodore 64
What Industry? Waste Water? Fresh? Oil and Gas?
Theatre!
O_o
oil and gas powered theatre?
i designed a theatre once. it didnt have an oil, but lots of neon
Oh nice, I love Automation Direct
Ha! Mostly electric. And spite.
spite powered theatre... that's one that is showing cats?
Oh, I promise you that most people who work in this field are powered by spite and socialism
False assertion.
pretty sure the opwners of the theatres are powered by capitalism 😛
I've no doubt
Interesting. Maybe I should start leaving my card at these places. I always thought they used dedicated systems and not plcs
Enjoy!
Hopefully, you use something more sane than that ladder logic thing...
Honestly, it depends on the venue and what they want to do. PLCs are used by some to run simple effects, facilitate non-aural communications (cue lights), and provide feedback in dangerous non-visual situations. Some still use them for automation, as they are reliable enough to run safely, but that has slowly been surplanted by a handful of companies making far more user friendly software for that
I like using them for pnumatic and magnetic tricks
In stonks
$75!
that's what i would consider MSRP
unfortunately, i have other things to pay for first
Available in three configurations of Intel 11th Gen Core i5 and i7 processors, offering fantastic performance, great power efficency, PCIe 4.0, and Intel’s new Xe Graphics, delivering a massive leap over previous generations. The Mainboard is easy to replace and upgrade, and comes with the Heatsink
For x3 more.....
i have some ideas about usign the framework boards.
not time or money to waste on the right now
for just the processor and board - no memory or i/O
ah, just looked and i guess thats the "real" price for that version.
yes, pretty decent deal. not much more than a mini itx board with cpu. but much more fun
well framework is putting their boards on sell
it's great if you have one of their laptops
I will say that the cost of ram and nvme drive isn't that much
no, you can use these stand alone
it is 199 for the i5 version
im seeing cdn prices
Ah I see, makes sense
there was one for uh, 399 a while back. might have been this same one.
only allowed to buyy 4 ha
what the heck are you planning to do
nothing.........
i measured them up a while ago. they will fit in the bottom of a 60% mechanical keyboard
ah yes. that one i saw
I don't need another small pc but I want one so much....
Your competition is no pushover in the aesthetic department…
especially with the discount....ahhhhh
pretty hideous actually.
look at that font
yeehs
😛
It’s funny, I don’t even judge mid keycaps anymore because of how easy it is to just pick a different set
That machined aluminum though
I’d rather just have it printed tbh
O_o
But I know that mine might be the unpopular opinion there
I mean, it’s pretty bad if you need sharp edges and corners, but I’d argue the natural fillets from vapor smoothing are actually pretty nice.
then you get a quite deformed part. there are gaps and voids. it is still not precise enough to fit correctly on a key switch consistently. not really viable for a quality keycap.
Oh, I’d probably stick a not-ABS dummy stem in there if I were vapor smoothing a keycap haha
But if I were machining, I’d go for wood instead of ABS because why not…
in this case, cause wood wood be destroys in use
id prefer corian
but abs with an integrated stem may be more durable
but i cant really get any colours
Imagine machining keycaps in delrin…
You could probably mold some pretty good keycaps too with the right molds
Adafruit has silicone molds for I forget what profile
Awesome I want to make something like this
um. my keycap stems are all delrin
HackADay is so awesome
Did you produce those?
Wow fantastic
I've only ever used delrin for a manual shifters bushings. Theyre so light but hard and smooth.
delrin is nice. but almost impossible to glue
Is this made with a cnc?
yes
Nice, what cnc do you have?
American Raspberry Pi Shop. One stop shop for all your Pi needs. Raspberry Pi add-ons, HATs, accessories, Starter Kit, Media Center kit, RetroPi Arcade kit, Ultimate Kit, and many other project kits. PiShop.us is approved Raspberry Pi re-seller and carries all official Raspberry Pi boards and products.
hello guys! im new here, and i come with a question, i saw this module,Adafruit SPI Flash SD Card - XTSD 512 MB, it was reccomanded to me by a friend, im questioning if it works with the new arduino nano esp 32s3
this one has 3.3 volt logic. where should i connect the vin?
and, im also questioning if it can be formated just like a normal sd card
thanks in advance
my readiing of it is it should behave exactly as if you had a card slot and separate card
So... The X230 has a Supervisor password on the BIOS. 🤬
Apparently it can be cleared by shorting two legs on the IC. lol
eek
Anyone know of anywhere I could find the citcuitpython 3 and 4 posters? They're discontinued on adafruit and I can't seem to find them on ebay
Easy job, but a tomorrow job. Lol
No clue to whom that might be.
I'll assume the seller didn't add it.
Sounds about right. There really isn't anywhere to securely store a BIOS password, unless you count the TPM.
Well, you can start with the datasheet.
https://www.pixart.com/_getfs.php%3Ftb%3Dproduct%26id%3D23%26fs%3Dck2_fs_tw
Hang on let me find the actual link
I'm not sure what TPM it even has.. probably an old 1.0, which would probably be insecure with physical access. 😂
So, uh.... I hope it doesn't have lojack enabled 😬
Pfft
What did you install on it?
Every TPM is vulnerable to physical attack. And yeah TPM1.2 is entirely SHA-1 based and garbage. That being said, TPM2.0 supports multiple hashing and cryptographic algorithms (the exact set of supported algorithms is chip-dependent) and still garbage for many of the same reasons.
corian with integrated stems... just to see what happens. i expect they might break too easily, but we'll see
And then, there's also soft-TPM (I think)
Wait... this doesn't look like corian!
what kind of physical attacks?
do you mean just unplugging the TPM and then communicating with it directly, claiming to be a freshly reset cpu/bios?
Those generally implement (a subset of) the TPM2.0 spec. Words cannot express how much I loathe firmware TPMs.
I guess, if you have a signal analyzer, nothing can stop you :P
I don't really know though
a DH key exchange and encrypted comms would easily stop you
I mean, it would indeed, but, IDK if TPM implements DH :P
I spent a year and half at Intel, on one of the two teams that develops the BootGuard and TXT. I got a system to boot with the firmware TPM once.
... and how would you exchange those keys?
Isn't DH, like, the backbone of HTTPS?
thats the whole point of DH
(from memory), both parties generate a public/private pair
they exchange publics
they can then compute a shared secret, that a sniffer cant get
It's supposed to allow for key exchange under a non-encrypted connection, I think
why not?
Well, it doesn't have the faux granite appearance :P
that shared secret then lets you encrypt the channel, so all further comms are protected
Ah, yeah they already do that. But it can't be used for everything. Especially in a pre-boot environment with no memory protection.
I assumed it'd look like the ones in the middle/bottom
ha
lol
i have mostly greys and whites and black
but now i need some purple, blue, yellow, red, geen
"Fun" idea: Cultured marble keycaps 😆
some of the bright colours are pure acrylic though im told. need to talk to the rep. pur acrylic doesnt machine very well.
corina is kinda technically cultured marble
acrylic with some pigments and a filler than makes it much harder/stiffer
i guess traditional cultured marble is real marble powder
I had no idea corian that didn't look like faux mineral but just like plastic existed
vs aluminium tetra something or other
Your keycaps are the first place I've seen it in
theres lots of corian keybaord cases. no caps that ive ever seen though
the caps are nice. very nice. smooth soft texture. i guess price is the only reason you never see them. peopel would rather buy metal or wood or resin characters if they are spending $20+ per keycap
what made it so hard to boot with a firmware TPM?
I'd never spend $20 (ie, the price of an entire membrane keyboard, or ten, if you go for the Bottom-Bin AliExpress Special) per keycap
yeah. its a peculiar market. it is "jewelery" basically
ha. You need to look at the fountain pen market 😆
Very early in the boot process, incomplete TPM implementation, very slow response times, difficult to configure, and the list goes on and on...
im perfectly happy with the $8 HP keyboards i got for the shop
ah
pens are not my style
I am trying to imagine the catch-22 situation of trying to run code to emulate a TPM with the hardware platform not fully initialized and the DDR being potentially unavailable
a lot of the fancy woods i have are "pen" blanks
I may be getting a headache
There's a person making fountain pens out of ultem
ultem pen. ooookay ha
i want a kiln again to do lead crystal
you think my keycaps cost a lot now... ;x
https://www.gravitaspens.com/shop/p/gravitas-entry-fountain-pen-teal-5xc64-tm42y-e5dz5-2cxjl-65gng-5d6pl if you're curious
The Pocket Dropper - Ultem fountain pen is based on the shape of the original pocket design, but slightly bigger . The design has been modified to ideally be machined from engineered plastics. The pen is quite light with a stainless steel section . The section is 25mm long, 11.85 mm at its widest ta
I don't collect pens, fountain or whatnot.
actually there a guy near mean making $300 titanium pens. nothing surprises me
The best pen I've had is a ¥3 Japanese fountain pen for kids 😆
those are just ball poitns
This is exactly what happens. Although the DDR being available would be just as much of a problem since pretty much everything has basically full access to the system.
I once found a C compiler that tried to compile to code that did not use the RAM for early bringup purposes somewhere on github
It's incredibly touchy.
i should trade him for some keycaps
This discussion reminded me of that
I immensely dislike ballpoints. Too much pressure is required to get good character formation
Rollerballs with liquid ink are better in that regard
a large number of cpu's support cache-as-ram modes
so you can just turn the cache on, and then you dont need a register only compiler
oh. these are probably roller ball then.
....like the Cursed Raspberry Pi Amalgamation CPU's L2 cache
yep, thats one such case
older x86 chips also have it
they seem strong
newer x86 are just as cursed as rpi, lol
no, x86 is always the most cursed
There's a reason why the ISA reference manual takes up an entire library
At one point I had most of it printed.
i mean, there is an entire arm cpu, that boots before the x86 cpu
huh. You can get refurbished LTO drives for ~EUR20.
the arm cpu brings up dram, and copies the x86 bios to ram, lol
I wonder, what's the catch?
Ha
You are like baby
Not on Intel. They do something much weirder.
There is a risc CPU inside the x86 CPU that decodes the cisc instructions
ah, found it:
https://doc.coreboot.org/soc/amd/family17h.html
Also incorrect.
i thought it was a ??? that translates cisc opcodes to risc opcodes on the fly, and then its a risc cpu internally
There are effectively "building blocks" manipulated by microcode. It's not an actual RISC CPU.
Count me as confused by intel marketing lol
ive seen a whole blog on making a 6502 compatible cpu with raw logic gates and microcode
and ive also looked into the centurion and its cpu5/cpu6
both are microcode based, and make understanding the modern mess far simpler
It doesn't just "translate" opcodes. It breaks them down into uops (micro-operations), calculates instruction dependencies, and schedules those uops to use whatever hardware resources are available.
and i think thats where hyperthreading gets involved
there might be 2 int cores, and 1 float core
Nope, that's at a much higher level.
and if the 2nd thread isnt using the float core, it can run both threads in the same clock cycle
Yeah, that's indeed the correct version
There were more than that even in the first generation Pentium (where Intel first implemented the superscalar out of order) architecture).
Think out-of-order execution will end up going out of fashion eventually, what with all the specter/meltdown etc bypasses?
It's highly nondeterministic. There's no way to predict when a particular instruction will be completed.
something ive noticed with the VPU, it is dual-issue on the scalar side, and single-issue on the vector side
a vector opcode can take up to 128 clocks to complete
certain combinations of scalar opcodes can run in parallel on the same clock
and if a vector opcode is running, you can go off and do 128 clocks worth of scalar opcodes in parallel
and some unknown hw block figures out the dependency checking, and stalls where needed
i assume x86 and some arm cores do similar?
No. The performance gains are too high. However, as is usually the case, it can be implemented much more easily and efficiently with a RISC-style instruction set. For instance, the EFLAGS register in x86 requires a lot of logic to implement properly. It introduces literally thousands of inter-instruction dependencies and is not used a vast majority of the time. So, microcode needs to track which bits each instruction can manipulate in EFLAGS and schedule uops accordingly. In some cases, it may be able to use multiple copies of EFLAGS, which means that it also has to track the physical location of each instance and reassemble the final result.
Yes, but on x86 it's even more complicated, since the opcodes are variable length and ucode needs to convert them into uops first. There is code running at an even lower level than ucode to schedule operations.
the VPU does also have variable length opcodes, but its mostly RISC
For comparison purposes: RISC-V has no flags register.
Does it have instruction prefixes and several dozen encodings of the same instruction based on the memory mode?
from this table, i can see that you can figure out the entire length, and the type, from just the first 5 bits
only ld(m) and st(m) can access ram, all other opcodes are register only
There's no way to do that with x86. Also instructions are byte-aligned.
VPU also requires all opcodes to be 16bit aligned
That's helpful.
Backwards compatibility. Not even once. 
VPU was well designed from the start, x86 evolved over time, adding longer opcodes dynamically
exactly
x86-64 had a chance to throw all that mess in the garbage, they choose wrong 😛
Well, to be fair, it was an extension to the original x86 by AMD
Actually it had variable length opcodes from the beginning.
It wouldn't have sold at all if it wasn't compatible with the original
Yes, and it succeeded where Intel failed spectacularly with Itanium.
Because, at the point you break backwards compat, they might as well go for a MIPS server or something
VPU has a 4bit field for conditional execution
i'm not sure what subset of opcodes allow this
how was Itanium different?
That's not really due to out-of-order execution as much as branch prediction.
you're right!
on VPU, 16bit vs 32bit opcodes, are kind of like thumb vs arm
16bit opcodes can only access half the registers
16bit opcodes support a smaller immediate
32bit opcodes a medium immediate
48bit opcodes, just let you shove a whole 32bit immediate after a 16bit prefix
the binutils assembler will dynamically pick the right opcode length, based on the registers and immediates used
It was a totally different architecture that depended on explicit instruction parallelism. Basically they tried to move a bunch of the complexity over to the compiler, but they could never get it to work well. An "instruction" in Itanium (dubbed IA-64 for marketing reasons) was actually a packed array of instructions that fit in "slots", with each slot executing in a different part of the core.
They also added an x86 compatibility mode, but it was painfully slow.
ah, that sounds much more like the QPU (shader core) on the v3d/rpi
where there are 2 ALU's, add-only and mult-only, and a 64bit opcode sets up inputs/outputs for both ALU's
Itanium was an interesting but ill-conceived design that was too complex to implement practically, even with the largest hardware design team ever assembled.
Yeah, it's called a VLIW architecture.
And it originated in GPUs.
personally, i would have throw the x86 ISA encoding in the garbage, designed a new encoding from scratch, but kept some of the x86 style mess for backwards compat
and with 64bit support 😛
if designed well, the assembler could still assemble old x86 code to x86-64
but the cpu then has less work to do during decoding, and it would support 64bit
then the transition isnt as painful
x86-64 does this already. All instructions run in 32 bit mode by default. A prefix changes the instruction to 64-bit mode, giving it access to additional registers.
Hah. I wonder whether the intel iGPUs have inherited anything from ia-64
Pretty sure those are their own thing. IA-64 was vastly more complex.
Bits and pieces of IA-64 were implemented under the hood in x86 though.
I need to finish my microarchitecture textbook...
ia-64 was supposed to be the best invention of the 20th century... and we never got nothin
i remember all the advertising
Oh, they did make IA-64 chips, but by the time they released they couldn't outperform the x86 cores of the time.
p pro killed off so many 64 bit systems back then.
dec died
ibm never died, but went very niche
Being the pillar of the world's banks helps
i did a web proposal for a company to replace all their as400s with $1000 pc's. they went with someone else who sold them an $80000 8 core xeon from ibm then never finished the website. the client went bankrupt and the ibm server wound up on my desk hosting a "under construction" splash page.
sigh
Did you find a use for it?
sat there for like a year and then radioshack asked for it back. no idea what they did with it. (radio shack was the client)
i will say ibm (now lenovo) service is the best though. the thing died on a sunday morning and they sent a guy by noon with a truck full of parts. replaced the mobo and machine was back up
woo
Needs so much work, but it's a project machine anyway.
whats it for? i forgot what you do with these
The keeb is loose, Bluetooth blinks on/off when you flex it.. needs a full strip and clean.. new battery.. screen upgrade, etc, etc.
It's unfortunate really, since most of them were better architecture designs.
Oof. That's the equivalent of the lemon car you buy to keep in your garage and perpetually work on "fixing it"
ha
I'll transplant my drives from the X220t.. and the keeb.
The docking station is fully compatible, so that's a plus.
Just a better machine compared to the X220t.. especially for mods.
thinkpads are nice
because cheeeeeap
staples has refurbs cheap
Because new laptops are all skinny, soldered RAM, etc.
0x6070 == mov r0, 0x7
0x60e0 == mov r0, 0xe
@glad ruin from just these 2 samples, i can see that there seems to be at least a 4bit field for the immediates
ahh
Fairly functional computer for EUR100. Unlike new computers at that price point, it can actually do stuff
but isnt the old one real slow
..and I want the X230, upgraded. 😁
No. With Mint Cinnamon even the X220t is fast enough for my needs.
0x61c0 == mov r0, 0x1c
ah, its not byte aligned, and its at least 5 bits
X220 -> X230 is a marginal improvement... But the mod options are vastly superior.
Still $300 + shipping and tax to the UK that I don't have.
What kinda mods?
sticking a threadripper inside?
I'm sure somebody in Shenzhen has figured that out :)
Mostly stuffing a 1080p screen in there.. which you can't do on the X220t.
im gonna make a wooden laptop
404 bruh
It's a variable length field.
i decoded more and found the full pattern for mov:
011 op:4 u:5 d:4 == ${op<<1} r${d}, ${u}
Yeah, sorry about that. Just google for it.
a 3bit constant
a 4bit operation enum
a 5bit immediate
and a 5bit reg#
0000 in the op, is mov
This is x86 right?
VPU
found it
Ah, nevermind.
for a reg to reg operation like mov r0, r1
the 5bit immediate gets downgraded to a 4bit reg#
which lets the operation enum upgrade from 4bit to 5bit
so it can access twice as many operations, while remaining in a 16bit opcode, but only if you stick to the lower 16 regs
looking over what ive decoded so far
if i take the first 4bits of an opcode and make a table:
00__ TODO
010_ reg to reg operation
011_ reg and imm operation
1___ 32bit opcode
1110 scalar 48bit opcode
1111 vector 48bit or 80bit opcode
That's some AGC level hackery right there
?
so linus just said framework found these mobos at the old factory. spares i guess. thats why they are on sale.
0010 u:4 s:4 d:d ld r${d}, (r${s} + ${u}*4)
0011 u:4 s:4 d:d st r${d}, (r${s} + ${u}*4)
and digging more, i can see there is a dedicated pair of opcodes, for reading/writing 32bit values from an immediate offset, relative to a reg
for example, loading 8 bytes from the addr in r0
but it saves 2bits, by requiring the offset to be 32bit aligned
sure, but a deal is still a deal
Hi new here, and i'm seeing the pain "0010 u:4 s:4 d:d ld r${d}, (r${s} + ${u}*4)", well, i will need to put all my knowledge in action
😉
ahhh hahhaha, i leaved a server because some dumb admin has "pronouns" @stuck moth , this server wil be not an exception idiots! BYE
what
Let me finish that sentence for you....
What... a jacka.... 😛
"Let me join this Discord to whine about pronouns then leave!"
🤔 I need 4x MAX31855 (thermocouple interface)...and they are $8 each domestically. Im wondering if I should roll the dice with LCSC as they are $2 each..
When people were building the Apollo Guidance Computer (AGC), it originally only had a few instructions, but they kept needing to add functionality, so they'd make instructions do double duty by things like catching attempts to write read-only memory to perform specific operations. They kept doing this, and ultimately, every possible bit sequence was a valid instruction to do a specific thing.
what a jackalope? "hey this thing doesnt affect me in any way so i will be mad about it"
Cope. 🤪
I'm glad they left of their own volition, however.
could you imagine if they found out adafruit was run by.. gasp.. a woman?
their head might explode
anyhow
enough of that nonsense
this is what the weather is claimed to be right now...... it has been raining for hours.
Rain is good
not when you need to cut plywood outside to make a floor
That's fair
@rapid geode
No fair!!
It's 32c here right now and I'm dying.
I wish we weren't heading to warmer weather here
there's a 50% chance of rain every day, just permanently set it to 50% and you'll never be wrong.
ah, i was wondering how automatic gain control was relevant!
that also reminds me of the c64 memory map
the 2 rom windows, can be remapped to ram with a control reg
but writes always go to ram
and the "gpu" always reads from ram
so you can save some of your limited addr space, by having a write-only framebuffer hidden under the roms
Lucky... September and in the city it's 30C
"2023-09-09 17:30:28 bedroom temp: 25.94c(78.69f), kitchen: 27.31c(81.16f), living room: 26.44c(79.59f), outdoor: 21.88c(71.38f), server: 27.44c(81.39f) VCC: over 4.5 volts portb: 00000000"
even colder in atlantic canada
Before the big storm it was even hotter
Now we're back at getting hotter T_T
I want to live in Antarctica
In case you're not trolling: It's C, not F
30C -> 86F
Which is reasonably hot
thats pretty cold summer over there. its usually much hotter than that here..
Ah, yeah, it tends to cool down after August has passed
It’s supposed to be mid 70F leading into the high 60s by the end of September where I am
That's fairly cool
Elevation where I live is ~1400m above sea level
So cooler ends to September is fairly reasonable
We had a taste of fall here in CT for a week. Legit was in sweat pants lol. Now its almost 90F during the day and disgustingly humid again. Its getting worse every year and summer extends a bit longer. Winter was slightly warm here too. They are saying that due to all the rain, the leafs will be very pretty though
We might hit 26c tomorrow, which ain't so bad.
I see you got yourself a new "space-age" avatar
Not exactly. 😛
Do people even say "avatar" anymore? 🤔
Yes.
Phew
Although "PFP" tends to be more common on Discord.
Eh, tomato tomato
tbh, aluminium makes more sense than aluminum
🙂
The discord full-size emojis looks like a cartoon moon with a face <_<
🤨
I sometimes can't help but think majora's mask got humanity's response to disaster just right. There are so many characters denying that the moon is going to fall from the sky, even as it draws closer with each passing day
Dont look up. GREAT movie but wow, it..just left me feeling so many things
I remember that movie coming out when it came. I decided to skip watching it
I mean, heck, I'm not even sure I'd want to watch it now
Nope. Not a fan of anime
😅 Then you might not want to watch it. Sometimes it may not be for your own personal best interests, ya know?
ie, it might be too real
Evangelion.... Such disappoint.
opinions on the MilkV Duo
not onions
says $9 on the website
then they link a store that sells them for $5

On the one hand, yay providing schematics. On the other hand, conflating (vector) clock speed with "more powerful" is just falling for Intel's "megahertz myth". On the gripping hand, $9 is pretty attractive.
it looks pretty cool
it runs linux apparently
which is pretty cool
I had been looking for hints as to what development environments it supported. Linux seems like a good choice.
one thing i dont like is that it only supports ethernet
and not wifi
but you could add a wifi board to it
I had to remove the WiFi board from my Jetson Nano to install a Coral accelerator, so I'm familiar with the "need to add a board or string Ethernet cables" issue. I also have WiFi transceivers hanging off several Pi Zero boards.
fair, i mean im working on a kinda pinephone esq type thing atm
that thing would've been so cool if it had wifi
not exactly pinephone, more of a dedicated tool
but like same style ish
i might have a look at that thing and make a board with it see if i can do anything with it
another annoying thing is that the serial output is on pins and not the USB
i also dont know if it has USB OTG
esp32 c3 is what im working with for the tool
but i think im gunna change it to the S3 cause i have one of those now
what could be cool though is using like a regular ESP32 chip with wifi and having that host the wifi on its own with a wired I2C connection through traces to another board
practically doubling the core count and adding extra things to it that could be used
cause then realistically one core of the other thing could be used to run a screen and the other can be used to run wifi and communications
How about some chips on the side?
What kind of chips? British chips or American chips?
bites wafer
Lol
So Taiwanese Chips? 😄
monch aah TSMC flavor
no I meant like computer chips get it?
yknow?
😬
I like my chips with DIP
no double dip
What would that even look like?
..SIP? 😛
2 sips
DRAM 😛
Wouldn't it be QIP?
ive seen some DRAM packages that are both BGA and double-dipping!
the 1gig LPDDR2 package for the rpi3, is actually 2 x 512mbyte dies, in a single epoxy package
go to sbc, get more money, buy sbc
donation welcome/jk
I don't think a bank will give you enough money to buy said bank
buy sbc, scalp sbc, get more sbc ||plz don't||
do not scalp a bank
Pulling up corn stalks and saw this hunter in action
I need to learn to drive because I need it
But I can't drive
I'd wish that the user interface was adjustable but it isn't
That's a big cricket
It’s actually a grass hopper
It’s a Common Field Grasshopper from what I can tell
Actually it’s a banded wing grasshopper
i found one of them camoflauge leaf insects in my strawberries a while ago
grasshoppers can grow way bigger than crickets. that's gonna be a nice big meal for the mantis.
we have mole crickets in the south. they look like little aliens, so does the mantis really.
Ahh football is back.
i has a foor! well. 2/3 of a floor
gotta let the concrete cure a little bofore the last peice goes down
Hi, I have a quick question about the DHT11 CircuitPython tutorial. It says, "The left-most pin is power. We recommend powering from 5V (sometimes 3V is not enough) - this is OK even if you are using 3.3V logic". I'm confused how that's OK even when using 3.3v logic. I thought when powering via 5v it'd make the DHT11 operate with 5v logic? Just to confirm, I can power a DHT11 via VBUS (5v) on a Pico W and directly connect the data pin to a GPIO which is 3.3v on the Pico without issue?
Or do I need a logic level shifter?
It uses a protocol where it simply pulls down the data line to send a zero or lets it float to send a one. So if the data line pull-up resistor is to 3.3V, it will be a safe input for a pico.
Oh I see, thanks
There are some bizarre NPM packages and one set of those are IsOdd and IsEven but not only these packages also the 1,400 other packages by this same developer, why do they exist? Well stick around to find out.
==========Support The Channel==========
► $100 Linode Credit: https://brodierobertson.xyz/linode
► Patreon: https://brodierobertson.xyz/...
hello hello, just wondering if someone can point me in the right direction - I have minimal experience with sodering/circutry but would really like to try out building the pigrrl-2, but I had 2 questions regarding it
- is there a newer version that I should look into,
- is it possible to fit the required components into a gameboy shell, the 3d print does look cool but I think I want to try to stuff it into the oldschool casing
Guys, i need advice, how do you learn to love working?
In my case, finding a job that involves working on a shifting array of things so I'm always learning and not stagnating
JOIN IN! Desk of Ladyada - Wrapping up the S3 TFT Experimenter & Triple RCA Connectors 🔌🎥🔍 https://youtu.be/SUs6YteOtOA
After taking last week to poke around using ChatGPT4 to write code, we're back to our ESP32-S3 experimenter board to wrap things up and get the PCB out the door. So far, we have tested the capacitive touch and TFT display part. The IO expander configures the Arduino and CircuitPython display and the up and down buttons. The last thing we wanted ...
Other factors involve minimizing stuff I dislike. I left two companies because they downgraded to MICROS~1 products. I joined the telecommuting crowd early on because commuting annoys me. I got a quality binaural headset, a nice keeb, good monitor, etc. to minimize friction actually doing my job.
Get a college degree or go to community college
And pick something that pays well
In my part of my country you can sign up for trades "training" for free, it's called a pre-apprenticeship
Ive already got my degree
Well im at qa
Still a trainee, attending the incubation program
I actually got my first job last december, got laid off after 3 months
Due to incompatibility issues
It was field work so i thought maybe i do not like field work and i was right
But only now i realized that i just dont like working, at all
Explore WFH if you haven't done that yet
I don't like money, but I do like having food and toys
Every SWE I know has a bunch of yuppie hobbies like disc golf, pickleball, and rock climbing. Maybe try those too
My hobbies include doom scrolling, making electronics, and tending to my garden to help my food budget 😛
But many SWE in the lab I’m in also do hiking, rock climbing, and similar hobbies so you’re not wrong lol
I wouldn’t call them yuppie hobbies though. I’d call them low mental effort hobbies. Which are good for improving overall mental health and productivity at work.
I don't rock climb. I have my pokemon do it for me 😆
Lol
Pokemon was so nonsensical; You could use a pigeon to fly yourself to a town an ocean away
I still play Pokémon Go, to give myself something to keep my mind occupied while I'm walking.
I don't feel like sharing my location with niantic
Are there many players still, or has it completely settled down?
mine include designing things that never get made. eating pizzas, and installing shed floors
tada!
todays "work"
There's a local group of active players around here. I've made the decision to share my location with Google/Niantic/Movespring.
Yeah, it's a very personal decision to take :)
Interesting to hear it's still being played
what is this pokey man?
i remember people playing it while they were supposed to be working and getting in trouble haha
Yeah, that's a stupid thing to do
also going to unsafe places (not people i know for that one)
It's also useful when I get challenged for taking photographs, I just cheerfully say "Ah, got that Pikachu!"
I think they have introduced a filter to avoid placing pkmn on private property
ha
i heard something about north korea having millions of uncaught pokemon
ha
for obvious reasons
Thankfully nobody has gone to the buffer zone trying to catch pkmn lol
(please don't do that)
That'd be a very 2023 headline
yes
"Korean War Reignited By Person Trying To Catch Rare Squirtle"
2023 will be looked back on as the worst year since 2022
😬
;x
Let's not push our luck
That's what GPS spoofing is for
anyhow. fusion is being stupid right now. sigh. taking like 20 minutes to press any button.
"Person gets banned for export control reasons because they spoofed their location to the most heavily sanctioned place in the world"
they mucked up the last version i think.
Time for the umpteenth upgrade!
Banned from what? Using GPS? Existing?
Now you need a GTXXXXX999999 GPU with 1024GB of VRAM
pkmn go haha
already got that. no, adesk botched something. even new empty files are behaving badly
That'd be a nice writing prompt for an existential horror thing
reminds me of my celphone. they cancelled my serrvice for nonpayment before they ever sent me the first bill. they claimed "oh you should have known to pay in advance"
Time to reinstall fusion?
.... autodesk botched something
Time for KiCAD/OpenSCAD?
Yeah, I was wondering whether making it reinstall itself would somehow clean the config and revert it to a clean state. Had it happen with proprietary software over the years :)
thats what they botched
fusion reinstals and updates itselver 1-2 times a month
the last update is a fail
Oh well. Time to start brewing a coffee to wait for that rotation
Bake a pizza to translate a shape
im waiting for it to save. taking hours
its doing nothing though. not writing to disk or network
Does it show up the "program is not responding" screen when you click on it?
yes, not responding.
It seems to me that if you wanted to actually accomplish work, you'd switch...
but not actually dead
just in some sort of loop of death
nope. going from a program that is a little buggy once in a while to one that wont actually do the job at all is not a viable option
🙂
Program has all but crashed, refuses to save work
Nah, it's just a little buggy
:>
solidworks would be nice. but i dont like their terms for the personal use version
Does it have an audit clause?
ha, its just the last 2 days, it will be fixed soon.
thats the problem with forced updats :/
but hey, its free
sw personal from memory is a weird mess.
i need to check again. but the last one i used saved only in its own format and could not be shared or exported to anything else. making it useless
Not even gcode?
So how do you manufacture it?
ha. $5k is cheap
ironically that $5000 software was the one that is free in fusion
We were talking about the price of EDA tools the other day
It's much more than that lol
one of my cleints used catia. solidworks big brother. it is "a la carte". want to export STL? $500. want to so surfacing? $9000. want to do mold flow analasys? $200000
but, it CAN do everything. so if you are ford or bmw, thats what you want.
Problem is, I (mostly) don't speak the King's English :)
neither does the king.
My English gravitates mostly towards en_US rather than en_UK
have you heard that weirdo?
us english is the same except they cant spell
muhaha
i wish this file would actually save though. it is a big file, im sure theres some bad geo in it. but if i cant save it i cant fix it
Time for a blood sacrifice to the cad gods!
i prefer to message the devs and say "hey, do your job"
actually, i dont know any fusion devs i dont think.
I was in the office once. looked around. tried to steal some robot arms but they were bolted down.
I also ate pizza today
totally not photoshopped
bad render, but the real office looks exactly like it. all these painted robots everywhere
ah, that's really nice for a render. the lighting on the guy in the chair gave it away.
It was the people looking like cardboard cutouts that did it for me :P
that office is in downtown toronto. 2 blocks from where i used to live. i know lots of devs for their vfx software. but noone for fusion.
called mars. its actually really cool
well i have a small monitor and have to squint
i'm pretty sure Mars is already copyrighted if not by the candy then at least by the planet?
MaRS
Trademarked. Also different domains (Mars the candy does not make CAD sw)
And planets can't own trademarks
its a canadian govt project
pretty sure I can't call a company DisNEy and get away with it.
adesk just rents 2 or 3 floors of it
Military Affiliated Radio System?
university of toronto is across the street
its a pretty cool idea, i dont know what has really come of it though
til autodesk is Canadian
that makes a lot of sense why my fusion 360 takes 5 minutes to export a file.
and many of the fusions staff for some reason
cgi is heavily canadian. ATI, matrox, softimage, alias/maya, houdini, etc is all from here.
but then they all get bought by adesk hgaha
There are a few near Orlando too. Pixar and Disney wanted to cultivate locally.
ATI was bought by AMD
same thing
They outsourced a lot to a new place in FL which didn't last long maybe less than 5 years. Was a huge complex, can't remember the name.
different A
no, i know who you mean. i forget the name
after disney bought them they are a lot more spread out. they have/had a vancouver studio
i know a bunch of people there
pixar
was an animation and mostly cgi studio/company that was going to try to compete with ILM, didn't pan out, neither did ILM for that matter.
i thought ilm went under?
O_O
are you mad?
who do you think it making all the 50000 0star wars showS?
george lucas sold ilm to disney for 4 billion dollars
ha
dunno where i heard that. i think adam savage. maybe during one of his reminiscing sessions he made it sound like they went out of business. weird.
ohh so they're still ILM but just not independent anymore?
they are disnew
ah
along with pixar
ilm is still one of the largest vfx studios in the world
anyhow. fusion is still saving
sigh
lol yep that's how it really is
i spend as little time with fusion 360 open as possible. then close it and just keep cura open.
ha
i leave fusion open for months. :x
prevents it from updating
hehe
i with you could open 2 at once as well
printed 4 brackets today for the matrix panels. should allow me to join up to 10 panels together nice and snug as a big display.
i wish they would kill off this terrible cloud thing. they know everyone hates it. the devs hate it too.,
ooh nice
ah but subscriptions and microtransactions are the future
i dont care about the subscription so much. cloud is trash
just saw something come across my feed today that BMW had a subscription based model for heated seats... in a car.
first i'd heard of it, it's ridiculous (my opinion).
it will soon be illegal to tie purchased hardware to expirable software i think. this has to stop. if you want to rent me a car, fine. but if i BUY the car, its mine, and there should be absolutely nothing in it that can ever change terms or expire in fuction.
but that makes too much sense, can't have that
nah, we will. although i expect a fight
like the leica scanner we have. $125000 box that is useless unless you continuously pay them $7000 a year for software.
Yeah, it was actually sunset because too many people hated it
well in the wise words of the Beastie Boys, "you gotta fight for your right" to something or other.
Hilariously many products that have various capabilities of the same looking enclosure have the same PCBs, many with the same parts populated but there’s like.. a resistor that is read by an ADC on boot to pick the features to load
the original pi1 had an array of resistors to set the hw revision code
I think the vehicle manufacturers will find this backfires on them, as car hacking suddenly becomes common
i dont even mind that. you bought what you bought.
Sure, but the fact that a single resistor can make the price vary by tens, even hundreds of dollars is mind boggling
like quadro vs geforce. but you cant then charge me $50 subscription to allow quadro functions.
laughs in oscilloscope manufacturer
See when it a "subscription" becomes more like blackmail or holding something you should own as hostage that's when it should be illegal.
I bought a calculator once and realized there were soft spots by the keypad. I cut through them and saw there were switches underneath for keys that weren't installed. It turns out it was the same board and software as the much more expensive programmable version, just without the keys.
But then you have people who figure out the resistors help people hack their products to get better features. Priceless
but later, they switched to using OTP (fuses) in the SoC
and it never gated actual features
this is what i mean. they cant "sell" you a product then force you to keep paying
was that an attempt at some kind of DRM?
charge me 15k a year and then keep upgrading and replacing the scanner. id be fine with that.
All of my oscilloscopes come with full schematics. As if the manufacturers realized that the sort of people who buy oscillsocopes will want to repair/modify them.
right
one of my old tv remotes had similar, 2-3 extra buttons, where the rubber was cut short, and the overlay with labels lacked holes