skysight-inc/HackerNews huggingface dataset:
> Mutual assured destruction may be the only thing limiting the Kashmir conflict, for example.

On the contrary, Kashmir militancy project was started by Pakistan in the late eighties after a botched attempt by the central government in India to rig an election in the state. This was well after the first Indian nuclear tests in 1974. Subsequently, India did another round of nuclear testing 1998 and that too resulted in an attempted stealth invasion of Kargil. So if anything, nuclear weapons have escalated the conflict not the other way around.

Just to be clear, there were always separatist elements in Kashmir, just like there used to be some in Punjab and there still are in Balochistan. But with development and intra-country migration, it becomes hard to sustain a separatist movement and that's why all the other movements in India have all but petered out. It is likely this would've happened in Indian-controlled Kashmir too, given that the valley was largely peaceful after 1948 and until the 1990s.

But a concatenation of unfortunate circumstances -- first the rigged election, then Pakistani arming of the separatists, the war in Afghanistan against the Soviets winding up which meant the ISI and their jihadi cousins-in-arms were looking for a new project, the Indian Army's human rights violations and introduction of AFSPA in the valley, harassment of and violence against Kashmiri Hindus which caused a mass exodus of pro-India elements from the valley, and the western policy of ignoring jihadi violence in Kashmir until 9/11/2001 because they were historically aligned with Pakistan and Saudi Arabia rather than India which was assumed to be in the Russian sphere of influence --- resulted in the conflict blowing up to where it is now.

You'll notice that many of these contributing factors have disappeared and the situation is likely to get better in the next couple of decades.
Having close connections to both countries, I can say that kids in Austria are definitely freer than in the UK.

For one, in Austria, kids have a legal right to go to school on their own, be it on foot or by public transport. A lot of parents do drive their kids to school, unfortunately even where it's really not necessary, but you do also see plenty of young kids walking there or home, or taking the bus or train. You definitely also see more kids "hanging out" in Austria - in the UK, everyone seems quick to jump to conclusions about gangs, so I guess "respectable" parents won't let their kids do that.

On the other hand, I felt I probably had even more freedom growing up in the 90s (in Austria) than many of today's kids. This is probably more of an individual choice of the parents (for some reason, people are afraid, despite this being one of the safest countries in the world) than direct societal pressure (being reported to the cops or social services, etc.) as it seems to be in the UK or US.
While we're on the subject:

The engineer thinks his equations approximate reality. The physicist thinks reality approximates his equations. The mathematician doesn't care.
I envy you, I’d love to grok ternary expressions better but every time I just end up having to spend a long time unrolling the logic.
Load Rails Partials on Demand with New Toggle Feature in Render_async 2.1.1
Time to end the a Federal Reserve system. Its a scam.
Australian (Victoria) Alpine region seems to flip flop between banning grazing [1] to protect the vulnerable high mountain fauna and the water quality as it is a source for many rivers. Then allowing grazing again as forest fires go nuts down there.

Even their bushes and trees are encouraging fires as a vector for growth. [2]

[1] https://en.wikipedia.org/wiki/Alpine_National_Park#Agricultu...

[2] https://www.livescience.com/40583-australia-wildfires-eucaly...
Neither would you trust a government, I’m sure?
You do unless you have a paid developer account.
Clearly yes.
Jailbreak available for iOS 12.4 for A7-A11 devices
Talent is a real thing, it isn't magic. Each of us has a unique brain with unique programming/experience and some of us are more or less capable at various tasks. When I type stuff like this out I start to wonder why this has to be explained.
When Tesla's competitors stop designing and electric car and start designing a really great car that just happens to be electric then Tesla will have competition. Until then all the supposed Tesla competitors will be a joke.

For example it was recently reported that the Jaguar I-pace requires that you drive 17 MPH with the climate control off to achieve the manufacture specified range per charge. [0] They have 6 months worth of unsold inventory sitting on dealer lots in the US.

Tesla's strength is in getting market share from buyers who first and foremost want a great car. Everyone else is targeting suckers willing to make decisions contrary to their economic interest to show they care about the environment.

[0] https://cleantechnica.com/2019/08/13/jaguar-i-pace-sales-hav...
EDIT: Oops, chalk this up as another case of reinventing the wheel. We already have all this in the form of the ?: ternary operator, as masklinn pointed out:

https://news.ycombinator.com/item?id=20736714

----

Inspired by this, I cooked up a crude imitation in (ugly/functional'ish?) Swift:

let result = [(firstCheck, 1),
(secondCheck, 2),
(thirdCheck, 3)]
.first { $0.0() }?.1

That iterates over an array of (() - > Bool, Value) tuples and returns the second element of the first tuple whose first element is a function that returns true, otherwise nil. The types of all values must be the same. Could shorten .first to .firstTrue or something.

And a version that's closer to your idea:

typealias BooleanFunction = () -> Bool
typealias FunctionValuePair<ResultType> = (BooleanFunction, result: ResultType)

func pickOne<ResultType> (_ pairs: FunctionValuePair<ResultType>...) -> ResultType? {
pairs.first { function, result in
function() == true
}?.result
}

let result = pickOne(
(firstCheck, "one"),
(secondCheck, "two"),
(thirdCheck, "three"))
?? "default"

You could make the default result an argument for pickOne so that it never returns nil, but I prefer to keep it an optional.

Though it's too early in my day to think of better names. :)
My resume is a single page. Black and white text. It does have my name and contact details. But that’s all. I did take the time to use proper formatting though. Paragraph and heading spacing for example rather than just a bunch of returns.
My BMW i3 has an 8 year 80% battery warranty. Tesla does very well with their battery management. Leaf is not so great, but far from 50% at 5 years unless you mistreat it AFAIK.

Yes, winter will reduce range. I had a worst-case trip this year, it was around -18 C outside and I had not had a chance to pre-heat the batteries. Car was 99% charged, showing 200 km range initially. After some 135 km the car showed about 10 km range left, when I finally got to a charger. This was with two passengers, both front seat heaters on, as well as the cabin heater working hard.

If we assume the estimated range left is somewhat accurate, that's about 63% the typical summer range of about 230 km. Had I preheated the batteries it would have been better, though I don't have any numbers.

Resale value is something I worry about too. That's part of the reason I went with an i3 rather than a more expensive Model 3. Though at least here in Norway, I expect EVs to be dominating soon, and with the price of gas I expect ICE resale value will take a hit.
Funeral for lost ice: Iceland bids farewell to glacier
Bitcoin is going through a hype cycle
Fearing data privacy issues, Google cuts some Android phone data for carriers
I was specifically using this guy as an example of someone with a job title that said “Architect” going through the motions that was terrible at his job.
Practical Use Cases for NMAP
Looks quite similar to Ipregistry (https://ipregistry.co) but with higher world-wide latency, lower accuracy, no client libraries, etc. I mean what value your service brings compared to existing services?

Also, the pricing looks weird. Are you serious with your unlimited pack for a fixed price? Can you handle 2B requests a month for $250 with consistent latency? How frequently are you updating your data?
World's largest urban farm to open on a Paris rooftop
> USA is big multi-cultural place with many different parenting styles. Painting all of them with broad brush without statistical significant studies is not ok.

The same applies to "Asia"
The author believes working as a software engineer in a startup is fine so long as you have the title "product engineer" rather than "software engineer", as if your job title actually matters.
There is still a very active 6502 hacking forum at

http://forum.6502.org

(No SSL/TLS, unfortunately).

Lots of people build homebrew computers out of these things, there are a few open source OS and build chains available, etc.
Things You Must Do to Get Your Company Acquired
PicoLisp compilation benchmark
They're referring most directly to the person they're replying to, Scoutmaster, who is a scoutmaster: https://en.wikipedia.org/wiki/Scouting
The “many eyes” hypothesis is routinely debunked when severe security bugs are found in things like the Linux kernel that have been there for years. The same is true for standards that end up being fundamentally broken at later dates. In the end software and hardware is so overly complicated that we cannot currently build secure systems.
> Clearly we agree that the Singaporean government is very good at getting things done, and we agree that the things it wants to get done are horrible.

Singaporean here. The government's mainly effective for tasks that are on a happy path. If your particular case falls through the cracks, it often takes phone calls, printing, postage, and weeks or months of waiting to get stuff done.

(Personal experience trying to get business stuff done not as a Private Limited company.)
My experience with Goats: They will even eat fire if it's in front of them...
That's interesting, it wasn't pay-walled for me. They must use a quota system for their articles.
Not sure that's better, when I was a college student living in poverty I was expected to buy $100-$300 books and at the end of the semester I would sell them back for $5-$20. Used pricing was never different than new, and the "17th edition" scam meant you often couldn't sell books back at all.

I just started stealing textbooks shamelessly, and have zero regrets about it because I would not have finished college without those small crimes.
In principle it'd be nice if they'd move on and free up more time for those who actually have kids.
That depends on how you define 'modern era' I guess...

https://en.wikipedia.org/wiki/Bonus_Army

https://en.wikipedia.org/wiki/MOVE#1985_bombing
But in Go, case-values must be constants, right? This would make the trick from the referenced source code impossible, I think. (Whether or not that is a good or a bad thing is a question I am deliberately ignoring.)
Status Anxiety Or: How Our Neighbors Make Us Worse Investors
>> If the code produces sideeffects, a switch statement is not even an option, as it can only compare values (at least in this form)

Yes, this is exactly one of the reasons to use switch statements instead of if-elseif-else, were possible.

Even if in the absence of side effects it is still easy to have overlapping conditions in the if-elseif-else, for example misspelling an enumeration value, some copy/paste mistake, etc. A switch statement does not allow this.

>> If you're checking some status code, I still prefer ifs

My philosophy is always to write code that expresses as much as possible its intent, and the sequence of operations the computer has to take. Performing some action based on a status code, in my mind, is like looking a procedure by its label, and executing it. Not looking at all procedures one-by-one until you find one that 'advertises' it applies to your status code. To each their own, I guess ;-)
This is just an awful, awful mindset.

If you want great devs, you're going to have to invest in junior devs, and you're going to have to expect them to be learning at work. This is also why the best use of your senior devs is as mentors to your less experienced ones.
Genuinely, I can't tell if you're trying to refute the point, or illustrate it.
I knew someone would say that :-)
But what if I want to join a startup so I can build out the stack of my dreams while accomplishing whatever business goals are set?

I’m assuming if you _join_ a startup, rather then creating or co-founding one, there’s already a product person on board.
Thank you. So for example, and I realise this isn't a great news story, this Ask HN post of mine is showing me it has 6 points (upvotes?), but my karma is still 51.
Looking through the number of points you've gotten from your submissions (not many, join the club) and your current amount of karma, most of your karma has come from your comments.
You can edit JSON by hand but it’s not what it’s for. It’s not designed for that and it’s not really suitable for that. Theoretically you can milk anything that has nipples, but you might find the experience of milking a cat to be ... challenging
That's a really weird and selective comparison.

Tesla has sold 1.6x the number of Model 3's in the past 2 years than Nissan has sold Leaf's... ever.

Sources (US):

* 136K Leafs: http://carsalesbase.com/us-car-sales-data/nissan/nissan-leaf...

* 223K Model 3s: http://carsalesbase.com/us-car-sales-data/tesla/tesla-model-...
>Can you just give the poster the benefit of the doubt

Perhaps you should do the same for barrkel? I read your parent as a simple explanation to solveit why their comment may have been misconstrued by bsder -- a question solveit directly asked.
I was expecting this to go the other way. That phones didn't need a warrant.

It's a clever reading. If we insist on calling them "phones", then they're subject to the legal precedence of phones and maybe telegraphs.

And I'm always in favor of anyone who is attempting to prevent authoritarian overreach. You go Glenn Coco
You can put them at the end of the line.
My god, this isn't rocket science bruh.

The SEC used to prevent companies from listing that were obvious scams. They simply need to start doing their jobs again, it's not a tricky differentiation problem or moral quandry that we need to bust out latin to explain.
34 bytes is equivalent to bruteforcing a 272-bit key. It's already physically impossible to do that for a 256-bit key even if you ignore everything other than incrementing the key counter itself:

https://pthree.org/2016/06/19/the-physics-of-brute-force/
It is not our purpose to build a community of Interslavic speakers and we do not ask anybody to actually learn it; we merely offer suggestions that will enable people to make themselves understandable to (other) Slavs in a language that is essentially their own. Given the character of the Slavic language family, it should be possible to speak or write in such way that ca. 90% of it will be readily understandable for virtually every Slavic speaker. [1]

[1] http://steen.free.fr/interslavic/introduction.html#purpose
This is an uncharitable reading of the article. They aren’t just suggesting a different title - they’re suggesting doing a different job - shaping the product rather than just implementing it.
There has been others which were even more delayed than that.

To understand what's going on is that the bond market inversion is because fallible people who are analyzing the situation and putting their money into bonds. They are buying 10 year bonds when 3 month bonds would be cheaper.

That's a very irrational thing to do; unless you're predicting a crash; and when the rates invert it also means there's a very large amount of $ going into those bonds.

Not to mention that when this happens it makes headlines and causes the politicians to scramble and try to fix the problem. This is where the delay comes in; the politicians spend $ to cover up the hole in the economy delaying the recession.

This is actually a huge problem, Canada is around 170% debt to disposable income. If you delay the recession the only thing that happens is that it goes to 180%+ making the problem that much worse.
The 100 companies include Shell, BP, Chevron, etc.

They are only producing the means for abusing the environment-- it's the end users that are doing the damage.

I suppose you could argue that if we outlawed petroleum production that it wouldn't allow the abusers anything to work with, but it would also deny the world of most of the progress made in the last 150 years.
Used Jeep Dealerships Toronto
> I think the state would be comfortable denying phone and wifi usage to protesters congregating in public places

I don't entirely agree. It's a resource tradeoff scenario where the state has to expend political-capital (because they are also blocking people living nearby) to prevent the protestors from communicating. In fact, the protestors in Hong Kong have been protesting in different neighborhoods so non-protestors can see first hand the brutality of the state.

I agree with your larger point though that communication jamming is probably a minor point right now in the Chinese state's gameplan for dealing with these protests.
That’s not really how humans work and not really how brains work.

Nothing is technically intuitive and in that regard I do agree with you but I think you are missing the forest for the trees. Everything humans ever do happens within a certain context. There is no fleeing that. And you can call interfaces respecting that context familiar but it also wouldn’t be wrong to call that intuitive.

In that way the distinction you are making up is a very gradual and almost completely meaningless one.

I’m not married to keeping on using the word “intuitive” but I do think it’s also not wrong to use it and especially shouldn’t be followed up by pithy, meaningless (= don’t tell you anything new) dismissals because of that word use.
I have enjoyed the random feature of Reddit https://www.reddit.com/r/random which I have a favorite link to in my browser. I think it follows what the author is trying to get at.
That is an incredibly stupid accusation and you should be ashamed of yourself for even thinking it. Listen to yourself - the whole fucking point is human rights to not be snatched away in the middle of the night to show trials! Purchasing power is a fucking stupid thing to accuse as their real motive as if they wanted to change that they could move onto the mainland.

The point is how China has persistently tried to delegitimize it doing things like disrupting /overseas/ protests. That isn't normal and shame on all who try to normalize it.
That's the problem in Japan. That $40,000 car will be say $38,000 next year; so why would you buy it now?

The problem is that when people do that, it means people arent spending money resulting in more deflation.
This is such a weird and obtuse way to look at human relations, and as a dog person it's so weird to see this alien take on a pretty common part of culture.

I'm guessing 'certain forums' is code for the PUA community?

You might want to think of 'women' as being a category with a lot of different and divergent people in it. Some of them like animals. Some of them don't. If they're into pets and you're into pets, then that might help open a conversation. But that's more like 'women who have a thing for dogs'.
Introducing the Rust Game Development Working Group
For those who missed the description on the webpage, the data that is visualized is called "3D BAG", which we get by combining the "BAG" (buildings) and the "AHN" (point cloud) data sets. The 3D BAG (http://3dbag.bk.tudelft.nl/) is created by the us at the 3D geoinformation group (https://3d.bk.tudelft.nl/).
Setting a precedent that a smart phone is not a computer seems like a bad idea. Surely there are other laws that smart phone owners (and makers) would want to apply to both smart phones and more traditional computers.
Check out this Ted Talk for some nice facts and awesome storytelling: https://www.youtube.com/watch?v=V-WkUKP1l3c
if the dogs were restricted to male Labradors age 5, then the range of inference would be male Labs age 5.
I found that the macos firewall is to blame.
> Documentation is essential. How things work is an important thing to document.

I agree with this 100%. However, to be useful it needs to hit the right level of crudity. For most projects, a short (<10 pages) description of goals, design principles, architecture and an overview of interfaces is sufficient.

It is best when this exists as a standalone document which is a required reading for any new developer. After this they can look at module descriptions, function docs, code, etc. and understand how to make sense of it and how to add their code without breaking general principles of the project.

> Ideally it should be in version control and be generated from the code, because then it's less likely to go out of date.

With this, I have some beef. In my experience the best documentation is the one that complements the code. Usually this means a short description by a human that explains what this chunk of code does and assumptions or limitations (e.g., "tested only for points A and B in troposphere") and IME most useful information is not derivable automatically. Auto-generated docs are very useful, but cannot replace clean explanations written by a human. My 2c.
While the article is obviously US-Centric, a lot of the things mentioned in it are applicable to other countries as well, including mine (Greece).

As a child, I was used to going out each evening in the neighbourhood to play with other kids. All the kids gathered in the nearest park/playground/court, and we played for hours each day, especially the spring/summer months.

Today, as a parent of 3 (8, 4 and 1 year old), I have noticed other parents don't let their kids out in the playgrounds any more. Playgrounds have few kids, and most children are very young, below 4 years old. Apparently, older children are occupied daily with structured activities, i.e. sports, foreign languages, swimming, music and other hobbies.

My 8 year old daughter really struggled to get new friendships the last two years, since we moved to the appartment we are currently in. None of her classmates are to be found anywhere in the neighbourhood after school.
Indeed, I couldn't live there, and I don't think it's right for humans to not have a choice not to live there, but for those who have chosen to be there and agree with the state, I'm sure it satisfies them.

I like being partially or fully nude in the home, occasionally chewing gum, and having the right to freely criticize or endorse ideology on its own merits; even if it sometimes sucks to see dirty black spots on the sidewalk, or to hear people making weak arguments just to upset eachother.

Certainly a weird cosmopolitan fascist (u|dys)topia.
EU citizens will almost certainly not need a visa to visit the UK, no matter what the final circumstances of Brexit.

However, like other countries that do not need a visa to visit the UK, border agents could still refuse entry if they believe (for example) you intend to seek work rather than just visit.
> The EU have offered the best they can given the UK negotiation red-lines.

I think this should be:

The EU have offered the best [deal they want] given the UK negotiation red-lines [and the UK's lack of leverage].

The UK may have a relatively strong economy as a Country, but it's currently against the EU super state in the negotiations. The EU has most of the power when brokering a deal and this is just one small step towards making the negotiation table more even.

> It's not an adversarial negotiation, it's a future partnership.

Every political engagement is adversarial, there is of course common grounds, but each side wants to 'win'. The EU wants to remove all incentive for other member states to leave to safe guard its own future existence as a super state.