HNHacker News
TopNewBestAskShowJobs

api_or_ipa

1,784 karma · joined February 26, 2014

hnchat:tJnhmT2XHacBvaJt7Ttu
submissionscomments
api_or_ipa··on Ask HN: What's your favorite elegant/beautiful algorithm?
You don't really need automated tests. You can use a reproducible bug report as test input, then use git-diff to determine the first point it time it appears.
api_or_ipa··on Ask HN: What's your favorite elegant/beautiful algorithm?
`git bisect` is an indispensible git trick. You give it commit where you know the bug exists, and one where you know it doesn't and it'll use binary search to help you find where the bug came from. It's absolutely wonderful.
api_or_ipa··on A DMT trip 'feels like dying' – and scientists now agree
I think it's important to stress the fact that DMT does not feel like being thrown in a meat-grinder, or being impaled in a car accident, or any other grisly way to die. Really, it might be more correct to say "Death might feel like a DMT trip" because many have experienced a DMT trip, but it's not every day you get to experience death. Of course, it makes for a less interesting title.
api_or_ipa··on Burning Man's Mathematical Underbelly
I encourage you to think constructively how your commentary can further a discussion which, by both the article and other comments, has proceeded well beyond infantile jokes and worn-out stereotypes.
api_or_ipa··on Why are conversations limited to about four people?
> On another side, network effects of nodes on a grid become unmanageable above about 6 nodes - a group of 6 people will have 36 one-on-one interpersonal relationships to manage.

Network effects grow surprisingly fast. Between 2 people there's only 1 bidirectional edge. Between 3 it's 3 and between 4 it's 6.

  | people | edges |
  |--------|-------|
  | 2      | 1     |
  | 3      | 3     |
  | 4      | 6     |
  | 5      | 10    |
Intuitively, this is important because in a conversation, each member must project and rationalise each other communicator's response to a message. In other words, each member must be cognisant of every other members response to every message. Between a few people that's manageable, but the combinatorics really grows for n >= 4.
api_or_ipa··on Ancient farmers spared us from glaciers but changed Earth's climate: study
Sorry that was me being lazy. On my dovark keyboard. C,0,2 are all right next to each other on my right hand and since numbers are behind the shift key, my left hand just holds the shift down. The alternative is a bit of a finger juggle because my caps lock is remapped as well.
api_or_ipa··on Ancient farmers spared us from glaciers but changed Earth's climate: study
The economic consequences would be absolutely huge. Take my native Canada for an example. There's breathtaking amounts of land that's currently of little economic value because of a shortened growing season and permafrost. A small increase in temperature would have a huge impact on the usability of that land. Conversely, other places in the world would suffer desertification and suffer greatly.

As an amusing side-note I've pondered whether colder countries could/should/will intentionally spew C02 into the atmosphere to improve their own living situation. There's not a whole lot other countries could do about it except try and capture the C02 which is much more expensive than burning it. Obviously this doesn't take in effect other averse consequences from global warming but it was still an amusing train of thought.

api_or_ipa··on UBC researchers may have found a way to make donated blood universal
This could be a revolutionary innovation, just from the perspective of blood logistics. In a perfect world, we'd all stock up on just O-negative blood and use it everywhere but blood supplies are a scarce resource and we have to use what we have so getting all responders to only carry O-negative just won't scale. Imagine removing the tough question about what blood to use: do we use the precious O-negative or do we carry a bit of everything and first test the patient for what can work? By having a relatively plentiful universal supply, we could reduce the amount of carried blood, decrease spoilage and decrease the time it takes to get the patient the blood she/he needs. All these benefits would be massively beneficial in improving patient outcomes, decrease cost and streamline logistics, especially in the field where space is at a premium.

It's obviously early stage, but I'd absolutely love to see the Canadian Blood Service invest in lots of follow up studies to see how we can scale this technology.

Also, it's always great to see my alma mater on HN :)

api_or_ipa··on National prison strike launches over underpaid labor and prison conditions
The issue is not that I want to make prison suck any less. I believe it sucks and that's done by design. What I care about is instilling the skills, attitude and experience that will allow seamless re-introduction back into society. Teaching inmates how to handle money, understand finances and giving them something to buy a car, rent an apartment, a uniform for work and tuition for education isn't going to make their prison stint any less awful, but it will reduce recidivism, increase participation in the legal economy and make these inmates _people_ in the real sense of the term.

The issue is that if you fuck up and go to jail, your life is effectively over.

api_or_ipa··on National prison strike launches over underpaid labor and prison conditions
You're totally right. What better way to show inmates the virtue of living an upright life than to treat them just like real people. If you pay them 85c/hr they'll resent The Man even harder and see a life of crime as the only way they'll ever succeed. Pay them for their hardwork and they'll learn they can succeed in life by hardwork, determination and honesty, all virtues that prison _should_ be about instilling.
api_or_ipa··on Let’s all go back to Tumblr
Collectively neurons moderate their individual binary responses and together respond with more nuance to outside stimuli. Maybe that's the parallel she/he is trying to present?
api_or_ipa··on Insurance copays are higher than the cost of the drug about 25% of the time
> until the system is wholly owned by the government

The thing is that single payer healthcare systems in Canada and Europe aren't necessarily owned by the government. In Canada, each province's healthcare is run as a government owned insurance company, with the requirement that everyone have health insurance. Some provinces bill this out to each insured person on a sliding scale of income, with a cut off for the low income.

api_or_ipa··on America's first big offshore wind farm sets record low price
As others have pointed out, the title is highly misleading because the facility has yet to be built. Moreover, projecting a cost-per-kwh over 20 years is a measure in futility. It's impossible to project energy prices 20 years in the future-- it's very possible another energy source will trump this facility's cost per kWh. In addition, cost per kWh amortizes the cost of construction where money is spent today for benefits to accrue in the future. How you determine this discount rate has a massive impact on the supposed value of the facility.

As PG himself has pointed out, behind every significant news article is a submarine pushing public opinion[0]

http://www.paulgraham.com/submarine.html

api_or_ipa··on Ask HN: What is the most unethical thing you've done as a programmer?
If it didn't cleanly compile and run on linux, it was a autofail. I found a discrepancy in MPICH2 the hard way: it would correctly implement my leader election on my mac, and on my little raspberry pi, but not on a Solaris linux!

Lost 5% of my grade to that bug.

api_or_ipa··on Ask HN: How to overcome fear of flying?
Great tip, similar to evening, early morning is my favourite time to fly because winds seldom pick up in the early dawn morning, plus better visibility and no traffic on the way to the airport. And it's beautiful!
api_or_ipa··on Ask HN: How to overcome fear of flying?
If you can stomach it, take some flying lessons. You'll be less scared of processes you understand. Start with a bunch of ground school, so you understand how the aircraft works, meteorology and the effort that goes into aircraft maintenance. Then, take a discover flight on a small aircraft and discover the love of aviation!
api_or_ipa··on Ask HN: My Microsoft account has been suspended by Microsoft without details
> an iPhone but I’ll be damned if I’ll let Apple dictate my web browser therefore I use Firefox and apps that play along with it

AFAIK all iOS web browsers must use WebKit so really are little more than a shell on top of Safari.

api_or_ipa··on Liquid water 'lake' revealed on Mars
> while firing 30 at the same time for redundancy?

I presume this is a reference to the failed N1 project with it's 30 NK-33 engines? To be fair, the N1 rocket didn't fail because of it's engines, it failed because of numerous organizational failures, including a ruthlessly rushed design process, lack of funding, and most importantly, the death of it's chief engineer, Korolev. The NK-33 rockets were basically the only part of the rocket that actually survived the program-- they're a big part of the current Soyuz stack if I recall.

api_or_ipa··on Making an emperor bed
Names work well because the actual size of a mattress isn't really important to most mattress discussions, nor are the measurements ever 100% accurate because of differences in material or manufacture. If I'm at the shop buying sheets and I remember my queen mattress is roughly ~1.5m wide, is it a 1.37m wide double mattress or a 1.53m wide queen mattress? Using a name placeholder avoids this ambiguity, a queen sheet will always fit a queen bed, within some margin of error, even accounting for differences in material: I imagine foam is more ductile than spring mattresses so might be made a bit bigger to account for this difference.
api_or_ipa··on Blue Origin successfully lands both booster and crew capsule after test launch
I don't think the aim is for New Shepard to be a sustainable business, you only need maybe a dozen or two launches to gain experience and knowledge to pump back into the New Glen project. If they can have a tourist soak up $200k of the cost, then that's great because the astronaut doesn't actually do a whole lot on these trips, save for being a human guinea pig to send vitals back down.

Once New Glen starts launching in 2020, they want to quickly move past human certification, so practicing with New Shepard is less costly in terms of critical-path length and probably financially too-- bigger rocket, bigger spend per test.

api_or_ipa··on Why the world should adopt a basic income
The Economist has really gone down hill in the past few years. I expect them to publish numbers, not vaguely Marxist reflections lamenting an age of supposed increasing hardship, although I was amused by the idea of social inheritance.
api_or_ipa··on Lets get rid of tracking on the UK's NHS
Wow thats bad, on just so many levels. Why is a publicly funded service selling tracking data, let alone one that handles, as it's primary function, confidential and privileged information about your medical history?

The author is right, heads should roll for this.

api_or_ipa··on React-Starter-Kit – Open Source Universal React Redux GraphQL Boilerplate
Tech changes. Even since react-create-app came out, there's been a ton of adoption in GraphQL and Redux, to the point where starting a CRA app still requires you to do pretty significant setup to get started.
api_or_ipa··on Bing Maps Streetside Imagery Now Integrated into OpenStreetMap iD Editor
Is this just a case of this uneasy friendliness that MS has had recently toward the open ecosystem, or is MS trying to play a big-league game to combat Google Map's dominance?
api_or_ipa··on Sweden Tries to Halt Its March to Total Cashlessness
'legacy' banknotes are mostly made from cotton, not wood pulp which gives them the strength to stay cohesive even when wet, much like your clothes in the washing machine.
api_or_ipa··on Migrate from GitHub to GitLab
Good. I've structured my life to avoid Microsoft, and I intend to continue doing such. This is a vote of non-confidence in Microsoft and they should realise that their reputation for abhorrent behaviour cannot be erased overnight.
api_or_ipa··on Neighbourly by Google
I noticed that. I was thinking it was an UnderArmour kind of thing that Google bought out, or, only available in a certain locale.
api_or_ipa··on Microsoft and GitHub have held acquisition talks
I can't help but be insanely sceptical. Microsoft has a massive legacy of Embrace, Extend, Extinguish and I don't want the GitHub ecosystem to suffer from the same reoccurring pattern. Call me jaded by Microsoft's past behaviour, but I just cannot forget the numerous times Microsoft has absolutely ruined thriving ecosystems by using the same tricks.
api_or_ipa··on Ariane chief seems frustrated with SpaceX for driving down launch costs
It sounds like Charmeau is willing to blame anything and everything to avoid the reality that SpaceX is bringing a new economy to the space launch industry. Instead of marketing Ariane as a boutique, reliable launch vehicle for valuable payloads like JWT, it seem like Charmeau wants to blame everyone but himself for Ariane's financial uncertainty.

If I were on the board, I'd ask for his resignation and start looking for a more visionary leader to guide Ariane.

api_or_ipa··on Has wine gone bad?
So I've been told! I need to commit to checking it out one weekend-- Berkeley as a whole is such a gem.
← PreviousPage 6 of 14Next →