skysight-inc/HackerNews huggingface dataset:
Manipulating the source code leads to invoking the Swift compiler to generate the information required to drive the rich editing experience. I have found SourceKit’s performance in complex projects, especially those where there are a lot of third-party libraries or frameworks you’re linking against, to be pretty disappointing. Especially when you’re working with many ObjC dependencies.

Like many of Apple’s developer tools, if you stick to the happy path, performance is great. Practically that means compiling your source into a single Swift module and keeping the number of modules low. If you are a “basic” iOS or macOS app with just a couple of 3p libraries things work great. Real world projects are drastically more messy...
>"A hardware interrupt is pure overhead, especially on platforms like x86 with silly interrupt latency."

Relatively speaking maybe. But I have a device I've designed that communicates to PC using interrupt transfer at the rate of 250 requests/s. I've watched it then over oscilloscope and it is stable like a rock. Sure if you overload PC it might get into trouble but it is a game like application so when the app is ran PC is not doing much else. I recently ported the same thing to Raspberry Pi 4.
I read about poor insulation a lot but is insulation practical or worth it in areas like South Asia where the humidity is on average 40-80% RH.
Show HN: Keep readers up to date on new entries to your 'awesome' list
I think if someone really owns this credo - “I’m using the government to improve my life at the expense of someone else’s property rights” - I could maybe respect that? At least it’s consistent.

None of the people I’ve encountered who oppose housing construction seem to see things this way. Most of them seem to be economic conservatives who see themselves as having won a “fair game” and the fact that they’re using the government to strip others of their property rights - rights to build, rights to house - is lost to them. There’s a lot of cognitive dissonance and post-hoc rationalization in this group.
The area (in this case, number of services or regions) impacted by an outage.
Didn't Wave Computing try this?
> Of course this risk profile isn't for everyone but that's the beauty of personal liberty: the freedom to make the choice that's right for you.

But your personal choice does determine if you put the lives of not only everyone around you but also your entire community at risk. Does that count for anything?
Upton Sinclair got this right almost 100 years ago- “It is difficult to get a man to understand something, when his [RSUs depend] on his not understanding it.”

Of course, I also work at a FAANG, so people in glass houses and all that...
I’ll take the train over the plane or the bus for longer distance travel any time.

Flying is so miserable, time consuming, and pollutes so much.

The best trains I’ve ever taken were the Swiss ones however. And the French trains were by far the shittiest (late, run down, dirty, no water and/or light in the toilets more often than not)
I don't think it's more important to protect private profits than ensure people's right are respected when their data is being processed.

Moreover, I don't think the answers will be made public so what's the problem with being held accountable to a government authority? That's just normal in this case.

It's more than relevant to get to know a company business strategy when their business model is essentially based on user data.
I probably make calls with apps more than POTS calls these days. The sample rate and codec on a typical social app is noticably better than POTS calls.
Newspapers, magazines and broadcast news have been actively, negligently and often knowingly defaming people and organizations for decades (centuries?), sometimes with very serious consequences for the offended parties. I've not heard anyone calling for Visa/MC to cut them off.

If there is a legal case to be made against Pornhub, then the authorities should make it. Otherwise they would do better to go after those who made (or uploaded) the offending material in the first place.
the food sucked
And you get an Uplevelled-the-joke medal.
And cheap? Because many versions of them are on their second public generation, and not too many people are excited about them.
I have a OnePlus 7 Pro. When I bought it, having a screen without an ugly notch or hole was the benefit and having a pop-up selfie camera was the trade-off.

Or so I thought. And then one week I caught my camera quickly popping up and down when using Firefox. I searched around thinking there must be a bug. It turned out, Firefox had camera permission somehow. I don't recall granting it permission. In any case, it sure seemed like a rogue ad or JavaScript malware was taking pictures at random times. Who knows.

But I would never have known this if it were not for a physical camera that has to pop up. Today, I can't imagine having a phone that doesn't have this same mechanism.
And just like the real world, never try to talk your way out of trouble.
Never talk to police, remain silent, and get a lawyer. The police aren’t trying to throw you a bone, they are trying to get you to selfincriminate
automated quota management system

At least it's not just us pleb users at the mercy of their automated systems. I wonder if someone internally appealed the decision and got told their review had been carefully considered and subsequently declined.
> A compiler author could define "access" to be "reads from the variable" or "writes to the variable", or neither, and make the entire keyword useless. As long as they document that somewhere, it's compliant with the standard.

Nobody is going to accept that as a compliant implementation.
"Don't split us the google company! We are tightly coupled, things will go wrong, your precious gmail account will fail more"
Wow this makes so much sense, and should be the top comment. Especially when looking at it from the perspective of having an outgoing administration.

Sure the 45 days will be after inauguration, but usually the people are not booted on day 1.
I couldn't agree more. I used the Barcelona-Torino a few years back. I loved it. It felt like teleporting from city center to city center. You don't even have to worry about passports or anything you just hand it out to the train staff.
Maybe they simply disagreed about the syntax...
"SolarWinds says it has over 300,000 customers including:

-more than 425 of the U.S. Fortune 500

-all ten of the top ten US telecommunications companies

-all five branches of the U.S. military

-all five of the top five U.S. accounting firms

-the Pentagon

-the State Department

-the National Security Agency

-the Department of Justice

-The White House"

Purely from a risk management perspective, it's a terrible idea to have a single point of failure for all of the above
Xcode used to have this awesome plugins ecosystem (Alcatraz) that was built by 3rd party devs.

Then XcodeGhost happened. They try to replace it with Xcode Source Editor Extension but that one is just not as good as Alcatraz
> I don't know what the difference is, but I can second GP's statement that the experience you and GGP had isn't universal.

How frequent should that problem be until it's recognized as a problem?

From where I'm standing, civil asset forfeiture sounds like blatant corruption and outright stealing made good on paper.
Every time I upgrade Visual Studio I try running it without Resharper. I’m finding I can last longer before I give in each time but I always do end up installing it.
This is why I love HN - this comment-to-comment dialogue and thought progression is always so riveting!
For me it totally depends on the job. Most days and employers are just a slog and so I can work as little as two hours a day in these conditions.

But for more interesting employers and problems, I can do 6–7h.
Boko Haram Braces for More Bloodletting in 2021, Gets New Lake Chad Governor
Going hand in hand with this sentiment, I strive to feel I am not entitled to given end states, regardless of the effort I put in.
Where does google go to hire a massive team of legal experts in every google product, it’s strategy, and possible R&D.
> Slavery was not in the least a contribution to "financial success"... What it did was create a huge unfair advantage for the few who could afford to "own" someone who had been enslaved

I think you have been given a very skewed view of the role that slavery played in our country's economic past. There have been long efforts to downplay the role of slavery, and there still are. Cotton was the US's #1 export from ~1800 through 1930 due to slavery, and then continuing into the extremely exploitive sharecropping. That's the core period our country developed - and the single export that brought in the most capital into this country. That continuous inflow of capital is also what made New York City the financial powerhouse it became. [1]

Slavery wasn't a just for the few. One of the number one ways that people mislead with slavery is by trying to show the percentage of the slaves divided by the total population in 1860. That's extremely misleading, as individuals didn't own slaves, families did. The same way measuring what percentage of families own their home is accurate, not individuals that own the home, as only one in the family typically owns the home.

There were 15 slave states in 1860. Of the top 10 states, in all of them at least 25% of families owned slaves. With the top two states South Carolina and Mississippi topping out at 46% and 49% of families. Almost half the families owned slaves. And that's ignoring everyone else in the south who didn't own slaves, but participated in the slave trade - and those who rented slaves for labor but didn't technically "own them". [2]

On top of that of the top 5 states owning slaves, enslaved people ranged from over 40% of the population in Georgia, to almost
60% of the entire population of the state of South Carolina. [3]

Slavery and the white supremacy views it was built on, were an absolutely core part of the first part of this country's existence - culturally, economically, politically. Slavery wasn't a niche occurrence only for the elite - and especially so for the white South. It was disgusting, it was violent, it was immoral and it was everywhere. It didn't play a minimal role. The idea that a few wealthy elite slave owners "tricked" the rest of the southern population
to go to war for them is a farce. The entire south gathered up to go to war because white supremacy was the culture of their land.

It's taken this country a long time to try to undo that work - and we still haven't finished...

But to downplay Slavery is to also downplay what was taken from Black Americans, and how much that theft built this early country.

1. https://www.pbs.org/wnet/african-americans-many-rivers-to-cr...
2. https://www.snopes.com/news/2019/08/07/percent-of-whites-own...
3. https://en.wikipedia.org/wiki/1860_United_States_census
Second hand cigar smoke gives me a headache and nausea rather quickly. It's hard to see how that cannot be deleterious to one's health.

On the other hand, cigarette smoke always smelled good to me. Good enough that I didn't try smoking as I knew I'd never be able to quit.
Personal protection is just that: personal. If masks are not adequate to protect you from others who may not be following best practices then I think the PPE standards need to be adjusted. You cannot trust/expect everyone to adhere to them perfectly.

I live in an area that isn't Florida but does not adhere to quarantine guidelines. Personally, I don't know of anyone who has been sick. We wash our hands and take basic precautions and anecdotally that has been sufficient.

Personal disclaimer: I am anti lockdown. This is causing substantial damage to our economy and I depend on my community having the financial means to purchase my services and products.

I work in construction and the majority of the jobsites do not wear masks. We are all ok. If you are feeling sick then don't be an asshole and show up to work. Everyone I know has followed this basic guideline. Of course you will say you can have it and be asymptomatic etc and we could discuss this ad nauseum but I will just tell you I am not open to changing my mind. I have an absolutism mentality on this position. I don't think we know enough about the virus to make these types of detrimental restrictions. For example we now know putting someone on a ventilator for an extended period of time typically does more harm than good.
As other said, really talk to your doctor, not just as the generic advice but also because there are many other options that can replace/complete/work better than Tylenol.

For instance there are Codein (an opioid) laced versions that are more efficient at lower doses (with other obvious aspects to watch for), or better identifying the source of pain can help target it more precisely (e.g. direct application gels).

There can be other mon drug related actions that help, if your doctor doesn’t give a shit finding another one would be your safest option IMO.
If you can't articulate why something is wrong, you have no justifiable reason to downvote it. Open to criticisms.
As a former lawyer, one thing that really gets me worked up is how absurdly expensive it is to hire a lawyer (and for litigation in particular).

A company should never need to shut down because it can’t afford to defend itself. If this happens, it means our governing framework has seriously failed somewhere, and we should focus on fixing it.

Not really a vote-winner, but that’s no excuse.
The goal isn’t prevention or increasing economic output, it’s to punish people for breaking social norms. And that goes triple for people of color. It promotes the power of the powerful, who can always make an exception for their friends while claiming with certitude that all other addicts are morally deficient.

So people can make arguments all day long that the War on Drugs is expensive and ineffective and unwinnable, but some people aren’t going to care, because it’s a long-running culture war that empowers the powerful.
So how did they finally fix it? Did they do the workaround of loading more than 1 frame of data? Or did the vendor upgrade to a more recent AOSP? Or did they patch the fix into their version?
As much as I want to find yet another reason to hate the Trump administration, this was done by the independent FTC, by a vote of 4-1, with 2 of 3 Republicans and both Democrats voting in favor it.
That's not a problem in the proof, it's part of the definition of a "correct optimization", given above.
> Air travel is easily replaceable by low-carbon alternatives that exist today.

Intercontinental and cross continental travel are a bit harder to replace with low carbon alternatives.

Europe has a functional high speed rail system due to its high population density, but the distances between some city pairs in the are hard to replace with rail or other low carbon alternatives. Think of Los Angeles to NYC, or San Francisco to Paris.

Many of these flights could be replaced by video conferencing, but if one really has to travel that distance, rail is a hard sell. It's not unpleasant to take Amtrak across the continent, but it's not fast either.
>And you’re holding up the US public sector as your shining city on a hill?

Certainly not. I'm only holding the US's cybersecurity complex as a shining city on the hill. Our government is so inept that I very much doubt CSE has the funding it needs or the ability to hire skilled people.

Happy to be proven wrong.

>Canada is leading the world in procuring the vaccine

Because we don't have any domestic production capacity due to decades of federal mismanagement. The same mismanagement that bought us used, obsolete fighter jets and submarines that catch fire at the slightest provocation. We lead the world in procuring those items too.
From May 2022 all new cars (and buses etc) sold in EU will be fitted with "Intelligent speed assistance (ISA)" systems. ISA meaning sign recognition or other means of detecting the legal speed limit, that limits engine power when the limit is exceeded [1, 2].

The European Transport Safety Council (ETSC), the body which supports the introduction of ISAs, says the limiters would reduce collisions by 30%, and save around 25,000 lives within 15 years.

I think this is a really brave move by the EU, and a great example of use of technology to save human lives. I wonder if these kinds of "unpopular" legislations are rarely be made by local governments filled with politicians up for re-election every four years as it spells doom for chances re-election.

1. https://www.europarl.europa.eu/news/en/press-room/20190410IP...

2. https://www.rac.co.uk/drive/news/motoring-news/mandatory-spe...
Show HN: Show last Git push on an e-paper device
Saying in hindsight when the error has been found that something is a wrong approach and should have never been done like this is easy. But everyone of us is daily coding simple „tricks“ to not implement a more complex solution because the simple approach seems to be working, until some months/years later it does not anymore. And then someone will point their figures at you/us and say it‘s obvious it should have never been done like that...
Hi there! I have a question:

In the article you demonstrate how quad-trees are used for indexing spatial data, but does Cockroach DB do this in 3D as well (i.e. octree)?

I was fairly interested in PG Pointcloud [1] back when I was in grad school, but storing arbitrary 3D information seemed to present unique challenges in this space (especially with regards to indexing). Would the approach used here extend to 3D? I don't know if I see a clear reason it wouldn't, but I was wondering if there's anything in Cockroach that might make that extension difficult. I recognize you're using the S2 library here as well, which doesn't seem to have all the 3D primitives, but I'd be interested to hear your thoughts!

[1] https://github.com/pgpointcloud/pointcloud
"Specific" doesn't mean "narrow." "What were the ingredients from every meal you've had in your life?" or "What is the current address of every person with the first name 'John'?" is a specific question.

All it means (in English) is that it's clear which information should be included in the reply, not a limitation on the range of information that can be asked for.
African cheetah to be re-introduced in India
I once estimated that cigarettes would take 50,000 doses to kill you. That's pretty far from a deadly poison.

I figure I'll take up smoking when I'm 80. :-)
Have any of the strategies in these trading modules resulted in better than market average returns?
Way back when monetized flash games were a thing, there was a problem of ad piracy (people who would decompile your game and then upload and monetize it as their own). The conventional wisdom at the time was that piracy could only be delayed, not prevented. The reasoning was that a piracy check has to read the sites URL at some point and the hacker can just search for the only command in all of actionscript which does that.

My game contained a very standard check url type protection. This was not the real protection. This was the piece of code which the hacker was supposed to notice and remove. Early on in the game there was a function call to get the total number of bytes in the file and then divide it by the number of expected bytes. Ostensibly this was to calculate the size of the loading bar. I stored this information in a forgettable global variable. On the surface this looks like the sloppy coding one expects from flash devs. But the real purpose was so that I could later check if this number was not 1.0 and trigger the true copy protection. Long story short if the number of bytes were incorrect then the game becomes unplayable after a few levels. I thought that was a nice touch since these hackers usually didn't play though enough of the game to test if their hack worked.
All new cars sold from May 2022 in the EU will be fited with intelligent speed assistance systems (sign recognition etc) with speed limiters.

https://www.europarl.europa.eu/news/en/press-room/20190410IP...
The reason I don't like threads is that I can't expand a thread without seeing it in the sidebar. That's so effing annoying.
read somewhere (9to5mac or Daring Fireball, I think) that it's not related to music copyrights since the music is straight from Apple Music service; more likely from language reasons. Basically if you are not English native speakers, you likely not enjoy the service as well as them. They might slowly roll out the service in the future, though.
For me, being an old dog, it is quite clear. Yet another guest language that fades away.
It would be silly if these people weren’t implicitly calling for violence against entire groups of people. It’s a little more serious than “silly”.
So recently TPG used their CWMP powers to disable the OpenVPN server on all of their customer's routers, including the VR1600V [1].

Without any notice too - and I know a few businesses that were pretty upset with this. Particularly because many of their employees were working from home and 'in this climate'.

A commenter has also pointed out [2]:

> The Archer VR1600V software is licensed under the GPL. This can be used to compel TPG to release the source behind their modifications, if anyone wants to use the legal system to chase TPG for information.

Edit: I know that the version of OpenVPN on the router was using TLS 1.0, which is deprecated in all clients now. That's besides the matter. I don't believe it's an ISPs role to be fiddling with the application level services of someone's internet.

[1]: https://community.tpg.com.au/t5/Broadband-Internet/Missing-V...

[2]: https://www.marcelvarallo.com/some-more-fiddling-with-the-ar...
I invite you first to read to understand what is going in the thread. I honestly have no idea what are you commenting about.
IntelliJ is amazing though.
If all of your services make use of one service, maybe that should be treated as very special case...
Multiple negatives are common in some languages and absolutely do connote a distinct meaning from the simplified language.

https://linguistics.stackexchange.com/questions/15334/what-i...
Is it legal to start an auction to sell an exploit, never close on it, then use that as the price point to negotiate a bounty?
How did you find this tutorial? I can't seem to find it by navigating on the developer site.
Slack doesn't expect you to do anything. Your coworkers do.

People don't interrupt me on Slack, simply because Slack doesn't jump in front of my IDE. When I see a notification dot and have time, I'll look at it and reply
Docker is the new NoSQL.
You mean like cracking the most lucrative accounts on Twitter and then stealing Bitcoin? https://www.wired.com/story/inside-twitter-hack-election-pla...
Probably those 350 people will be divided in teams, and those teams will have separate channels, right?
>Even Google!

The time when Google was special is long gone.
How does this compare to QEmacs, or even GNU nano, in terms of usability?
CUDA was redesigned to work like C++ actually.
So far dealing with stuff like PayKit SwiftUI integration still feels really bad. There's just tons of stuff expecting UIKit and it will take a while before all of that stuff is ported.

SwiftUI is really great, Combine can be hard to get into for people not initiated in Reactive and generally it's as fast to build stuff in as Flutter without dealing with the tragedy called Dart.
I am a libertarian and I have felt pretty miserable living in California. Some other people telling what I can or can not do for greater good and then forcing those things down my throat is what made my life miserable.

The last straw off camels back was San Jose banning gas powered stoves. WTF really ? Lucky for me I was under contract for a new house before that. Now I have the house and its prices have gone up suddenly. I feel sorry for sods who will end up buying my house for 5% premium for the pleasure of owning a gas stove, the sort of thing that is kind of free almost everywhere else. Good luck saving the planet with these antics.