skysight-inc/HackerNews huggingface dataset:
My job isn't to write a program that shares objects between threads. My job is to write a program that responds to web requests or stores user data or responds to queries or checks the state of certain services.

In some languages and frameworks, I might need to share an object between threads to do this efficiently. In Rust there are other options, e.g. using Arc or a reference or moving the object into a task. In my years of programming Rust I've never wanted to share some object on a thread, because there are frameworks and libraries (Actix-Web, Tokio, Rayon, async-std, others) that give me a higher-level abstraction for doing this.

I can understand using this as a point of comparison if you're not very familiar with the language. But I have to confess that in my three years of working with Rust, I've neer had to worry about threads. I've been able to use a library to solve my concurrency or parallelism problems so that I can go back to worrying about design or reliability concerns.

This won't be everyone's perspective, after all, someone has to write those libraries. But it is mine, and I think users of such libraries far outnumber authors of such libraries.
I enjoy using the SQLAlchemy ORM. It makes it trivial to divide a query in several parts that you can mix and match.

In my experience, features such as a search engine that supports many filters are much easier to maintain if they are written with an ORM rather than with raw SQL. I don't have a preference for simple queries.

On the other hand, I find MongoDB's query language and its popular Python ORMs (Pymongo and Mongoengine) painful to work with.
Network latency would be a dealbreaker for me here. I’ve tried this style of development but it’s tough to keep a local and remote directory sync’d at a high frequency with low latency.

I do think this should be the goal of all of us though. I’m slowly shifting more workloads off my Mac and to local lab boxes.

I’d actually like to build a product in this space but I’m still trying to crack the latency nut.
>Is youtube really worth it at this point?

I'm not sure there are many video platforms with as much reach as youtube has.

I'll admit as a user I often ignore video links that aren't youtube because of the kludgy experiences on other video sites...
We already have too much code that "can be made safe later", but never is.
Is it considered valuable? I heard that people on deathbed typically say they should have gone for more friendship and less money/power, but I don't see that many people valuing that perspective. :-)
Radiation in the sea can be positively measured. What the report claims is like somebody claiming that there is not radiation in the sea because they couldn't found it in a sample. Absence of evidence is not evidence of absence.

But the worse is that the report authors seem to be very, very carefully, circumnavigating the evidence, that is not so difficult to find in fact.

An example that fish eaters (AKA 100% of Japanese people) could find interesting:

https://link.springer.com/content/pdf/10.1007%2F978-4-431-55...
I fired a recruiter looking for jobs for me once when he created a .doc version of my resume (unmodified from what had been in the PDF, but it looked like _crap_). I told him that was completely unprofessional and I couldn’t trust him to find jobs that suited my targets or skillsets.

Now, I tell people to look at my LinkedIn profile as that is the only resume that I keep. I’ll download the PDF of it if they want, but I haven’t maintained an actual resume in at least ten years.
Except that China is actually brutally racist, and openly so.

I loathe woke thinking, but I wouldn't deny that racism is a problem in the US. Paradoxically, I think you could safely say that China is a Han Supremacist state.

Those that are not Han, are a threat to Han Supremacy and are literally thrown in prison or directly suppressed.

I think continental Europe might be a good place to get educated. There is some self-awareness, but it's not overrun with ideologues either.
Ending and honoring our volunteer Contributor program
Tax treaties are not simple. Doesn't mean you won't get double taxed
i sleep fine at night with the amount of JS i ship on my personal site lol. i'm sympathetic to alex russell's perf complaints, but JS bulimia isn't healthy either.
If it were the opposite they would call it systemic sexism =p
I sympathize. As I said in another comment, the issue isn't really caused by async, IMO. It's caused by the complicated and leaky abstraction of traits. I'd be willing to bet that your difficulties were more around dealing with the interactions of async + traits than if you had just written a bunch of async functions and then ran them inside an async main (via tokio's tokio::main attribute).

Just a guess.
Do people that have escaped still read hacker news?
Have NFTs Peaked?
This is a serious question. When things like the Art Basel Duct Tape Banana are being NFT-ified and given standalone websites, it seems like things are going downhill. Has anybody else seen something that made them thing NFTs are on the way out?
I meant the callback based approach described in the article, for example take this line from it:

>Unfortunately, this approach nevertheless forces allocation at almost every point of future composition, and often imposes dynamic dispatch, despite our best efforts to avoid such overhead.

It clearly does not apply to the model which I've described earlier.

Of course, the described FSM state transition functions can be rightfully called callbacks, which adds a certain amount of confusion.

I can agree with the argument that a proper async Drop can not be implemented in Rust 1.0, so we have to settle with a compromise solution. Same with proper self-referential structs vs Pin. But I would like to see this argument to be explicitly stated with sufficient backing of the impossibility statements.
I haven't "discovered" any new channels from youtube in years. Reddit is better at steering me toward content that I want to consume.
Vector Remap Language – Fast and Safe Observability Processing
You write to the database, and have a separate notification-sender that feeds on the database change stream, sends out notifications, and keeps track of which notifications it has sent. If that process crashes, it will re-send one or maybe a few notifications.
New Kind of Space Explosion Reveals the Birth of a Black Hole
Developer advocacy
Technical customer account management
Technical product marketing
Technical product support

If you like a more social aspect to your role, customer account management is a good option.

If you have an interest in marketing, Dev Advocacy/devrel/tech evangelism/dev marketing or tech product marketing are a great fit.

Curious to know what other did? Assuming you stayed within the tech space.
Do you have any idea on how I could use your code to parse tables which have colored cells but no text?
I found that Rails' way of doing data access -- which completely hides the SQL from you -- to be really confusing, but people seem to absolutely love it once they get it under their feet. I prefer to write SQL/sprocs. What's the consensus these days?
Great comment, could you expand on "Someone broke down to me why china is the way it is from an informed and educated position in a way I found mostly compelling"?
Development project docs: my favorite templates
Depends on the tax treaty. With Canada and the US it is for example.

So, the Canadian creator complaining should in theory be able to file a W-8BEN form with youtube showing Canadian beneficial ownership of the channel, and then the tax rate will be 0% due to the US Canada tax treaty. The creator will likely need an ITIN as well.

Not a lawyer. Just have done this for royalties via amazon’s printing company. Amazon otherwise would have had to withhold 15% of the income.
C# and Java the language are similar enough; the ecosystems are very different. A C# developer would mostly be expecting to develop Windows programs or possibly Windows server / IIS applications. A Java developer could be working on all kinds of different things.
> Please, tone down your replies.

You cannot literally make extremely inflammatory comments about people's work, and accuse them of all sorts of things, and then get upset when they are mad about it. You've made a bunch of very serious accusations on multiple people's hard work, with no evidence, and with arguments that are shaky at best, on one of the largest and most influential forums in the world.

I mean, you can get mad about it, but I don't think it's right.
> Won't every other country now demand that they do the same for them?

What other countries have major services like YouTube that pay their content creators in the US where they could 'do the same for them'?
1. "by the Chinese authorities". So UN is not "saying" this, they are just relaying information and clearly marking it as such.

2. "Preliminary investigations..." so this was not presented as a definitive conclusion, just as preliminary findings...by someone else.

3. "... have found no clear evidence of human-to-human transmission..." This is not "there is no transmission" or even "found evidence that there is no transmission" and it's not even "have found no evidence for", but "have found no clear evidence for"

So basically every word of your post is a mis-representation of the original tweet.
> Legend: Servers down: 0 1+ 4+ 6+ 8+ 10+ 15+

If they don't have any servers anymore, how can they be down ;)
That’s unrelated to vinyl vs cds
Rocket Lab will directly challenge SpaceX with its proposed Neutron launcher
Youtube's video on the topic:

https://www.youtube.com/watch?v=SeKEtf8A3FU

Support page that goes into detail:

https://support.google.com/youtube/thread/101463270?hl=en
Analytical review blockchain freeton and other
FreeTON (PoS)-a multisystem blockchain with a token and protocol from Telegram (recall that Telegram founder Pavel Durov announced that the Telegram Open Network (TON) blockchain platform will not eventually be launched) Uses the verification principle of Byzantine warlords: transactions agree with 2/3 validators. Transactions on TON (Crystal) are made according to the scheme: market - user - wallet - transaction - decision. Popular transactions are: instant transfer without conversion; voting by "jury"; consensus.
Pros: instant transfers, low energy consumption and reliability (self-checked at block creation)
Cons: it has not "conquered" the market yet.

Ethereum (PoW) for peer-to-peer (P2P), overlay ("built on top of WWW") networks. Nodes provide calculations, transactions. Ethereum implements the internal protocol and overlay service mechanism Kademlia DHT. Having established peer-to-peer connections, nodes exchange over encrypted and authenticated TCP connections. The client stores information in a long-term disk base or in a short-term table of segments and records about them.
Pros: one of the most popular in the world
Cons: not scalable

New Economy Movement consensus - A platform with the loud name "New Economy Movement" handles up to 4,000 transactions/sec. Instead of mining - harvesting (all tokens are already launched, users are only rewarded for transactions). The consensus mechanism is Proof-of-Importance class, prioritized based on cash tokens, amount transferred, user's past activity. The system solves its own blockchain problems on its own network.
Pros: popular among crypto-giants.
Cons: It involves a large network cluster.

Hyperledger Fabric consensus - has flexible access, so it's attractive for business. Authorization, role access rights will be required: SMART contract execution, block creation, transaction queue, copy operation, adding valid blocks, transaction validation. Pros: security. Cons: completely centralized
We are bombarded from fiction with the trope of someone making peace before dying. The fear my mother had just before dying from cancer, that I’ll never forget. It gives me shivers and anxiety more than a decade afterwards.
Aye, same. No "regurts" as the bad tattoo says, and glad I did it, but the main takeaway for me was "the grass is greener...". Taught me to appreciate what we have and what we don't.

And I guess we all need to learn that lesson eventually. I just wish I learned that in, say, Los Angeles or Denver or something, and not in a place that gave me bedbugs.
> sure aren't Java and c# the same thing?

I wouldn't have gotten my first .net job without this line of thought. Sure enough, I picked up enough c# to be effective in the first week.
ninja specifically handles includes automatically.

Anyway, not having any other automagical behavior and hidden rules and the fact that it can do incremental and correct job re-runs even when the rules change is exactly why I like to use ninja.

Here's one such use case, maybe not the cleanest:

https://megous.com/git/p-boot/tree/configure.php

I especially love it in projects involving many different compilers/architectures/sdks at once (like when doing low level embedded programming), where things like meson or autotools or arcane Makefile hacks become harder to stomach.
I would caution that we biologists study more than life, but also its environment! So, the abiotic conditions of soil, the function of enzymes (including proton pumps :D), and even the culture of humans (and dolphins and orangutans, etc.).

It's true that life can't really be defined by some essentialist statement (i.e. it has properties that neatly divide X from not-X), and the family resemblance approach works better (things like rabbits and viruses and oaks and cyanobacteria), even though it's not as satisfying. Mind, it's OK to just tell kids in biology classes a more convenient definition.
I'm a fan of these NUCs too and I use one with Kodi for my media setup. The only thing I'd mention that I didn't see in the article is that not all NUCs support linux out of the box. In fact, I had to update the Bios due to a bug where linux would periodically freeze. Afterwards, it works great though.
Even during times of black chattel slavery, when native Americans were forcibly removed from their lands, and Asians and Middle Easterners were suing in court to be recognized as white, so they could enjoy the benefits of first class citizenship?
It's better to pick a region (or if in the West, maybe a state) and just visit that. Many foreigners don't realize how big the US really is. Doing cross-country roadtrips is a great way to suck up time doing nothing but driving.

Do something like visit New England for a month and stay in a new state each week.
There is sqlx for that: https://github.com/jmoiron/sqlx
Some double taxation treaties only apply to salary/wage income and not self-employed (which YouTube would count as).
I am still honestly confused by the whole "OpEx > CapEx" thing. Apparently for some people this is worth paying over double the price when you look at things on an annualized basis, even for an established business that's got a very stable environment?
There have been a handful of talks at computer security conferences talking about setting up physical traps in server chassis (such as this one: https://www.youtube.com/watch?v=XrzIjxO8MOs). Since seeing those I've been waiting for some idiot to try something like that in a physical server and burn down a data center.

There is NO evidence that is what happened here, and I don't think OVH allows customers to bring their own equipment making even less likely. Still I wait and hope to hear a root cause from this one.
Are you talking about US-based top global management consulting firms and actual strategy/management consultant roles (since top consulting firms often do other things like technology, tax/accounting, etc)? I guess that's possible but I suspect that in that case, it's largely because roles in these offices aren't quite desirable from a comp or a career track perspective. The reason why management consulting is hard to get into is because it pays well and it promises a career track where you can get to a 7-figure income and potentially go directly into the upper management of F500 companies afterwards without working your way from the bottom. If that's not a realistic path from a satellite office (I have no idea if it is or not), then it wouldn't have the same draw. If it is though, I mean it has to be competitive, right?
Maybe a fridge doesn't need software? I don't hear consumers clamouring for it.
I'm sitting at my work machine. You have seen an interesting video on ActivityPub and you want to suggest I watch it. In the ActivityPub world, what is the equivalent to the following set of steps?

1. You send me a Youtube URL
2. I load that page in my browser (Chrome, Firefox, Safari, Android, iPhone, Desktop, anything)
3. I watch the video
“Success” can be subjective. To some, it means being the richest, or the best in your field. To others, it’s the pursuit of knowledge and experience itself.

IMHO, there’s far too much compartmentalization in today’s world, and we’re lacking Carl Sagan types who can see threads running through many different fields.

But there are fields where generalists can thrive. Take filmmaking. By nature, it involves story, sound, cinematography, etc. Even just a good story requires some life experience, or at least exposure to a wide range of subjects.

You have to ask whether being the 1% elite of your field is your goal. You can still be much better than average, and pursue a wide variety of interests. Some see those other interests as distractions. But they can wind up being the thing that distinguishes you from everyone else in your field - or gives you the moment of insight that comes from left field.

Einstein didn’t give up the violin and say, “what’s the point?” or, “I need to focus 100% on science.” He drew on it, and it gave his life some balance. Perhaps some of his insights came as a result of that diversion.
I use everyone's favorite punching bag - Hibernate - a lot. I write all my queries in... SQL. It works pretty well this way.

The "ORM/SQL dichotomy" is greatly exaggerated.
Green Robots for Sustainability
I'm one of the analysts causing issues for the OP, but a common example to me of something that's cake in a "real" language and frustrating in sql (ms in my case) is expanding a function to take a dynamic amount of params.

myFun param =

for each param do...

Something like that has given me WAY more headaches than i ever expected, and that's before i saw vendor code (for systems that are used by millions) handling business logic in the stored proc with a 70 case switch statement...
New Benchmarks Show Postgres Dominating MongoDB in Varied Workloads
Kodi seems very solid. What do you use for storage though? Can the NUC host a large SSD/HDD?
They're also massively contingent on who they're speaking to:

- Would someone declare their most heartfelt thoughts to a random nurse?
- Would someone who isn't really a people person bother expressing their wisdom to another person?
I agree the GP was cruel and demeaning and at least partly wrong.

But it's been asked for someone to describe the specific changes in their worldview that resulted from living abroad (and specifically the ones that could not have been garnered by other means).

If it's about gaining understanding, what specifically have you come to understand that has been really valuable to you?

Is it like "After seeing first-hand the way asian countries do urban planning and public transportation I have a much better foundation for forming opinions about the way things should be done in the USA"?

Or "After spending a month living and eating as the Italians do, I had an epiphany about how to live a healthy, meaningful life and when I got back to the states I completely rearranged my method going through life, converting to a diet of wine and fish and making lots of new kinds of social connections that I otherwise would not have"?

Those (pretend) experiences sound profound, meaningful, and worthwhile.

It's not totally clear though that the benefits couldn't be had without living abroad by a sufficiently imaginative person with the correct literary diet etc. Then again, it would be the height of arrogance to think oneself so imaginative as to be able to comprehend every important facet of human culture from afar.
ninja is normal part of Linux distros. So at least there you don't have to worry.
I take lots of photos, but mostly as part of the experience not being the experience. I'm not gonna waste time setting up for selfies or clearing out people to get a group photo or any nonsense like that - most of my pictures will never have me in it - but they're photos that show my take on the history, culture, scenery and beauty of the area that i'm experiencing and I love to share that with friends/family people who may not be able to do it.

I travel for curiosity - so photography helps me capture it in a way that i can go back and study the history, find other photos, see how its changed, connect the dots, fill in timelines - learn more and discover more that i may not have been able to do with being consumed in being there in the moment.

The only selfie i ever took was me standing on top of a 14er... which was a huge accomplishment for me at the time but i never share that with anyone but my family - otherwise they'd never believe it :)

never understood the fascination with NOT taking photos but also i've never understood those who take photos to make them the center of attention either (the instagrammers)
You may have been immersed in American culture, but has any of it perrmeated you, or have you stayed within a Chinese bubble, in America, as your friends seems to have? I think that's a totally different thing.
Great question. We built the app in Native Swift, with UIKit, since when we started SwiftUI was not yet available.

Since the release of iOS 13, we've built all of our new screens in SwiftUI, so we're now more than 50% on the new framework.

The Android application is in Kotlin
How to Fund Your Open Source Project: A Talk with Marijn Haverbeke – Part 2
That's the case for me. I'm Okay with the Java language, but everything else about it's ecosystem is different from the .net world.
> It is curious--curious that physical courage should be so common in the world, and moral courage so rare.

— Mark Twain in Eruption
(This is purely anecdata.)

I love music so pay a lot of attention to stuff like speakers. One thing I notice is that when people get into vinyl, they get into the overall experience of listening to music. They spend a little more on speakers, align them with music in mind and start sitting down and listening to music. Digital is so easy that it’s background noise when we’re driving, working and living. Vinyl takes more work and in my experience, that work leads to an enhanced experience. It’s not surprising people call it ‘warm’.
This is a really interesting article, because it's actually about something more fundamental than filter bubbles, and it turns out that Facebook creating filter bubbles is pretty much a corollary.

The abstract:

Does the consumption of ideologically congruent news on social media exacerbate polarization? I estimate the effects of social media news exposure by conducting a large field experiment randomly offering participants subscriptions to conservative or liberal news outlets on Facebook. I collect data on the causal chain of media effects: subscriptions to outlets, exposure to news on Facebook, visits to online news sites, and sharing of posts, as well as changes in political opinions and attitudes. Four main findings emerge. First, random variation in exposure to news on social media substantially affects the slant of news sites individuals visit. Second, exposure to counter-attitudinal news decreases negative attitudes toward the opposing political party. Third, in contrast to the effect on attitudes, I find no evidence that the political leanings of news outlets affect political opinions. Fourth, Facebook's algorithm is less likely to supply individuals with posts from counter-attitudinal outlets, conditional on individuals subscribing to them. Together, the results suggest that social media algorithms may limit exposure to counter-attitudinal news and thus increase polarization.