skysight-inc/HackerNews huggingface dataset:
I've noticed that Rust is in an interesting spot - it has a lot of overlapping appeal with various groups.

- C/C++ developers like it as an alternative for low level languages

- Functional programmers like it because of it's functional features

- "Cargo Culters" / "Hot Language" / "Flavor of the Month" followers like it, as it's in vogue at the moment (this is the crowd that has likely shifted from various web/API scripting languages over the last decade - (php|ruby|python) -> nodejs -> rust)

However, as the article alludes to, for the third crowd, Rust is just likely not a great fit (even if it has a lot of neat features and introduces some great concepts others may not stumble on of their own accord) when your implementation doesn't do much beyond web dev/API/scripting purposes.
Agreed, and it makes my skin crawl knowing that there are plenty of people in the field who would adopt those delusions to justify the work they do.
Exactly. Yahoo is still here, is it a force like the 2001 Yahoo?
That's exactly what it looks like happened, though!

He posts the received tip at 1:32, mentions his doctors appt at 1:38. Lisa says sending alert at 1:40.
This just lets him blast the media and deflect from criticisms, while fully avoiding the fact that he and his companies have made very large errors in the past too, granted nobody sane is looking at him for news of world affairs.

Generally this is the standard playbook. “Look my <hand waived definition of enemy> is fallible once, so must always be fallible when criticizing me , but they’re trustworthy when it’s good stuff”

This isn’t to excuse the AP. They really messed up, but Elon hamming it up is his usual disingenuous self.
Like those very popular "we built an elaborate swimming pool in the middle of the jungle" videos that were debunked.
Cool, so absolve the EPA of any wrong doing?
BBEdit is about the same age as vim both came out in 1992.
Wouldn’t you have standing to sue them if they did this? I guess it depends on the legal agreement you have and how it stipulates they can bill you
Can anybody knowledgeable tell me why Ukraine would have old-ass Soviet missiles left? I would naïvely assume that old munitions would be long gone (aren't we like 8 months in?) and replaced with shiny US stuff.
Yes, it will run into the same register allocation and unstructured control flow issues.
I will openly admit that I did believe that he managed to do enough damage with his firings that the remaining engineers won't be able to keep it running because some critical teams and their institutional knowledge have been completely lost. I'm still surprised it's running so smoothly.
Didn't miss your point at all, just informing you that on the whole it's superficial and implied from my post. There is a myriad of things that many of us posting on Hacker News are lucky for, and it's not necessary to point them all out since it can be assumed from context.

To the extent that your reply telling me that I'm lucky to have the wife I have could possibly serve a purpose, it's to be dismissive and to make huge assumptions about me personally that you're frankly not in a position to make. It presumes that my marriage is the result of luck and happenstance and ignores the incredibly hard work and amount of effort that successful marriages require in order to make sure both partners are respected and satisfied.

To be honest, it's not at all uncommon for people who fail to find meaningful relationships, whether it's strong friendships or love to think that they just happen on their own through chance, instead of being something that actually requires putting in effort, compromise, communication, sacrifice, and yes it's true... it also involves luck as well.

Given the context and the general audience of people on this website in a position to meaningfully talk about starting a business, it is likely that said audience is very lucky for many many things; we don't need to point those out, what we need to do is determine how to best put that luck and the opportunities afforded to us towards a meaningful and productive life instead of squandering that luck away.

And finally, when someone prefaces a post with "with all due respect", that's usually a passive aggressive way of telling them off, so if you want people to afford you some degree of respect in the future then think about cutting that out.
> Surely, one would agree that recording a cop while on the job is necessary (for both cop and others), so what is the line that separates a delivery worker?

I don't know any delivery drivers who have state approval to use force and kill with little to no impunity. They also don't have billion dollar unions that will go up to bat for them when they do face liability for their actions.

One is one of the very few checks on power that exist, the other is used to punish workers for using the bathroom instead of peeing in bottles.
Thanks! The two imported crates provide the interface to the hardware (servos and sensors), so they don't add much abstraction. Most abstraction is in `robot.rs`, so that `main.rs` is clean and high-level.

Without `rustfmt::skip`, rustfmt would break these sections into more lines but I prefer them to look like little tables.
This is a design improvement; it’s not specific to any one processor.
Except you don’t want to wear gloves with most power tools as it makes them more dangerous.
iFixit Put Up Right to Repair Billboard Along New York Governor's Drive to Work
There's a reason why we see so many articles like "we rewrote x in rust." Rust makes sense when you've scaled to the point that you're seriously considering performance. Sure, starting with rust can potentially save you time, money, and refactoring down the line but only after you've reached a point that few startups ever hit. Otherwise you're limiting yourself with slow development times (compared to, say, Python) and difficulty hiring for very little benefit. I'm sure this startup's founders love rust (and so do I), but ultimately you need to prioritize the company first and that probably means using the most popular, boring tech stack imaginable in the beginning. The more you deviate from that, the harder the early days will be. It's far too easy to be swayed by exciting tech and forget that all that really matters is that you solve someone's problem.
Your single `.vimrc`-style config file should just work, NeoVIM just looks for it elsewhere. Most other differences are config defaults, the majority of which I suspect you have manually added to your current VIM config anyway.

Here is a detailed list of all the differences on the NeoVIM docs: https://neovim.io/doc/user/vim_diff.html

It's totally fine if you simply prefer VIM, of course.
Rust does have some nice semantics that the last round of popular languages don't, mostly just due to age. I suspect that a decent amount of its popularity is owed to that. But obviously for something CRUDesq all the nice little affordances in the world can't prevent borrowing from putting it way behind any language with a mature framework. That indicates we could use a GC language with Rust's eye towards modern design but without Rust's more difficult bits. Though I haven't really tried Typescript- does it do anything like that?
It credits Dall-E under the very first image, and probably did when you wrote this, since HN tells me that was 3 minutes ago.
I've been on projects where I'm genuinely more pessimistic and negative than everyone else. I still think if it's not a project that I want to change or own or feel strongly against, it's my duty to not show that negativity. I won't pretend enthusiasm but I will at least fake positivity enough to try to make sure I don't infect the people around me if they are enthusiastic
Purely anecdotal, but I recall plenty of summarizing assignments, along with other reading comprehension tasks in my English classes. Though you're right about the minimum length padding thing reinforcing the opposite skill.
The problem is that, while the benefits of trading safety vs. velocity go to the company, the costs go to the user, as it is the user whose data or identity will be stolen. And this goes well beyond Rust and "mere" memory safety: this extends to every kind of taking things slow and being careful in your coding rather than just throwing something together and later finding out you've made a serious error. This is why we need regulation: startups that take the time or put in the effort to play it safe hate at a disadvantage to ones that, frankly, "don't give a shit", and so the world remains an insecure mess. (I do think the calculus works out differently for large companies that are operating at a fundamentally different economy of scale--and so I do feel like colonies the like of Google or Apple are willing to take things a bit more slowly to ensure a more reasonable result, even though they sometimes do fail--but I almost feel that makes the problem worse, not better :/.)
Code is more complex than documentation specifically because it needs to deal with every issue. If you're going to cover every edge case in documentation, just write the code. Tools like OpenAPI/Swagger blur the lines.

Documentation is useful when it's job is to help understand why the code is the way it is, what problems are trying to be solved, and what constraints the devs had.
I agree with the gp and the other responders that however much other games might seem like they involve "being a bastard", Diplomacy is entirely another level. Describing exactly how is the challenge.

Let me try: The games' mechanic mean that everyone is just fighting for territory, those who intelligently cooperate will defeat others. So in this situation, the most effective strategy is cooperating intelligently early in the game and betraying your allies mid-game. The insidious thing about the situation is that if you're playing among friends, the natural way to cooperate to leverage the trust you already have with your friends. And so what any winner does is be themselves, use the rapport they have with their to get cooperation but be just a little less trustworthy than their friends expect. That is where the tendency to break friendships appears.
Not if they can’t prove the ROI vs other ad channels. They will just move spend from Twitter to better performing platforms, or even into other marketing or sales activities entirely. For most brands, Twitter isn’t the sole place they can target their audience.
Show HN: I Built a copy of UberEats app in 1 hour
I think you meant “borrow checker” because sure it does. It’s called a const reference. Want a mut borrow? That’s a pointer.

That Rust can check these somewhat more explicitly (rather than via good coding style) and that C++ also allows you to do arbitrary permutations (a la non-const references) is what you’re talking about. But ownership is very very real in C++! Just look at the craziness that is move semantics!
I think that they want to get rid of their old stuff (and the best way to do that, is throw it at the Russians). Maybe those missiles were protecting something of a lower priority, than the "shiny" kit.

Also, the most important aspect of any enterprise, is the human. These folks trained for years, on Russian kit, and know it backwards and forwards.
Depends if you ask me.

Sanding the deck to repaint? Absolutely! That said, I did use a hand scraper last time actually. The time before I used an orbital sander.

Of course you're gonna get the tree house done faster if you use the circular saw!

That's not the point. Not even the quality for me. For me, as a software developer, it's about doing things the slow way. Not necessarily the "better" way. I.e. using my hands. Meaning I built our tree house using only hand tools, save for the battery powered drill. Driving all those screws by hand, no thank you. Yes I did buy a hand crank drill as well and some drill bits to go with it. But I only use it to bore holes, not to drive screws, though you could too. Like this one https://img0.etsystatic.com/006/0/6916650/il_fullxfull.35811...

Some of you may appreciate this: http://www.supertool.com/forsale/2022nberslist.html (see main page and newsletter as well if you really want to buy - he's got already restored/more ready to use material than what you may find on ebay and the like, if you want to pay the price)
Salmon are also the mainstay protein for the Yurok tribe. No salmon, no tribe, was their recent statement on the matter.

Edit: Sorry, wrong tribal name, it's the Yurok here at the mouth of the Klamath.
Not the SE. The theatrical release. The SE is the worst director's cut I have ever seen. It gives away way too many things that are better kept secret from the viewer (all the Newt backstory is better left unseen).
If you replace "Russia" with "Putin" it's possible that he would rather end the world than lose in Ukraine. And it's possible that he would need to generate the escalation to justify ordering the ICBMs to fly, otherwise the commanders might decline.
Sure, you’d just pick a language that has a flexible optimizing compiler and generate code using that instead.
What's more likely to happen is that IT tells people to ignore the scary warning, and scary warnings become less effective.
I was once told that the term originated in the south, among track racers, back in the early days of cars. Apparently there was some kind of engine modification that involved the use of a soup can. If you had modded your car for racing, you had literally “souped it up”.

Wish I could remember the details; was very young when I was told this.
Is Slack the only integration? How about support for other platforms? (e.g. Discord is more popular than Slack) Will you support standardized formats like oembed (https://oembed.com/) so that any platform/service which supports such a format can render the code?
perl6/rakudo has most the same convenience features, albeit a little less type checking
I cast glances at it every time my company's Python services break because of a runtime error that could have been caught with a better type system, or because they ran out of memory and need bigger boxes, or another developer has to spend a week debugging their environment to get the complex web of dependencies aligned for five minutes, or my laptop strains under the weight of a dozen docker containers attempting to shield all those system-level dependencies from each other, or a deployment fails because of bad tooling/dependency-management

Not all languages are as bad as Python, and Rust comes with a lot of other costs. But it's very seductive to think about a world where you build a static binary with a single command, the build always works no matter what system it's on, the binary always works on the target OS regardless of what else is or isn't installed, it will use 1/10 the memory, and most likely it will never have any runtime errors because you were made to handle them all already

(I realize Go has at least some of these benefits, but its type system is hard for me to stomach)
As an ancap, I’d say this is pretty insightful, and reflects the way I interact with politics fairly well.

Would I like no government at all? Sure - assuming society reflects that state of being. Removing our existing institutions tomorrow would be a terrible idea; all kinds of things depend on them.

Instead, I’m all about reducing the size of government through consensus. I’ll ally with whichever party is in power to support that end.

If I’m right, eventually government will have such a minor role in society that its dissolution would hardly be noticed. If I’m wrong, then an iterative approach limits the potential for societal harm.
Does anyone do what? Fail to pay attention/retain architecture via meeting? Because yeah engineers definitely tend keep working/browse Reddit during meetings because they feel they have better stuff to do.
An open interval doesn’t include its boundaries. It’s like a room missing one or more walls, and which hence is “open” towards the respective side(s).

Imagine a series of adjacent boxes with shared walls, that you cut up. Depending on how you cut them up, each wall will stay with one of the boxes, which thus will remain “closed” on that side, while the other box who shared the same wall is now open on the side where you separated the boxes.

+———+———+
| | |
+———+———+

|
V

+———+ ———+
| | |
+———+ ———+

closed open

[0,1] (1,2]
Interestingly System-V passes the number of floating point registers used for a variadic function in rax.
Been using wezterm for a few months now and love it. On Linux I run a bunch of windows under Sway, on my Mac I run it in "mosh+tmux mode" to connect to a session on the Linux box, a "thin terminal".
Sure, you can weaponize anything.

But the word weapon here is a much tamer metaphor meaning tool you pick up to achieve victory: resources (usually capital: money, social, cultural etc), many times in an adversarial environment (youll always get some pushback no matter what you're doing).

"Battle" metaphors are common.
I'm guessing the panel is from a digital camera's electronic view finder? I've always been blown away at the pixel density of these tiny little displays. FHD at basically half an inch. wow.
"no one said it would fall off the earth immediately, that it would cease to function right now"

Quite a few people said that it would crash essentially immediately.
I specifically stated that I was not referring to cryptocurrency, I’m certainly not an advocate. Every engineer knows what a decentralized service is and any who doesn’t will Google the term.

You are asking it bad faith hoping I was a cryptobro. It’s an obvious red herring and I’m not feeding the troll.
https://archive.today/rwjgM
“Software doesn’t exist yet” is a huge user cost
the problem is PCIe speeds are increasing faster than network. pcie5 can hit 500Gbps in theory, but the network is only 400Gbps.
Large platforms have bugs in production, right now. (Because bugs are inevitable.)

And they also have dedicated antagonists who are looking for vulnerabilities to exploit for intelligence or money-making purposes.

So, code is changing not just because of new feature development. It’s also changing as bugs are found and squashed. If you freeze code, you also freeze whatever bugs are there now… giving adversaries longer and longer to find and exploit them.

Capacity or hardware failure is not the only reason a platform could go down. And, maybe more importantly, general uptime is not the only metric of success for a large platform. They also need to keep user data secure, process transactions promptly and correctly, maintain accurate records required for compliance, etc.
> I'm sure these are great technological answers

They're not, actually, as is obvious if you actually read the links. They're human process approaches.
I personally have a startup and what I think works well is use TypeScript for almost everything, but Rust for anything that has to be fast and/or needs more code safety due to complexity.
> no one said it would fall off the earth immediately

This is very disingenuous, there were hordes of people claiming it would be down in 24 hours, 48 hours, after the weekend etc. and there are still masses of people still saying it won’t last two weeks. At this point so many people have cried wolf loudly and repeatedly that I think the best option is to believe no one unless they are reporting first hand facts that can be independently verified. Everything else is just hot air.
as far as performance is concerned, many other compiled language will do with easier coding, rust does not really stand out there.
(Except CEO founders. cough Theranos cough)

Ivy pedigree, connections, and media hype but no experience, governance, or ethics required. Get rich quick with life on the easiest setting possible.
RU didn’t really use its airforce to deplete UA’s AA missiles (S-300 can’t lock on low altitude cruise missile). Also because UA was a buffer between NATO and other Soviet territory it inherited a lot of AA missiles (thousands, maybe lower 10s of thousands).
Good to know that MIT has their hands deep enough in China's pockets that they are writing pieces promoting the social credit system.

Really gross.
> as it is the user whose data or identity will be stolen.

that seems a little alarmist, don't you think?
A New Way to Save Slack Messages for Free
> With Rust, though, one needs to learn entirely new ideas — things like lifetimes, ownership, and the borrow checker.

This is really the main reason not to use Rust when you need to move fast: if you don't know the language yet, it will take you time to learn it. But that's true of any language. You probably shouldn't do your startup in Java, either, if your team isn't familiar with it.

Yes, Rust's learning curve is steeper than many other languages, but still... if you're an early-stage startup and you need to move fast, write in a language that you and your team already knows.
DLL injection is also used for in-game overlays by Steam/Discord/etc, and I'm not aware of a better method they could use instead given that they're expected to work for games that were never made with those services in mind.
> while the benefits of trading safety vs. velocity go to the company, the costs go to the user

This is a problem in general, but it's not a good reason to use Rust in a startup, it's a good reason to use Java or C# or TypeScript or another well-worn high-level language with static typing.

Rust's niche is solving a set of security problems that most high-level languages don't have. Choosing it for a startup only really improves your security if the other language you're considering is C or C++.
> Seems like this should really link to the .pdf of the paper named in the title of the post. Instead, it's a link to a download page with several files and it's not immediately obvious that the paper is the focus of this post.

That's the standard practice in the academia. Instead of linking directly to the pdf, you link to a landing page that shows the context the article was published in. You can then use the reputation of the publication venue to judge whether the article is what it claims to be and whether it's worth skimming/reading.
Well not anymore that we have a no screen sharing rule in place, but before that yes it would be. It would have to be a virus you made and not something actively malicious in other ways. And you'd want to build in some detection that they're running Civ 6, as stealing their credit cards or spying on their private browsing would be unrelated to civ and crossing a real line. They could just as well do that to me. Unspoken rules also dictate you tell the truth when they ask "How did you know?". That would probably lead to another group meeting about no viruses. The disbelief of "you really did THAT?!" Is part of the fun. But there's no real harm done. Getting a friend to take a picture of your screen is conniving, but it's not harmful outside of the game world.

The hard part would be tricking them into installing something you've sent them, since we all live more than 500 miles from each other.
There certainly exist languages like F# and OCaml (functional first domain modeling) and also Elixir and Erlang (100% immutable data and failure control) that provide safety but do not get in the way of developer productivity like Rust.
EU citizens have rights to freedom of movement in other countries. This included the UK.

While on paper you are correct about the African migrants in reality people were rightly concerned that the will to enforce this was weak. The issues in the English Channel still show this problem exists. And Europe continues to show little desire to actually take action in this problem and so we are seeing similar sentiments arise in Italy as lead to Brexit.

Imho the real blame for Brexit lies at the feet of Angela Merkel. Brexit would never have happened if she hadn't opened the borders in the Syrian refugee crisis. While this was a very open-hearted and kind gesture, as a geopolitical action it was disastrous.
Protocol Wars
> This project was a cloud-based SaaS product that is, more-or-less, a conventional CRUD app

I would love to hear what tech stack (or stacks) the HN community thinks currently allows a small team to move fastest for this type of product.