skysight-inc/HackerNews huggingface dataset:
> As I understand it , China is a bigger market for Hollywood than the US at this point.

Definitely not at this point. There was a point it looked likely five years ago, but US box office is holding up better than expected, and the Chinese government increasingly block release of the vast majority of US films.
Absolutely not, that quote is nuts.

It is true that the use cases where you wouldn't pick C++ as your first choice are more popular now than they used to be, and it's probably also true that if you only know C++, learning something like Ruby or Python to complement your skillset is likely to be a smart career move.

But come on, almost all the languages that are hip and get a lot of mindshare wish they had a fraction of C++'s usage and influence.
Base salary or total compensation?

Do you have any data or reason to believe "unionized European programmers don't get paid nearly the same as un-unionized American ones?"
Ask HN: What's an app or business you wish somebody else would build?
What is the idea? Why do you think it would be great and valuable? Why don't you work on it yourself? And who do you think would be best suited to making it happen?
Because a vendor will do a lot of ground work (choosing a CNI and CSI implementation for instance) for you, and everything usually covered by a cloud-controller will be entirely up to you (e.g. LBs)
In my experience Gmail does this from time to time too, so any “load once” links won’t reliably work.
By that logic they are not your emails, they are Google's.
Am I the only one here who never has his Windows laptops reconnect to external displays in the orientation and arrangement he tells it?

For 20+y, I've never had external monitors reliably stay where I tell them with Windows (every version of Windows I've had issues with: 2k, XP, 2k3, 7, 2k8, 2k12, 10 (didn't own/use ME, Vista, or 8/8.1)

Yet when I connect external monitors to my Macs, they always stay in the place and orientation I tell them (I do travel (until just before covid (haven't been onsite since Aug '19)) consulting, and would routinely use customer external monitor setups with my MacBooks ... eg - while connecting to a rotatable monitor with one MBP, it would always remember that monitor in portrait mode, while I could connect to another monitor in landscape, and it'd remember that monitor that way)

Compare that to the customer-issued laptop with customer-issued dock and monitor ... and it would forget the external monitor AND the location AND orientation every Dang WEEK I was onsite!??!!!
I sort of assumed Top Gun doubled back on appeasing the Chinese censors because the Chinese censors wouldn’t really be interested in a movie that glorifies the US military in the first place.
El Reg is certainly mainly an exercise in entertainment; I enjoy their pastiche of UK tabloids.

But I find their reporting generally quite good. It's not strongly political (it has a slight left-wing bias, I'd say, but it doesn't generally report on politics as such).

> don't confuse it with a serious publication.

I think that's not fair. It's more reliably serious than e.g. Buzzfeed, which sometimes does excellent reporting, but is mostly tabloid style without the pastiche.
The only sad part is, so seldom do I see things exit a university press release, into the real world.
I agreed with the claim before I read the article, but as I read the article, it convinced me of the opposite, as the article's arguments are really not that good.

That table of differences between in office and remote, for example, is ridiculously simplistic; much of the items listed on the right side are also important in the office. And not all of them are necessarily an issue remote (like timezones).
I can't find the original source now, but millenials spend significantly less than boomers did on eating out and entertainment. The biggest delta was healthcare, which millenials spent, if I remember correctly, over twice as much monthly on.

Couple that with all time high income to housing price ratios[1], higher than 2008 housing bubble, and the idea that lattes are the problem is asinine.

https://www.longtermtrends.net/stocks-to-real-estate-ratio/
The first requirement for a piece of space junk to hit the moon is to be on an orbit that will cross the moon's. Most space junk is left over from launching things into earth orbit (geostationary or lower), and so will not be going fast enough.
The interesting phenomenon I've noticed on HN are folks who have never worked a labor job in their life pontificating on how unions operate in the real world.

It makes you really wonder about the other decisions being made for society by this group of folks who have outsize power at the moment.
This sounds fantastic. The blood pressure cuffs are very bothersome for anyone needing to do a 24-hour analysis. My mom did one and it would take a measurement every hour during night time and it was very hard for her to sleep through it. It would be tight enough some times to burst capillaries. And once an hour is a really low resolution.
You'll find excellent human-lik dialogue in many plays and novels.

The trick a good AI should pull is interactivity, and we didn't get to see how LaMDA reacted to prodding or other kinds of adversarial input.

Plus, even in the conversations shown, it was producing some bits of obvious nonsense, that seem to get rationalized away by the interviewer, who clearly wants to believe.
Show HN: Document Management Quality and Code Comment Coverage
Or like shingles, where the virus lies dormant for years and then activates if the host's immune system gets weak enough, either from age or some other cause. This would make it very hard to trace the initial exposure.
I will add that I have this same monitor and have used it with no problems with the last 3 MacBook Pro revisions, a MacBook Air from 2018, a Mac mini that’s over a decade old (with an hdmi adapter) and an iPad Pro.
Using hash checking mode: https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...
> Warning: Don't use a robots.txt file as a means to hide your web pages from Google search results.

I realize that you are just the messenger and not the progenitor of that policy, so not addressing this to you, but: that is ridiculous. robots.txt is basically useless.
It’s evident that this is North American style union-busting
Corus Entertainment DMCA takedowns list of free and unauthenticated IPTV channel
For those who can't watch the video or just want a text summary:

The underground 1-2 level is supposed to stop scrolling as soon as the mundane return-to-surface pipe comes onto the right edge of the screen. (Unless you're walking on the ceiling.) But because of a programming error, it keeps scrolling, revealing that the warp zone room is there.

It was originally intended to be a much more hidden secret than it turned out to be.

(This is all explained much more thoroughly yet accessibly, and illustrated much more brilliantly, in the video; I suggest you watch it when you can.)

Now for some speculation on my part.

It's unclear whether the error was missed in testing or intentionally left unfixed because they decided they liked the erroneous behavior better. But there's a bunch of evidence that warp zones were added very late in the game's development, perhaps as a last-minute change.

This includes:

* Comments in original SMB source code (revealed in the 2021 "Nintendo Gigaleak") confirm that the programmer thought they were checking if Y = 0 when deciding whether to lock scrolling for the warp zone, even though the code doesn't do that. And these subroutines are located at the ends of their files/sections.

* Each object and enemy in the game is assigned a code, and the ones used to control warp zones are assigned the last codes used in the game.

* Memory addresses assigned to warp zone control variables are at the end of their respective tables.

* The code that decides where the warp pipes take you is implemented as: "Are we in World 1-x? Then 2-3-4. Else, are we underground? Then 5. Else, 6-7-8." This indicates that the level maps were stable when the warp code was written.
What are some of the best Kubernetes books?
There is a plot to the John Wick movies, it's just not very deep. The plot can largely be summarised as "Wick was an assassin, but gave it up because his wife died, then some Bad People killed his dog. Wick is very upset by that, and will now express that via the medium of choreographed fight scenes". Also, there's a whole assassin sub-culture, which is wonderfully executed, if completely mad.

Overall the plot doesn't really make any sense, but it also doesn't need to, it's just a hook on which to hang some spectacular set pieces.
> The new type system goes pretty much against the idea of duck typing

That's impossible, because it's not a type system at all.

It's type hinting, effectively a documentation feature, and sure, you can misdocument stuff. If people started building tools that rely on it to hack an actual type system on top of it, well, it's their problem. Duck typing is not affected by it in any way.
Their point is that they attach data to nodes (data(node) = hash(node + (data(c) for each child c of node))) and can therefore compare hashes at the roots[1] to quickly determine which dependencies have changed and whether changes clash.

Perhaps you’re complaining about it not being a tree because there can be multiple roots which seems fair enough.

[1] I think there are many ‘roots’ as roots are going to be leaf build targets like various executables or test results
A paper was recently published on the assembly of monkey pox virus through recombination technology in a lab. The work was done before the end of 2021 because that was when the paper was submitted for publication, see [1]. I don't understand why one would want go full Frankenstein and build a dangerous pathogen from scratch.

Interestingly, the work was funded by the and performed at the Wuhan Institute of Virology, from the paper:

This work was supported by the National Science and Technology Major Project of China (2018ZX10711001-006) and the Key Research Program of the Chinese Academy of Sciences (KJZD-SW-L06-02).

YouTube video, see [2].

[1] https://www.sciencedirect.com/science/article/pii/S1995820X2...!

[2] https://www.youtube.com/watch?v=4E6cD-VWhQY
For junior engineers it's really easy to fall into the trap of trying to solve everything themselves instead of asking for help when they are remote. I say this as somebody who has spent the last five years working remote team-based gigs.
When he floated the notion of expanding the Supreme Court, FDR was vastly more popular than Biden is. You can see how that went.
US spends $6.7B annually on health issues related to loneliness
this is investor update for my product waka. we are struggling with loneliness. It has a lot of data that you might be interested in.

btw: if you know investors at the intersection of web3+social = connect me with them!
Keanu Reeves trains to the level where they don’t have to use cuts and shakycam to cover for him. He can actually do the action.
Edge of Tomorrow was such a sleeper hit for me, I watched it on a plane while browsing for something mindless, and I was riveted. I must have watched it another five times since.

Tip: Don't read anything about it, just watch it.

I similarly loved Children of Men, they really nail the dystopian aesthetic.
They are tracking you in their store, not your own backyard.
>> “The basic underpinnings don’t have any soul or value,” he told The New York Times. “They’re totally incredible so you don’t believe them. They’re dumb stories.”

And here we are in world dominated by superhero movies, all based on Save the Cat.

https://savethecat.com/?msclkid=651ddcca02731a69d331be73a824...

Edit: And yet later in the article we have this quote:

>> The Fugitive’s success relies as much on plausibility as it does on velocity. Despite the soaring set pieces, the film somehow manages to remain grounded in a kind of palpable reality. “It is just so nice to watch a movie about normal smart people instead of insane super geniuses,”

Not sure this piece is coherent...
One side already has, effectively.
The thing is you have to sell it sooner or later or you won't make a profit. If you sell it to such a price that it's significantly lower than people expect it to be, someone will buy it so they can be sold at a higher price later. It's extremely easy to open both short and long positions on BTC market, so the current price should remain close to its expected price.
I think you're reading too much into it. They're from Buenos Aires because in the novel Rico is a Latino guy from Buenos Aires and the movie wanted all the characters to have gone to school together, therefore they're all from Buenos Aires. Verhoeven is not a Heinlein fan and says he didn't even read the book before making the movie.
Interesting writer, worth investigation.

I didn't know you encouraged research by erasing curious claims from wikipedia. Is that a thing? I thought you just labelled the assertion with a "needs citation" mark or some such. So people could actually know it was in doubt.
You know perfectly well what I meant.
>Why won’t companies just hire me on my track record?

How do you propose to demonstrate your "track record" without a technical interview?
I'll have to look at this for my relay computer, which is similar in some ways to PDP-8 (but has even less memory).

http://relaysbc.sourceforge.net/

But how do any PDP-8 compilers deal with the paged memory system? I mean one luxury of 6502 is PC-relative branches. On the PDP-8, jumps reach only within the current page.

PC relative is nicer because it has this property: shortening a branch is guaranteed not to make other branches longer. So you can optimize branches using a relaxing algorithm: you repeatedly try to shorten every branch in the code. If any were shortened, you repeat the whole process since prior shortenings may have made other branches shortenable.

On the PDP-8 this rule does not hold, shortening a branch can cause other branches to become longer, because the different code position may push the target into a different page.

PIC microcontrollers also have this problem.. but on the PDP-8 the problem is worse in that the page sizes are smaller.

Hmm, well here is one algorithm: in one phase shorten branches, but do not change the code size (insert NOPs to make the long branch the same size as the short branch). So this will increase performance, but not reduce code size. In second phase try to delete the NOPs. Only delete a NOP if it will not break any branch. This is not optimal, but maybe good enough..

Ugh, it's even worse because long branches on the PDP-8 involve indirect addressing, where the long address has to fit in the current page. Wow even PIC is nicer..

Anyway for Small-C, they talk about these issues here:

https://so-much-stuff.com/pdp8/C/Assembler.php
IMO, an expensive keyboard/mouse/monitor isn't necessary for a junior to succeed. Plenty of coders learned on much worse.
>get 2 weeks vacation?

I had to laugh at this one. When I worked construction plumbing (non-union, "free-to-work" state), I received 0 days vacation and 2 days of sick pay per year.

You're saying this is a testament to the effectiveness of the propaganda and I'll back that up, anecdotally, having worked around those very people that vote against their own interests.

I was even rejected from taking two weeks off when my son was born. Needless to say I was there for his birth and his first few months, but some that I worked with were not there for their children's first days.
can you recommend any good intro books?
> Greenhouse gas emissions per 100g protein https://ourworldindata.org/grapher/ghg-per-protein-poore?tab...

Doesn't this link confirm that meat is indeed bad with respect to emissions?

With respect, focusing on tomatoes is a bit odd. I don't think anyone is eating tomatoes for their protein source, as it would take a lot of tomatoes to get to 100g of protein (and yes, that would create a lot of emissions).

If we're talking about non-meat protein, it's best to focus on vegetarian protein-dense sources like legumes, grains such as oats or quinoa, nuts, etc. All of these are much lower than the meat examples here, sometimes by a factor of 10 or more. Poultry and fish are the closest, with poultry being 2x "grains" (a broad category), and almost 3x tofu.
I don’t see the problem with your code?
>>The propaganda the company is pushing is that the company and the workers are working together. They are not. Those workers are being exploited. Bezos considered turnover desirable.

While it is propaganda to claim the interests of the workers and company are aligned, it's also propaganda to claim that they're being exploited.

A voluntary market interaction, that 95% of the world population would jump at the opportunity to engage in, is by no reasonable definition, exploitive.

And society at large will not benefit from forcing Amazon to give Amazon warehouse workers above market wages.

Lower turnover will also turn Amazon warehouse work into another union cast, that benefits those who got in early, before union walls closed the door behind them, while making it more difficult for new workers to get a job with Amazon.

Amazon itself is also likely to slow its hiring if union action forces its labor costs up.
Kubernetes on bare metal is actually pretty easy. Kubernetes on a hosted solution which doesn't have a managed version is prone to error. Usually on bare metal you can make some guarantees regarding bandwidth and storage speed. Trying to roll out a cluster on a service that can't give you these guarantees is truly a nightmare.
That trap also exists in the office, though. Even in the office, you need to give juniors active guidance. It's just that the way you give that guidance is different online and in the office.
Our company's new CTO held an all-hands meeting Friday where he stated something to the effect that he agreed with Elon (Musk) and that if it were up to him we'd all be huddled in the same office..."but times have changed". What I heard was "I really don't like that we can't keep an eye on you, but since the labor market is still so tight in tech, we have to deal with remote (for now)."
Apps are actually directories so it might be slowed down by copying lots of small files.
The problem is that the things you think you enjoy and that recharge you may not actually be what you empirically enjoy and what empirically recharges you.

For example, playing a game, or browsing youtube, or scrolling through social media, or reading the news, or even browsing HN for that matter you may think of as something you do to relax. It could be, however, that actually, doing some woodwork, or practicing a musical instrument, or learning a language, or going for a walk in nature, empirically recharges you a lot better, and you actually enjoy the days when you get to do these activities a lot more - and it makes your time outside those activities more enjoyable too.

These are just examples, it may not work for you in the same way, and all of these activities can be done in 'recharging' and 'non-recharging' ways perhaps. The important thing here is that what you think recharges you and what empirically actually recharges you may be very different things.
though the cancelling attempts were not very successful
> I don't think it's wrong to point out potential related factors but it is wrong to shift any of the blame to those factors, thereby removing it from oneself.

Blame is not all or nothing. IMO it's more than fair to place some blame on the person, and some blame on the current food production and distribution system that makes it an uphill battle to recover from being overweight. Because they are both to blame.

> The world isn't fair. That sucks, and I'm all for working to change that, but until that change comes we have to accept it for what it is.

I accept that. But shrugging and saying "it is what it is, cope or die because that's how the world works", while truthful, is not very compassionate or helpful. People with issues like this should receive help as a matter of course (if for no other reason, then to reduce public healthcare expenses and keep them alive for longer to pay taxes). Just like most developed countries have food safety regulations, perhaps it's time to start thinking about systemic solutions to what is partially a systemic problem.
Job Openings / BharatX (YC W22)
Hi there!

BharatX has openings across multiple roles in Business, Engineering and Operations teams! (You can refer as well!)

We are looking to establish our core team that will accompany us on our exciting journey from 0 to 1 in building a product that targets the next generation of underserved credit users in India! (>110 million) and shape the future of Credit in India

We recently raised $4.5M from Y Combinator, and investors ranging from top notch VCs to marquee investors like founders of RazorPay, DropBox, CRED, and so on!

What we are looking for
Your work ethic aligns with our vision
Hustle/Street-Smart with a get-things-done mindset!

So, if you’re someone who’ll jump to take ownership of projects and wants to work with a persevering team…we’re waiting for you!

Or,

If you know someone who you think would be a match to us, refer him to our company and if converted - we'll get you an iPad Pro (or equivalent) as a token of gratitude from BharatX ;)

https://grnh.se/94f462ed5us
The founder of the magazine defended the Berlin Wall and the killing of the surrendered Romanov children.
I thought the one with Jeremy Irons as Hans Gruber's brother in it (don't remember which part of the series this was) wasn't too bad either. TBH, I'd watch that one more for Irons' performance than anything else, so your point probably still stands.
My team looks after 150 servers from Singapore to LA, about half physical, half virtual, some which just sit on shelves between jobs. Being pesamistic takes about 100 hours a year of feeding, upgrading, etc, about $6k a year.
>get people to vote against their own interests.

This is one of the most obnoxious terms I see in contemporary political dialogue.

It's presumptuous, it's elitist, it's a thinly veiled way to say 'these people are too stupid to know what's good for them'.
Can you provide some links on how to support junior employees while totally remote? I've struggled mightily with it and a lot of the most pro-remote teams I'm familiar with most don't hire juniors
Well "almost always" is a step in the right direction, though I'd say is still a tad too strong. Probably favorable working conditions are reliably improved by unions, but there are also probably reliably less jobs to go around in union situations. And of course the specifics of the job also probably matter quite a good deal. I would be content with something like "Amazon warehouse workers would likely have reduced hours and improved medical benefits with a union."
Emscripten allows to compile in a mode where null-pointer accesses trap, but this involves a check before each pointer access and costs a lot of performance. I think null being a valid address is a side effect of the WASM heap being a Javascript ArrayBuffer, where zero is a valid index (and I guess it's not possible to create an ArrayBuffer where the zero index is out-of-bounds).

Maybe in non-browser WASM runtimes (where the WASM heap doesn't need to be wrapped in an ArrayBuffer but can be directly mapped to virtual memory) it's possible to let null-pointer accesses segfault without performance cost.
> What you need to solve this is merely competent managers/mentoring culture.

I see this claim thrown around frequently as if finding great managers or building a great management culture is an easy thing to do. A great manager in engineering needs to be good at engineering and good at management. It's hard enough to hire for one or the other, let alone both.