skysight-inc/HackerNews huggingface dataset:
Mysql is mercurial, Postgres is git. With mysql everything comes somewhat intuitive. Postgres is antiintutive in a lot of places. Probably the people that created it didn't realize that the complexity of Oracle was not needed but was a job program for expensive consultants /s
it's not, but it's not the general case and also you realise this is the very opposite of the US: you get taxed when overseas (unless your a large corporation) and then get no benefits when returning because that would be communism.
That's the L1. Blocked -- segmented would have been a better name imo -- approach still depends on the blocks to be resident in L2/LLC. OP's problem is that most of the blocks' pages (not cache-line) are not resident in LLC.

I wonder about an op-buffer approach. ~: buffer the BF ops to aggregate ops on a specific address ranges. Say first buffer n ops for the filter, sort by the (relevant) hash bits, and then apply m ops for a specific page, and so on.

And optimizing that, it may be possible to only process the op-buffer partially, i.e. add ops until the buffer is full, gather the ops that map to a page-segment (4k), and if the rest of the buffer is still all over the place continue buffering, and rinse and repeat.

[p.s.]

OP's task at hand is an off-line matter whereas general BF approaches assume an on-line use case. By adopting an off-line approach, I should think there remain many opportunities for optimizing the runtime.
Amazon makes £8B UK investment to build cloud and AI infrastructure
Companies that want to sponsor visas will advertise and recruit in your country.

In the current US tech job market I don’t expect many companies will sponsor directly because they have to at least appear to have no domestic candidates first. Companies that do offshore go through intermediates that manage teams overseas, avoiding visa and relocation costs.

You will need exceptional skills and experience in some niche, and then considerable luck matching your skills to an employer. I would start with freelancing remotely, which doesn’t require a visa or create tax issues. You might leverage that into a f/t job with sponsorship.
I saw

https://en.wikipedia.org/wiki/Compute!%27s_Gazette

a lot and

https://en.wikipedia.org/wiki/CURSOR

a little. I didn’t have a 64 though (though I did get a 128 in 1993) and read

https://en.wikipedia.org/wiki/The_Rainbow_(magazine)

instead.
Snipcart?
Think of it the other extreme though. Imagine governments never borrowed and only used actual 'cash' to build things. I suspect that virtually nothing would have been built over the past 200 years and the world economy would be 1% the size it currently is.

I think you are right in that governments (probably?) shouldn't be funding day to day spending anywhere near as much as they do with debt. This has been a more recent (post WW2) phenomenon with huge expansions of social security programs. But capital expenditure virtually has to be paid with debt.

It's easy to say with trillions of dollars of debt funded infrastructure debt is too high, but imagine the counterfactual - would you be happy with virtually no infrastructure but no debt?
If I don't do any of the dodgy parts of that story but move to another EU country with children they'll also get free school, Healthcare and so on. For this to be "fair" you'd need some global EU contribution scheme OR nobody can move.
I remember the Amiga Transactor. It was way more technical than most magazines of the time.
I find that purpose of comments is to give context to the written code. Sometimes the context explains what the code does, and more often it explains why, but the best comments gives me the reader an insight so that I can have a intuitive feeling for what the author are writing.
Odds for N tickets as odd(N):

odd(0) = 0

odd(1) = X, so odd(1) / odd(0) = +Inf increase in odds of winning vs 0

odd(2) = 2X, so odd(2) / odd(1) = 2x increase in odds of winning vs 1
I have stopped after 3 years. My brother never stopped and can now. My sister also started years ago and can speak/read/understand a lot.
My own take:

"With MySQL everything seems somewhat more intuitive at first, until it doesn't. Postgres seems antiintutive in some ways at first, until it isn't."
Is the digital markets act a good thing? I remember before that most video game stores, especially Steam, had regional pricing in the EU. Since the act it became forbidden, you can’t “price discriminate”, so everyone pays the same, Luxembourg users and Bulgarian users too.
I remember this flaw in a Samsung microwave from ~2007-2008. It freaked me out when I triggered it while trying to quietly close the door.
Scoop favors portable installs and typically manages upgrades and migrations for you. It does support non portable tools but these live in a different bucket.

Chocolatey, and to a greater extent, winget typically defer to the individual applications. In my experience they are more like glorified download indexes than actual repositories for managing software.
What would you call them, then? “Isolation codes” or “subchannels”, maybe? I’ve seen some use of the former, but both are imperfect terms. I’ve yet to hear a suggestion that’s particularly better. A term that’s only slightly better won’t gain any traction.
Great... a new era of autogenerated podcasts is here.
I’d cautiously use Stripe in a way that allows you to switch to another payment provider if/when needed.

For SaaS applications, I think Lago is pretty neat, for example: https://www.getlago.com/ (open source, YC S21)

And for ecommerce, there’s so much solutions that I don’t know what to recommend. If you’re looking for something headless, I’ve heard good things about Medusa (open source): https://medusajs.com/
No, VAT is a tax on consumers, which is why I left it out of the calculation.

To recap: Apple Ireland made 400€s of profit by getting iPhones at 200€s and selling them at 600€s to Apple Italy.

The 400€s profit went virtually untaxed due to Apple having privileged corporate tax.

Thus, in conclusion, Apple paid little to no taxes on EU sales for ages.

What the EU contested wasn't that the whole thing was illegal, after all it's Irish business how much do they want to tax corporate profits (albeit as you can imagine the whole schema was to push for more trading, not corporate loopholes), but that Apple (and some other companies) got a special treatment compared to other businesses in Ireland.
I feel similarly - I first learned about the shell with Linux and all my career has been with Linux, but at home I use Windows. I am making an effort to be better at PowerShell but if I just want to do something quickly, I already know how to do it with bash and I just want to get on with my day.
Microsoft and Quantinuum create 12 logical qubits
This is not true. The path of the rocket is carefully chosen so that an abort/explosion does not intersect with other people's property. It launches over the ocean.
For power tools at least they're mostly if not all 18v these days. You can get adapters to use tools from brand A with batteries from brand B. Works great in a pinch, but I'd certainly prefer an open standard.
Level 3 autonomous driving is not FSD.
Browser Stored Credentials
With power tools, it’s more than that. It’s not just that you keep needing to buy their batteries if they die. It’s that once you have the battery for one, you are much more likely to buy their other products when the need arises. That way you either have multiple interchangeable batteries, or you can save money by not needing to get another battery with the main product.
I got some flak at a prior job for saying I had some quibbles with clean code (a few years after I had read it), and I'm glad this opinion is more popular today. There's so much cargo culting hype with "best practices" and style, I hate it. Same with how overly dogmatic people were with OOP paradigms when it came out (remember using anonymous interfaces to pass a function around in java?). Same with the functional backlash to that.

It's fun and enlightening to go ham on any particular style/framework/philosophy, but actually living by dogma in prod gets kinda dangerous and imo is counter to the role of a senior+ engineer
>Even if they are both illegitimate that doesn't make them in any way alike, and the invasion of Iraq simply doesn't justify the invasion of Ukraine in any shape or form.

I never said it does. It certainly doesn't. But to outsiders, having the US say how bad and evil Russia is for illegally invading Ukraine sounds ridiculous when the US illegally invaded Iraq only 20 years ago with equally absurd justification.

>There are clear differences between Russia's invasion of Ukraine and the invasion of Iraq.

Like what? The only thing I can see is that Iraq was run by a crappy dictator, while Ukraine was a troubled and corrupt democracy. Otherwise, it was really just as bad. The US's claim that Saddam was working with Al Qaeda on a WMD program is probably even more absurd than Russia's claim that Nazis are running Ukraine.

>maybe there are other bad guys too

Basically all the major powers are bad guys. Some are just worse than others. In the mid-2000s, the US was the worst; today, Russia is the worst with China a close 2nd (constantly threatening an invasion of Taiwan and bullying their SCS neighbors).
Okay so... what is social media, then?
I guess I missed it in your article, and I've never had the opportunity otherwise to use Gerrit. (Since Github is essentially so pervasive. I've only used that, Gitlab, and an internal review system that didn't do interdiff.)
R&D looks like wasted money, doesn’t it?
That's what they told Columbus.
Is Shopify only used for inventory/product management? Does Shopify fully free if you use Stripe as a payment processor?
Ukrainian Generals admitted they would have lost by now without starlink.
Yeah I'm saying we should make housing affordable. People who expected it to be a money tree will have to take a bit of a hit
Trivial unless someone wants to modify CF internal headers as part of their solution…

https://xkcd.com/1172/
Detractors have been at every step of the way, how do we know when to trust the detractors?
You could argue that their job is to get this approved ASAP if it's in the interest of the nation.
If it is moral for the US government to create Tor, it is moral to use it. Sure, it may be it’s a tragedy of the commons, but there’s no individual moral accountability or responsibility for those running Tor because of things other people do or don’t do on it. That’s outside anyone’s ability to control anyway.
> even government organizations/departments/agencies can be "local" and scattered (e.g. similar IT departments for each "canton" in Switzerland) and not have huge amounts of resources/knowledge to track/identify perpetrators of all ongoing (sophisticated?) IT crimes => somebody somewhere might see the same IP involved in a lot of "bad" stuff not realizing it's just a TOR node.

Decentralization is not an excuse for negligence. Anyone working in cybercrimes should be aware that Tor exists and of what it is. The list of exit nodes is public. Harassing the operators can only be one of malice or incompetence and neither alternative is excusable.
As a long time personal and professional Linux user, lately my work has led me to work for companies that are Windows-only. I use git bash as my main shell on Windows. It just works for what I need, and in the rare cases I need powershell I just open that.

Most of the windows-based programmers I interact with don't know powershell any better than I do. They use GUI tools for interacting with git and the filesystem.

So for me, git bash for git and filesystem interaction is a superpower in these places.

I could learn powershell, and I'm pretty sure it's much better than bash for scripting, but I'm almost never really scripting in bash anyway, I use tools like F# for that. Powershell seems fine, but it's less well supported on Linux and I don't really need a shell based language.

So in the end, git bash keeps on working and I can focus my learning elsewhere. It's stable, still works the same way 15+ years later, so no need to change.
> It’s not that hard

How many years do you have to spend in software before you stop uttering those four cursed words?
> People reading this should remember that Flight 1 was preceded by hysterics from online detractors who predicted, correctly, that the launch would make a giant mess.

People need to stop repeating this bad faith argument without providing facts.

No educated people were predicting disaster as a result of the launch. In fact NASA scientists said the damage was way worse than expected because of an unexpected ground water steam explosion.
Apps now block sideloading and force downloads through Google Play
This behavior is prescribed in the neo nazi bible.

It’s oddly comforting because it’s so ineffective and even counterproductive to their goals.

If your power goes out for a week are you more likely to
1) Murder your weird neighbor
2) Talk to your weird neighbor on the porch and find out he’s not actually that weird

?
For me the quality of comments, somewhat based on the metrics that @renhanxue mentions, is a code smell. If code is poorly commented (by my standards) then I treat the actual code with suspicion.
It would be super cool if you could provide a list of line ranges for comments. Like "this comment covers lines 12-14".

I suppose if you make the refer nces fancy enough you wind up reinventing rst
Ignorance of the law is not an excuse.

That argument is quite a stretch when the EU tends to pass relatively ambiguous legislation and leave interpretation relatively open compared to for example the legal framework in the US, when it was not some random law firm but literally the relevant national government that gave Apple the OK, and when that situation was widely known and apparently accepted for about 30 years before the EU intervened.

I think the EU will pay a high price for actions like this. It is retrospectively moving the goalposts decades after the fact and trying to shift billions in funds when ironically neither the company paying the taxes nor the member state government apparently compelled now to collect them want that situation. You can't play games like that and remain a credible environment for investment and growth.

This particular action is specific to Ireland but by the nature of the EU its willingness and ability to take such an action in one member state taints all other member states as well. And without constitutional change to the EU itself there will never now be anything that any member state can ever do to remove that stain. Businesses now can't trust that any incentives they are offered to invest and grow in any EU member state won't get reversed further down the line no matter what any government of any member state says. It's hard to overstate how devastating that reality could become to member states trying to attract investment and grow their economies.
Old style razor blades for DE safety razors are also still sold, and standard. People have their brand of choice based on shave qualify, but the blade holder will accept any of them.
That is impossible. That's exactly why they built the launch site where they did, so that such an event is impossible.
I believe Manifold does this sort of thing, though I've never used it myself.
Thanks for sharing. I don't have the expertise to evaluate the claims, but it's certainly an interesting theory and a compelling story. Just wish he'd continued the presentation of his work.
Theranos everywhere? Except you can’t afford to mess up when it comes to health.
Does this have any legitimate use cases, or is it just anticompetitive behavior and DRM? And has anyone found a way to bypass it yet?
I run mower batteries in my eBike (40V) but it requires a 3d printed adapter to pigtail leads.

The main gripe i have is the greenworks started adding DRM on one of the pins so I can't run in reverse: my large non greenworks 40V battery cannot power any of their tools.

Milwaukee M12 tool batteries are a little different, their cells are not protected from over discharge internally (the tool uses 3 pins to monitor). So this is something to watch out for.

A standard battery would be ideal. 4.2V fully charged cells are everywhere and if protected, series/parallel configurations could cover so many bases and eliminate a lot of waste.

Where could we pressure a few cross platform uses? So far it's been eBike/Lawncare batts for me. Pretty safe if you respect the discharge/charge rates.
Does it have to be a binary? Why not make it possible for people who want to support dissidents in Iran to host them without also supporting violent criminals in their home country?

The tech is probably impossible, but I'm not seeing a moral case against it.
I suppose then we have to agree to disagree.

While the "something you x" model has many limitations (and I practically disagree with some regulatory bodies on what does and does not constitute a "true" expression of one of these factors), I don't think that these limitations refute it in the abstract.
Try asking Claude Sonnet 3.5 (one of today's best models)

"how many p's in Lypophrenia - just a number please"

I tried it a second ago, and it said "1".

To get these correct requires splitting tokens into letters and counting. I'd not be surprised if most models are either trained on token splitting or have learnt to do it. "Counting" number of occurrences of letters in an arbitrary separated sequence is the harder part, and where I'd guess it might be failing.
They were sending this in cleartext?
Not a solution, but maybe if a bad actor tried to create a bioweapon, a trusted organization could use this technology as an antidote. Unfortunately this still leaves the possibility of some kind of insidious, undetectable bioweapon.
They did not have years to apply for anything. You can't apply for something you don't know you were planning to do. Also the FAA is overloaded and can't handle applications for all possible plans. So they need to pick and choose and if plans change because of new developments then they need to apply again.
That's fair. I'm honestly stunned how little work there's been to incorporate search, in a real way, into products. perplexity, ChatGPT and bing to some extent, that's it.

(Screenshot is my yet to be released flutter app)

https://imgur.com/a/HCVEfkQ
On PC you have your choice of marketplaces so it's somewhat less of an issue. On console you're locked into just the one marketplace with digital-only consoles, so if Sony wants to charge $100 for a game then that's the price. Once you've paid the $100 it's also tied to your account which is not necessarily always guaranteed to exist or be accessible, and is non-transferable.

Whereas with a disk you can pay substantially less due to your choice of competitive retailers (in my region Space Marine 2 is $79 at some retailers or $109 from Sony), buy secondhand for older titles (most of my library is secondhand), and resell or trade-in games when you're finished with them. And of course it's not tied to an ephemeral account, so you will always have access to the titles you've purchased.

Also for my use case, my PS5 doubles as a Blu-Ray player which is worth a good $100-200 just by itself.
We can’t be sure of anything can we?
Gitbash is handy for simple things, but it's a slug compared to wsl2.
I'd caution that it's a very "80/20" thing, since the cost/complexity of detecting all "unusual" cases can easily become not-worth-it.

For example, if the slowness of the method depends on non-trivial aspects of the input, or if the performance problem in production comes from someone calling your method too many times on (individually) reasonable chunks of data.
If that were the case, they wouldn’t have had such a low tax rate to begin with.
It's a processor and a screen. There's nothing about the physical device that prevents it from doing well at reading ebooks or comics. It's purely software. Forcing me to carry both a tablet for reading and a tablet for writing is ridiculous, especially at an ~$800 price point.

I can't mark up documents in a paper notebook, but it's marketed as one of the chief uses for Remarkable. Why? Because it's not "a paper notebook" it's electronic paper -- ie it's meant to do everything paper does. If I can print it out, I should be able to read it without much trouble, and would expect a good experience doing so for such an expensive device.

You don't have to go full Boox with the entire Android ecosystem to do that if you don't want to. But as an example of what a great reading experience on epaper can be, I'd refer you to Neoreader from Boox, the default reading app on their platform, which has excellent support for epub, comic books/manga, and PDFs.
All of these sibling comments are listing good technical reasons but the most compelling reason by far that I’ve run into for using MariaDB over Postgres is that the underlying software you are trying to deploy only supports MySQL/MariaDB. When my options are “MariaDB” or “Use an entirely different application” I often opt for MariaDB
I like it, mainly for the easy csv to DB. But that's also 2 lines of code with pandas.
Some of the voltage differences aren't even real.

https://www.protoolreviews.com/20v-max-vs-18v-battery-power/
> why are they using Windows at all?

I'm a back-end developer/DevOps/Linux sysadmin who runs a small consultancy. I've been brought into a few Windows projects -- primarily on-prem/interactive installations. The past few occasions because the client was using Windows because the FE was being built using TouchDesigner. (Not sure it's still Windows-only but it was previously.)

So, it happens. Clients have many reasons for running Windows and depending on the project and its needs, I may accept the requirement or not. To use a recent couple of examples, if I can use GitBash, Docker, WSL and Python locally, then I'll probably take it on. If they're set on using PowerShell, C# and Azure, I'm probably out.

That all being said, if the project is interesting or high profile enough, I'll jump through whatever hoops are put in front of me.
This part never fails to make me twitch:

> Some commentators say that SQLite is "weakly typed" and that other SQL databases are "strongly typed". We consider these terms to be inaccurate and even pejorative. We prefer to say that SQLite is "flexibly typed" and that other SQL database engines are "rigidly typed".

A database, relational or otherwise, should have strict typing, full stop. It may have transparent casting on retrieval, but if you try to store an INT in a TEXT column, it should throw an error. To do otherwise is to have questionable data integrity.

I like SQLite for small projects that don’t need a remote DB, and I like that Python has a native library for it. I do not, however, like its many gotchas, like the above, or how you have to explicitly enable foreign keys.