HNHacker News
TopNewBestAskShowJobs

jballanc

9,437 karma · joined November 23, 2008

I'm just a guy with some ideas...programming lets me do something with them.

Get in touch! jballanc@gmail.com https://github.com/jballanc

[ my public key: https://keybase.io/jballanc; my proof: https://keybase.io/jballanc/sigs/pxb6FPsVF9hoQMyb2ap0euWoNG3YxwN2g4VY94RRxX8 ]

submissionscomments
jballanc··on Saudi Backlash Threatens U.S. Startups
It is what I'm hoping for, but I'm not holding my breath. Remember when the Senate instructed President Trump to sanction Russia? Yeah...
jballanc··on Saudi Backlash Threatens U.S. Startups
Sorry if I was unclear. I didn't mean to link "libertarianism" and "despotic theocratic monarchy", but rather "libertarianism" and "ethics via purchasing power". Ideally, governments should be worried about ethics and businesses should be worried about making money. Instead, in the US today we have businesses worried about ethics and the government worried about making money.
jballanc··on Saudi Backlash Threatens U.S. Startups
I doubt this will be a popular opinion on HN, but...this is what comes of libertarianism.

What is a government other than a group of people who agree to work together toward certain goals and hold each other accountable to certain moral and ethical standards? Yet somehow, "government" has become the enemy, a thing to be done away with or reduced in scope.

When you do that, and replace government with "voted for with your dollars" corporations, suddenly corporations become the standard bearers of morals and ethics. Now, if I want to stand by my own moral code, I have to research every corporation I interact with. Can't buy those shoes, they employ slave labor. Can't hail this ride sharing service, they endorse autocratic regimes. Can't rent an office over there, they eat meat...or whatever. It's exhausting!

I'd much rather go to the polls, cast a vote for someone who represents my values, and have the government DO ITS JOB!

...but alas, that seems like the least likely thing that will happen in this situation.

jballanc··on Saudis preparing to admit Jamal Khashoggi died during interrogation
MbS is no Putin.

What I still can't figure out is why the hell the Saudis went to all the trouble of flying in an entire team, and then smuggling the body out, when they could have just as easily had some "rogue agent" (presumably there are multiple agents of Saudi intelligence already in Turkey) gun him down on the street. I mean, that's what Putin would've done...has done...numerous times. All I can figure is that MbS honestly though they'd get away with it; that they could "disappear" Khashoggi and no one would ask questions or care, much less that there would be CCTV (and possibly more) evidence showing that something was up.

It's also hard not to see all of this in the light of the recent "failure" of the Saudi Aramco IPO. By all accounts, that was an instance of King Salman letting MbS do his thing, only to reign him in at the last minute and "remind him who is king". One wonders of Salman let MbS try and pull off this crazy, made-for-Hollywood cloak-and-dagger stunt, knowing how it would all go down, in order to take MbS down a peg.

If I had to guess: the 15 "rogue" agents that carried out the Khashoggi assassination are close supporters of MbS within the government and, once this report comes out, if they don't lose their heads (literally...this is KSA after all...), at the very least the outcome will leave MbS with 15 fewer supporters within the government.

jballanc··on What I Learned from Having Steve Jobs Swear at Me
When I was at Apple, I once heard Steve describe his roll within the company as "hire the best people and say 'no' a lot". Also, behind closed doors, Steve swore a LOT. In other words, him calling something "dog shit" was not at all an unusual or unexpected utterance. I think if your only experience of him is the "Steve"-notes and press interviews, then this story probably comes across a bit differently than it did in reality for Ken.
jballanc··on What Came First: The Village or the Temple? Or, the Mystery of Göbekli Tepe
Armenians, as an ethnogenetic group, did not arise until around 3000 BCE. Gobekli Tepe was abandoned by 7000 BCE, so there is no historical overlap.
jballanc··on What Came First: The Village or the Temple? Or, the Mystery of Göbekli Tepe
Knowledge builds on knowledge, and (so far as we know) there's no shortcut to the gradual acquisition of knowledge.

I think this is best exemplified by one particular episode of the YouTube "Primitive Technology" series: https://www.youtube.com/watch?v=VVV4xeWBIxE . In this video, the creator builds a forge blower from sticks, leaves, stones, and vines. All materials that would've been available to primitive man 40,000 years (or more) ago...

...but the forge blower wasn't known to human kind until the 1600s! In other words, the creator of the "Primitive Technology" videos was able to build a forge blower because he knew about the concept (and, presumably, the principles of pressure and centrifugal force that make it all work). Those had to be discovered through thousands of years of an arduous process of trial, error, analysis, and teaching.

So, the Einstein of 40,000 years ago likely existed, but he may have only been able to discover and convince others to, say, pre-burn wood to generate charcoal. In terms of an advancement over existing technology, I'd argue such an advance would be even more significant than General Relativity, and yet it's technology that we can run down to the corner store and procure for $5 a bag today.

jballanc··on Go 2 Draft Designs
> One cannot have both I guess?

Not to be snarky, but...

The whole point of LISP-style macros is that you very much can have both. Ultimately, generics will compile down, either via type erasure or a generated specialization, to a "copy-pasted" function (in concept, at least). With a macro, you have ultimate control of how this is achieved.

The problem, of course, is that the people who care how generics are implemented all think their way is the best (leading to a proliferation of slightly-different-and-incompatible implementations), and everyone else just wants something that works fast and reliably.

Bad code can be written in any language. Good code can be written in most languages (yes, even C++...the jury is still out on PHP). Every feature that grants power comes at the cost of potential complexity. What ultimately determines success or failure is the community and best practices that develop around these features.

In this regard, I think Go will be "o.k." even with generics.

jballanc··on Using John Varney's rhythm wheel to differentiate 3/4 and 6/8 time signatures
One of my favorite songs for helping to explain the importance and differences between time signatures is "Question!" by System of a Down (https://www.youtube.com/watch?v=ENBv2i88g6Y). The intro is 9/8 (as a 3-2-2-2 grouping), followed by a section in 5/4. The verses are the same 9/8, except for regular jumps to 6/8 (during the phrase "Are you dreaming?"). The chorus is 6/4, with repeats of the same 5/4 section from the intro. The bridge is a mash-up of the 5/4 again with jumps between 9/8 and 3/4 and the outro is 4/4 back to a final 9/8 section.

It's not always easy to pick out what specific signature is being played at every point in the song, but the "suspended" feeling of hanging beats as the signature changes is very obvious.

jballanc··on Waymo’s autonomous vehicles are driving 25,000 miles every day
My favorite explanation of why autonomous vehicles will be so game changing is this imagined future conversation:

[30 years in the future...]

My son: Wait...you mean to tell me that people used to operate multi-ton machines, with a minimum of training, in a range of different conditions, and relied solely on human reflexes and human attention span to avoid collisions?

Me: Yes

My son: And nobody was killed?!?

Me: Oh no! People died ALL THE TIME!

---

Look at any source you like, and it's as clear as day: the LEADING cause of death for individuals in their prime productive years (late teens through late 30s) is the automobile! If autonomous cars are even a fraction safer than human drivers, the impact it will have on demographics and population productivity will be MASSIVE.

jballanc··on Hundreds of nuclear blast videos show explosions in the ocean and Nevada desert
The Davy Crockett was deployed from 1961 to 1971, so we're talking '60s era tanks. There's a reason that modern tanks are radiation shielded, and similarly why tactical nukes are no longer considered part of tank warfare.
jballanc··on Hundreds of nuclear blast videos show explosions in the ocean and Nevada desert
You might be interested in reading more about "Davy Crockett" (https://en.wikipedia.org/wiki/Davy_Crockett_%28nuclear_devic...) and the Fulda Gap (https://en.wikipedia.org/wiki/Fulda_Gap).

In short, for much of the Cold War the USSR had such a numbers advantage over NATO when it came to tank forces that the only chance NATO had to hold off a full-scale tank invasion by the USSR would have been the use of tactical nukes.

As you rightly point out, MAD strategy doesn't quite apply here. Yes, the Davy Crockett is a nuclear weapon. However, the fact that it only would've leveled the playing field probably means that the USSR wouldn't have immediately responded in kind. That said, a world of tactical nukes is definitely a scary one (Frank Herbert was rather prescient in this regard), and I'm glad we've never had to find out what it would look like.

jballanc··on One-Of-a-Kind Private Train Takes on Florida’s Traffic Nightmare
As a resident of South Florida, I'm guessing they're banking on the eventual Orlando connection. Many of the theme parks in Orlando offer very attractive discounts for Florida residents, especially in the off season, but speaking personally, our family has refrained from taking more advantage due to the drive. From Miami to Broward traffic can be a nightmare, and then from Broward to Orlando the Florida Turnpike is surrounded by...nothing. For two hours of drive time the only signs of civilization are the rest areas on the Turnpike (which, admittedly, are undergoing major updates, but still have limited offerings).

If we had the option, instead, to pay $100 per person to ride up on a relaxing train, we'd probably be taking the kids every other weekend over the summer.

Alternatively, taking a slightly more cynical outlook, they might be gambling on a hurricane evac windfall or two. As Irma approached we evac'd our family to Orlando, but the drive that usually took 3 hours turned into 12 hours of bumper-to-bumper nightmare. Flights out of MIA and FLL that usually cost $300 or $400 jumped in price to over $3500 literally overnight. For even $400 we probably would've opted for the train.

jballanc··on Ask HN: What are the best bio-hacking tips for programmers?
It's funny that programmers (and their ilk) are constantly on the outlook for new ways to gain an edge by increasing focus, attention, and endurance, when two of the best substances for doing so have long been known: caffeine and nicotine. Consider – in both World Wars soldiers rations included coffee and cigarettes. There was a reason for that (and it wasn't just "comfort").

Now, you might say, what about the significant downsides for each of these? Well...yes. They are there, and they are fairly well understood.

There is a growing trend in pharmacology to try and get most of the benefits from some substance without most of the downsides. For example, the list of "new" antihistamines is long and growing every day. You know what the best antihistamine is? Benadryl! It just happens to come with a whole host of undesirable side-effects.

The problem, of course, is that for any "new" pharmaceutical, there's no way to be really sure of all the potential downsides until after they've been in use for some time. Take for example: Rofecoxib. Paracetemol (Tylenol) will destroy your liver, and aspirin and ibuprofen will tear up your stomach. Rofecoxib was supposed to bring all the benefits of these NSAIDs without the significant downsides...instead, it caused heart attacks!

So, not really a tip, but more of a caution/word of advice: if you want the best drugs to improve focus, attention, and endurance have a coffee and a cig. If you don't like the impact that has on your health, then keep in mind any alternatives you want to try could have less downsides...or more.

Maybe the best thing would be to get some rest and follow Michael Pollan's wonderful advice: "Eat food, mostly plants, not too much."

jballanc··on Alphabet's Median Pay Nears $200k
Considering their quarterly profit per employee, they still have room to go up from here: https://www.wolframalpha.com/input/?i=google+profit+per+empl...
jballanc··on Ruby on WebAssembly
In theory you could already do this with Opal (https://github.com/opal/opal).
jballanc··on Twitch plays Go
Oh, I realize that personality plays some roll in chess, but I think the degree to which is shines through in Go is on a whole other level. There is only so much you can do in chess that is still considered sound play. For example, you keep your queen back if you're a cautious player or bring it out early if you're not, but doing something like sacrificing your queen early in the game to take a pawn would just be regarded as stupid.

There are many fewer truly "stupid" plays in Go, especially early in the game. In fact, if you look at a lot of the commentary around the games that Alpha Go played, one thing said time and again was how Alpha Go made moves that seemed "amateurish" only to follow up later with connecting moves that seemed almost prescient.

jballanc··on Twitch plays Go
For those new to the game of Go, one aspect of the game that makes it so much fun for me is the way that a good commentator or author can tell an entire story around the game (and Will Lockhart is one of the better commentators). Attacks, counterattacks, being bold vs being cautious, going for territory or strengthening defenses...a good game commentary can be more enthralling than many novels.

This also means that an individual's personalty shows through in a game of Go more than it would for, say, Chess. I know I'll never be a top-tier player, but I also know that by improving my Go game I can improve my performance in other aspects of my life. I am often impetuous and overly-optimistic. In Go, this means that I tend to attack when I should defend, and when I do defend I tend to do so imperfectly. In life, it means that I often start more projects than I can finish. So, in a way, Go is my own personal meditation strategy.

Finally, for those who want to get into the game but may not have time to play a full game in one sitting, I highly recommend Dragon Go Server (http://www.dragongoserver.net/). Games are played out in "correspondence" style. This means that a game may take a long time to play, but it also means that the play tends to be very strong. I'm personally only 14kyu on DGS, whereas I was 11kyu on KGS 3 or so years ago (back when I had time for it).

jballanc··on Southwest 1380: think about the flight attendants
And yet, even that crash was the epitome of calm, efficient action on the part of the pilots: https://www.youtube.com/watch?v=mYDZea4BcXE

Edit: I should say, on the part of the pilots and ATC. Here's an even better audio of the event from more perspectives - https://youtu.be/tE_5eiYn0D0?t=83

jballanc··on Southwest 1380: think about the flight attendants
Here's an amazing video of what happens in the cockpit during an engine failure in a commercial airliner: https://www.youtube.com/watch?v=rEf35NtlBLg
jballanc··on For $5k, Chevy Will Let You Assemble Your Corvette Z06’s Engine Yourself (2015)
It's not quite the same, but each year Hendrick Motorsports and Automotive group have an engine building competition. You can watch some of the builds on YouTube: https://www.youtube.com/watch?v=nn1E9HgEaKo
jballanc··on Lisp Game Jam 2018
You might be interested in Bussard: https://technomancy.itch.io/bussard
jballanc··on Ask HN: What up and coming technology has you most excited?
The real revolution for self driving cars will be what it does to deaths in the 18-35 demographic. A quick Google search turns up this (https://www.verywell.com/top-causes-of-death-for-ages-15-24-...) article that confirms that for the 15-24 demographic automobile accidents are the leading cause of death. Think of how many productive person-years we'll gain if self driving cars are even just 10% safer than driving yourself (and by all measures I've seen, they're way safer than that)!

Edit: To understand the real impact, I've always enjoyed this hypothetical future conversation...

Future Kid: You mean to say that people used to operate machinery weighing several tons? Traveling at high speeds? With a minimum of training?

Future Adult: Yup.

Future Kid: And nobody died?

Future Adult: Oh no! People died all the time!

jballanc··on Wealth inequality is soaring – here are the Why it’s happening
Try asking Teddy Roosevelt: https://en.wikipedia.org/wiki/Theodore_Roosevelt#Trust_busti...
jballanc··on BranchScope: A New Side-Channel Attack on Directional Branch Predictor
Question: would more widespread use of Unikernels (as opposed to virtualization and/or containers) mitigate the attack surface for this class of attacks?
jballanc··on Uber will not re-apply for self-driving car permit in California
I enjoy hating on Uber as much as the next person, but this honestly just sounds like shrewd focusing of effort in light of recent events on Uber's part. Their permit was expiring, and there was going to be a load of paperwork along with probably lengthy boardroom meetings with authorities explaining what went wrong and why it won't happen again, if Uber wanted to renew.

I see no reason (in this article, at least) to suspect that Uber won't re-apply at a later date when they have a better handle on what went wrong in Tempe.

jballanc··on NASA reveals delay for Hubble successor
There's a much simpler plan for a moon-based telescope: ship a big vat of mercury to the moon and spin it. The centrifugal force would curve the mercury perfectly and elemental mercury is a really good mirror on its own.
jballanc··on Ask HN: Weirdest hack that you ever saw in production?
Not sure if this is still the case, but back when I was at Apple the program that triggered when you pressed a button on an Apple remote pointed at a Macintosh was just a giant AppleScript file that, at the top level, was a giant `if...else if...` statement to try and determine which application had the foreground so that the appropriate action (e.g. next track for iTunes, next slide for Keynote, next chapter marker for QuickTime, etc.) could be triggered.
jballanc··on The “Oh-My-God Particle”
My favorite of these sorts of names is the "Bloop": https://en.wikipedia.org/wiki/Bloop
jballanc··on Computer History Museum 2018 Fellow: Guido van Rossum
> Clojure

Alex Miller and Stuart Halloway immediately jump to mind as lieutenants that could jump in and take over without too much disruption.

> Erlang

Well, there's also Roberts and Mike (reference, for those not familiar: https://youtu.be/xrIjfIjssLE?t=213).

← PreviousPage 3 of 34Next →