HNHacker News
TopNewBestAskShowJobs

krisdol

2,131 karma · joined September 5, 2013

submissionscomments
krisdol··on Atom 1.9 and 1.10 beta
GoToMethod is not perfect. However there are various auto completion plugins that are language specific and sometimes do a better job.
krisdol··on Atom 1.9 and 1.10 beta
For once, on an atom release thread, can we have a discussion about atom and this release rather than endless threads about folks preferring vscode or sublime?
krisdol··on Hitler Uses Docker, Annotated
It's a long-running meme to use this movie clip and subtitle it in different ways. Some do a better job than others. My personal favorite is Hitler uses Git[1].

[1]: https://m.youtube.com/watch?v=CDeG4S-mJts

krisdol··on The End of Microservices
I described some of the benefits I am currently experiencing from using microservices where we previously had a monolith.

Spinning up multiple components generally takes a few seconds once the image is built, as it is not much more involved than spinning up a new docker container of an image that is already pulled. Each image might take a couple of minutes to build, but because there are no hard dependencies between images (unlike libraries in a monolith) any amount of them can be building and deploying in parallel.

It doesn't really matter how fast the "whole thing" can be built-and-deployed before, because in a monolith, you need every developer building and deploying their own library versions as well as the monolith. Meaning, not only do your changes to production have to wait in the queue for everyone else's, but you unintentionally pick up work from other folks along the way. That road leads down to the environment you describe, where every developer needs at some point to spin up their own dev instance and live on their own branch just to be able to test in isolation, resulting in an organization that requires merging, building, and deploying several times along the way in different environments before the change finally reaches production.

I also described a perfect use case of an HTTP interface (or RPC, or whatever language agnostic interface you want to use, it doesn't matter to me and rarely matters in the real world). Data science work is often in a different language space than web work. I'm not going to bundle native Python/R/Clojure dependencies with my node.js apps. It's too much work to maintain those bindings between runtime versions and app versions. I'm not going to force Data scientists to use JS because the library ecosystem is targeted toward completely different use cases. With HTTP or RPC or whatever transport, each team can use the best tools for the job.

krisdol··on The End of Microservices
>Invoke those services via RPC-over-HTTP? Why???

I can think of a few off the top of my head:

1. Being able to scale individual, smaller components rather than one giant application

2. Being able to build-and-deploy any one module much faster than one monolithic bundle of local dependencies

3. Universal interface with language-agnostic applications. Do you need to expose big data statistical analytics, but can't find data engineers that are comfortable with Java/Node.js/Go? Doesn't matter, hire the best ones and let them use Python/R/Clojure. HTTP doesn't care.

krisdol··on Cloud9 Acquired by Amazon
Those tech companies should also provide high end machines to developers. I'm glad the last two places I've worked provided high end MacBook pros but also allow devs to use their own machines so inevitably there are a couple of Linux and Windows folks.

Interesting that for me it was the startups that provided good machines while the enterprises provided 4 years old lenovo laptops with not so good batteries not the specs needed to use a VM effectively

krisdol··on Vine isn’t growing and most of its top executives have left
Twitter switching away from a chronological see-everything timeline was a massive departure from its original idea, on the same scale as many of your other examples. To me that was a core feature and not having it just makes Twitter much less interesting to open.
krisdol··on Ask HN: How do you decide for a backend language?
BI Data aggregators aren't innovative? ;)
krisdol··on 23andMe Is Monetizing Your DNA the Way Facebook Monetizes 'Likes'
Can't think of any potential cons or just don't want to? Insurance companies would benefit from this data, all kinds of public and private institutions would like to research it, and as per tradition, advertising industry will find ways to monetize it, as it has done with all information for all of history.
krisdol··on 23andMe Is Monetizing Your DNA the Way Facebook Monetizes 'Likes'
I just want to pay for a service or product and have that be the end of my interaction with the company as well as the end of the company's use, possession, and monetization of my data. When I buy a stick of gum I deprive the store of that stick of gum in exchange for money. On the Internet I'm purchasing something but the company gets to hold on to and share it indefinitely. It not only benefits from the money exchange but also continues to use the very product they sold me to continue to beef up their profit. Taking my money is apparently just a nice bonus but not what they're really after. I wish the privacy cost was stated in as clear terms at transaction time as the monetary cost, and I believe that users should receive royalties when their data is used for any continued access.
krisdol··on U.S. Bans Theranos CEO Elizabeth Holmes from Operating Labs for Two Years
Can't they work around this by renting the lab?
krisdol··on See the things you’ve searched for, visited, and watched on Google services
Honestly Safari is far more battery efficient than any other major browser available on OS X. Whenever I want to watch netflix or HBO and have only about an episode's worth of battery life left, I switch to safari and usually gain a real 10-15 minutes on the battery estimate. The CPU runs cooler streaming HD video than both Firefox and Chrome.
krisdol··on See the things you’ve searched for, visited, and watched on Google services
Aren't you sexist by assuming only a male would be interested in Steve Klabnik and having a girlfriend? Nothing in tinco's comment indicated that tinco was male.
krisdol··on Felony – An open-source PGP keychain
You seriously can't do this yourself? Clone the repo and change the name using find-and-replace and run install. No need to insult.
krisdol··on Felony – An open-source PGP keychain
fork it and maintain your own name if you feel strongly about it.
krisdol··on Meat Is Horrible
No, for the same reason they couldn't phase out alcohol and drugs
krisdol··on YC set to launch one-year minimum income pilot project to figure out logistics
I was a refugee of war that immigrated to the United States and survived off of food stamps and public housing until we got on our feet. we'd be considered pretty well off today, certainly in the top 5-10% of income earners.

Natural selection... More like dumb luck your ignorant persona was born privileged and not having to work your way up through the social structure of a foreign country several times. If it wasn't for public assistance we'd be dead or arrested for god knows what we would have done to put food on the table.

Social services exist to keep you safe from the poor just as much as they exist to keep the poor able to move upward through socioeconomic class

krisdol··on Thinking About Smart Contract Security
DAO also has connotations in software architecture which makes this more confusing. What does DAO stand for in this context?
krisdol··on The illegal city of Somerville
As a resident of near-downtown Boston, I want cars out of my neighborhood, ideally the entire downtown. I love the wide sidewalks and want bigger ones. Mostly I'm jealous that we can achieve neither the efficiency nor the beauty of transportation in Central European cities like Zürich because the suburbanites, their remote matchboxes, and their eyesore parking garages are obstacles to every proposal to improve (or even maintain) public transportation. To choke those folks out of the area with narrow streets and zero-car zones would be a blessing.

Although a more effective solution would be to scrap zoning laws and actually make the suburban blight towns convenient for workers and pedestrian residents.

krisdol··on Node.js Examples – How Enterprises Use Node in 2016
We're a small company, about 150 folks, but our core api is node and we process 10-20bil external requests per month depending on season. Not exactly an enterprise and we have always been a NoSQL shop so YMMV.
krisdol··on Being sued, in East Texas, for using the Google Play Store [video]
No, iteration is fair game, but `for` is an API name patented by Oracle. Legally, a patent troll would have to write a `whenceforth`, `do...thither`, or `oft` loop.
krisdol··on Atom 1.8 and 1.9 beta
In sublime or atom? You can in atom but I believe it may be via a plugin.
krisdol··on Atom 1.8 and 1.9 beta
Have you tried clicking the link at the top of this page that takes you to the release notes?
krisdol··on Basic income plan clearly rejected by Swiss voters
A good point. I'm not familiar with the switzerland law or referendum.
krisdol··on Basic income plan clearly rejected by Swiss voters
I'm not sure that's a downside, unless you prefer hearing prayer 5 times a day. I fled Bosnia during the war, but I visit it occasionally and each time it appears more religiously extremist than the last. All other countries should take a look at what has happened there and consider the importance of implementing cultural integration in addition to economic integration when accepting large incoming migrant populations.

When you hire for a company you want your dream team to have a diverse background of ideas and experiences but that doesn't mean you let them work on the goals and products they worked on at their previous employer with whatever processes they want.

Edit: to be clear, I'm not sure the specific minaret law is a downside from my experience, but that is not to say that your overall point on populist reforms is invalid. I was just focusing on the specific law.

krisdol··on Async and Await
> And there's just about never a reason to use the `Promise` constructor in real world code

Why not? If I want to wrap a callback function in a promised sequence, I don't see a way around it. Please don't suggest importing bluebird/promisifyAll because that only teaches me how to avoid thinking about the problem, not how it's actually solved, let alone why it's a problem to begin with.

  function promiseMeFoo() {
    return new Promise((resolve, reject) => {
      asynchronousFoo((err, out) => {
        if (err) return reject(err);
        return resolve(out)
      });
    });
  }
^ aside from just rearranging the code for legibility, how can I do the same thing without constructing a promise explicitly?
krisdol··on Async and Await
For a good starting point for anyone who doesn't know how to handle callback hell without promises or transpiled features, this is a must read: http://callbackhell.com/.
krisdol··on Googling yourself now leads to personal privacy controls
Personally, I hate it. I only use google when DuckDuckGo results aren't up to date yet and every time I do I'm reminded of how much I have to fight with the search engine (have to do search tools -> verbatim half the time)
krisdol··on How to win the coding interview
Last time I made interview rounds, about 50% of places gave whiteboard questions, 25% gave essentially the same questions but had me do them on a computer or screenshare rather than a whiteboard, and the rest had some kind of take home component that was usually larger than the whiteboard question but also more practical and relevant to my skill set. Obviously I prefer the last option, but even if you prefer to give whiteboard-style questions, why not at the very least allow them to complete it on their laptop in front of you if they so choose?

It seems incredibly arrogant to me that interviewers assume there is only one way to solve a problem, and that is by brainstorming on a whiteboard first. I don't feel comfortable standing up in front of the class to present a solution. I feel far, far, far less comfortable if it's a coding-related solution. I did significantly better, like pretty much 100% success rate on coding components when I could hit keys rather than display my chicken scratches on a whiteboard.| I move code around a lot as I prototype and it takes quite a bit of training for me to adjust to not having the option of restructuring as I code because the medium is a whiteboard or piece of paper. And every time I erase something my level of anxiety and nervousness just grows.

krisdol··on What Does It Mean to Be Poor in Germany?
https://www.wsws.org/en/articles/1998/07/bos-j16.html

>As early as the end of September 1997 the employment offices were given instructions to systematically withdraw the work permits for Bosnians. Thousands of Bosnians, many of whom had worked in Germany for years, received duplicated forms, in generally restrained wording, notifying them that the employment centres had to first check whether there was a German available for the job.

← PreviousPage 8 of 23Next →