skysight-inc/HackerNews huggingface dataset:
I get the same ads. Viagra is from sites like hims.com. Ketamine is from sites like mindbloom.com. I commonly see similar ads for Testosterone, antidepressants, and Adderal is another common one.

I also get targeted with semaglutide drugs (e.g. Ozempic, Wegovy) except the ads aren't brand name. They use compound pharmacies I think to avoid using specific brands and avoid FDA approval. I'm kind of surprised it's possible to get these drugs without getting brand name given patents, etc, but I don't know the whole history of GLP drugs or whether the compound pharmacy is a loophole of some kind.

Most of the ads I see seem legitimate and aren't obviously illegal. But maybe getting stuff like Testosterone from an online virtual doc visit shouldn't be something you get targeted ads for every day.
Ask HN: Resource to Implement Transaction
I have been searching extensively for simple yet comprehensive transaction implementation. But I have only found a collection of concepts likes write-ahead log, etc. And reading db source code is somewhat difficult and time-consuming. I would appreciate it if anyone familiar with this subject could provide me with some references or tutorials for writing one. Implementations or books would both be helpful.
Why not simply use Matrix chat?
Suspected System V, and there was definitely a lot on AIX if only because there was CICS for AIX available (maybe still is? Paradoxically it was easier for me to get the mainframe version running... than any AIX system...)

MicroFocus on RHEL is stuff I've seen live recently, including new development, and I think there are still companies buying new releases of COBOL programs.

Similarly, MUMPS is very much alive in financial market, with completely new development being done even if mostly as small component of biggerz usually Java apps
You're mixing up two concepts here: Bandwidth and latency (ping). Latency will always be limited by the speed of light, but bandwidth is currently limited by radio transmission. The upload speed for rovers like Curiosity and Perseverance peaks at like 2000kb/s tops under ideal conditions and is also limited to a few minutes at a time when the relay orbiter is in the right position. With lasers, bandwidth is measured in hundreds of Gb/s. That's the difference between sending an image in less than a second vs. having to wait a day.
That's my interpretation as well.

Traditionally deep space bandwidth is low so that sending huge amount of data takes a long time in addition to time of travel.
Retiring is almost courageous
I have a soft spot for SDR. I've only done a bit of it, but the mathematical techniques I learned from it helped kick start my career. While I worked in a different field, having made friends with frequency and phase analysis was hugely powerful.
Imports are also updated the moment you update the imported file.

I'm not sure if PHP stores any compiled binary or byte-code at all. Maybe it compiles it all on each request. It's super fast though, even with tons of imports.

My guess would be that it keeps compiled versions of each file in memory and on each request, it walks down the whole import path. And when it encounters a changed import, it compiles only that one.

Would be cool if someone with more knowledge could shed a light on what is actually happening.
Australia ranges from GMT+8 in the west to GMT+10 (or +11 with DST) in the east.
Or alternatively: Boinc[1], which has a bunch of different projects.

[1] https://boinc.berkeley.edu/
Magisk (the main rooting method) allows you to hide root from such apps.

Most apps I use (ie. banking) are bypassed simply by adding them to a hide-list.

The only apps that require a bit more work / expertise are apps that require integrity checks (ie. google wallet).
Per Mille
This will get us to Mars orbit, but don't we have to go to radio anyway to relay through the atmosphere to the surface?
Passkeys so far look like a repeat of previous efforts to move away from passwords or make logins more secure (e.g. Openid, webauthn, 2FA).

There are two problems:

1) this stuff is hard to explain to end users. This is the reason it's not widely used yet even on the handful of platforms that provide this option.

2) Big companies are being very proprietary and selfish about this stuff. So you have Google insisting on Chrome and Google password manager and insisting this all gets routed via your phone. And Apple does the same with Safari and their password manager. And of course MS is doing their own thing. Meanwhile, Firefox doesn't even support this stuff properly yet so it's impossible to roll out something that only supports passkeys and nothing else.

The second one is the big problem because companies like Google and Microsoft get all starry eyed when they realize that all passkey approvals go via property they control. So, they have a natural tendency to prevent people from using anything else than that. The same happened with OpenID. Both MS and Google were all over it. But they couldn't bring themselves to federate each other's identities. I mean people signing into gmail with a hotmail address or vice versa. The thought alone was causing panics at executive levels in both companies. So, they crippled it and over complicated it. And then proceeded to waffle on the standards so they could have mutually incompatible implementations be standard.
The real question the OP should be asking is not which language to use, but how this change managed to pass unit and e2e tests and be deployed to master in the first place. Fair enough javascript has its sharp bits, but those should show up in proper commercial level of unit and integration testing.
Funny, 5 years ago, Tesla was valued as energy provider with it's solarcity. Then China crushed that. Today, BYD also crushing every Tesla market except for USA and EU where governments have to intervene to assist Tesla. Now is the AI? I doubt it. Tesla overpriced. They lack the innovation speed of Chinese, and lack the quality market based like Toyota. At this point, Tesla is fast becoming the next Solyndra.
> By all accounts client devices' energy consumption is a rounding error in terms of contribution to climate change.

It adds up? How many devices are there? Tens of billions?

Web 345 devs just don't care because the costs are borne by the customer.
Thomas Piketty's Failed Revolution
Resistant starch such as raw, unmodified potato starch is good for gut bacteria. It survives the stomach environment and travels undigested to the colon and gets broken down by the gut flora there.

It also gives you very vivid dreams if taken an hour or two before bed.
I remember the day, sometime after I transitioned from high school to university, when I realized I was an adult, with agency and the power to decide whether or not I needed to go to class. I had just spent the last 12+ years of my life in the prison-like U.S. K-12 public school system where every limb movement was dictated by grown-ups. Now, here I am, with the ability to actually decide how I need to spend my time! I didn’t always make the right decision, but got better at it as I went through university.

I think some people forget this when they go into their first professional office job, and revert back to primary school mentality: I have to go to this useless meeting! Boss says I need to be there, so what can I do?? This “all hands” is required. We forget we are grownups with agency and the ability to set boundaries and expectations with others.

A lot of junior employees feel they simply have to attend every stupid meeting that appears on their calendar. When asked, I advise them that if they don’t think there is anything to learn, and you don’t have anything to contribute, simply don’t go. Nobody is going to send you to the principal’s office. I show them my calendar where I am double and triple-booked every half hour of every day: I decline meetings constantly! It’s not a big deal.
My passkeys are kept in my password manager. Many support them now: 1Password, Keeper, Dashlane, BitWarden, and I know KeePassX is working on support.

Sure it's not as secure as a hardware token but it's a nice sweet spot between convenience and security.

However I wish more platforms let me use TOTP and passkeys together for MFA. That way I don't need to put all my trust in a single password manager company. 2FAS with it's browser plugin gives a really slick experience and it backups to Google/Apple storage with a separate password to encrypt your OTP secret keys.
AFAIK you can just do that with Google Pixel phones. I'm not saying its easy but the source code is all there.
Afaik, PHP can have opcode caching enabled or disabled.
Thanks, I'll look into that product. Less costly, but still far from the $2 scenario. If hardware keys got to a super low price point, or even handed out for free or bundled with new phones or PCs, I image lots of people would prefer them over passkeys.
> Low-tech

> "How to build a small solar power system"

The definition of "low tech" clearly varies over time :)
That's not how physics works. We can't prove anything. All we do is come up with worse or better models, and the best model anyone has come up with so far has the universe being infinite. Finite universe models have some problems, since the global curvature of the universe is (as best we can measure) zero the universe is either flat or pretending to be flat. Finite volume flat spaces can be characterised and they're a bit weird (1).

The best we can say is that if the universe is not infinite it appears to be doing a very good job of pretending to be infinite.

(1) for a good idea of what "weird" means here imagine a 2d 1km by 1km square with geometry like Pac man lives in (toroidal), so if you go off the top of the square you appear at the bottom, and if you head off east you appear on the west. Now start at the middle and leave a rock at your current position. Head due east until you cycle round and hit your rock again. You'll have walked 1km (500m to the east edge and 500m from the west edge back to the middle). Now do the same experiment but walk north-east. You'll hit your rock after sqrt(2) km of walking (1/sqrt(2) takes you to the north east corner and the same to get back to your rock).

In other worlds the pac-man torus space is not isotropic some angles are special and more important than others. Essentially the same thing happens in other finite flat geometries you can invent.
Because non-web applications are always very efficient and high performance, right?

The problem isn't the technologies available to us. Majority of devs just have no desire to write efficient code.
When a framework "supports auto-restart", that usually means it has its own webserver for development and the auto-restart is supported when you use that.

I don't like having a different webserver in development and production.
Compared to a single person's emissions? Yeah sure, but that's because anything multiplied by 8 billion people is going to be huge. The same could be said for plastic bags and/or straws. In relative terms it's absolutely minuscule, and in terms of low hanging fruit it's definitely not the top. You'd be far better off figuring out ways to decarbonize the electricity grid (40%) or the transport system (20%)
Optimal price point, market, vendor availability, the economy determine much of a company's fate. Blaming Tesla for any of these is misguided, as they change quickly and are hard to predict with any accuracy.

A small car company has a hard time reacting to any change, as they have necessarily a limited offering, one or two models with some options. Big companies can have an order of magnitude more flexibility.

Once a cheap Tesla was possible, the entire market situation changed for them. With slim margins, only clever marketing remain as a differentiator. Thus the banging on about self-driving or range increases or technology or whatever.

Trouble is, those things have to matter to the customer. Who has become more savvy as the literature on the subject has educated billions past the point of gee-whiz-it's-electric. Self-driving is moot, we've driven ourselves all our lives and are distrustful of automation. Range increases are still less than an ICE commuter box, that's becoming a hollow promise. And technology is a luxury car selling point, the buyer of economical transportation will prioritize that somewhere between bottom-of-the-list and off-the-list.

tl;dr: it's hard to be a small player; self-driving is a non-feature.
What does you diet consist of?
Higher Order Perl is such a gem, one of the best programming books in general.
Got my ultimate retro KVM setup working
Completely agree. Sabotaging the team practices won't get you far.

That's exactly the problem with implementing things like standup and retros.

You're confining information that would be shared asynchronously and in written form to a boring meeting nobody is interested in listening to.

I hate standups, I won't listen to your update, if I need something I'll ask in the team channel.

Before standups were a thing people just wrote when they finished something in a channel. They didn't waste an entire day and waited for a meeting to say it in an effort to appear busy.

Before retros were a thing people just wrote whatever problem they had in the room and people could discuss problems in real time. Now they waste an entire month and then write a passive aggressive post-it on a Miro board - which most likely will end up ignored because look at how many others action points we have.

People adapt to situations and they don't need formal processes to act correctly.

If they do need them, you should fire heads that can't think.

People over processes was Agile's mantra, why have we forgotten that?
Nowadays "agile" is worse than waterfall: same load in processes and bureaucracy, none of the planning.
There's a lot of really good Python books too (and I have a 5 foot stack of Perl books). I read one for Python in 2012 that finally got me into coding a lot. People overlook how the basic building blocks of Python are very simple. I learned Perl after Python and it's fine, but I often found Python to be a bit clearer and more obvious than Perl.

If I had to use a language just for Unix scripting, it would probably be Perl though.
You reproduced it. See the index being used. foo_updated_at_idx, not foo_organization_id_idx. See a FILTER on Organization_id, not a Cond index. If you create an index using Organization_id and updated_at the plan changes to:

Limit (cost=0.42..3.26 rows=10 width=24) (actual time=0.013..0.024 rows=10 loops=1)
-> Index Scan using foo_organization_id_updated_at_idx on foo (cost=0.42..2011.50 rows=7063 width=24) (actual time=0.012..0.023 rows=10 loops=1)
Index Cond: (organization_id = 1)
Planning Time: 0.154 ms
Execution Time: 0.033 ms

Now the plan is using Index Cond, not filter.
Hey new social norms to replace the old social norms. The old way was so oppressive and conformist. The new way is so delightful...can't wait to receive some arts and crafts from someone who is too important to attend a meeting!
I wouldn't be so sure. The browser ultimately need to render the UI from the DOM which is intrinsically linked with JavaScript. Wasm can help for some of the application logic maybe. But it also comes at a cost of some fixed overhead to bring up the wasm blob. JavaScript performance aren't that bad for UI.
I find it hard to criticize DRF, but one thing that could be added to the documentation is how to deal with M2M. Last time I tried a few different ways of doing it, and only two of them worked, then I had to figure out which way is better.

Also, https://www.cdrf.co/ helps with the class inheritance tree.
Technology details behind 16,000 x 16,000 pixel Las Vegas Sphere LED display
Mars atmosphere can barely be called that. It's less than one percent of earth's pressure. People just have a wrong perception of it because of wildly inaccurate depictions in movies like The Martian. And even if you want to transmit using radio between the surface and low orbit, it's far less of a bandwidth issue than transmitting over millions of kilometers. Deep space transmissions of the future will use optical wavelengths instead of radio, there's no question about it.
They do have that rule, but not for performance reasons. The full decision is here https://google.github.io/styleguide/cppguide.html#Exceptions and probably worth a read but the two main take away I think is:

> Because most existing C++ code at Google is not prepared to deal with exceptions, it is comparatively difficult to adopt new code that generates exceptions.
IMHO rooting is not worth it nowadays.
> It might be that a Windows expert could fix every issue you’ve listed and more.

So in other words, it doesn't "just work."
I find it mind blowing that:

1. Samsung is able to sell phones like that legally.
2. People are not in jail.
3. Governments somehow think it's ok that random companies can see everything their citizens do online. National security risks maybe? Trade secret issues?

It's almost suspicious to the point where I would start thinking those third party spy companies are possibly (US/5 eyes) government run?
Exactly what I said, I have experience with ~ but not with ^ and have never used it. Let's say that you have a package version ~1.2.11 and have 1.2.11 as installed version in package lock. Then if let's say 1.2.13 is out there, npm install will update package lock to that one. npm ci won't change that. package.json file will kept unchanged though.
Is django-ninja maintained? I've always disliked DRF and liked FastAPI, so Ninja was a natural choice, but my team ended up moving away from it because of it being less popular than DRF.
True. I see a "Zend OPcache" section in my phpinfo().

It says:

Cache hits 4746528
Cache misses 38875

Both values go up every time I execute phpinfo().

I wonder why. Shouldn't "Cache misses" only go up when a source file is changed?
Ok, well if you come up with a definition for what a potentially infinite universe means then let me know. Until then our best models have the universe being infinite in size in the normal sense of the word.
His museum doesn't have enough floor space for even one of the mainframes without evicting lots of other interesting stuff. It's actually just a few yards from a computer museum though.
Also, as a business, don't allow an employee to buy something at their own expense and use it for your business.

One place I worked an employee bought a domain for a particular marketing promotion. Promotion was successful, and the site grew into a life of its own, and was even promoted from the main product. The domain showed up on Google search results, etc.

The company had lots of users but wasn't too successful financially, and a few employees including that one were laid off. Six months later the domain suddenly pointed to the new product that person created after leaving the company.

We removed the links from our product to that site, but other than that there wasn't a great deal we could do.
This is one of the reasons I've started building https://formpress.org. Seeing the bloat in many form builder apps/services, I've decided there is need for a lightweight and open source alternative.

How we achieve lightweightness? Currently our only sin is, our inclusion of jquery, that is just to have some cross browser way of interacting with DOM, then we hand craft required JS code based on features used in the form builder. We then ship a lightweight runtime, whose whole purpose is to load necessary JS code pieces to have a functional form that is lightning fast. Ps: we havent gone to the last mile in optimizations, but we definteley will. Even with current state, it is the most lightweight form builder out there.

It is open source, MIT licensed, built on modern stack(react, node.js, Kubernetes and Google Cloud) and we are also hosting a freemium version.

I think, there will be ever increasing need and market for lightweight products, as modern IT means a lot of products coming together. So each one should minimize their overhead.

Give our product a go and let us know what you think?
Broadly every other system of library lending in the world has mandatory collective licensing, but coupled with a significantly larger state funding to pay for said license.
Working remotely fell on the face and smashed its nose the moment it stood up.
Australia not recommended. Their work visa only granted for 2nd tier cities or town for work. It is very hard to find one there. New Zealand, not recommended too as their youths also applying to Australia. Canada, for now very migrant friendly to the point they also give free money too (if you fit the bill). But the cost of living there especially rent and housing will make you worst off than a lot of 3rd world countries.
Combating Online Extremism in Global South: Lessons from Covid-19 Misinformation
I changed random_page_cost to 1! The query continue to use the wrong index.
FYI the optimal line length is 50-75 characters and that has been the standard for text since the type writers. You don't want to move your neck when you read a single line that's kinda silly.
For a moment I deluded myself that this was SETI news, but was skeptical due to the proximity. It's so terrifying that no one's out there after billions of years and billions of star systems in the galaxy only.
Imo, it's much more of a proper Linux experience than MacOS. e.g. all the filesystems stuff is there like /proc, you don't have to deal with BSD/Linux differences, zsh/bash compat issues etc.

macOS Unix compatibility is an oversold feature, and it's unlikely for anything made for Linux to work on it unless it's specifically ported.

That being sad, a lot of the dev community own macs, so this support usually exists.
Can you write down the complete decimal expansion of let's say sqrt(5) ?
more discussion at https://news.ycombinator.com/item?id=39722498
TBH this sounds more like perf's implementation is bad.

I'm waiting for this to happen: https://github.com/open-telemetry/community/issues/1918
When I last used COBOL (early 90's) we had a heap of JCL, for sure, but the real-time system used CICS for everything.

Is it still a thing? What's the FOSS solution for transaction monitoring?
What magic does Django have?
How many countries was the Nokia N95 available in VS. the 2G iPhone? I don't think it launched in Asia or most of Europe.