skysight-inc/HackerNews huggingface dataset:
If you're trying to learn a language, use the Assimil books.

They have the target language on the left side and usually both a literal and an easy-to-understand translation on the same height of the page on the right side.

Sometimes with explanations as to where the expression comes from.

Also: very little grammar (only to the extended needed, nothing upfront)

Best books I ever found for learning languages.

I have no affiliation, but learnt 2 languages to B2/C1 level with their help.
I think that's not the reason. NoSQL rocketed in popularity on the back of adoption by a few large companies with scale problems that had to abandon relational databases due to scale issues. If the requirement is to serve very high low-latency throughput to back something like shopping on Amazon, then relational databases and SQL in particular aren't very helpful. You know your data access patterns up front, and can optimize your database to support exactly your API's access patterns. Ad hoc queries on the production database are prohibited, data analysis work gets done with some kind of ETL pipeline, and the choice to trade off any part of ACID for more throughput and lower latency is a no-brainer.
https://www.toptechlets.com/

a simple side-project to list the Top & Popular Tech news and Discussions from the internet. I started working on this for my personal use and very recently made this as a website.
Svelte is a a breath of fresh air because of its simplicity, not because it's bundle size (which is a bonus). It's especially easy to get up and running and the documentation is great.

React/Vue/Angular you have to learn the build system as well as the ins and outs of the framework, and there are too many opinionated ways of getting started.
> It's not a political statement if it's factual.

I think “The COVID-19 pandemic was avoidable. Any responsible country would have invited world health investigators to Wuhan within days of an outbreak.” is counterfactual by definition.
WhatsApp could have been coded in any language. The first version was a very simple app but it promised free SMS alternative with some great marketing campaign. Still amazing how they managed to grow the user base using this marketing when there were tons of apps doing the same thing.
Worth mentioning that there's a new version of that here: https://github.com/scc416/Visual2 I don't believe the source code for the first version was ever released.
I mean, having a sane protocol designed for use by applications rather than humans would be nice.

It’s not that SQL is bad, it’s that mechanically generating it is wrought with peril, gotchas, and a huge mismatch between the code we write to work with the data we retrieve from these sources.

Hell, s-expr’s would be a much better format and would require little implementation work.
Here's a non-fragmented translation for ya: "The fewer languages there are the easier it is for developers to share code."
I was writing a game in Lua using LOVE. I used to really enjoy and appreciate Lua. I've even integrated it into some applications using the C libraries in the past. It's always served me well.

But during the development of the game, things got so unruly that we ended up having to abandon it. The code itself was written as good as it could possibly be given the engine and for Lua, but we had a lot of really poor-performance hacks for the 1-based indexing, for example.

Further, the lack of proper operator overloading prevented us from using certain libraries to bind to it, e.g. Kiwi, for UI layouts.

Not sure I'll ever use Lua as a scripting host in the future. There are a few alternatives I really think could suit the job better.
I’ve seen a -lot- of engineering time spent trying to adapt to transient quirks of sql query planners, where the programmer expected a filtered range scan and the database elected for a materialized temp table, or similar disasters. Each and every one of those people would have been better served if they could have just specified the op tree that they wanted to be executed.
Anyone who claims to teach paths by which to optimize Developer effectiveness ought to cite data to support those claims. Until data exists to contrast the results of Company A vs Company B, we'll never be short on speculative articles.
Over the course of SQL's existence, how many entire programming languages have built up entire ecosystems? It doesn't make sense that people would upend their language stack every ten years, but then be afraid to learn a new query language.

Most developers need to know their programming language deeply; but not necessarily the query language, which might be hidden behind an ORM anyway.

In theory, at least, changing the query language would disrupt fewer people than, say, moving from C++ to .NET or Perl to Ruby or Python to Go.
Kotlin DSL
Kotlin: With, TakeIf and Let
My codes are written on JS but the sensitive parts are heavily commented with TS types so my vscode intellisense could assist me with correct types.

/*
* @type {Map<String, Number>}
*/

const map = new Map();

Like that.

Express JS is still shit, koajs and fastify are a little better, I used to use nodejs's internal http and https libraries directly but these days uwebsockets.js is what you'd want since it's mature enough already (used by top crypto exchanges).

https://github.com/uNetworking/uWebSockets.js/

And oh it comes with TS types which are cool.
Insert Koin: Fast DI in Kotlin
Might have to call Jepsen.
Having gone to a college in California, a UC where most kids were also from CA, this was a dead giveaway for who was from where. In the same vein, I love the bar scene in Inglorious Bastards where Michael Fassbender's character orders 3 drinks and holds up 3 fingers the English/American way (index, middle and ring) as opposed to the mainland European way (thumb, index and middle) and it's a dead giveaway. I don't know if that had been used in literature before, but whoever wrote that scene (Tarantino?) really picked up on a subtle difference that's a dead giveaway.
I donated too. I am yet to use it. Hope they release a desktop version not linked to phone soon.
Thank you for writing this, I was just about to start writing up something similar. The linked paper might be 'serious' in tone but the claims are not convincing.

One of the best articles I have seen on the lab-made hypothesis is here:

https://yurideigin.medium.com/lab-made-cov2-genealogy-throug...

If you want to go down a more skeptical route, closer into conspiracy theories and Chinese politics, you can read some of the writings on this site:

https://nerdhaspower.weebly.com/blog/scientific-evidence-and...

Please, when reading these, keep your scientist hat on and evaluate the claims with an open mind.

That being said, if anyone has links to rebuttals of some of the key ideas behind these articles, or further evidence of natural origin beyond the Andersen et al Nature paper, please link it, I'd very much like to change my mind.
Default branch for Rails is now main instead of master
The touchstone of all humor is a really dumb person who thinks that they are smart.
That's a great point. Lisp is so simple in every way, you could make a good case that it was superior to all other languages, and that perhaps inventing Java was the mistake and Lisp should've been the "final" language.
Ooph, just reading the highly effective vs low effective environment bullet points was triggering. I can think of environments I entered where a good chunk of it was highly effective and my most recent startup was plagued with the low effective one (and even then - it will still IPO). Worst part is - they really had no interest in improving it. To improve would require an entirely different management chain - one that didn't learn all their ideas in the 1990's from watching rocketships take off...

I sometimes wonder who these articles are written for. Am I supposed to share this with the CTO to show them how poorly the organization is being run? No, obviously not, that'd just fast track my firing. After all - if you're in an environment of psychological safety where you can air these issues then you're probably going to not have these issues very much.
I'm not going to stand here and say node is the end all be all of server side languages... but you really can't think of a reason that one might choose node over C for writing the back end of a web app?

I'll reverse it and ask: Why would you want to write an app to serve some CRUD API in C? This isn't and has never been a very popular choice.
Reminds me of squirrel: http://squirrel-lang.org

Like it really reminds me of squirrel.
Imagining a venus cloud city, Lando calrisian style
The way you say it makes it sound like stockholm syndrome but lol i might actually give rust a shot
So many date libraries.
I was going to say... I’d hate to rely on a web service I don’t own for anything other than playing around.
Could you elaborate on what this is, exactly?
I was simply disputing the claim that C code will exclude bounds checks, relying on undefined behavior. Maybe I misunderstood the claim.

I personally agree that the practical potential of Rust is oversold, especially in areas like kernels, low-level interfaces, etc. Bugs in those types of applications are often precisely at language and environmental interface boundaries, places where stronger type systems don't help. Similarly, AFAIU the current Rust toolchain doesn't do a stellar job at eliding as many bounds checks as theoretically possible, and I'm probably less optimistic than most about the pace of improvements on that front.

It's just like with C++ or Java. It's easy to write a small microbenchmark or program where a compiler generates code that readily outclasses a typical, textbook C implementation. But that effect never seems to scale. People end up structuring their C++ and Rust programs the same way they'd structure a Python program, and even the best compilers can't turn lead into gold.
Quis archiviet ipsos archives?
> It's not surprising that FAANG often designs their own internal systems that handle this sort of thing

This is one reason why I've loved using Notion. I maintain a few open source repos, and our team's process has grown organically over the past few months. Being able to use a Kanban board for one set of information, then decide that it's just better as a bulleted list; storing meeting notes from quick bullet points up to detailed step-by-step guides on how to fix some issue people had that week...

The low friction to high flexibility combo is great!
A) Short-term mindset developer:

- Tech debt is for others to fix. While others cleanup after me, I will be completing my next task and paving my way to promotion.

- If it works, it's good enough. It does not matter if I can't explain why it works.

- Everything is an obstacle. Documentation? obstacle. Coding standards? obstacle. I just want to complete tasks.

- I do exactly what I am asked for. It does not matter if it is insecure, it does not scale, or if the entire system crashes. All of that will be someone else's problem later.

- Code does not have to make sense, as long as it runs it is good enough.

- I worship project management.

B) Sustainable mindset developer:

- The cost of tech debt compounds over time. I should fix tech debt before more code depends on it and becomes more expensive to fix.

- I need to understand how and why things work. Is this really working? Do I really understand what I am doing?

- Reviewing relevant documentation for the technologies I use is a good idea. Making sure I understand and follow coding standards is a good idea. Well crafted coding standards can save work.

- I understand that not all stakeholders are technical. I need to understand the technical implications of what I am asked to do, and push back if necessary.

- Code is written once, read many times. Readability makes everyone more productive.

- I acknowledge that project management documentation and tools are a form of documentation, and as such, it is not a source of truth. When it comes to things to do, the implementation is the source of truth, not tickets.

Bad companies promote A), good companies promote B).
Who needs this kind of scale besides FAANG-like companies?

Why would you start some garage SaaS with YugabyteDB?
I should clarify, neither I nor Dr. Rasmussen are claiming that we know what the true origin is, or that zoonotic spillover is definitely what happened. There is not enough evidence to make such a definitive conclusion. I can see how people might read my comment as implicitly asserting that if people did understand the empirical facts they would come to the conclusion of zoonotic origin.

That said, there are facts, and they are relevant: the fact that COV RaTG13 has 96.2% similarity to SARS-COV-2. The incredible diversity of bat coronaviruses, and the fact that only fraction are studied and understood, despite serious study by the WIV.

Here's another good quote from another good thread: And investigating zoonotic origins can take decades, and you may NEVER find the "smoking bat" or whatever other intermediate species that may be involved. It's like looking for a needle in a planet-sized haystack. --
https://twitter.com/angie_rasmussen/status/13497545972759142...

The main point that I was trying to make, which I stand by, is that most people are going to base their beliefs about this question on essentially political considerations: do you trust the CCP or the US State Dept more? Unfortunately, both of those institutions have done terrible damage to objective scientific inquiry, and in my opinion neither one is really deserving of trust. Better to follow the science where it leads, but this is an often frustrating and time consuming process.
The ability share code is critical. For people to share and cooperate it's much better to have fewer languages, than 100s.

Companies are spending billions each year because of having to translate from one language to another.
As a ruby developer who went through a stage of being enamored with meta-programming, I'd argue that it's siren song: enticing, but dangerous and destructive. It's especially dangerous because it's fun to write -- it scratches the "I'm so clever" itch -- but is a disaster to read, and a disaster to maintain.

Aside from just wanting to be creative, the desire to do it usually indicates either a missing core language feature, or a programmer's missing knowledge of how to use core features effectively and idiomatically. Otherwise you'd use the simple core language feature (the one every developer is guaranteed to know how to use already) to achieve your goal.

The other reason it's sometimes used is prioritizing terseness over simplicity. That is, you introduce some meta-programming abstraction that saves you some LOC, but at the cost of abstraction overhead. Almost always, you're better off with the reverse priorities.
> Basically most of the people not saving money. Imagine if noone was saving money (or if it ignorable), this spending you get has to come from somewhere, so you need to cut something to spend on my widget.

Actually, savings are at an all-time high right now. People aren't spending because they're waiting for the pandemic to be over. It's true that the poor are living paycheck-to-paycheck, but that's generally true in normal times as well. In the pandemic, more people have become poor, but by no means has literally everyone become poor. Most people are still working, and the ones who are working, are saving.

Even in normal years, when the economy is good, there are always people saving.
Remember that whatever amount you think is fair for all the lawyers (and their staffs involved) must be adjusted by the risk of losing and spending a lot of time and effort for $0. I'm sure the lawyers still come out ahead, but it's not obvious by how much.
They're doing microservices because they can't make a good monolithic codebase. For some reason, CTOs are very happy to start doing microservices with high level of documentation and rigorous interfaces but completely unwilling to have a well documented and rigorously defined monolith.

I don't fucking get it. It's like one layer of abstraction on top of folders. Instead of breaking up ownership by folders or whatever bullshit - they decide to breakup ownership by github repo.

I'd love to be sold on it otherwise but that's what I've been told directly as the reason for the move to microservices by many companies and what I've seen at my own. Can't do a good job because your business practices suck? Fuck it - microservices, baby!
I think we’ve all made a mistake like this in a production database, just sometimes it hurts more.
PixelCraft: A Pixel Art Editor
PixelCraft is a pixel Art & Animation Creation Tool Built using HTML5 Canvas.
It is a Progressive Web App (PWA) with offline compatibility.
It is mobile-friendly and is very easy to use.
They're overqualified and they applied so you at least had a talk with them, voiced your concerns, and given them a chance to explain, right?

Otherwise, that's kind of part of the problem IMO.
I think the freedom to live is the most fundamental freedom of all – every other freedom is dependent on the freedom to live, because to enjoy any other freedom you first have to be alive.

If capital punishment is justice, why isn't corporal punishment equally so? If justice can be served by killing a person, why can it not also be served by flogging them or cutting off their hand? Do Iran and Saudi Arabia, in that regard, therefore have more justice than America?
Yeah float sort order field + some "DB maintenance" script seems like it would solve this.

To be fair though, the scenario of inserting 38 items in a row in the same location (the fail mode of Approach 2) does sound like something that could happen in one user session, so might need another check of some sort in addition to the weekly check.

Come to think of it, 38 inserts in the same location might be a good test case to add for any sortable data model.
NoSQL didn't support joins (it's much easier to get predictable performance from key lookups), was trivial to shard (because no joins), and supported the common B2C scaling pattern of small amounts of data on millions of users.

With SQL it's easy to write a badly performing query which does lots of inefficient joins in the DB. NoSQL doesn't give you as many tools to offload your computation so it lives in your app instead, where it's easier to scale out (i.e. throw money at the problem).

I'm not getting into schemas vs schemaless (e.g. the cost of migrations when you have billions of rows) or denormalization (e.g. stuffing joined entites into both ends of an association, ugh), etc., there are other pros and cons. But IMO the lack of compute offload is a positive feature of most NoSQL.
How to Live Under Capitalism, According to ‘Stardew Valley’
If you're using KVM within a single organization to compartmentalize VMs, but they are all ultimately administered by the same people and toolchain, the threat is much less.

A lot of the extensive security precautions for qemu are intended for a hosting provider threat model where multiple random tenant customers may be using VMs on the same hypervisor bare metal, in which case you absolutely don't want them to be able to escape the vm or read each others' memory.
I don't quite agree that this is a meaningless or trivial violation of Illinois law, but let's set that aside.

The fact that end users actually get anything more than a few dollars is what's actually shocking to me. Usually it's a case of the lawyers keeping near 80-90% and the rest of the pittance is allocated to administrative overhead, with a few pennies thrown to plaintiffs that weren't actually driving the lawsuit. Or then the payout (if it's big) goes to the state or federal coffers, is another one, with victims seeing no compensation at all. I am actually very genuinely curious about how they managed to get even a $100+ payout to those affected.
> This is also why ARM Chromebooks in "developer mode" display a scary message for several seconds on bootup and make a maximum-volume-level beep to get your attention.

I knew about the warning message, which strikes me as a reasonable security measure, but forcing a max volume sound seems incredibly irritating. What if your computer freezes in the middle of a meeting and you have to reboot?
SPA w/ AngularJS 1.x and Flask on the backend.
It's obvious but always worth noting that no amount of imperfect ocean cleanup tech will work until the source of the problem is fixed.

Plastics entering the ocean is particularly a problem in developing nations where there is no municipal waste disposal that at least concentrates the garbage in sealed landfill (and monitors the leachate).

After decades of indifference, the world is starting to move towards banning single-use plastics, which is a start.
Use EXPLAIN ANALYZE and save yourself some time. It's not that difficult to figure out what the planner is doing and tweak it. I think SQL is the best we got but I'd love to hear what you think is a better alternative.
...you are one of today's lucky 10,000!
On 1), Looked, and yes, you're right, and it seems to have been there from the beginning. I think I may have been thinking of node.js on the Content-length having to be a deliberate action.
A few large companies helped to get it onto the radar of a lot of inexperienced developers, who found how easy it was just to plug away on it. All of that performance nonsense was second fiddle by a long shot for the vast majority of users.
Am I missing something about graphql being in the same metric as redux? They're not remotely in the same domain, are they?
I think your COUNT(*) is just going to be 1 unless you add a GROUP BY to your query.
Exactly right. Each new language thinks they've simplified and solved problems, but in the end they end up having to solve the same old problems that have already been solved decades earlier lots of times.
The politicians are feeding fears to American public one way or another, I do feel that it is quite effective now.
Talking about censorship, I do see technology will play a bigger role in the future. Now Trump is officially banned on multiple platforms. The genie is out of the bottle now. Unless we have a solution to current problem, I am positive censorship will be common in the future.

I can see China may export influence, and will certainly threat Taiwan. That's probably a given. I recommend people read about the history of China to understand why I am so certain about it.
I think you'll find that by uploading them to Facebook, they are Facebook's pictures as well, to a substantial and meaningful degree.
> Sounds like a great backdrop for the next dystopian sci-fi film.

Futurama Season 1 Episode 8, "A Big Piece of Garbage":
https://en.m.wikipedia.org/wiki/A_Big_Piece_of_Garbage
Recently I also had a similar experience, when I was about to call it a day, then discovered that there is another 10%.
I keep going back to JS (and TS) because I can build more in less time. I have little to no mental switching costs between front end and back end, I can share code directly between the two layers, and JSON is native.

I can always add type checking later when and where I need it. Sure, it isn’t high performance, but it is acceptable performance for most anything that the majority of people are doing.
Go's deployment story is pretty great too.
It's putting them at risk with regulators.
Sir that's a 300 IQ move, admirable.
What happens is that the client which doesn't do E2E can't decrypt the message and shows an error. I use fractal and this is what happens there.
Older and experienced perhaps, but you did manage to disprove the other attribute.
We just need a few nuclear powered tunnel borers going. Then earth removal,water, and reinforcement aren't that big of issues. I've often wondered if there aren't already some of them crisscrossing the US already.
I concur doctor dang. And well i blew that in my first YC application. Told how i got 50-100k euro seed, but didn't achieve anything after 1 year, and the review crew has seen me as one of those who just wants money but won't do anything to be worth it ever since, so hasn't considered my 11 applications since then. Heavy sigh