skysight-inc/HackerNews huggingface dataset:
There's a lot of other considerations when adding a new language. Questions come up such as:

* How long does it take to ramp up on the new code base (author notwithstanding as a user of Rust outside of the company)?

* If the author of the code is sick and there's a bug, or logic needs to be added, how hard would it be for someone else to do this work?

* What is the build story for the Rust code like? How does it integrate with existing CI?

* How do you store the Rust library? Some artifact store that Node can interact with?

Without more details, unless the company was already writing Rust, this doesn't seem like a reasonable choice at all. Doing some profiling and experimenting with allocation, along with comments as to why you're doing something that's not naive (e.g. appending to a large array) seems much cheaper than doing all this Rust work.

I've been in situations at $WORK where we were locked into using Python for certain code. Rewriting portions of it in Rust (if it needed running in the runtime) or Java (if it was across a service boundary) would have been enjoyable. But answering all those questions made us stick to Python. And surely, in most of those instances, we never really came back to those hot loops again so it never needed subsequent work. There were a few cases where we did find ourselves constantly trying to eke out more performance and in most of those cases a rewrite did end up going through, but those are rare and part of the craft of software engineering is to identify these areas and get ahead of rewrites early enough to not waste cycles.
I have a lot of respect for Discord's technical decisions. They know when to do things the bland way and when to use more specialized technologies. Note that that article also praises async Rust.
https://www.amazon.com/No-More-Police-Case-Abolition/dp/1620...

If you're actually interested and not just asking someone to elaborate on a complex problem over a HackerNews comment. An equally uncharitable opponent could ask you to prove that heavy policing (or at least the NYPD) has played a significant role in reducing crime.
It's really no different than using a single email account as the recovery address for all your other accounts.
“Winners Take None:” why some business maybe were never tech companies
> Code to calculate size of preallocated array is incorrect. Size ends up too small or underflows.

If you go outside the array you copied/mapped out of the sandbox, then that doesn't let the attacker code escape the sandbox, you just put some of your own data onto the screen.

If you mean the sandbox isn't given enough memory, then that will make the sandbox exit when it hits unmapped addresses.

And how did you screw up length x width x 4?

> Buffer is reused across calls. Buffer is actually mapped across processes and thus page-aligned. Code to check how much space is needed checks number of pages versus actual number of bytes, and fails to clear leftover data correctly.

The sandboxed process doesn't have any way to exfiltrate data. At most it can display it back to you, which is not really any worse than innocent code which could also send back the leftover data.

> Code receives RGBA buffer but expects some other encoding. Accidentally reads out of bounds as a result.

Reads out of bounds and does what with it? That doesn't sound like a vulnerability to me. It might display private data or crash, but that's entirely of its own volition. The behavior would be the same between innocent code in the sandbox and malicious code in the sandbox.
The higher on the screen you play, the more velocity!
I paid for it for a while because I had friend who was gung-ho on it convinced me. I tried using it for coding and it just didn't save me enough time to justify using it (not so much the cost but the effort). I cancelled by subscription.

However, I recently just re-subscribed because I started using it for writing -- and this is where it has been really helpful. I'm not using it for research or to generate anything new -- instead I'm running my own writing and sometimes random thoughts through it to create actual writings.

It's somewhat nice to have to generate say a paragraph and then explain how it didn't quite get the point I was trying to make and have it regenerate a better one. I usually don't take it's content as-is but it's a great motivator and is good at restructuring sentences to make things sound better.
This study[0] claims that is not viable as it would require 9% of forecast renewable production in 2050. Less net carbon emission can be produced if the electricity is used instead to displace coal plants and the plane run on conventional kerosene. Building lots of nuclear power, which isn't as capacity restricted as photovoltaics, wind, and other forms of power the authors consider renewable in the study.

Hydrogen would still require quite a bit of energy to produce, but if it can be used in fuel cells, it can potentially be more efficient than if burnt in a heat engine. This is a pretty big if for air travel as fast as current jetliners. Fuel cell power per unit weight would need to be drastically increased.

[0]https://www.sciencedirect.com/science/article/pii/S004896972...
ChatGPT4 performance has gone down to GPT3 levels quite often for me making the output unusable.
Apple is worth 3.5x as much as Facebook, so the expectation of revenues is 3.5x higher.

If Facebook were Apple's size they'd be doing 450 billion in ads.
A little bit off-topic, but can somebody explain to me what IBM really does?

They built notebooks and pcs, but sold that to Lenovo years ago, IBM is still a billion dollar company, but I have no Idea what they do.
A alternative that is builtin might be an skeletons (and abbrev) or tempo? Also see the newer implementation, tempel: https://github.com/minad/tempel
New Acquaintances or Old Friends?
Eric Weinstein Explains AI to a Laymen Podcaster
Hype cycle [0] progressing as it always does. We're past the peak of inflated expectations and headed for the trough of disillusionment. Give it another 2-3 years and we will see very practical (and likely very niche) applications. I just hope it will be more than just pretending to be a real person while trying to sell people another bunch of useless junk online.

[0] https://en.wikipedia.org/wiki/Gartner_hype_cycle
RPCs are for separate services possibly operating on separate machines, where in-process message passing wouldn't work.
Does the product make money yet?
well sure, TPM is mostly about limiting what the average Joe can run on his computer. It isn't meant to stop adversaries.
I think one explanation is that a lot of usage is moving to apps that use the API
Thankfully, they're already made their stance on AI clear on Twitter
https://twitter.com/Procreate/status/1661210079360700417?lan...
Most people learn “in-demand” skills, smart people are learning rare skills
I was working on foundation models for business and we had done some work on character embeddings that would counteract that back in 2017.

Pro Tip: people whose ideas were worth stealing were worried about Google’s web scraping and the whole economy about it were unfair and exploitative 10 years ago. Suddenly the people whose ideas aren’t worth stealing are up in arms about it.

Think more about having ideas that are worth stealing (e.g. leading the herd not following the herd) instead of getting your ideas stolen.
In my experience, each office does have its own culture to a surprising extent. Maintaining a common corporate culture across different offices is a very hard problem. Probably even harder than doing it in a pure remote company. (And I think corporate culture is as meaningful a term as anything-else culture: shared values and expectations, behavioral norms, jargon, inside jokes…)
Simple fix.

Ballot measure to replace the “right to be forgotten” with the “permission to be remembered”, that need to be renewed every, 1-3 years. If companies fails to obtain permission in 3 years, then it must remove your data. Such permission is non transferable, meaning that if you started an account with Good Company, Inc. and it was acquired by Evil Corp, Inc. The latter need to get a new permission under the new name. Oh, and data brokers can’t have your info, unless they ask you for permission.

Right to “opt-out of sale” needs to be replaced with “option to opt-in”. Basically meaning you opt out by default and companies need your explicit permission to sell you data.
I follow the PG world very closely and would like to add that Postgres community essentially "soft" turned that down and its not going to be a thing any time soon, like in the next five years at least.
"just remove the duck"

https://rachelbythebay.com/w/2013/06/05/duck/
Quantity, presumably. Procreate itself ist eben cheaper (or at least it was when I bought it) so the model must be working for them. And I'm the perfect example why: I'm not an artist, I barely draw, but I bought Procreate. Why? Because it's a really cool tech demo for that expensive new iPad Pro and at €10 one-time it was extremely easy to justify, even if I've only played with it a bit. I imagine a lot of people fall in the same category and bought it even if they're not the typical market for digital art apps.
I disagree with you in the last point, async is definitely painful for end users. It indeed feels like you're using a completely different language, which has Rust's core features removed – lifetimes and explicit types, sprinkled with a mess of Pins on top.

You cannot run scoped fibers, forcing you to "Arc shit up", Pins are unusable without unsafe, and a tiniest change in an async-function could make the future !Send across the entire codebase.
Also, see where Lithium is in the periodic table. Right above Sodium. So you expect it to form salts just like Sodium and the sea is famously salty!
I got you, I have tons of family who are truckers and the stories abound of shady company tactics. When GPS first started being used in trucks they would take a bucket or something and cover it, it simply 'lost service'.

None of this is new but it's definitely getting markedly worse.

Even still, I'd never heard of some of the evil things they are doing these days like closing the yard gates so they have to keep rolling.
We have quite comprehensive Google compensation information available on https://www.levels.fyi/companies/google/salaries/software-en...

You can even see the recency of each individual data point, and filter for specific levels. (Disclosure: I'm one the founders)
This statement is false.

Even with all telemetry disabled (including the option "Allow Firefox to send technical and interaction data to Mozilla") and without anything showing on that page, the browser still sends out interaction data by means of so called "pings", URL parameters, etc.
If only...

https://xkcd.com/435/

(I'd put programmers in with the biologists, roughly.)
Perhaps they want to avoid another: "Century of humiliation" - https://en.wikipedia.org/wiki/Century_of_humiliation
And yet, people are going to use async in Rust. The feature has already proven itself useful long ago in other languages, beyond the timespan a fad could survive. Everyone started out doing it the other way and got sick of it.
That's actually how modern Intel and AMD CPUs work.
You need to provide an alternative to M1/M2, for desktops.

Qualcomm let Apple steal it.
Admittedly, I’m no expert in async rust, but I’ve written several thousand lines of sync rust this month. One thing I’ve found is when rustc makes a particular approach hard to implement, it usually does so for a good reason (i.e. there is a better way to achieve a similar result).

If you’re learning the language, I would suggest starting out with some more vanilla sync code, loops and if statements, get used to the borrowing. Async is clearly still under heavy development, and not just from an implementation level, but also from the level of our philosophical paradigm about what async means and how it ought to work for the user. It’s entirely possible for humanity to have the wrong approach to this issue and maybe someone in this discussion will be able to answer it more effectively.

The compiler really depends on traits, and the ability for traits to handle async is not stable. Many highly intelligent people are hard at work thinking about how to make async rust more correct, readable, and accessible. For example, look here: https://blog.rust-lang.org/inside-rust/2022/11/17/async-fn-i...

I would argue, if the async functionality of traits is not stable in rust, then it is silly for us to attack rust for not having nice async code, because we’re effectively criticizing an early rough draft of what will eventually be a correct and performant and accessible book.
I can't understand why someone would look down on people teaching beginners. If you teach beginners you play perhaps the most critical role in someone's development. For one, it is the stage where someone is going to decide if this is something they enjoy, and want to carry on doing, or not. Second, you are taking someone from nothing to something. That's a huge step.
Excited to hear about the new LaTeX+SEX stack
Starship runs on methane and oxygen, but same deal.

They use different engines because there are no petrochemicals on Mars, but there is CO2 and H2O, so you can produce CH4 and O2 locally if you have a power source (presumably solar or RTG).
it works the same way in construction as well. Before inspection of something like electrical, you go introduce an obvious error that is easy to observe, doesn't take long to fix, and doesn't require additional materials. The inspector can write a report indicating the work is substandard and later gets to write another report indicating the work is corrected and the sign off is complete. Everyone gets to go home happy at that point.
Thank you! I love mentoring people, and it was a privilege to work with these particularly talented and hard-working undergrads.
Enforcing peace (where peace is not defined solely by white landowners) has _never_ been the role of the police officer in America.
Except the real world maps just fine...

At any point we could all just just agree to make an unchanging ExtremeLTS target if we really wanted. Just like, freeze a modern Linux and only do nonbreaking changes to any of the parts.

Unfortunately nobody seems to have done that for real practical use. There's UXN, which is cool, but I wouldn't want to use anything that minimal, especially not with the focus on ASM instead of a high level language.

We could also just decide to make a compiler to make N64 dev easier and just keep making most of our stuff for that, retro console games will probably always be playable for as long as civilization continues, but that would not exactly be practical.

But windows kinda already does the whole unchanging target thing, or did. Their backwards compatibility is so much better than Linux, where nothing works in 2 years because of all the dynamic linking.
Oh that's awesome! Now to find out if this works for SvelteKit projects...
I've had good results with wsl2. The only thing that frustrates me is magit performance on a big project with literally twenty years of commits. (It was originally an SVN repo.)
They balance the existential financial risk vs the trust and consider it's worth to sacrifice some trust.

They may or may not be right, time will tell.
I do too.

I'm really surprised people have stopped using it after the "hype." Most hyped things are ten layers of fluff with a grain of "good" in the middle, whereas ChatGPT actually delivers everything the hype claims and maybe more.

It is a HUGE productivity boost for me personally, and I use it for tons of personal and professional things. It may get overtaken but something better (and there is room for that), but I cannot imagine I'd choose to go back to not using an LLM in some capacity ever.
Everyone would still get to vote. It would just be in a combined city instead of many small ones.
> For the past two seasons, college players have been able to sign deals to allow third parties to use their "name, image or likeness" - NIL, for short - and receive money in return.

Yep this is what's happening this year at my University this year - players now do a quick 30 minute autograph signing before each game.
The general audience does not care about any of that though. Star Wars is beyond ridiculous in the first place - I mean how does "light-sabers" make any sense? What matters to the general audience is there are relatable characters doing cool stuff which feels plausible in the moment. The space ramming was cool and emotionally satisfying, so it works.

For most of the audience, if they know Luke at all, it is as the whiny kid with the bad haircut from the old movies. So its fun to see him as old and grumpy. They do not care if he is some kind of space-Jesus in the expanded universe or whatever.

A "deep betrayal to the universe" of Slave Leia, Jar-Jar Binks, C3PO?
OTOH mother/mom in Finnish is "äiti" which sounds (to the foreign ear) like a distress call.
I hadn't seen this before. At a quick glance, the syntax looks fine. Though I don't know what command line utility I'd need to use it. It makes me wonder how hard a translator from jq syntax to jsonpath would be... Then we could have our cake and eat it too.
Rust protects against data races, not race conditions.

https://doc.rust-lang.org/nomicon/races.html
Initially, I subscribed to ChatGPT because an enthusiastic friend recommended it. I tried using it for coding, but it didn’t significantly improve my efficiency. So I cancelled my subscription.

Recently, however, I revisited and re-subscribed, discovering its potential in assisting my writing. Rather than using it for research or novel content generation, I've been refining my own writing and crystallizing fleeting thoughts into more coherent prose.

It's beneficial to input a draft paragraph, receive feedback, and then fine-tune it until it captures my intended message. While I rarely use the content verbatim, ChatGPT serves as a valuable motivator and is good at restructuring sentences for clarity and impact.

... OR ...

I paid for ChatGPT because a friend who really liked it talked me into it. I tried it for coding, but it didn’t save me enough time. It wasn’t about the money, but the effort. So, I cancelled it.

But I signed up again recently. Now I use it for writing, and it helps a lot. I don’t use it for research or making new stuff. I put my own writing and random ideas into it to make them better.

It's nice to give it a paragraph and then fix what it misses. I don’t always use exactly what it gives me, but it helps me change sentences to sound clearer.
I just have to ask, did you expect your ex to work 24/7 for you? When did the job of being the traditional housespouse get off? 6pm? 8pm? never? When were they simply allowed to be your partner and get to stop taking care of you? Having to walk your dog (it is your dog no matter whom wanted it) and sounds like helping to clean up dinner sure sounds like a really hard life.

After you divorced did you hire a maid, etc? How is it going looking for a future spouse when you tell them you want to never do any house work at all?
I find this post extremely weird. The author starts with saying sharing state is bad and then continues to complain sharing state in async Rust is hard, which is like, use channels if you don't want to pass mutexes everywhere?
The US also actively prosecutes war crimes committed by it's own. See Abu Ghraib.

Do you think the Taliban comes close to anything like this?
> wonder what it will take for people to finally get fed up with creepy advertising companies.

I wonder this every day. I got fed up years ago. Now, I'm simply enraged by it all. And, worse, it's an impotent rage since there's nothing I can do about it.

I already block as much tracking as possible, avoid giving money to companies that engage in these practices (or that make use of the services of companies that engage in these practices), pay in cash in physical stores, avoid online shopping as much as possible, etc.

And none of it is enough. Ad companies are at war with people, and are winning.
Flow Launcher – Quick File Search and App Launcher for Windows
Fork and successor of Wox. Supports plugins in C#, NodeJS and Python. Integration with Everything from Voidtools.
Famously, they also burn.
>judging by the repeating content and style of writing in comment section

This is how reddit always has been.
Both engines are really fast, both of them have places where they beat the other. For a while, JavaScriptCore was the fastest Javascript runtime, then V8 took over again, and now Spidermonkey is the fastest if you cherry pick the right tests.

The places where WebKit lags behind aren't the places Bun really cares about. I'm honestly quite glad they add some diversity to Javascript land.

I recall reading a comment that JavaScriptCore was chosen because of performance. I believe JSC is quicker to start up, and I wouldn't be surprised if it wasn't faster at executing the type of code Bun executes as well.
Slightly hijacking this thread to ask: I've not heard of Platform.sh before. Do y'all have a free/hobby plan for someone wanting to become familiar with the it? If not, no worries.
Whether or not you agree with the conclusion, this is an excellent article. It gives a great overview of the background topics (I had a few gaps filled in!), and does a really good job of explaining the problem

Re: the conclusion, I wonder if this is a problem that can be solved over time with abstractions (i.e. async Rust is a good foundation that's just too low-level for direct use)?
Good point, this system is much more useful for scientists and ML researchers, etc. wherein the code may generate datasets over several weeks or months of compute time, but produce some output that should be directly tied to the code.

You're right though. Systems in the social media space dealing with users appending to a database typically don't have this requirement to be easily reproducible, so the local snapshots are the right choice.
Hairy arms:
https://www.npr.org/2014/11/17/364760847/whats-with-all-of-t...

Though I believe the technique has been given many other names as well.
Sure, that’s great and all, but some people have disabilities like ADHD that does not always allow modification of behavior to fit a particular neurotypical pattern that easily, and technology is often enormously useful helping correct that.

so no, for some people, it is not “much simpler.”
One would think Microsoft wouldn't be stupid enough to provide endless amounts of one time codes for a single account. I would guess they provide 5-10 codes before escalating the login.
I don't think it's tangential at all – tools are meant to be used by people, and thinking about how to make tools low-friction and easy-to-use is intrinsically interesting, regardless or not of whether it's meaningfully actionable :) But only the authors would know what's feasible for them. I can only imagine that working at a legacy newspaper is a resource-strapped place for software engineering.
Could also be noise pollution.
Supply and demand does _not_ work everywhere else. That is a highschool-level interpretation of the astrology we call economics. Complex systems in reality are not defined by two simple lines on a graph.

If you use Google there is plenty of research disproving you from Canadian sources that pander to both Liberal and Conservative readership.
Channels with passing messages has been around as a solid way for doing async and multi threading since forever. These systems are called actor based systems. Erlang is a good example which uses it as its core. Then on the jvm there is Akka. Axon is another.
Yeah, and we're still aware that the rest of the world exists and has to also use web browsers.
Me too! I've been using it to learn a new programming language (Rust) and the ability to just ask questions that come up as I'm reading the Rust book is amazing. It's like having a personal tutor who is there 100% of the time.