skysight-inc/HackerNews huggingface dataset:
And you don't have a right to have your cake and eat it too.

It's astonishing how many people on HN believe it is okay to shaft the sponsors of the content they enjoy and consume. What ever happened to "don't bite the hand that feeds you?"
I mean communists generally advocate that wage labor is equivalent to slavery.
That’s just because someone went through that pain for you and scripted and packaged the entire procedure and rolled up most of the dependencies and their bills systems. I’ve done it from the official build directions without containers or prebuilt dependencies and “royal pain in the ass” is an understatement.
Yes. In my YouTube studio analytics I can see the percentage of revenue that comes from YouTube premium subscribers.
Data Science, Python Top Popular Specializations, Certificates
This doesn't tackle the primary issue I have with databases and source control - diff.

A proper source control system for databases should handle both migrations and diffing across migrations. I should be able to compare any two commits and view exactly what is different between them.
> When bootstrapping, physicists determine how elementary particles with different amounts of “spin,” or intrinsic angular momentum, can consistently behave. In doing this, they rediscover the four fundamental forces that shape the universe.

They have derived gravity through quantum mechanics? What rock have I been living under?
People are allowed to make their own local decisions about how they want to live and govern. The notion that either California or the US should override local zoning laws is authoritarian, and does away with the agency of voters.

I think there is a place for dense communities as well as non-dense ones. Different people need and thrive with different environments. Recently the focus on pushing only high-density (usually from the new wave of 'urbanist' blogs) looks to demonize anything that isn't high-density urban, and frankly it feels very us versus them.
The one benefit of n^2 is it is really easy to do without any additional memory or data structure requirements.

To make an n^2 algorithm n (or n log n), you pretty much always need to add in some constant time or logarithmic data structure. That requires tracking that structure, usually generating a good key, etc.

I'm not saying that's really all that extreme. It just means your previous 5 line algorithm will often "bloat" to 10 or more lines with a new concept to track. This is where I see some saying "not elegant".
>In my opinion there’s simply too many dependencies to begin with. Some of the simplest things put into a GitHub repository to be “shared” with the world is great—as a gist file. Software needs to be a little more self-contained. Software reuse these days is honestly taking “not reinventing the wheel” to lazy extremes.

All true. Did we learn nothing from the left-pad incident?
Any specific parts you’d like to understand better? I’m sure someone here is well versed in this topic.
> meaning the real client IP is guaranteed to be the last in the list.

The last entry in the list is simply the IP address of whatever is making the request to Heroku. In my example, that's Cloudflare, being a proxy. Heroku simply appends the originating IP address (coming from a proxy) to the header which is what you would expect.

The Stack Overflow answer is addressing X-Forwarded-For spoofing, something you don't care about for geoip lookup. Someone could prefix 8.8.8.8 to the header before making their request, thus "X-Forwarded-For: 8.8.8.8, <Real IP>, <Cloudflare IP>", and it's inconsequential that your service will return results for 8.8.8.8 instead of <Real IP>.

The SO answer is wrong that this is Heroku-specific behavior. Heroku is simply appending the originating IP address to the header.

Obviously you can push a route to production that logs req.headers to see for yourself to nip this in the bud.
This isn't shrapnel. Most bombs involve some kind of killing power via shrapnel. This one doesn't even seem to explode. It just extends six, 3 foot long swords from the main body prior to impact, dicing everything in the immediate radius. Precisely because of the lack of shrapnel/explosion, the risk of collateral damage to nearby people is supposedly greatly reduced. As long as you aren't within the killing radius of the blades, you theoretically shouldn't be harmed.
Um no its not that simple in a democracy people have to want to live there or have reasonable public transport.
White-collar jobs, interpersonal jobs, and exposure to A.I. displacement
KV is missing the point. The problem is not really with generating the documentation, so much as it is with the software engineer lacking understanding of what they are writing about, what the security processes should be. That is why the engineer is at a loss and looking for some kind of a template, to rely on others who have already done the work. With regard to tackling security processes in a startup, one could refer to NIST standards. Maybe not the most suitable per se, but a starting point.
Except that the Prius is made by Toyota :)
Iran is much more of a threat.
In an InstallShield package, with a 7-step license activation process.

Let's face it, security is an asymptote. I just want someone I can call and scream at when we eventually get pwned and I'm ready to pay for that privilege.
Also LA too
That's nice, but it doesn't scale. Google only let you solve a few (5 or so) audio captchas in quick succession before you're banned for a while, so it's no good for us.
Realpolitik.

Afghanistan had to be dealt with to avoid having a stateless state where actors like OBL could operate with impunity. US presence there is a thorn in the side of Iran, Russia, China, India and Pakistan.

It sucks to be an Afghan, sandwiched between these sparring great powers.
10 years ago is 2009. Large web applications had been breaking out of intranets (where they'd lived for quite some time at that point) for years at that point. GMail was launched in 2004, Google Maps in 2005 (that's also the year "AJAX" was coined) the JS library war was done and over with (jquery, prototype, mochikit, mootools, dojo, YUI, … were all released between 2005 and 2006). IE7 was 3 years old, Google Chrome was reaching its first year, IE8 was just released.
> Of course we can afford free health care for our citizens in the US -- but our leadership favors corporate welfare over citizen welfare and that is unfortunate.

I think that's dramatically underselling the American voter's role in all of this. Many, many Americans balk at the prospect of raising taxes to pay for universal healthcare. But those same people shrug indifferently to the enormous costs to sustain the US military and the tremendous costs of campaigns such as Afghanistan.

So yes there is a whole segment of American politicians who are working hard to carve out tax cuts for billionaires while having not a care for the millions without healthcare. But I find that a lot of people are actively opposed to the government 'taking over healthcare' or they're scared of the price tag for universal healthcare. They're part of the reason we don't have it.
You try doing a large-scale study at multiple companies on multiple continents at once, then. Your comment suggests you don't really understand the immense challenge of doing sociological work in a way that's both ethical and useful.
> Let’s say we want to pay nurses $150k and doctors $250k, good middle class salaries comparable to tech incomes.

Regardless of the rest of the logic, those are not middle class salaries. They aren't even middle class household (i.e. 2x earners) incomes in almost all of the country.

Tech salaries are a terrible benchmark for a lot or reasons, but those are well above average tech salaries also.
That depends on how much ads pay, how many users watch ads/use adblock, how much they watch etc. Videos that get few ads or low-priced ads might indeed have the membership be a large portion of the revenue. Generally it's more in the 10-20% range though.
Keith Packard was critical to the xorg, for which I'll always be thankful. It's cool to see him tackle something like this.
There's a few. My company has been using serverless aurora pretty much since preview and will keep doing so for some parts of infra, but are moving some services back to provisioned.

- Data is replicated cross region, but your compute all lives in the same AZ, so if (when) an AZ goes down you have to wait for a new instance to be created elsewhere. AWS says the time for this is undefined, IIRC we've seen it be around 15-20 minutes before the DB is back online.

- If you have lots of long running transactions or queries, serverless can have trouble finding a scaling point and won't scale up/down. You can set it to force scaling after 5 attempts, but this results in dropped connections and 1-2 minutes of downtime every time.

- Scaling up actually takes 45s-1:30 for new capacity to be available. If your load is spiky enough that that's too slow, you're stuck with overprovisioning anyways.

- Tools like VividCortex don't work for serverless if you rely on those. Teams here that use serverless have shifted to DataDog APM for this purpose.

- Loading data from S3 doesn't work. This wasn't really a usecase we had but it's something to be aware of.

That said, for gradual load or DB downtime tolerant services it's great! Also very nice for dev environments as the scaling down to 0 can result in some very real cost savings.
The unmapped chemical complexity of our diet
So you think all domains are equally complex (or equally simple)?

Perhaps I misinterpreted your comment.
Wondering if anyone could recommend a layman's introduction to "spin". I've read the Wikipedia article, I broadly understand it, but just curious as to how it was discovered, why it is considered an "intrinsic" form of angular momentum, and why it is so fundamental a concept in our universe.
Composting, unless carefully controlled, causes environmental pollution by microplastics and chemicals like pharmaceuticals.
It's amusing to note how many plot points, gags, etc. in various movies (and books) are obsoleted by today's technology, perhaps cell phones most of all. It's the default that you can always reach someone now and you probably have to provide some rationale if you can't.
You can convert gifs to video with ffmpeg:

ffmpeg -i image-%04d.png anim.mp4

You can use imagemagick ('convert' command) to make small gifs with dither, color reduction:

convert image-*.png +dither -colors 10 dither.gif
convert image-*.png -ordered-dither 2x2 ordered_dither2.gif
convert image-*.png -ordered-dither 4x4 ordered_dither4.gif
convert image-*.png -colors 10 less_colors.gif
It did sort of work for Germany and the First World War.
"This video is sponsored by X. Get N% off by going to example.com/mychannelname or use the code mychannelname at checkout."
Cities Around The Globe Are Eagerly Importing Dutch Specialty: Flood Prevention
I am very pleased to see this happening. The underlying important point is that your choice of employer is as much an ethical decision as anything else.
If they have the software why not just send me a rundown of how much I owe and I could just sign over to them how much they want.

Arghhh this frustrates me every tax season.
Amazon Accuses Trump of ‘Improper Pressure’ on Jedi Contract
Yes, most people are in some form. Of course they don't realize it, they just want free and cannot think through the consequences of what they are asking for. Free health care is easy to explain. How do you pay for it isn't, and it gets harder when you have to figure out how much to pay the bureaucrats needed to make it work.

Solving the problem of health care costs getting higher is a hard problem. I haven't seen any solution that accounts for all the external factors. I doubt we even know them.
The first effort to regulate AI was a spectacular failure
In the case of a large db that's not really practical for data changes, though it could be done easily if you just mean schema diffs, but then that's of limited extra use if you can see the migrations themselves.
A quote from a user above who worked for both SpaceX and the astronomy community:

"Now, that being said, even I was confused why this would cause a problem. The satellites are in low earth orbit, so low that they won't be able to reflect the sunlight, since they are in earth's shadow. Only during twilight and dawn will satellites be in the right position to reflect the sunlight back to the ground off of some panel.

Now, these are not prime observing hours for many people, since it is still not as dark as it could be. So most people point into the darkest parts of the sky (up) rather than at parts where there is still twilight (like nearer the horizon).

But for some types of observations, like near earth asteroids, you want to point into the evening sky to look for them, since that is one of the places you want to look, and the sky conditions should be good enough. In these pictures you'll get streaks of light as the satellites pass through."
At each level of management, you can probably reduce the cadence of formal communications:

1. Direct team lead (including leadership of very small start-ups) - weekly or biweekly, depending on how many interesting things you normally have to share

2. Director/manager-of-managers - monthly, again conditional on having enough interesting things to share

3. VP and above/leadership of 100+ person company - quarterly

It's critical that you actually have interesting content, data, or strategy to share, and it's worth putting effort into gathering this content and presenting it in a compelling way. A common anti-pattern is to have regular all-hands meetings with boring or repetitive content, which causes people to zone out or look for reasons to skip it so they can get their work done instead.

It can be hard to identify this, because the bored people won't respond to surveys, or won't respond honestly. A good rule-of-thumb would be that if you're not spending at least a couple hours prepping for the meeting, then it's probably not worth having.
Is there a way I can learn more about the compromises made in Frankenzinc / etc without reading LKML? I realize it might not be interesting to document if you hope to clean it up shortly, but I would be curious if you've already got something prepared.

Congrats on getting in for 5.6 and thank you very much for your years of work on this project. It is extremely impressive.
WireGuard is much faster than OpenVPN, much simpler to set up than OpenVPN (except for having to set up IP addresses it's approximately as easy to get working as SSH), and it's much, much more secure than OpenVPN.
The US pays more per citizen for healthcare than any
civilized country in the world, and gets poorer outcomes.

There is a LOT of room for lowering your costs and improving your outcomes when you’re ready to redesign it. But yeah, if you just try to duct tape over a crack here, and bolt a new feature on there, nothing seems to work.
So, stupid question: what's the purpose of suppressing short-term interest rates like that? Isn't that a meaningful market signal that banks should be running in a way that's less dependent on loans from other banks, just as a higher price for fish correctly signals market participants to look for substitutes?

(Side note: as someone who "should" benefit from more expensive liquidity as a holder of a money market fund, I looked up the Vanguard Prime MMF, and it turns out it doesn't hold any repos[1], even though that's a valid asset class for MMMFs[2]...)

[1] https://investor.vanguard.com/mutual-funds/profile/portfolio...

[2] https://www.pimco.com/en-us/insights/investment-strategies/f...

>New SEC rules require that government money market funds hold 99.5% of assets in government-related securities, including Treasury bills, agency discount notes and repurchase agreements (repos).
I'm not sure how to contact the author, but just a nitpick:

fn inner_main() -> Result<(), ()>

should be:

fn inner_main() -> Result<!, ()>

since it shouldn't return except in the case of an error. It's important to make the compiler aware of such semantics, so that it can better optimise the program.
Dedicated servers are actually quite cheap. I pay $60/month to run one of my products that services thousands of paying customers across North America (High performance native TCP and UDP based game like servers) and the performance is quite predictable
As a point of reference 2T over 18 years is ~111B/year.

The plan Warren is suggesting which I think would closest fit the definition of "free health care for all" - though not perfectly [1] would be 59T over 10 years or 5.9T/year.

Note also that the way these programs are funded is very different [2]. Things in the "Mandatory" funding category like Social Security and Medicare aren't funded year to year, but are ongoing expenses that you have to change entitlement laws to make changes to, so they are incredibly hard to change.

The Department of Defense is funded out of the "Discretionary" category which can change from year to year and is based on a different process which is not subject to the same laws.

[1] https://www.vox.com/2019/11/1/20942587/elizabeth-warren-medi...

[2] https://www.newamerica.org/education-policy/topics/federal-e...
Location: Bengaluru, India
Remote: Yes
Willing to relocate: Yes
Technologies: Java, Python, HTML/CSS, Javascript, Django, SQL, SOAP WebServices
Résumé/CV: https://drive.google.com/file/d/1ZK9QkC7nZUQ7gOccGEUcTs7EMVj6_5LP/view?usp=sharing or https://esabhinav.github.io/
Email: esabhinav+hnews@gmail.com
What are you doing these days
> Who are you, package manager, to decide that I shouldn't be able to use different versions of the same package?

That's one of main point of a distribution, rather that simply throwing software on a hard drive.

The maintainers have to work hard to guarantee that a specific set of packages and version work well together. Well enough for most users to deploy 99% of the packages without surprises.

And then backport security updates (often faster than upstream), for 3 years, often 5.

And various companies provide longer term updates and maintenance.

Oh, and provide license checking and vetting.

Turns out that it's a lot of work and no serious distribution would consider supporting multiple version of packages while guaranteeing the same level of quality.

> Do you know more about my context than I do?

Given your statements about distributions... most likely yes.
Interesting. Didn’t think of that. I’ve always liked the advantages of the bullpup (longer barrel with shorter overall rifle relative to M4 designs). Does this mean we’d be introducing some battery requirements for operating the rifle though? That would be a flat no go for me then. Or are you saying that pulling the trigger itself would generate enough charge to operate the mechanism as you describe? Man ... turning all that stuff into plastic would sure save on weight. But I’d be a little concerned about durability.

Someone really needs to try this. I’d love to mess around with a prototype. What if you could 3D print your magazine pipes?
Believe it was the first - title: The Path to Power.
that is why you create incentives. grand parent was not implying that you force someone to move or companies to relocate.
Wouldn’t this just mean that your insurance provider drops you or declines coverage when you actually need it?
Bits are addressable, just not with a normal pointer. It would have been possible to have a special fat pointer for bits, similar to how C++ sometimes has fat pointers for member functions (depending on compiler implementation).

The restriction in C can only be explained as a limitation of the language itself -- although probably motivated by the implementation complexity it would require, for a niche use case.
Artists Discovered on Tiktok in 2019
I don't really see what's the crash mechanism there.

From the lender side, repo financing is collateralized so if someone can't pay, then the lender doesn't care because they've got the collateral bonds already; it's not ideal, but it's not a disaster.

From the borrower side, if someone really needs short-term liquidity and would have usually used repos but can't get any right now, then they do have available bonds that they've used as collateral for that repo, so if they really need cash then they can sell the same bonds instead of borrowing against them. Again, that's not ideal and they'll probably lose some money on an urgent sale, and their plans to earn some profit on that borrowed money won't materialize, but that shouldn't trigger a crash that would affect the whole system.
Just five cities saw vast majority of tech job growth in the last decade
Intuit wouldn't like that at all. Corruption is rampant there too.
I hear your point. I agree we have been completely unsuccessful in Afghanistan. My point is that the commenter is naive in making this about Israel. American support for invading after 9/11 was foolish, but it was also extremely high. We did not invade or occupy to support Israeli security interests, we did it in support of our own and we were wrong.
The point where polynomial time becomes impractical is far beyond the point where exponential becomes impractical. It's like for n=10 your smartphone can run an exponential algorithm instantly but for n=20 the fastest supercomputer on earth will take forever. Not true for polynomial.
Maybe I'm naive but I assumed the $120k banana "sale" was essentially a fake transaction intended to attract publicity and drive foot traffic to the venue.
As long as the US does not pay monetarily for non-American deaths, as cruel as it sounds they are not relevant to the US's budget.
There's surely some interesting psychology at work with get-there-itis. I would be very interested to read about it.

To my mind the pilot is weighing a few possible future outcomes:

- satisfying some obligation by completing the journey, getting pats on the back or avoiding further trouble.

- disappointing or angering stakeholders (clients, wives and sisters-in-law, children) by cancelling a journey due to prudence, and then, potentially, further feeling that one will be perceived as inadequately skilled at something which is a prominent part of one's self-identity.

- taking off anyway and maybe having to make an emergency landing en route, thus demonstrating eagerness to complete the journey and a heroic, skillful handling of a dangerous situation.

- dying in a fiery crash.

Even outcome three ends up being positive for the pilot. They get all the social credit for having attempted the journey, plus an unimpeachable excuse for failing to complete it. Dying in a crash is just a hard thing to imagine, so maybe features far less in the flight decision emotional risk balancing than it should.

One of the vanishingly few safety things which the scuba diving community does perhaps better than aviation is the idea that "any diver may thumb [abort] a dive for any reason at any time," and that is fully expected to include just 'feeling bad.' It is an integral part of the buddy system which doesn't have an analog in aviation, but maybe there could be a mental preflight checklist which could be used to identify situations where GtI is a factor and thus give the pilot a basis for staying on the ground when their gut is saying, "don't take off!"
Despite the downvotes from the insecure "muh meds" types, that's pretty much exactly what everyone notices about users of psychedelics. Despite meeting hundreds or thousands of people who trip, I've never seen a single example of an overtly positive change in people's lives, and seen hundreds of examples of obvious negative changes in people's lives being associated with their psychedelic use and the mush-headed hedonist lifestyle it seems to engender.

I've also seen dozens of people who had life altering psychotic breaks from taking LSD and Mushrooms. By contrast I've only known two people who have lost their marbles the old fashioned way.

As for microdosing: zero of the people I know who have done it, including myself, envinced any obvious performance improvement.