skysight-inc/HackerNews huggingface dataset:
I really like Nim, and every now and then I go back to Nim for a side project or a small tool.

A couple of things that annoyed me personally about it though:

- Its object orientation story is weird. There is inheritance and there are methods, but there was something off and I can't remember what. I think it did not support runtime polymorphism, which to me is one of the main points of object orientation. (e.g. you have objects of different types in the same container and you call a method on each, instead of using an `if` statement.)

- Related: it had a way of specifying if a relation is covariant or contravariant. Covariance: If a TextBox is a Widget, then a Handle[TextBox] is a Handle[Widget]. Contravariance: If a function takes a list of Widget, you can pass a list of TextBox, but not vice versa. This never worked properly as far as I can see. I tried to fake it by defining implicit converters (another nice feature), but this caused extremely long compile times.

- Also somewhat related: I found there is an interesting effect system. I created some annotations that allow you to say: "this code must run on the main/network thread" and it would check it at compile time! Unfortunately it got a bit messy because there was no fine grained way to say "this code requires this effect", "this code sets this effect", "this code forbids this effect", so I ended up doing a lot of casting.

Granted, these were somewhat obscure features. If you use Nim as a kind of compiled python for small tools, it really shines. Its a bit unfortunate that there were a couple half-baked corners in there. But I guess that's expected if you are trying to innovate as a language. Looking forward to seeing how the language developed in the meantime!
No reasons or substance given. This is how bad orgs continue to operate. Everyone is afraid of pointing fingers at the aggressor. Name and shame. Then If the rust org refuses to fix it, we know who to not involve in the fork.
If thou wants to be consistent, drop the singular "you" as well.
If either of those were the reason, wouldn't we expect that to have made a difference throughout most of the pandemic? In other words, we wouldn't expect them to have just recently become the lowest in Europe, they would have appeared to be the lowest for a while now.
I'm mostly ignorant of the mobile space, but how plausible would it be to get PureOS installed on an existing handset? I'm guessing the process is considerably more involved than an Android ROM, but how crazy are we talking?
Neat! I haven't heard of this one.
In the US it is legal to defend your life and safety from those attacking you.
I don't think I have a solution, one idea I have but it probably won't work since billionaires would make sure it won't happen, have a more fair taxes, if you made an obscene profit we would tax it and invest in public research. The issue is big corporation hide their profits, are you wondering why is Google, Apple Store taxing me on the sales and not on my profit? they don't want you to hide your profits as they do.
I can see the charm, but they are more expensive per kwh than a powerwall.

However the form factor is a definite winner, along with the stacking. I;m not sure about the integration into solar. But for what it is, a portable power block, its very nice.

On a side note, I would love to see some weather proof alternative to a tesla powerwall. I dislike Tesla as a company, and it pains me to see that they only decent product out there being owned by them
Humor HN: Can I get a +1 for Austin Powers connection to title word?
Ask HN: Experience with weak labelling (e.g. Snorkel) for data annotation?
I'm trying to learn from the experience of others about weak labelling.

Weak labelling: writing heuristic rules to approximately label a dataset, and using those as a form of 'weak' supervision for training a machine learning model. Snorkel.org were pioneers of this approach.

Would love to hear any real world tales of trying it! What worked well and what didn't? How easy was it to get domain experts to write the rules? How did you mix ground truth data with probabilistic labels? that sort of thing.

context: we're building tools in this space.
Congrats to you, your child, and your employer who was remarkably amazing throughout the whole thing! You're a good dad
Strikes are not one day events. These are demonstrations. As far as I know, Amazon has no unions.
There is to be a cause, but there is no need to broadcast it to the world. The specifics are mainly a matter between the employee and employer.
Curious as to why the post is flagged?
If only they had the power to actually enact legislation
> Providing legal representation to those who may have been denied a fair trial

This is partisan?
Open Source privacy-friendly firmware replacement for Robot Vacuums (ie Roombas)
This is something I've been eyeing for a while and that I'd like to see if anybody in the HN has already explored this. My crappy non-branded Roomba is dying, and I'd like to get a new one that has fancy features like LIDAR to do SLAM navigation in my house. I also don't want to have to enable Cloud services to get support for fancy features like remotely triggering the robot, telling it to sweep a specific area, etc.

Fortunately, it seems that all of that is possible by using this firmware. It looks pretty good for specific robots, and I'm about to pull the trigger. If anybody has any feedback to chime in with though, I'd love to hear!

I'm probably going with the Z10 Pro robot from the list of recommended robots here[0]. Runner up is the L10.

0: https://valetudo.cloud/pages/general/supported-robots.html#d...
> Internal documents reveal how a former aide to Joe Biden helped the tech giant build a lobbying juggernaut that has gutted legislation

nothing is going to happen, especially considering the complaints are related to Alexa recordings. NSA/DOJ love the idea of having recording devices they can hack/subpoena whenever they want, they are basically opt-in 1984 telescreens. All Amazon has to do is remind Congress behind closed doors that they are an extension of the surveillance state
Yes - but Purism is really limiting their audience here, going for the tech nerd privacy conscious crowd.

I know far more people in my life who are privacy conscious but not tech nerds, to the point they would consider buying a flip phone.

If Purism marketed to them as being a superior private flip-phone alternative, they could sell far more phones.

I guess what upsets me most is that Linux companies like Purism claim they want to build a 3rd ecosystem. You aren’t going to get a 3rd ecosystem going with videos like that.
IMO it makes sense that the Rust moderation team should also be the Rust core team, and that losing the confidence of your peers is the scope and magnitude of wrong that should trigger action. This will allow some modicum of abuse per the culture of any core team, but it will also align power with incentive and avoid power paradoxes like "who watches the watchmen".

This is similar to how some legislative / deliberative bodies administer themselves.
Isn't internet access at your fingertips a form of transhumanism? So maybe it's ok, people do indeed "know" more in an objective sense.
Some of us respectfully disagree.
> Instead of one JWST that takes multiple billions and decades to complete, we can have 10 or 20 less capable satellites built on the same budget

These 10 or 20 telescopes can be as capable as the JWST. And not only because they could just be manufactured copies of the original.
Remember the original budget for it was about 500M. A lot of the ballooning price was because they had extremely tight weight and size constraints (for example, the sunshide had to be insanely light, because almost all of the weight budget had already been allocated)

By using Starship, weight can absolve many sins...

https://news.ycombinator.com/item?id=29189345
GoDaddy has the weirdest tech stack/tech support combination I have ever seen. I once had an issue where I was unable to update my credit card information, so I contacted their support. Their support process is basically having you give them full access to your account and then having the support person navigate your account like a regular user to see what problem you're facing. So, because I had a problem with the payment flow, she literally asked for my credit card information so she could see which error I was seeing. I was cool headed enough to explain why that was a ridiculous request but hanged up after that. No wonder they got hacked.
I'm not very familiar with these Rust institutions. What are the moderation team and core teams? What places are the moderation team tasked with moderating, and what powers do they have?
But similar to hash collisions, a total break (arbitrary hash values can be output) isn't required for it to be a problem. Where fingerprint scanners aren't magic (especially given the sloppiness of input data), that they're defeatable in corner cases should be enough to be worrisome.
Most Linux software doesn't need porting at all - just recompiling.
It is also completely unrelated to a programing language, so the commenter's grievance seems founded.
It has public mailing lists.

https://lists.isocpp.org/mailman/listinfo.cgi/
> Otherwise, if a person is generally toxic enough, they will be worked around.

This often puts a considerable drag on the whole project, one that can easily climb to way above the contributions of that person. Even worse, this is often not visible at the project level, as multiple people start independently avoiding this person, even finding technical work-arounds to avoid working with them; while their direct contributions are visible to everyone, making it seem like they are indispensable.

The situation with Linus is even more interesting: for years people have worked with him knowing that they sometimes have to endure his abrasive manners. Then, one day, enough people seem to have discussed this with him, and he decided to accept their feedback and change his ways. How much more successful could Linux have been had this discussion happened 10 years earlier? How many developers have quit or never started working on Linus out of social anxiety? Perhaps it's 0, perhaps it's not.
I'll add another cautionary tale....

At the start of my career, I worked as a SWE at one of the FAANGs. After 3 years, I couldn't take it anymore. I hated everything I worked on, nothing was meeting my lofty expectations, and I thought about quitting constantly.

Eventually I pulled the trigger to go and "do my own thing." I didn't have a backup job - instead I worked on my own projects with a cofounder and tried to turn them into a startup. We struggled mightily. We didn't raise money, and we couldn't find product market fit. Every month I was watching my bank account drain, and I wasn't drawing a salary from anywhere. The stock in my own startup was worthless.

This continued for 2.5 years. Eventually, I had had enough, and I knew something had to change. I went and tried to get my old FAANG job back, but couldn't - probably due to my entitled attitude when I was there. I struggled with interviews for a couple of months, and eventually landed at a company several steps down from my old position, making about half of what I had at FAANG.

About a year ago, I switched back to a different FAANG after having been at that other company for 6.5 years. Why I stayed for so many years is a long story.

So ironically I'm back to where I started, but wow did I cause myself a lot of trouble. I watched for years as my old friends went on to make double and triple what I did, for doing the exact same job. In the meantime, I was more stressed out, dealing with a worse bureaucracy at a company that didn't value engineering.

Leaving FAANG was something I had to do. I had to get the startup out of my system, and I couldn't continue at my original job the way that I was. You can't buy perspective, but I probably cost myself something like 1-2 million dollars in the process. Many times over the years I've questioned "Why couldn't I have just stayed at that cushy job like so many of the people that I knew?" I know there's no way that I could have given my emotional state at the time, but I can't help thinking about it.

So I could tell you a bunch of lessons from my experiences, but unfortunately they're probably best learned yourself. You have to follow whatever you think is right and hope that things will work out for you. Usually they will in the long run - but the short term might be painful.
I don't think the definition has changed philosophically, but using consciousness as a definition makes decision making very hard. We have no way to prove what animals are and aren't conscious, and what evidence we do have either way is extremely hazy. Using a line like "is more than automatic" to define what we think is probably sapient is pretty reasonable. Maybe it catches some things that are just complex machines with minor learning capabilities, but if you're more worried about excluding sapient beings than including non-sapient it's a reasonable heuristic for decision making.

I do personally think the line can be pulled back a bit to include creatures that's learning ability is extremely inflexible, but in the end it comes down to one's philosophical stance on what is likely to indicate a conscious creature.
Also...from the first line of Rust's CoC:

We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.

And the first line from the Moderation section of that same document:

Remarks that violate the Rust standards of conduct, including hateful, hurtful, oppressive, or exclusionary remarks, are not allowed.

It's not just that it's a controversial political view -- it's a clear violation of the first rule of participating in the community. It's rules for thee but not for me.

If you're a man, I don't see how it would be possible to feel safe or welcome in _any_ association with the Rust community when a prominent Core team member is advocating for you to be killed.

It's like saying that Hitler's position on Jews is just a controversial political view.
- CI servers could do much more and their findings should be merged back into the IDE UI: integration tests, CVE analysis, tracking possible merge conflicts from concurrent feature branches

- Bake the distributed nature of the software process into the IDE. What environments and servers is the developed software running on? That information is currently spread out over multiple tools and should be synthesized and presented coherently from the IDE, so one could dive straight from it's IDE into a problematic server and start debugging using the appropriate code without having to spend 2 hours reproducing the build configuration locally.

- Finally, _Team Workflow_ is especially taken for granted, ground rules being implicit in most organisation but having the most actual impact on team productivity. How long should a PR take? How is the software qualified for release? How should new git branches be named? Important, basic stuff that changes across teams and projects that should be formally documented to lower friction for newcomers and small-time contributors. This would turn perceived arbitrary "gatekeeping" into a rational, safe processes.
What’s your point? Of course it’s impossible to reduce our footprints to absolute zero, but that doesn’t mean that we shouldn’t reduce them. And that there are certain situations where it’s it hard to make correct judgements doesn’t mean that most aren’t quite easy. We can’t afford flying over half the world just for pleasure and entertainment. We can’t eat steak or hamburgers every day.

And maybe the easiest way to do as little damage as possible is to not spend so much money, even when you have them.
This is a good question. I don't have an answer. I don't eat meat, never have, never killed anything in my life, other than mosquitoes. I assumed that boiling alive is a horrific way to die.

As for pigs, I found the article https://theintercept.com/2020/05/29/pigs-factory-farms-venti...

That is from last year.
Just wanted to say thnx.

This was informative.
The other problem with always angry protesters is that the list is endless, so as soon as something gets fixed, the next day there is just another protest for something else.
Perhaps you will like videos here more: https://puri.sm/products/librem-5.
Is anyone surprised by this?

I've been telling my friends for a couple years now that unlocking via fingerprint is a convenience feature, not a security feature.
Type hints aren't actually enforced in Python. So for example a third party can import your code and call functions with the wrong type. Because of duck typing, sometimes this won't result in an error but could still cause a bug.

Sure, but it also might work, if you've already made it through testing and deployment, surely you don't want to cause a new production bug because there might be another bug.

What I would really want at runtime is something that automatically casts and validates. As in, I don't care if it's a string, I care that if I wrap it in str it matches this regex.
It's important to distinguish engineering promises (where SpaceX has a great track record) and economic promises, where Musk just applies the same algorithm over and over (promise 10x performance for 1/100 the cost). I don't doubt SpaceX's ability to build an amazing rocket, but I wish there were more realism about the claimed costs of mass to orbit. See hyperloop, cheap tunnels, electric cars, batteries, you name it.
> No offense, but what do you expect to be able to contribute to this situation as an outsider?

Who are the "insiders" here? A couple dozen people?

Rust is supposed to cater to their user base, not the dramas of a few people who need attention and something to do with their life.
Capitalism’s over: The man who made millions betting economy would never recover
Accessibility in Gaming Report
https://evrone.com/steve-klabnik-interview

He's a core team member and responsible for making rust accessible to audiences that might not reach for rust first, (rubyists, etc.)

he's responsible for creating a lot of top-notch documentation for Rust developers.
I'm interested in that extensibility. So many languages have their own "implementation/version manager" now.

In addition to the popular scripting languages (Python, Ruby, Perl), you have Rustup and Choosenim and OPAM et al., all with their own slightly different interfaces, even though they all mostly just set environment variables in your shell.

The flipside is that each of these purpose-built version manager tools can be as language/ecosystem-specific as it needs to be. How low is the "lowest common denominator" in ASDF? Should languages stop making their own version managers and embrace ASDF?

Also, the name ASDF is going to cause some unfortunate ambiguity for Common Lisp users.
> As I understand it, the fundamental reason for this situation is technical. It is really difficult to enforce purity in a strict language with an FFI, because the behavior of side-effecting functions would be predictable and they'd be easy to use.

My understanding is that

1. FFIs are still available to NoRedInk, Evan's employer.

2. The change was partly justified as a way to manage the Elm ecosystem.

In general, Evan seems to have a history of changing the language in response to changes in the ecosystem that he does not like e.g. he did not like to kinds of custom infix operators people were defining so he removed the ability to define custom infix operators.

> A lot of people seem to really deeply believe that Evan owes them something, and is required to manage his project along the lines of some kind of standard 'open source' model.

I think this is slightly uncharitable. While I haven't followed his activities recently, Evan spent time trying to build community around Elm. People contributed to the ecosystem based on a combination of implicit and explicit promises that the community's needs would matter, I've chatted with a few people who say Evan gave them personal assurances about long term usability. Evan benefitted from some of these contributions, in prestige, bug reports, etc. Then Evan broke almost everyone's code and was unapologetic about it. I don't think it's unreasonable to feel like some kind of social contract was broken.
The full statement on golang.org is:

"Black Lives Matter. Support the Equal Justice Initiative."

Perhaps the poster was referring to the first half?
> Linux has changed the world -- in a very substantial way and much for the better -- even though Linus flew off the handle at people for years. That doesn't mean he is completely beyond criticism, but it does indicate to me that we need to put a significant check in place against these "feelings committees." Their sensibilities are becoming ever more delicate.

Even Linux admits his behaviour was unproductive and has apologised and improved his communication.

Personally, I think an expectation of a little professionalism from people is hardly "ever more delicate". Rather, it's people who feel entitled to spout any profanity or insult they want without reaction who seem unable to deal with the consequences of their actions.

> Otherwise, if a person is generally toxic enough, they will be worked around.

What you are describing is that if you are "valuable enough", you get to be toxic to people without consequence. That's a good way to breed toxicity.

There is this trope of the "genius asshole" who is too valuable to lose. I suspect that in a lot of cases these people are too valuable precisely because they drive away other contributors that would otherwise lead to a more healthy project.

> Unfortunately, some snowflakes like to believe that everyone contributes equally. That is simply not the case. And, in fact, some people contribute a _negative_ amount overall. Which is to say, the project is better off without their participation.

You intended this to support your argument, but it seems to undermine it. The odds are that one individual is going to contribute less than all the people they are likely to drive away with toxicity. Toxic developers are likely to be the net negative contributors as you describe.

It really seems like your whole argument is predicated on capability and toxicity being directly correlated, which in my experience—while something toxic people want to believe—is a nonsense excuse for enabling bad behaviour.
And so if I take a candy bar from a drugstore counter, I deserve a 9mm round between the eyes?
I remember a few years ago reading an article about a breakthrough in Lithium Metal batteries, as opposed to Lithium Ion. Supposedly have 2x the power density at half the size, and don't burst into flames when punctured.

Anyone else remember that? I want those batteries.

Apparently the main issue is that they don't last as long as Li-Ion.
You might enjoy reading Hayek.
The requirements seem a bit unclear to me, but I'll toss a couple of titles into the ring:

The Inmates Are Running the Asylum (Alan Cooper) makes the case that user interfaces can and should be easier to understand. I think in the years since this book was written, there has been much improvement in the UI world overall, but still worth thinking about.

Expert C Programming (Deep C Secrets) (Peter van der Linden) goes into some fascinating technical (and historical) tidbits related to C.
Firefox reader view beats the paywall
I work at a volunteer and we had someone with some skills come in but they were pretty toxic. We had a some of volunteers leave or contribute less. We've sometimes had disagreements on this project before (a website.. not super technical), but this was a new level of bad.

Skilled people have lots of options for volunteering and they'll just leave and volunteer somewhere else.
> (the Amiga community even tries to shoehorn these into desktop systems, to their detriment, IMHO)

What detriment would that be?
is one of the use cases monetizing pirated content?