skysight-inc/HackerNews huggingface dataset:
1. Most Mexicans or Peruvians have indigenous ancestry, they are not exclusively (or even mostly) descendants of the Spanish. It would be better to return those artifacts to the descendants of those from whom it was stolen.

2. Who has an even weaker claim than all other claimants? The British Museum.

3. 2.5M people see the Crown Jewels in a year. The Smithsonian National Museum of American History in DC sees 4.1M visitors in a year. Should the Crown Jewels be moved to the Smithsonian? Surely we could take better care of them (they could go next to Dorothy's slippers) and more people would get to see them.
I see this as a way to give companies an incentive to train workers. Without these kind of provisions, the risk that the employee would leave would eliminate much of the incentive to invest in training.

As for the criticisms of indentured servitude - which if we're going to call this that, is a very watered down version - I think they're reflexive and not thoughtful.

Today we have something much more coercive than indentured servitude and that's involuntary servitude in the form of income tax law. At least with indentured servitude you choose the servitude and it expires after the ordained time.

The danger of indentured servitude is that it is offered by private companies with a profit motive who would be more likely to seek to abuse the very dangerous relationship they enter into with the the counter party, to exploit that party. A government imposing an income tax has no such perverse incentives. So the rejection of indentured servitude in favor of government imposed taxes has some reasonableness behind it, but I think it's ultimately a crude and hasty substitution.
In fact, it's just as simple as that: every package today has a license. If the license says that the author has no responsibility and liability for it - so it is. If the package has no license - you cannot use it in commercial software anyway.
There is C++ code that 99.999% of people that list C++ in their resume are unable to explain.

You can get comfortable with some idioms of C++, that's fine. Can you understand what any valid C++ code means? No. Such person does not exist, not even Bjarne.
see abrax3141 'I hope not...' for episode I.

Problem with lisp in the Star Wars world, is 2 sets of double log plots in tree format is more like force lightning than sword dualing.
PyPy pursued the STM route many years ago but later abandoned it.

https://doc.pypy.org/en/latest/stm.html
Try searching for "sand wheelchair" and see what people who need wheelchairs use when they go to the beach. I had a bud go through a terminal illness that left him paralyzed for the last 6 months of his life. He spent most of that at the beach in a sand wheelchair. Accessibility is important.
An opportunity to post again my thoughts about software calculators !

https://chachatelier.fr/chalk/article/chalk.html
Flight software is a difficult one. I was glad to work with one very good German engineer during summer 2020
I reject the notion one is denigrating America or what it has to offer by calling out the insane tight-rope one has to walk through the H1B process. Just because I don't play the lottery doesn't mean I don't think it has a great prize.
People should give that a good try; maintaining forks sucks.

In the past I've forked at the sign of any resistance.

I have a fork of GNU Awk called Enhanced GNU Awk (egawk).

https://www.kylheku.com/cgit/egawk/about/

It has a let construct for lexical variables.

Chances are it's not packaged for your favorite OS, so you'd have to build it yourself.

The next thing on the plate for that project is to support the GNU C preprocessor line annotations so that if Egawk is handed preprocessed code, it will report errors against the original file and line number.
I think have 10 more years of programming experience probably makes it easier to pick up a new language
This article is from 2012, but it never ceases to amaze me that people will make excuses to strip themselves of freedom for a small semblance of safety that will never be.
The further apart you build each house the more asphalt, electricity cables, waterpipes, plumbing you need per house. The further you build these houses apart the more each house needs to pay in taxes to maintain it all.

Compounding that problem is that according to the linked videos local governments have been getting subsidies to expand and build more, while the maintenance isn't subsidised and has to come out of property taxes which in most cases don't cover the cost.
That is fair and while I firmly believe evidence matters a great deal, I am not that great at gathering it.

Please excuse my short form scepticism. And it has to be said: you made some good points.
This is exactly the kind of post that keeps me coming back to HN. I've been using AI for concept art, but hadn't even thought about it for texturing. And now we have a plugin for Blender to do exactly that, simply incredible!
There are no 20 year old Rust codebase to compare with. C++ has gotten easier and cleaner on the last 20 years, whereas Rust has gotten more complicated. If we want to plot future trajectories...
Yes, mrustc is a compiler that compile Rust into C code.
Just try it. Here’s a sample URL:

data:text/html,<embed src=https://example.com>

(Mind you, this shows that it works now, without commenting on whether it worked then, which I know not.)
I still have a zenith TV, I was told it's over 30 years old, and it runs just fine. Was used as a constant video monitor for 10 years prior. This thing might outlive me.
It does. Combining Latin and Greek roots is done fairly frequently.

https://en.wikipedia.org/wiki/Hybrid_word mentions automobile, chloroform, hexadecimal, micro-instruction, petroleum, television and a few others.
Herpes flaring up again eh? [kid me loses again]
What if the model is already open sourced and out in the wild? It appears that Stable Diffusion included this artist's work in it's training data.
No, imagine if that was what a trademark allowed you to do, to disallow usage of that word altogether. Apple would be able to force shops everywhere to pay them or stop advertising the sale of Apples. Everytime anyone sat down to write a review of a product in Word they would first need Microsoft to negotiate a deal with the company in order for them to support the product names.
That’s an implication I haven’t really thought about, but it does make sense. It’s a lot harder to fix all the problems in the world than choosing actions for yourself only though.
I said nothing about phones
The downside of this is that preserving 'heritage' architecture is a potent form of NIMBYism. It has reached ridiculous proportions in Australia, where ugly (but solid) architecture from 40 years ago needs to be preserved at all costs.

We would all like to live in Venice of course, but when the population of your city is growing fast, this kind of thing is a big problem.
This is where C fails against Rust. I have to use static analyzers to find such problems.

But I do use them, and I also use sanitizers against large and thorough test suites, with excessive fuzzing thrown in for good measure. And I mix all of that with crash-happy code littered with gobs of `assert()` calls that document as many of my assumptions as I can find.

Those help me find about all I can find.

But I'm still writing a language that is as safe as Rust that I will auto-translate my code into when it's done.

By the way, I'm not using Rust because I don't like it. That doesn't mean it's not good, but I really hate async/await, along with a few other Rust design decisions.

I'm kind of picky as a programmer.

Yes, C fails against Rust here, but that's why I put in the extra effort to bring it up to the same level regardless.
> "replace feature from n-5 years with the newer feature in the latest 0x00x release"

Let me put a more pro-C++ spin on that sentiment.

C++ is a language that's under long-term development. It might sound weird, but only with C++20 Bjarne Stroustrup felt that his vision for the language was now mostly-realized - and he had worked on it since the 1980s. With other languages, there's a lot of clearing-of-the-desk and starting things anew, while C++ has opted for incremental changes with backwards compatibility to before it existed (i.e. C).

But, looking back, we get the sentiment you describe. Which, rephrased, sounds like this:

"Remember that annoying and ugly hack you had to use so far to get [complex thing] to work? Well, that finally got fixed. Now there's a shiny new language feature / standard library construct which does that more nicely. But your existing code will also work."
IP laws are only as valuable as the amount someone is willing to fight for them.
> Apple devices weren't made difficult to repair because Apple actively despised repairers.

IIRC the front panel uses DRM to stop unauthorized screen replacement.
Why are they worried? If you have nothing to hide you have nothing to fear! Or does that only work when the Americans are spying on everything we say and do both online and off?

This is terrible, but its also karma.
funny given that only a month ago he was expounding the benefits of "Talk To Your Customers" [1] aka "Agile", which is essential artificially and programmatically governing your day via deadlines.

[1] https://lucasfcosta.com/2022/08/03/talk-to-your-customers.ht...
RITF: Rust Is The F____
It has an LMTP endpoint.
Permutation City
Rust's "feature surface area" reaches or exceeds that of C++ through procedural macros, which surfaces the entire Rust AST to the developer. Major Rust crates like serde use this feature, and when it goes wrong the errors are actively misleading. I've personaly been bitten by this, it's incredibly frustrating to debug. https://serde.rs/derive.html#troubleshooting
You would have been removed from the project I was working on, which was responding to a governmental regulatory deadline.
I think it's more likely that no one wanted to take ownership of it, so no one did.
Those people are not on the fence. They are pro GOP, maybe needing excuse.

The people actually on the fence would be equally likely to flip to democrats after hearing equivalent slightly non accommodating phrase. But they are nowhere near of that. GOP does not have to top toe around them, they can go fully openly insulting and it is fine.

It is not being on the fence. It is being pro GOP, seeing its excesses and feeling slightly ashamed for them, so wanting to blame democrats for them.
> It helps me put myself into the shoes of the caller reading that documentation without knowing the implementation details.

I program the same way and wish more people would consider the audience when writing code.
What techniques do you use to be hyper-productive with your memory?
ifixit is a repair site after all and thats their primary concern :)

Ofcourse it's not a primary concern for us... but having upgraded my Samsung Galaxy, it feels good that I can easily service the phone and replace components. It's so simple inside once you learn how to unglue the back glass.
> That's a fairly recent thing that some people do as a kind of virtue signaling.

It was a pretty common correction the comp.lang.c newsgroup in the 1990s.

"Hey you dolt, there is no C/C++; they are different languages."

"Oh yeah? Well look at how when I run cl.exe, it says Microsoft C/C++ compiler!"

"Haha, C/C++ is actually undefined behavior: C++ is modified and independently accessed in the same expression ..."
https://www.dailymail.co.uk/news/article-1229808/Linguist-re... (2009):

“A linguist has revealed he talked only in Klingon to his son for the first three years of his life to find out if he could learn to speak the 'language'.

[…]

Now 13, Speers' son does not speak Klingon at all.”
What language did you use to build this? What about the UI? Also, I tried to login to the application with Google and got "Authorization Error -- Error 403: access_denied -- The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer"
> independent mechanic can and do thankfully exist.

Yet they can’t and are not expected to do anything when the engine itself fails, which can more realistically be compared to a mobile phone in terms of (useful) miniaturization, increase of precision, etc. This is the price of the orders of magnitude more efficient operation compared to the first engines, increased complexity. It’s a tradeoff (and I would say it is worth it in both cases).
Parkinson's Law - "work expands so as to fill the time available for its completion."

https://en.wikipedia.org/wiki/Parkinson%27s_law
Far ahead in what exactly?
All code does what it was supposed to, barring any bugs in the underlying system you're using.

Now, if you're reading a sensor and blindly trusting what it says, that can be a problem. And there is where it becomes important that someone with experience writes this. They understand what it means, they know the things that can go wrong.

Sending a story to India that says 'implement autopilot AOA sensor change', then that is exactly what the devs there will do.

Don't forget that the culture in India is different than here. There's no pushback. There's no asking questions. You need to be extremely explicit, and ask and ask and ask to make sure they feel comfortable asking the questions they have to you, someone they see as the one in charge.
Facebook is foreign to me, and my country has no first amendment, we only allow their constant spying because we are part of the five eyes and it is beneficial for us to let the yanks do whatever the hell they want to us.
When I initially saw the title of this post and thought about my struggles making friends earlier, I could think of so many things that I’ve learned that work.

But I developed all those learnings and skills through self-reflection once I was in the game.

There are so many people who think they have social difficulties or are not friendly people because they don’t talk to people at all.

It seems almost too simple or stupid to most intelligent people to consider that maybe the root of all their struggles can be solved by simply talking to more people.
I don't think that thinking of it as "compression" is useful, and more than an artist recreating the Mona Lisa from memory is "decompressing" it. The process that diffusion models use is fundamentally different to decompression.

For example, if you prompt Stable Diffusion with "Mona Lisa" and look at the iterations, it is clearer what is happening - it's not decompressing so much as drawing something it knows looks like Mona Lisa and then iterating to make it look clearer and clearer.

It clearly "knows" what the Mona Lisa looks like, but what is is doing isn't copying it - it's more like recreating a thing that looks like it.

(And yes I realize lots of artist on Twitter are complaining that it is copying their work. I think "forgery" is a better analogy than "stealing" though - it can create art that looks like a Picasso or whatever, but it isn't copying it in a conventional sense)
As-it says — "… at certain levels, Heavyhands Walking approaches the cardiovascular workload of jogging" — but not the cardiovascular workload of running.

If walking is what you are happy to do, then use resting heart rate and maximum heart measurements to guide your effort.
They paid billions in fines instead.
So you never used any library? Not even the standard library?
Not until HN has an option for dynamically switching between UTF-8, UTF-16, UTF-32, or other character base sets; which would have to be based on browsing history.
I do think Soulver would be a better choice for many. But it is much more powerful, allowing you to do conversions and labels.

So the simplicity of just having two calculators side by side and a fast way to transfer the results is probably exactly what some people need and want. Zero learning curve, just two calculators doing exactly what you expect.

I'm always fascinated by apps and programs that does exactly one thing, but does it really well (sometimes referred to as the Unix Philosophy). I feel it's harder to find tools and apps like these nowadays. Not sure if there are less or if they are just harder to find because of the huge number of apps overall.

[Edit] Writing this comment actually reminded me of this blog https://onethingwell.org/ which highlights software like this. Gonna try to contact the author and see if they want to add this one :-)
There's a massive difference to multiprocessing: the different sub-interpreters can use a C(++)/Rust extension module to talk to shared state. In the current multi-processing world, the whole C++/Rust state needs to be duplicated for each process (in the case of our app, this means 5 GB memory usage per core); with subinterpreters, we can share the same C++/Rust state.

The `interpreters` API is just the starting point. Compare it with `subprocess`, not with `multiprocessing`. Once subinterpreters are useful, people will build higher-level APIs for them.
This is actually a very clever hack. What are the gotchas?
Did this end up helping you with forward or reverse auto diff?
Sure, but consider that there are many places in the world other than the US that have much more sane immigration policies, and are also very nice (some might say nicer than the US) to live in.

It's not like the only options are "the US, or a poverty-stricken third-world country".
Go up a level.
Just like DNS!
Deadline or not, I think you still want a prediction of when something lands for many reasons. In my experience most deadlines are set based on initial estimates (which often include technical feedback), but then those estimates get locked in because of advertising/marketing and setting customer expectations.

In my opinion the biggest problem is not understanding that estimates are constantly changing based on continuous change of information as the project is worked on. Also, I've rarely been in a team that takes the time to define a unit of work, which is relative to the stream of work that is done. Breaking things down into work units allows consistent measurement relative to who works on it, and then allows for pretty accurate relative estimates, which is good enough to predict completion dates. I suspect this is harder to manage, but if done right, predicting the completion date accurately (despite any deadline) is a necessary step to then speed up that process.
Hmm, seems like a NSFW concept: https://www.urbandictionary.com/define.php?term=RITF
Sorry I am not an expert, but just wanted to raise that I recall that in our firm we had to disable CORS caching a while back, as this was non compliant with some security standards. I think it had to do with this: https://vulncat.fortify.com/en/detail?id=desc.dynamic.html.h...
What is the advantage of a slotmap style approach vs references? It seems a bit manual and error prone, and the errors risk being silent references to wrong objects that may result in security vulnerabilities or data corruption.
I am sorry, that sounds damn scary. The external examiner sounds like a sadist.
This is going to encourage US-based Ethereum users to stop runnning nodes, and users outside of the US to start running nodes, just to weaken the SEC's outrageous argument. The narrow-minded attempt by the SEC expand its jurisdiction, and by extension, budget, is going to cause long-term harm to US innovation and competitiveness.

Another option is for the entire Ethereum network to cloak itself behind an onion-routing network, which given the evident desire by many people to prevent people from using cryptocurrency and force them to submit to centralized regimentation of private financial interaction - even at the expense of basic internet freedoms - may be a prudent step to take.
Write a full unit and functional test suite and run them with asan, tsan, msan and maybe valgrind. This has caught all the memory bugs before getting to production in my experience.

You need the test suite to verify that your code does what you think it does anyways, the sanitizers are just a nice bonus to verify that it also has the safety you think it does.
Then you would agree it’s fair to rephrase your original post as
“It’s quite possible to install native code on the device you ostensibly own unless you want ultimate device control”?
That assumes they didn’t care about reparability in the first place.

Have a look at JerryRigEverything videos of any iphone, they are beautifully constructed on the inside. They don’t do no-gos like cheaper phones building basically on top of the screen a battery and a cover, which would cause an insane price for screen replacement, they don’t use special screws to fuck with you, but because they literally use the same physical space as one screw by screwing a screw with an opposing direction into another.
So in the end, the actual advice is not to ask questions and hope for doing it by yourself. Also, people coming from dynamic languages won't ask a out IDE, because they are from environment where IDE helps much less and also where it is looked down at.

The stuff you claim one should ask about, is stuff that you team should explain to you in the first place. There is literally no reasonable question, just some workaround for "my team does not have Readme, won't tell me they have secret steps for running project and absurdly will blame me if I won't make it fast".
Yes, imagine air travel wasrun like that: "The plane must be ready by December 1st!"

Proper safety checks wouldn't let the plane leave the ground. Delays in that critical state are inconvenient, but you accept them because the alternative is not acceptable.

We should treat software in exactly the same way, It's ready when it's ready.

The issue is the illusion of control. A bad CEO will measure the performance of his CTO by productivity alone. A good CEO will measure the CTO's output by consistently increasing quality.
> So you don't feel that doctors should pay for their education?

Some HN readers do live in countries where higher education is free ish.
The problem with this statement is that we don't have free markets. We have monopoly ridden markets.
I get that it makes sense at his level, but my impression is that mistakes in the business logic are both more common and more financially painful for the company than the memory safety issues that Rust solves when compared to C++.

Unsafe binary? Run it in docker.

Crashes? Run two and monit.

RAM leak? Restart with cron.

Now I'm not saying that these are good solutions, but they are good enough so that plenty of companies get away just fine with running buggy c++ software in production. So in my opinion, the biggest improvements come from better abstractions and good libraries. And c++ still has the lead there.
Oh yeah I did observe that but couldn't bother making the distinction. In my head, that's the worst case for a decent portion of users (2-5% depending on where your users predominantly live and other demographics) so I consider that to be a 24 hr outage.

Your approach definitely sounds sane, would encourage others to do the same rather than following the article from the get go.
That was mostly me at a certain point in my career except I did know how much devs could make. That doesn't make them actually offer you a job at that salary though. I didn't get into anything like this but I took an offer far far below market rate.

When you have no connections, no resources, no work history in the field, dependents to support.... Shit $42k was still more than I was making in the career I came from. I took it then and people are still taking that stuff now. They aren't wrong to do so either, but the ones exploiting them in this way are wrong to do it.
“Filthy mouth” is something a stuck up cunt would say. Cultures are different. Unless it turns into verbal abuse, get over it.

There is a huge variety of cultures that speak English and only a subset can’t handle hearing certain words. Having a problem with people swearing is effectively classism in the US.