skysight-inc/HackerNews huggingface dataset:
You can't by just reading more. You also need to be able to read critically, and be able to spot manipulative arguments. It's actually quite hard.

Historically, journalism is meant to take the impartial stance, but lately, this ethical stance seems to no longer apply as more and more "journalism" (both online and offline) swing towards bias and clickbait.
> In his book Oligarchy, the political scientist Jeffrey A. Winters surveys eras in human history from the classical period to the 20th century, and documents what becomes of societies that concentrate income and wealth in a narrow elite. In almost every instance, the dismantling of such inequality has been accompanied by societal collapse, such as military defeat (as in the Roman empire) or revolution (as in France and Russia).

If societal collapse is inevitable, maybe we're better off accepting that inequality because it's better to have inequality and a functioning society than to have societal collapse that leaves everyone more equal but leaving almost all qualitatively and quantitatively worse off than they were prior to the societal collapse.

The more I study history, the more inevitable it looks that any system eventually ends up with an ossified oligarchy running it. Even every attempt at socialist/communist states whose goal was equality end up with an ossified oligarchy. No system humanity has created has ever avoided this fate. With that in mind, maybe the best course of action is to figure out which system, once it ends up with an ossified oligarchy, does the best job at achieving a steady rate of improvement in the quality of life for all constituents of that system.
>What if Netflix (or some other production company) produced a compelling show with an incredibly critical narrative about the PRC and its leadership?

In a way, they've already done this. See "Joshua: Teenager versus Superpower". It's a documentary from the precursor to these protests, the Umbrella Revolution of 2014. They definitely don't take a pro-PRC stance on the issue.

>Would citizens in mainland China be able to access it through roundabout means?

Yes, VPNs are very common (especially among younger and more educated populations)

>Would you be able to sow the seeds of democracy? Would they even be interested?

This is more complicated. It's important to realize that there's a rational reason that many people have for supporting the CCP. On the whole, their lives have gotten significantly better over the last couple of decades. They're optimistic about the future. Attacks on the Party are attacks on the mechanism that has ushered in economic growth. To this extent, I wouldn't expect democracy to be welcomed by the average person any time soon; it's simply not a national value for them in the way that it is for the United States.

(Huge caveat: remember it's a country of over a billion people and making generalizations is necessarily going to gloss over large sub-populations that may have an entirely different world view)
> The technology of written works has undergone several seismic shifts, from clay tablet to papyrus roll to codex to moveable type.

This confuses a number of different types of technology. For example, we haven't undergone a shift from codices -- we still use that form for all our written works today.

Clay and papyrus are materials on which text is written. Scroll and codex are physical forms in which long texts are organized. Movable type is a technology for recycling printing blocks. None of those three types of things are related to the other two, except that it's impossible to store clay as scrolls because it will dry. Clay is stored looseleaf.

Interestingly, the history of writing in the Near East shows exactly the same confusion -- a big reason written Aramaic grew more popular than Akkadian was that it was drawn on paper and Akkadian was carved into clay, despite the fact that logically nothing's stopping you from carving letters into clay or drawing cuneiform on paper.
But Trump is doing the trade war at the false promise that somehow Chinese labor is replaceable with American labor—but it's not. It'll be replaced with Indian, Southeast Asian, or robotic labor before Americans are called upon.
My current account was not created to post political dumps, but the atmosphere is changed upside down so much, it's really hard to just walk around it while still keep a peace of mind.

Can I ask for an account deletion and removal of all posted content? Thanks!
Japan was doing this ! till the 1980s - until the Plaza accord when their currency was artifically propped.

Japan was way too successful as a planned centralized economy.

Japan can't do it anymore because it would violate international treaties they signed with the US and EU.

Specifically the BOJ has been trying to shake Japan off from a centralized cartelized economy to a market based economy, but it's not easy to change structural conditions.

Have a read on Richard's work, he spent 10 years in Japan with the BOJ.

The wildcard is China, who really do not care what anybody thinks about what they do.

So it will be interesting to watch the US / EU deal with deflation, low growth.

While China continues to march ahead in technology.
It’s an interesting example to bring up next time one of those HN threads pop up about “Should I work on a side project while still working for my employer?”
“The U.S. military has conducted a flight test of a type of missile banned for more than 30 years by a treaty that both the United States and Russia abandoned this month, the Pentagon said”.

No not all all, the US arbitrarily abandoned the treaty. It's to do with the US trying to distract from economic and social problems at home by picking a fight with someone, anyone.
I actually expect that a lot of violence and such are false flag operations, designed to taint the image of the protesters.
In my comment, I meant the people that give the orders versus the people who must accept them.
Wow, thanks for finding that!
> More of a business guy than pure programmer.

Bill Gates actually was a very strong programmer in the early days, so this characterization is misguided. He was very passionate about writing code for other developers, not about catering to end users. It wasn’t until later in Microsoft’s history that he was more business focused.

Happy to dig up articles to back this up, but seriously it should be trivial to find tons via a simple google search if you really care.

Edit: re-DOS, sure they bought it. Do you know anyone who can write an operating system in under a month (the timeline MicroSoft had with IBM)?
It looks like the PLATO system plasma displays that were very old when I was in undergrad in the late 80s.

https://en.wikipedia.org/wiki/Plasma_display
/r/China isn’t so much anti China as it is a bunch of expats in China venting on issues facing them in China. It would be like going to /r/potato and finding dozens of posts griping about the challenge of working with potatoes. Or going to /r/fortnite and seeing dozens of posts about players complaining about that damn mech.

/r/sino is the China-fan subreddit, but in the same way as /r/Pyongyang is pro Kim jong un.
"Subscription limitations

The Unity Pro and Plus subscriptions have no limitations to customization of the Unity Splash Screen.

The Unity Personal subscription has the following limitations:

The Unity Splash Screen cannot be disabled.
The Unity logo cannot be disabled."

I wonder how much the logo displaying has an impact on your perception of the game.

https://store.unity.com/ - I think these prices have changed since Unity first appeared.
The value of novelty is purely emotionally driven, not economic. People love it, but they'll rarely pay for it.

Therefore, under capitalism, novelty is doomed.
Even excluding casting evils, calling a method with a const pointer only means that the method isn't supposed to change the value. It does not mean that the caller isn't going to change things (particularly from another thread).

This is incorrect.

Actually, you promise not to change things from another thread, DMA, interrupt handler, signal, etc, with any non-volatile reference passed, let alone a const! The compiler loads things into registers and has no way to know if memory in a passed reference changes underneath the hood-- it freely generates code that assumes that the things it has pointers do, do not change. It can freely make optimizations that lead to incorrect computation, infinite loops, segmentation faults if this is not obeyed. If you've ever head about how "double check locking" is an antipattern, this is a big part of why.

e.g. from ISO 9899:

Alternatively, an implementation might perform various optimizations within each translation unit, such
that the actual semantics would agree with the abstract semantics only when making function calls across
translation unit boundaries. In such an implementation, at the time of each function entry and function
return where the calling function and the called function are in different translation units, the values of all
externally linked objects and of all objects accessible via pointers therein would agree with the abstract
semantics. Furthermore, at the time of each such function entry the values of the parameters of the called
function and of all objects accessible via pointers therein would agree with the abstract semantics. In this
type of implementation, objects referred to by interrupt service routines activated by the signal function
would require explicit specification of volatile storage, as well as other implementation-defined
restrictions.

This is the model used by pretty much every C compiler you'll encounter. When you e.g. acquire a lock, you call something in a different linkage unit so multithreaded stuff behaves properly.

For const, the guarantees go further: you promise it won't change elsewhere (relevant standards text quoted in my other comment).
I think I’ll just keep trying until I get a company with a different interview process. It’s possible that they thought I was applying to a normal dev position.

I would have expected questions about OWASP top 10 or pentesting questions but these two questions were all I got. They asked about nothing recent I had done.

And frankly that seems like a shitload of work for not a lot of extra salary.
I wouldn’t consider that legitimate at all. Legitimate airdrop is its exact intended use case: p2p transfer between people who are both consenting into it.
An undervalued currency raises the cost of imports into the country whose currency is undervalued.

For other countries, it subsidizes imports from the country with the undervalued currency.

He's not claiming that an undervalued currency helps that country purchase additional imports.
BINGO!!! The pointer is constant, not the item being pointed to. Since you’re dereferencing the pointer, i.e. accessing the non-const bits, the compiler must reload.
Pictures amigo. You can’t sell a product without pictures.
To be completely fair, if the wholely imagined and ludicrous concept of white genocide was real, it would be something meriting the discussion they have about it.

The fact that whites have been so far above every other culture for so long that anything less than that feels to them like erasure and genocide is a testament to how coddled they are as a culture.
For what it's worth Monday Night Combat was an excellent game
>> In part, because if the throttle all bulk data transfers over some minimum size, all the time, most people are only going to notice on video streaming, since videos are the most frequent bulk transfers.

>How is that a reason for anything, and what is it actually supposed to be a reason for?

I was unclear. I'm suggesting that carriers are in fact, throttling all bulk data, but reporting is focused on video. Allow a sizable burst of data at the beginning of a connection and then start rate limiting, and most people won't notice except for on videos.

This was probably the simplest, least noticable, least costly intervention to reduce peak congestion and provide a consistent experience across the carrier network.

Is it fair? Maybe, if applied to all traffic

Is it clear and transparent? No, clearly not.

Does it allow for the network to be used to capacity? No, not unless the limits were modulated based on current use, which doesn't seem to be the case.

Is it good for customers? Unclear -- to the extent you can watch good enough videos using less of your data quota, that might be a good thing; to the extent that you spend more time downloading updates, that's probably not good, but would need analysis of battery impact traded off with better push latency if the radio is kept on for other reasons. Also, to the extent that this throttling provides better availability in congested area, that's a plus for users.
Within Europe you have SEPA, its free/instant. Within Canada you have Interac eTransfer, it’s free/instant. Within the US you have Venmo and Square Cash.

Internationally you have TransferWise, it takes a day or two and costs 0.75% and carries no volatility risk. Or IB. Or WU. Or myriad other options, there’s sites to compare rates. Along the USD-INR corridor it’s totally possible to pay 0% with these services.

You’re dramatically understating the cost and risk of a BTC exchange. It’s 2% + $3 + volatility and it moves 10% in days. Or the risk an exchange just goes under with all your money like the guy who lost $400K trying to do Forex in Quadriga.

No idea how it works in CH but the majority of credit cards in the US charge no foreign transaction fees (mid-market rates) and why use a street change place when you can use an ATM in the foreign country for a low fixed dollar fee if any.

If you investigated your options you’d realize this problem is already solved and better.
I'm not sure what you mean?

Allocators are often pure in D, they probably shouldn't be but that would mean allocating outside the function which would be ugly and probably buggy too
Hasn't white supremacy been a leading cause of cultural extinctions at least since the age of imperialism?

> If the farsis do not preserve their culture, we do not owe it to them to do so.

I don't feel I owe anything to this group, but we owe it to humanity to preserve a diversity of ways to be in and think about this world.
as far as I know they buy 15 year leases...
Well, of course:

void constByArg(const int *x)
{
printf("%d\n", *x);
constFunc(x);
printf("%d\n", *x);
}

Here, the object referenced by pointer x is non-local, and so is constFunc.

The object could be modified in legal ways nothing to do with constFunc stripping away the qualifier.

Also, if the object is not defined const, then constFunc is allowed to do that, too.

Then the next, correct, example with a const protected local shows that two instructions are shaved off. That's a wortwhile saving that could be leveraged to get faster code.

If you're passing local variables into helper functions which are not supposed to change them, you can shave off some cycles with const.

> I mean, I removed const from the entire program

Maybe sqLite doesn't use const specifically with a view toward optimization. To see an overall performance impact, there would have to be some case in a "hot spot" of the program, where const is used with some local variables being passed into functions. (Or whatever other case we can ferret out where const happens to help.)

There are some widely applicable optimizations which scoop up all the "low hanging fruit" improvements, but after that, optimization is a game of eking out small gains with specialized cases.
Hard to implement but I’m slowly dragging org teama into it.
No matter where I go, there you are. Welcome to HN, Joker :).
One specific and highly relevant tactic a group of 181 CEOs could include would be limits to Executive Compensation. Or are they going to continue to receive historically outsized comp packages while redirecting profits from shareholders to things like employee pay and training?
One could also argue that it also provided law enforcement with another potential target for blanket, large scale search warrants.
Unfortunately, C++ const functions are not necessarily pure functions and cannot be freely reordered.
I built a similar site: https://theymadethat.com

The main differences are that 1. it's user editable, and 2. each version is an individual profile that can list creators and parts.

https://theymadethat.com/things/k4z/iphone

https://theymadethat.com/things/k4z/iphone/show_versions

https://theymadethat.com/things/6wy/apple-macintosh

https://theymadethat.com/things/6wy/apple-macintosh/show_ver...

The UX / UI needs a major overhaul though. (Feel free to make any suggestions, and I'll try to address it)

I tend to treat it like my personal Pokemon collection. Every other week, I check out searches with no hits, and I add new entries based on them.

I also added some YC companies (and their founders & products) there just for fun. What's interesting is how incestuous the YC ecosystem is. From what I've seen with the data, the best way to get into YC as a founder is to work for a YC company.
"Orbiter" might be what you're looking for. It's less "game" and more "sim". There are computerized aids for most things, but you don't have to use them. You might find that rather challenging, though - even 1960s astronauts had electronic computers!

Bonus - it's free. I've burned a lot of hours in Orbiter.

http://orbit.medphys.ucl.ac.uk/
Except that sometimes the resonances are extremely peculiar. It's not terribly surprising that differential geometry was the right language for describing physics on spacetime. It's a bit more surprising (to me anyways) that the same probability distribution describes both the energy levels of complicated nuclei and the distribution of zeros on the critical line of the Riemann zeta function.
But, but, but, we cannot platform wrong-think. That would cause climate-change-deniers flat-earthers anti-vaxxers Trump-voters to take over the world and destroy it.
It seems to me that compilers could benefit from doing analysis of functions and providing that information to callers.
This is very disappointing to read. I encourage anyone to compare the architecture and DX of client side rendered apps based on Create React App to Next.js. Next.js is very immature and clunky in comparison.
No we didn’t: https://news.ycombinator.com/item?id=7709556.

Even if that number wasn’t fictional, even by its own narrative it applies to money supposedly paid to telephone companies for fiber deployment. The gist of the argument is that by promising to build fiber, telephone companies got regulators to let them increase phone charges and depreciate phone infrastructure faster than otherwise would have been the case. That’s where the $400 billion comes from.

These arguments are all based on the peculiarly of his telephone service was regulated before 1996 (and in the authors view the way it should have continued to be regulated—even though all of Western Europe went away from this sort of rate regulation around the same time the US did). That has nothing to do with cellular, which was always regulated under a totally different regime, and was built more than a decade after these events.
I was looking for a job a while back and honestly specialization sounds like a poor idea. Everyone seems to be leaning more towards full stack.

Someone with 1 year iOS, 1 year crypto, 2 years Angular will probably have better luck than someone with 4 years Angular.
Because the interest rate on RMB denominated debt would be (much) higher, since there is a significant currency risk.
Forget building any more carriers.

Carriers in today's world are as obsolete as the battleships that the carriers displaced 80 years ago.

Mind you, the fact that battleships were obsolete did not stop the US from building quite a few more in the 1940s before the penny finally dropped.
> KSP2 is sort of a Battlefield 5 type game, where somebody still owns the IP but the original team that built the engine/brought the magic is gone.

What do you mean by this? AFAIK, Dice is still making Battlefield.
https://en.wikipedia.org/wiki/Orbiter_(simulator)
> I've always gotten the impression that Microsoft was from the beginning more of a business enterprise than an engineering one.

At the risk of being rude, if that’s the impression you had, then you’ve been entirely misled. Microsoft in the early days was quiet literally the exact opposite.

I recommend reading virtually any book (there’s a lot) on the early history of MicroSoft.
Restrict keyword does do that if you wish to say that to the compiler. It tells it that no parameters point to the same memory. So if you won't change things via x, *x won't change.
Show HN: I Made a Machine Learning Algorithm Repository
U.S. Gives Companies More Time to Cease Doing Business with Huawei
Yeah that must just be iOS, I've not experienced anything like that in MacOS, nor even noticed any difference from how it used to be years ago.
Power Designs Axiom Motor Controller Schematics [pdf]
It's not really "less constrained" in any way that matters, though. Sure, you can write more than 8K of Lua and the display resolution is a bit wider, but you don't get a dedicated DSP+sequencer for audio, multiple graphics layers with affine transforms/color math, SRAM(!), a real-time clock, etc. I can't even build a Tamagotchi with this ;)

In other words, for my needs, TIC-80 is still entirely dominated by just using https://github.com/rust-console/gba to write GBA homebrew in Rust. (And everything has a GBA emulator. Everything!)

A viable PICO-16 platform, to me, would have to offer a clear improvement over the "GBA homebrew in Rust" solution.

(Even if all it is, come to think of it, is the GBA's ARM7TDMI ISA extended with some more hardware registers and instructions, and a PICO-8-like IDE for building those "GBA+" ROMs. Such an approach would come with the benefit that you could build a PICO-16 runtime by just starting with a GBA emulator and adding features. You could even choose encodings for the new ops such that they would look like NOPs to old GBA emulators, making PICO-16 "GBA+" ROMs gracefully degrade into regular GBA ROMs when run on a regular GBA emulator—very much like how Gameboy Color games work, or how SNES ROMhacks and homebrew support the MSU-1 audio chip.)
Unless you need to multiply large matrices, where you need access to very large rows and columns...like in...ML applications
Such disappointing backward progress. They obviously have developers who know how to write cross platform, since they are also targeting consoles. Would it kill them to compile and release unsupported Mac and Linux binaries?
Yeah, it reminded me of the gas-plasma monochrome displays that were common on "luggable" PCs in the late '80s (like this one: https://jshorney.incolor.com/p70.htm).

They were much lighter than a comparable size CRT, which was the display solution used on the original luggables from companies like Osborne and Compaq. But that was about the only good thing that could be said about them.
Mexico has always been extremely leery of the United States. Notable they very prudently nationalized their oil industry on the eve of WWII.
The use of the debug {} block in D is opt-in e.g. the compiler only includes those statements when given the debug flag

https://d.godbolt.org/z/Rwu4Cq (remove "-d-debug" to see)
Thats not how salaries work. You dont get paid in proportion of the sales of your company.
https://crates.io/crates/tracing is attempting to solve this issue!
Sincerely, I got an admonition and flag from you for calling out 2 different recent accounts, created at the same time, with very similar names that all they did was to defend China's autocratic government.

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

Although I can understand the admonition (for using the wrong medium to call out those accounts), I simply can't understand how those 2 accounts are still active, given their obvious purpose that goes againt HN guidelines in a more serious way.
What does the server block for 443 with no SNI look like?

I wasn't aware that one could test for the existence of SNI in the server block.