skysight-inc/HackerNews huggingface dataset:
While I get your point, several thoughts:

1. I'm talking about acceptable code, as opposed to "the best choice". There are good reasons to go for verbosity. Depending on the problem domain I might agree with your expansion of the parentheses, but when we get to this type of discussion, usually my overwhelming reaction is "this is bikeshedding," because...

2. If it's "overly branchy" code and you're worried about causing macro-readability issues, the answer is to refactor, not to compress. Modifying inline conditions runs just as much of a risk of becoming inscrutable. You choose between following branches and enumerating binary tables. If it's showing up too many places, you're likely extracting either expression into its own function.

When overly branch code happens, my experience is that the root cause is underthinking/overthinking the method, not taking time to design the right high level abstractions, or as you mentioned a case of too much repeating yourself. Generally, the fixes for those issues don't have that much to do with your choice of boolean expression vs conditional.
> Jazz has moved past the standard 'swing and ballad' forms that were popular throughout the late 20th century

I mean, that's not really saying much. Jazz moved past the standard stuff with Ornette Coleman, Coltrane etc in the late 50s and early 60s. Miles Davis' Bitches Brew led to the whole jazz fusion thing a bit later.

I somewhat agree with the GP about no groundbreaking new jazz artists. There are many great musicians great at their instruments today, for sure. But I just don't hear anything radically new happening. Although I do admit that it may be due to my own biases.
It should also be noted that even sync_file_range's manpage warns you against using it, which tells you how reliable that thing is.
The weird thing is that nobody is out there taking credit for this success. Probably because all politics is now Brexit.

It seems to have been partly the great expansion of wind power and partly the Large Combustion Plant Directive. Many coal power stations were uneconomic to modernize.

A nuclear plant was commissioned in 2012 but of course won't be ready until maybe 2025, assuming that the UK's exit from Euratom doesn't prevent it.
Or NFS being NFS.
Have you tried using <CR><LF>? Windows notepad was never able to display linefeeds with only <LF> (or only <CR>?) and needed the <CR><LF>. Maybe this would solve the problem.
This is something I learned through the course of trying to be clever in my early days of using Go (circa 2011) and it's something I wish my CS courses made explicitly clear, and I think all programmers should at some point learn this difference. Even in JavaScript, race conditions are possible.

In fact, I'm pretty sure my car's "infotainment" system has several race conditions (though I'm not sure about data races specifically). After years of dealing with these kinds of bugs, you can smell them a mile away especially on software you use a lot. Symptoms: highly sporadic / unpredictable behavior of a wonky state machine. These are hard to document and debug!

My car, for example, will sometimes exhibit these behaviors:

- Volume changes Android Auto levels even though only music is playing

- Backup camera is not on anymore, but steering alignment overlay remains when side camera is activated

- Computer+screen stays on even though car is off

- Audio is quieted for a notification but then never returned to its previous volume

- Buttons change state as if the screen was showing something else

Race conditions are really common, I think. I know this is just my car as an example but you've probably experienced them on any moderately-complex systems you've used. I bet your TV has race conditions. And your router. And your ("smart") thermostat. I hope airplanes and spacecraft don't.
I'm a marketer and spam is a massive problem in the internet marketing space.

The people who are good at spam - the folks topping Google search results for lucrative phrases or spamming social media on an industrial scale - all tend to have a lot of money.

A business built on spam (or illegal tactics) is, by nature, unstable. You're one bust away from losing all your income.

So the people who enter this space either tend to have so much money that they don't mind losing an income source. Or they have so little money that they spam in desperation
Good old useful page with a single banner ad. Takes me back.
My ordeal ceremony was around 15 years ago and was pretty similar. IIRC I had a sleeping bag plus tarp and and no tent (you are definitely not allowed a tent when participating). I remember this rather vividly because the night of the ordeal it rained and I had to roll up in my tarp like a burrito to stop from getting wet.

Yes, you are not allowed to speak during the labor part. I remember this vividly also as we were assembling large teepees as our given task (~20ft in height) and we were very briefly given a rare exception of being allowed to speak if there was some imminent danger of the teepee falling over and injuring someone.

What they fed me in terms of food was honestly pretty gross. IIRC I didn’t get any lunch and only got basically a nasty green hard boiled egg plus a tiny mandarin orange for breakfast. by the time you’re allowed to talk again when the ordeal is over there is a feast shortly thereafter though.

The “brotherhood” second stage ordeal is actually a whole lot easier, it basically involves a night ceremony with a lot of rituals and a handwritten letter to your local “lodge” if I am remembering things correctly.
Knowing that a thing is true is categorically different from knowing how to do something— Knowing that group A uses technique B doesn’t automatically make you proficient at using B yourself.

Masquerading as a particular cyber-attack group requires not only knowing what techniques and tools they tend to use, but also how to do those things yourself, while imitating their style. It’s not impossible, but neither is it trivial: We’re not talking about simply first impressions here, but fooling a concerted, post-hoc investigation.
Havn’t read the paper in detail yet, but the authors’ understanding of the property catastrophe market is rather simplistic. I’ve traded this risk as an investor for fifteen years and have used the risk models that are used by all firms in the market. Yes, there are a handful of cat risk model vendors, but their numbers are not constrained by the need for certification.

The fact is these risk models are quite sophisticated and all make use of pretty much all the science, engineering and data available with respect to the hazards in question. They still are limited in their ability to accurately estimate risk and this is taken into account when pricing transactions.

Furthermore, while all firms have access to the same models, many (who employ scientists and engineers) will apply tweaks based on their evaluation of model weaknesses/limitations. Hence, there is an inherent level of diversification in terms of how the models are used to price risk. This is what makes a market.

The objective of catastrophe risk modeling is to estimate, long-term risk as accurately as possible, while knowing full well that there remains a lot of uncertainty.

The regulators, rating agencies and other market watchers are actually ill-equipped to assess catastrophe model risk.
Right now, ExceLint and CheckCell are not integrated. But this is something we would like to do!
Saudi Arabia following the US method...
I was under the impression he was talking about Saudi Arabia.

Don’t know how this is in other countries but there seems to be a line with local mosques where they preach extremism and always get their funding from people within that country.
You told you that? Buying a Mercedes and start flexing around considered a Turkish thing in Germany. North Europeans are mostly saving money essentially for buying a house and then start some other various investments.
Well partially I'd say. A VPN creates a new network interface on my local computer through which I can then tunnel traffic to the destination HTTP server. A reverse proxy is just a server that accepts HTTP requests and forwards them to the destination server. In both cases the destination server would be configured to only accept traffic from the VPN or reverse proxy, and the VPN / proxy would perform additional authentication of the user before letting them connect through them. So in that sense they're similar, a VPN has more overhead though since we need ot install client software on any computer / device from which we want to connect, which can be cumbersome. On the other hand we can tunnel arbitrary IP traffic through the VPN and we can ensure that all traffic gets tunneled (which is not possible with a reverse proxy setup), so there are still cases where a VPN is the only solution. I can see the appeal of a more lightweight proxy-based tunnel for HTTP services (and one can come up with schemes for arbitrary TCP/UDP traffic as well, though not as elegantly as for HTTP, which already supports a "fan out" mechanism via the "Host" header).

Since we can encrypt HTTP traffic using TLS between the client as well as the proxy and the destination the security should not be much worse than a VPN (though TLS leaks slightly more metadata as far as I know).

What I don't like about Cloudflare's solution is that I have to trust them with my traffic, as they decrypt and re-encrypt it in transit. I'd rather have that done by a server that's under my control.
You turn the author's argument around and then make a statement even more pretentious and wrong. Neither piano nor voice nor even orchestra are ‘ultimate instruments,’ for the simple reason that timbre- and rhythm-oriented music exist.

Saying that any particular instruments or styles are the measures of ‘musical substance’ is equal to asking that there be less of different music—which is the ultimate arrogance that you can apply to music.
Surprisingly, the video tags in modern youtube. Pulled a random video from archive, Converse Hands Man:

https://web.archive.org/web/20061208100700/http://www.youtub...

Grab the 'v' parameter and paste it into a modern youtube video URL:

https://www.youtube.com/watch?v=2W-14qlnQWI

and watch Converse Hands Man in modern youtube glory.
Tertium non datur?

Obama made a deal with the Iranians to stop production of weapons grade nuclear material and to destroy related infrastructure.

This also had the side-effect of strengthening the most reasonable politics within Iran.

But no, I guess this new course undermined the career of too many apparatchiks so the Orange Man was persuaded to kick the table up in the air.

And we’re back to square one, with the loudest monkeys showing their teeth at each other...
Censoring TeamViewer or Slack doesn’t do anything to stop the Iranian government’s cyber task force from carrying out attacks. It hurts the regular people and the Iranian economy. I’m not sure what the ultimate agenda is but considering the travel ban and extra visa requirements for visitors of Iran it appears that the goal is to isolate Iran and strangle its economy.
In that thread, Craig Ringer and Thomas Munro notes most systems & FS won't report ENOSPC on fsync(), they'll do that on write():

> ENOSPC doesn't seem to be a concern during normal operation of major file systems (ext3, ext4, btrfs, xfs) because they reserve space before returning from write(). But if a buffered write does manage to fail due to ENOSPC we'll definitely see the same problems. This makes ENOSPC on NFS a potentially data corrupting condition since NFS doesn't preallocate space before returning from write().
Without the insurance and reinsurance industry, we’d be a lot worse off.
It's not that extreme. Things don't catch fire spontaneously even when the atmosphere is 100% oxygen (you still need an activation energy) but a fire that starts in this conditions is incredibility fast: some things even becomes explosive because of that. See the Apollo 1 accident [1].

[1] https://en.m.wikipedia.org/wiki/Apollo_1
It is. But you see, those hit hardest by sanctions are neither the cause of trouble nor anti western. Those are usually people like you and i, while the “elite” can smuggle in whatever they want and access whatever they want. Not only that but regular folk is weakened and cant stand a chance against the well fed government. No sanctions means greater exposure to our way of life and thus an easier path for grassroots change. If anything, i’d make government owned proxies available to iranians and chinese and all those oppressed so they can access censored content. I’d also make it easier to smuggle in technology so they can show others what they are missing on by supporting their criminal governments.
The name was also supposed to be "YourTube"
Elon gets a lot of hate unfortunately due to his position in the industry, and also I guess the age we're in.

See this tweet from Paul Graham for example
https://twitter.com/paulg/status/1122987659079618563

People notice the hate, and although there most probably are issues in the factories, then the reporting of them is way bent to the negative.
Needs https://www.newyorker.com/magazine/2012/12/24/utopian-for-be...
Movies That Have Been Preaching Stem for Years
Well, it’s not a bad thing that it doesn’t load remote resources...
Also a self-healing saltwater friendly reaction. But keeping the rebar out is necessary as well.
I'd love to hear of a few. I always want to get into lobste.rs but while the submission quality is high the conversation is sparse.
> Because it's faster

That was the initial benefit. (Gmail, for example)

Then everyone starting using the client-side model as the de facto architecture for every new website and web app.

The old, "give a man a hammer" adage.

Like any tool, it depends on the job.

But sometimes a tool becomes so popular that it takes courage to choose not to use it.

"Err...well... sure I can explain why I chose to go with plain old HTML.. (gulp)"
The new Emergency Lane Departure Avoidance actually briefly overrides my steering. It is somewhat annoying on a very narrow road, so I turn it off.
C++, java and other oop languages have been battle tested, and enabled a trillion dollar economy.

Sure, others could do the same, but they didnt.

Google, msft uses c++, c# and a bunch of others and they are probably the most complex software developers in the world.

It works.

Can it be better? Sure. Rust brings safety guarantees, f# enables functional programming mindset, julia is good for data processing. But oop did bring a lot of to market. We are evolving, and our languages will also evolve.
Paleo diet mainly prohibits wheat and refined carbs but allows for specific starches such as sweet potatoes. It's different than keto. At any rate, the existence of enzymes does not indicate that starches should make up a large portion of one's diet either, as we must admit the past century of relative plenty in the Western world has led to all sorts of dietary diseases.
Insurance and reinsurance are highly regulated businesses, where firms have to hold reserves commensurate with the risk they are taking. While the models have limitations, they are good enough to evaluate capital requirement.

In the last 20 years, investors have become a welcome source of risk capital which was driven by (a) the increasing need of insurance coverage relative to existing loss-paying capacity within the system (I.e. Need for extra capital to support the growing market) and (b) the fact that insurers and reinsurers seek to diversify their own insurance coverage, By minimizing credit risk.
If you don't look for the radically new, you won't find it, when competing with a larger volume of tracks being released that aren't radically new.

Here is just one example out of the hundreds:
https://stevelehman.bandcamp.com/track/bamba

Stylistic change isn't meant to be groundbreaking anyway, I believe it is from the gradual stretching of boundaries over time that leads styles to be unrecognizable from their origins that inspires new styles to be developed.
Citrix concludes investigation of unauthorized internal network access
I left this in a sibling comment that we (I’m an Eagle Scout with long history of scouting) used snipe hunting as a somewhat equivalent rite of passage: https://en.m.wikipedia.org/wiki/Snipe_hunt

In my experience it was somewhat less dramatic than described in the article (I wasn’t left alone more than a half hour hike from camp and the few times I did it I never let the “victims” out of sight). It seems like these teens from the article are expected to put in a good few hours hike before getting back to a certain location. It was still a similarly formative and fun experience for me, especially because I got to do it with a couple other kids my age.
Accessibility is great! As long as it doesn't end up with situations like MIT taking down a ton of old lecture videos because they didn't have the funds to add captions.

There's a lot of real-world situations where mandating accessibility would result in closure. There's no way to make Angel's Landing [0] wheelchair accessible, for instance. (this is very common in the US's national parks, to the point that I'd bet that 3/4ths of them have at least one such trail/location) With situations like that, your choices are to keep it open for some people, or for no people.

0: https://en.wikipedia.org/wiki/Angels_Landing
Show HN: Score your e-com product pages on appeal
I built a little tool which integrates with Shopify to rate your product pages on appeal.

The logic is as follows - people associate certain ideas with certain keywords. E.g., 'travel' is strongly associated with 'passport'. This tool looks at your product title, finds strongly associated ideas and scores your product description on whether those ideas are referenced or not.

link = https://apps.chicshop.in/shopify-app?localStore=chicshop-dev-store.myshopify.com

I'd love HN's thoughts on whether this idea has legs. What you do differently if you were in this space?
I am mesmerized by our new robotic vacuum (2019)
Developer of Shortcuts JS here, happy to answer any questions!

At the moment the future of Shortcuts JS is uncertain. In the latest (iOS 13) betas of the Shortcuts app Apple have removed the ability to import Shortcuts from a file, only allowing them to be installed from the iCloud Shortcut sharing service. I’m hopeful that this feature will be added back in when the Shortcuts app comes out of beta in a few months. If not, then unfortunately Shortcuts JS may be dead in the water.

If you want to read a bit more about how Shortcuts JS came to be, then take a look at the medium post I wrote when I launched it. https://medium.com/@JoshFarrant/creating-ios-12-shortcuts-wi...
It just seems odd that a healthy market has actors that profit from the failures of companies. If it's healthy how do I profit from global climate disasters? I'll just keep investing in prison companies for now. /s
The risk models are updated with new science and current risk data on a regular basis, but yes, climate risk is a worry to the industry. The models do allow for climate risk scenarios e.g. by tweaking the frequency/severity of land-falling hurricanes/cyclones etc.
The number of carbs your body can tolerate without being converted and stored as fat is highly variable and may come down to specific genetic factors that are largely inherited from one's racial makeup. There's no doubt that carbs and sugars make a higher percentage of our diets than historical, traditional diets.
ASUS Zenbook series - got one (UX32LN) and worked flawlessly for many years (on linux) - it still works, but now my wife has it (with Windows installed)

I switched to Surface Book 2 - it's awesome machine and development with WSL works amazingly good (no issues found yet), but I wouldn't recommend this machine to anyone who wants to travel with it due to its lids mechanism (I would be scared of breaking it while keeping it in the backpack )
The soviets also thought the same, unfortunatelly a system with bad actors cannot be solved from within.
Especially when the "bad" actors controls means of production and distribution, and have incentives to continue acting such and in return creating incentives for "good" actors to imitate the "bad" behaviours. Anyway, defining what's good and what's bad when you are an actor within a system is a very subjective exercice, a seemingly "good" actor will turn "bad" overnight given the right incentive and vice versa. The real question is determining who distributes the incentives, and who should. And for all the systems in this world, it spans from random to being concentrated in the hands of a few oligarchs or a single dictator.
Agreed. If you look at the actions of either Iran, Saudi Arabia or Israel you can easily find many things that seem morally indefensible from a purely humanistic standpoint.

Whatever the mechanism the US has for picking it's allies, it's pretty clear that it's not simply based on some rigorous moral analysis of the different actors. As long as the Iranian regime insists on maintaining "Death to America" as their political slogan, it's understandable that the US will maintain some level of hostility. But to try and paint it as Iran being purely evil and Israel/SA being purely good (or vice versa) is disingenuous.
> Iran has entered deals with the US and other western countries to renounce its nuclear weapons program in exchange for lifting the embargo

Which weapons program? AFAIK current Iranian inspection mechanisms are the most stringent (anywhere ever).
> What it boils down to for me is which side do you want to win?

This is a bit simplistic, isn't it? First, the one between Iran and USA doesn't have to be a zero-sum game. Why is it a matter of states winning or losing? I don't recall Iran waging a war against the US, or trying to destroy civil liberties in the West. For example, with the nuclear agreement, both Iran and the US (or Europe) would have benefited- why did the US got out of it then?

Second, the two sides in this game are not necessarily Iran with its model of society and the US with its own model of society. The US is a free and democratic society, but that doesn't mean that their geo-political goals are all about freedom and democracy. In fact, the main rivals of Iran and allies of the US are Saudi Arabia- a country even less democratic than Iran itself- and Israel, a country that while internally free and democratic is illegally occupying a foreign territory and expelling its native population in violation of international law. So the US winning this particular exchange might not necessarily mean improving or preserving the freedom of US society, but making the world a worse place, with more injustice and future grievances. See what has produced the "existential" war against Saddam.
Short Sellers are a massive plague on the market, short selling should be banned in general
I think it is important to say this indeed. I also did "dropping" as a kid, and later with kids, but the only thing that "spoiled it" was cheaters that find a phone in 1 hour and call a cab.

I haven't heard It being done for a while now, is it still a thing in this time of fear and smartphones?
I agree, it made life significantly easier than just using regular JS. I’d not built anything from scratch with TS before this, but it seemed such a great fit for the project I decided to take the time to familiarise myself with it. No regrets whatsoever.
Clicking on the second link shows "Video unavailable" for me.
High temperature turns the fibers from irritants into carcinogens like asbestos.

Well, high temperature in this case being above 1800 F/1000 C, over 4 times the operating temperature of these ovens.
I recently did a smd reflow using a cast iron pan and a few handfuls of sand. Worked like a charm.

Got the idea here: https://hackaday.com/2014/02/15/smd-soldering-on-hot-sand/

Granted that was for fairly large, hearty components, but for many hobbyists it seems to me an oven is a bit overkill.
Luckily Nassim Taleb has stayed away from this market - if anyone knows about tail risk and uncertainty it’s property catastrophe reinsurers.