skysight-inc/HackerNews huggingface dataset:
I remember talking to the author of Lemmy on Matrix before he made the github repo. Perhaps this has changed, but he didn't seem to have any actual plan for federation. The early work in the repo appeared to be a Vue or Angular frontend (I forget which) with a Reddit-like style with server-to-server communication left as a "TODO". The author seemed to me to be mostly preoccupied with writing essays about why communism is a good idea, so I assumed the author is "an ideas guy" and didn't expect any actual work to get done on the Reddit-clone.

Then one day, for no obvious reason, the repo received hundreds of stars within a few hours. It was a trending Rust repo and was recognized on TWiR, but there was no actual implementation of federation at all. Just a JS frontend, and I think a tiny bit of stub code in Rust.

I'm not saying there are upvote rings or botnets amongst any particular group, but I haven't paid attention to GitHub stars since then.
Writing good code is hard. In general, you should be looking to learn programming practices, principles, and patterns.

The main aspects of coding:

* Make it work (programming paradigms)

* Make it right (code structure/design fundamentals)

* Make it fast (dynamic structure/engineering)
> I wonder if part of this has to do with fewer people writing in their own space anymore.

It's not just the blogosphere. This trend is everywhere. People don't just post vacation photos for friends, they try to become influencers. They don't throw parties, they try to be come DJs, they don't hack on little open source projects, they try to start passive income lifestyle businesses.

Everything's a hustle, everything's for money.

I don't know if this is born out of economic necessity because the middle class is hollowing out, or more just culture shifting to equate "success" with "rich". But it seems like fewer and fewer things are just... fun... anymore. It's always gotta be for something.
I'm a physics teacher. I attempted to improve the text book model by adding some web based interactive elements. I mostly added interactive simulations and questions with step by step solutions.

https://landgreen.github.io/physics/index.html
Having this website ready before we all had to start teaching online was very lucky.
How many are in this category though? It seems like a minority case and any decent job which may require relocation or unpredictable permanence offers moving assistance that handles breaking leases.
What’s stopping small business growth in India?
Is it even remotely possible that Google would sell discontinued products to other entities, e.g. raise money to buy Wave as a separate company or something like that?
It's e2e encrypted and synced with your Firefox account's password.
vim <filename>
300000000dd
:wq
This was not a Mozilla project.
Thank you, will fix that! I really should hook up a spell/grammar checker on post-commit or something...

> Also, was Camino ever officially a Mozilla product?

It was until at least late 2004/early 2005, when the website was hosted at mozilla.org/projects/camino [0]. The project's website moved to caminobrowser.org in March 2005 [1], but it's unclear if it remained a Mozilla project after that.

[0]: https://web.archive.org/web/20041117091214/http://www.mozill...
[1]: http://caminobrowser.org/blog/2005/#itsofficial
This was an otherwise quiet residential neighborhood, not particularly close to any attractions. No one is saying that these people who bothered everyone around them were doing something fundamentally wrong. Partying and traveling are great and I do these things as well. However, it is a pretty difficult position to take, in my opinion, that it is okay for short-term guests to come in for a few days to a few weeks, disregard all norms held by those around them and who actually care about the community, and bother everyone while doing so. You do you, but please don't do it in my neighborhood if it is going to disrupt everyone's lives.
TLDR What to expect in C sharp after .NET 5
The salient aspect of the destination sites isn't low cost of living, it's "right to work" laws and other anti-union policies.
Former Fusion-io employee. wmf is right in broad strokes: they got commoditized and couldn't figure out how to regain an edge before their fortunes dwindled.
It’s not clear if this is DOS or a DOS shell that actually executes Linux binaries. The description is confusing, hence my question.
It’s not ridicolous to call it impossible to do in 30 days. In fact, my startup with 10000 users wouldn’t be able to do it in 30 days!
I picked Louisiana because they reported their first COVID case a few days after New Zealand reported theirs. I think it's an apt comparison in their current outcomes, just to indicate that strong action could have prevented virtually all of the deaths that have occurred.

That being said, I do agree that the long-term implications of their actions aren't something we can really discuss at the moment. My biggest concern, however, is the increasing number of cases of heart damage following COVID infection. We may find ourselves in a situation where deaths _after_ COVID are significant. A vaccine won't help the almost 7 million people who have likely already suffered that damage. I sincerely hope that in a few years time the most significant damage COVID has is on a country's economy, since that's something that can recover.
Mail-in ballots have existed all of the 27 years since I've been voting; I wouldn't characterize it as "new"
Yeah, such pithy insight can only come from experience.

Our industry, especially these days, is flooded with "solutions" that promise much - and the best ones do deliver; but what's suitable in an enterprise environment can be a huge mismatch and complexity cost for smaller companies, individuals, or for research purposes.

I heartily agree with the grandparent post, to focus on what the problem domain requires, to use tools and dependencies that specifically support that goal.

Too often we see a framework, library, language or tool used for the sole reason that it's what the big players use - basically driven by popularity and inertia. There are advantages to buying into an ecosystem or particular scalable approaches, but only if it suits and serves your purpose.

As for writing better code - as many comments point out, the best way is to read and write lots of code, study books, follow the best works of people in the field.

It helps to start with the specifics, I think, by having (or creating) a problem to solve, or a project with clear goals. One can start with the simplest, "naive" approach, to solve the immediate needs - often that involves finding off-the-shelf libraries. Then, consider ways of improving the logic, refactoring, maybe dig deeper into the libraries to understand how it's organized.
Another way to do it is to fix bugs and refactor old not so good code. Force yourself to understand the actual underlying logic and the problems it solve. Use your frustration to figure out a better design that code so it wont punish future programmers.. After doing this for years you will hopefully have built a good habit of simple and clean design.
> Hotels are not acceptable because they lack kitchens and laundries (and laptop friendly workspaces).

You're looking for an aparthotel (generally purpose-built building with special planning designed for this use-case). Common in many European cities, at least.
I'm not sure the tourism boom is over. Addressing your specific points:

* rising unemployment - overall employment is falling, but most digital nomad jobs haven't been impacted
* remote work - this makes it easier to digital nomad (e.g. a NYC dweller that travels for the winter)
* relocation to more livable places - Suppose you relocate from SF to a more "livable" place like Tucson, not sure that'll reduce demand to go to places like Brazil, Europe

I'm typing these words in the Medellin airport. Travelling sucks now. If travelling stays this crappy, then it's likely people will move around less.
The announcement claims the old syntax is not going away. Do you think this is still a regression, even if it's only a React-specific alternative?
Maybe we should just start doing what Google does, copy their products and all use that instead.
As a Googler, I'd just say it's a boring meme that shows little thought and just wastes time actually getting to interesting discussion here. It's almost akin to "first" from the old days of Slashdot or the race to mention generics whenever anything related to Go comes up.

Products come and products go, this is not unique to Google. Killed By Google is cited as some sort of proof, but that goes back to _2003_, and does nothing to talk about whether the product was replaced with something new that users were transitioned to.

Then you have a company like Microsoft that keeps things around in perpetuity, but sometimes to the chagrin of users who want new features added or you get incongruent UX (you can still find plenty of very old apps in Windows 10). And this is fine too, but it's not a meme and so never comes up.
Seatable[0] is another alternative which is mostly open source, following a licensing similar to MongoDB for their server if I recall correctly.
They're now on version 1.3, not sure if they're fully stable yet but it's a viable self-hosted alternative.

[0] https://seatable.io/
Well, I'd argue about the music. The chiptune music from SID and YM has aged very well, while Amiga sounds horrbile without FM synth and 8-bit 11kHz samples.

Also memory was much better organized than Amiga - without the speed penalty.

And the simplicity of Shifter (the "GPU") allowed for really awsome 'beyond the dream' hacks, which were unavaliable on Amiga due to much more capable - but limited in 'hacking' video chip.

And then the first upgrade - Atari STE - amazes today with full control 8-channel 50kHz MODs... While mc68k CPU stayed at 8MHz!
Sorry, can't afford your rent? I find your solution - to raise costs a bit for me, to be unworkable.
Libre versus gratis. You can charge for free software if you like.
> If HN is interested in the success/failure of products & services, product-market fit and such, then what Google have done to themselves is a fascinating phenomenon.

Sure, that's a reason discussion of the phenomenon is appropriate for HN, just as discussion of AI-driven automated spamming of message boards as a marketing technique might be. (Though, even then, not an appropriate thing to derail every thread in which a Google product is the subject into.)

OTOH, that doesn't make the phenomenon itself appropriate for HN, in any place.
Same, I think GP should know that curriculum is varied across
the US. In my case it was IL circa '90.
Many print publications use the date of the print version in the online version as well.

For example, NYT Magazine articles sometimes publish early, online, with a future date - the print date - in the URL and the copy.

This may or may not be the case here, but it's been a common practice since articles have been online
Amazon Offers $500 ‘Prime Bike,’ Encroaching on Peloton’s Niche
How to Be an Exceptional CEO
True, some businesses will likely stay on 8 for as long as their application lasts, and this can certainly be a rational decision. But I completely reject the comparison to Python.

The effort required to update from 8 to 9+ is nowhere near that of Python 2->3. Virtually all code runs unchanged... except for code that hacks into the JDK and depends on implementation details that have changed, which mostly exists in libraries. The snags are usually in libraries that have made some major API change 5 years ago that the application hasn't adapted to, and the old versions don't run on 9+ for some reason. So the obstacles are real, but it's not like the platform could have avoided them. In the future, such problems will hopefully be avoided when hacking into the JDK is blocked (which might happen as soon as JDK 16, due next March).

The benefits are also quite different from the Python case. The hardware/hosting savings in recent versions compared to JDK can easily more than offset the cost of migration in a big number of cases if not the majority. If you upgrade to a new JDK you get money, possibly quite a lot. That wasn't the case with Python.

So while there could be good reasons to stay on 8 for the lifetime of an application, the cost of upgrade is substantially lower, and the benefit is substantially higher than the case of Python (and by "substantially" I mean something like 10x).
Thankfully more hotels have realized this and seen where ABB was winning. At least around western Europe it is ever more common to have kitchen, baby cots, suites without dangerous staircases, patios/gardens/baby-pools etc. Once kids are >=5, they can sit and dine in restaurants, enjoy buffets, etc, so the classic hotels become comfortable again.
>Electricity always takes every path, just in inverse proportion to the impedance of the paths

This is one of those things that are bloody obvious in retrospect, but people usually don't think about it at all
So basically, ‘where ideas go to die’.
The difference is the reason to be in the camps. Breaking country's laws is generally viewed as legitimate reason to send someone to prison or camp, while being of a certain ethnicity is not.

Of course, there's an issue of laws that are by themselves are morally reprehensible, like the Nuremberg laws in Nazi Germany. However, immigration laws are clearly moral and expected to exist in some form or another in any modern country.

I have to say, this distinction is so obvious I'm very surprised that somebody asks this kind of question at all.
I live in a tourist town and have lived in different tourist towns my whole life (even in other countries) so I'm quite well acquainted with the issues that AirBNB has. Overall, I think it's not a new thing to AirBNB.

I think it's a NIMBY vs YIMBY thing.

Established players in any community have little desire for expansion.

Non-established players in any community have greater incentive to want to see expansion. For the most part, the non established are seeking to become established by filling the niches created by expansion.

Expansion will always have a cost, as well as a benefit. These two are un-evenly distributed and cause tension.

Overall, at least where I live, I know that removing vacation rentals would decrease tourism. As we have seen with COVID, less tourism in a tourist town and city budgets are restricted, services cut and business close. I like to see my little city vibrant and economically healthy, so I support YIMBY projects, even with their necessary negatives. That means I have to put up with unruly-annoying people.

We can't eat our pie and have it at the same time.
This was the most disappointing things about the new xcom games. They got great reviews but to me the world seemed so much like a theme park without it.
Then get a hotel. While tourism may be important and economic interests of local residents need to come first and AirBnb and it's like are harming local residents.
I think the point here is, what are you going to do about it? This is unfortunately how humanity operates. It disgusts me but history shows that it is nigh inevitable.
Sometimes we have to do things we dont like in order to grow up.
I see this a lot. There's a loss of confidence in the West, where people feel like you can't call out immoral behavior unless it's committed by another westerner or a western nation. This serves absolutely no one well.

The fact that a country or civilization has past sins should not be a disqualification from taking a moral stand in the present. Some form of mild hypocrisy is vastly preferable to sitting silent while a country destroys another culture or puts it's Muslim population in concentration camps.
This is curious to me. Were you using any extensions?
Google Analytics must Google loads, or they wouldn't push it so much.
Ok maybe disbarment is too heavy

But I'd say it would be not too hard to argue that it would fit race or national origin discrimination

But regardless of the legality of it, it is extremely poor judgement to allow such discrimination in place of work.
Kubernetes and Docker have nothing to do with writing better code.

Those technologies are deployment technologies for large-scale web platforms. If you're working in robotics, you will never need to worry about these technologies, much like SAAS programmers generally won't need to worry about interrupts, device drivers, etc, that might be a part of your daily life.

If you want to get better in programming, you need to get code reviews and listen to what others think about your code. Also, do a side project where you make several iterations on your code. It's easy to write shitty code that works if you write it once and then move on. If you have to make several iterations on the code base, you'll come up against very common problems like "oh shit, if I change this API, it's going to affect all my code!" and if you run into that enough times, you'll remember not to do that in the first place. The only way to become a better programmer is to sit there and code for 10,000+ hours.
Depends. Many cheap NVMe drives that ship with budget laptops are actually slower than good SATA SSDs like Samsung 850.

The high speed bus interface is useless if your flash and controller are garbage to the point where NVMe is sometimes no indication of a laptop's storage performance and just a marketing name.
1. Write code for production.

Set up CI/CD, build tests, deploy to a package repository if it makes sense, etc. If you're building and maintaining an actual product, you get feedback that forces you to identify and solve problems. Writing real tests forces you to think about testing your code, solve problems in tests, make tests run quickly, etc.

Ideally, you're working on a team, so you're also looking at the work that others do and critiquing it and they're critiquing you. You're looking for actionable critiques, "if you change X, you get Y," which should help you learn the idioms your peers use and an intuition for why one way of doing it is better.

2. Learn from your standard libraries.

Generally your standard libraries are the best code you'll see. Popular open source libraries, especially ones that are de facto standard libraries, are a close second. Even when they aren't how you'd like to write your code, there's a lot of wisdom in the compromises they made. Read their decision making process, JCPs, PEPs, Go proposals, to find insights as to why the language does things one way or another.

3. Math > Docs >> Stack Overflow >>>> Tutorials

You won't do math every day to implement things, but you're already comfortable with it, so practice expressing the math as cleanly as your language allows. The math of CS is way simpler until you get into AI or compiler theory, so it shouldn't be hard to find resources that explain it.

The next stop that should address 95% of things you need is your language's documentation.

Stack Overflow is okay for solving obscure problems, but rather than copypastaing a SO solution in your code, figure out what it does and why it works. And SO answers are routinely badly wrong or out of date.

Most tutorials and blog posts out there are hot garbage.

4. Why is this better?

That's the question you want in the back of your mind. As you're maintaining your old code (recall point 1) you should be looking at it and thinking, "I don't like how I did this." Then redo it, make it better, and think about what's better.

How you structure code, how you name things, how you manage compatibility, all these are hard to quantify and explain. But the subtle pros and cons of different choices become really obvious (to you, at least) when you're refactoring and fixing your old code.
I wonder that too. Their gSuite products evolve soo slowly (when was the last time diagrams changed?).

Ironically, unlike desktop software when you had to convince people to purchase a new copy each year, it seems like the Cloud distribution model allows google to basically put their products in maintenance mode indefinitely since people will still be paying for the subscription each month and switching cost is high.
edit:
meant hearing about the Black Tom Explosion

Same, I am really shocked this was never taught in either setting for me(US based). and wonder what is the rationale behind this but suspect its due to alot of things. It shows an attack on US soil at the most important US city, which damages the statue of liberty(a symbol of the US). I would love to know why this is not in every textbook in America when relating to WW1.
I agree with this. I read the top comments before the article and went in totally expecting someone just dismissing books as useless, by the end though, I got the same takeaway as you, the author was stating the need to immerse yourself in a subject to truly learn it and that hastily reading through a single book on a subject is not something you should expect to give you full understanding of it.

Not that books are useless or you shouldn't read them.
The politicization of masks was an interesting thing, at least in my bubble. Initially when the CDC and the WHO were telling people not to wear masks, my very left-leaning friends and acquaintances were anti-mask and my right-leaning friends were very pro-mask. But once the CDC and WHO came around that (obviously) masks were effective, the positions nearly reversed (my right leaning friends didn't become anti mask per se, but they became very sympathetic toward those on the right who were anti-mask).

Every partisan affair is a tragedy, but this one felt particularly sad. The right had an opportunity to be correct and vindicated and they spurned it. The left initially took the anti-science position (I'm assuming there's no scientific defense for "in the absence of knowledge about a respiratory virus, we should default to masklessness"--and to be clear, none of my left-wing friends were arguing that we should forego masks to save them for healthcare workers), but only came around to masks when it became politically convenient (which is marginally better than the other way around).

Anyway, here's to hoping we can overcome COVID and partisanship in short order.
Heh also firing a stun grenade into your ship at the end of a mission. Promotions for everyone!
DOSBox would be the "Linux Subsystem for DOS" using this contorted naming scheme. Aren't we having fun now? :-)
It's not extraction, it's a service.

If there were no landlords, it would be impossible to start a business in NYC without buying a building. Most businesses would never be able to afford that. Thank goodness there are landlords who are willing to rent out their buildings!
Is there any way to change the default dark/light themes for Firefox on macOS yet? I don't like the 'Default' theme but I do like the 'Light' theme, so when I use dark mode I want Firefox to use the 'Dark' theme but then change to 'Light' when i go back to light mode and not the 'Default' theme. Is this possible? If not is it in the pipeline anywhere?

Other than that, Firefox is incredible and I'm always happy to see new updates.
Not intentionally I don't think, but people might do that if they're not sure which language the characters came from or if they just don't know the term "hanzi".
So does libreadline (and therefore bash). The following in ~/.inputrc does the trick for vi mode users:

k: history-search-backward
j: history-search-forward

There is an equivalent for emacs mode.
You haven’t seen restaurants come and go. You don’t know the intricacies of local culture and etiquette. If you do speak the language, you don’t speak the lingo. You have never fought with the local municipality over some triviality. You’ve never voted in local elections. There’s no investment from your side. You have no roots in that place. You have no part in that place’s soul and I doubt it has a place in yours. By definition it’s not your home.

This sounds like gatekeeping to me. That's almost by definition what an immigrant's life is like until they naturalize, but I'd never tell an immigrant that this place isn't their home.
The modem actively broadcasts the removal, it's a very intentional design choice
Building the Jetson's House