skysight-inc/HackerNews huggingface dataset:
Async await isn't useful because it's more ergonomic. It's useful because it's low overhead. If you don't care about that then rust might not be the right language for you the same way a language with a GC might be better suited for most folks. For my domain, any other choice would have made rust untenable. Rust has made all the right choices that make it an excellent choice for code I was otherwise forced to use c or c++ for. Not every language must bend its ways for every possible user, and most folks get upset when that inevitable happens because it dilutes the qualities that made the language useful for the original set of folks it was primarily useful for. Being popular unfortunately comes with the curse of not pleasing everyone.
I love FiraCode! I was using it for almost half a decade before recently switching to Victor Mono. [1] The ligatures do serve a practical purpose to me anyways. I find they make parsing symbols much easier because the same symbol in different contexts looks different when it means something different. There’s a reason it’s a typography option that’s turned OFF in most editors though, I understand why people hate it.

Also on the list of things people hate… victor mono has joined-up italics! Which I also love. :)

[1] https://rubjo.github.io/victor-mono/
Salience: Automatic text highlights with LLMs and TextRank
Demo by Matt:
https://twitter.com/_mattneary/status/1673030813825335304
The paper does things like ask GPT-4 to write code and then check if that code compiles. Since March, they've fine-tuned GPT-4 to add back-ticks around code, which improves human-readable formatting but stops the code compiling. This is interpreted as "degraded performance" in the paper even though it's improved performance from a human perspective.
But why should I care about the contract when the providers violates it as well? When you provide your services in the country I reside in but refuse to follow our national laws, you have violated the contract as well.

I live in Norway, and even "serious" advertisers shows me alcohol and gambling advertisiments. This is strictly forbidden by norwegian law, yet I have seen multiple advertisements of this kind from Google, Facebook and Discovery. Discovery in particular has just recently agreed to follow the law for television broadcasts, to be fair.

GDPR is also violated a lot, especially by advertising corporations. I have never consented to the vast amount of tracking that I'm subjected to when browsing the internet, even though I have that right.

It's not like they are obligated to provide services to my country either. If european laws are too strict, they can always leave instead of violating our rights.
“Church of Bleach” family goes to trial, representing themselves in court
It's a confusing comment because in one paragraph they say the practice doesn't weed out bad apples, but then in the subsequent paragraph they concede that it probably does. The only way to square these is if cops affiliated with organized crime aren't classified as bad apples, but that makes zero sense.
> Deutsche Bahn still required masking in January.

I was surprised Germans didn't do anything about that policy. They did seem to widely ignore it, but it remained enforceable.
Fundamentally, morally speaking those those aren't facts but opinions. Legally, I think it differs from country to country. Individual rights versus the needs of the state is something that we have really changed perspective on in the last hundred years.
Try looking at ARM Embedded Single Boards. They're only ever marketed to industry for smart automation/IoT systems, but effectively fill the niche you're looking for:
https://uk.farnell.com/c/embedded-computers-education-maker-...

I've saved a few during my years of lab management as they ran our infrastructure, and they're cracking PCs. Sometimes I run into fringe issues with drivers, but never anything major. Pretty much all validated on Linux OS too, so better support than most client PCs.
It's a reasonable hypothesis. Whenever phenomenons are probabilistic, we're poorly equipped to use our direct experience to assess what they do. We see that all the time with pseudo-medicine for instance. And people became extremely defensive about these questions (vaccines, pseudo-sciences...) - which is why you're downvoted.
in the old days labour was valuable and people were allowed to live in reasonable places. everyone would pile into a village and everyone did something to help out. a loner guy would be sitting around sharpening spears or digging a ditch and at night he would sleep in a barn. nowadays that guy, not being able to get a corporate job and not being able to afford a corporate apartment, simply has nowhere else to go but the sidewalk. we dont utilize people's labor if they dont meet this corporate quantum. theres no in-between. or its so small it barely exists. in the 50s it was huge and people could live in a tiny little shitty apartment. back then even the unfortunate had some stake in society. society is sick. the mind virus of college degrees has taken over. i was watching 48 hours and they actually used the fact that someone didnt have a college degree as a point of concern regarding his character.

the plain and simple fact is that as automation and outsourcing continue, jobs will move toward being completely managerial in nature, and only a small group of people at the top will have jobs. the space between now and UBI will be tons of homeless and disenfranchised.
a parade festival? A festival of parades?
There are plenty of jobs with rules about this; some of them are quite extensive and can cover spouses. There are rules about it for certain US government employees, for instance. Don't want to be subject to it? Don't take the job; no-one's forcing these people to run for election.
Battery shortage forces GM to pause commercial EV production
Journal worship is a problem IMO.

Not sure why they are the gatekeepers of science. It seems like something out of the 1970s before the era of internet.

Its good to see that people are able to write a paper and just post it on a website.
Maybe for prototypes or small scripts but disagree otherwise. The promise of automatic memory management is that you don't have to think about memory.

But the second you don't think about memory you are doomed to write bad code anyway. Maybe because of performance but most probably due to architecture. To have a language that forces you to think about memory is not a curse, it is a blessing.
I have this function that I still struggle to write.

async fn function_handler(_event: Request) -> Result<Response<Body>, Error> {
let aws_clients = AwsClients {
s3_client: S3_CLIENT.get().await.to_owned(),
glue_client: GLUE_CLIENT.get().await.to_owned(),
athena_client: ATHENA_CLIENT.get().await.to_owned(),
};

println!("{}", aws_clients);

let config = CONFIG.get().await;
let version = VERSION.get().await;

let db_eid_cache = create_db_eid_cache(aws_clients.clone(), config);
let table_eid_cache = create_table_eid_cache(aws_clients.clone(), config);
let job_eid_cache = create_job_eid_cache(aws_clients.clone(), config);
let table_summaries_cache = create_table_summaries_cache(aws_clients.clone(), config);
let job_summaries_cache = create_job_summaries_cache(aws_clients.clone(), config);
let query_summaries_cache = create_query_summaries_cache(aws_clients, config);

let rez = tokio::join!(
db_eid_cache,
table_eid_cache,
job_eid_cache,
table_summaries_cache,
job_summaries_cache,
query_summaries_cache,
);

let six_pack = SixPack {
db_eid_cache: rez.0,
table_eid_cache: rez.1,
job_eid_cache: rez.2,
table_summaries_cache: rez.3,
job_summaries_cache: rez.4,
query_summaries_cache: rez.5,
};

let lambda_response = LambdaResponse {
config,
result: &six_pack,
version: &version,
now: utc_now(),
};

let response_body = serde_json::to_string(&lambda_response)?;

Ok(Response::builder()
.status(200)
.header("content-type", "application/json")
.body(response_body.into())
.map_err(Box::new)?)

}

Not sure how to do error handling properly or what would be the idiomatic way to implement it.
Other than that nice font is nice on the eye when you are staring at them for hours on end, I find that Iosevka does improve my workflow because I could pack more on my screen. Before Iosevka I was using Fira Code (because of ligatures), and before that I was using Courier New/Consolas.
I’ve previously heard that folks with dyslexia have an affinity for Comic Sans. Perhaps the same is true for these Comic monospaced fonts.

A quick google search turned up this: https://www.boia.org/blog/does-comic-sans-benefit-people-wit...
discussion then: https://news.ycombinator.com/item?id=20533923
I wonder how hard it is to get at the bit that drives the screw pin, and just wind it back with a wee battery?

You know, the way you get the "security locked" electric handbrakes on high-end cars to release, when the electrics are dead?
Exactly what I thought while watching that video, it's as if he's spitting out the characters as he speaks.:

"A fantastic, entertaining and highly educational talk. It always bothers me that I can't play the piano and talk at the same time (my wife usually asks me things while I'm playing). But David can even type concurrent Python code in Emacs in Allegro vivace speed and talk about it at the same time. An expert in concurrency in every sense of the word. How enviable!"
Bazarr, Sonarr, Radarr, Prowlarr, qBittorrent behind a VPN as I can't upload due to having a shitty local ISP.

Tiny NUC to run it all in containers, and a Synology w/ 40TB.

I get a popup when a new episode is downloaded. Movies are requested via Overseerr.
I do think multi-cloud is the future and really enjoyed the tutorial. Have you seen people run into any problems with Cilium? I tried it before but couldn't configure it correctly.
Rofl. Please don’t vote.
Proton Pass is end-to-end encrypted, but indeed if you want something that doesn't support automatic multi-device sync and is 100% local, then Proton Pass is not the right fit for this use case.
Exploited 0days an incomplete fix and a botched disclosure: Infosec snafu reigns
Honestly a 100% savings rate isn't terribly hard when all your campaign costs are covered, your travel is covered, your office expenses are covered, and lobbyists or donors pick up the tab on a lot of miscellaneous things. Even assuming zero fraud/abuse/illegality, given that you typically already need to be at least moderately successful financially to run for federal office it's not crazy to think that most members of Congress probably already have paid off cars, paid off or close to paid off homes, etc. Not to mention spouses that probably also have very good paying jobs given the connections you're likely to already have by the time you're running.
>How is this a HN-worthy article?

I enjoy reading the comments.
"Social ass" is a great euphemism for influencer.
Who Are You Writing For?
The thing I don't like about tachyons, or many CSS "frameworks", is that it severely uglies-up your markup with long class attributes.

Give me a web dev framework with view encapsulation / scoped styles and you can almost get rid of class attributes in your markup all together, especially if you build a component library that your higher level components can consume.
Font Rendering Differences Between Debian and Ubuntu
The same font can look different in debian and ubuntu.
I'm skeptical that Chinese will ever become the international language of science as long as Hanzi is the dominant script used to write it.
I'd like to clarify a little here: There's an ISO certifiation in here - but it's not an ISO standard for the language.

Essentially, the ISO 26262 certification mostly verifies that the compiler release process conforms to a certain standard. It does not create an ISO standard for rust, not does it aim to. At part of the certification process we had to write a spec for the rust language, but it is a descriptive spec of how certain aspects of the rust language behave for one specific release of the compiler.

The certification builds on this to ensure that tests catch deviations between spec and implementation, known problems are documented etc. So rust as a language is unaffected, as is the rust project. The spec is open source and might be useful to others, you can find it at https://spec.ferrocene.dev/

The target sectors for ISO 26262 and related industrial certification are clearly sectors that require such certification: automotive, medical, etc.

Ferrocene itself however, is not only the ISO certified downstream of the rust compiler, it also offers for example long term support and tracking of known issues which the rust project does not provide. This is also important for certain applications that do not strictly require certifications.

Disclosure: I'm one of the founders of Ferrous Systems, but I'm only involved in the Ferrocene project on a moderately high level, so forgive minor technical inaccuracies :)
We're just going to work our way down the food chain.
What Is Happening to the Cats of Cyprus?
> It should have an article (the) in such a case.

I'm not quite sure what you mean. tetris11's meaning is clear, and I was just making a whimsical observation, but I think it is possible (though clearly wrong in context) to parse:

> Nature is really good at giving you a spec with examples and guidelines you need to adhere to

as telling you something about the behavior of nature, analogous to "nature does nothing in vain" (Google's first auto-complete suggestion when I asked it for a sample sentence).
And yet it didn't learn that it took almost 10 years for .NET community to sort out async/await support across all layers of the stack.

.NET archictects have spent last year researching Go and Java Loom approaches, and have acknowledge if it had been today, most likely that would have been the approach taken instead of async/await, as many .NET devs still get it wrong.

During the "ASP.NET Core and Blazor futures, Q&A" at BUILD 2023.

This is the best practices of async/await in .NET as written by one of the ASP.NET architects,

https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b...
There is always list comprehension.

So `portfolio = [{'name': row[0], 'shares': int(row[1]), 'price': float(row[2]) for row in rows]`

But if it's more complicated than this (like if there is conditional(s) inside the loop), I'd recommend just stick with the current approach. It's possible to have even multiple conditionals in list comprehension, but it's not really very readable. If you do want to, walrus operator can make things better

(something like `numbers = [m[1] for s in array if (m := re.search(r'^.*(\d+).*$', s))]`)
Out of curiosity, what are/were kangaroo's predators?
Has anyone experimented with mixing outputs from LLm's on a per-token basis?

Ie. easy tokens can be provided by a cheap-to-run model, and hard tokens are given by an expensive to run model?

A model could be used to decide when it is worth running the expensive model, based on the inputs, output so far, and probability distribution of the output of the cheap model.

For example, "Q: If I have 3 bananas and eat none, then how many bananas do I have?"

"A: You would have 3 bananas left, since you started with 3 and didn't eat any"

The "3" would come from the big model, while the rest all came from a small model.
OpenAI holding back GPT-4 image features on fears of privacy issues
> could only see a about 5-feet forward

Does this mean optical nearsightedness, or a neural thing limiting vision by distance?
I think a complete ban on owning individual stocks would be a bit overkill. Perhaps, controversially, I believe members of the government should own some stock - I want them personally invested in the economic wellbeing of the country. I also don't want to limit the candidate pool artificially to just professional politicians.

But the fix here seems pretty easy. If you are an executive at a publicly traded corporation, you have to disclose any changes in your position of that stock months in advance. Just make politicians follow the same process for the entire stock market.
Usually, it means that there's a whole lot of paperwork done to say "This specific version of the compiler can run on that specific combination of hardware" with extra things like "if you try to do A, B, or C it will break this or that way, so don't do it".

Note that it doesn't have to be a separate version with patches - it may as well be a recent stable release of Rust. But the paperwork has to be created just fro this release. And these standards require a team to spend months and months documenting everything. That's why having it all done by a vendor like Ferrous Systems is attractive: once the work is done adapting it to some other "compiler version + hardware" combination will take a lot less time.

There was an audio interview where Ferrous people talked about it https://rustacean-station.org/episode/067-quentin-ochem-flor...
A stationary jet stream is fueling intense heat worldwide
100 or so years ago, couldn’t this article have been written about the use of German in science papers? I’m really not sure that this is a problem per se, but rather just a dynamic that is going to exert itself in any type of worldwide communication. Shall we change the international language of aviation from English to Chinese because there’s a greater number of native Chinese speakers? Doesn’t seem very sensible to me.

I grant that it’s incredibly easy for me to sound dismissive of this issue as a native English speaker, but I don’t think throwing AI-as-a-buzzword at the problem is much of a solution.

That said, I did really like this potential solutions described by the article; sounds like a great tactic not only to address this issue, but to build relationships and cross-border research networks.

“Conference organisers also have myriad opportunities to support non-native English-speaking participants. For example, last year’s Animal Behaviour Society conference incorporated a multilingual buddy program to improve inclusivity.”
>"undisclosed" materials for compatibility"

Should not it invalidate the patent?
If you watch any news or weather, it's happening right now. Will it be enough to wake us up?

Will we continue to be snowed by the oil industry's continued attempts to whitewash and obscure the reality? Believe their skewed, fabricated positives?

Is this a world of people or a world of corporations?
According to the top level comment in this thread those chat apps were bundled in office.

user: llimos
> there has been a chat app as part of Office since 2007
On the surface this seems pretty decent game theory wise, particularly if you implement annual or bi-annual trading windows with a delay in trade execution (I.e. a trade must be publicly declared 120 days before it is executed) and if those restrictions stay in place long after their tenure in office to discourage prioritizing short term returns over long term stability.

AFAICT, forcing lawmakers to invest in total market index funds (with only buy/sell and maybe stop-loss; where total market is defined as an index fund tracking every publicly traded stock in proportion to its value) where it is difficult to make short term trades with insider knowledge of major market moving events would align their incentives with both our retirement accounts and improving a major slice of the economy.

One might say law makers would circumvent this regulation by having friends and family make the trades on their behalf, an outcome Id welcome; it’s easier to catch them making illegal trades when they have to coordinate to make it happen.

I think it would also mean a significant portion of your compensation as a lawmaker is a direct result of developing the markets. In some ways, regulation like this looks like performance based compensation.
Why don't you like it? I am asking because you are asking for a better way. Better in what way?
It really sucks to be running everything from the command line with prime-run. Plus I’ve had issues with many steam games giving me “3d device” errors and visual glitches.

So far I’ve found Optimus-manager to run the best with forces nvidia mode
Can I recommend you use the actual word "source", and let the pointless "sauce" meme die its overdue death?
I am not familiar with JS in GTK+, but if it's a JS binding for GTK+ it's exactly what I meant when I said that on the desktop you can implement a user interface using your preferred language as long as bindings exist for a decent widget toolkit.

And it sounds totally legit to me. If instead what you are referring to is something similar to Electron, that is something I "hate"; I understand it's a cheap way for a Web Developer to reuse the skills and build a desktop application, but the result is typically buggy, bloated, slow, and does not integrate properly with the desktop environment (fonts, colors, clipboard, accessibility are just the first things that come mind).
zcal is great, but is missing one (actually two) critical features that keeps us on calendly.

This is the feature... the ability to create a meeting 'poll' with all the members on your team, including external people, and it automatically takes into consideration everyone's availability.

https://help.calendly.com/hc/en-us/articles/223146447-Let-in...

The second feature is that I tried to reach out to the zcal support to ask if they had this feature and I could see they read my message, but I never got a response. So, having some sort of decent customer support is another crucial feature.
Devuan (https://www.devuan.org/) is a fork of Debian with the specific aim of removing systemd, as an alternative.
Personally, I don’t think you’re being pedantic at all either because it seems to me that the web assembly stuff is less capable in comparison to things like MLIR. It also required and maybe still requires being hosted in a JavaScript runtime, i thought.
[dupe]

Discussion a few days ago: https://news.ycombinator.com/item?id=36756101
> There are reasons why it is a bad candidate: - terrible spelling for an alphabetic writing system - definite articles, which confuse speakers of languages which lack them - arguable unnecessary tense and aspect distinctions - obligatory gender in animate pronouns

The only way to fix this is to make the lingua franca a constructed language. I'm not exactly against the idea of Esperanto being the lowest common denominator. However, there's this implication in your post and the article that English being the wrong language is some thinly veiled imperialism, racism, or something. Science is not that way. If there was an easier language to communicate to an audience with they'd use that. The "base" language of English is far, far simpler than other languages. Gendered pronouns are available in almost every language and English is one of the only languages where you can replace them with non-gendered pronouns if you so choose. In fact, I wrote this entire post without using any gendered language. This would be impossible in nearly any other widely spoken language.

It would be easier if the frothing at the mouth pro-DEI-at-all-costs people would just say what they mean. Then the argument could be addressed correctly - English replaced Latin because it was easier and evolving. Chinese is the only language that would replace it based on paper-origin/language ratio and Chinese is an order of magnitude or more complicated. Even just speaking about the alphabet it's something like 100x larger.
Yeah, it's funny how dev-minds who typically insist on being objective, etc. get sucked into the trendy hype of something like Tailwind. Don't get me wrong, the Tailwinds of the world have a place. It's unfortunate those who pick it up insist on hammering screws with it.