HNHacker News
TopNewBestAskShowJobs

kisielk

844 karma · joined January 8, 2011

http://www.kamilkisiel.net
submissionscomments
kisielk··on Top Surprises When Starting Out as a Software Developer
I don't come from a CS background but rather my education was in computer engineering, mostly of the hardware and low-level systems programming variety. The majority of what I actually do for work is entirely self-taught.

I find that having a background in the lower-level aspects of computing does help a lot. The situation where I've seen people who know mostly software falter is when debugging problems that involve system interactions. My belief is that being able to construct a mental model of what's happening from top to bottom is crucial in solving some problems and people who can't do it eventually resort to just trying random things until something works.

I guess the take-away from this conversation is that it's useful to have knowledge in another related domain, be it computer hardware, low-level programming, physics, computer science, etc., even when you are developing only high-level applications.

kisielk··on Why I am tired of writing pull requests
The original gist is on the bottom of the revision stack on the right, it was by an anonymous user.
kisielk··on Seven Things I Hate About Agile
Curious to see what their proposed solution to the old people problem is going to be...
kisielk··on Stop Publishing web Pages
Wouldn't streams actually make it easier? The site that wanted to do the archiving could subscribe to the stream and slurp up the content as it became available. As far as crawling older content presumably having a stream doesn't preclude you from also having permalinks to each entry.
kisielk··on An Unexpected Ass Kicking
as a musician, I disagree. The iPad makes for a great adaptable electronic instrument. The major feature of tablets is that they become the app you're running. This lets the designers of the various synths for the iPad experiment with interfaces like was never before possible. Check out some of the stuff that Jordan Rudess's Wizdom Music is putting out: http://www.wizdommusic.com/

Jordan Rudess isn't just anybody, he's one of the top keyboard players alive today. He's always experimented with alternative instrument interfaces and I think the fact that he's doing this on the iPad lends a lot to its credibility as a creative platform.

kisielk··on Github: Notifications & Stars
Previously the watched repos were displayed in a widget on your News Feed page exactly like the current "Your Repositories" widget. It has a nice fast filtering text box. The stars page desperately needs this back.
kisielk··on Github: Notifications & Stars
This is awesome. I think most users have been wanting a feature like this for a long time.

One notable omission: There's no way to filter or search starred repositories.

kisielk··on Apple Support Allowed Hacker Access to Reporter's iCloud Account
And yet another option is a set of emergency use codes that you write down or print on a card.
kisielk··on The Crazy World of Code
funny, I feel almost exactly the opposite. If someone gives me a fairly concrete problem to solve I love writing a program to solve it. Of course there are times where I get bogged down in tedious minutiae where I'd rather be programming on some other bit but for the most part I find it pretty motivational to be solving a concrete problem for someone.
kisielk··on PyPy - Python 3k Status #5 update
Do we really need to rehash this tired argument over every single post that references Python 3? You can look at any other Python 3 related post in the last couple of years on HN and Reddit to find endless arguments about this topic.

How about a comment thread that actually talks about the post contents for once?

kisielk··on Coming Home to Vim
[fFtT], still works even with comma mapped to leader.
kisielk··on Things I like about programming in Go
Something that's said a lot about Go is that it's not that it brings a lot of new things to the table but that it it brings together many great features in to a clean and well thought out language.

The batteries-included toolchain including gofmt and the go command are another pleasure while developing.

As far as languages I've dabbled with in the last few years Go was definitely the easiest to get started with in terms of the development toolchain.

kisielk··on Things I like about programming in Go
Just the other day I stumbled upon that wiki page, it looks like a pretty reasonable technique and I've started adopting it.

Thanks for the pointer to the reflect package, I shall check it out.

kisielk··on Things I like about programming in Go
In the workplace we've written a pretty extensive suite of command-line programs in Python using the argparse module. It has some nice features to easily define subcommands as well as mandatory positional arguments, different argument multiplicities, etc. While most simple command line apps don't need this kind of functionality, the kinds of apps we are writing at my employer often do.

Anyway, neither of those cases are by any means a major downer, just two things that have been niggling me from time to time.

kisielk··on Things I like about programming in Go
I have used (and continue to use) both of these libraries. The testing library works fine but it doesn't include much other than the bare minimum. A more batteries-included library could include some assertion methods to test for value equality/inequality and provide some pre-canned error messages.

As for the flag package, it's fine for simple command-line flags but doesn't have anything to deal with specifying positional arguments. Sure you can get them from the Args() method but you have to basically write another layer of argument handling to deal with them. I like Python's argparse module's approach and flexibility there.

kisielk··on Things I like about programming in Go
I'm basically in the same situation though I've been programming with Go for under 6 months now.

A few features that have really begun to draw me away from Python:

* A step away from object-oriented programming while still providing a way to associate functions with types via methods. I've been tending towards a more functional style in Python lately with functions and simple types instead of heavy OO code. * Static instead of dynamic typing. I find that I rarely actually benefit much from the dynamic typing features in Python and they can often be a source of bugs.

A couple of things I still find myself missing regularly:

* A full-featured unit testing library like Python's unittest * A simple interface for defining rich command-line argument parsers like Python's argparse

kisielk··on RIM announces $518 million loss, 5,000 job cuts, delays BB10 to 2013
Because the company is and always has been lacking in any kind of vision or ambition. They have a middle management dominated corporate culture and follow the traditional hardware company pattern of treating their engineers like replaceable pawns. Exactly the wrong kind of configuration to compete in today's high tech culture.

Honestly I won't be sad to see them go, by all my friends' accounts it was a soul-sucking place to work. They had the early lead in the smartphone market and completely squandered it.

kisielk··on A visual Git reference
Just think of it as a commit having a pointer to its parent.
kisielk··on Final thoughts on Windows 8: A design disaster
Can you give some examples of Gnome extensions you find useful? I tried perusing the list a few times but nothing really jumped out at me as a huge improvement.

It seems it's not really a popular opinion, but I also like Gnome Shell a fair bit. It just gets out of the way for the most part.

kisielk··on Google Blockly - a visual programming language
This past weekend at the Vancouver Polyglot Conference there was a session with the author of Waterbear (http://waterbearlang.com/) that got a fairly good turnout. It looks remarkably similar.
kisielk··on Virtualenv to be part of Python 3.3
It's pretty common to deploy Python apps via a virtualenv. In most cases you will use something like a pip requirements.txt or fabfile for Fabric to define how to deploy your app and what are the dependencies. The file is tracked in version control along with the rest of your project.

If at some point you need to upgrade one of the libraries due to a security vulnerability, you would change the dependency in the requirements file and roll out a new version of your app to all your servers.

If you have multiple apps, then repeat the process for each app.

Generally it would be a bad idea to rely on a single installed version because often times the API can change between versions and different apps may target different versions of a library. It's preferable that each one has its own dependencies isolated in a virtualenv unless you have a really rigorous process for keeping all your apps updated to the latest library versions.

kisielk··on Google: We’ve acquired Motorola Mobility
I previously worked for a (small-time) handset manufacturer, and have done product testing for several others. I also have friends who work or have worked for some of the major names.

None of the companies have any clue whatsoever when it comes to UI design, software development, etc. The majority of the process is usually centered around putting some kind of brand-specific skinning on the OS as a "differentiator". It only gets worse when the carriers request their own specific branding on a handset. Usually the designs are put together by one or two designers and the emphasis is often on visual impact as opposed to usability. Flash tends to win over function, and often times things are redesigned for no good reason between product releases.

It's no surprise then that Apple is eating their lunch, at least they have a coordinated effort.

kisielk··on It Takes 6 Days to Change 1 Line of Code
We have mandatory code reviews for all changes and I think it works quite well. A person making a one or two line bugfix may think it's quite innocuous but it may have a bigger impact on other parts of the system than they realize. Many eyes help reduce the likelihood of that.
kisielk··on Django is now (officially) on GitHub
The same argument could have been used for SourceForge back in its heyday. Times change.
kisielk··on [dead]
And still all three acronyms are totally meaningless to me.

Residual-current device: http://en.wikipedia.org/wiki/Residual-current_device

kisielk··on Python iteration
What data structure are you using to represent your matrix? A list of lists? If so, it's not terribly difficult:

    >>> a = [[1,2,3], [4,5,6], [7,8,9]]
    >>> b = zip(*map(reversed, reversed(a))
    >>> b
    [(9, 6, 3), (8, 5, 2), (7, 4, 1)]
    >>> reduce(operator.add, b) # could also use a lambda with + instead of operator.add...
    (9, 6, 3, 8, 5, 2, 7, 4, 1)
kisielk··on $4,829-per-hour supercomputer built on Amazon cloud to fuel cancer research
Google does invest in life sciences startups: http://www.googleventures.com/portfolio#life-sciences
kisielk··on Light Table Is On Kickstarter
Based on how the software world works, I'm not willing to pay that much money to take a risk on a software project. Failure is way too commonplace. There's lots of software projects many people wanted to see made that were a disaster once actually completed. See for example Duke Nukem Forever
kisielk··on Google+ gets a redesign
But that puts the onus on the sender not to spam people who may not be interested. There needs to be more control for the receiving end.
kisielk··on The GitHub Styleguide
I wasn't singling out any particular languages, just giving an example. It's a lot easier to understand code in an unfamiliar language if it's written in an idiomatic fashion as opposed to using all sorts of tricks.
← PreviousPage 5 of 8Next →