skysight-inc/HackerNews huggingface dataset:
United.com bug sent my $200 gift to the WRONG person and hung up on me
United.com has something called a "Gift Registry", where you can send a gift to someone else's registry. It's probably not a popular feature because their support reps had no idea it existed.

I tried using the registry for the first time today, and a bug in the website sent my "non refundable" gift to the wrong recipient.

Here's how to reproduce the bug:

1. Open the United Gift Registry (link below)
2. Type in any last name to search for their registry
3. Open any two names in new tabs
4. Go to the first tab you opened (Person-A)
5. Enter payment information and click "Continue"
6. Your gift will be sent to the WRONG person (Person-B)

Even though the page says your recipient is Person-A, it will send your gift to the person in the second tab because there's no confirmation page.

Why this happens?

The site is built with ASP. When you open the second tab, the site saves Person-B as the recipient. If you go back to the first tab, the server has already decided Person-B is the recipient, even though the page shows Person-A is the recipient.

Since there's no confirmation page, you've just sent the non-refundable gift to the wrong person. You'll then have to spend hours trying to call, only to be hung up on when the rep has no idea what the gift registry is.

Here's the link to the United Gift Registry:

https://www.united.com/CMS/en-US/products/travelproducts/Pages/CashGiftRegistry.aspx

Here's a video in case its confusing:

https://www.youtube.com/watch?v=osNziAJ8IF0
No, but they also shouldn't be expected to produce work that looks well designed. It should be a common understanding that it takes multiple disciplines coming together to build a good product.
It's the asker saying "you cannot," likely because of decisions he or she has already made about the setting and characters of the story that the green star will be in.

Your response would only make sense if it were an answerer trying to tell the asker what he or she cannot do.
Talking about the rule of silence in GUIs, I wish I could slap the eurocrats who decided to force websites to show the cookie warning on a first visit of all websites. Did they even understand the consequence and wasted time of what they were doing? Having to click all the time to get this dumb warning off?

Of course some websites had to do it in an even dumber way than the law asks for. Like slashdot:
http://i.imgur.com/5Fp0nmo.png

This is what greets the French every time slashdot decides to forget you agreed to let them put cookies on your computer and you need to click continue before you can get to the actual website.

The law actually made it worse for the people it's supposed to protect (those who might refuse cookies for privacy?) because those warning then will stick around like glue if they can't give you a cookie to remember you accepted their existence.
their simply way to authoritarian
Know what you are testing: Case of the test for median in Boost.Accumulators
Is this supposed to be a joke? I hardly see any non-Chinese using wechat....
In the limit, design is a complete definition of how a thing (product, service, picture, story) should be- with due consideration given to all concerns (technical, practical, emotional, environmental, supernatural, whatever).

If you're solving problems, you're already designing solutions. Now at the moment, (for the programmers among us) when you're solving a problem you may only be considering some subset of the relevant concerns.

Therefore, the very specific question of should you learn visual design can be reduced to: do you want your solutions to consider a larger subset of relevant concerns and be a better approximation of the best possible solution (product, pitch, voodoo doll, etc).
My favorite chain breaker service has to do with kidney transplants:

Some economists noticed a few cases where would-be kidney donors who weren't compatible with their family member who needed a kidney were able to find another incompatible donor-recipient pair, and were able to swap so that each donor was able to gave to the other donor's loved one.

Of course, this only works if the medical compatibility works out between the pairs. To facilitate more transplants, economists created a donor-matching network that could handle cases where three incompatible donor-recipient pairs (or even thirty!) could work out an exchange allowing all of the recipients to get a suitable kidney. Naturally, laws prevent money from changing hands for kidneys, everywhere on earth except in Iran.

Heard about this here: http://www.econtalk.org/archives/2015/07/alvin_roth_on_m.htm...
but when I ssh into a server it's 100% guaranteed vim or vi will be installed on it already. It will take years for kakoune to reach that state. Same with curl and grep. They are every where so I learn them.
So you have an app idea, huh?
While wasting a Friday evening with an indecisive group, I discovered that there wasn't a good polling site that used run-off voting and worked well on mobile, so I made FreePoll.

It's good for simple things like deciding what food to eat:
https://www.freepoll.online/p/NBEBCAHNU

But also for more important things, like deciding what features to work on next for your software project:
https://github.com/Miserlou/Zappa/issues/536

Would love any feedback you guys have to offer!
Definitely. In fact because of that "blind actions" that Vim has, and Kakoune seems to be trying to fix, i often record macros multiple times. I'll make the macro, but the realize it doesn't fit all cases i wanted it to.
You can think of it much more like putting a more advanced engine & drivetrain in a classic race car.

Practically speaking for an end user not a lot will change, but React will be faster, non-blocking, and have a whole new set of applications.
While Kakoune is mainly terminal oriented, it has an experimental json interface that while pretty basic can be used to implement a GUI to it.

I took a stab at it, and while it still needs half of the features to be on par with the terminal UI, it gives an idea of how difficult it would be (it isn't): https://github.com/doppioandante/kakoune-qml
I disagree, because the Korean alphabet requires composition of glyphs

Arabic has some marks and different start/middle/end forms but it is simpler
Uber has lost three of its top self-driving engineers
Improbable announces SpatialOS Game Developer alpha
I took this screenshot on my android phone. Personally I think this looks obnoxious and confusing, but maybe I'm just old https://imgur.com/RFyBthX
Aqueduct Recognized in Growing Dart Community
Do you want to volunteer for an experimental psychological regime?
Not everything branded "Surface" is "the big-ass table". Microsoft has been in this space for a long, long time. Ink recognition, remote video sharing, presentation are all products that have been in the pipeline in some way or other for a very long time.
The article doesn't mention that but another possible factor is that life is not that great over there either. If you are not Chinese, you'll always be a foreigner there, even if you spend ten years in the same city, so that makes it difficult to integrate. You'll also have to deal with the Chinese administration for the visa, residence permit, etc. which is quite a pain. It's definitely a great place to visit or even to spend a few years, but it's not that welcoming if you want to live there more permanently.
IDK. I see as lot of negative sentiment as IG ripps-off off SC. Being owned by FB is not a particularly feel-good reason to choose IG over SC either - but most probably don't care about privacy.
I've experienced a HPE 3PAR failure, but HP insisted we can't call it "data loss"(or make a claim as such), since the data wasn't lost/damaged. Instead it simply stopped exporting our LUNS, and the management interface became unreachable. Ie..."your data isn't lost, you just can't get to it!" would paraphrase their response to us.

Ended up returning to a large keepalived+iscsi+softraid linux storage cluster.

edit: typo
I'd like to hear some background from the author on his situation(s). Personally my current company is over 100,000 employees. We have a few 100 developers and many stacks, web apps, mobile apps etc. Our API is essential and is currently a giant monolith written by devs who no longer work here.

Splitting API code into repos based on endpoints allows us to have small easy chunks to deal with. It also allows us to drop those into containers and monitor and scale much easier. It also means instead of one API team, other devs can easily pickup a small code base and make changes for their stuff and, submit a PR for the API team. ]]

This article seems a bit elementary to have been voted up high on HN to be honest. It failed to acknowledge the true merits of doing microservices properly and the huge gains. Not all code bases are meant for microservices. However, huge monolith API's in general are a very good example where it's a perfect fit.
Let me suggest an incendiary example: systemd

systemctl status wibble.service : Displays human-readable information, with colours, line drawings, and variable-length free-form text; that is exceedingly hard for a program to parse reliably.

Contrast with

systemctl show wibble.service : Outputs machine-readable information, in systemd's favourite form of a Windows INI file.
Achieving a 300% Speedup in ETL with Apache Spark
You know what? I was ready for bullshit and you actually gave a compelling answer :P Yeah, that's a bummer, but there aren't that many instances of that drawback (it's bitten me a couple times maybe in many years?) and on the other hand text mode gives a lot of convenience like being able to use it from SSH and other niceties.

Anyways, I don't think such behavior is inherent to "the console", only Linux's particular implementation (i.e. it's tty's fault) which admittedly is pretty outdated and relies a bit too much on control characters.

IMHO the original question still stands:

> What would a GUI bring to this that isn't possible in the console?

In my experience text mode brings a lot that GUIs don't, and not the other way around.

Plus it's easier to make a GUI wrapper for a console program than a console wrapper for a GUI program.
When I started with Emacs, I customized a bunch of things to make it behave in a more familiar way. That let me learn new things in small batches without taking a huge up-front productivity hit.

Over time I've changed a lot of things to be closer to defaults. But I've also kept some of my customizations (I still use cua-mode, for example).

One downside to this approach is that you may miss out on useful parts of Emacs because your customizations cover them up or conflict with them. But on the whole it has worked very well for me.
Not to mention the fact that non-autonomous cars will continue to exist en-masse. People value the experience of driving a car (especially sports cars or classic cars, but even just the every day sedan) and I don't think that the advent of autonomous cars will eliminate that for a very, very long time.
Large profitable businesses can't economically afford to take on new businesses that are significantly less profitable than their current businesses

Whoa there, isn't that completely backwards? Who can afford to invest in new businesses if not large, profitable companies?

because the rational business decision then is to reallocate the resources being given to the unprofitable sub-business and give them to the profitable sub-business to make more profits. [...] Obviously I'm simplifying a complex thing here. I understand that's a complicated topic, but details would be an unimportant-to-my-point waste of time for all.

(Edit to add: I think that apparent paradox is easily resolved by thinking in terms of long-term versus short-term investment.)

I agree there are complications, but fundamentally, big profitable companies are the ones which have spare resources to invest.

One problem is company culture and skill sets, and the difficulty of ramping up in a new area, but that's why big tech companies try things like internal "startup incubators" with lots of autonomy. Amazon in particular seems really effective at expanding into new areas.
I don't want to belittle anyone's work or inventions, but I think modal editors are old and outdated. They've had their time in my mind.

Bret Victor gave a great talk about programming and tools: https://vimeo.com/36579366

His talks always blow me away.
FWIW This will raise a warning in my dev environment as I have declared in my pom file that I use JDK 8.

Also I'd consider it better style to only specify the interface on the left hand side, something like this should work:

private final Map<String, Map<String, Record>> searchTree = new TreeMap<>();

Edit: if you use Netbeans with maven it will automatically pick up correct settings from the pom and autocomplete with a shorter version like the one I suggested.
If not program, getting a better idea of the constraints of the final application / website would be a start.

For example, learning that web fonts render differently in each browser (so, even if the desktop font looks great in Photoshop, it might not be readable enough in the real application), or the concept of fallback fonts, could be an eye opener for more traditional designers that only deal with static mockups.
Im old too :) thanks for the feedback i think the emojis in the submissions are probably a bit much.
React's virtual DOM has a far smaller performance impact than the web components polyfills have...
What immediately occurs to me (and I apologize if it's been asked already) is that you likely have to offer slightly below market prices to be able to make a decent profit and mitigate the risks. So someone in a neighborhood with a better than average home will not be enticed by the lower price and will likely sell through conventional means. Someone with a below average fixer-upper, will see the price as very attractive and sell through you. So anything that's just predicated on expecting homes listed on your service to be centered around the average value will not work. How do you account for this sort of thing if you don't see the house?

Also in a forclosure situation the owner needs to make a quick sale - your service would look very attractive (a killer niche of the market for you guys.)
Bitcoin-Powered Marketplace OpenBazaar Raises $3M
I believe that both can be learned. People may have natural affinities for one or the other, but in my experience, consistent deliberative practice always pays off. It will also involve struggling to push through plateaus wherein everything seems hopeless.

edit: And since both are highly creative activities, it seems reasonable to me that they would reinforce each other somewhat in terms of total mental ability to think deeply about the problem at hand!
The salaries in china are getting way higher than in silicon valley as far as I can see and that's gonna make people move. Especially with more and more layoffs in SV and the european market lacking jobs.

EDIT: Looks like I'm wrong, I did the wrong conversion while on glassdoor. Salary in china are way lower than SV

My point is that people move where the money is, when the salary are gonna be higher, people are gonna move there
The Greater New York City Region Must Plan for “Permanent Flooding”
Yikes. Makes me glad I run Slackware. Though I seem to recall from The Init Wars that it was precisely this quality of SystemD that made people lob the charge that it violated the "Unix philosophy"
CanJS 3 and the Future of JavaScript Frameworks
Some stock/securities opensource engine?
I'm testing on some historical log. Need a decent opensource engine for securities exchanging. It would be great if it runs on Linux. Windows also can do. Some suggestion?
We however do enjoy it!
And in case anybody was wondering about the stack:

Vue.js, Semantic UI, Zappa, S3. No permanent database, no permanent webserver.
In search of 'sterile' neutrinos
You might want to check out process.nextTick: https://howtonode.org/understanding-process-next-tick
The point of my comment is that WeChat is better Facebook clone.. At least that was the discussion here.

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

It gets a positive response in terms of usability, technical capabilities, etc.
>That's nice, but it shouldn't be forbidden to violate users' privacy, it should be impossible.

Work for just about any company, tech or otherwise, in a sysadmin role. There is always going to be some way for a smart, malicious admin to get into things.

Snowden is maybe the best example. If an organization with an insider threat risk profile as high as the NSA's can't get it right, then you can be pretty certain almost no one else is either.
Yeah, sorry I didn't mean you oversell anything either. The article and thread mood made me feel this way. I understand the value of an out of the box solution versus a fragile, plug and maybe play in a workplace market. I was just trying to assess the situation.
Monitoring OpenShift Applications with Dynatrace
At this scale though, you need service isolation just to operate with any efficacy. Think how much worse this case would be if those two rank and file developers under distant VP hierarchies were deploying the same codebase to the same production machines. Basically it would be impossible to ship without independent QA and Ops arms with heavy policy on what is required to deploy anything. Now you're moving at about 1% of the speed of a Facebook or Amazon.
Worldbuilding.SE is weird. People are very unclear whether they want "plausible fiction" or "hard science" answers for things, and to some extent it's also treated like a puzzle - which I think is what the phrasing means here. "You may/may not" phrasing appears in exam questions.
New world order: China #1 largest e-commerce market
hangul is probably my favorite writing system, but I wouldn't really consider it any simpler than an alphabet type system. Can't speak for abjads, though.

Also, converting spoken Korean into text can be tricky for non native speakers (e.g. 맛 is pronounced 'Mat' although the spelling would indicate 'Mas')
I find that having a good cheat sheet in front of me helps a lot. A good book goes a long way. I recommend Practical Vim by Drew Neil. And of course, use it when you are not programming on the clock. I find that this is the best way to develop the muscle memory.
I fucking hate flippant comments like that. A human being was pushed to killing themselves, and this asshole is sitting there pretending as if the reason was because someone looked at them funny.
Because the disadvantages of Qwerty are mostly old wives tales, and the advantages of the alternative keyboards are overly advertised but marginal.

https://www.utdallas.edu/~liebowit/keys1.html
It is written from scratch in a very modern C++ style, I advise every C++ programmer to look at it. Also the code is quite well organized.
The fact that you may wind up in the FBI's NICS database is completely true. In this era, I'm not sure why a person would be confident about how that database will be used, now or in the future.
Do you have a direct url to the video, I dug a few webpage deep but found nothing except html galleries.
Black Friday and Cyber Monday/Cyber Week Digital Performance Coverage
Yeah. I work in tech, and this has tripped me up many a time.

Apple is extremely negligent about demanding a credit card, when I only want "free applications". Worse yet, with their app-storification of OSX, it's absolutely horrendous. And of course, only "richies" use OSX and Apple (enter here various websites that charge more for Mac users based upon browser ident strings).
I'm not sure if my org qualifies. Depends on how you count it I guess. We have 80k+ RPS at times at SendGrid, and each request can generate 4 to 8 external events and at least a dozen internal API calls. If you count total internal QPS, that would be something in the order of 80k * 4 * 12 ~= 3.8M QPS. I'd have to check with an operations person to see if that checks out. I don't know if it is fair to count this though. So, let's go back to the 80k RPS. If someone was doing 10X that, I'd be intrigued to learn more about their set up for sure. I imagine the Googles, Facebooks, and Amazons of our industry do this level of traffic.
I'm very curious personally what is meant by "No permanent database" - are you writing the responses to S3?
The software is terrible, but the ability to draw on the board keeps us from having just a TV / projector. We put up with it because of the added capability.
A man who was convicted for antitrust violations thinks regulations are bad. More news at 11.
I guess it depends on your idea of "unfriendly to foreigners". If you're referring to countries where the US has icy relations with, getting a visa might be problematic, otherwise, I think your experience is a bit off.

As a native born American, I see a surprising amount of small business owners who are successful are not from America. Even in the small town (Nicholasville, KY population ~20,000) I'm from, most of the convenience stores and gas stations are owned by a single middle eastern family that is super friendly to everyone. I went to school with Charlie, one of their sons, who was the first to be born and raised in the US. I see so many Americans who were raised in relative ease and comfort simply being out hustled by immigrants and "foreigners" who have more drive.

You know what, that is great! The healthy mix of diversity is what makes America (already) great. If a family legally comes from Mexico and wants to hustle their way into success, I'm all for it. Immigration is not a bad thing.
Aleppo is a modern study in how Holocaust happens
Show HN: Blind Audition, a Chrome extension to anonymize candidate profiles
I found this very cool and surprisingly beautiful!

I'd love to understand the techniques and processes @lukehaas used to create it.
Until performance becomes a critical issue and then you have to deal with increased costs (hardware), caching, complexity... And if you happen to pair service with its own database (trustpilot), aggregating data for statistical reason becomes even more 'fun'.
Ah ok must be my font.
Last I checked, pro gaming was always a mix of constructed and draft/sealed, which meant you couldn't reach top level without practicing both extensively.

A full edition set costing in the thousands, and there being 3-4 sets per year, the price to compete is fairly high.
The more you know; I'll have to look into that!
You have my attention. :)
edit: Wow, super excited to try this out.
Working with SQL in Swift Using Swift-Kuery
Why do you think Google want this information to be out?
A - Because they are lagging behind and don't want to look like they played and lost.
B - To seek partnerships through Techcrunch.
C - They don't want a non-working B2C product, but sell a B2B one instead, because they doubt their capacity of making it happen alone.
I consoled myself with 1) it is just one person's opinion (his other recommendation kind of sucked too; I think I just don't like his taste in book recommendations, which doesn't say anything else about him, or even his reading habits), and at least it wasn't Malcolm Gladwell.

(I'd suggest reading Thinking Fast and Slow, and High Output Management. I just track everything I read on Goodreads, though -- https://www.goodreads.com/user/show/3960665-ryan-lackey
Wait, that makes no sense. Your argument is that since there's one (huge) malicious actor we haven't stopped we should not care about any other malicious actors? "Privacy" is not binary. You can have privacy from Uber even while the government spies on you, and the situation when only one of them does is better than the one when both do.
LOL yeah that would be a problem.
because it works, and changing to somethig marginally better is not worth it if you have to relearn the keys for even a few days.
It shouldn't; search should operate in compatibility normalization space (preferably NFKD). Chrome on Windows gets this right, btw.