skysight-inc/HackerNews huggingface dataset:
"Focus on making a product people wanna actually use first. If you're lucky enough to get to scale you can work about optimizing it then."

This seems like a false dichotomy. Avoiding obvious performance mistakes such as the ones you mentioned does not require additional focus that would detract from general building. It just requires that you know what you are doing.

If you are the type of person who makes said mistakes, its unlikely you would ever go back and fix them by "focusing" on performance because the issue is simply that you don't know what you don't know. Likely someone else will come along in future and point out your mistakes to you.

Optimization that actually hinders you from building and requires focus is at the very margins and almost no one is going to those levels in typical "application" code.
> But even experienced architects working in familiar domains have great difficulty getting boundaries right at the beginning. By building a monolith first, you can figure out what the right boundaries are, before a microservices design brushes a layer of treacle over them.

I think this is one of the most important points. Often it takes time to figure out what the right boundaries are. Very rarely do you get it right a priori.
> Which is not a success.

That depends on your aims. I announced to family/friends that I was deleting WhatsApp and asked them to install Signal, and they have done, and message me via that.

My aim was to ensure that I could still converse, but not have to use a service with which I had become disenchanted. It isn't my business whether they continue to use WhatsApp or whether they delete it.
Organized DoorDash Drivers’ DeclineNow Strategy Is Driving Up Their Pay
Does anyone know if the terrible framerates in the different games are typical or just an artifact of the way they recorded the video?

Maybe they were just demoing the resolution scaling stuff?
Why the Deep Freeze Caused Texas to Lose Power
2.4M people is 0.03% of the global population. Heart disease alone kills 0.23% of the global population per year.
Shadowbanning: The secret censoring by social media
i’m ready for spring fishing!
And with the money they get they buy up Whatsapp and constantly lied about it to regulators. Good to see where that money is going :/
Great list! I used to read BBC but forgot it for some reason. Thanks for covering newsletters too. Interested in these.
Ask HN: How would you set up a new B2B SaaS?
Hi,

I'm looking to transition from shipping appliances to a cloud offering with some sort of connector for on-prem data queries. An obvious method would be to use site-to-site VPNs and pass relevant queries through them.

Does HN have suggestions on how to properly do this, starting from scratch, in 2021? In a way I'm not looking for the latest, shiniest piece of tech, rather the most easily manageable and simple setup possible.

Thanks!
Bringing up points like the second/third world wages in a conversation about first-world pay will benefit neither first-world workers nor any other worker (which begs the question -- qui bono?).

Their arguments are not even consistent:

1. They claim that it is just about bringing an awareness to the issue.

2. It’s not about stiffing any worker (so-called first-world or otherwise).

3. You shouldn’t be a hypocrite.

4. But in order to be consistent (not to violate (3)) you need to also argue that you yourself shouldn’t be able to, say, work remotely for a Bay Area company and get the same pay as the locals. Therefore (1) can’t be true since you actually have to forfeit the negotiation on the altar of your own relative privilege (see (2)).

Then they close this new article by saying that:

1. We shouldn’t argue against location-based pay.

2. Then they approvingly quote someone who claims that “we should reject the notion of Location-Based Pay”. But that contradicts (1) since this means that you should actively combat the idea of location-based pay.
In my area there are no lockdowns and businesses are thriving. Very thankful to be where I’m at.
People Answer Scientists’ Queries in Real Time While Dreaming
And why would the numbers of any other platform be any better?

TikTok, Clubhouse, Snap - nobody independently verifies their numbers.

It is even used to create virality. Those 1.5mil likes on a TikTok? Why wouldn't TikTok spike that number to get attention?
The userland behavior of POSIX is separate from the C API.

While I haven't read the latest standards, the only way to specifically address the userland is with "POSIX.2" (which is how the wiki does it).

If there is a better way to say it, then the wiki should be updated.
This is cool. Where can we download the entire corpus?
The cataclysm that killed the dinosaurs
Tauri: An Electron alternative written in Rust
Having been raised in a democracy and raising my kids in a dictatorship, I think there's a lot of misunderstanding from both side. People in democracies cannot comprehend how anyone in a dictatorship could live anything else than miserable, and people in dictatorship mostly see people in democracies as hypocrite imperialists who lie to themselves about who truly rules.

The funny thing is that, well, it mostly all depend on how much you care and how corrupt the people in charge are, totally independent of the system. A dictatorship in Singapore works better than a democracy in Mexico for most metrics except anything that will make the power feel it's not in perfect control. The only difference in a dictatorship is the complete insecurity of the leaders who can't fathom that... we'd frigging vote for them would they ask nicely :D And you can completely ignore the party(ies), and live an entirely fulfilling and useful life, in both systems. I wouldn't argue for doing this but I see it all the time from both side and I envy it sometimes.

So this whole debate about censorship, it's really just a debate about insecurity. They don't censor the truth here, they don't censor debate or discussion, they only censor what nobody cares about: critics of the party. So it's a lot less "terrible" or "inhuman" than I thought it would be coming from a democracy. And I think the way to make it change isn't to whine and yell at it as much as you can, but to embrace the competent leaders when they come and give confidence to them we'll give them 10x more power by voting directly for them. And lay the final trap. At least my origin democracy became a democracy when it started doing just that after 2 centuries of massacres and revolts followed by authoritarian counter reactions in a seemingly endless cycle of aggressive "activism". It simply ended when we went to war in mass without being forced and convinced the rulers we'd vote for them anyway as a result, sheeples we are, which we did the first election. Trapped.
Javascript: webpack, gulp, sass, react, node, npm/yarn. The whole frontend ecosystem is consolidating but I would not consider this trivial. Experienced programmers coming into Javascript still stumble over these tools.
"If", I am proposing a hypothetical.
> Facebook's obligation is to the shareholders.

This is the problem. Businesses must take on additional legal responsibilities and not simply say “we care about profits — at the expense of everything else”.

This will require legislation, and perhaps and end to “MBA-culture”, which seems to promote sociopaths to the highest peaks of society.
Flightradar24 Has Been Updated
> This allowed for cycles and lots of other crazy things within the filesystem (as you aren't guaranteed to have a single parent folder).

That doesn't prevent a folder size calculation. It does mean you need to do a graph traversal, and you might need to supplement the feature with a visualization akin to what you get from windirstat/baobab/etc, so users know what's factoring into the calculation.

It also likely means this isn't an instantaneous operation, but again, I look at windirstat/baobab as examples for how to present a UX that's workable.

But that doesn't prevent the feature from being built, and the fact that rclone already has it says to me the gdrive team has simply chosen not to make this functionality available.
I didn't know links in the description of HN posts were clickable. Is this true only for Launch/Show HN? Or maybe because they're a YC company they get special treatment?
What on Earth is this Encryption Scheme?
What the parent comment is trying to say is that we did accomplish the goal of those two weeks. The curve was flattened. Your perspective is a result of not living in the universe were it was a lot worse. This isn't the best time line, but it is one of the better ones.
radio garden,

reddit,

ttrss,

ptp, kg,

leetcode (since I finally realized a lot of my unhappiness at workplace(s) have been due to not being, almost always, interview-ready)
https://www.datascienceweekly.org/

https://hackernewsletter.com/

https://www.lynda.com/allcourses
Please, regulators, hit FB with a gigantic securities fraud lawsuit

They’re not even well connected politically, there is no reason not to curb stomp them
Well mostly:

1. skewed-narrow-debilitating-cringe.com

2. wars-are-good-for-my-stock-portfolio.com

3. jesus-jesus-uber-ales.com

4. raging-neurotic-troll-gangs-everywhere.com
I don't know why people who want a smaller language don't cut out some of the more disastrous portions of C with more modern c++ equivalents that really aren't all that much more complicated if you consider that you usually end up using complicated macros anyway. Something like Misra C++. There are obviously others. Embedded compilers have gotten a lot better at c++ over time as well.
Except for Shopify.

I wonder what the ecological impact of all these dropshippers is.
You don't have to contribute, but if you don't, they'll find someone who will. We like to put the moral responsibility of such things on people who were trying to make a living. I think the power of the powerful is more relevant.

To be honest, I think focusing away from that is an ideological operation. It sounds very inspiring: "you don't have to do this!" Yeah, well, tell that to the people requiring the censorship.
I wonder if they disabled the ability of PCI-Express bus to mirror image the GPU output into your IGP (Internal GPU) so that you could use it as a display card even though it lacks a output port.
Martin has been a character in "enterprise architecture" for a long long time. He has been the inspiration for many convoluted systems. Actually I think he coined the term with his patterns of ... books.
Me too. But I can't complain right now... I've caught a couple of decent largemouth bass already this year, despite the cold. I caught a nice 17" LMB from the Eno River just a couple of days ago. Made my week!
About your first point: the code looks like it will be standard C when you strip the checked parts. So won't this offer a way to develop plain C, but with some guards?

And indeed, it's probably not suitable for refactoring, but if you want to start a driver from scratch?
Much of that wealth has filtered down to the masses, but the vast majority of it has been captured by rent-seekers or first-movers.
It's an older house, in a northern state, so 3 or 4 bigger heating bills a year. No AC, so small summer electric bills.

Definitely not a McMansion, but it could be made quite a bit tighter (the house is not awful, it just gets fairly cold here for 3 months).
Amalgalite – SQLite embedded in a Ruby extension
I'm a bit surprised that NASA doesn't communicate anymore since they landed the rover. I thought other pictures would come today in the morning...
Could you help me find where they controlled for family income in this particular study? The thing most correlated with IQ test score is your parents wealth (and childhood pleasure reading.) If you then say that IQ score is then correlated with income, it's just saying that rich parents have rich children, and laundering that fact through theories about the existence and detection of general intelligence.

You'd want to look for radical changes in income from parents to children, and look for reflections of that in IQ scores.
Absolutely! I am happy to note that the paper does in fact reference How to lie with statistics in the introduction:

> While discussions of misleading graphs are not new (e.g., Huff, 1954), empirical research on their assumed consequences is scattered across fields.

So on the surface, at least, this looks like just another paper belabouring the obvious.
When you see the owner, please tell they to add their address including city and country somewhere. I was wondering where in the world they were located and I couldn't find it anywhere, not even in their FB page.
I've been trying to get buy-in from colleagues to have stricter boundaries between modules but without much success, mainly because I don't fully understand how to do it myself.

Let's say we have 3 different modules, all domains: sales, work, and materials. A customer places an order, someone on the factory floor needs to process it, and they need materials to do it. Materials know what work they are for, and work knows what order it's for (there's probably a better way to do this. This is just an example).

On the frontend, users want to see all the materials for a specific order. You could have a single query in the materials module that joins tables across domains. Is that ok? I guess in this instance the materials module wouldn't be importing from other modules. It does have to know about sales though.

Here's another contrived example. We have a certain material and want to know all the orders that used this material. Since we want orders, it makes sense to me to add this in the sales module. Again, you can perform joins to get the answer, and again this doesn't necessarily involve importing from other modules. Conceptually, though, it just doesn't feel right.
I encountered a similar problem recently while migrating an old app. It modeled IDs as 64-bit BIGINT columns (a decision made in the 2000s) and populated them with MySQL’s UUID_SHORT function. This worked fine for over a decade until we migrated to a different MySQL system and started getting conflicts for IDs already existing or not being able to find a row which had just been inserted.

They’d missed the part that UUID_SHORT() returns an unsigned integer and created the column as the default signed integer. MySQL uses an algorithm where the top n bits are based on the server ID, which worked on the old server which had id=1 and never returned a number where the first bit was 1. The new cluster fortunately always did so the problem was immediately identified, but it was confused by one of those bonus MySQL data-destruction features – the way it silently truncated data meant that it was silently truncating new IDs to the same value but the logged value wasn’t in the database at all.
You very clearly have zero clue what life is like while incarcerated. You should be embarrassed by this comment.
Nothing Biden has said or done has implied he wants to take a hardline approach to COVID restrictions, aside from briefly floating the idea of limited domestic travel. And he made no effort to tie the massive relief package to restrictive state polices. Beyond that, he has limited authority over state and local restrictions.
One of rust's strength is the solid structure. We saw what happened with c and c++, no one is forcing other individuals from forming their own coalition and forking rust. It's a young language, the last thing we need is fragmentation.
One of the worst names ever coined is "global warming". To the layman, it simply means things getting hotter, and that's not what it means at all.

Earth's climate system is an energy matrix, a complex interoperation between co-operating systems, all driven by energy, all "seeking" lower energy states at the expense of other systems. Some of that energy does indeed go into warming (melting ice, sea temperature rise, ...) but a huge chunk just makes these energetic systems more energetic because of a lack of suitable energy sink.

Put a glass beaker full of water on a lab-stirrer, and you're going to get the occasional splash, but replace the 9v battery-driven motor with a Harley Davidson (you know, to force way more energy into the system) and you're going to get a whole lot more splashes. Splashes are bad.

Forcing energy into immense, complex, non-linear dynamical chaotic systems that literally govern our existence on this planet is not a good idea if you want to continue to exist on this planet. All you're doing with "global warming" is giving these systems far more phase-space to explore, and we just don't have the knowledge or experience to predict what some of the solutions those systems can explore will do.

I still feel it ought to have been christened "energy death of the planet" or similar (akin to the heat-death of the universe". Something that the tabloids could grab hold of and point out disasters as we creep, seemingly inexorably, towards a tipping point we may not recover well from.

[sigh]
Did it caught on in a flash?
And people with utopian perceptions of the present tend to have policies that ignore underlying problems until they boil over into revolutions.

Fixating on how great the present is accomplishes nothing and appeals to almost nobody.

A typical feudal serf probably lived better than a hunter-gatherer, but that doesn't mean they shouldn't want to be free, and telling them that things are better is just avoiding the question.

Any analysis which fixates on things being uniformly better or uniformly worse will paint an incoherent and unhelpful picture. A realistic look at things involves looking critically at present and past policy in a nuanced manner, even in areas where things may be better.
Maybe this is not the right place to ask, but can somebody explain why openjsf.org and mozilla.org are listed so high in cf radar's top domains? They both don't show up in the alexa top 500. Is it really just tech people using cloudflare's dns service?
C.r.e.a.m. – How the Wu-Tang Clan taught me to move product
The most secure communication is the communication that doesn't happen. He can be pretty sure his communication channel will not be abused by some big advertising corp.
Daniel here.

Thanks everyone for the positiveness and expression of appreciation I've sensed here. The threat has been reported to the police and I'll move on. I love you all. Now I'll go back and continue working on curl.
> The rule of thumb for me is `thiserror` for libraries, `anyhow` for executables.

And as the executable gets larger and refactored, some of the "executable" code will inevitably become "library" code. What then?
There’s too much funding in the industry. Hilarious to think that if interest rates rose we would have fewer micro service implementations.
Thanks for pointing that out! Still, his comment here doesn't quite match the article and certainly confused me. Is he now suggesting:

void foo(char[] a)

instead of what he originally proposed, which is:

void foo(char a[..])

If so, that does seem cleaner. I still like the overall suggestion.
I agree.

@OP: Repeat after me at least three times: "4 years vesting with 1 year cliff"

Did you verify that the previous business are real? Are the previous partners happy? Are the previous partners real?

Make YOUR lawyer review all the paperwork, and get everything in written.

Imagine the happy path: He is very good, and in 10 years your business is huge and everyone is happy.

Imagine the unhappy path: He is a scammer or a moron, or he has an incompatible vision of the future of the business or whatever. Can you fire him in 3 months? 6 months? Can he fire you? Does he get a fair compensation? Does he get most of your business?

Be sure to understand both scenarios, and perhaps a few intermediate versions.

As a warning, take a look at "A $5000 chair" http://battlehardened.wordpress.com/2012/02/07/a-5000-chair/ HN discussion https://news.ycombinator.com/item?id=3564569 (217 points | Feb 8, 2012 | 60 comments)
an opponent wouldn't be the top wind producer in the country and second in solar.
I wonder if projects like this are the first step towards rewriting projects in Rust?
Europe fit for the Digital Age: new online rules for platforms
It looks reasonable to me as well, I think it could be quite promising for embedded programming on small IOT devices. I prefer a cut down c++ but that isn't always available.
I've read plenty of history, thank you very much. I didn't say everything was bad, I said everyone lived in poverty and regularly worried about starving to death, which is objectively true for most people through most of history. (At least, they lived in what we now consider poverty.)

Until sometime in the last few hundred years, the vast majority of human effort was spent on trying to make sure there was enough food, and famine was far more common than it is today.

The fact that life was so hard does not mean that people didn't find meaning in it or that it was bad by any means, but what's ridiculous to me is to suggest that there is a finite amount of wealth in the world when very obviously there is more today than there was yesterday and who knows how much more than there was a thousand years ago.
A 6pm curfew? In heavily urban parts of the U.S. and perhaps other parts of the world, people don't even get home from work by then, and the virus doesn't pay too much attention to what time it is either.
Why should anybody pay for a http link ... first the news then what about blogs, youtube or tweets ???.

Everybody benefits from the link traffic , Australia is just in the pocketbook of Rupert Murdoch.
> I think there's not that much value created on average simply due to transacting.

I think if you stopped the transacting then the value of the property would deteriorate; the value that a given owner places on the property is variable and in the end must always go to zero when the owner dies. So transacting increases the value compared to not transacting but there are other factors in play with the opposite effect, resulting in little net change in value over time.
> Why should the fake accounts team care about the metrics of the ads team?

Ok, now I understand what you meant. In this case it's because the strategy comes from high up and (putting plausible deniability of individuals like FB's CEO aside) the manager of the "fake accounts" team got some instructions from above to focus "here" not "there", and this just happens to be in the best interest of the "ads" team.

The employees themselves may be individuals but they're there working for the vision of the company and CEO (because it's usually the CEO who sets the course and is aware of all these directives). They're not doing it for the other team, they're doing it because whoever set the strategy decided it's in the best interest of the company.
Elected officials yes. Civil Servants that don't get swapped out with each administration not so much. People like your county water commissioner.
And here I was living under the assumption that psycopg2 was the only option, and probably the biggest reason I was not using pypy. Gotta take a look at pg8000.

In general, I've always liked the idea of pypy, so I'll try to use it more, and not just for performance. Will also donate when I can.
Explore cities in the browser – select time of day and method of transport
I hope so for the sake of the environment. I’ve made decent money in crypto gambling, however I still feel the long term value of Bitcoin is near zero.
I feel better now that we have competent leadership enforcing rules and rushing to get us vaccines. It has made all the world a difference for my mental health knowing that others are now doing what I am doing and we are all pulling our weight. It makes me feel connected again even without going to bars, theaters, vacations, etc. I don't know why that makes all the difference for me but it does.