HN user

joliss

384 karma

https://twitter.com/jo_liss

Posts10
Comments33
View on HN

Thanks, very interesting stats!

> financial incentives to incarcerate...

Do you have any sources for this?

For private prisons, the Corrections Corporation of America reportedly spends over $1 million each year on lobbying. [1][2]

Beyond private prisons, there's lobbying from prison guards' unions. For example, the California union appears to have substantial political influence, and in 2008 successfully spent $1.8 million to defeat a ballot initiative that would have reduced the prison population.[3]

Further, in some municipalities, cities use fines as revenue-raising tools, and arrest and jail people who fail to pay. See e.g. the Ferguson DOJ report.[4]

[1] https://en.wikipedia.org/wiki/Corrections_Corporation_of_Ame...

[2] http://www.diversityinc.com/diversity-management/who-profits...

[3] http://criminology.fsu.edu/wp-content/uploads/volume-10-issu... p. 750 (PDF page 274)

[4] https://www.washingtonpost.com/news/post-nation/wp/2015/03/0...

There doesn't seem to be much in the way of real intership programs for your age group.

However, your resume is super impressive, and you're clearly gifted. I'm going to bet that there will be people who will want to support your ambitions and create an ad-hoc internship for you. So here's my advice:

Treat your internship search like a job search!

Cold-call and cold-email CEOs of NYC-based startups that use Rails or React. Medium-sized and small companies might have an easier time accommodating, but it can't hurt to try bigger companies too just for kicks.

E.g. try this line for cold-calling: "Hi, this is Lachlan. Are you $CEO_NAME at $STARTUP_NAME? Yes? Cool! I'm a 13-year-old middle school student, and I built a web app with Rails and React last year. I'm looking for an internship this summer. I was wondering if that's something you'd consider."

Regarding child labor laws: Businesses with employees tend to already have a lawyer they regularly talk to (for contracts and compliance). They should be able to run the labor law issues by their lawyer for you - maybe you'll have to wait until your 14th birthday, maybe it's possible to structure it as a "trainee" program that falls under different laws, maybe something else. So I'd just bring this issue to their attention and leave it up to them to figure it out.

The most profitable advice I've gotten for charging good rates comes from two sources:

1. Jim Camp's negotiation book, "Start with No": http://www.amazon.com/Start-No-Negotiating-Tools-that-ebook/... One key takeaway: You can refuse to compromise on your rates, provided that you can afford to walk away if necessary.

2. Patrick McKenzie's (patio11's) advice for moving beyond the "freelancer" title, in particular http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-pro... and http://www.kalzumeus.com/2012/09/17/ramit-sethi-and-patrick-...

I used these strategies to double my daily rate as an Ember.js consultant from $1k to $2k, and it was a fairly straightforward exercise in the end.

I use a semicolon-free style (only protecting leading ([+-/) with var declarations like so:

    var foo = 1
    var bar = 2
Is there an issue with semicolon-free var declarations that I should be aware of?
Nexus 6 12 years ago

Full specs: https://i.imgur.com/S0ifg2B.png

Of note: Nano SIM, 493 ppi display, 4K video recording.

(The specs on the Google page have a button to expand them. It's a bit hidden and not linkable, hence the screenshot.)

Before people start associating this with actual HTTP/2.0, it is worth emphasizing that this is a separate document. None of this "trusted proxy" MITM nonsense is in the HTTP/2.0 draft: http://datatracker.ietf.org/doc/draft-ietf-httpbis-http2/?in...

Thankfully, it seems fairly unlikely that the trusted proxy thing is going to get anywhere: It serves the interests of Ericsson and AT&T, but not those of the HTTP/2.0 spec authors (who are from Google and Mozilla) or server and browser vendors that will have to implement HTTP/2.0.

These types of agreements might mean that we move from "software patents held by tech giants" to "software patents held by a cartel of tech giants". That would be worse.

An agreement like this might avoid the next high-profile lawsuit, but instead of fixing the patent system it's tapering over the most visible symptom, creating a patent oligopoly in the process.

Maybe I'm seeing things, but I'm just having Google's ongoing anti-poaching scandal fresh in mind.

I'm getting organic search traffic for niche keywords, like 'free solitaire online'. http://sudokuisland.com seems to have a decent amount of keywords already, but perhaps you can think of more. Organic search is probably the only way to get traffic at the scale you need for an ad-monetized game.

My plan is to improve the PageRank and DomainRank, and eventually to make the product better (since Google presumably picks up on that through bounce rates, time on site, sharing). So that'd be the general strategy I recommend.

Another metric you can optimize is the number of times a first-time visitor returns, because it acts as a multiplier on your traffic. Say you get 100 organic first-time visitors per day, if each visitor returns 5 times, you'll have 600 total visits per day.

My free-to-play Solitaire web app, at http://www.solitr.com/.

It's making a bit over $1,000 in monthly ad revenue. Traffic is at ~3k dailies.

I did this as a weekend project 2 years ago, and at some point migrated my blog to it to pick up DomainRank. Other than that I've mostly left it alone.

I like the intention -- making software more secure is really worthwhile.

The reward scheme is dubious though: I love working on open source because it's intrinsically rewarding. But if you try to pay me a few bucks, chances are I'll lose interest because my day job pays better.

Extrinsic motivation killing intrinsic motivation is a known phenomenon in psychology: http://en.wikipedia.org/wiki/Motivation_crowding_theory It means that splashing money around to get people to do stuff can have the opposite effect. Also see the book Drive by Daniel Pink: http://www.amazon.com/Drive-Surprising-Truth-About-Motivates...

How about single-letter shortcuts, like GitHub does? Press the ? key on GitHub to get the shortcut list. Some might not be as comfortable (e.g. / on a Swiss-German keyboard, as you say), but they'll still mostly work.

I suspect that the only way to effectively mitigate this is in the terminal application, by displaying a confirmation with the pasted text before accepting any multi-line[1] paste. For example here: https://code.google.com/p/iterm2/issues/detail?id=594

[1] There may be other dangerous characters besides newlines, e.g. escape sequences. I'm not sure if it's possible to make an exhaustive list for something like Bash. Perhaps one has to guard against any paste?

No, there's nothing with that. What the author is doing is serving the entire domain (i.e. www.mydomain.com, not just JS+CSS+images) off of CloudFront, so you obviously need a separate host name for the actual server. Hence origin.mydomain.com.

(Note that you need to use a www subdomain for this, or CNAMEs don't work.)

Mosh: SSH for 2012 14 years ago

I'm scared to trust Mosh with my connection security, but the local echo sounds awesome.

What happens if I tunnel my Mosh connection through SSH? Will I still get all the features (except for roaming, obviously)?

Why Serenade? 14 years ago

Jonas wrote: > The advantage is that the controller knows nothing about the DOM, so it is usable and testable without the DOM.

Jeremy wrote: > You can certainly test views that "know something" about the DOM without actually using the DOM as well...

I've been wondering for a while how to eliminate the slow and brittle Selenium layer from integration tests (perhaps I'm not the only one?). I'm thinking that if you can do away with the DOM, you might be able to somehow run the integration tests on the server, without launching a browser.

Do you have any concrete ideas how to do this, or are you only talking about unit tests in the text I quoted?