skysight-inc/HackerNews huggingface dataset:
>It seems strange to me that so many people are onboard with privacy most of the time, but when it comes to financial privacy anybody who doesn't want the government to know which books they buy is somehow a villain.

This is a failure of government to protect it's peoples from supra-nationalist oligarchs who abuse various economic shell and tax avoidance friendly nations systems in order to abuse their country of origin (or country of profit origin). This is not at all about "what books they buy" and to say so is poor form and intellectually disingenuous.

That said, you may be right that some innocents may get wrapped up in this, but I would venture this example you've pulled out of your hat is an extremely small percentage of who would be revealed.

To be honest the biggest problem I have is that we've become so normalized to this kind of shit that hardly anything happens from the revelations. Just look at the Panama papers for example, besides a journalist or two getting assassinated because of it, nobody was held to account. Combine that with things like Epstein's lack of prosecution and later assassination and what I see is the overton window moving to normalize corruption as a required pragmatic approach to power such that most people will openly admit the rule of law simply doesn't apply to the elite.

This, therefor, is hacktivism of the finest kind imho. The people standing up for themselves when even their own governments won't. Any potential fallout relating to innocents I would place at the feet of those governments who failed to do their job, and not the hacktivists who reveal the truth because of that failure.

For those of you interested in the topic of offshore funny money, check out the following excellent documentary. The Spider’s Web: Britain’s Second Empire

https://www.youtube.com/watch?v=np_ylvc8Zj8
Yes, for multi-tenancy. Database per tenant works alright if you have enterprise customers - i.e. in the hundreds, not millions - and it does help in security. With the right idioms in the codebase, it pretty much guarantees you don't accidentally hand one tenant data belonging to a different tenant.

MySQL connections can be reused with database per tenant. Rack middleware (apartment gem) helps with managing applying migrations across all databases, and with the mechanics of configuring connections to use a tenant based on Host header as requests come in.

For async jobs in Java, allocating a connection can idiomatically only be done via a callback - e.g. `executeInTenantContext(Tenant tenant, Runnable block)` - which ensures that all connections handed out have the right tenant selected, and everything is reset to the default tenant (an empty database) when exiting. Per-tenant jobs either iterate through all tenants, or have a tenant parameter under which they get executed, and the rest of the code can be more or less tenant unaware.

It gives you the "freedom" to move tenants to separate servers, or consolidate them into single servers, if tenants are much larger or much smaller than expected. In reality this is sufficiently painful it's mostly illusory. We're looking at Vitess to help scale out, and move away from a mix of multi-tenant servers and single-tenant servers.
You should read more about the situation. I think your take is quite naive, frankly.

And why it became okay to compel someone to use a certain pronoun as opposed to compelling them to _not misgender_ is absolute lunacy. Monica wanted to write her sentences in a way that did not require pronouns period, and they decided that was not okay. Not to mention all the mud-dragging and character assassination they pulled.

I’m on mobile so won’t dig up the link but go find what Monica wrote on it
That's probably the greatest lesson companies could learn at this point.
This would be awesome! I’d even be cool paying for it if needed.
Not a problem with MySQL, "use `tenant`" switches a connection's schema.

Rails migrations work reasonably well with apartment gem. Never had a problem with inconsistent database migrations. Sometimes a migration will fail for a tenant, but ActiveRecord migrations records that, you fix the migration, and reapply, a no-op where it's already done.

We don't use a single mysqld for every tenant mind, it's not like migrating tenants is completely serialized.
Exactly. People are starved for authenticity and truth, and the freedom to both express and enjoy it.
The standard way is, as is pointed out in a parallel comment, checking when the user logs in (since they have to send their unhashed password to the server as part of logging in).

Another approach is to use things like https://haveibeenpwned.com/ to detect users whose credentials are compromised and alert them.

Another more involved approach is to actually try to find collisions with user passwords (using either common wordlists, generated wordlists, or straight brute force) and then notifying users if they find a hit.
I hear you. And yes, this reputation thing is different. But how do we know we can’t decentralize this trust?

Remember, the phone company was the canonical example of a “natural monopoly” by economists even including Milton Friedman. That’s why I chose that example. It eventually got decentralized too.
Huawei: What would happen if the UK ditched the Chinese firm?
SQL for Beginners
> Actually the oscillation explanation didn't match my intuition at all, because I would have thought the water flows from high to low until the point of equalization and then stops flowing, without oscillation.

It might very well do that. You will just have lost half the energy already to heat from friction with the piping and due to water's viscosity.

> it is pretty surprising and unintuitive that if you put two large water tanks, one full and one empty, right next to each other, open a valve between them allowing their levels to equalize, then assuming there is no distance and you used teflon coated valves you lose... half of the energy as they equalize!

If you did that, they would equalize - very briefly - and then the second tank would fill higher and higher, until it's (nearly) full. Then the reverse begins.

This is very similar to a pendulum. Just that our intuition about pendulums is better than for near-frictionless transfer of fluids in connected systems.

> I'd have thought you keep 70%-95+% of the energy.

Well, the potential energy being zero at the bottom of each tank is arbitrary. If both tanks are inside a water tower, you might keep 99% of the "useful" energy even if you let them equalize, because the height above ground is greater than the height above "tank bottom". Maybe this is the source of some confusion here?
Desktop Linux has all of that compatibility. Nothing fundamental has changed: You need the libraries, and if you have them, it works, just like in Windows.
>According to new estimates released by the Centers for Disease Control and Prevention (CDC), the COVID-19 infection fatality rate may be as low as 0.26%, a number that only doubles the seasonal flu but significantly lower than earlier estimates.

The news has been pushing worst case scenarios at every step of the way, not doing a good job of presenting the complexities behind the facts and estimates.

And lots of people seem to be blind to this. Maybe schools could be doing a better job teaching critical thinking?
which model is that thinkpad?

laptop size depends on what kind of work you do. for a support dev or sysadmin, constantly on the move (visiting clients, etc) a small laptop is more productive than lugging around a large heavy piece of equipment.
Google Pronunciation Widget
I wish there was an assessment with error bars not spanning multiple orders of magnitude...

Jokes aside. If the number was true, for Italy (33k reported deaths) this would give around 12M infected. For US (99k reported deaths) around 36M infected. Those numbers seem to be unrealistic. I remember Italy did some tests and even in the worst hit places less than 7% of population developed antibodies, not average 25% for entire Italy as suggested.

I know this is very, very back of envelop calculation but it would be nice to somehow reconcile those numbers.
my hot wife
> In your design, every time a user hits your service, a new connection, specific to that user, will have to be made. This will incur network traffic and the overhead of logging in to the DBMS.

If connecting to your DB is significantly increasing your page times, you've got seriously fast pages. Even back when I was working with a MySQL database regularly in 2010, connect + login was 5 ms at maximum (and I think it was much less, I just don't remember that far).

> If you're thinking about using something like SQLite, you will hit a hard wall when the OS isn't able to open any more file descriptors, as well.

You could always just only keep open the most recently used 1 Million databases. It's pretty easy to tune the FD limit, FreeBSD lets you set it to one FD per 16k of ram without modifying the kernel, but it's a challenge to be so memory and cpu efficient that that's a limit.

All that said, it really depends on the application. If this is consumer facing, and each account is an end user, one database per user is probably excessive overhead; one database (or sharded, if you've got the users) or one (flatish) file per user makes a lot more sense.

If it's business facing, than one database per account could make sense. You would have isolation between customers and could put big customers on dedicated boxes and let the customer drive upgrades and migrations etc. Just please please please consider that corporations merge and divide all the time, don't be like G Suite and not offer a way to merge and divide accounts to reflect their corporate ownership.
Xkcd: Confidence Interval
Perhaps that's what Cameo's endgame is going to be like - pay $N to a real celebrity, get an AI likeness for $N/5. They likely have no shortage of training data now.

(They'd have to work out the legal and contractual parts of that of course...)
> Just because someone once committed a broken build, doesn’t mean I’ll never again trust them with access.

I don't think this analogy is useful. An error in execution can be quite different in an error in judgement.

To offer an alternative example: a contractor decides to publish the source code to a company's closed-source software, so that they can use it as evidence of their work for their next job application.

> It’s argubly more like “sorry for being a moron, but I hear you. Please give us another chance”?

When these kinds of bad judgement happen, the person normally loses some decision-making power to stop it from happening again. This is in noticeable contrast to Triplebyte here: an apology as a PR exercise, and no material change to prevent it in future.
The job market is taking a turn post pandemic – digital is the way forward
Businesses - even those who've traditionally existed for a century - are looking to go digital. Before we know it, everyone will be looking out for analytical skill-set. If there ever was a time to upgrade, it is now.
> It's a bit like the story of the engineer who did a 400.000 dollar mistake on his first job.

The primary reason not to fire this person is that if something like this can happen, it's a process failure.
>to improve TikTok rating

The article gives no evidence of this. Sure the rating improved from 1.2/5 to 1.5/5, but that doesn't mean it's the purpose of the removal.
Will we apply this kind of testing and reasoning to everything, or just coronavirus, or just things that billionaires don't like? Because I'm sure there's a lot of exaggerated information and non-evidence-based measures appearing in a lot areas.
Show HN: A tool to view your Twitter archive as a graph of replies and qt's
so you need that coffee subscription
I wondered about that.

But it is a reasonable number if you take into account that there were not enough tests to detect all cases. I assume that now they are getting antibody data and see that a lot more people caught this than they thought, not exhibiting symptoms or needing medical care.

And there are things we still don't know, about how it spreads (turns out not so much on surfaces), and about variants that are out there (why worse in NYC and Europe than in parts of asia and west coast?) And local conditions (NYC is very dense with subways, Northern Italy with intergenerational housing and smoking, etc). More data is always good.
1. IaC / no servers isn't a plus. It's vastly easier to SSH into a server and do anything you already can on a desktop

2. So do CoLocos, but better "HA" with no effort at all

3. /var/log + bash grep

4. Reverse proxy, just add another IP address and a load balancer

5. This is true anywhere

6. Nginx and apache both do this, dead simply

7. SSH + cli editor of your choice

Kubernetes does nothing new, but pad more resumes. The UX "design" of the dev-ops world.
Brisbane and surrounds get decent weather. Wollongong avoids the crowds of Sydney but stays mild into winter. Other places depend on how warm you want winters to be; the capitals wouldn't get winter conditions like parts of the US shovelling driveways. If there are two snowflakes where I live, it would make front page of the paper.
> everyone here has certainly heard of softbank

not until your comment had I heard of "softbank"
Holograms on Chocolate
My comment was facetious, and I'll be honest, this whole part of the thread confused me. I suspect that people's desire to argue on the internet led them to defend a position they don't really hold that strongly.

I've been part of several book clubs. It's definitely a thing people still do. But, it's not the social event of the year or anything like that.
Sure! I'll bite.

I did not read the whole text. I will go back and take another look on a larger screen, or maybe even print it for the sake of ease of reading.

I did catch the mention of the trust fund kids hitting up ashrams and retreats and Burning Man. My instinct is to accept that this indeed has something to do with poor spiritual principles, however in the somewhat traditional teachings of Indian philosophies and religions couldn't we conclude these are people with generally good karma who are maintaining it somewhat (and burning it quite a bit) yet at least not eating meat, dealing drugs, beating their kids, etc.?

I am sensitive to the possibility that those individuals are indeed self-serving in some fashion, though I also am at least somewhat impressed with a subsection of those same individuals who truly are bright souls (in relation for instance to my poor life choices!)

What I see being examined here is the obvious enormous disparity between genuine altruistic service to humanity and the bizarre tendency for people to tourist-away their inner seeking by merely denying their own culture and escaping into a Disneyland version of someone else's (washed clean of the truth of its own exploitation.) I feel like that might be the frustration/ analysis here?
"You need to get 500 tons of supplies from Fairbanks, Alaska to the Arctic Ocean"

-- this is the lead sentence in the article, and I don't understand it
> Maybe it's time to tone down on the propaganda?

Brilliant gaslighting there!
How to remove unused CSS and JavaScript in WordPress
You can, in fact, use traits to do type-level programming in Rust[1], but this is type-level programming; it isn't /dependent/ types. The biggest "blocker" for using dependent types is that programs must be /total/, because that program has to be evaluated for it to typecheck! If a program is not total, the typechecker has the potential of getting stuck. The two dependently-typed languages I've programmed in, Mostly Agda and a tiny bit of Idris, have totality checkers to aid in this. Generally this means that recursion is only allowed if its structural, and there can be no run-forever loops, i.e., no servers.

I think instead, for one of these languages, the ideal would be opt in should you need it. Dependent types are, by their nature, proof carrying[2], and there are times when you want this, but for a general-purpose programming language, also times that you do not. You can't be total over IO (or any effect for that matter), so, yeah, skip it when arg-parsing, but then opt-in when you're processing your financial transactions or actuating your robot.

[1] https://dpitt.me/talks/tt-for-rust/

[2] http://www.cs.nott.ac.uk/~psztxa/publ/ydtm.pdf
Yeah, I saw a CCTV video on Australian news where a train stopped short of the platform and the blind owner dragged his poor dog off the edge. That sucks for everyone.
Yes!! In hosted forum software this is the norm. If you want to create an account you create an entire database for this user. It isn't that bad! Basically when a user creates an account you run a setup.sql that creates the db schema. Devops is pretty complex but is possible. EG! Adding a column - would be a script.

Scaling is super easy since you can move a db to another host.
Apologies maintain norms and standards. They define the lines we shouldn't cross by noting areas where they were crossed.

We should reward apologies and punish those who don't. Our failure to do so is creating a market incentive that will destroy or weaken valuable norms.
I would take a look at this article for a good primer on multi-tenancy patterns as it relates to Rails. I have not used the apartment gem but there are numerous tutorials on how to set this up.

https://rubygarage.org/blog/three-database-architectures-for...
Nice work!
One small suggestion to improve the UI would be to use cursor: col-resize on the edges of the notes to show they are draggable and change the length as the user drags to give visual feedback.
>No, I'm saying you can't make a stable practical system that protects property rights that doesn't use monopolies of violence at some scale.

Monopolizing and using violence to enforce involuntary contracts is already a violation of property rights. So it's impossible to have the two simultaneously. You're referring to a limited form of property rights at the expense of moral rationality that more resembles a feudal system.

> Who protects those "peaceful" people when they are objects of aggression? What happens when one of them commits an act of aggression against another group?

Do you realize you're saying that one group needs to initiate violence (in the form of law enforcement over a social contract imposed at birth) so that we can protect people from violence? You're initiating violence against peaceful people to achieve some political agenda.

“they who can give up liberty to obtain a little temporary safety, deserve neither liberty nor safety.”
Well... you could have tried https://www.invisible.ca/arm/ and https://wiki.netbsd.org/ports/evbarm/ along with https://www.netbsd.org/docs/guide/en/
Firebase has this interesting feature called "namespace". If you are building the multi-tenant app using namespace it will give you probably desired results. So I guess you can call each user's environment a database if you are using namespace.
I think in DOS they were all global in scope. SETLOCAL appeared with Windows NT (cmd.exe), not sure which version (I didn't use the early ones).
Further explanation: When moving headings around, one can choose to also move the attachments along, for example, by relying on OLD-HEADING and NEW-HEADING's respective attachment directories. Changes to these directories can include external modifications (e.g. addition of files produced by a spreadsheet app). `org-attach-sync' makes sure these changes are propagated to the Org file (and/or its memory representation).

When referencing one of the attached files within the heading, one can use the `attachment' link type, which points to files resolving to the attachment directory[1]. The format is [[attachment:FILE-IN-ATTACHMENT-DIR][DESCRIPTION]] and can be easily inserted with completion by `org-insert-link'.

For more complicated attachment linking scenarios it might be better to configure the attachment directory to be absolute (`org-attach-id-dir').

Conclusion: The use of Org attachments and the attachment: link type stabilizes links to files.

[1]: https://orgmode.org/manual/Attachment-links.html
I recently was laid off while working on one of the initiatives the director had going. They hired a CEO who brought all his initiatives and mine happened to fall outside of the new initiatives. They let myself, another developer, and the director go all at the same time.
The notion of curvature in Earth's sense is applicable to its surface. No one is expecting to find oneself at the starting point having dug through the innards of our precious home.

Why would we consider such a premise in the case of the Universe, when we are clearly not aware of any facts proving an existence of its surface? At best we're inside the Universe.

Moreover, how would one define the 'sameness' of the final point? Is it in relation to neighboring objects or to some static reference point? How one could even ascertain the static property of such a point?
Implementing split in Haskell
This redirected to https://dk.com for me. Is this my ISP's DNS messing with me?
The thought didn't cross my mind when I was building it but come to think of it, it's actually something I'd like too. It would be nice to be able download them for traveling. I can implement it so
Sure, but plenty of other people find him entertaining. He's no different in that regard than any number of vulgar comedic acts. The 2nd episode with Joe, Alex and Eddie was some of the best content from JRE.
Java's 25th birthday – celebrated with 25 Hours of Java
Read a few more sentences in?
There are now anti-domain squatting laws on the books, aside from more conventional trademark, etc., protections.

If any of the big names found someone using a clone domain and objected to it, the domain owner - I'd expect - would find themselves having a chat with keenly interested IP attorneys.
This is currently the top-voted post on hacker news, and I stopped reading in a couple of lines in. You can do better, dudes :-)
I don't get two-way scrolling here, and there's very obvious orange "First, previous, next, last" buttons under each slide.

Imagine being so entitled that you get this annoyed by something you were given for free and can close at any time.
> There is literally no benefit to a given state, or country, to make it easier for jobs to leave their borders.

Of course not. But there is benefit for making it easier for people to live within those borders and pay taxes within those borders while working for a foreign company.

What if the states stopped requiring businesses to file taxes on their employee's behalf?

What if the feds set up a system where I just report my employee's tax ID and how much they made to the Feds, and then the Feds share that with the states and each entity just sends a bill to the employee or to the business owner?

What if the feds pass some laws about autofiling of taxes. I just submit my employee's pay and benefits to a national register, maybe send some default amount of money, and everything else is taken care of for me, and they send me a refund if I overpay or send the employee a bill if I underpay?

There are lots of ways to streamline the system without losing tax revenue.

Most of them involve making the government responsible for collecting taxes instead of businesses.
No kidding, I wasn't expecting this to potentially be a paid product. Just thought it would be cool resource to share with the community. Good to know this is something people want though, I'll implement it
It’s cool, and I don’t fault the author for working on something that obviously gives him joy, but save yourself a bunch of trouble and avoid this kind of thing. The queries showcased are the least interesting of the set of queries you’ll ultimately end up with I’m a mature project.
You should add it to the lists in https://github.com/pirate/wireguard-docs