• 84 Posts
  • 3.11K Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle



  • I haven’t used Puppeteer but have seen similar issues with Selenium and Firefox. Yeah you have to code delays for pages to load, use onload events, maybe scan the page for text you expect to see, etc. If this is for your own site (I mean where you’re working) you can probably do most QA functions by having some special flags that disable the overlays and stuff. Also if you have disk space to burn, instead of screen shots, you can connect the browser frame buffer to ffmpeg and capture video. That can be useful for QA, since if something goes wrong, you can see an actual movie of what was happening.

    Yes browsers eat ram, you just have to deal with that.


  • Spoilers:

    Worst 10: Spain, Finland, Sweden, Greece, France, Estonia, Italy, Latvia, Canada, Portugal.

    Best 10: Netherlands, Iceland, Germany, Switzerland, Poland, South Korea, Japan, Malta, Czech Republic, Singapore.

    Order in both lists is from higher to lower rate of unemployment, i.e. worst to best.

    I don’t think much of these lists I guess. I keep hearing that Germany is hosed because of inflation outstripping earnings, and lots of Germans are moving to Austria because of that.

    The lists generally don’t reflect anecdotal economic conditions in those places. So I’d like to see more direct numbers about median purchasing power and stuff like that. Also for work-seekers with some mobility, exactly what kinds of openings are there in a given country and what occupations are already glutted.












  • The one I have that turned on by accident has gotten quite loose and turns on too easily. The plastic might be worn from too much twiddling. I wonder if I can fix it somehow, like by adding a piece of tape around the rotating part. I have another one someplace but would would have to find it to compare them.

    They do make a bigger one for dog collars or you could do something similar with a Photon-style keychain flashlight. The Ziplit’s tiny size is nice though.






  • It wouldn’t surprise me if there’s not yet any sodium charging chip for small consumer electronics like this. I haven’t heard of a sodium powered flashlght, phone, or anything like that before. The only sodium consumer device I know of right now is a Bluetti power station which has 900WH: https://www.bluettipower.com/products/sodium-ion-battery-pioneer-na

    It got some attention at its anouncement but tbh it’s 10lb heavier and $300 more expensive than the 1024WH lithium version (Elite 100v2). So it’s for early adopters only.

    If you want to charge a small sodium cell, you can probably program an MCU to deliver the right charge profile, along with a few small external parts. That’s how Apple phones worked at least in the past. They saved a fraction of a penny by just incorporating some extra logic and code in their big ASIC instead of having a separate charging chip. It’s kind of interesting that the charger was programmed in Forth, on a special Forth processor (b16-small) that they cooked into a hardware macro: https://bernd-paysan.de/b16.html . They hired Bernd (the b16 designer) to write the code and it was pretty intricate because of the cpu’s limitations. I don’t think I’d have used that approach ;).


  • Wurkkos TS27 has an LFP battery and is beefy and advertised as a duty light, and it seems nice except then it has this silly RGB ring light that turns it into a fidget toy. I lost interest because of that. YMMV. :)

    https://wurkkos.com/products/ts27

    Added: I just looked over the kickstarter page for this light. The battery looks to be 10,000mAH nominal, size 32140 which is 4.7x the volume of a 21700. Voltage is 3.0 nominal but looking at the discharge curve at -20C it looks about 2.5V on average, so 25 WH. Not that much better than a 5000mAH 3.6V 21700 (18WH). The sodium is somewhat worse but still viable at -40C and I guess it might be beating lithium by then too, plus it has the ability to accept charging at -40C. I don’t see super-cold charging as very important for a flashlight (if you’re able to charge your light you can probably keep it at least a little bit warm), though super cold operation can be helpful.

    Also, this is a 2500 lumen light which is a far cry from the old Maglights that were perfectly usable. The classic 2AA minimag was around 5 lumens over most of its runtime, the huge 6D was something like 36 lumens, and the nicad powered Magcharger was about 180 lumens. Surely for changing a fuse, a low powered headlamp is preferable to a huge handheld ;).