skysight-inc/HackerNews huggingface dataset:
I am building my first "big" project in Rust, and went through this issue.

Lifetimes are actually pretty simple, although anonymous lifetimes and the compiler inserting implicit lifetimes at compile-time can make the actual behaviour hard to parse.

But if you are saying you don't get it, and you are in the middle of a project (my state a week ago) then the issue is your code. References everywhere gets messy very quickly with Rust's borrow checking, and lifetimes should be used sparingly.

I will also give my very imprecise definition: adding a lifetime to a struct means those references in the struct cannot die before the struct dies itself (and where this can go wrong is having some kind of mutable state composed of references...because when you try to mutate that state from an implementation, the data will be destroyed as you go out of scope, and you have a dangling pointer).

They seem like an unnecessary complication, they certainly did to me when I was wading through compiler errors...then I try to do something wrong, and I realised why they exist. It is really worth sticking with.
Directly from article: "And because everything is made from aluminum, stainless steel, and UV resistant ABS, FarmBot will last for years in outdoor environments."
They didn't. That's what drives accumulation of specific mutations which are mentioned in the article. To be clear, large part of population died off (before they could reproduce) simply because they happened to get slightly more susceptible genes.
Relevant classic post: Most of What You Read on the Internet is Written by Insane People, https://www.reddit.com/r/slatestarcodex/comments/9rvroo/most...

^ previously on HN twice, https://news.ycombinator.com/item?id=18881827 and https://news.ycombinator.com/item?id=25600274
Google skimps on customer support because it is economically rational - the legal cost to them for the consequences of criminal or unethical acts perpetrated by their systems is much less than the cost of adequately staffing CS.

It is good for society when Google has to pay for their mistakes, because it encourages them to provide higher quality service and be more responsive. Just letting it go encourages them to keep cutting quality of service, because they can.
The reason you don't see many projects written in C# is that there are far fewer open source C# projects than Java/Go/etc. Most C# is written in-house (enterprises, some startups (admittedly relatively few.))

I've been a .NET Dev for 20 years. C# keeps trucking along adding features at neck-breaking pace. That can be good and bad. Personally I wish F# had more resources assigned to it at MS. Having said that C# seems to be getting more and more F# features as time goes on.

I did a small amount of Java in my career, and learned golang on my own time. Neither clicked with me or swayed me to consider a move to full-time employment using those langs. I've been learning Rust most recently and I'm considering looking for a job doing Rust.
The author’s ZeroSharp project is also interesting. It shows how you can compile C# without any runtime. No garbage collection, no exceptions. You can perform stunts like make a 5KB Hello World or a EFI application that runs with no operating system:

https://github.com/MichalStrehovsky/zerosharp

I did a survey recently of binary sizes for .NET apps and comparisons to other languages. Things like NativeAOT (on which Bflat is built) and Graal Native Image let these languages get down to a binary size , startup speed, and deployment model similar that enjoyed by Go and Rust developers.

https://github.com/AustinWise/SmallestDotnetHelloWorlds
Just need to modify your desktop to work with such a display appropriately, no motion, no quick changes.
I deleted my LinkedIn account a while ago hoping to never look back but unfortunately it's impossible to completely avoid it if you are in business of any kind, in any capacity. At the very least when you look up a potential hire (or a potential employer, partner, etc) you end up on their LinkedIn profile in the majority of cases. For this, I keep a zero-contact account under a different email so that I can preview people's and companies profiles.

For my online CV I settled at AngelList. Not as creepy and invasive as LinkedIn, very clean and honest UI, does the job of presenting your positions and projects just fine.
Evolution is also a theory right?

To reject natural origin of COVID you need a lot of research and hard data. Memos and journalists investigations aren’t that.

Equating man made and natural origin as two equally valid theories is just dishonest.
Fwiw, zoho’s brand logo has needed an update since the crm launched. The child blocks don't scream professionalism.
Yes. We have a hard-limit of entities you can create. You only lose the ability to create new stuff, but you still can view and export everything.

We don't believe in taking data as a hostage.
Conversely, if you work for a company that lists it's "values" as something like "Being customer-focused", it's easy to find ground upon which to push back on things that go against the company's supposed values.

Software engineering is largely think-work. Some of it is creatively coming up with ways to solve novel technical problems, but an often understated part is thinking about how your implementations will affect your users, and optimizing for solving your users problems.
You're on a forum filled with bored software engineers, posting details right here is a pretty good idea ;)

If contract work isn't against the rules for them (not sure), and the job is otherwise reasonable (feasible, not too open ended, not throwing up giant red flags) I bet he would get some bites by posting to the monthly "who is hiring" threads too.

Depending on the details of the request I might be willing to do it, more because I think it might be interesting to work on a "farm equipment control system" than anything else. Coincidentally I gave notice at my job a week ago so I'll have some free time coming up.
The answer would be in the user agreement. If it does not enumerate permissible ways of cancelling, then yes. Otherwise idk but probably not. Contract language which limits methods of cancelling is likely enforceable unless there’s a statute prohibiting it.
> Was it justified to stop issuing AstraZeneca vaccines after reports of blood clots? Yes.

Justified, maybe. The best policy decision in the face of widespread hostility/skepticism? Probably not.
> Or is this a case of "it's not interesting if it's not in SV"

This is a case of "get deep knowledge about something which can not be replicated by googling your way out".
Become a recognized expert in compilers, OS internals, or similar areas and suddenly you get $250-300k anywhere in US/Canada. Europe tech salaries are much lower.
>Well, it is really difficult to tell them apart these days. Mozilla does like to copy everything google does, if you look at firefox.

Indeed similarities exist. Still, no where close.
The fact they have significantly more than 250 employees in the first place is a bit mind boggling. As far as I can tell most of the spending is unrelated to Firefox. What do all of these people do and why are they needed?
IMHO to not be gamed, management needs to operate on a conceptual level which is similarly sophisticated, or surpasses in sophistication, the conceptual level of the employees (or suppliers).

If there's a single KPI and all the reward is tied to that without any balance, sure that will be gamed.

But if there is a well-defined, appropriately complex reward function aligned with the utility of whatever the organization delivers to the outer world, I would consider that a positive.
Agreed. I like the behavior of traditional unix talk, which worked like that.
Ask your doctor if they gave LinkedIn access to their contacts file. If so, it could be a HIPAA violation, which both they and LinkedIn would have to take seriously.
You can also just chargeback the charge on your credit card. You’ll probably win if they make it hard to cancel and they’ll get the message fast
I Googled it and wasn’t able to find anything terribly interesting. From a brief look at the Wikipedia page I can’t find anything unusual, other than the most recent vandalism:

https://en.m.wikipedia.org/wiki/Special:MobileDiff/102963491...

... which isn’t exactly terribly substantiated on its own.

Furthermore, unless this opinion piece is demonstrably in bad faith I dunno why that would detract from viewing it in a fair light.
After a recent purge of Amazon spy devices in my home, I'm left with a non-functional Echo Wall clock. It seems rather sophisticated, since the time can be set remote (it does eat batteries though). I like the design a lot and would like to keep it around.
Has anyone been able to hack the firmware? Could the motor be 'hacked' with the Crazy Clock PCB?
Controlled HTML select element in React has weird default UX
Yeah, I've heard that Visual Studio's debugger is awesome and has no competitors.
Well the statement “nobody makes a better car at that specific price point” is a bit less bold than the original claim that every other car company is “easily 10-15 years behind”.

I mean it’s obviously an absurd claim anyway, Tesla is less than 15 years old and clearly the other car companies aren’t starting from scratch.

Besides, the Taycan now starts at $79k, not $120k. You are comparing the cheapest Tesla against a higher range Porsche. It’s pretty much cost competitive with the Tesla Model S. Not everything is about performance anyway, I doubt I need more power than either car - a comfortable driving experience and build quality would be more important to me if I was in the market for one of these cars (which are all more than I would want to pay for a car).
Wouldn’t the more reasonable explanation be that either OP’s (to their own admission) or the doctor’s contact list got extracted and the “match” was established that way?

I don’t believe that visiting someone’s profile automatically makes you a suggestion, but I may be wrong.
> How could an oven

Starting pre-heat before you get home.
Monitoring temperature away from home.
Leaving a dish in the oven and starting it at a specific time, say an hour or two before you leave the office and head home for the day.
Checking if you left the oven on after you left home.

> or washing machine

Notifications for the end of the cycle.
Status of detergent levels if equipped ("Do I need fabric softener?" whilst at the store).
Starting a load (similarly to the oven above) while you are on your way home so you don't end up with wet clothes sitting all day, so they're ready for the dryer when you walk through the door.

--

I get your popular cynicism, but c'mon now. None of the stuff I'm outlining there was researched, it was all off the cuff and I live in an apartment with "dumb" appliances from 1996.
My dream is to make gardens under geodesic domes. In UK there is Eden project with 2 domes: one has mediterranean climate and another tropical. Imagine being able to grow mangoes and pineapples almost anywhere (it maybe too expensive in some climates, but maybe just growing strawberries there would be nice). https://www.youtube.com/watch?v=MWr67v620kY
re: posting to a chat I suspect it is routed through sharepoint for good and ill. Different set of tradeoffs. FWIW i've never seen it quite that laggy, but have noticed before.
Younger people will remember their college education better, which will also happen to be more up-to-date with contemporary perspectives and techniques. But that's knowledge, not a skill. Good journalists rely on experts, and better journalists rely on multiple experts (for a topic, but also over time) to derive a sense of what's unknown and uncertain in a field.

On social media nothing is ever unknown because there's always a large and emphatic group--some of whom will have PhDs, MDs, and other high-quality credentials--telling you with absolute certainty the way things are, and that's reflected in modern journalism. Not necessarily the certainty, per se, as outside academia the certainty of most information is inflated; but the shear breadth and depth of what's reported.

To be clear, "young" to me includes people in their 30s and 40s, which also happens to be my age group. I've been watching in real-time the turnover over the past several years of radio journalists (NPR affiliates, etc) and print publications and I definitely see a change. The level of credulity is much too high, as is the level of partisanship. For nearly 15 years I disagreed vehemently with claims that such outlets were too partisan (notwithstanding FOX News and similar outlets), but over the past several years I can no longer sustain such defenses. The latest generation of journalists don't believe they're partisan because they believe the information they share is rooted in science, but real science is contingent, and the further away you get from hard science the greater the uncertainty in various claims, but because "science" discourse has become pseudo-religious and partisan the reality of this is lost.

When you read a research paper, coming across the complexity and diversity of approaches and results is one of the most important aspects of the experience. It's difficult for experts, let alone journalists, to convey uncertainty and inconsistency. That's why it's so important, if you can, to read primary sources yourself. It doesn't matter whether you can understand the chemistry or calculus behind results. You can simply take the results and claims at face value, which in the vast majority of cases is how they'll be presented to you through the media. What matters is synthesizing the importance of the gaps that come into focus after reading many papers in a field.
R does something like that, it's pretty cool.
This is how I interpreted it. "Be flat", as in, be as small as possible.
The problem is people are idiots. They get a false positive and their doctors tells them "well there are a lot of false positives with this test" but all people hear is "you have cancer." Then they get an invasive biopsy because the healthcare system is glad to take your money.
I don't think it'd be very effective. Running the marketing and seeing what works is a critical feedback loop for finding product market fit. Someone who can do that on your behalf is probably expensive. You could probably find somebody to do social media or whatever for you, but there's no guarantee that's the most effective channel and, again, if you don't have product market fit you'd be shoveling money into a firepit.
The slow, dragged out removal of ALL restrictions continue.

With 72% having received the first dose of the vaccine, it would have been nice to see a complete removal of all restrictions.

It would be interesting to see the thoughts behind this decision.
Now, if only I could somehow take that parquet processing optimizer out of DuckDB and into a Postgres fdw reading parquet files... that would make my ETLs work great.
Does anyone know of another open source project that uses an optimizer to perform queries on parquet files?
1. you can import bank statements. We aim to support all the banks our users have.
2. since we encrypt every bit of data on the client side, we cannot differentiate transactions from categories. So entity is anything you create within the product. Most often, it's a transaction.
Well this is Facebook too. It is beyond apalling.
It would be better as Bx (B double-sharp), which is enharmonic with C#
A sizable number are never going to read the article or judge its merits. Instead they'll click an arrow based on whether the title matches their biases. "Yup, people I don't like have psychological issues..."

For the few that might it is generally worth knowing whether it's actually worth the time. If the writer is someone considered and knowledgeable, on a credible venue, for instance. I know nothing about this site/writer so I'm not commenting on that, but generally that is an input before one spends the time on an essay.
Sure. That isn't what the parent-most comment was doing, though. There was no analysis - just blanket dismissal.
Whoa. Not just all non-Windows users but browser based. That's neat. I was interested in trying it out but didn't want to download the software.
Now I understand the story: Qu was salty because his debug message was deleted by the person from Huawei. Qu was mad. Such a trivial event, and still made to HN because of a few keywords.
Why doesn't go build extra dependencies in the current directory instead of polluting $GOPATH/src ?
BTW, mentioning his origins probably has something to do with "saving face", it was probably more embarassing to the Chinese patch submitter to have been criticized by another Chinese person compared to a Westerner, since in Asia the mentality of "we're from the same country, we'll look out for each other, and one of us shouldn't be making another look bad in public." is more pevalent.
Is the pricing really too high or just lacking in subsidy due to monetization of your data?
So is this a step down from c#?
Just because statistics is involved doesn't make Social Science a 'hard' science
Legit isn’t the right word.
> Why can’t we observe ourselves medically and analyze that record for early signs of trouble before it becomes serious?!

Maybe one day we'll have cybernetic implants that can constantly monitor our health. Hopefully it won't turn into a privacy nightmare.
> Should it though?

Fuck no. I'm really tired of these stories.

(this is all directed at the author that put that "it should make us worry" quote in the NYT piece, not at any HN poster, but I really need to vent)

The 1918 pandemic turned into seasonal influenza one we had enough herd immunity, enough people had T-cells that recognized H1N1 and the virus was forced into making sacrificial choices in order to spread.

This virus will not achieve an escape mutation that puts us back to square one with vaccinated or recovered people at the same risk everyone was at in 2019.

If you look at what happened in 2009 the H1 envelope protein of that virus traces its lineage back to the 1918 pandemic, it spent 50 years mutating in pigs before it jumped back to humans (that is a LOT of generations of fucking "variants") and people who were born and exposed to pre-1957 H1N1 when it was endemic to the human race had cross reactive T-cells which protected them. They still got infected, but the disease burden was vastly lower so that pandemic fizzled:

https://pubmed.ncbi.nlm.nih.gov/21653752/

The human immune system isn't a binary on/off switch, and while circulating neutralizing antibodies are the gold standard of immunity they are far from the entire story.

If you want to read an article supporting the idea that the coronavirus will transition to milder endemicity without all the irritated swearing read this:

https://science.sciencemag.org/content/371/6530/741

And everyone can fuck off in advance about the idea that ADE will happen. If it was going to happen it would have already happened and this isn't Dengue:

https://blogs.sciencemag.org/pipeline/archives/2021/02/12/an...

All the fucking headlines about how 99% of the people who are dying now are unvaccinated are screaming out that there's no fucking ADE anywhere to be found. People still talking about ADE need to see a psychiatrist to deal with their addiction to doom and gloom.

This pandemic is ending. I'm 2 months post vaccination and everyone I'm in close contact with is vaccinated, so its pretty much entirely over for me.

Now I need a fucking snickers bar.
I'm a determinist- I believe that if I were in an identical environment with an identical brain, I would behave identically. Reading social media, I see a lot of value judgments on people that rub me the wrong way- this person should be hated, that person was evil, etc. Extrapolating from my premise, I feel like those judgments apply to me and it stings a little.

Reading history, I encounter statements about what people did and about what motivated them to do it in a way that is aligned with my deterministic outlook. I never find myself bristling at a historical biography the way I do in, eg., this thread. The author might want me to judge someone, but they don't tell me to do so or even express directly that that is their belief.

I don't think a rule like, "you can't say someone is good/bad if you didn't know them," would result in a change to any history texts I've read, though I expect there are exceptions that I have not seen.
Ask HN: Collaborative SQL Playground?
Hi there. Does anyone happen to know of an online, collaborative SQL editor where teams can work on queries together and see a live preview? Kinda like codepen/codesandbox/Postman but for SQL?

Preferably speaks Maria, but the particular dialect is not that important... more just trying to figure out different joins as a team.
They have the most productive and high quality engineers in the game. And I say this as someone that whinces at telegram for not having e2e encryption by default.
Why won't you just copy your parquet data into Postgres?
Yes, it actually can! We do not have native apps, but you can install a PWA on any platform, including mobile and desktop. It will work in offline thanks to Service Workers.

The app itself is 100% rendered on the client side, so we are in that sense local-first. We use backend solely for data sync and authorization.
>About 70% of DID patients are also diagnosed with BPD, and the two conditions are often considered part of the same spectrum.

>I’m certainly not saying that all trans people have personality disorders or that being trans is a mental illness.

A little bit of whiplash on this one. Despite the sentence or two claiming what the author is purportedly not doing, the rest of the article seems to indicate otherwise. If you don't want an article that makes you look like you're conflating trans people and mental illness... don't use a trans person as a springboard to talk about mental illness.
>Breast cancer awareness programs are a good example of early screening programs not being an exercise in mass hysteria.

This example also shows how screening can be recommended against because that's better for public health. The US Preventive Services Task Force (indirectly decides what Medicaid/Medicare covers) has different recommendations than the American Cancer Society for how often women of certain ages should have mammograms. USPSTF recommends against routine mammograms for women aged 40 to 49 if they don't have other risk factors. ACS recommends biannual mammograms start at age 45.

The reason they differ is because of how they weigh the reduction in deaths against the harm of false positives. Routine mammograms will prevent breast cancer death, no doubt about it. But notice neither recommends routine mammograms for all women below 45, even though they accounted for over 10% of breast cancer diagnoses in 2014-2018[0].

The math is tricky when comparing a risk of death against quality of life and economic costs. Public health is a matter of public policy as much as health.

[0] https://seer.cancer.gov/statfacts/html/breast.html
It doesn't matter whether any voter understood the distinction. These are two different events, neither of which had any effect on the other. I'm not convinced most voters were even aware of the DNC email leaks. The USA news media certainly didn't want to emphasize something that put the USA news media in such a bad light.
Cool! I had this exact idea a while back but never took the time to build it. Glad someone did.

Unfortunately I can't seem to watch any of the matches on mobile Safari; the grids are just blank and the buttons underneath don't do anything. I do have some ad/tracker blockers, though I wouldn't think that would matter