skysight-inc/HackerNews huggingface dataset:
>Countries are not households, and the world as a whole is not a household either. Heuristics that work for individual households fail when applied to countries or the world.

Actually, this is wrong. If you can borrow money and spend the money in a way that you will get more money in the future then you can take on an infinite amount of debt. This applies to households, small businesses, large businesses and governments.

Households get into trouble because debt can be used to overspend on consumer goods. Nigeria is in this situation. Oil exports made importing food very cheap. Now that oil is worth less they suffer from a trade deficit and the government has to borrow foreign currency so that companies can import food. Inflation is the expected result because you have exceeded the production capacity of your economy.

The ideal choice would be to invest the borrowed money into agriculture and eliminate the deficit.
People obviously have different preferred ways to think, and this holds for programming just like for math or any other cognitive endeavour. Compilers, type systems, REPLs and so on are specifically designed to be thinking aids, and it seems to me that using them to their full extent to augment one’s cognition is a perfectly valid way to write code.
I've been trying to find a solution to bridge rooms across chats to make the change simpler for anyone, and matterbridge[^1] does a lovely job - except for Signal.

Moxie made it stupidly hard to connect to Signal with anything that's not the official app, which is definitely a hostile act towards anyone who doesn't want to have the Signal app on their phone - the Signal desktop software needs the mobile app to work:

"To use the Signal desktop app, Signal must first be installed on your phone."

https://signal.org/download/

I definitely have my issues with Signal. That said, it's simple, and works reasonably well, it's just not a nice system at all from the dev/libre perspective.

[^1]: https://github.com/42wim/matterbridge/
> I honestly can't think of a single reason why anyone would choose to use one.

In the case of SQLAlchemy (referenced in the article), many people use it as a database connection abstraction rather than an ORM. It's kinda the equivalent of "ODBC" for certain Python libraries like Pandas.

For instance, in Pandas you can write your dataframe to the database by going `df.to_sql(tblname, sqlachemycon)` where sqlalchemycon is the connection instance to any database that SQLAlchemy supports.

https://pandas.pydata.org/pandas-docs/version/0.23.4/generat...

I use SQLAlchemy for this purpose alone and write straight up SQL. I've never used the ORM parts of SQLAlchemy.
> So yeah, if mining is damaging the planet and if we can assess the damage quantitatively and link it to mining without a doubt, it should have to be taxed accordingly.

Replace 'mining' with 'anything' and I fully understand as I'd said.

If I'm running 3,000 watts worth of GPUs at home to heat my house, and you're running 3,000 watts worth of space heaters at your house, I'm certainly not damaging the environment anymore than you are.

We should both pay the FULL cost of the toll the generation of the required electricity cost to run our equipment. Why I should pay taxes above and beyond what I already do because my heater makes money is where you totally loose me.
Even if the conclusion is that life today is better than in the past, so what? Congratulations. Their lives were different than their predecessors too. Is the whole point to self-congratulate, or should we recognize and address today's problems?
TinyEMU (Fabrice Bellard)
I keep warning small time (ie most) FB page owners who advertise on FB to be very very careful as they are being subjected to a beefed up version of the psychological manipulation that regular users face as they, not the regular users, are the main customers.

Facebooks corporate incentive is to get you to FEEL like your getting good value out of advertising on Facebook and to get you addicted to doing it.

Not to actually deliver results.

So don't trust any metric they show you, because even if its not a total fabrication it's still presented in a way to deceive you to think its better than it is.

Always monitor your ROI and always calculate it using your truly end goal (sales, or in the case of civil society some sort engagement off Facebook that's tightly bound to you mission). Likes, shares, comments and reach should NEVER be the goal. Even if FBs interface is trying to convince you otherwise.
I am aware. Why do these news corporations not just write an appropriate robots.txt so Google can't take their content? Is it maybe because they want their cake AND eat it too?
True, but it's very explicit, and easy to audit for.
Inflating user metrics is positive for manipulating advertisers and for manipulating investors both. So far, the regulatory agencies have been willing to look the other way despite the potentially lucrative penalties it could extract from Facebook by policing this practice.
> That doesn't feel simple.

What doesn't feel simple from the user perspective?

Get https://play.google.com/store/apps/details?id=im.blabber.mes... , start it, follow the screen.

Or https://gajim.org/download/ for desktop, register on first run.

Or https://siskin.im/ for iOS, register on first run.

If that's not simple enough, we need to nuke the whole smartphone scene.

+ the steps above were _my_ steps, the steps of an XMPP server provider, not the steps of a user.
Sometimes middlemen serve a useful purpose.

For example, I like grocery stores because they deal with farmers and food distribution and save me from driving out to source my own produce from growers.

Sometimes they... might not. It's all relative the cut they demand.

So here, are food delivery companies worth ~30% of cost?

Yes, all sort of anecdotes are possible to drum up in this situation. Long term, across the entire food industry, can a ~30% cost be absorbed? Somebody is paying that, you or the restaurant, because it sure as heck isn't the delivery company.

Will the service provided by delivery (and advertising/marketing) increase volume to offset ~30%?

I don't think so, which means that because of their oh-so-useful help, means prices go up. This is needed because either customers pay more, restaurants make less, or somehow the delivery/advertising/marketing company drives more volume so they can turn around and immediately take that as their cut.

If the customers don't like higher prices, they'll stop spending. If the restaurants don't make profit after this new expense, they'll shut down.
“Safer at home” was commonly used in my state.
Life probably would have been much easier for you if you had just used a Matrix server.
> is their concern, not mine.

Well. This is self-centered to me. I don't want to buy anything from anyone who doesn't treat people with dignity.
> The reason is that sure, for your first 10 basic select queries, the ORM saved you half an hour

Maybe we work in very different fields, but "basic select queries" makes up 90% of what I need to fetch from the database.

If I'm working on a forum and I want to load user 123, with all their posts, all the awards each post has, and the count of friends the user has, with Eloquent (Laravel's ORM), I could do:

`User::with('posts.awards')->withCount('friends')->findOrFail(123);`

That would return me a User model, with a collection "posts" containing a list of Post models, each with a collection "awards" of Award models, and a field `friends_count` with the number of friends. It would run three queries: one to fetch the user, one to fetch the posts, and one to fetch the awards. Depending on how I have configured my models, I can have things like dates automatically hydrated to DateTime objects.

Compare that to plain SQL queries; I would have to fetch the users, including manually writing the subquery for the friend count. Once I had those users I would then have to fetch the posts, and then again for the awards. If I want them in a hierarchy like the ORM example gives me, I then need to loop through each set of records and manually stitch them together. Not difficult, but super tedious.

Sure a complicated join is better done with as little magic as possible, but Eloquent exposes functions for adding subselects, joins, etc. in a way that just reads like SQL (and maps 1:1 underneath).
Integer ID's are always a bad thing.

Yes, you should be sorting things by created_at. Having another index is not a bad thing.

> The weird id mixed up with index problem from the article is something which never happened to me ever in over 10 years of web development.

How do you know? It's a remarkably difficult bug to detect.
The niche that Whatsapp filled and which brought it to massive adoption was not the same as Skype's. In South America (and Asia, too, if I understand correctly), Whatsapp was a way to avoid SMS charges on your mobile phone. Because now it is the only way many acquaintances and businesses can be contacted, it will remain entrenched even with this hostile new privacy policy.

Skype, on the other hand, was about audio- or videoconferencing from a computer, and so it wasn’t quite as much a part of the ordinary person's life as Whatsapp.
And Ctrl+Alt+Z is revert changes. Either the whole (or selected) file, or the current block you're in. I use it all the time.
The fact that this email could plausibly be someone with schizophrenia or an actual defense contractor speaks volumes about the latter’s reputation.
Facebook can get much more than £1/year ARPU from Whatsapp being privacy-invasive, so charging a price like that isn't competitive. We don't have good numbers from Whatsapp alone, but Facebook earns more than 150 $/year for each US/Canada user on average; and users who are willing to pay for such services probably are worth more than average, so an adequate replacement for invasive ad targeting would be quite a large monthly fee.
> ... introduces a problem of premature commitment, which forces the developer to decide to save an intermediate version (or not to save it) before they have the information needed to make the decision

Why is that a problem? Just commit, as many times as you want, to a throwaway branch.
This doesn't feel like it translates into anything actionable though.

For example: I've never had a problem with Python's approach of defaulting to exception handling because it seems to bridge that gap nicely: either you can handle it in your local catch block, or you want to send it higher up to see if something with hopefully more context knows what to do.

Most error handling where "error's are values" is still ultimately doing this exact thing somehow it's just a question of with what implementation.
isn't Sweden proposing to shut down businesses, limiting time spent at some places and adding new rules regarding gatherings and public event?

Thats at least I gather from a Norwegian news site, but my Norwegian is not up to snuff.
Im not sure about facebook. The article refers to how FB grabs "snippets" of content from websites. But I was under the impression that what FB does is grab certain info in META tags in order to create previews. As a content creator you need to explicitly write that html to allow sites like facebook to render a preview.
Managing People: Avoid the Reputation Trap
No-Code Needs Code
Microsoft?

They started with the OS, branched to languages, added Office (against much better competitors), started to control the browser and then antitrust happened.
you are probably thinking of doubling? like in the chess & rice story? see: https://en.wikipedia.org/wiki/Sissa_(mythical_brahmin) which leads to https://en.wikipedia.org/wiki/Wheat_and_chessboard_problem
My guess would be abuse. If you check ebay there's many offers of "lifetime unlimited google drive" accounts that use google education. A similar exploit existed for gsuite. If you bought a 5 (or 10?) seat license then your entire organization would get unlimited storage. That was discontinued as well.
I'm no lisper but I think arguments are always defined in an array?
Yes several people who had faucets dripping still had pipes burst. Mine were the first to burst and the friend who came to help me out later called me to say his burst later in the day. This is somebody who lived in Indiana for a while and is familiar with freezing temperatures and lives in a newer construction (house built around 2010)

It seems like you lost power around 8 hours and your house didn't lose as much heat as others
This seems like a common practice for startups, at least in my experience. I've worked at companies that boast they have hundreds of thousands of users to their investors and on their sign up pages, but in actuality, they have less than a thousand active users. It's deceptive. Most users were never active to begin with, yet outwardly they stretch the truth. Yes, you may have a high user row count in the database, and you may also have a high spam user count, but that means nothing and they hide it.
Dont you think that maybe you are taking things a bit far if you are losing lots of friends over it? What's your threat model?

You can bridge a number of these services if you want. Or use a locked down device for them. FAANG privacy crap causing you to lose friends is kinda letting them win a bit too much.
or Google Talk and Hangout
> was driven by a conscious desire to optimize for the needs of manufacturing.

Wasn't it so Texans could continue to live in the fantasy world that they could secede from the US any time they wanted?
Wayland on Wine: A First Update
It’s inarguably self-centered but entirely practical. I can’t review the employee handbook, employee promoter score, supply chain sustainability reports, and corporate social responsibility policies of everyone I order so much as an $8 pizza from.
Probably. If you toss them out, they don’t know. With digital ads, they supposedly have a way to know if you clicked (or even bought something after clicking).
I would be interested in non creepy or elitist ways to convince your colleagues to migrate to another platform. People who do not care about privacy and all.

I thought I was free from Whatsuck but then I've changed jobs and the only way that I can keep in touch with my remote team outside of the corporate communicators which are separated by a 2FA Citrix Workspace login is through WhatsApp. So WhatsApp is like a lifeline where you can send a message stating that you've dropped from the Teams meeting because your power went down or your computer crashed.
UUID collision is not possible in practice. You can absolutely code in the absolute knowledge that your application will not generate 2 identical UUID's ever. The odds are astronomical. You have bigger concerns.

And yes, every DB backend has solved collision. But as I said, it's useful to be able to generate ID's in code sometimes. This is possible with UUID's and not possible with integers.
It's a Clojure-ism. The arguments are passed as a vector.

https://clojure.org/guides/learn/functions
> Living in a flat as a single person in the big exciting city? Literally everything you do has been illegal or restricted in some form for almost a year now.

And unsafe, too. I'm not not going to restaurants because I'm not allowed to (they're actually opening back up a little bit here now), but because under the present circumstances it's not safe to do so.
My Late Annual Review
Offline Speech Recognition with Flutter (iOS/Android)
Keep in mind this article was written in 2015.
Actually, they started with languages, specifically BASIC, and then FORTRAN.
Creating dynamic sourcing pipelines in Airflow: Introduction and Overview
Has anyone worked with BlueSpec https://github.com/B-Lang-org/bsc How does it compare to nMigen. Recently heard oxide computer folks talking about it and they were all gungon about it.
There is history delivery on first connect on Matrix whenever I set-up a new device.

I don't think XMPP has any future. It's a hassle to set-up and I have yet to see a really modern looking client. Blabber does not fit that at all.
> But it seems like very few large advertisers would move some budget off Facebook if potential reach was 10% lower. Very few advertiser’s budgets are constrained by audience size.

Why wouldn't an advertiser invest less in a campaign if it reached less people? That's why companies are willing to pay so much more for a superbowl ad than a regular TV ad, because they have more reach.

The problem I think is that a lot of advertisers, especially smaller ones, wouldn't want to risk pissing Facebook off with a lawsuit. Plus even if Facebook misleads advertisers in a way that results in them spending more money than they otherwise would...the fact is, Facebook could likely double or triple their current prices and those same advertisers would still pay it because they have no choice.
Before Fortnite, There Was ZZT: Meet Epic’s First Game
You can read a preprint of this article here:

https://psyarxiv.com/7aq4h/
Most common architecture for SAAS apps is a frontend served from cdn + frontends served by app stores, an api server behind app load balancer (e.g nginx), a database cluster, and a bunch of async long lived cron jobs + on demand jobs.

In that architecture you don’t need that many Microservices. The api server is prolly the most important bit and can be served as a monolith.

Many 10B+ companies use this architecture. It works well and does the job. Mono/Microservices is really about separation of concerns. Separation of concerns mostly around what you want to deploy as a unit, redundancy and what should be scaled as a unit.

Agree with author. Start with one chunk, and split when you feel the pain and need that separation of concern. Fewer pieces are easier to reason about.
LOL, no. I've been trying to run my Matrix server for a while without serious hiccups, with audio/video support, federation, irc appservice, and it's a clusterf*ck.

Plus if you cared to read the whole entry, I have the reason there why not matrix.
What I’ve noticed is that cost of housing, landscaping, and home repairs are getting incredibly expensive. Maybe they always were. But practically everything else is really cheap. You can get all your entertainment from library books and movies or cheap monthly subscriptions. Food and clothing are inexpensive if you aren’t looking for the best. Transportation is not expensive.

I think people will continue working 40 hours a week until they can afford a decent house. At least that’s what I would do. It’s practically my retirement plan, work until I can afford a house then find a low stress fulfilling job to work part time and explore my hobbies. Hopefully AI can solve this problem next.
It could also just be a problem that appears in production, where there is no way to add breakpoints after the fact (even more so if this only occurs very rarely).
In 2016 WhatsApp let users opt-out of Facebook data sharing with third parties by just checking a box in Account Settings [1]. Most of my friends and family did opt-out. Now, as far as I understand, they are being "forced to opt-in" by accepting the new ToS and Privacy Policy or, otherwise, getting locked out.

1 - https://techcrunch.com/2016/08/25/whatsapp-to-share-user-dat...
> There is history delivery on first connect on Matrix whenever I set-up a new device.

Not for encrypted rooms.

--

EDIT: XMPP has https://xmpp.org/extensions/xep-0313.html which can deliver history for the clients that support it. I just haven't set it up.
>I think every person with privilege likely contributes to harming other demographics in ways they don't fully understand.

I think you should focus on yourself. Like I said, I don't know what's going on in your heart-of-hearts, but you do, and you see hate for others in there. I don't understand why you're like that. That's something you need to work on before you project what's inside you onto others. And let me tell you: The hate you feel for others not like you, is not normal.

>On my worst day I was white, cis, male, straight, and healthy.

Outside of health, who says those are the most important characteristics? What Scientific peer-review data says that?

None of those things intrinsically confer benefits. A poor white kid from a broken home isn't going to get any benefits in life just because he's white.

It's such an evil thing that is done where you single out children of a specific race who come, for example, from poverty and say to them: you're privileged because you're white.

What a terrible and evil philosophy you follow.

Study after study shows that success in life in modern democracies are dominated by factors other than things like race and gender. Things like:

- Height

- Attractiveness

- Age

- Immigration status

- Sense of Humor

- Verbal skill.

- Ingenuity

- Leadership qualities

- Sociability

- Upbringing

- Class status

- Imagination

- Cleverness

- Intelligence

- Education

- Athletic ability

all provide their own benefits and privileges. Many of those things I listed are a product of genetics and environment. I didn't choose to come to this country as 10 year old with parents who had no education, and 0 English, who then worked multiple blue-collar jobs, to then have you and others like you just see nothing but my skin color and say that everything was handed to me and my family because YOU had easy in life. Thanks but no thanks. And of course, the idea that only certain kinds of race or certain kinds of gender provide a benefit in very situation is insanity.

So please, you and I may share skin color hue but we are nothing alike and you don't know anything about me, so stop pretending you do.
Slow Down and Write Better Emails
Do you have links to good resources for learning C and the communities that would be more welcoming?
We don't entirely have a mechanistic explanation for gravity either.
Someone should paste Zuckerberg's face in the middle of the logo whenever they see one of those.
Perhaps more screenplay than solution for this particular problem, but this illuminates a reason organized crime has existed for many years. You have an underserved, unprotected group being abused by a more powerful group with huge financial backing that can twist existing laws to further the abuse. Organized crime groups step into the vacuum and build a powerful backing, including support of non-criminals in the abused group.

Personally I'm surprised you don't hear of hacker groups that protect websites and social media properties of the downtrodden. GoodFellas meets Social Network.
I second this: it's because C is a simple language. Modern languages are a cluster-f*k of features and there are still opportunities to code in security holes. Frankly, if you were to boil down the "unsafe" C vulnerabilities it is a small class of exploits, suitable for automated detection.

The interesting thing about C is that it is one of the few languages which has been able to survive without massive changes throughout the years. All these hyped-up modern languages are in flux ALL THE TIME.
The expected value is a fine way of looking at it. There’s other ways that favor the startup though. Working at SV startups your whole working life will still probably result in retiring very comfortably, with some fraction of the money your friend who worked at established companies their whole life.

At the midrange of the preference curve that’s a problem, but you’re still likely in the same order of magnitude of wealth. The difference is if you have a strong desire to have an order of magnitude more wealth, you often can’t do that in established companies only. At the least you can bounce into startups for the executive and leadership experience then bounce back to established companies at a managerial role, but by then you probably have the experience and connections to make a startup with its huge potential payoffs more likely.

If retirement comfort is what you seek, you will likely get reach that at startups too, but you will likely only see those massive payoffs with startups.
Fancier ORMs will return a proxy for foo.user that doesn’t issue a query until the user asks for a property on it. And it can return user.id without querying.
Do you have links for learning C that you think are good?