skysight-inc/HackerNews huggingface dataset:
Tower 2: Best Git client for Mac just got better
Roger Dingledine on cancelled Black Hat talk
Products are more important than people. Good to know.
Er, I don't seem to be able to edit, but I guess I should specify that I'm really talking about scale-out of writes here. Read scalability is an obviously easier problem..
> We should think of a pointer as consisting of logically three elements (p,b,e): the legal region is defined by the base b and bounds (or extent) e, and the pointer itself is p.

Everything old is new again. Look up how segmentation works on x86 in 32-bit mode (initially introduced as "protected mode" on 80286).
> "The reboot key" just sounds like a mistake waiting to happen.

It already did happen: I've used keyboards with shutdown and reboot keys, and yes, it's a terrible idea.

My alma mater used to run programming competitions in a lab where the workstations had the reset button exactly at knee height. This wasn't a problem normally, when you're sitting under the desk next to the computer; but when you have three or four people gathered around the screen, kicking the reset button was a definite possibility. Eventually taping the cover of a calculator over this button became part of our regular routine.
Anyone remember the social web browser, Flock? I wonder if there is a minimum time before these names can be re-used.
But is there any reason to program in Go if you don't like idiomatic Go code (which seems to favour for-loops over higher-level abstractions)?

I can understand programmers wanting FP concepts and techniques in languages like C++; there is a lot of legacy C++ code, libraries and overall a large ecosystem. Some C++ programmers might either

1) have started programming in C++ many years ago (let's say 8+ years ago), and they might have thought that procedural and OO concepts where all that they wanted in C++. Now they might see some benefit in FP concepts, and want to see them used in C++, too. They don't want to switch languages because they already like C++ overall, and they have invested a lot of time into it.

2) They are "stuck" with C++ because of libraries, legacy code etc.

But the Go language is, what, 5 years old? It probably also has less legacy code, and I guess also relatively lacking ecosystem of libraries compared to other more established (or just older) languages. Why shoehorn FP concepts into Go instead of just moving on to a language where these concepts aren't seemingly going against the grain of the design of the language? Do most people really have a lot to lose from "ditching" Go?
I assume I know that since that account has a rich history of timely reports, quite a few with unique media content. The account is being continued to be filled with the same inside information which indicates it is unlikely to be hacked.
SSL. Use or don't. Don't screw it up.
Yep, that used to be one of the main reasons to have DI in Java. But now that everything (even static methods) can be mocked, that reason is no longer valid.
Is this not possible in .NET?
So that's exactly why you don't depend on hardware clocks -- you use software techniques when your algorithm depends on some notion of time.

The point of Lamport's paper is that time in distributed systems is a partial ordering, not a total ordering. If you are taking values from hardware clocks, you are using a total ordering.
You just described alcohol.
The link to “Cache Efficient Functional Algorithms” on the linked to page is wrong, it should be http://www.cs.cmu.edu/~rwh/papers/iolambda-cacm/cacm.pdf
Are there any helpers/libraries you use when building CRUD forms? I haven't seen one for React yet - or TBH a well functioning one in any language I use - and it's a pain point I would like to solve.
> That Korean announcement and the slow response by the US President — both caused by delayed real information — caused decades of conspiracy theories.

I appreciate that the OP was a part of the situation, but conspiracy theories were not caused by this.

It was time of very high tension between the US and Soviet Union. So when a plane veers off the course into not just Soviet airspace, but into an explicitly cordoned off top secret area, ignores all communication attempts, ignores the presence of fighter jets and just keeps on flying, then the situation itself is a fertile soil for conspiracy theories.
I read somewhere that it's a known bug that is being addressed. I'd like a fix too. My company wifi requires a cert installed and now the warning pops up on a regular basis.
If the clock is drifting substantially then your high-precision application will already be in serious trouble.
It would definitely be several orders of magnitude slower. That's the price you pay when you are using a language like ruby: it's very productive and fast to iterate in, but way less performant. At the end of the day, what you use depends on your needs.
Update on IE support -- for the moment it seems to support IE 11 only.
I'm not sure what your conclusion would be, but don't assume that your client is correct about their real cost of transacting.

In Australia, banks will usually offer an online merchant account and a payment gateway (you can also use a third party like eway). When I worked in Australia I usually found that using a third party payment gateway worked best in terms of price. The UI can also matter. Some clients spend a lot of time in there manually processing, reviewing, refunding transactions, running reports, etc.. I had good reports from clients using Eway. Bad reports from clients using NAB. (This is 5+ years ago, so YMMV).

If the difference in price isn't really relevant in absolute terms to the overall cost of the project, I would always strongly recommend the option with better software & customer support.

The pricing structures can be complicated. If you really want to understand them, it's better to run it as an audit. What did it cost the client in the last 12 months. What would it cost them using stripe. Take into account monthly fees, per transaction fees (depends on transaction size and on volume), any anti-fraud fees, chargeback fees. You can actually send the info to stripe (or another third party gateway) aand they'll probably do the analysis for you.

You will probably find that your client is actually paying a little more than they think they are.
A lot of "I don't like your post so I'm downvoting it", Reddit-esque behaviour in this thread.
I suspect you still can't do OTA updates of this kind of mission-critical system. If you can, I'd be very concerned about security.
I liked the concept but I found the game had a couple of annoying issues.

1. The clickable area around the number needs to be a little bigger. I am using a HTC One M7 and it often wouldn't register the clicks.

2. After this first game, a full screen ad popped up and that really annoyed me. I don't mind the banner ads at the bottom, but full screen ads are VERY, VERY annoying.
Why wouldn't UTF-8 offer the same O(1) indexing? I still think they should fix regex/charCodeAt etc to support the newer characters above 0xFFFF as demonstrated, it would see dramatic memory improvements and remove the need for hacks to detect surrogate pairs.
Chameleon: browser fingerprinting protection for everybody
Good read - the bit about Android is spot on.
Another Israeli here. I watched those intercepts taking place over my head. Add to that the numerous YouTube videos of such intercepts and let's call the lot "experimental evidence". That should trump the article's theoretical analysis imo :)
I assume you are american. Would you be also so generous if the majority off killed people would be americans?
Yeah, GPS doesn't really work indoors. You can certainly get such devices, or even do it with consumer GPS, but then you have to account for the latency of USB.
> Hamas has already developed a new tactic, building tunnels under the border into Israeli towns and have 10-20 Hamas soldiers come with handcuffs and syringes with anastasia to kidnap Israeli civilians.

I tried to dig up a source for this, and while I did find an article published just today [1], it says the tunnels have been used to (try to) kidnap Israeli soldiers, and on a rather smaller scale (a few intruders, not 10-20). Has there been any incident (successful or interrupted) of civilians kidnapped via these tunnels? It surely is a terrifying prospect, but how practical is it?

[1] http://www.smh.com.au/world/how-hamas-uses-its-tunnels-to-ki...
Likewise. A gateway to China.
GSM phones are supposed to be able to pick up "NITZ" (network information and time zone") messages, but these aren't reliably sent by most networks. In practice, smartphones get it over NTP like everyone else and dumbphones have user-set time that may, if you're lucky, be synced by counting the base station's time slot intervals.
Seems like a solution would be to just have 4 weeks contracted leave which accrues. Then have an open policy on top of that which allows an employee to exceed 4 weeks per year.
Yeah, but you can't have your clocks drifting a lot. It's fine if they are consistently wrong, but when a second isn't a second, things can start to screw up.
You mean the shredding of the cars? Those were mere pieces of recycleable metal. The good part is that the salvagers were able to prevent the leakage of 176,366 gallons of fuel into the sea.
TypeScript is bootstrapped. Precompiled version of TypeScript compiler is at bin/tc.js.
Mobile Apps for a paperless office and a greener world
I didn't really hope your articles to be helpful for me, to be honest, but people wanting to learn Vim will certainly find them lacking.
You're missing the point:

$ cd dir where there are source files and temp files
$ rm *.tmp # or so you think
'.tmp not found'
# too bad
It's probably not rated as one of their best, but I've always loved "fr025 - The Popular Demo".

Beautifully done, search it on Youtube.
What is your experience of Y Combinator? Here is Tim Dobson's blog post on that
Now a good strategy for Alice is to first play in the middle, and after that use the following rules:

- if Bob removes one stone and the result is that it adds a stone both on the left and right side of the board, then Alice replays the stone that Bob just removed,

- otherwise whatever Bob plays, Alice plays the same thing on the other side of the board (symmetrically regarding the middle of the board)

This ensures that:

5) the situation is always symmetrical after Alice played

6) when Bob plays once and then Alice plays once, if the nb of stone on the board increased since before Bob just played, then it increased by an even amount
Why on earth not? Accrue leave as normal, just allow the balance to go negative (or bottom out at zero). If it's positive when the employee leaves, pay them out.
Someone needs to fix payment culture in Australia and also in Europe. Going to the bar with a large group of people and either paying with:

A) A pocket full of coins

B) A card but only being allowed to pay with one or two for your whole group, is just straight up silly.

Situation B happened to me a million times while I was down there for a year and it's just an annoyance, and carrying a kilo in coins is no fun either. I actually submitted a suggestion to ANZ for them to make some sort of group payment option for restaurants but heard nothing back and couldn't pursue. Hopefully someone can make something easy with Stripe.
A house with mold is easier to burn down and rebuild rather than completely gut it out. That doesn't mean that's the correct decision.
This seems to be true - he's already playing it a lot and has referenced it several times when we've talked about how to build stuff (outside of Minecraft).
Hi Everyone

I am Bohan Huang, Currency Development Officer at the Uro Foundation. We are the developers of Urocoin.

Uro is a unique currency pegged to the value of 1 metric tonne of urea fertilizer with industry support from numerous Urea sellers worldwide.

For more information about Uro, visit http://uro.io
We can be reached via email at foundation@uro.io and also on FreeNode IRC at the #URO channel.
do the -rf after the directory to avoid this in future

Premature enter just results in:

[web@server /]$ rm ~

rm: cannot remove `/home/web': Is a directory
>>The comparison with git is very shallow, seemingly based on misunderstandings of how git works.

It does sound like they misunderstand (or misrepresent) the way git works. git is very flexible and its capabilities and limitations follow from its distributed nature. If Fossil tries to be git with a smoother interface and more streamlined workflow, it's not surprising that its repos can go bad and lose your data.
Children Exposed To Religion Have Difficulty Distinguishing Fact From Fiction
We had radio time receivers (Rugby MSF, now Anthorn MSF) for a long time in the UK. Just plug them into an RS232 hole and have a site-wide master NTP server on that box, fire up the daemon and you're done.

I think the last one we paid for was in the region of $250 as the hardware is very simple.

http://www.npl.co.uk/science-technology/time-frequency/produ...

GPS is an interesting prospect but they are pretty HF which is a PITA if you have a unit inside a rack inside a machine room inside a building. MSF is 60KHz so is ground wave propagation so it had great coverage.
tessa thanks so much for creating this. i grew up loving ds9 and have a crush on Morn. thanks again tessa
Java hits a sweet spot of simplicity, platform stability, safety and performance.
Also, its popularity in the enterprise is partly because interchangeable, cog-in-the-machine low quality developers can be productive in it and not cause too many meltdowns. Thats an economic advantage! If you need lots of cheap developers for your IT department, good luck finding 15 Clojure and Haskell gurus.

I say that as a Java developer, btw.
SnapStream is an "enteprise DVR" for monitoring & searching TV channels
Why You Should Never Accept A Counter Offer When You Resign
Airbnb Host: A Guest Is Squatting In My Condo And I Can't Get Him To Leave
Would you be able to expand on how you generate an inhouse CA? From Googling I don't think you're becoming an intermediate CA as that seems extremely costly! I am in the situation where I have a pinned cert in my app and I will have to address it's expiration in the future!
I still think - Dart is a better response to JS issues:

a) good SDK and package system (pub.dartlang.org)

b) clean break from JS (what if future JS will be incompatible with current TS ?)

c) perf - realted to b) you can't eg. add property on the fly accidently and will not get perf penalty for this

d) proper IDE for ALL mainstream OSes (vs. best IDE on Windows and substandard on OSX/Linux => various plugins)
"In the keychain" doesn't necessarily mean in the login keychain. You can create as many user keychains as you want, with different passwords. Also, add the keychain app to your menubar (via preferences) to get a quick way to manually lock one or all keychains (and alternatively, the whole computer).
that depends on what games you play.. soccer will be hard :P
Isn't it just a little sad that the biggest selling point of a language is that mediocre developers won't cause too many problems with it?
There is a lot of Cargo Cult programming going on among Java developers.

Why using a simple constructor when you can use the factory design pattern?
Or why directly instantiating a logger using the "new" statement and the right arguments, when you can also configure it using xml files? Making use of design patterns and frameworks is professional, after all, isn't?
Knock, knock. Who's there? Long pause ... Java!
Turing biopic to open London Film Festival
I'm referring only to the specific case of regulations which cover engineering practice (as opposed to more industry-specific regulations, for instance, which I don't know enough to comment on).

In these cases, absolutely yes! The shouldness should be codified into law.

The best mechanism (regulation vs. after-the-fact culpability; specific legislation vs. using existing frameworks, etc.) is debatable.

But companies who cause public harm by not following best practices (either intentionally or due to poor trained engineers) should be held legally responsible for preventable disasters. Just like it's done in many more mature (as in older) engineering fields.
Kudos to the project! I believe the best way to make people aware of privacy issues are sites like this. These "wtf am I doing?" moments are really educative.
While I do agree that java developers are often low quality developers. And than java frameworks are often bloated with Dependency Injection, Factories, Proxies etc...

I disagree that Android has the same problems. To me it looks like Android was actually written in lean-and-mean java.
Ok its still Object Oriented. But for UIX interfaces, Object Orientation makes a lot of sense...

There are some areas in the android API that are indeed a bit bloated. And that is indeed inherent to java.
Reponsible behaviour would be informing just the owner of the photograph that they are potentially making themselves vulnerable.

Sharing the information with the internet at large is just being irresponsible in order to try and show off, no matter how many disclaimers are on the site.
Serious question: What do people rob these days? It seems like there is nothing that can be easily transported and sold in most houses.
Simplicity -- none, if talking about the resulting code.

Stability -- none, regarding possible law suits from Oracle. Yes, it does
matter for a company. Yes, Oracle did that in the past.

Performance -- poor, regarding memory consumption.

Indeed, the sweet spot.

> If you need lots of cheap developers [...]

Shoddy, you mean. For Haskell or Clojure you have at least a guarantee that
the guys you found are decent. It's the same hard finding decent Java
programmers as it is with Haskell, except that Java scares good devs away and
Haskell attracts them.
That's just because your opportunity cost is high. Compare it to a person who makes $100 in a month (there are countries where $100 is close to the median income) and you will understand why there are people who do actually copy or scan books instead of buying them.
As after Alice first played in the middle, there was just 1 stone, then because of 6):

7) when it's Bob turn to play, the number of stones on the board is always odd

Alice wins because of 7) and 4)!
Typo: "sing in" should probably be "sign in"
I think it means that this was the first conflict that it had in against Scuds. There was a software update made a few days before this incident that was in response to another Patriot/Scud engagement. The big issue with this time was that the missile didn't even fire.

http://embeddedgurus.com/barr-code/2014/03/lethal-software-d...

It's interesting that there were 6 software updates to the Patriot missile batteries during Desert Storm, several of them were specifically to fix the clock errors.

It would be interesting to see the data for the misses and the hits compared to how long each system had been online for and what version of the software it was using.

Today's patriots are better (PAC-3, PAC-4 in testing) but still have several issues. I remember reading somewhere where a pilot got so mad that he was constantly being locked on by friendly Patriot batteries that he shot a missile at a friendly battery. http://books.google.com/books?id=7cU8Kpzu9osC&pg=PA339&lpg=P...

These seem to be mostly RADAR issues, I can't imagine how difficult it would be to program a missile to intercept another missile, there's hundreds of variables involved. I'd be willing to bet that these days they can run them through a computer simulator and detect most of these issues.

Unrelated to the missile but relating to the original topic: http://www.wired.com/2012/11/google-spanner-time/
Proxy.app Version 1.9 Is Out
I disagree with this, as a part time Java developer (I do C# most of the time). The points I disagree with:

1. OO is bad. Every paradigm is bad if you misuse it. If you build deep abstractions then you will hang yourself regardless. Some very elegant and simple designs can emerge from OO code, but only if you think about the problems first. The majority of pain consists of forgetting to do that step. There is no magic bullet - FP has its own pitfalls as well as does simple procedural programming.

2. Everything looks like it's written by an architect. Well that's a broad generalisation and I'm sure some people titled architect would be sick at the association (considering they usually reduce complexity) but the problem here is that people aren't using the frameworks properly. Not joking but the last two or three Java web applications I've put together have virtually no code in them. It's just the domain model, the views and query encapsulations. Nothing else. The abstract factory factory factory factory crap isn't your problem. If you make it your problem, then you're just doing it wrong or not using the tools provided efficiently.

3. Android. Android is abysmal (I've written a couple of things for it so far), but that's not because of Java but the fact that the Android API and versioning mess is a pile of unstable crap. It'd be nice if there were't so many exceptions.

If you're going to pick on Java, at least jump on: Idiotic code on the web, Glassfish being a right pile, view technology being foul, servlet container reloading, Swing/JavaFX or Eclipse...
(LPT: Always jump straight to the conclusions part of the article. Then, maybe, read the parts that may interest you. The Internet is an infinite sea of data; If you stop swimming or dive too deep, you'll drown on it.)
This happend just 24 hours ago: http://www.haaretz.com/news/diplomacy-defense/1.606531

"The incident in which the four IDF soldiers were killed near Nir-Am occurred at about 6:30 Monday morning, when at least 10 Palestinians entered Israeli territory from the tunnel and split into two groups, one tried to make its way to Kibbutz Erez and the other to Kibbutz Nir-Am."

Kibbutz == a civilian community or village.

Also, in a different tunnel incident:
http://www.telegraph.co.uk/news/worldnews/middleeast/israel/...

"According to the Israeli military, the purpose of the militants was not only to kill but also to kidnap, as was evident by the equipment they carried, which included, arms, syringes, tranquillisers, plastic handcuffs and even IDF uniforms."
Actually, configuring logger with values stored in a separate file instead of hardcoded ones is a good thing. Logging configuration is configuration, after all.

You wouldn't want paths to documents be hardcoded in your office suite, would you? Or target address of VPN gateway in VPN client?
Agreed.

"PDRM is meant to demonstrate how easy it is to find out where someone lives and if they are at home or not. The aim of this site is to educate and empower people to protect themselves better while using social media."

The target audience of a website like this is us on HN, not the people who need to receive the message about privacy.
That's fair enough, I didn't mean the comment to sound negative (which is how it has been taken, looking at the number of down votes).

Nice article by the way, when attempting to extract data from a site looking at their mobile app is the best thing to do :)
The whole point of it is kind of moot though, an impulse burglar would just roam the neighbourhood to find a target and one with a specific target has better ways of finding out if the house is empty than 1 inhabitant posting to instagram... Not being at home is not what elicits criminal behaviour.
I wish that my scroll wheel would translate into horizontal movement, since you chose a carousel style presentation.
The obvious answer to complaints is to open the network up for wholesale and force the utility company that built it to sell access to it's retail arm for at least the same price as it's charging others.