skysight-inc/HackerNews huggingface dataset:
A good UI exposes the underlying structure where necessary, while offering shortcuts for commonly used tasks or groups of tasks, and most importantly of all, it is consistent. The internal design is elegant and simple, but the UI has grown organically and does not show the same level of care. I'm not convinced the problems with git lie with some fundamental difficulty with its internal model, they are more basic and it simply hasn't had as much care put into the UI as it should. I use the command line, and off the top of my head, problems with the UI are:

Inconsistent options between subcommands, e.g tag and stash

Complex options for everyday commands, e.g. git reset HEAD --file, git rebase -i HEAD~3, git checkout -b mybranch

The mix of options and subcommands, with no clear rationale and unclear naming (things like reset)

Separation of the stages of adding files with committing, I think the default should be combined, with options to separate the stages if required.

The man page assuming understanding of fundamentals for simple commands like git push or rebase

Finally, as an example of how unintuitive the UI is around something as simple as reset/undo - here is one of the top stack overflow questions for git with 12195 votes, which just wants to know how to undo a commit:

http://stackoverflow.com/questions/927358/how-to-undo-last-c...

to which the answers are commands like:

git reset HEAD~

git reset --hard HEAD~1

instead of something like this in the default case:

git undo
Really nice idea :-)

I remember a friend used whatsapp for the first time because it helped to get laid... until everybody had it.

This could be better: no need to drive.
Seeding when phone is actually in use would be net positive. And everyone is on their phones all the time nowadays anyway.
Do you care about politics and government? There's nothing wrong with not caring.
Correct, I'm putting Amazon ads on the site.

And yes I'm making around that. It's all from Google/SEO traffic. You can make up to 8% of the retail price depending on how many items you sell.

The site has been ranking in Google for months now, and traffic has slowly been building up.

I agree that it could ring some bells being so sudden, but because Xmas is coming up people are starting to buy more and more.
Adobe Patches Flash Zero Day Under Attack
That's still not a DDoS, as its missing the Distributed element. Almost by definition if you can block all requests at source its not a DDoS, its just a regular old DoS.
So what's the alternative? If you had a time machine and went back in time, what would you recommend/bring as an alternative to JSON?
I was literally just thinking about this last night. I found a CD from the MS Chrome Beta program in my garage with some other MS beta stuff and maybe even some Solaris x86 CD and OpenBSD CDs from late 90s / early 2000s. It was like finding gold!

I think I had something like Pentium 200 or maybe even an AMD K2 or K3 233 or 266 at that time and this thing struggled with Chrome. I want to say the minimum requirement was a Pentium 350mhz.

I think I had 1 or 2 CD beta release before the program was axed.
Hi @it33,

Sorry I had to say that, I know how depressing it can sound. Note that we're in the context of recommending examples to someone wanting to learn about react, so there's an expectation about finding the best code around.

The general critic I would make about Mattermost's React source code is that it does not take advantage of react composable nature, and instead just drop all the code in huge render methods, which are fairly difficult to read, and probably to maintain.

Here is an example: https://github.com/mattermost/platform/blob/master/webapp/co...

The render method takes 170 lines, putting tons of "stuff" in. This file could easily have been split into 15 to 20 components to make it easier to reason about.

Same here: https://github.com/mattermost/platform/blob/bb69e98631b25419...

Almost 200 lines in the same function, containing rendering, looping, conditional execution, more rendering, that is, about everything. This should be split into more components and more functions. Most of files can be taken as such examples.

I think that's actually a problem for Mattermost, because when you run someone else code on your server, you take the responsibility for security breaches. I know how horrible this sounds, it's super cool to be able to run a slack-like app for free, self hosted. The thing is, reading the code, I'm not confident the tools used has been properly understood yet, which in turn makes me reluctant to execute it on my servers.

I wish you the best, though, you're on something with Mattermost!

EDIT: please also note this is not just Mattermost. I usually review part of code of apps I want to put on premise, and decide whether to keep them or not based of my level of confidence in it.
I don't get what the issue is with the migration plan to Docker either. You have a big system with many components. The best way to start is build a Hello world app on Docker and orchestrate it with whatever framework you think suits best your requirements, let's say Kubernetes. Then run that hello world stuff for a while to get a POC and make yourself familiar with the sytem. After that start converting 1 of the many services to a dockerized service and run it side by side in your new infrastructure. Maybe even load balance some of the traffic progressively over to the new stuff until you are confident enough to run 100% load on that migrated servcie. By then you should be pretty experienced with the most part and have a great recipe to migrate the rest slowly over. I don't see a reason why you would want to start with a homegrown solution at any point in this process.
With their "synchronize-local-clocks" approach, it doesn't.

They are using Lamport's algorithm to synchronize the clocks. However, Lamport's approach creates a _partial_ ordering, and to make that a _total_ ordering you need some mechanism to break "ties". For instance, the PID, or whatever.

The catch is that the relationship derived from this arbitrary tie-breaking mechanism has nothing to do with causality, and therefore the total order it imposes is only an artifact of the mechanism chosen.

Finding a tie-breaking mechanism that corresponds to the sending events is, in Lamport's own words, "not trivial".
Meet the new Google Home app
What Apple’s quiet failure can teach you about your business
Reminds me of "Do things that don't scale" (https://news.ycombinator.com/item?id=6041765) by Paul Graham.
I think a reverse DoS attack would be one that actually increases the capacity of the service. I'm not sure what scenario would allow that to happen though.
The about, privacy, and terms links are all dead. Is this an open protocol/api or a closed environment?

It looks like a commercially backed app. What is the business model here? Paid access or advertising?
How to convert video to LG G5
Pretty sure I read a while ago that Zynga's corporate HQ which they bought was now worth more than their business. Or maybe it was some other company with no long-term competitive advantage.
Microsoft will end support to Sandbox Solution on 31st August 2016
Why does the headline says "to fix 1M broken links" but the article says it's already been done?
This is eerily similar to my experience with Surface Pro 3. I absolutely love the hardware, with the conditional statement that it doesn't work as advertised most of the time. Forced updates broke functionality...and the actual hardware failed: I got a touch dead-zone, but Microsoft gave me a complete replacement after a year (the customer service was exemplary)

My Surface Pro 3 has never felt reliable. I can't count on it working the same way one week to the next, which is unfortunate. I told a colleague this morning that I was surprised that the last two machines I really wanted were both Microsoft hardware (Surface Book and Surface Studio).

But I also won't invest in new Surface hardware until I see lots of user feedback.
Building your .NET Core app using Yeoman
I do run http://notationtraining.com not the biggest source of money (~ 200 USD/month), but it keep earning money for six years in row, so I am happy about it.

Other then that: rental property, p2p loans portfolio (~ 6% pa) and small stock portfolio (around 5% pa).
Contrapuntal Anecdata: I've been regularly wearing ER headphones for ~10 years and all I get is mildly sweaty ear canals after an hour. Probably depends a lot on which style of end you use and your own ear flora.
Thanks for the response. Congrats on finding something that works for you!
New York's MoMA is exhibiting the first ever set of emoji from 1999
> "Deep Work"—large (but not all day) amounts of no-distraction, in-the-zone work.

I honestly don't understand how that is different from "regular work". How else do you work if not undistracted?
Similar here - open door mezzanine office with a 12 phone, 2 radio recruiting agency down and opposite. Three month review came up with "You're not synergising with the team sitting there with headphones on all the time". Walked out the next day.
Adblock made an April Fool's video about this!
I reckon you could 'sub-let' your office and get your coffee paid for.

Seriously: swap with someone who desperately needs some quiet - perhaps make the availability of your office known to a small network of people.
If the user has JavaScript turned off, the whole point of a JavaScript app is lost. You could just render all the HTML on the server like a PHP app, witch would also make Reac pointless.
What Am Container
The "privacy" (http://www.zonemessenger.com/privacy) and "terms" (http://www.zonemessenger.com/terms) should give you two static pdf's. On my side it's only the "about" link that is dead (will be my personal website). If "privacy"/"terms" really don't work on your side let me know!

As of now there is no commercial backing what so ever. It's mealy a side-project that finally got finished. And for now there is also monetizing scheme implemented.
Why Do People Fall in Love with Ruby?
Yes, it's by design. It's to stave off the inevitable flood of legal threats and takedown demands.

If someone requests content be taken off, they instruct them to update their robots.txt. The content is not removed but will not be shown through archive.org as long as the robots.txt exclusion is in place.

There was a court case where the plaintiff wanted to subpoena the Internet Archive for evidence (since the defendant had since blocked the content with robots.txt). They sent an expert to testify that complying with that kind of thing would be too much of a burden for them, and suggested that the court force the defendant to change their robots.txt. The court agreed.
I can't find a good argument in favor of SF artists somehow being more worthy of that income than Chinese artists. You could use the same premise to segment in any other arbitrary manner and eg claim that older struggling artists are more worthy of that income than younger newer artists, and so on. How is it anything but a strictly subjective argument that will inherently vary from person to person as to what criteria is most important?

Fortunately what he's doing isn't exploiting, he's providing a valuable service in which the artists set their pricing and choose whether to accept the work. SF artists have no right to anything over an artist from an other city or country.
The whole "vertical change vs horizontal change" section of the article is literally all about this exact subject.
kdbus was never merged to mainline.
This would work much better for everyone if it was gamified and kept away from real money.
While others may suggest clojure or elixir or some equally esoteric development stack, there is one important advantage of nodejs: almost everybody uses it.

Maybe other languages will allow you to program more efficiently, but they have a learning curve and a fraction of the developer adoption that nodejs has.

When you pass your project onto someone else, there's a high chance they are already familiar with nodejs. Whereas if you pass a project to someone else in a less-known language, they are likely not familiar with it and will need to overcome a steep learning curve.

If you want maintainable projects, where a freelancer is always available who knows how to continue development of your project, then go with nodejs. If you want to learn a new language or framework, do it for pet projects with no collaborators.
Wow, first I've heard of that one - someones a smart cookie to come up with that, props.
The parent definitely did read the manpage if you read the post. The problem with git is that it has a different vocabulary for the same action (e.g.: remove) for different entities. (git push origin :branchName anyone?)

By not breaking the compatibility the git interface accumulates cruft over time. I think they would gain by versioning the cli interface somehow and just removing old commands that were since replaced by better alternatives.
FUCK THOSE RETARDED SCALES ON THE CHARTS!
Linux Market Share on Desktop
Do we really want to put all of that into the kernel and not implementing it in userland? I get the feeling that it's too much application dependent, not enough general principles.

Maybe I just don't understand the problem they are out to solve.
Do what you feel happy doing!

In terms of thinking on a path for your career, think only of whether you are putting all your eggs in one basket. If a job role later becomes difficult to get / stay employed in, and you can't adapt, then that's the most likely problem you'll face.

I have always tried to be interested in a lot of things, so that I can turn my hand to new things once I need a new challenge. It has worked well for me so far ;-)
That's exactly it, yes, if your phone is vulnerable.
Greatest dance
Maybe that's why it's Bad :?
Ruthless and inhuman
Launching our iconic React Native starter kit, Native Starter Pro, with back end
Which IPC apis do you consider really nice? And which not?
What does that have to do with this article?
Resource Routing Can Use Existing Networks to Redistribute People/Goods Better
Why technology is bad
"The Equality Act 2010 makes it unlawful to discriminate against employees, job seekers and trainees because of age" [1]. (I can't tell how you're dealing with this because I get 'Server not found').

[1] http://www.acas.org.uk/index.aspx?articleid=1841
Elst has a nice post on the duplicity of India's supposed "culture warriors",

http://koenraadelst.blogspot.in/2015/11/propagating-english-...

" And stay in the undemocratic schizophrenic neo-colonial second-class condition for another century, until that bothersome native culture has finally been layed to rest for good."
Khan Academy India talent search
The simplest video mapping software, with ready made effect
6 Best Linux Desktop Environments [Part – 2]
Isn't the guest rating filled by the owner rather than the neighbors? That would be an obvious explanation.
Perhaps access to archived pages should only be blocked when the ia_archiver user agent specifically is denied in the robots.txt. That way they aren't inadvertently blocked by a generic robots.txt that denies everything (which sometimes occurs with parked domains), but there's still a way to deny the Wayback Machine if you really need to.
In theory, as long as you don't install apps from third party sources you would be safe. Google does security tests on apps uploaded to the Play Store (don't know how effective they are though).
I used to think Noam was a pretty cool guy, but now I'm super disappointed when I listen to him.

It's all doom and gloom. He rarely talks about practical solutions.

It's easy to get people upset about what other people are doing wrong but it's so much harder to be constructive with respect to the current situation.

Invariably the solutions that actually make things better are not polarized against one enemy. These solutions aren't sexy because maybe they only solve things half way or they respect other perspectives.

Still, thinking in terms of imperfect solutions is the only way forward.
This isn't aimed at you, but I think it's interesting that a couple of days ago (yesterday?) we had a thread where people said they would like a company to be honest and upfront about the need to make a profit, and clear about its goal of continue to increase profits.

Here, we're exposed to a company that does that and there's contempt about how the organisation expresses itself.
2 complimentary skills give you the most bang for your buck. Front end + photoshop, or backend + systems design. (You could also find a complimentary skill that isn't technical.)
Use Android Priority Job Queue library for your background tasks
"One commenter I read once noted the concept of "cell phone time out" — a basket with a blanket for ringing phones with no owner to be found."

Microwave oven? (Faraday cage approach)
> You only build software if you're making something new that hasn't been made before.

Or has been proprietary. This is why we should choose copyleft licenses over permissive ones.

This project I am working on is a bit boring, outsourced (or exploited) here in my country. It's about ETL, transferring data from prod db to analytics db.. I am of the opinion that all this is a solved problem and I am probably repeating mistakes. However, due to the nature of Capitalism, exploitation ....
Most everyone who stays in a city away from home buys food and drink.

Some of those people will buy more expensive food and drink if their lodging is cheaper, but almost everyone buys something locally.
but if the author of the PoC repository were to put malicious code into the file, how would we know before reading the source?

You might not know but there are probably quite a few who do analyse these things and would "blow the whistle" if they found something amiss.

Thus, if you're really unsure you can wait a short while before using it, to see others' experiences first. In general, the same principle goes for warez and any other unofficial, reputation-driven community where there is no central authority.

If you wanted to be absolutely "safe" you would not be wanting to root anyway... it's risky and I'd say that's even part of the fun for those who do.
Ask HN: Next feature for prototyping tool
Hey Everyone!

I decided to write here and ask for your input because we’re conflicted on our next feature and what that means for the future of our product. We’re a small team working on www.ux-app.com, a browser based mock up and prototyping tool that uses regular html elements for mock ups and a visual representation of JavaScript to create events. We’re very proud of what we’ve accomplished in terms of flexibility and we think what’s holding us back are more options in terms of imports & exports from the app.

We’ve been working all week on adjusting the html export to create production ready templates - no extra elements or classes, simple expressive Javascript to build on top of and we’re very close! I want UX-App to let you plan your mock ups in low fidelity, and gradually upgrade them (it’s just html) until they are real sites with better functionality than standard site builders.

I feel like this direction would really help people! But I’m not 100% sure ... so what do you guys think?
In Estonia I get 500mbps up and down with unlimited bandwidth for 35 euros, monthly. I think it has a lot to do with the ability to roll out newer, faster stuff much easier than with a big country - and we do have quite a few ISPs, each of them fighting to provide even faster speeds. Wonder why in U.S they don't really try to do anything to be better, and if they do increase speeds, the bandwidth is still stupid low.
Try to read your comment changing the word artist by developer. Is your opinion still so strong? And don't forget that IT is one of the most abundant markets not a perpetually struggling one.
I don't know, I've never heard anything about that. Guess I'll have to ask a Googler, since when I tried googling it I just found a lot of brogrammers in open-plan cult settings. :-/

I saw something a lot like this in a coworking space in Santa Monica once but of course the goal was very different.
ARMv8-A architecture – 2016 additions
Are 50% of developers hacking in coffee shops?

More likely the people who choose to hack in coffee shops are people who are good at shutting out distractions. Or maybe the alternative is worse, e.g. working at home with wife and kids who can't seem to fully comprehend what it means to be working.

Maybe they are working on some "light" tasks that don't require deep concentration?
If they license the technology to premium brands, say Prada, Calvin Klein etc. everyone will buy them. Especially their target group which is primarily youngsters.
Yeah and I don't see how that is any good. Making small changes across your entire infrastructure means that everything will move extremely slowly. I cannot imagine that the entire infrastructure even deserves to be moved. What's wrong by just leaving some really old, solid working, but less critical stuff just on the old infrastructure until it gets phased out one day? It feels like a waste of time and resources to force a horizontal move across everything. Also technologies like containers and Docker are extremely fast moving at the moment. It might very well be that some parts cannot be moved immediately today, but in 6-12 months time they can and if you follow their migration plan then meanwhile a whole lot of other stuff which could really benefit from the new infrastructure will have to miss out. Also if you discover an issue very late then you ended up with moving a lot of things back and fourth, even if it is just a small step.
Sweden is also the country that people always pick, when they want to illustrate that Europe has better broadband, but as you say, it's one of the best examples.

Take Denmark next to Sweden, while still better than the US, for the most part, the broadband roll out is much different. A single phone company (TDC/YouSee) owns the phone network, but they are force to lease their lines to competitors. TDC more or less dictate the price for renting, it just has to be "reasonable". The result is that a 20Mb DSL line cost the same from all providers. Cable companies have been force to open their networks this year, until then they had monopolies in individual areas. Fiber is being rolled out, but slowly and at great cost to the electric companies (that more or less own the fiber networks). This may sound great overall, but rural areas aren't getting nearly the level of connectivity that they would have gotten in Sweden. There are still plenty of place that are lucky to get 5Mbit, and Denmark is a very small country. I can't imagine the cost of rolling out just 10Mbit to 90% of the US customers.
I got the same feeling.
The problem is many of us don't want / don't have time to learn all the intricacies of gits model. Its a tool to help us with our jobs, not the focus of our jobs. Its also very powerful and as as a result most of us only need a fraction of its features.
More than likely you're just biased because you know ahead of time it was done by a computer. We could probably take one of the images, present it in the right context, like in an art gallery where we pretend that it was created by some fictional up-and-coming artist, and people would love it instead.
I see. Thanks for replying!
Just started learning salt stack for infrastructure provisioning. But it makes so much sense just to build all requirements in the container itself. Did anybody already moved from tools like salt/puppet to container only approach?
Excellent answer.

One wonders how you identify the 'subject matter experts', and the extent to which you rely on their answers to questions versus direct observation of what they do.

My experience (anecdotal, informal) is that there can be quite a difference between a verbal description and what actually happens, and the difference has to do with situational knowledge (as in "oh yes, I forgot about Fred. With Fred we do ZZ instead")
Another NY state corp, IBM, have done this for years. I'm surprised GS didn't call them 'resource actions'.
Latest Whiteboard Animation Software