skysight-inc/HackerNews huggingface dataset:
Never talk to the bosses boss without going to your boss first. By doing so, you are ignoring the chain of command and likely will you fired. How would you feel if someone you managed went behind your back to talk to your boss?
Logrocket finds writers on other sites like Medium and approaches them and pays them reasonable rates (2-500$ per post iirc) to write for them.

Source: I have written for them in the past.
I've started to learn rust for the 2nd time. The first time was a really frustrating. In my defense though, I'm pretty sure the compiler inferred a lot less back then (maybe 5-6 years ago now?)

This time, it's going much better and I've managed to build something non-trivial. I quickly ran into the self-referencing issue. A simple structure to hold an [normalized] phrase and a list of words within that phrase:

struct Input<'a>{
words: Vec<&'a str>,
phrase: String,
}

I ended up asking in https://users.rust-lang.org/ where people are super fast, friendly and helpful. I understand that it isn't allowed, but I still don't quite understand why it isn't. It seems completely straightforward and unambiguous to me.

Something else I'm surprised the article didn't mention is the combination of `Box<dyn X + Sync + Send>` which is a mouthful - both in terms of having to declare a type with this, and in terms of everything is implies/encapsulates.
Oh it will happen once organic growth slows down and the various teams have KPIs and OKRs to follow. Every company bgoes through these phases.

They're still benefiting from their "underdog" status, that won't last
Yes, it's a fancy fuzzy finder for NeoVim.

If you're already familiar with and enjoy FZF or CtrlP-like fuzzy finders in Vim interfaces then the tl;dr is "Telescope is to FZF as Neovim is to Vim'. It would be easy to say "they're both the same picture" and that would be very true to a degree but I'd say Telescope looks like the next evolutionary step in this area to me because:

- it's written in lua (I know for NeoVim this is like 'X rewritten in Rust' headlines are for the general HN audience, but thought I'd get it out of the way. I do believe this will lead to a faster/bigger development ecosystem and also provide a very Vim-appropriate degree of configurability for people who want to invest some time in coding to tweak their worflow.)

- The "speed" issue is mostly about implementing async-aware stuff so nothing blocks. This is a general trend in Neovim and it seems to be going well but people who tried it a while back may have hit issues and not seen the full benefit of this yet as it's an ongoing process.

- Like Ripgrep, the fastest search is the smartest search i.e. that doesn't actually search everything, and the configurability and still nascent UI experiments seems likely to lead to some optimums here as people specialize in different things.

- It assumes you have a recent (currently unstable nightly) version of Neovim, and takes advantage of that opportunity to make full use of NeoVim core changes at the design stage. You could probably ask the exact same question of "Why do I want Neovim if I'm fine with Vim?" and there's probably many good write-ups of that question that will transitively apply here as well.

- Because the basic UI it provides is a sweet spot of 'pretty, usable, fast, easy-to-build-on, configurable' and they're working with this connecting layer in mind it looks like it might absorb/replace a lot of other plugins that are currently reinventing wheels in this regard and let them focus on the bit they actually care about.

But yeah, it wouldn't exist without those other things existing before it and I'd be more excited to introduce someone to this whole world of tools, than this one in particular. But anyone using these kind of tools, should try this out, and probably the first impression for those people would be, "Oh that looks cooler" and then shortly after "I'm going to write my own plugin!".
You think Aleksandr Solzhenitsyn was prescient? Try George Eliot (Mary Ann Evans).

Or maybe it's that human society doesn't change as quickly as our technological innovations make it feel, so accurate observations about the present tend to hold true centuries after they're made.
Ahh poor Facebook. I feel so bad for them. Has to be tough not being able to steal people's data.
Aha! That’s quite a neat approach, i wouldnt know what logrocket does otherwise but i feel pretty aware of their product these days.
List of Game Engine Recreations
Getting Money into India as a Freelancer
When I see articles like these I usually:

1. cmd+f 'linear'

2. see result

3. smile
"Without any censorship, in the West fashionable trends of thought and ideas are carefully separated from those which are not fashionable; nothing is forbidden, but what is not fashionable will hardly ever find its way into periodicals or books or be heard in colleges. Legally your researchers are free, but they are conditioned by the fashion of the day

you're sure it's 1978, not 2021?
I think that's a false dichotomy. You're saying the success of vaccine A implies success of vaccine B? That because some people wrongly argued against vaccine A, I can't argue against vaccine B (even at such an early point)?
> Eight minutes!? That’s over 100ms of CPU time per page.

Your calculation seems wrong.

(8×60×1000)/18000 = 26.666667 milliseconds per page
It doesn't necessarily mean it's directly based on one's own engagement. I don't use tiktok, but on Instagram i mostly follow sports stuff related to what I enjoy (skiing, cycling, running). What content will instagram show me? The most viral content in those categories. What's the most viral content in those categories? A girl skiing in her bikini, a female cyclist with unzipped top, a runner in mini shorts stretching.

But maybe tiktok is better in this regard, heard much praise about their algorithm.
https://github.com/ufuu/JDK10/blob/main/misc/DOCS/ACROBAT/DO...

Might not be exactly what you are looking for, but I just added the original VM spec PDF going over the JVM architecture in C
https://money.udn.com/money/story/5612/5458270

TSMC deny the report and is proceeding with the original plan at this stage.
> I don't know if it's possible to have an adequately fast installation of Jira

That's not my experience of Jira. The cloud version is the best, and our current on-prem installation is perfectly fine. I agree that Jira isn't the snappiest tool to use, but I don't sit there consciously waiting for it to do stuff.
I agree that anecdotes don’t negate a statistical observation. The original article isn’t a statistical observation though.
Clever Hustle Ideas for Entrepreneurs
Fear propaganda. Stuff like this is essentially "end times" doomsday prophecies from a cult that takes care to wrap itself in the appearance of science.
I'm not super familiar with v2 but from what I have read it's not clear how it achieves the same thing as IPFS. Yes, the file-hashing is deterministic, which can allow deduplication across torrents, but it doesn't seem to facilitate either discovery or addressing at the file level. Trackers/DHT and magnet links still only use the info hash (torrent level) as far as I can tell.

IPFS puts file/object hashes in the DHT so they are directly discoverable, meaning people coming to the same object from different from different places can find one another. It also allows one object to be explicitly addressed via an ancestor object's hash (<hash>/path/to/object), which has various benefits.
Clearly what is needed are remote controlled vacuum cleaners where an operator can take control when the vacuum stumbles upon imaginery cliffs. Maybe one day we could have people directly manipulate vacuum cleaners in physical space.
In my programming career, I had several situations where a base class made a lot of sense, with a dozen derived classes only implementing specific functionality. They were mostly algorithm-related.

OO makes a lot of sense in hierarchic structures.
(Not sure if this is the official explanation, but makes sense to me)

The issue is that you have references to the String (it's borrowed). That means it can't change, which isn't/can't be expressed in this struct. Imagine clearing the String: Suddenly all references in words are invalid which means you're referencing something invalid, very much not memory safe and a big rust no-go
Universal basic income to be tested in Wales
Snow science; 100 years later
"As of Windows Vista, Notepad has been modified to use a different detection algorithm that does not exhibit the bug, but IsTextUnicode remains unchanged in the operating system, so any other tools that use the function are still affected."

I find this line astonishing. I was hoping there would be more to this story than "we fixed Notepad and left OS function broken" but after following the reference it seems they just didn't think it worth fixing.
Growth mode vs. death mode?
I notice that the vast majority of comments here are lessons learned about office dynamics and interpersonal relationships. Which either indicates that soft skills are much more important than tech skills or that HN's mostly technical audience has had more to learn about soft skills than hard skills.

To buck the trend, I'm going to add a few "hard skills" lessons I've learned from managers.

From the best: "Every if statement is death" was an adage of one. He encouraged me to think deeper about whether conditionals were really needed, and at what place they were needed. That mindset helped me write clearer and more easily testable code.

From the worst: In code, "brilliant" solutions are like poems: they're beautiful, they're terse, and they pack a lot of meaning into each line. To mid-level engineers, they have an intoxicating appeal, because they seem like a good way to flaunt their talents. But more often than not, what is really needed is the code version of ordinary prose: straightforward, with a preference for clarity over succinctness, easy for others to understand, easy to edit, and with fewer surprises and deviations from convention than a poem. Your goal should not be to impress your code reviewer with your cleverness but to impress the person who needs to maintain your code three years from now.
fuck china accounts or usa accounts. i myself never downvote a comment.

you just broke all the rules of hackernews yet no mod here to flag/shadowban/warn you, how fair. you also discarded the entire human race based on your distorted ideas on good/bad yet here you are visible to all eyes.
Harry did a great job organizing Emacs Boston while he was out here.

This was a really well done talk.
I covered this in answer to a similar sibling question so see that for in-depth thoughts.

For me personally, it's the coming together of a bunch of things that make it better, I'm not sure I can think of any one thing it does so much better than all competitors rather than just be a very good all-rounder. Maybe ease of code-level configuration counts, (e.g. replacing a function with a custom bit of code as part of "configuration") but not really a "feature" as such.
Agree 100%
What about clothing? Why doesn't the office have a nice clothing store so I can properly dress for the office?

What if I need to get my car repaired? You are telling me the office can't have an on site mechanic? Oil change while I work would be a nice perk. Email me when it is done.

I don't need Home Depot but what about some packages of mulch for the lawn at a reasonable price?

I am so sick of this.
It felt like an insane amount of friction, with a generous helping of “If you don’t grok this natively then it isn’t for you”. The fact that no attempt was made to preset a cohesive set of defaults since that should be “trivial” was a real speed-bump and turnoff.
I'm watching with both amazement and amusement how Rust is undergoing the exact same process we went through with C++ in the late '80s and early '90s, pushing the belief that the same language should be used for both low-level and high-level programming. Back then, just as it is now, that idea was sold by programmers who are on the more capable end of the spectrum and who also enjoy spending a lot of time thinking about clever ways to express programs in a rich programming language. Then, as now, they were people who hadn't had much contact with the average software developer and with the realities of software mass-production. The few of them who had, also tried convincing the industry that the system should change, and that software should be developed by small elite groups who are masters of the discipline as well as discipline (I'm not talking about the people who like Rust, or C++, for that matter, for low-level programming, but about those who try to sell low-level programming for application development), but, of course, the economics always win.

Those who go down that path will experience the same disillusionment we did, and end up with applications that end up costing so much more to maintain if only because of the cost of the maintainers they require. Software costs work better when low-level and high-level programming are kept separate. The former is costlier but tends to be both smaller in size and in prevalence, while the latter is the opposite.

Of course, the number of people who make that mistake of mixing high- and low-level programming won't be nearly as high now as it was back then -- many of us have learned our lesson -- but it would still be interesting to watch this unfold again, even at a small scale. And, thirty years from now, some will be telling us why, while using Rust for high-level programming was indeed, a costly mistake, Muju is completely different, and this time a low-level language really and truly is appropriate for application programming.
Yeah, I tried picking rust up a few years ago and ran into a few weird issues that would block me from making good progress. I've now used it to create a parser that reads data and converts it to other formats (for my bespoke needs) and it's so fast it's crazy. I had much less issues this time, CLion integration with Rust is really helpful as well. The tooling around rust is now great (rustup, cargo, etc).
Angry much? Calm yourself down.

Clearly if anal oxygen proves to be safer and as effective then it will be adopted. No one is disputing that.

My comment was regarding your expletive laden derision of devices which save hundreds of thousands of lives.

And you seem to have missed the point. I did. It say hospital acquired infections are not prevalent or problematic. My point was that every decision in medicine s based on risk and benefit. If you need ECMO you will almost certainly die without it. If you have ECMO there is a compratively small risk of infection that may kill you.

And yes thanks, I did read the article. I’m also a doctor and have spent many months working in ITU, anaesthesia, and operating theatres, and managing acutely unwell COVID-19 patients.

Let us all be glad you’re not making any treatment decisions.
Do you think calling yourself a bad boy is self criticism?

He wants people to see him as a scoundrel with a heart of gold. Nothing I've seen from him has been regretful or contrite.
the windows 7 start button still "pops" out of the taskbar if you're using the taskbar in small mode
Personally, I try to detach it from myself and think in term of process, even if they are just internal processes (as in processes I created for myself).

Why was this bug not prevented? Did I follow the processes? If yes, why did they fail, and how can I change them not to fail next time? If not, why did I not follow them? How can I ensure that this will not happen again?

Also, can I share my experience? Can I learn from someone else experience? I think it's very good to say "I did this and that, which I thought would be enough, but it wasn't, how do you guys do it?".

Not saying it's perfect, and I always feel bad whenever there's a bug in code I wrote, but I'd rather hear about it, if only just to try to reduce the amount of time this happens in the future.
By realizing that a purely technical solution is not enough.

- make it easy to report suspected cheaters

- include footage from the cheater, not prerendered but as client state

- create a way for experienced players to judge, from multiple angles, with proper randomization and incentives

- require an id for creating an account. Ban persons not accounts
i have no idea why people are down-voting you, you speak the truth. the cold war era was often driven by "the enemy of my enemy is my friend" kind of logic.
That’s the problem with something people build a community around being controlled by a company. That’s why open standards are better than a company. Also small things are often better than big. For example there are some great forums running in PHPBB or similar and lovingly maintained by owners. No bullshit like you get on modern apps making it hard to do what you want because like you say KPIs etc lead to dark patterns.
It's a great way to get decent content, I think DigitalOcean and Linode use (still?) do that. Great marketing tactics to boost website traffic :-).
Naaah... it was the need for more beer.

Jokes aside, there is a significant body of prehistorians who hold this as a serious opinion, so it's puzzling to me that the article doesn't address this use of grains as a driver for the adoption of agriculture.
Facebook, google etc are also an extension of American 3 letter agencies, so I get why people don't really care. Almost better to ship my data to ccp that cannot really use it for anything, than give big US even more on me.
You should almost always be running Bash in `-e` (exit-on-error) mode. This necessitates precisely the construct mentioned in this article.

For example:

set -e

var="$( false )"
if [ $? -eq 0 ] ; then
echo Ok: "$var"
else
echo Not ok: $?
fi

If you run this program, neither "Ok" or "Not ok" will be echoed, because the program will exit with an error on the `var=` line. (Not to mention the $? on the not-ok line won't work because it will be the exit code of the `[` test command in the conditional, not the exit code of the captured subshell command).

Instead the following will work:

set -e

if var="$( false )" ; then
echo Ok: "$var"
else
echo Not ok: $?
fi

Note that this will _not_ work:

if ! var="$( false )"; then
echo Not ok: $?
fi

Your output will be "Not ok: 0". This is because negation impacts the exit code of the previous command.
some frat boys beg to differ

https://en.wikipedia.org/wiki/Fart_lighting
Ha! I did try using the remote control (both in app and infrared) but the unit refused to move into "danger". Thereby fulfilling at least one of Asimov's laws.
To be fair, a trait gets you 98% there. It can have default implementations for most functions, you just overwrite the ones you want to change.
You'll still need to declare the underlying struct though, so a bit of extra code
Some things I find by searching for very specific things, like say YouTubers in Thailand or (lately) modular synthesis which led me to Andrew Huang[0]. Other stuff I get pointed to by friends, eg Mark Rober for his anti theft videos which are hilarious. And some things are YouTube suggestions, the algorithm seems pretty conservative but it has turned up a few good things.

There is great stuff out there, I find the amount of garbage I actually see and have to skip over is pretty small these days.

[0]: https://youtube.com/c/andrewhuang
Unconstrained templates can also sometimes be a massive time saver.
Two trapped divers only have one rebreather left between the two of them. The conscious diver clenches his butt as he removes the tube and plugs it into his partner's ass for a few seconds.

I'm getting Requiem for a Dream vibes from this.
Ransomware: Another great "feature" of computers.
What mobile browser you like? Safari? Firefox is pretty good on a modern android phone (my Mate 20 Pro)
Interview with an NFT Artist
People don’t realise this when they think of landfill.

In future, we could have an effective way of mining landfill for resources. Some forms of recycling now are highly inefficient and it’s conceivable that we’d be better off utilizing landfill and recycling with better techniques later.
Thanks for this story! I haven’t seen many practical examples yet.

Fun fun :)
Signal's Terrible MobileCoin Betrayal
> I agree that Jira isn’t the snappiest tool

It is forbidden in the ToS 3.3 to “(i) publicly disseminate information regarding the performance of the Cloud Products“.

https://www.atlassian.com/legal/cloud-terms-of-service
I have to give it to logrocket's articles, using Rust for a marketing push and being on the frontpage of HN.

Seems like I should make a Rust article just for it to soar to HN's frontpage, just for developer marketing of my product that is unrelated to Rust.

Bravo.
FastAPI default configuration leaks traffic information to third parties
Here is the footage we were able to recover from the incident https://www.youtube.com/watch?v=CIx0a1vcYPc "Sci-Fi Short Film “Wire Cutters" | DUST"
I really like DigitalOcean for this but you might feel they are too big but they are not MS/AWS/GCP

I feel digital ocean gets out of your way. AWS especially feels like you are in an AWS rabbit hole for a lot of stuff. After spending an hour trying figuring out how to give a specific IAM user read write access to a bucket. I said fuck it and just decided not to use S3 to backup my Wordpress site
> The fact that there are downsides doesn't make everything else false.

When we say something can be done but mean that it can be done only by a select few, at great effort, and at a scale that's orders of magnitude smaller than what that "thing" normally is, then the meaning of "can" is misleading.

> ~100KSLOC (e.g., CompCert)

The total proofs may come out to that, but it corresponds to a ~10KLOC program (without proofs).

> A future might exist where computers are fast enough and where we've uncovered better algorithms in that space so that something else could take the place of Coq and lessen that workload to something manageable for a typical project

The problem is that the gap between programs that can be verified end-to-end with the semi-manual deductive proof technique used by Coq and other proof assistant and the typical software has been gradually growing, as the scale of software has grown faster than the scale of effective deductive-proof techniques. Today we can verify smaller programs relative to the average program size using such techniques than we could twenty and thirty years ago (although that's not to say that our ability to use that particular technique for small but critical components hasn't improved, and that is where that technique is hoped to be more widely applied).

Which is why many in the formal verification space are looking in other directions when it comes to verifying the actual code, mostly methods that forgo soundness, like concolic testing and its descendants.
"exceptions, such as HN", you really don't think there's a hivemind here? Or are you censoring yourself in fear of downvotes, precisely as per OP. There are many ways to get to top of HN, few examples: write a rehashed "Kubernetes sucks" article. Write anything about Rust. Write an article criticizing Google. Write an article about how webdev is "wrong" nowadays. Etc. Etc. Etc.
> Being part of the "western" aerospace industry and collaborating with NASA, I do consider it our homework, yes.

Being part of the "western" agricultural industry, you keep eating our homework so we have to do it again.
Agreed, I thought that was implied in my comment but reading back it isn’t.

I disagree that going above your boss first would lead to getting fired though (again with the exception of at will employment).
Wouldn’t the water seek isotonic equilibrium by moving to the side of the membrane with higher salt concentration? I don’t think that would work in your body’s favor.