HNHacker News
TopNewBestAskShowJobs

healsjnr1

506 karma · joined April 7, 2013

submissionscomments
healsjnr1··on Please do not attempt to simplify this code
Given where they are, it seems that now the major abstraction they are missing is type safety. Strict types that allowed a monadic structure would simplify this whole mess into a series of maps and folds.

Not only does this add the stricture of a compiler enforcing correct return types for all conditionals, it is also idiomatic of any language that supports this.

Having said all that, changing languages is rarely an option. Maybe this is the best solution given the tool available. If so, it demonstrates that maybe this tool isn't right for this job.

healsjnr1··on Australian parliament passes encryption laws unamended
This is another thing that adds to my deep sense of shame to live in this country (sadly, that list is long and growing).

This bill does nothing to prevent the kinds of things it is intended to prevent. The apps this law targets were engineered specifically to prevent this kind of interference. The idea that passing legislation will suddenly change that, magically allowing decryption of messages is beyond idiotic.

The legal and technical barriers to getting anything useful from this legislation are huge. Not to mention the ease with which this can be bypassed (run OpenVPN and IRC on an overseas server, done).

The justification for rushing this was so that Australia could be kept 'safe' over Christmas. It's beyond difficult to describe how ridiculous that is.

Edit: Sorry, I also have to add that in the same sitting of Parliament the government also filibustered legislation that would have enabled medical evacuation of refugee children from child detention on Nauru. It's been a bad day for Human rights in Australia.

healsjnr1··on The Blockchain Bubble Will Pop, What Next?
I am constantly surprised by this point of view. Blockchain is a solution to a number of problems that were previously unsolvable, yet so much of the discourse is around the idea that decentralised trust doesn't really solve any useful problems. True many of the applications are hype, but we need to recognise these for what they are and move on to more interesting things.

To me the best example is the travel industry. Decades ago a small number of companies managed to get manual back office systems moved to centralised booking and reservation systems. This had a huge impact on the ability to sell inventory and open up the world of online travel agencies.

These centralised platforms are still around and they are now a huge problem. The software is bloated, complicated and slow, integrating with any GDS is painful and only ever allowed on their terms. It is amazing to me the amount of time and effort and startups that have gone into just trying to find the cheapest flight available.

This is fertile ground for decentralised trust. Having a local copy of the live flight inventory or a large aggregate set of hotel inventory would revolutionise the travel industry. Sure there are also applications around settlement and financing, but to me the most exciting thing is the ability to build customer applications on large sets of provably correct, trusted data. And to do this freely in the manner you chose with the technology you chose.

healsjnr1··on TLS 1.3 and Proxies
This feels like it comes down to values more than security. Bottom line is you are intercepting my traffic as an employee.

I've worked in these places and I won't work for them. It places trust in my employer and other employees (most of which I will never meet) that I'm not willing to give. Sure you can tell me that certain sites aren't intercepted, and I can tell that from the origin of a certificate, but many employees can't and don't understand any of this.

If your data is really so secure setup an airgap. There are other ways to securing a corporate network that don't involve a 'just in case' dragnet.

healsjnr1··on Show HN: A blockchain alternative to Airbnb
I think there is potential for using smart contracts for traditional agent based hotel bookings. Settlement of these booking between the agent (ie., booking.com) and the hotelier is a messy and complicated process. It varies from invoicing or manual transfer, to generating virtual credit cards and emailing them to the front desk.

Using a contract to do this actually makes a lot of sense and could limit breakage (where the supplier doesn't or can't charge the agent for the booking).

My main concern about this (which isn't addressed anywhere in the white paper) is privacy. If this is done poorly, you are effectively linking accounts on a public ledger with real world locations and dates. Not only that, the guest and the host know a lot about the financial state of each.

healsjnr1··on Why you can’t cash out part 1: Bitcoin’s “price” is largely fictional
One thing in particular I dislike about this is that the author lumps all crypto currency into the same bucket.

As the prime example of this, ethereum and Bitcoin could not be more different. Work done by groups such as 0x mean that these regulations can be enforced by public contacts. Sure, there is more work to be done, but the potential is to create decentralised exchanges that are safer and easier to regulate than existing Fiat exchanges.

Bitcoin's recent price has been crazy even for crypto, but it is short sighted to lump all crypto currencies into the same bucket. This is a fast evolving field, lessons are being learned and better and better implementations are being built.

healsjnr1··on Mastercard Internet Gateway Service: Hashing Design Flaw
This article has been so useful to me over the past 5 years. I've worked at a number of places that have tried building their own signing schemes and this, plus the definition of the later AWS Signatures that resulted, have helped build stronger solutions. Better yet, it's helped the company understand the risk with building anything crypto related yourself.
healsjnr1··on Toxic Workers [pdf]
I think it's also because people on this community have worked at corporations where toxic workers aren't the problem--it's toxic managers.

If they are going to do a study on the impact of toxic workers on the workplace, surely they should do one on managers.

healsjnr1··on G is for Google
On the other hand, Semco is an example where this kind of thing worked really well. Their model of empowering employees, allowing innovation and splitting the company into a large number of micro-businesses had dramatic impact and turned the company around.

Maybe the differences is that they did this to encourage diversification and innovation, not to manage it.

https://hbr.org/1989/09/managing-without-managers

healsjnr1··on A clock that can detect tiny shifts in the flow of time itself
This is the worst kind of comment and what is wrong with Hacker News.

No one cares about your intellectual superiority, or the fact this might be a special interest for you. This article wasn't written for you, you already know and understand its content. There is literally nothing you could have got from it.

I on the other hand enjoyed the article. This isn't a field I'm familiar, so in general my knowledge was increased. That some concepts are misrepresented and dumbed down is obvious, but this is far out weighed by the general knowledge that was imparted.

Writing is all about picking an audience and conveying it effectively to the audience. It's fine to point out inaccuracy or build on the finer points, but don't be aggressive about it and don't insult the article because it offended your superior intellect.

healsjnr1··on Major U.K. Real-Time Train Database Opens Up To More Developers
About 5 years ago I worked for the guys [1] that provide the journey planning api behind NRE, the train line and most other UK rail journey planners.

We built a public api that as far as I know is still running. It was pretty usable and the pricing was reasonable.

There was always a sticking point about NRE letting us expose the real time data though - hopefully this has now been resolved.

[1] http://www.silverrailtech.com/journeyplanner

healsjnr1··on Introducing ASP.NET vNext
Wow. These .Net guys really missed the point didn't they? I agree with your points completely. The question was 'are these changes enough to bring people over to .Net? '. Most of the responses are all along the lines of: your points are wrong .Net is awesome... If you are using windows.

This is the crux. As Linux developer I can move between languages and frameworks without fundamentally changing my knowledge of the os and my development workflow. I can use ruby, node or python along with docker, vagrant and git. And I can switch between them with relative ease.

I can work on windows, osx or Linux and test production code very easily using virtual box. I can automate the creation of the entire os from rpms so that every time I run a deployment test I know it's a close to production as I can get.

A lot of this might be possible with .Net, but it only let's you work with .net languages.

That is the real problem. There is a fundamentalism divide at the os level and the cost of switching in EITHER direction is to high.

healsjnr1··on Sherpas, Death, and Anger on Everest
This has brewing for so long. One example is the incident with Ueli Steck last year [0]. Regardless of what you think of what happened, it really highlights how much tension there is between the Sherpas and the 'western' guides.

[0] http://www.climbing.com/news/ugly-incident-on-everest/

healsjnr1··on NSA infiltrated RSA security more deeply than thought: Study
I think that's a very long bow to draw... Especially seeing as the trouble shooting guide for bsafe libraries has a section dedicated to speeding up the toolkit which advises switching to HMAC.

I'm not sure about you, but when I see a chronic change in performance I look into it, and if there is a vendor recommended suggestion, I usually try it.

This is particularly true for the Java tools as it is trivial in the extreme to compare the bsafe performance with the standard oracle crypto performance.

Basically, as tptacek points out, there is a lot of information we aren't privy to and there is no point assuming every bsafe customer is using ec .

healsjnr1··on NSA infiltrated RSA security more deeply than thought: Study
This is almost certainly not true given the fact that ECDRBG is chronically slow (think orders of magnitude). Any developers working on implementations which generate a reasonable amount of random data switch to HMAC very quickly.
healsjnr1··on Empty London
For me that whole scene was topped off by the music which was by God Speed You Black Emperor! if you haven't listened to these guys check them out.
healsjnr1··on LinkedIn Intro: Doing the Impossible on iOS
Right, so I should be ok about a company that recently lost 7 million passwords that were 'encrypted' using only SHA1, suddenly getting access to a whole raft more passwords?

Access to this many passwords is a threat even if my password is not one of them.

Finally, it may be opt in, but are they going to explain to the user that they get to keep a password for an account to which they have no legitimate right?

healsjnr1··on The Internet is freest in US hands
This is such an enormous call to make. America may have a good system for protecting free speech, however in terms of many other points their political system is so broken as to be almost unusable.

Did everyone just forget that a relatively small special interest just shut down the country for 16 days? does no one else see the ridiculousness of a system where elections take 2+ years and cost billions of dollars meaning there is no effective way to dissolve and re-elect government even when this kind of thing occurs?

Yes, they have a constitution that enshrines freedom of speech. So what, it means nothing when the rest of the governance is archaic and inept.

healsjnr1··on DRBG Validation List
To be honest, nearly every developer will change it from the default as soon as they run a stress or performance test using a library that has dual ec as its default (e.g. BSAFE Crypto-J).

Dual EC is order of magnitudes slower than HMAC. It's impossible to not notice a default EC library if you run any kind of throughput test. Then, unless you a specific requirement to use it, you change the default.

healsjnr1··on Government Announces Steps to Restore Confidence on Encryption Standards
Agreed. Let's face it, NIST and CMVP have been shoving EC-DRBG down everyone's throats for years. This is in spite of the whole conspiracy around EC-DRBG being achingly old.

There is no new information, no fresh concerns. Anyone remotely connected to cryptography has been suspect of EC-DRBG for years. The only thing that has changed is that the main stream media has picked this up.

"Very well, if that is the way the winds are blowing, let no one say I don't also blow." - Mayor Quimby October, 1994.

healsjnr1··on Google confirms Java and OpenSSL crypto PRNG on Android are broken
There is no magic number needed to make a device "cryptographically secure". It depends entirely on the operations being performed.

In general if you generating Keys, the DRBG or PRNG used in key generation needs to be seeded with entropy equal to the security strength of the key.

For example: If you are generating 128 bit AES keys, the DRBG needs to be seeded with at least 128 bits of entropy. If you generating 2048 bit RSA keys you'll need 112 bits of entropy.

healsjnr1··on Google confirms Java and OpenSSL crypto PRNG on Android are broken
Agreed. The whole thing is a bit blase.

Also, anyone else find it concerning that they advocate presenting /dev/urandom as SHA1-PRNG when it isn't? I don't even see why they did this? They could have wrapped the default SecureRandom and forced it to seed bytes with /dev/urandom.

Also, why are they writing to /dev/urandom??

healsjnr1··on Valve releasing Dota2 for Linux
All this discussion about dota (and LoL etc) boil down to one thing: you NEED to play as a team.

A lot of games involve team work, but it isn't crucial: that is you'll play better if you work as a team, but you don't need to and you can still enjoy the game if you ignore your team.

This is manifestly untrue for Dota. if you ignore your team you'll have a horrible time and so will the rest of your team.

As result this is actually an interesting social experiment: based on dota it looks like a lot of people don't like working as a team.

healsjnr1··on Music to Let you Concentrate
Board of Canada. Need I say more?
healsjnr1··on Secure Your REST API
I also wouldn't put too much value in a security article served on page using mixed HTTP and HTTPS. This shows a distinct lack of regard for and understanding of security.
← PreviousPage 3 of 3