skysight-inc/HackerNews huggingface dataset:
It’s good to know that I am not alone. There’s this general aspect of not being cool when one is using light theme. How do we tell them that it’s not by choice? I really like the look of someone working in that dark theme and tried a lot to force myself into it only to fail miserably and come back to light theme.
Hamas used to be worse - at least to Israelis. They are still as far as I know foul to their own people, but of that we don't know too much on the outside.

There is a reason these walls etc exist now and that is because when I was younger, reading about buses getting bombed or civilians machine gunned in Israel was totally unsurprising.
Also the change has to bring some added value. When you get older time becomes scarce and you don't have time to test every shiny new toy and fix its possible issues.
Lawyers, an army of lawyers.

You don't want to get letters from Oracle, IBM, Intel and Co. because you infringed some of their EULAs. They may be invalid, but it will be a very costly decade long court case. And the other part will pump thousands of times more money into it than you can afford, because when they loose they will loose a big income stream in the future.
China has over a billion people: true, but everything is under the control of CCP. So for anyone outside China, it is one coherent entity which is the CCP.
This is a novel approach that attacked a weak security vulnerability on CloudFlare:

"Badger has verified that the exploit has been patched on the Cloudflare side. New accounts are no longer allowed to view API keys until the email address has been verified."
Its annoying that alt+left-arrow is broken on that site. Instead of taking the browser back, it just selects some random part of the page.
Postgres, because it’s rock solid and usually a good choice.

Go for the backend because it’s really quick and painless to produce something robust and that will last.

React (with Typescript) for the frontend because I love it’s component model and am personally pretty productive with it. For styles I just use CSS modules.
I think you're right: this can be shortened to "everyone". I imagine the author is just trying to make it very clear, in a humorous way. Non-programmers can use this to learn, but programmers can still use this to have fun.
> I honestly feel like NYTimes is not going to cover it for political reasons. I am happy to be convinced otherwise.

Explain those "political reasons," please.
Huawei launched TV chip based on RISC V architecture
This is true for any programming language. The problem is being aware of what you really wrote
Yea, I'll have to check it out again. I see very mixed results, it is likely io_uring may not fully replace epoll for all situations as some people thought it would. That's fine though

https://github.com/axboe/liburing/issues/189
> not withstanding lack of Israeli recognition

Israel recognizes Gaza (as something else than Israel at least.)

It is mostly journalists (and internet forums) that conflates Gaza with an open air prison.
> That's the link.

It's not "the" link. They are both valid links to the same thing.

> It works for users of the site mobile or not, app or browser is a choice.

No, it doesn't work properly.

> you can change the url

It's nice, when linking people to an article, to not give them extra work to see it.

> or actually sign in

Shouldn't have to, obviously!

> instead of being a lurking non-participant

Nothing is wrong with lurking.

> otherwise you're opinion doesn't really matter now does it

1. That's dumb, yes it does.

2. This is a different site from reddit. Even if we accept your participation premise, the link is on HN, so it's HN opinions that matter. Reddit accounts are totally irrelevant; only HN accounts matter here.

> don't force ppl to the old.reddit link.

What happened to "you can change the url"? (Not that I agree with that idea in general, but I think it's much more valid for a dislike of aesthetics and much less valid for making a site function properly.)
Argentina’s Perpetual Crisis
It was first. Read Positioning by Reis for why this matters and why nothing will ever beat YouTube head on.
I just zoom in to 115% on iOS and 120% in Firefox on my desktop computer.
They won't even be able to cross the road, hence for the CCP the age old question "Why did the chicken cross the road?" is meaningless :)
Used it for a while then progressed to Gruvbox which I find to be easier on the eyes.
> the Dutch language (who were known as cooperators, traders, culturally respectful in many cases)

Really? The Dutch brutally enslaved large parts of Africa and Asia.
I was unable to replicate these results, and neither can other people. I'll look into it again though and see.

https://github.com/axboe/liburing/issues/189

edit: I'm not sure why I'm unable to reply to the comment below but I don't think anyone is being unnecessarily combative. I linked it twice because it is relevant to both replies to my comment. There is useful information in that thread if you read it end to end. What it does demonstrate is io_uring isn't a clear cut improvement over a much simpler approach. That may change in the future as it is improved though.
After last updates my phone gets constantly activated while in my poclet and it tries to dial random numbers like 8373636369565556.

Then it can somehow jump and start apps too, especially the music app.

Is there some way to disable this?
AND still there stays the double transaction issue.
> Why on earth would you want apps to be able to intercept calls on a phone?

My daughter enlightened me to this recently.

Android devices are not phones. They are computers that come preinstalled with some apps, one of which is a phone app. Importantly: They are not marketed as PHONES. They are marked as "Smartphones". Just search for the word "phone" on the websites of any major Android device manufacturers.

The distinction is important.

Be careful when punishing children from "using the phone". Today, this means that they cannot use the app called "phone". This incident is a stark reminder that "phone" is an app today, not a physical device.
> Their final usecase is pushing ads or extorting data from unsuspecting people's interactions anyway so who are they kidding with their ethics..

The final usecase is actually brainwashing. There could come a future where every single comment you read online is not a human but rather a multi-faceted AI tailored specifically for you. Your current worldview could be measured and the AI could steer you closer towards a "target" worldview.

The comments presented to you could also be moderately coordinated with comments presented to other humans in your real-life circles to establish "serendipity" where you and your friends/family/coworkers evolve similar ideas/worldviews together to reinforce your new beliefs. And even catalyze coordinated human efforts towards common goals.

Doing this could lead most people to believe almost anything. Theoretically this could also be coupled with VR chatrooms to enhance salience.
You have a Jewish friend got it.
Correct. Ding ding. Folks are trying to sound alarms.

Steve built his company to dissent when Apple started to drift too far from those values it proudly puts on its front page, still. It’s fraud to have those up now, imo

Let’s put down the kool-aid for a sec and agree that enough is enough.

A coward dies a thousand deaths but a valiant man dies once.

Justifying any entity participating in blatant genocide is cowardice.
Golden Arches Theory was intended as a joke. Trying to "debunk" a joke, does nothing to negate the trend of increased economic cooperation leading to decreased conflict.

I think the author's own response is fitting to the sentiment in your comment:

I was both amazed and amused by how much the Golden Arches Theory had gotten around and how intensely certain people wanted to prove it wrong. They...insisted that politics, and the never-ending struggle between nation-states, were the immutable defining feature of international affairs, and they were professionally and psychologically threatened by the idea that globalization and economic integration might actually influence geopolitics in some very new and fundamental ways.

The link you posted at the end is a great example of what I'm talking about. The NYT has an incentive to scare you into thinking China is going to take over the US and destroy your way of life and imprison you in some dystopian hellscape. And so we must oppose them at all costs to protect our way of life, and subscribe to the NYT to read more about this growing conflict!

Sounds exactly like the scary bedtime stories Hollywood told us about the USSR during the Cold War. Or the stories Newsweek told us of how Japan was going to dominate and overtake American business in the 1980s. Oh no!

Not saying history will necessarily repeat and China will implode in a USSR-like manor, but, could it be that maybe those fears are just a little overblown?

China is an aging, shrinking population with still a long way to go towards industrializing. And a dictatorship isn't usually a great way to organize a government if your goal is stability.

Are you even willing to consider the possibility that maybe this deal was a mutually beneficial fair trade, with upside for both parties?
if we ever invent Star Trek replicators a whole bunch of grifters would demand artificial scarcity for Picard's earl grey!
I fully agree that this is nothing to feel bad about. It probably isn't as hard as it sounds, though.
What is "out by 2 case" quoting?

> most notably for 'word-size' remainders the compiler most certainly does not evaluate the division then work out the remainder

I guess you're referring to this part of the article:

> How do compilers compute the remainder? They first compute the quotient n/d and then they multiply it by the divisor, and subtract all of that from the original value (using the identity n % d = n - (n/d) * d).

but the article is correct and is talking about constant divisors and the multiplication-by-inverse optimization here. For example, num % 5 on x86-64 gcc 11.2 -Ofast:

foo(int):
movsx rax, edi
mov edx, edi
imul rax, rax, 1717986919
sar edx, 31
sar rax, 33
sub eax, edx
lea edx, [rax+rax*4]
mov eax, edi
sub eax, edx
ret
Are most people working with these themes in fairly low lit environments with a backlight? Because I assumed that current research indicated that in normal light darker text on a light background was actually less tiring for the eyes.
> the user is actually better off as they get a rendering engine built by the phone manufacturer

But also worse off, because features like WebGL2 are released literally 5 years after other browsers supported them.
Ugh, my toddler regularly dials 911 trying to brute force thru lock screen and here this person intended it. This FAANG grindset rotating door of talent has been producing some of the most shallow shovelware releases since the dotcom boom. Product Owners are shotgunning minimally viable everything inside of aggressive release dates atop a complex house of cards to hide the advertisement business.
Moderated groups and personal pages are the only sane places on Facebook. It’s the only feature I use along with Messenger.
> The deadweight loss of property taxes is the economic loss of having resources devoted to filling out property tax filings.

This is true, but it's minor. The main one is this:

> Property taxes also distort incentives. If you improve your property, then you pay more tax. Property taxes can discourage you from using your land to its highest and best use.

In particular, it's what happens after the incentives are distorted. It becomes unprofitable to increase the housing stock, so housing becomes more expensive, so people have to pay more for it. This can be a huge amount of money and it's deadweight loss.

> Land taxes offer the opposite incentives. They encourage you to make your property better.

It's not that they encourage it so much as that they stop discouraging it. You don't pay any less LVT if you develop your land, but you also don't pay any more.

> Land taxes would arguably help a lot of the housing crises.

This still depends on zoning. It doesn't matter how profitable it would be to have a 4-plex on your lot when building one is prohibited by zoning. And fixing the zoning would have the larger benefit, because in the places that matter, that's already the constraint, which LVT on its own can't get you out of.

Of course, we could do both.
You can read the summary pdf and see what the issues are and what is rewarded.
The Argentine Crisis 2001/2002 (2013)
Because like trustlessness and claims to remove middlemen they’re true but only in a very specific context. Every time you see a grandiose crypto claim that doesn’t make sense just add “for a technicality” to the end.
Base16 – architecture for building color themes for many apps
I have the opposite experience wrt. ISOs and plain (dd) images. If I burn an ISO to a USB stick, I can use the whole stick. But if I burn a dd image to the stick, the size must match exactly, otherwise I have to futz around with fdisk and resize2fs. Sometimes a 4GB stick has less memory than another 4GB stick, so you can't restore.

And when creating images, you have to take extra care to zero out unused space, otherwise your dd image will not be compressible.

Frankly I just want a small file that I can right-click or drag into Rufus and burn my USB stick or SD card ASAP. I used to know exactly what was going on when making a bootable floppy; the file containing the bootloader had to be in certain sectors, so you had to create it with FORMAT, but all other files could just be copied on. I don't know if any special sector layout is neccessary nowadays, I think for EFI boot it just requires the EFI directory. And tools like Rufus probably just copy file by file to the USB drive, not sector wise.
I see no mention of federation capabilities in the readme. Is something like that planned?
It would be nice to have the possibility to join across hosted instances.
Why would you have MS Teams on your personal device? Does your company rent the space it uses and pay for the CPU, memory, and IO quota?
In theory, in practice when using debug libraries, undefined becomes defined as a runtime check that will lead to an assertion error, or a static analyser failure.

https://godbolt.org/z/re51ensMe

terminate called after throwing an instance of 'std::bad_optional_access'
what(): bad optional access

Naturally not everyone goes by adopting best practices, so there is that.
911 calls have plenty of capacity for occasional test calls

That is not an assumption I would want to make. There are plenty of accounts out there of sporadic staffing problems at emergency call centers.

It appears the right way to do this is to get an appointment. More details here:

https://www.911.gov/frequently_asked_questions.html
This is just absurd. It's like arguing against seatbelts as a default in cars because you might sit in your driveway most of the time.
Is that even legal? I’m not sure it would stand a leg in the EU.
Also the metaverse is meaningless, what we need is action (as I said; super mario galaxy, but 1000s of players) and the current definition of metaverse talks more about virtual things and economies.

And now since Zuckerberg is cybersquatting the term we need to find a new one.

How about "the internet", wadda ya say?
Why's that then?
Funny. I have a washing machine which depends on the amount of dirty laundry. How do they know how many people generate dirty laundry in my home ?
> There are rumors of a backroom deal with the new government where the Nordstream 2 pipeline is going to be cancelled or unused in an event of a Russian invasion of Ukraine.

Wow... This level of appeasement would make even chamberlain blush.
Looks like it's only impacting phones from 2019 onwards and in very specific circumstances (still not great at all but a very specific bug):

If you are unsure what Android version you are on, confirm you are running Android 10 or above by following the steps here. If you are not running Android 10 or above, you are not impacted by this issue.

You are also not impacted if you have teams installed and are signed in:

If you have the Microsoft Teams app downloaded, check to see if you are signed in. If you have been signed in, you are not impacted by this issue, and we suggest you remain signed in until you’ve received the Microsoft Teams app update.

If you have the Microsoft Teams app downloaded, but are not signed in, uninstall and reinstall the app. While this will address the problem in the interim, a Microsoft Teams app update is still required to fully resolve the issue.

We advise users to keep an eye out for an update to the Microsoft Teams app, and ensure it is applied as soon as available. We will update this post once the new version of Microsoft Teams is available to 100% of users.

https://www.reddit.com/r/GooglePixel/comments/r4xz1f/pixel_p...
"The Information suggests that Apple is heavily reliant on Cook for international negotiations and speculates that it could face difficulties dealing with government affairs when Cook stands down as the company's CEO."

I wonder- is this true, or is this article trying to do some indirect PR/reputation building for Cook?
Like a self-replicating contagious vaccine.

I've always wondered about this in the context of computing. Why no one creates "virus" that infect a machine, fix the exploit and spread to others using the same exploit used by the original virus. Like an immune system for the network.
I have a similar story. A company I worked for in the 90's had a voice mail system that ran out of storage space for messages. When we upgraded our contract a technician came on-site to expand our storage. I was curious how it worked so I watched over his shoulder; he physically removed a bolt from the hard drive. I asked about it a bit and he said that the bolt had prevent the drive from accessing the entire drive. My mind was blown.
> In areas of housing shortages, the rent with LVT would be whatever it currently is without LVT. Theoretically, landlords are already extracting the maximum rent price possible in housing-constrained markets like NYC/SF/etc.

But that doesn't mean that the maximum rent (whatever the market can bear) will remain the same if all landlords had their costs go up by the same amount at the same time. It could fall as landlords get out of the renting business because the costs are above what the market will bear, but I think that it is equally likely that landlords will first raise the rents to try to stay in business.

What makes an area expensive to rent/buy in is not "greedy landlords", it's primarily the fact that the demand is high. Any solution that doesn't involve matching the demand to the supply is bound to fail in the long term.

Land may be a scarce resource, but that's only in select places. It might be better to spend the effort making the undesirable places more desirable than by knocking down existing buildings and replacing them with high-density buildings.

A non-CBD area that has high-speed internet, quick+cheap public transport to the CBD, electricty and clean water supplies should be fairly desirable to live in. Those who want an address in the middle of the city shouldn't expect to pay the same as those who are prepared to travel to the middle of the city.

I don't think that building more housing units in the middle of the city is going to solve the problem of expensive housing in the middle of the city. The middle of the city is always going to be expensive.
Hello Web3: Why I quit my job to ape into Web3
I was hoping OP would respond.

I'm familiar with both passages.

Neither contain a definition of "free market".

(That's a term Smith uses exceedingly rarely. Only once AFAIR.)
Using Swift to Parse Person Name with iOS 15 APIs
I was digging through their entries, this is the latest scrape that I could find. Haven't successfully unpacked anything yet, but it seems to be legit [1].

[1] https://archive.org/download/alexa20200802-00
Ask HN: Honestly did programming jobs always sucked so hard?
I know that's a loaded question, I need to know. I've been a dev for 7ish year. At one point I was REAALLY into it, I wanted to freaking master it. Conceive the best code architecture, learn from experts, and do everything to write code that would be efficient and so great that next person would just send me gift cards out of gratitude. To code, was to write poetry but such that it was remarkably accessible. Breaking complex problems into stupidly simple poetry felt like an art. But even during that phase I realized real world isn't gonna be me writing everything from scratch but I was ok with that compromise as long as I got some time to do great things and got paid.

Now I feel completely disillusioned with the field, I need to know if it's due to field becoming completely trash or me misjudging what 9-5 was gonna be like. At first I said to myself, I'm jr so it'll get better. I'm lead now, it didn't get better.

Avg day: Get ticket written by dispassionate PM about something irrelevant and outdated base, write 30 tests, debug it for days, push changes, get handed another equally useless set of tickets. Repeat for a year, get promotion or find new job, then repeat again.

Why are there so many PMs? Why agile/scrum is even a thing? What's with infinite tests? Why so much code is being written to do so little?

If you have been a dev for 12+ years, please tell me am I right in thinking that programming as a job has become very labrious and boring, processes driven and needlessly complex?
Announcing hlsl 2021
Show HN: I built an open source automation to collect your bills
Hi HN!

As a micro-business owner, every year I'm faced with the same challenge: collecting bills from various places.

The services automating this collection of bills I found always required me to provide them with my credentials, which I refuse to do.

Last weekend I finally decided to do something about it and wrote this automation, using PlayWright, Robot Framework and the Robocorp Toolchain (disclaimer: I work at Robocorp).

---

Ways to run it:

- CLI

- GUI (Free Robocorp account needed, uses the Assistant that is not open source)

- Run locally in both cases, without sending any data to Robocorp

---

I hope you like it, it already proved useful for me and I hope it can help others as well!

(If you want to add providers, feel free to open a PR)
Following that through to the blog post ([1]), it's interesting how much new API they had to add. The Windows IO API is already completion-style (as opposed to epoll, etc's readiness-style) - userspace submits an async operation to the kernel, blocks on a channel to receive its result, and the kernel enqueues the result to said channel when it's done. So I naively assumed that they'd "just" have to refit io_uring's API on top of the existing Win32 API.

[1]: https://windows-internals.com/i-o-rings-when-one-i-o-operati...
With modern compilers, there is no such thing as what you program is what you get.
By providing custom allocators?

Also when speaking about kernels, it isn't as if the other languages being discussed (including C), make use of their respective stdlib in kernel space.
> If you don't already know and believe this stuff, I doubt China

This Communist Party version of China carries more weight in its words the further it goes in space technology and other domains. China's space station has half the volume of the Saturn 5 era Skylab. The last questioner at an WSJ audience of CEOs with SpaceX founder framed China as the big kid on the block with a projection to grow outsize its economy to the United States Democracy by 3.
I think what you really want is test, which allows you to test various things about a string or variables, including existence, non-zero size, etc.
I think you are right! Also thanks for reminding me that I'm pushing forty!
Mac Tip Diagnoses Your Old Zip and Jaz Drives
Or it became so “widely popular” (hardly outside android circles) because android java is capped at around java 8 features, while we are at 17.
code quotes haven't had a horizontal scroll on HN for months (years?)