skysight-inc/HackerNews huggingface dataset:
There is a modification of this idea which forms a teaching technique that my parents used with me, and I use with everyone I teach or tutor. Essentially you ask them to make predictions (what will happen here). You then try to figure out their process of coming to that conclusion (why do you say that). It's important that you ask them this question even if they're correct. Then you emphasise the parts of their reasoning which make sense, and focus on the parts that were mistaken. You then ask them to make the prediction again with what they've learned. Bonus points if you give a third, different example to reinforce the concepts. Rinse and repeat.

While some people (especially children who aren't used to this method) might not enjoy it at first because it seems to be harder and takes longer than "just giving the answer", it actually helps people learn how to reason about things (which is something that is lacking in a lot of people these days IMO).
>The REST-inspired API that requires 10,000 API calls to do something that could be done in 1.

That should be a non-issue. Consider search queries. They are a simple GET request that returns a collection of many results in one response. You can do the same, you just need to define collection resources or collection semantics for existing resources.

The only challenge is handling partial failures, like when you POST 1000 things, and 22 of them fail validation. So each thing needs a status code in the response and some unique ID so that you can find its status code in the response. (That is separate from the overall request status code.) I have the client send a UUID and the server responds with a collection keyed by that UUID so that it's easy to find, for each thing that you sent, what happened.
You can write code to compare strings without branches. Imagine comparing one string to every string in a database column. Pad to a fixed size first (if you find an ambiguous match later you can do a full string compare then). Subtract the strings, aka compare, and store the result. At the end of all the commparisons you have a memory structure of negative, zero, or positive values. Then you can do something with the matching values.

There have been some very sweet algorithms for doing B+ tree searches for Itanium and for AVX and those work just as well, if not better on GPU.

With some thinking, branch operations can be converted into math and applied to masses of data without checking for branch conditions. This wastes some work but is still faster than branching.
Somehow the Google login is failing (why do I have to login if I have just signed up?).
“Man in Space” Presented by Werner Von Braun (1955)
Euclideon (voxel “unlimited graphics”) new video: Real Holodeck Finally Createdd
Usually I try to resolve disagreements by asking questions. Either they end up poking holes in their own arguments or I learn where I made a mistake.

Telling someone they're wrong is useless. After that they can only think of reasons why they're correct.
That seems roughly equivalent to taxiing in a plane, something which isn't handled by a plane's autopilot. After using it, it feels very intuitive to understand what it can and can't handle, and it does degrade very gracefully (beeps at you and says 'take steering wheel to maintain speed' if it starts to get confused.) It works very much how I would have expected knowing nothing more than the name.
Stopped failing.
@dang: I changed the title so it gives HN users a better context.
I experience basically the same level of problems on our office's Cisco Meraki gateway/firewall. A couple months ago we had to do a support ticket to get them to fix their spanning-tree implementation because it configured loops in our simple dual-master crossover switch configuration, forcing us to disable one of the masters. Then there was a spurious packet loss problem in one of the default configuration parameters.

Now it just randomly stalls TCP connections open until the local node closes them, but allows the remote node to continue receiving packets(!), which is probably the worst thing a TCP system can do aside from simply not connecting.

I quite literally had to attempt this post twice before giving up and connecting to a UDP VPN. I have watched my colleagues cancel and refresh webpage loads for the last few months.
> And these days so many people get it through their cable provider (or DSL, whatever) who have a marked interest in not generating support calls means you may get decent equipment.

You would think that, unfortunately it isn't true. Usually those ISP provided combination routers are completely outsourced - as in their hardware and firmware are both made by a chinese OEM overseas.

Believe me when I say there is nothing worse than the firmware on those chinese routers. They'll grab a bunch of open source software, reskin it, plug the chipset's reference driver into the OSS, then do a basic sanity test and ship it. You get what you pay for, and the ISPs want to pay as little as humanly possible.

I don't know what they do about the support. I remember one time we brought in an ISP's combination modem/router for performance tests against our device lineup, and it would crash if you ever tried to pull more than 40mbit/s through its ethernet ports.
Not having it open on the screen, and not having it running as a background process
I found Vi to work perfectly well for C#.

Visual Studio would have been better, if I could have got a decent Windows desktop to span both of my monitors. But since my employer at the time didn't want to get a Windows PC or get a Visual Studio license for this Windows desktop application project, Vim + Samba + SSH were a workable substitute.
Limiting your queries to ~12gb, the max ram on one GPU, (beyond which PCIe I/O becomes a bottleneck) will be a problem for business use, I'd think
Why would high performance networking be dropped from the default? I learned of its existence a few weeks ago and was wondering when it would make it in.
I like the Ubiquiti gear. The AC lite is affordably priced. I'm also happy with the ERLite router.
I think it is that by stating how someone is right, you are demonstrating a comprehensive understanding of their views which justifies your disagreement. It grounds your points in theirs, creating a shared position which is easier to understand than two positions that are simply smashed against each other until the more solid one prevails.

I think someone who flatters the ego is cargo culting persuasion. It may work when people are more invested in the power relationship than the discussion, like a discussion between a worker and their boss, but otherwise yes I think it is belittling and someone trying to have a genuine dialogue is going to find it obnoxious and insincere.
Agreed.

The ability to drag and drop a file or folder into a file dialog is absolutely brilliant, and one of the things I miss the most when I'm on Windows or Linux.

I have no idea why other systems haven't adopted that. Do they really expect us to awkwardly navigate the filesystem every time we open or save a file?
You seem to be assuming a lot about a development environment that was never specified. This about writing software that handles input from an extern, potentially hostile source. Parsing URLs that were supplied by the user is one example of that.

> Your code has to do something when it gets a URI

Yes, that's exactly my point. You need to define what your code will do with any URL - actually, any input, including input that is malformed or malicious - which includes both known and all possible future schemes.

For this specific example, the correct thing to do is recognize that e.g. your software only handles http{,s} URLs, so every other scheme should not be included in the recognized grammar. Any input outside that is invalid and dropped while dispatching any necessary error handling.

> third party code

...is off topic. This is about handling input to any code you write. Any 3rd parties also need to define what they accept as input.

> it will be prohibitively difficult for a new URI scheme (or what have you) to gain traction.

That is a separate problem that will always exist. You're trying to prematurely optimize in an insecure way. Worrying about potential future problems doesn't justify writing bad code today that passes hostile data without verification.

If you know that a URL scheme - or collection of schemes - will be handled properly, then define it as valid and pass it along. If it isn't handled or you don't know if it will be handled properly, define it as invalid and drop it. Doing otherwise is choosing to add a security hole. The same goes for every other byte of data received from a hostile source.
Ask HN: Could war be avoided by nuclear scientists defecting from North Korea?
For sure. The only difference between a fascist and a liberal despot is that the fascist is proud of their violence while the liberal dissimulates it and belittles and destroys those who point it out. The same is true for the state communists. Disagree with Stalin? Revisionist. Etc. Even in anarchism there are people who will use the ideology in a purely instrumental way to justify or hide their use of violence.

Ideology is a smokescreen for power.
I have a pair of AC lites covering 4200 sq feet across 3 floors. One is in the upstairs hallway and the other in the basement ceiling.
Looks like they were testing it when they got burgers at Feed Co in Redmond. I would of got the halloumi cheese grits
Someone could also disagree with me because they are correct and I am in error. They may have knowledge or perspective that I lack.

My first step is to try and find something they know that I don't before crafting persuasive arguments. Maximize for total knowledge not winning arguments.
Suggestion: let me use Frank to manage loans I already have with friends and family that are not willing to use Frank (yet!).
Understanding how to pass functions.

For me this was more important than grasping object oriented programming.

The second deep insight was that programming is less about language syntax and mostly an exercise in manipulating data into and out of common data structures such as arrays and hashes.
I used Reader back when it was going, and I'm still not sure why people are so obsessed over it. I mean, yeah, it was pretty cool, but like 20 replacements popped up as soon as Google announced they were cancelling it. I switched to Feedly long ago, and never looked back.
I am not sure where I read the psych study (citation anyone?), but I remember reading that a really effective method for getting someone to change their mind was actually to get the other person to frame their argument as a question.

E.g., "What questions would you ask me to convince me that you are correct?" It opens up the argument so they are less defensive, since they started with a question instead of an argument.
Is that actually true? The entire literature on cultural cognition, and the myside bias, and all the other failures of rationality seems to point to it being pretty common for people to disagree irrationally. The advice given here is rather one-sided: one must assume the other person disagrees rationally. That's a huge assumption that is sometimes, maybe often, not justified, yet it's not mentioned. Furthermore, the second part of your comment about articulating their own argument is not related to the first, it's independent of the rationality and quality of their argument.
I would argue that most people simple love to argue.
The word 'mistake' implies intention. There's no such thing as a mistake in evolution, any more than there's such a thing as a 'failed' scientific experiment.
Stop sniggering in the back.
Pertains only to Issues, not the git repo itself.
Well, get your pickforks.
Fair enough, I was just responding to this:

> A good Lisp programmer would never write such inefficient code. Why create a local function here when you can easily write a macro that expands into a loop with expr as its body?

The nice thing about the call-with style is that it makes it easier to redefine your macro's functionality without recompiling all the call sites.
> use-different-key-combos-than-the-standard

As someone who lives in the command line, the fact that they use the standard readline/emacs key combos is one of the few things I really appreciate about OSX.
Chrome extension for full text history search
That's almost exactly the case.

Link here: http://cafbit.com/entry/rapid_dhcp_or_how_do

Previous HN discussion here: https://news.ycombinator.com/item?id=2755461
It's not black magic; systematic troubleshooting is the key to either environment.
That sounds like an interesting technique - but it unfortunately does not apply on a majority of real-world data.

In particular I mean sorting non-English text which any serious database needs to be able to do. Subtracting characters doesn't work when you're dealing language specific Unicode collation [0].

[0] - http://www.unicode.org/reports/tr10/
I remember iDEN phones! I had a Motorola i355 for a while. Software sucked but the thing was an absolute tank. Plus, it was one of the rare "dumbphones" of the time to have integrated GPS, so I remember using it as a GPS tracker for a while afterwards.
Thanks. This is what I was going to try to explain but was too tired to bother. Also, as a member of the white male american engineer group, I will 100% cop to this sort of prejudice when dealing with generalizations as in the parent article.
I like Spectacle, which looks like it has similar functionality to Magnet but is free and open source on GitHub:

https://www.spectacleapp.com/

https://github.com/eczarny/spectacle
You sound like a kindred spirit. I have put hard drives in freezers to release stiction; I have baked motherboards in the oven to re-flow questionable solder. I wonder if anything in our kitchen is sacred! Sometimes I wish I had "MacGyvering goofy tech junk" as a full time job!
Oh come on. 'America-centric visions'? What's on earth is that even?

Havana had all of those things you name. Havana was then a modern, stylish and clean city. A capital of the Americas. It was a city of culture and energy. It was a city of business, tourism, architecture, pleasure and work. Havana had more cars than any European city at the time. Havana had infrastructure, Havana was connected to the world. In 1849, newly developed communication devices were demonstrated in Havana. Today such actions are oppressed and could lead to imprisonment. In 1900 the first international phone call was made from Key West to Havana. Today Cuba ranks lowest in the Americas in telephone/internet penetration. Pre 59 Havana was a city rich in musical talent. Antonio Machin, Perez Prado, Beny More, Cuban contradanza, danzon, mambo, cha cha cha, were hugely popular and influential in the development of genres such as jazz and tango. Pre 59 Havana was a flow and ebb of musicians between Havana and New Orleans.

What you truly want is poverty and stagnation to prevail. Havana is not a zoo for you silly tourist to enjoy. Havana is a city inhabited by people VERY tired of bad roads, crumbling buildings, lack of essential products such as eggs, toilet paper, pencils, and what not.

Why do you hate hamburgers and bacon?
Typically banks already use immutable ledgers. If they need to change something they put append that correction onto the ledger too.

> removing immutability from the blockchain turns it into something that isn't more trustworthy than any other kind of ledger

How is that in any way true? Immutability means you have a record of the real data and when it occurred. Other applications can be layered on top.
If they're trying to get something and are willing to screw others over for it, then you have to give them an easier way to get what they want. Maybe they actually want something else? Or maybe they can get the thing some less damaging way?

If that all fails then you have to find other strings to pull. Figure out what currencies they care about (think social pressure) and see how you might be able to use them to help you make your case.
I've actually been a Storyworth user for quite some time and it's a slick service. It has really helped me connect with my grandmother.
What browser are you using? Because it works fine for me.
8 odd tweets and not much real context/content related to the sensational title. Sounds more like rambling.
It's the complete opposite of what seems to be the increasingly reigning trend online at least, and all too often offline. That is to say this is good advice, but a really shocking number of people seem to unaware that the least effective teacher is the one who informs you that you're a pointless moron before trying to correct you. I'm constantly amazed at people who think their genius is so valuable that anyone would put up with their rancid personality.

It can get even worse when there is no genius in play, just power or money and a good social/professional bubble.
AI Can Recognize Your Face Even If You’re Pixelated
BeOS and OS 9 were well designed. I feel like we've sort of lost our way about what made those OSes good, replaced it with very “showy” graphic design. Operating systems should be a tool for information and communication, not a modern art exhibit.
If you can get more than 50% of people to understand what your thing does just from the name I'd say that pretty good, actually. Literally no one is turning on Tesla's auto pilot with no information on how it works beyond the name.
See also this post by Yonatan Zunger on Google+ on the implications [1]

[1] https://plus.google.com/u/0/+YonatanZunger/posts/HxrBbAskg19
They may disagree irrationally, but they still disagree with causation. This is basically saying; figure out what causes them to believe what they believe, acknowledge the validity of that causal chain, and then introduce new information.

The new information could be about being less wrong (updating the rules of their causality) or it could be a new situation on which to apply their existing ways of thinking.
>I'm constantly amazed at people who think their genius is so valuable that anyone would put up with their rancid personality.

My opinion has been that if you really value truth, leave your ego at the door. Emotional intelligence is key to discovering things you don't know, from sources that may be less than friendly.

I am not advocating being needlessly toxic. This goes for both parties. But people would do well to learn when to A) Not expect respect B) Know how deal with someone who is disrespectful, but is correct in the current subject matter being discussed.
Can someone explain why cache flush is used for on ARM or in general low level programming?
I have to thank Nick for my current startup (we actually say so on our about page) :-) I used to rely on Reader so much that it was my gateway to the internet. When it got cancelled, I realized that I needed a way to stop relying on free centralized services. I wish they had released the code so that I could have self-hosted this (big thumbs up to parse/facebook for doing this the right way).
Animals are comprised of a huge amount of water and some other stuff. I think even meat is something like 80-90% water. But people don't usually say "man I'm thirsty, someone bring me a ribeye!"

When cells are made up so primarily by water saying "oh but this fiber is a trivial percentage" is very misleading. If all sugar is in the water which is contained in cells which are bound up by fiber then the fiber could make it much more difficult for your body to just absorb all the sugar wholesale.
That's unfortunate. I never really use the Wi-Fi on my Comcast box so I don't know if it was any good. I've had great experiences with people Google fiber boxes, but that's Google and isn't exactly a mass deployment so…
Edit - I mean does look pretty active.
Joel Spolsky at Startup School 2012
The issue is fructose and sucrose, people end up getting confused with glucose, which is not the problem.
I agree, but we're all just human, and most of the time it's not truth that comes with rudeness, it's just more rudeness and a lot of opinions. Worse, people seem to think that being rude is a way to broadcast your important or genius, when it really does nothing of the sort.

I'm also not talking about "expecting respect", I'm talking about people who cross basic lines of conduct. "I don't feel I'm being treated as well as I should," is not in this, and yes, people who expect that need to ground themselves in reality a bit.
Is "Analyzing Sun Networks" out of print?

I remember this book as being quite good.

So many of those "old" Sun ideas are still around today, in one form or another.
This is a great policy, but notice that the GP didn't mention correctness at all ;)
These aren't even that bad.

I've had a router start sending me two DHCP offers, with different IPs. The first offer containing an IP outside the range it was supposed to allocate. After my computer tried to accept the first offer, the router started ignoring me.

This behavior survived rebooting the router (and everything else involved), flushing the DHCP table fixed it for some reason.
Reminds me of when Bill Roper left with a bunch of the old Diablo 2 team to make Hellgate: London.
It's interesting that the NY times critics wield so much power with the chefs and NY public (and maybe even american public), when there are plenty of review systems (michelin, pellegrino) that are more worldly and forward looking. IMO, New York high end cuisine has always been more about hedge fund people and old money impressing each other with higher spend, rather than better food. Maybe that's why there's an aggressive restaurant review culture that serves well to these aggressive customers (born out of finance).

IMO bay area fine dining cuisine is #1 in the nation right now (NY might have even be #3, had Chicago not have some unfortunate chef deaths in the last few years)

If you look at new york times's 4 star restaurants list:

Le Bernardin/Jean Georges (old french cuisine, tons of sauces, boring)

Per Se << French Laundry

Del Posto (mario battali's strong/strange flavors are either love/hate) Quince (sf) is much more consistent and tasty.

Sushi nakazawa - very good nigiri, but lacks decent cooked seafood. Yoshizumi (sf) is much better in both nigiri/cooked food, taste great, is cheaper, and the place has a great minimalistic japanese feel.

And there's no direct answer from NY to Benu (out of this world Chinese), atellier crenn (if she only did desserts for all courses), saison (highly innovative), californios, mourad

SF might be in top five cities in the world right now for great food (low end and high end)
Have AAA deal with things. You'll be told where to get your car, with a pre-defined low markup. You walk in, sign the papers, maybe wait for title (depends on state law), and then off you go.
Rationality is relative. People do tend to make decisions based on reason, even seemingly irrational people, but 1) people possess differing information, from which two rational actors can draw contradictory yet individually-logical conclusions, and 2) everyone is susceptible to flawed logic. In the case of the latter, trying to directly "correct" someone's logic is often unwelcome (especially in a heated emotional context). Furthermore, sometimes people become invested in a particular decision for foregone reasons, possibly due to information that is secret or inexpressible (e.g. the degree of suffering one experiences from a mental illness, which is very hard to intuitively empathize with for people who are neurotypical).

So the answer is no, rational argument doesn't always work. Sometimes the best that you can do is simply minimize harm to a relationship by not letting the argument escalate or letting anyone burn any bridges. Depending on context, sometimes it might even be worth yielding to a seemingly-irrational argument if it means preserving a valuable relationship (this should be done with caution, obviously). And sometimes things really are just irreconcilable (though hopefully not too often).