• 76 Posts
  • 2.98K Comments
Joined 3 年前
cake
Cake day: 2023年6月20日

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.












  • If anyone cares, this light was on sale for $10 last week (not any more) and I got one along with an H25L. The TS10 SG is great, smaller than I expected and a terrific value at $10. I will EDC it for a while. For some reason I thought it came with a USB-rechargeable 14500 but it’s the TS10 Max that comes with a USB cell. It’s ok though. I will probably get a D3AA sooner or later but this will do me for now.

    I also got an HD10 a while back and I like that a lot too. Unfortunately it’s being discontinued, maybe in favor of the non-Anduril HD12. So we’ll again be in a situation of having no available Anduril headlamps with USB charging. Meh.






  • You really have to see what the db is doing to understand where the bottlenecks are, i.e. find the query plans. It’s ok if it’s just single selects. Look for stuff like table scans that shouldn’t happen. How many queries per second are there? Remember that SSD’s have been a common thing for maybe 10 years. Before that it was HDD’s everywhere, and people still ran systems with very high throughput. They had much less ram then than now too.







  • So do that. You can do that with Signal.

    Do you know of anyone doing it? Other people have said there are difficulties.

    You wouldn’t register on websites, but you would communicate with them over plaintext. I hope that makes it clearer.

    It is ok, in that era (dialup or wired internet) unencrypted http was basically as secure as unencrypted landlne phone calls. People still have unencrypted phone calls all the time. Typicalally sites would show public content (like product pages on an e-commerce site) by http, then switch to https for checkout to protect stuff like credit card numbers. Encrypting everything became important when wifi became widespread. Wifi hotspots would hijack DNS and spoof entire web sites to steal credentials. Also, LetsEncrypt made it possible to bypass the CA scam industry, making https-everywhere more popular. Public awareness also increased due to Snowden’s disclosures.

    The RSA encryption patent also expired in 2000. Before that, US website operators were potentially exposed to hassle if they didn’t use a commercial server with an RSA license ($$$). But, it didn’t apply outside the US and FOSS SSL servers existed for those wanting them.