HNHacker News
TopNewBestAskShowJobs

jaimeyap

264 karma · joined October 29, 2013

submissionscomments
jaimeyap··on Go 1.5 concurrent garbage collector pacing
You can still stack allocate things in Go. And use closures when you need nested scopes.

This lets you take garbage off the heap, and avoid GC all together if you want to.

I believe Go does escape analysis so you can still shuffle around pointers to local structs within a stack frame without causing a heap allocation.

edit: That being said you can't really implement something like refcounting for structs you pass around by pointer outside the local stack frame without the compiler emitting an allocation on the heap. To totally avoid using the GC you'll need to do a lot of copying. And there aren't destructors.

jaimeyap··on The State of Go
Shoot me an email and let's see what we can do.

Also, I'll definitely have to check out Reviewable!

jaimeyap··on The State of Go
@piotrkaminski Comment nesting seemed to run out. So replying to myself.

Our team is currently using Rietveld. But I've used Gerrit in the past, as well as internal tools of the same flavor back when I was at Google.

I don't particularly love Rietveld. But it's simple to maintain and does the job. That being said, I'm genuinely looking forward to one day being able to just use Github for this.

jaimeyap··on The State of Go
I probably sounded overly dismissive of github. Which probably isn't fair. But I'll leave my post un-edited for posterity.

I use github every day for work. There are lots of things it gets right. But if you want to work on a project where you more or less have a central repository, take contributions from external and internal contributors, and have a strict policy of pre-submit reviews for individual commits to master that vary in size and complexity, then you want a tool that is 'code review centric'. That is, something that supports comment drafts, back and forth exchanges across many files, and notions of iterations as the reviewee responds to feedback. Github is lacking in this regard, for all the reasons the Go team pointed out. I mean... they just recently shipped side by side diffs!

The main thrust of my comment was to point out that lots of people in this thread are criticizing the Go team's choice to use Gerrit instead of Github, and the points they make seem to stem from an ignorance of both tools like Gerrit, and of workflows that work well that aren't pull requests. It's a bit of "what you see is all there is" where all they've seen is Github. And statements like "github is good enough" seem overly dismissive of the decisions of a lot of very smart people on the Go team.

For folks that are familiar with Gerrit and still poopoo their decision to use it. Well... we can agree to disagree :).

I'm rooting for Github. I want to see it get better so I can stop running a separate code review tool for my own projects! But it's got a ways to go still.

jaimeyap··on The State of Go
A lot of people commenting here probably haven't had the experience of working with mature pre-submit code review tools. It's funny how much of an opinion people seem to have about things they don't know about.

I'm shocked at how bad Githubs PR review UI is given how much funding they have had for so many years. Even abandoned side projects like Rietveld have vastly better review UIs and workflows for larger patch sets.

jaimeyap··on Plus, Minus: A Gentle Introduction to the Physics of Orthogonal
Seconded. His work is fantastic.

He has a few collections of short stories (Luminosity and Axiomatic) that give a good breadth of exposure to the themes he explores in his books.

jaimeyap··on Google Domains Launches to All in U.S
I believe when you add whois guard to NameCheap, it actually comes out a little more than Google Domains, which I think offers free private registration.
jaimeyap··on Intel Compute Stick
Attach a highspeed microSD card reader (or build one in) and this would make a very compelling low power, personal media file server. Although needing to keep the television on to power it might get annoying.
jaimeyap··on What is going to happen in 2015
> Large wire transfers are simple and given the cost and difficulty of acquiring 100k worth of bitcoin would almost certainly be cheaper and faster.

I would add to that safer too. Something goes wrong you can call the banks and they can roll things back. There is a paper trail that works in your favor.

jaimeyap··on Chrome DevTools outside of the browser
This is almost certainly using the same protocol.

The DevTools team did the work a while back to pull everything they needed out of process and establish the devtools protocol to enable remote debugging.

What the author has done is to take the Chrome DevTools (which is already basically a standalone web app), and package it up with Node-webkit as a standalone app.

I think this is cool, not from a technical perspective necessarily (since the engineering work was mostly already done by the DevTools team for remote debugging), but rather from a usability perspective. Slight tweak to the UX and it changes the mental framing people have of what the chrome DevTools actually is.

jaimeyap··on Immigration is about talent, not costs
There are a lot of flawed zero-sum arguments going on in this thread.

Do the people that are so vocally against the H1B program really believe that the US tech industry would be where it is without H1B workers?

Simply put, giving US companies access to the best and the brightest from around the world has made the US the global hub for technology. Any wage suppressive influences should be weighed against the overall growth of the industry as a whole. Google, Microsoft, Apple, Facebook. ALL of them have been hugely impacted by foreign workers. Our industry would be much much smaller than what it is without the H1B program. As a tech worker, your take is of a MUCH MUCH larger pie because of the ability to hire the best in the world in one place.

To the extent that there are companies out there that exploit the H1B program to hire indentured "slave" labor. We should be directing our criticism at those bad apples. Discuss ways to crack down on that, instead of channeling pseudo racist, xenophobia at non-american workers.

Also... the entire premise of "us versus them" seems ridiculous to me. Why not make the "them" be "us". You have highly educated, skilled people wanting to become tax paying and productive citizens. H1B is a road to a green card, and eventually naturalization. It's better for America to increase the population of motivated, skilled, and intelligent people. This drives the economy!

jaimeyap··on Going under the hood of Inbox
Sharing code across the client and server is also important. Not just code sharing amongst clients.

The JVM is going to be the preferred server target at Google over C# and .NET by a wide wide margin. Which probably rules out Xamarin.

Add to that the fact that native Android is already Java (source). And GWT is a mature technology that is Google maintained. Seems like the logical route to take.

jaimeyap··on Why Is Google Blocking Inbox on Firefox?
Going into your firefox flags and disabling content security policy does not count as "working in Firefox". Also the linked post reports performance problems.

Never assume malice when there is a perfectly reasonable explanation. They shipped an awesome product as fast as they could. Firefox support is probably coming soon.

jaimeyap··on Why Is Google Blocking Inbox on Firefox?
I think the term "blocking" is a bit misleading. It implies they have it running properly in FireFox and are going out of their way to make it only run in Chrome.

It seems more likely they had an aggressive plan to ship inbox across Web, Android and iOS. And they started with "Chrome only" to save development time. I'm sure support for other modern browsers will follow soon.

jaimeyap··on Immigration Crackdown on Digital Nomads in Chiang Mai, Thailand
This logic is flawed. When does a tourist cross from being profitable to being a drain?

The tax argument only holds water if your income is earned in the country you are living in. That money came from a system that is supported by government and shared infrastructure and services. So yes, there is a strong legal and economic argument saying if you earn money from Thailand you should pay taxes in Thailand. The key here being earning money in/from Thailand.

But if you are visiting Thailand, but earning money in the US and paying taxes in the US, it's pretty difficult to say that you are a net drain.

You absolutely are equivalent economically to a tourist as far as your impact on the economy is concerned. As a non-local citizen, you won't have access to state health care (if it's provided) or anything else tax paying citizens have access to. And your absence from the country would be a net negative value since you will be paying $0 into the local economy instead of room and board, internet connectivity, and general consumption, which all can be taxed with a VAT.

Edit: Also, I promise I'm not trying to be an internet jerk :). But I'm not sure what you mean by laws have had to deal with this exact scenario for a long time.

They haven't.

Generally speaking, the common case is for people to evade taxes by leaving where you earn money and claiming to be a citizen of some other country with more lenient tax laws. Which is the total inverse of this scenario.

jaimeyap··on Apache Wave on Sandstorm.io
The end game I think for sandstorm is the equivalent of a rich AppStore/Marketplace for web apps and web services.

Instead of installing an App on your phone. You would install some service on a personal server. Without needing to be a technical person who understands configuring servers.

And for technical users, you can have one-click installs for apps that you know are secure, sandboxed against your other apps and more.

And for App writers, you have an API surface area that makes it easy to do authentication, sharing, etc...

There are lots of things to like here. And a lot of opportunity given how much richer an experience an actual persistent web server can offer over a traditional client app install.

(I am not affiliated with Sandstorm. Just dig the vision, and think that Kenton and his crew are pretty awesome engineers who can pull it off.)

Edit: Re-reading your post, I think you might have been talking about Wave and not Sandstorm :). Whoops. My bad :P.

jaimeyap··on Why doesn't Sandstorm just run Docker apps?
Hadn't heard about container-optimized VMs. They seem to have very overlapping goals with CoreOS.

Having choice is generally a good thing, but it makes the water a little murky given how similar the goals seem :).

Have you had a chance to play around with CoreOS + Docker on compute engine?

jaimeyap··on Space Monkey dumps Python for Go
There is actually a decent open source, third party Go plugin for Intellij that works pretty well. Our team has been using it successfully on a fairly large project.

It's slightly annoying to setup, but absolutely worth it.

jaimeyap··on Facebook Refused No-Poaching Agreement With Google
That question is a bit of a loaded one.

There were no explicit compensation controls in place here. The top engineers at these companies are millionaires. Good engineers, as cromwellian points out, make easily in excess of 200K (sometimes a lot more) with total compensation.

This is about a no-cold-call agreement for employees, with a possible extended no-poaching agreement. This certainly already applied to executives, not just engineers. More-over, it is open to debate whether this actually had a negative effect on the industry as a whole. It might actually have given startups the opportunity to hire decent talent, and may have deflected hiring spending to engineers not already at Google/Apple/etc...

I'm not trying to justify the backroom, in-the-shadows type of dealings that went on here. That certainly came across as a little slimy. I am purely making a commentary on the perception that this somehow had a material effect in depressing the tech industry, engineering wages and/or quality of life.

jaimeyap··on Facebook Refused No-Poaching Agreement With Google
Thank you for pointing out how ridiculous it sounds for people in a field that is as highly paying as ours is, to be complaining about wage suppression. I think a lot of people have gotten pretty out of touch with reality.

Anyways... even if one were so inclined to not share my perspective on this point (that our earnings as an industry are great), you would still need to acknowledge the possibility that this "agreement" might have actually freed up salaries for the wider job pool, instead of coalescing into singularities around a handful of rockstars.

jaimeyap··on Apple's SSL/TLS bug
I continue to be baffled as to why Apple hasn't rolled out a security update for this issue on OS X.
jaimeyap··on Google’s Reliability Team Sat Down for an AMA Right Before Gmail Exploded
Are the alternatives any better?

If you run a service yourself, you will have downtime, only you won't have Google's amazing SREs and wealth of experience to draw upon to resolve your outage. You will have to fix it yourself.

If you depend on some other service, you are subject to their uptime and disaster recovery capabilities. Nobody is better than Google at either of these things.

But to your point, it probably is a good idea anyways to have offline backups of your critical data, and to have out-of-band fallbacks for critical communication in the event your primary channels have an interruption.

← PreviousPage 2 of 2