Better HN
topnewbestaskshowjobs
Log inSign up

chuckcode

670 karma · joined May 20, 2013 (13y ago) · 239 submissions

Submissions

comment 8y ago · link · parent

+1 to this post by koliber. Only thing I would add is to plan as detailed as you can everything beforehand. Draw it up, visualize it. What sort of hinges on doors, how will the cabinets swing, etc. etc. Before you even start building a wall you have to decide how wide you want the trim around the doorway as you'll want the light switch just that far from the door and you'll want a 2x4 there with electrical. So there are a lot of cascading intertwined non-obvious decisions and it is remarkably expensive to refactor a house partway through construction.

comment 8y ago · link · parent

I really like notebooks as a way to share an analysis or data visualization. For me the biggest benefits are: - Integration. So nice to have access to the compute, data and libraries all in one place. There is a surprising amount of hassle moving data, setting up paths and libraries, etc. Notebooks almost act like for a container for data analysis rather than service. - Sharable and reproducible. My coworkers can reproduce and explore some new idea with almost no effort, especially important when their strengths are more ML or stats than devops. - Literate programming. It is really nice to have plots, markdown and code all it one place when deliverable is a report or analysis rather than code.

Even with these benefits I do think the criticisms about software development are right on point. Notebooks are a step backward in terms of software engineering environment with none of the modern tooling, version control, testing frameworks etc. I think that the folks who dismiss notebooks as a platform though are missing some important benefits that have long been absent in current editors. Larger companies like Facebook and Google are already facing the reality that devops is a pain point even for sophisticated software engineers and have developed remote code editors like cider and nucleotide to try and enable bringing code development to the data and compute rather than doing it from the laptop. R has been working on a long time on integrating analysis results and code in a reproducible package with sweave/knitr and python now has pweave in a similar fashion.

I hear all the issues with jupyter and I'm not particularly married to current form of notebooks. I do think though that the features of remote development, data visualization and support for literate/report programming and sharing ode are first class features that I'll continue to want in the future.

comment 8y ago · link · parent

Completely agree about missing the actual benefit to society of focusing on better education and opportunities for all. Amazing how quickly things can go off the rails when you start evaluating middle management off some metric like "number of diversity hires" which seems like a good idea but then backfires into something ridiculous like this. I hope this sets a fire under Google's management to keep better track of HR

comment 8y ago · link · parent

I think we can all agree that bad managers suck and managers who pretend to be technical particularly suck. However it feels the me though like we greatly underestimate the difficulty of being a technical manager and grievously under train them. Google has gone past the one-off personal experiences and studied across lots of teams and projects[1] and being a technical expert wasn't even close to the most important trait. I'd like to see us spend less time proposing "no managers" as current ones aren't good and more time on figuring out how to make them good and give them training and support they need. Most of the ones I know want to be successful and are trying in their own imperfect way. If you think the most important thing is technical prowess just take a look at any academic CS department, run only by super technical professors it is often a case study in anti-patterns.

From Google's study on managers reported in nytimes[2]

  “In the Google context, we’d always believed that to be a   manager, 
  particularly on the engineering side, you need to be as deep or deeper 
  a technical expert than the people who work for you,” Mr. Bock says. 
  “It turns out that that’s absolutely the least important thing. 
  It’s important, but pales in comparison. Much more important is just making 
  that connection and being accessible.”
[1] https://rework.withgoogle.com/subjects/managers/

[2] http://www.nytimes.com/2011/03/13/business/13hire.html?smid=...

edit for formatting

comment 8y ago · link · parent

I like this idea. I wish more of the places I have worked had explicit guidelines around how to work as a team (e.g. don't trivialize work that isn't). It doesn't take many poor timed comments to shut down a team's discussion.

comment 8y ago · link · parent

Would be nice if authors compared to some of the existing linear algebra packages with SIMD support like Eigen[1] which I've found to be very useful and easy to use. Header only includes, additional functionality and cache sensitive algorithms in addition to SIMD.

[1] http://eigen.tuxfamily.org/index.php?title=Main_Page

comment 9y ago · link · parent

I currently use it for java and c++ builds inside a largish tech company. Build systems are definitely not one size fits all though so I would encourage you to pick one that meets needs of your project. If you want to build for different platforms like unix, windows, iOS, android and have a big complicated build then I'd encourage you to check out bazel. If your project needs are pretty simple I'd say just start off with a simple makefile.

comment 9y ago · link · parent

+1 for bazel. It also scales to large builds and handles java as well. We've seen big decreases in build times by using it as it does caching, parallel execution and good dependency analysis.

Getting up to speed can take a little doing though as the original docs weren't great and there are some counter intuitive things about it. I think the docs are improving but some things a little odd like everything gets dumped into ~/.cache/bazel without any command line option to change [1]. Feels like the first time I used git where you suspect that the authors designed it to be difficult to keep the lazy away.

https://docs.bazel.build/versions/master/output_directories....

comment 9y ago · link · parent

Agreed. Useful but documentation is minimal, uses some non-standard naming conventions.

comment 9y ago · link · parent

Love this idea!! Verify backups or some portions of backups randomly from time to time would be great. This is one of the biggest problems I've seen with backups. A number of cases where "it used to work" but now it doesn't a year later when you need the backup.

comment 9y ago · link · parent

Pinterest's policy is to hire people on what they can do, not who they are. Hire the best person for the position not a specific gender or other trait. My understanding is that Candice's role is to help ensure that we're avoiding biases in the our hiring process, trying to ensure that that we have a diverse pool of candidates to begin with and work on longer term programs that help to generate well qualified diverse candidates. I wouldn't believe anyone who says they know how to make the tech industry population similar to the overall US population distribution but I think it is still good to have people thinking about it and working on it.

comment 9y ago · link · parent

Pinterest has a Head of Diversity [1]. Her name is Candice and she's great. I can see how people are sensitive to diversity issues as humanity has a long history of various forms of discrimination. Let's try to be data driven here though and see if we can take some lessons from other fields that have had success with issues of diversity. For example, it sure seems like medicine has really moved the needle on the percent of doctors that are women over the last 10-30 years. I'm sure there are some lessons in there that we could use to help our diversity in software and engineering as well.

[1] https://techcrunch.com/2016/01/06/pinterest-hires-its-first-...

comment 9y ago · link · parent

My experience has been that my H1-B coworkers don't get paid as well as US counterparts sand that there is significant friction for them to change companies or even get a big promotion if they are in process of applying for green card. Rather than adding more rules to an already difficult process though I think the best solution would be to allow people with H1-B to easily change jobs after some period of time at the original sponsoring company (e.g. 6-12 months). That way it would be harder to pay below market rates and would be much more dynamic than having the government trying to estimate what the prevailing wage should be.

I get really frustrated though with most articles on the H1-B visas which either seem to be bashing immigrants or imply that somehow more government regulation will help the situation. In my experience growing up in the US we are incredibly lucky to have such talented people coming here to work and they have contributed incredibly to the tech companies in the US which are really one of the few bright spots in the US economy. Some of the smartest and hardest working colleagues I have grew up in other countries and we are lucky that they have come here to build the US economy.

comment 9y ago · link · parent

In my experience learning is not a "one size fits all" product product, or even fits most. I'd really like to see schools have more resources and expertise to address different kids learning styles and aptitudes as I have yet to see a single style of teaching that works for all kids. Ideally they wouldn't have to go to different schools as I think it is good socially to learn to interact with all different types of people from an early age.

comment 9y ago · link · parent

The pain for me here isn't that process can take some extra time, it is that the developer doesn't know what is expected and keeps getting surprised at every step. It can soak up a lot of calendar time and developer motivation to have a code change swatted back and forth as different people weigh in with various undocumented guidelines/policies/standards over a period of days or even weeks. This could have been a very different experience if developer had known what was expected from the start.

Ideally I'd like to see code reviews culturally in an organization be mostly about catching bugs and collaboratively learning the craft of coding better. It can be very frustrating and demotivating when it devolves into a series of undocumented style and naming requirements. I think it is good to have standards and process but seems like most places I've worked are woefully short on documenting these hidden requirements.

comment 10y ago · link · parent

Even if relatively small in market size compared to current Android install base I think Google would like to grab some of Apple's profit from the high end. While Apple has around 17% of unit sales in smartphones they earn something like 91% of the profit [1]. I'm sure other competitors will be aiming to get some of that profit for themselves or at least make life hard for Apple by using competition to drive down Apple's margins.

[1] http://www.forbes.com/sites/chuckjones/2016/02/13/apples-iph...

comment 10y ago · link · parent

Reverse debugging is a nice feature but just skip to 9min in to watch the demo of reverse debugging. Surprised to see so much of the video talking about the UI of gdb which certainly didn't change my opinion of it. I've found emacs+gdb to be very useful over the years especially when debugging on remote servers but this demo just reinforced my opinion of gdb being a very powerful program that is pretty difficult to master. Also reinforced my opinion that you should open your talk with at least some of your best content rather than saving it for the last few minutes.

comment 10y ago · link · parent

Report from I cited TomTom says SF in particular has second worst traffic in the US[1]. I think lots of other cities have terrible traffic and ranking would certainly change depending on how exactly one evaluates traffic and what are the limits of the metro area. Point here is just to show that traffic is already bad and public transportation is also impacted. Especially in SF where Muni is by their own report [2] the slowest and most expensive to operate public transportation of 10 comparable US cities.

I just appreciate top comment bringing up this type of infrastructure as I think there is room for big improvement in Bay Area. We really need it to support any increase in housing which is also badly needed to ensure a diverse and prosperous economy going forward.

[1] http://www.tomtom.com/en_gb/trafficindex/list [2] http://sfcontroller.org/sites/default/files/FileCenter/Docum...

comment 10y ago · link · parent

Really appreciate the note on public transportation. Limited housing gets a lot of the press currently but other infrastructure including public transportation is pretty overwhelmed currently as well. The traffic is already the second worst in the nation [1], and existing major public transportation like bart[2] and caltrain[3] are also overloaded. It also seems like it would be a lot easier to fix as the current system is pretty crazy with most public transportation done at the county level with 20 operators in 9 counties so for most public transportation you can't cross a county line without transfering[4]. I think a lot of people living in the bay would be more open to development if there were actually going to be infrastructure to support it.

[1] http://www.tomtom.com/en_gb/trafficindex/list [2] http://www.sfchronicle.com/bayarea/article/BART-gets-candid-... [3] http://www.caltrain.com/Page3882.aspx [4] http://www.nytimes.com/2015/08/02/us/bay-areas-disjointed-pu...

comment 10y ago · link · parent

Agreed. And this article could just as easily be run with the headline "Schools do almost nothing to stop known cheating" which would make for more bad press.

comment 10y ago · link · parent

I went to grad school with a lot of Chinese visa students. It was pretty clear about a week in who was the real deal (absolutely brilliant students) and who had worked the system to get into the school. The ones that had cheated their way in generally were generally just average folks who had taken what they viewed as their best option in a very high pressure and high stakes situation. I'm guessing most of my US raised classmates would have made the same decisions in same situations and certainly fair bit of them cheated although usually in less dramatic fashion.

The part that is surprising to me is that schools aren't doing much to prevent this. Studies show us when humans are likely to cheat and probability of getting caught is at the top of the list [1]. How universities and colleges can raise tuition an average of 8% a year and get away without doing a minimum of due diligence around cheating is beyond me. Simple things like some certified system for transcripts, letters of recommendation and teachers who ID/recognize their students would be a huge step to resolving these issues. At my grad school the only change was to make foreign students take the TOEFL[3] upon arrival which solved their big problem of english skills as graduate students are supposed to be teaching assistants in undergrad classes.

[1] http://www.newyorker.com/tech/elements/inside-the-cheaters-m... [2] http://www.finaid.org/savings/tuition-inflation.phtml [3] https://www.ets.org/toefl

comment 10y ago · link · parent

While the cost of housing in the bay area gets a lot of press the entire infrastructure of the bay is getting stretched by the current tech boom. The traffic is already the second worst in the nation [1], and existing public transportation like bart[2] and caltrain[3] are already overloaded.

While I'm generally in favor of development I think that this simplistic approach of just going around local planning departments is just going to lead to more problems. I think it would be better to cut state and local funding of counties if they don't match growth targets that region commits to. This way we incentivize communities to embrace growth while letting the residents still have a strong say in how and where their community grows. Letting developers call the pace hasn't made for good urban planning in other parts of the country and there is no reason to expect it to do a lot better here. Let's incentivize these parties to work together rather than giving one all the power to drive the process.

[1] http://www.tomtom.com/en_gb/trafficindex/list [2] http://www.sfchronicle.com/bayarea/article/BART-gets-candid-... [3] http://www.caltrain.com/Page3882.aspx

comment 10y ago · link · parent

I would add SQL to your examples of subject specific languages. Great language in a very specific application that lots of developers know and are familiar with but would never write a web server with it even though it is arguably turning complete[1]. In my experience using SQL as an example also sidesteps a few flame wars around languages that are nearer and dearer to people's hearts.

[1] http://stackoverflow.com/questions/900055/is-sql-or-even-tsq...

comment 10y ago · link · parent

Completely agree that standardizing notation takes decades as a lot of it is how textbooks and tutorials from experts are written. I for one though am really glad that we standardized on Leibniz's notation rather than Newton's for calculus though and aren't using roman numerals anymore.

comment 10y ago · link · parent

Might be a little premature to call for retirement of sigma. The mathematical concept of standard deviation is super useful but I agree that the name is confusing and that we need to improve the naming and ideally the notation and teaching of statistics. Ability to deal with uncertainty and variance is becoming more and more important in all sorts of fields as data volumes get larger so I'd hate to see us give up just because it is hard to understand.

comment 10y ago · link · parent

More data points do help the individual know their baseline range for when they feel healthy compared to range when they experience a health problem. Looking at second order effects like when a value suddenly changes for a particular individual can be very indicative of a problem. More data points would also allow us to look at correlations in the data to better refine the interpretation for combinations of tests.

I can understand economic reasons why since we're all paying for insurance collectively we might want to limit testing. What I have a harder time understanding is medical profession demanding that physics change to accommodate their process rather than changing their process to accommodate physics and statistics.

I really don't expect any tests to be perfect. I especially don't expect any test given when I'm sick to be able to tell me what a normal value for me should be when I'm well. What I would like to see is us embrace the reality of data and have enough of it that we can start to separate the signal from the noise. Just look at examples like the success of The Nurses Health Study[1] because they looked at lots of data over lots of years from lots of people. Not surprisingly a lot of health issues are difficult to understand looking at single data points.

[1] http://www.nhs3.org/

comment 10y ago · link · parent

Completely agree. False positives are a fact of statistics, what we need is more data to establish baselines for people and populations and understand when is the right time to worry. I'm genuinely surprised that doctors aren't leading a charge to get more data about their patients and arguing instead for less testing and data. Do they really feel that their diagnostics are so good that they only need a few data points every couple years? My watch and phone know more about my health than my doctor.

comment 10y ago · link · parent

Pretty disappointed with 538 on this article. The basic argument is that we shouldn't do more medical testing as doctors aren't sure how to interpret the results, public isn't sophisticated enough to understand and too lazy to do anything even if they did.

Personally I feel that if we had more data over a larger group of people we would be able to learn what leads to disease better. Further I'm a little shocked that the medical industry can get away with a stated policy that patients should wait until their symptoms are acute and then get a minimum number of tests so their doctors don't get confused. I'd like to see us have more data about our health even if we're not sure what to do about it right away. Ignorance is easier to implement but isn't always bliss.

comment 10y ago · link · parent

I'd be interested in what you liked with other task trackers that felt bewildering in Asana? I've been using computers long enough to remember when window managers were a big innovation but my experience with Asana was the opposite. It was so easy to enter tasks and set them up compared to JIRA or other tools I'd used that it felt like Asana got out of the way and I could just get back to working. The only things I miss are referable ids and some of JIRA's reporting/querying capabilities.

comment 10y ago · link · parent

I think that an exchange that places less of a premium on speed like the IEX is an way to evaluate claims that HFT is hurting markets. Let the market evaluate by providing different options to investors. If HFT is providing benefits in terms of cost or liquidity then IEX will fail as it is not providing those benefits. I'm all for providing options to investors and letting them vote with their dollars about which exchange they like best. If HFT is truly providing value then they should welcome some competition to show how much value they are adding.
12345
8