HNHacker News
TopNewBestAskShowJobs

jscottmiller

365 karma · joined February 5, 2012

https://scott.works
submissionscomments
jscottmiller··on The sad state of web app deployment
My experience installing Discource was a breeze (aws instance, using external postgres and redis servers). This included setting up a custom auth endpoint in my app to allow federated login. I'm amazed that so much effort was made to simplify this process given that their business model revolves around hosting.
jscottmiller··on Designing and Building Stockfighter, Our Programming Game
After para 1, I was going to ask "what's to stop someone from tossing a solution in a pastebin and sharing it around?" Related, "what's to stop someone from sharing the questions ahead of time?"

From the second, it sounds like you guys will seek out the top performers and weed out the bozos. I like it! Are you looking at a traditional recruiter fee model or something else? Apologies if this is posted somewhere else.

jscottmiller··on Stop pushing the web forward
That's a good point. I can see a progression like: developer finds new feature X that solves problem Y, developer finds that feature X is only supported by 20% of customer browsers, developer adds polyfill in XXX kB, buggy javascript library with other performance-related side-effects.

Maybe the issue is just educating web developers about what's available, and the non-obvious side-effects using feature X.

Here's what I'd like to see: organize a site like caniuse not by feature, but by tiers of support in the entire population of installed browsers. Something like:

Supported by 99.99% of user-agents: image tags, ... Supported by 95% of user-agents: XHR, ...

(I'm making those numbers up).

jscottmiller··on Stop pushing the web forward
> Instead, we should focus on the web’s strengths: simplicity, URLs and reach.

How does new browser feature X prevent a developer from doing any of these things?

> Being forced to work around IE6’s issues required quite a bit of creativity, and although not every solution stood the test of time (most libraries and frameworks from that era, for instance), it still made the creative juices flow.

'Tools' are bad except when they are used to work around stagnant browsers, I guess?

jscottmiller··on Excel_to_code – Converts some Excel spreadsheets to C
Wow, didn't realize that about excel (though I have observed it in google sheets). I wonder how many hedge funds rely on sheets with catastrophic cancellation issues.
jscottmiller··on Excel_to_code – Converts some Excel spreadsheets to C
> The generated code uses floating point, rather than fully precise arithmetic, so results can differ slightly

Use with caution.

jscottmiller··on Ask HN: Good Python codebases to read?
Bottle: https://github.com/bottlepy/bottle

It's a nice, small, fast web framework. Great for building APIs. Also, it's one ~3k loc, readable file.[1]

[1] https://github.com/bottlepy/bottle/blob/master/bottle.py

jscottmiller··on Web App Speed
Absolutely agree with respect to ads. While the steady state performance of most banner ads is fine, loading new ads often force large javascript files to be fetched and parsed as well as needless reflows. On our game building site [1], we try to refresh ads only during natural breaks in gameplay (level changes). While this doesn't improve the loading time, it does help to shift the disruption to a time when it is less likely to be noticed.

1. https://www.1dash1.com

jscottmiller··on Myths about finalizers, part two
If you're working with .net code that uses finalizers (especially if those sections were written by people unlikely to read articles like this, though good programmers screw this up too), chances are that there are latent issues in your application that will manifest as sudden application crashes with little to no debugging information.

I found myself in such a situation. Books like Advanced .NET Debugging [1] will help you regain your sanity.

[1] http://www.amazon.com/Advanced-NET-Debugging-Mario-Hewardt/d...

jscottmiller··on Show HN: Hydrogen Brings Light Table to Atom
Nice work. Question for anyone using light table or similar environments on a day-to-day basis: does this statement-by-statement eval and output scale to larger projects? It makes a nice demo for contained scripts, in particular those working with a concrete dataset (image, samples). I have trouble imagining what it is like for larger, more abstract stretches of code.
jscottmiller··on Engineers of addiction
I found the following passage most striking:

> "I lost my husband two years ago to throat cancer," she explained. "He was the love of my life, and I started doing this just to — I was out of my mind and spent a lot of time at the cancer center." ... Singleton says she never recovered from the pain of her loss, and that’s why she keeps coming back to the slots.

The person quoted above is in need of counseling and support. Instead, she's getting a drip-feed of low-cost morphine to mask her loss, like a debtor going from pay-day loan to pay-day loan to stay solvent.

Academically, we seem to have strong evidence linking stress to reduced impulse control. I'm no expert in the matter, but surveys such as this [1] seem convincing. Despite this, the popular conversation seems to stay away from root causes and instead ends at the label 'addict.'

I wonder what percentage slot machine and clash of clans-styled mobile gaming revenue is due to this kind of coping-related addiction. downandout's comment [2] suggests it is probably quite high.

[1] http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2732004/

[2] https://news.ycombinator.com/item?id=9557208

jscottmiller··on Zenefits (YC W13) Just Raised $500M at a $4.5B Valuation
I hope that you're citing an API solution as a way to build your appeal with the HN crowd and not as a legitimate reply to a customer service problem. Until this API is available can you speak to the manual operations work that takes place on your end to identify and correct these commonplace errors?

edit: As someone who wants to give Zenefits a serious go but has some concerns.

jscottmiller··on Is Git a Block Chain?
"Blockchain" is generally used to refer to systems that either 1) use the sequence of blocks to model changes in custodianship or 2) (more generally) enforce a set of rules governing the correctness of a given block.

That is, a block in the bitcoin blockchain is valid not only if its hash matches what one would expect given the included transactions, but that those transactions adhere to the rules of bitcoin. (No double-spends, no dust transactions, etc).

While there are data structures in a git commit that must be present and/or follow a particular set of semantics, git does not enforce anything about the _contents_ of those commits.

Another key distinction: blockchains seek consensus, whereas divergent forks in git repos are by design.

EDIT: I should probably not distinguish too much between consensus and rule enforcement, as those two are obviously intertwined. :)

jscottmiller··on Forgotten Corners of World of Warcraft
A great series exploring game worlds and other virtual spaces is Andy Kelly's OTHER PLACES: http://www.otherplaces.co.uk/

His videos are both tranquil and surreal.

jscottmiller··on Project Fi by Google
Compared to what I can get from Verizon (US), the international usage is amazing:

> Pay one rate for data around the world

> In 120+ countries, data usage costs the same $10 per GB as it does in the US (data speed is limited to 256kbps/3G). Check email, get directions, and keep in touch with friends and family when on your trip. Also, call around the world for 20c per minute and send unlimited international texts.

jscottmiller··on Slack was hacked
The article indicates that bcrypt was used.

> Slack’s hashing function is bcrypt with a randomly generated salt per-password which makes it computationally infeasible that your password could be recreated from the hashed form.

jscottmiller··on Reddit has shut down its nascent cryptocurrency project
Can you expand upon some of the known unknowns on the legal and technology side?

I assume that the lead time for creating redditnotes is substantial. Therefore, getting started (even with a lot of uncertainty) is probably worthwhile unless those unknowns are foundational (e.g., does the SEC allow this at all rather than what specific regulation best applies).

jscottmiller··on Ask HN: Who is hiring? (February 2014)
itBit - New York City - http://www.itbit.com

We want to bring Bitcoin further into the mainstream by providing robust, liquid virtual currency exchange services to retail and institutional clients.

We’re well-funded, VC-backed, and looking to expand our NYC software development team. You would be one of a handful of developers building a trading platform targeting Bitcoin and other cryptocurrencies. You’ll work with our international team of experts in related financial and compliance fields to enhance our platform.

We’re looking for self-motivated engineers with a strong grasp of computer science fundamentals and a passion for communication as well as coding. Frontend, backend, and full-stack roles are available.

Our current technology stack includes components written in node.js, C#, and C++. While we don’t require experience in any particular language, we do ask that all candidates have a thorough understanding of their favorite language and are comfortable working on the command line.

Contributions to free and open source software are appreciated but not required. Please include links to Github profiles, project pages, or other public artifacts of your work.

Interested? Send us a note at jobs@itbit.com

jscottmiller··on Ask HN: What are you working on and why is it cool?
1dash1 - a browser-based game creation platform.

Games are created using a custom toolset and programming language. Everything is centrally-run (games, content editor), making it easy to add multiplayer and collaboration features.

Here's a video showing how to create a multiplayer platforming game: http://www.youtube.com/watch?v=S6rgfEh_Ctc&feature=youtu.be

jscottmiller··on Mtgox stops trading for 12 hours
There are several other online exchanges [1], Mt. Gox just has the majority share by volume in several currency markets.

There are also many other informal exchanges, including in-person transactions and ebay.

[1] http://bitcoincharts.com/markets/

jscottmiller··on How We Went from 30 Servers to 2: Go
Can you describe your workload a bit as well as any benchmarking you did to determine (and perhaps optimize) hotspots in the ruby code before you started the port?

Personally, I've been interested in moving to Go on a python-based project of mine. Thus far, I've avoided it because 1) the extra work required to self-implement a few third party libs I rely on and 2) I've been able to eek out sufficient performance using c extensions and cython.

jscottmiller··on Sony Announces the PlayStation 4 and the Death of Hardware
They also seemed to have announced the Death of Software, as purchased content will not transfer over to the new console[1].

Edit: This comment came off as more trolling than intended. My point is that it's fantastic that they're focusing on software and services. However, they're simultaneously indicating that software and services are to be disposed with along with the hardware. My hunch is that consumer expectations have moved on from this due to services such as the Apple App Store, Google Play Store, and to some extend Netflix and Rdio.

[1] http://www.engadget.com/2013/02/21/sony-psn-games-wont-trans...

jscottmiller··on Salary$hare - How do you compare against your co-workers and friends?
> and have fun at the same time!

I'd say that's probably going to be false for approximately n-1 participants. :)

jscottmiller··on Mixpanel went down, so we're open sourcing a better pure Python memcache client
> Because we use eventlet, we need a pure python memcache client so that eventlet can patch the socket operations to be non-blocking.

Not true. ultramemcache (https://github.com/esnme/ultramemcache) is an example of a c++ memcached client that is friendly to gevent's monkeypatching. It does this by importing the socket library via the python runtime (https://github.com/esnme/ultramemcache/blob/master/python/um...), rather than using a native construct.

My experience is with gevent, but I suspect that eventlet's monkeypatching is similar to gevent.

jscottmiller··on Heroku Postmortem of June 29th Incident
I don't use Heroku, but I would have assumed that they exist in more than one AWS region.
jscottmiller··on Heroku Postmortem of June 29th Incident
> Approximately 30% of our EC2 instances, which were responsible for running applications, databases and supporting infrastructure (including some components specific to the Bamboo stack), went offline

Combined with the incident report from amazon, does this mean that 30% of Heroku instances were in a single availability zone? That would be troubling.

jscottmiller··on Russian Duma adopts 'site blacklist' bill
Similar, yes, but the key distinction is that neither Australia nor France are governed by an autocratic regime with a history of using such laws to exert political control.

For example, let's say a group is organizing and advertising a demonstration on a social network, and the odds are good that the protest will result in a police crackdown. Might this be excessively risky behavior? The Kremlin's answer would likely depend on the group, and whether the ruling party has a political interest to clamp down.

jscottmiller··on IOS app success is a lottery: 60% (or more) of developers don't break even
These numbers are useless. Things to keep in mind:

- This research is provided by a company that sells an app marketing service.

- No detail on methodology and how value was assessed. Are part time/garage developers tallying their opportunity cost? Multiplying their hours spent by an idealized consulting rate? What about free/low cost apps that leverage an existing paid service? How does that fit in? What about long-term ad revenue?

- Reported backing evidence is anecdotal.

jscottmiller··on Just start an experiment, not a damn startup
Cached: http://webcache.googleusercontent.com/search?q=cache:http://...
jscottmiller··on Who Gets the Mobile Money? Not Developers.
Horace's numbers do not include revenue generated by in-app advertising, third-party services (rdio subscription), non-apple in-app-like purchases (think of the Amazon store app), and the growth in the mobile web.

The rapid growth of mobile devices spurred by the iPhone/iPad has generated far more value for developers than $12/phone suggests.

← PreviousPage 2 of 3Next →