HNHacker News
TopNewBestAskShowJobs

bradscarleton

40 karma · joined May 17, 2016

submissionscomments
bradscarleton··on A Voice Cuts Through, and Adds to, the Intrigue of Russia’s Cyberattacks
This is bogus. If the US really thinks that Russia did the hack, then it's not because of an originating IP or company in Russia.

The US probably has hacked Russian communications from somewhere else that actually points the finger. However, they would never give that information up.

Either that or they have hacked a huge chain of these proxy operations, but that seems like a tall order.

bradscarleton··on Announcing Azure Command-Line Interface 2.0 Preview
> JS almost forces you to write garbage.

There are ways to work around this...

First, ES6 brings a lot of enhancements to JS. However, it also makes JS even more complex and unwieldy because now you have all of these new and old language features co-existing.

If you use a tool like ESLint, you can limit yourself to a subset of the whole ES6 standard that I think is a decent programming language.

There's also other ways to go at it, by using a language that compiles to JS like TypeScript, however maybe that would be considered cheating in the context of this argument.

bradscarleton··on Announcing Azure Command-Line Interface 2.0 Preview
> People who think that Javascript and PHP are crappy languages aren't just comparing these languages to 'arbitrary coding aesthetics'.

I'm not defending the design of JS and PHP. I'm saying that if you are a good engineer, then you can produce code that is quality in these languages.

Also, I'm pretty sure Facebook gets "updated" and is "fast" ;)

bradscarleton··on Announcing Azure Command-Line Interface 2.0 Preview
> Complex in the sense that they were originally thrown together and the results of the program might best be described as "stochastic output", yeah I can agree with that.

Absolutely, they are complex because of poor initial designs, and actually even more complex now due to all the efforts to maintain backwards compatibility...

> Sure, but it sure seems funny that "high quality code" is nearly non-existent in PHP and javascript world ...

jQuery is an incredibly well engineered library by John Resig. I think that jQuery was one of the big technological leaps forward that led to the proliferation of web applications.

For a long time, people thought that cross browser JS inconsistencies and confusing API standards meant that you couldn't build interactive UI applications in the browser. And now they are ubiquitous.

So I guess it depends on your definition of "high quality code". I don't think quality code is about some arbitrary coding aesthetic. It's about results, and it's about what your code does, and how it creates value.

bradscarleton··on Announcing Azure Command-Line Interface 2.0 Preview
As someone who does a ton of Node/JS coding as well as some Python, I am personally offended! Ok, not really, but I think you're wrong :)

I think VB is more similar to Python in the sense that both languages were designed with some sense of simplicity and straight-forwardness in mind.

Both PHP and Javascript are much more complex from a language design standpoint, which makes them more difficult to learn "well" for beginners. Yes, they are both hugely prolific because of the web, and lots of people copy/paste code around not having any clue how it works, so I won't deny your "generations of garbage" comment. But you're assessment is a little too simplistic.

A good engineer can write high quality code in "almost" any programming language. It's the coder, not the language, that determines engineering quality.

bradscarleton··on Stick a Fork in Ethereum
There are basically two types of cryptocurrency enthusiasts as far as I can tell. The first one believes that decentralized cryptocurrency and smart contracts will lead to a better world, free from the authoritarian rule of central banking and legal systems. And the second type, which is far more numerous, is hoping to to make a quick buck off of price fluctuations in the underlying digital assets.

The NYT has a great article on this, where they suggest the bulk of Bitcoin users are Chinese citizens gambling on price fluctuations. And their stats seem to support this assertion:

http://www.nytimes.com/2016/07/03/business/dealbook/bitcoin-...

bradscarleton··on Serverless Architectures
I think you're right that one of the big downsides currently for AWS lambda would be dev tooling, however one of the big upsides is that the code you throw up there should run "forever". This is potentially really useful if you are simply working on frontend code, and hitting these Lambda endpoints as a client.

I've set them up a few times for contact forms and other light pieces of functionality for static websites, and it fits that niche really well. Obviously, I think the serverless movement has some grander notions of the size and scale of applications that could be constructed, so we'll see.

bradscarleton··on Chasing the DAO Attacker’s Wake – A second exploit
There is no contract simulator AFAIK, but you can deploy contracts to a test network or your own private test network. The benefit there being it's cheaper from a Gas perspective, and you don't pollute the main network.
bradscarleton··on Generative Models
It looks like they are using both TensorFlow and Theano. Is there a reason to use both?
bradscarleton··on It’s cheaper to build multiple native applications than one responsive web app
Responsive web apps are difficult to build, however settling for native Android and iOS is not sufficient for comparison since he's leaving out the desktop (so he should probably include Windows and OSX for some level of parity for what a responsive web app can do).

The real underlying problem is the state of the mobile web browser, which neither Apple nor Google have much incentive to improve due to their revenue generating app stores. That's not to say that there wouldn't still be some major differences between native apps and mobile web (especially in the discovery / delivery department), but if you had better feature parity between these platforms I think rants like this guys would be fewer and farther between.

tl;dr: He picked the wrong technology platform for his product, therefore since it didn't work for his use case, it must be fundamentally broken.

bradscarleton··on Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
Awesome, I just flipped that switch at the top and can see how it calculates the individual handwritten inputs. Great demo!

So I guess during training you're telling it that correct answers should be 1 and the incorrect answers should be 0.

Do the encoding choices that you make regarding the input / output of a neural network influence its performance at all? Maybe for MNIST the way you have it is the most common approach?

bradscarleton··on Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
Can anyone explain how the "floats" that are the output of the last layer correspond to the individual digits?