skysight-inc/HackerNews huggingface dataset:
> We did see Gab fall under too much server strain, but it's essentially a centralized version of Mastodon.

Mastodon is a quite heavy application and it's arguable that it was never really designed for high-volume traffic (it's supposed to be decentralised after all). Also, I believe Twitter had a lot of performance issues and it took them years to fix that, despite having a ridiculous amount of money available to them.

Gab could easily have embraced federation (but, I presume, only with like-minded instances since no decent instances would want to federate with them) but they decided they wanted to be another Twitter, but without the resources of Twitter.
Is there a good alternative to WordPress?
Just curious, are you the regular "geezer" who stopped posting a couple years ago, and if so why the new account? If not, and just a lurker who finally created an account to comment with, welcome to hn!
One issue I've had with any kind of auto-generated bindings based on metadata is that you get low-level types such as "Win32 BOOL" and "Win32 GUID" polluting the output. Mainstream languages already either have native bool and guid types, or have defacto standard libraries.

E.g.: Rust has the UUID crate: https://crates.io/crates/uuid

Similarly, Java has had a UUID type since v1.5: https://docs.oracle.com/javase/8/docs/api/java/util/UUID.htm...

It's not just concrete types, but core language concepts often "don't translate". E.g.: Win32 is essentially a C-like set of bindings. In many languages such as C++, D, Zig, etc... this is not an issue. However the type system of C is much less strict that Rust, so the metadata has no concept of ownership and lifetimes. This means that if you want to consume Win32 APIs from Rust, you're still forced to wrap everything manually at least once to escape the "unsafe" sandpit.

A thought I had is that C is used for API definitions because "it is lowest common denominator". But that's the wrong thing to do, the metadata doesn't have to "sink to the lowest level"! An ideal metadata definition would be something akin to Rust's type system, or even stronger than that! "Degrading" a binding from a strong type system to a weak one is trivial and can be performed completely automatically. The converse is difficult and error-prone even for humans, and impossible for code generators. You can't synthesise this missing data!

Even the read-only guarantee is too weak. E.g.:

// Rust could treat 'buf' as read-only borrow.
void SendData( [readonly] void* buf );

// But here the borrow outlives the function call lifetime!
void SendDataAsync( [readonly]void* buf );

The two methods have identical metadata signatures, but the information required by a Rust programmer or a Rust code generator is missing...

There are many such abstract API concepts missing from C, such as thread safety, process integrity safety, non-returning calls, blocking vs async, etc...
Why Israel’s Vaccine Success Might Be Hard to Replicate
I think oysters are more efficient than clams, no?
I think you're wrong. I did extensive research on this prior to purchasing a home recently and the general consensus I found is that you need a pretty advanced water filtration system consisting of carbon + reverse osmosis filtration that requires yearly servicing. Some water companies do this, but most probably don't. You can also have a system installed in your house.

Your standard Brita filter doesn't even come close to filtering these chemicals.
Since it's not like their hearts are overworked the same was with an obese person, I'm not sure if this would be a good thing or a bad thing.
The maximum allowed in the US is 4mg/L and the CDC recommends giving children up to 8 years old water with at least 2mg/L [1]. There are plenty of places with more than 2mg/L in the US and Kentucky has places over 4mg/L [2].

I bet everyone down-voting my comment is doing it out of reflex and has never read anything about this.

[1] https://en.wikipedia.org/wiki/Water_fluoridation_in_the_Unit...

[2] http://www.uky.edu/KGS/pdf/ic12_01.pdf
In bulk Winemaking you can prevent oxidation by creating a "cap", a layer of heavier-than-air gas that consequently displaces oxygen.
What Will the Guy Who Built an Archive of Trump’s Tweets Do Now?
100% of the exit nodes could be run by the NSA and Tor would still help much, exit nodes are supposed to be untrusted.

I think the fact that (most?) DNM operators keep getting away with it is great evidence that nation states don't have very good visibility into the Tor network.
It’s arguable whether those are actual savings or not. Those things are all corporate benefits that cost much less for a company to provide once than for each employee to provide for themselves separately. So employees will eventually start demanding compensation for those things, or else there’s inefficiency in the job market that will eventually be erased.
> Brave literally injects code...

Source?
No. Brave has its own sync and doesn't use Google services for that. This change mostly affects open-source chromium packages in linux distros.
Any example of this? Python's C code base has very few requirements on the platform, and I doubt that got worse with the 2->3 transition.
Working from home before and during lockdown were totally different, as something to consider. It was very social seeing my neighbors, dropping by the coffee shop, taking a stroll during lunch, and so on.

Not saying you won't enjoy being back in the office, but it's something to consider that maybe you could fill that commute time and your social needs with something more local once your community reopens.
It's true that you need to budget for maintenance. It is a serious societal problem that maintenance is underfunded.

But that means that any language revision needs to work hard at making the transition easy and incremental. 2to3 was and is laughable; at no point was it a reasonable solution.

It's okay to say "we need maintenance money". But no one has an unlimited budget. People complain about the 2->3 transition because (1) it was extraordinarily steep, (2) was not justified, (3) its huge costs are repeatedly denied.
It's the opposite for me. If my employer requires me to come in, I'll quit on the spot. I'll take a paycut to not go in, I'm sure I'm not alone in this. No amount of money is worth commuting times and being forced to be in a packed office for most of my waking hours.
Because nobody wants it.

You probably could run GraalPython, which is Python 3 and Jython, which is 2.7, since they both run inside a JVM.[1]

There'd be no interop between the languages, though. To get that in Graal, you'd have to reimplement python 2 using Truffle.

That's a massive effort compared to simply running 2to3 to migrate your old code to Python 3.

[1]: https://www.graalvm.org/reference-manual/python/Jython/
Yeah I ended up using YellowDog on my G3 Wallstreet all through college. It worked great for Linux on a Laptop for those days.
People with less experience consistently undervalue linting and code formatting and style. Code linting forces one to deal with code smells and innocuous errors that can cost a lot to fix once they escape into the field. Consistent code formatting and style are invaluable in (a) reducing cognitive load in picking names, which is a hard problem in computer science, (b) clarifying the structure of the code (you begin to see the forest for the trees, because the trees are mostly uniform) and (c) onboarding or familiarising with new codebases, including new areas of large codebases.
I feel like a lot of companies are making way too many unneeded meetings, and almost doubling down on them for remote workers as a way to feel in control.
I've been deep diving on MMT lately (per Rohan Gray, Stephanie Kelton, and L. Randall Wray); while I'm not entirely convinced, one thing that's surprised me is that it's less prescriptive than is oft assumed from its elevator pitch, and is much more focused on accurately describing what states do already. The claim is not that we can starting printing money willy-nilly without consequences; it's that we do that already, and we can be smarter about it if we're honest about that fact.

A couple other interesting outgrowths from that premise:

- the Federal Jobs Guarantee concept, which in addition to any positive externalities of putting the under-employed to work, also pegs the value of the dollar to labor (@$15/hr, $1=4min), while also providing a negotiating BATNA for the working class with their private employers.

- Because money is printed into existence, rather than an empty ritual of collecting revenue before spending it, taxation exists only for money to exit the system, reducing inflation and creating demand for dollars; tax payments aren't used to pay for anything, and are effectively burned. Kelton also makes an interesting point: rather than taxes being a "necessary evil" policy to pay for some other good, they can actually be reconstrued as positive goods in and of themselves: to price externalities (pollution tax) or discourage behavior (sin tax), etc.

The strongest argument against MMT, regardless of its theoretical merits, is simply the practical one: that Congress already perpetrates vast quantities of graft and fiscal short-sightedness, and it's unwise to trust such a transparently corrupt and dysfunctional institution with additional leeway for limitless spending.
Curated Articles from News Break – Dr Mehmet Yildiz
Yes. I like that TDD - when I judiciously employ it - makes me think about my interfaces. It’s like a pre-PR that forces me to question whether the intent is clear. It makes me reference guidance from DDD and single-responsibility-ish idioms.
There for sure will not be that many remote jobs.
>Time theft is an interesting concept to me because it implies you're being paid for the time rather than for the utility of your labor. Why do you think time theft is important in your job?

It kind of goes both ways though, if you had a less productive day would you be expected to stay late to make up for it? Most of the time you would just leave at the normal time and it wouldn't matter too much as long as you look like you are trying your best.
The cost of housing is the rent cost (which is the imputed rent cost of your own home, if you owned the house - not the interest cost of a mortgage).
Windows Forms may have supported it, but no one seemed to use it. You still to this day see dialog boxes in Windows with microscopic text areas in windows that cannot be resized. This is an artefact of the GUI builders used where the developer just "drew" the UI components with fixed positioning.

As for Motif, there were third-party GUI builders, but Motif itself did not have one as standard that I know of (I developed on Motif on Solaris when working for Sun). The layout model for Motif is so easy that you don't need a GUI builder anyway. I've used may UI frameworks since then, and Motif is still the easiest one to use in my opinion.
I think this gets solved easily by using autoformatting tools and use them as pre-commit hooks or an informal agreement among the devs to have their dev tools run it on save or whatever.
That's a pretty big given.
Clever code that's actually significantly faster is fine as long as you document every single thing that's clever about it, even if that means writing 20 lines of comments for a 2 line function.

The worst thing is someone who writes a clever one liner without any comments because that would "ruin" the elegance of the one liner and because their code is "self-documenting"
I disagree with #1. Companies do not want you socializing at work.

Sure, they tolerate the occasional chitchat, but only on a superficial level.

If you actually want to socialize with your coworkers, then you must do that outside in the smoke area, or during your lunch outings. But never actually in the office.

That is the taboo. And the moment you break it, then that’s when you’ll get a demerit from your management.
It seems unlikely to me that the same work-from-home that's been a disaster for all levels of education has been a stunning success for professional work.
This was probably the one bit that I really disagreed with. I've never been a Java developer, but I've had to touch it a few times in my career, and have quite happily left very well paying jobs for lower paying jobs just to avoid having to write more Java. I can't rightly think of any language I would plausibly have to use in industry that I find more unpleasant than the Java and the entire JVM ecosystem (disclaimer: I've never used PHP).

I'll buy that Java might, in purely technical terms, be not that terrible of a stack, but it's just so deeply unpleasant to use, such a profoundly nightmarish vampire of morality, so utterly and irredeemably cruel in it's ability to strip all joy out of the art of software development, that I can't possibly agree that it "isn't that terrible of a language".
So the Coravin is a cool thing, but just too much for the average person, or even the above average wine collector. The refills cost too much. I know one wine company here in NorCal that has one that they hacked with a line to a commercial grade tank of argon to reduce the cost (a Coravin on a long tube to a big tank...and yes they are all ex-techies). I have thought about getting one for awhile but the cost is just too much and I own 2672 bottles right now (yes, I may have a problem, but it down from a high of 4907 - Covid times). For the most part any bottle we open gets finished in 2 days. For any $$ bottle, it is opened with friends (not in Covid time but..) and it will get finished that evening.

The real interesting use for the Coravin is for when you have a number of the same bottles and you want to taste it over time to see how it ages. Buy a case, set it down and Coravin a bottle and taste it every year to see the progression.

Anyway wine is a fun thing to get into as long as you understand that $$$ does = best. I have had some $1000 bottles that are amazing wines, but not more amazing then a $100 bottle. The exception would be some very very old bottles 30+ years, but that is an acquired taste as old wine is very different from the normal today to 10 years that most people drink.
I’m grateful that my office let us take our fancy chairs and big monitors home for the duration, and expense certain stuff like standing desk converters.
Generally, remote companies prefer async work. GitLab has a great guide on how to get started, and I'm also building an app (https://asyncgo.com). Other founders are building different tools with different approaches but the same goal in mind as well.

Basically you want to move as much focused work as you can to async collaboration and save realtime for more freeform, relaxed communication. It's more efficient and also less draining to work that way.
Alberta, Canada's oil sands is the most destructive oil operation
I work for a large multinational bank with close to 100K employees, and while especially in Asia, people have been working from home for almost a year, I fully expected the business to force everyone to come back to the office as soon as possible.

But much to my surprise, we recently learned that we'll be allowed to continue working from home for up to 3 days a week. In a recent survey, most people preferred to work from home, but also missed the human interaction from time to time. And it looks like there was no negative impact when people started working from home.
This reminds me of a NYT article I read years ago that measured the amount of Lithium found in water levels around the USA, and they found that areas with higher Lithium levels had lower levels of violent crime.

It also makes you think how vulnerable a majority of the world is to people messing with their drinking water.
This is done in many teams. Go has made it really easy via its gofmt tool. The trouble is that it's hard to do on a large existing codebase that's not consistently formatted: doing a mass format messes with the line-by-line commit history, and on occasion introduces bugs.
I have saved an absolute fortune not having to go to the office and having my own kitchen for lunch.
Oh god, yes.
How common is Python 1.x? Was 2.x backwards-compatible with 1.x? I don't know, but my suspicion is that it was.
I can not agree more. Dark Waters was amazing, but disgusting what is happening.
The tech supremacy: Silicon Valley can no longer conceal its power
At least 4 Google developers contributed to WordPress 5.6
Sounds like something you should aspire to :)

I can drink a bottle myself lunch to bed on a weekend, but not every weekend.
Another low effort blog post that Hackernews readers have upvoted because it says obvious things that they agree with.

Quality on blog posts and articles is taking a bit of a dip lately.
The way children socialize compared to adults is completely different. So you really can't make a valid comparison between school and work in terms of socialization.
Are there any first hand accounts or primary sources on what happens during these "contrition vacations"? Info along those lines would help illuminate why and how the current process is the status quo. I have not seen any first hand accounts or primary sources but I normally only read about these incidents when they get wider coverage like this one.
Or of course the many benefits of free software that many champion yet strangely never use and simultaneously become confused at when someone else do.

The number of times I've seen Reddit's r/linux users react with confusion to ire when someone actually makes changes to the source code to suit his own personal needs is bizarrely large.
https://brave.com/tips/#:~:text=When%20you%20visit%20Twitter....
Why don’t we have a single interpreter that can run every language? And how come I can’t get no Tang round here?
CO2 will not carbonate your wine unless you pressurize it.

1atm of (normal air) displaced by 1atm of CO2 is not going to lead to any carbonation ...
> The worst thing is someone who writes a clever one liner without any comments because that would "ruin" the elegance of the one liner and because their code is "self-documenting"

Sadly this was some of my colleagues, no documentation and clever one liners without comments and often obscure naming conventions. And again, we didn't need the performance benefits for our use case. I think in the end it was just a play to keep some people employed, because without them we wouldn't be able to work on this part of our application.

Sadly for them the business decided to outsource and they ended up being forced to switch teams.
Next thing we know, the kids these days will invent some mindblowing new concept like "HappyText Makestuff Language" aka HTML that actually allows you to link to other documents!
> If you started only making new stuff in python 3 in 2010 2 years after python 3 came out how much python 2 would you have to convert?

In many organizations there was never a time where they could start writing new code in Python 3. They needed to write code that was compatible with their existing python 2 code, and the only way to do that is to continue to write new code in python 2. Rinse, lather, repeat.

This is why the failure to provide a gradual transition was so bad. When I write new code in Python I use python3, but that assumes that there are python3 modules available that I need.

If you have infinite money this is not a problem. But I think we should be sympathetic to the people who do not have infinite money and have never been given a realistic upgrade path from 2 to 3. The 2to3 program is not a workable solution for many.
Man pages for Arch Linux packages online
So if you are looking for something nice and reasonable I cannot recommend enough going to Trader Joes and just trying every bottle under $12. There are some pretty dang good ones.
In theory, no difference. In practice, good standups to me always feel like a casual conversation, and bad standups always feel like people speaking off a script like bad actors.
One of the points that I think is underlying your post is that this is not normal remote working conditions. People are stuck at home, with kids, spouses, etc., and all other social outlets shut off. Or they are completely alone and isolated. On the flip side an all-remote team keeps the in-office people from having the advantage of hallways conversations and other low-friction means of communication that end up excluding remote employees.

It’s often difficult to gauge employee productivity. I do think that as managers we kid ourselves that we can actually improve individual productivity in any significant, sustainable way, other than helping people remove roadblocks like, you know, the kids screaming in the background while you are trying to code.
It seems rather trivial compared to Google's being able to read one's emails or Imgur having access to one's finest and most artistic of dick pics.
I have said no. I just say I have to help my kids with their virtual class or some other excuse to get out of it.
For the record, Perl6 has been officially renamed to Raku[1]

IIRC the language known as "Perl", version 5, when it gets to the point when it is going to update it's major version, will skip 6 and go right to Perl 7

1: https://lwn.net/Articles/802329/
Americans also start work really late. 9 to 5 takes up the whole day. Where I am at most start at 7 or 8.
> Please stop spreading misinformation.

IE is already a security hazard for users. IE doesn't support any of the content security policies implemented in other modern browsers, which makes its a target for every possible XSS scheme and what not.

https://caniuse.com/?search=csp

If your users use IE you are putting them at greater risk than any other browser users and the former should be actively discouraged to do so.
Oh so it arrived late, but better come now than never. Also it's super nice that I can use RUST for it.
Doctorow is a hopeless socialist who has lost it even in areas I once thought he had a clue about.

That behavior shouldn't be made illegal - it is already illegal (if what the outsouring company has been doing is illegal).

As for their contractors: before you sign a contract that makes you buy something, or take a loan, or generally anything you do not understand, spend 15 minutes checking what it is about and if you still don't understand your obligations, do not sign. Get another gig, or just stay unemployed if you think the risk is not worth it.

If you get screwed, seek other people who got screwed and figure out if you can sue the person or organization who scammed you. But don't blame capitalism - blame yourself or busybodies like Doctorow who helped make the regulations so complex. In a free market economy you'd get a simple one page contract you can understand. In fake capitalism you get 10 pages of fineprint.
My productivity probably doubled when I moved to remote working last year.

In the morning, I don't need to commute an hour to the office, giving me an extra hour of sleep. My workspace is also superior to what I'd ever get in the office.

But the biggest boost in my productivity has come from the lack of distractions when working from home. If I'm trying to focus on something, I can set my status as busy and mute notifications, leaving me to work in peace without interruption.
I compiled a list of best talks according to HN (2018 Edition)
Wordpress is also the only CMS that offers multisite hosting - single codebase, single webserver, one docker container - for running multiple sites with different configuration.

You wanna run 2 blogs on Ghost - run 2 instances, same for _everything but Wordpress_.
Marbles are made of glass. Completely inert in this context.
> I prefer to version sites with git and install updates locally, then git pull down on to the live server.

I’m working on my first WP project and am trying this approach. A question I have is how do you handle plugins that have hooks that only run once when installed? Those hooks don’t run if you pull in via git. Also if they make changes to the dB (migrations), how is that managed if the plug-in was installed on a different server?
Aren’t some of those parts actually computers in the car that don’t work as expected?