skysight-inc/HackerNews huggingface dataset:
Just email or DM the people you want to pontificate to. No censorship. This is the same as it has always been. If you want to stand on your street corner and rant, you can do it. If you want to publish your rants in a big newspaper that you don't own, you need the newspaper's approval.
Professor Hans Georg-Moeller of the University of Macau I think has some really good observations and a systematization of what he calls the "profilicity mode of identity production", as contrasted to "authenticity" and "sincerity". He frequently comments on how social media causes people to view their actions not directly, but on a "second order", through the eyes of the "general peer" as personified by the quantified likes and comments posts get on social media. I haven't done a great job summarizing here but he has a youtube channel with some good videos on the topics: https://www.youtube.com/watch?v=-QMHOsfjHq0 https://www.youtube.com/watch?v=6cSkb1KppNc

I think his framework helps a lot in making sense of the way people act online and offline in our current age, and the implications for "identity production" are quite interesting.
Hahaha same! And still being interested, blew out my cookies and still nope.

And then, definitely out of frustration more than anything, switched browsers and hit up archive.org. Apparently archive.org hit it's limit, too
Me too, had to go through cookie settings to find out this as well. Web anti-patterns are cancer.
I've heard Prince Edward Island as well. Is there a survey showing which areas in Canada have had the most significant change?
The security of the network depends on the difficulty. It’s true that in the absence of bad actors the network will run as long as fees are nonzero, but the whole point of bitcoin is that it’s supposed to be resilient to attacks.
Based on the article the amounts owed appear to be at times arbitrary and don’t seem to reflect the cost to the employer/ what work the employee did.

I don’t think you can voluntarily / knowledgeably agree to a completely unknown sum.
Curious. Sony is in the headline, but apparently the company was sold to Phison Electronics?
This is the innovation that everybody would see how obvious it is once it's out. And yet no one thought about making it for a very long time.
Oddly, I don’t think I’ve ever noticed the zero being omitted except casually or to save space in a table, in English. I would expect ordinary writing to include the zero.
https://archive.ph/I04vR
In our case it’s about working with local activists and journalists. Police are decentralized; each department acts independently, for the most part. Most people using the data seem to be using it locally; when policies are changed, they are changed locally. If the changes make a positive impact, sometimes other departments or governing bodies take notice.

I’d like to aim higher than a quotable statistic for a politician, in any case :)
Nope. Skeumorphic design uses ornamentation, like textures and interaction animations, to mimic the aesthetic of a physical object. You don't even need to adopt an existing standard interface layout to be skeumorphic. Make those keys look rubber or give it a mock LCD display and you'd be skeumorphic even if the buttons were in a circle around the display.
Oh gosh, this 100 times. I comment everything, even rationale behind decisions, I'm recently writing a book as I write a compiler[1] because some parts are confusing me so much that I just can't solve them, and can't go back to work on them later, if I don't document them.

Even if things go out of date, it does not matter, because it still is somewhat close to what used to be there and can still help the future reader (me or someone else) figure out what might have happened since then. It's a million times better than no documentation.

[1]: https://mimoo.github.io/noname/
Just realized I had a brain fart, there's no way that those kind of speeds would be possible! I meant to say 25 bytes per second. Very slow compared to any mobile network, but better than not having any internet access at all.
In a large codebase with many warnings (incl from dependencies which you might not have control over), the difference between a compiler warning and hard error is significant.
I've had worse experiences at small businesses than at medium-sized or large ones. Larger businesses get scrutinized. At small businesses, the owner looks you in the eye every day and thinks of your salary as coming directly out of his pocket.
If enough employers insist on this, then the standard of employment goes down.

Workers rights must be immutable to stop that happening.
The total # of kakapo on earth is now about 200, the recovery program has brought that up from about 60 birds 20 years ago

history: https://en.wikipedia.org/wiki/K%C4%81k%C4%81p%C5%8D#/media/F...

They're flightless, it doesn't help them escape rats, cats, and stoats.

Despite all of that, I can still appreciate how incredible a brand-new kakapo cloak must have looked.

Perhaps one day they will again number in the thousands. There are islands with no rats or predators where they can breed safely, now.

Related trivia: the Takahe was thought to be extinct until someone went far inland to a remote valley in the 1940s and found a population there.

https://en.wikipedia.org/wiki/K%C4%81k%C4%81p%C5%8D

https://en.wikipedia.org/wiki/Takah%C4%93
MSVC is a C++ compiler only. It doesn't actually support C.
In theory yes, but there's a lot of quirks and limitations.

The main issues are:

- Rust string types assume UTF-8, but Windows generally uses double-byte Unicode encodings. The Windows string type isn't even UTF16, because it can include invalid code points. This means that at every API call there will be the overhead of converting the string encodings and having to "deal" with invalid strings somehow.

- Rust compilation is still very slow. In C++, it was a simple matter of including "windows.h" and then start typing code. In Rust, trying to do this naively would result in terrible "inner loop" for the developers. There are some fixes, but they're fiddly.

- Enormous API surface with missing metadata. This is a problem with Rust-to-C interop in general, but the Win32 APIs are so huge that it's impractical to solve manually. There have been efforts by Microsoft to produce official and authoritative interface definitions with additional metadata such as tagging "in" and "out" parameters, etc... This isn't sufficient for Rust, which has a much more complex type system than vanilla C pointers. E.g.: lifetimes, non-null by default, etc...

At this time, programming in Rust for Windows is basically writing C++ code in Rust syntax, but with a slower compile time than C++ would have. Arguably, there isn't even much of a safety benefit, because that would require an extensive set of "shims" to be produced to make Win32 act more like Rust and less like C/C++. Take a look at the size of the .NET Framework standard library to get an idea of what that entails. Not impossible, but not a trivial effort either!

The best and most authoritative bindings are: https://github.com/microsoft/windows-rs

The "demo" looks okay at first glance:

unsafe {
let event = CreateEventW(None, true, false, None)?;
SetEvent(event).ok()?;
WaitForSingleObject(event, 0);
CloseHandle(event).ok()?;

MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK);
MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK);
}

But if you start digging deeper into callbacks that manipulate structures that include hideous things such as lists of strings separated by null bytes, you're back in "the weeds" just like with C/C++.
Love this comment so much. Almost ranks up there with the one where someone tried to explain to cperciva about that award and he was a recipient.
Moderators often make me angry as well. But I don't know if there is a better solution for preventing bad things from being spread on online forums. I've read that Trump's Truth Social doesn't much moderate their content but maybe they do block the truth, who knows? :-) .
That’s wild to me. Seems like an accident(s) waiting to happen.
If you take that angle then crypto will still never be a legitimate investment class either way, because all of it (including BTC and ETH and everything else) is a giant fraud predicated on the falsehood that it is "decentralized" and somehow that makes it unregulated. There is no other reason for it to exist. This is just another nail in the coffin, they can't lie about it anymore.

If crypto-land really wants to follow through on their lawless anarchist fantasies, then they should be even happier if the SEC bans all of it outright. Then they can all go back to their roots when the only thing bitcoin was used for was illegal black market drug transactions...
Thanks for wanting to help! If you go to https://docs.pdap.io you should be able to find out how to contribute Data Sources. No coding required. Holler in Discord or email me (josh.chamberlain@pdap.io) if you have trouble!
> he is just complaining

Um, he is who?

> without proposing any real solutions

If he is Mr. Russinovich, he is saying, "For the sake of security and reliability. the industry should declare those languages as deprecated." Sounds like a proposal to me?
> so cynical that they believe achieving a remedy impossible.

It's cynical to assume that this assessment is cynical.
Pretty desperate, isn't it. The plight of the short man isn't pretty.
"for those scenarios where a non-GC language is required"

C# code is out of scope for this discussion.
The true real win of Rust. Knowing that you are incredibly likely to be able to compile it without any hoops. Random C/C++ project can still be a roll of the dice.
> pushed the narrative that the Soviets were peacefully trying to go about their lives without bothering anyone

To be fair, most Soviet citizens were just trying to go about their lives. Surely you don’t imagine your average Joe Blowkomarov is scheming nasty plans for crushing the evil capitalists. Poor dude was probably stuck in a bread line, wishing his toes were warm.

If there was propaganda involved, it’s probably that the magazines weren’t showing the deprivations. Sunny outlook & all that, hardly unusual for a “Life” type of magazine.
That's very well put. I would love to hear about your BC and DR processes and infrastructure. Have you written about it somewhere? We are a small company as well and we certainly do backups, but it'll be great to be able to implement BC and DR more formally.
dylib linking works well enough particularly for embedded cases. As an example Fuchsia did some research on this comparing it to C++. dynamically linking libstd amortized similar savings to dynamically linking libstd++, with trivial binaries going from hundreds of kilobytes to tens of kilobytes with a megabyte sized shared object for std.

As you'll read elsewhere in the thread there isn't an ABI guarantee, as there also isn't so much for C++ either - but particularly for embedded you can solve this in your build process. A competent package manager in a distribution can also solve for this.
Really interesting take, I've had the opposite experience. I've also seen very talented c++ devs screw things up in prod that rust doesn't even allow for. Really recommend taking it more seriously, it's fun once you get a handle on it. Also the tooling is really good now.
However, without a lot of experience, C++ code often turns out to be surprisingly slow.
It was a command line only tool distributed with the driver dev kit. It had ABI differences with MSVC that required them to keep it around until relatively recently.
How much are they, and where can I buy one? I don't typically follow through on "contact for pricing".
You'll find me ranting about making a non-system permission for automatic updates on Android for years on this forum. Now it's there, and I credit Epic.
Lospec Pixel Editor (online canvas based Pixel Art creation tool) source code r
I appreciate you taking the time to explain this to me. As a non-engineer I think I’m following you.

When you say “I know what those people are capable of” do you mean something as ominous as that sounds?
The real answer is that Rust doesn’t really seek a solution for this problem. That’s fine, but C++ does and it pays an appropriate price for doing so. That’s just how things are.
No, Azure was never a Linux distribution variant but a NT derived distributed hypervisor OS codenamed RedDog led by Dave Cutler with some heavy VMS experience in the team. It's almost COM+ under the hood.
Serial left me thinking that Syed was probably guilty, or at the very least the case was a close call. The practical truth is that if we required this level of scrutiny for every conviction to stick, we’d multiply by an order of magnitude or two the number of guilty criminals who cannot be convicted.
>Political debates are the same way, right?

I think a debate is something you can only have between parties that have similar goals (axioms) but different methods. Like a scientific debate, everyone shares the same information and same the goal of reaching understanding but they are split on the methods to interpret that information.

Usually in politics, opposing parties enter a debate with irreconcilable goals, so they are are incentivized to disagree with each other no matter what, this leads to a situation where the discussion is centered around "zingers" and rhetoric to give the impression that some side is winning and "gaining ground" against the other. The presidential debate, for example, is not really so much a debate but a platform for candidates to state their viewpoints and signal to their demographics.
Metal detector on the way in?
This is true, although if you are shy, the group might grow closer sort of without you. In some groups, one person sometimes remains a stranger.

If you are not comfortable with groups, an alternative is to reach out to people you think are interesting and meet them one on one.
They didn’t mention state laws. I find employment laws vary a lot state to state.

Are there places this might be prohibited by state law?

I ask because I once took a job that involved 6 months of paid, benefits and all, training before you even started work.

One guy did up and quit after 6 months, but generally this is how this company did business. It worked… I always wondered why they didn’t have some sort of restriction or rules or something to avoid being taken advantage of. I assumed they didn’t because of some state law.
> but a lot of the content and theories seemed to veer into "throw everything but the kitchen sink at em" territory.

In theory, all that should have been necessary is reasonable doubt, so dismantling multiple theories is useful.
The Passage Home
New Zealand? Worth a try :P
Agreed, it's possible. Though we'd also need to explain why Jay is still sticking to a made-up "I buried a murdered woman" story decades later. And find the "real killer" who happened to murder Hae the same day Adnan loaned Jay his car and phone...

(PS: You can bypass the paywall to read parts 2 and 3 of Jay's interview by disabling Javascript.)
Would it be productive to talk about how much this shows up on HN? There have always been topics that seem to attract sponsored influencers. In the recent past, China seemed to be the biggest one, though Ukraine is now a major competing topic. I've wondered about the best way to respond to such.
We do want to be careful with PII. We don’t want to make a big table of PII, although tables of PII are regularly published to government websites as html tables. Yet another reason to keep data decentralized while pointing people to it from a central db of sources!
Ask HN: What temperature are your mountains?
This is a literal question. If you can see mountains outside can you please tell me what temperature they are with your cheap infrared thermometer? (if you have one). Why am I asking? I don’t have mountains outside, I am really curious, and I can’t find the answer online. It’s a dry clear night here in the midwest and I just measured the sky at -40C(-40F). Far away trees and buildings are around the temp outside. In the past clouds going by were 10C less than air temp. The sun has been hotter than outside, but I have only gotten a reading +15C over air temp so far. I think it would be so darn cool if you can take the temperature of mountains 10-20 miles away with a $15 thermometer.
This is kind of the argument though. People are likely to migrate existing code if it’s easy enough. If they have to rewrite the whole thing, then it’s not often going to be done.
also, know 50+ "best-use" subsets of C++.
HN search for "book about flies" turns up 8 threads as the top results. In addition to the current thread, these three, and one posted in a sibling comment:

https://news.ycombinator.com/item?id=30683634

https://news.ycombinator.com/item?id=15471621

https://news.ycombinator.com/item?id=2494910

Naturally, those three threads have no discussion on them.
Thank you! Honestly when blogs died it felt like there was no point. I do miss it.
Maybe he thinks Azure should standardize on one of Go/Rust, Java/C#, or Haskell/OCaml for managing its hosting service. He is apparently in a position to enforce his opinion on the division. It is hard to know how anybody outside will be able to tell which he has chosen without his announcing it: "Azure has designated Haskell/Ocaml as its preferred language for hosting management utilities."

Microsoft is no stranger to C-suite fads in software development. Back in the 90s each lasted about 2 years. The constant has always been that bugs have never had any detectable effect on company revenues.
Shane Gillis’s Fall and Rise
I’ve go the opposite, but I can certainly see why it might go either way depending on the person.
"voluntary" doesn't mean much when the employer to worker power differential is so heavily weighted towards the employer. This is or was a thing with H1B visa holders.
Err… it doesn’t have to be price controls? It could be as simple as an investigation to their pricing strategy and seeing whether the markup is obscene or not. Of course what is obscene is relative, but that’s why you investigate, so that you can see abuse on a case-to-case basis.

Also, how is this level of regulatory inspection invasive? The architectural tight integration almost guarantees that the device manufacturer has a monopoly on servicing their products—it’s just that the monopoly is being allowed because it’s the kind that allows for innovation. The regulatory crackdown would be fair and justifiable.
I recall some figure that 90% of the Canadian population lives in a thin band extending a few hundred miles north of the US border. So average population density is very misleading.
Wages already dont reflect the value of the work done. Thats how profit is made. So, I'm not seeing much of a difference.
Unless he means that Rust should be used on projects where the Rust compiler is available for all relevant platforms and C and C++ can be used otherwise, I disagree.

In fact, until LLVM is replaced, C++ will probably be the language of choice for new languages. Even `rustc` requires a C++ bootstrap for that purpose.

There are also other important C++ and C libraries that will continue to mean C and C++ may be better choices than Rust in certain cases.

And don't get me started on embedded.

Also, that doesn't even matter when the purpose is a hobby project (such as mine) where the programmer has no interest in Rust (such as me).

I like how Trevor Jim put it [1] better:

> If you decide to write your project in C/C++ you must have a plan for handling the inevitable memory corruption in advance. Anything else is malpractice.

This is possible to do. I've released a non-trivial program that has had no known memory bugs ever since 1.0 on 2018-10-26. It is written in C. And I challenge anyone to find one in any release since then. You might find one, but I think it will be tough.

In other words, it's possible to put C and C++ on the same footing as Rust when it comes to memory bugs; after all, even Rust is not perfect there.

Yes, it takes more effort. A lot more effort. For my hobby projects, that works fine because I'd rather work in C with the extra effort than in Rust.

Oh, and it's possible to make C as good as Rust: I've got macros to do automatic bounds checking. I've got RAII and stack traces. I've got structured concurrency, which will give the same capabilities as the Rust borrow checker if you adjust your coding style. And all this in portable C11.

So no, Rust is not the end-all be-all of languages. Sorry.

Rant about absolutist opinion over.

But seriously, use Rust if it's available for your target platforms, and you have no other preference.

[1]: http://trevorjim.com/using-an-unsafe-language-is-a-design-fl...
How do you save figr docs to the cloud?
https://archive.ph/3t1Zx
Maybe some more practical and less costly formal verification?

There are some signs Rust is heading in this direction.

Efforts like Dafny are also pretty interesting, but still far from mainstream.

I think a large codebase (20-40 KLOC) is about the maximum one can routinely verify in Dafny before stuff gets too hard. And coding speed is pretty slow.
“The Science” is hardly ever it though. It’s an appeal to authority much like appeals to “The Scripture” when most often what claims to be “science” is not actually. And as if Science itself is a guarantee of anything or that it’s even a thing but rather a process to discover truth, or at least what isn’t.

No one in possession of actual truth and fact from the scientific process ever had to make a claim simply that their science was evidence enough.

And I’ll add the entire field of science is eager to have anything that claims itself as knowledge and truth to be challenged and poked and prodded. For the truth knows no false kings!
We definitely want scrapers to be maintained as-needed, as opposed to trying to spin all the plates. It’d be thousands of thousands.

Measures for Justice is working on developing standards: https://measuresforjustice.org/
> Compositing should do so as well by avoiding unnecessary redraws.

I use a tiling WM so I doubt it would help much. If anything, if I run a whole system profile with perf, rendering does not even show up when compared to just running a git status here.

> That sequencer would probably benefit greatly on a Raspberry by using GPU rendering, the screenshot even shows it rendering video and shaders...

Sure, the video & shader parts use GPU of course. But for the main GUI, it can be rendered with OpenGL or with Qt's software renderer ; from my tests (and lord knows I've spent entire weeks profiling and doing everything I could to improve rendering performance) the OpenGL backend for the main GUI only becomes more worth it when using a 4k resolution - and GL is absolutely full of bugs on e.g. windows ; yes there are still people with GMA500 GPUs. Qt's software renderer has no issue rendering at a 1080 screen size on a Pi 3.
Hawaii? Oahu specifically, anyone out there? I'd love to meet the community.
As someone who uses channels all the time (in Nim) for cross-thread comms, this is pretty exciting. The deep-copy that Nim channels do makes things simpler at the cost of more memory allocations obviously, but even on an ESP32-S3 it's been a great abstraction. Of course I get to cheat and use actual shared memory with FreeRTOS semaphores/mutexes and such when its really required, but having channels as the first-class easy-to-use mechanism is the right move in my opinion (which is worth about as much as you just paid for it, of course)