HNHacker News
TopNewBestAskShowJobs

lyudmil

522 karma · joined June 24, 2009

I'm building a platform to allow anyone to build interactive apps for web and mobile (still in alpha):

https://www.guidedtrack.com

Here are some random experiments: www.github.com/lyudmil

If you want to talk to me, feel free to get in touch:

lyudmil.i.angelov@gmail.com @lyudmilangelov

submissionscomments
lyudmil··on Once Greece goes...
I think I openly admitted that the way the Greek government was spending money was terrible. Yes, I agree with you. The Greek economy was a joke and it definitely needs to change, but let's talk about the situation as of the initial collapse.

The fact was (and remains now) that they need(ed) money just to keep afloat. The CEB could have put any provision it wanted on the money lent. They chose to force the Greeks to cut spending. My argument, informed by what I've read on the topic, would be that it would have been better for them to force the Greeks to spend the money as a stimulus, making the sort of investments that you talk about. Instead, the CEB likely worsened an already pretty dire situation.

I think you'll agree that the interesting part of this argument isn't Greece at all, but the case study Greece is becoming. It's clear more austerity measures are coming in more European countries and the US. I think it's a bad idea and I'm curious to find out what this community thinks.

lyudmil··on Once Greece goes...
Every time I bring this up I get down-voted, but I cannot resist.

No one argues that the Greek economy was in good shape. It clearly had severe problems with corruption and inefficiencies, which were brutally exposed when the global financial crisis hit. Everyone suffered, but because of the problems in the fundamentals of the economy, Greece suffered disproportionately more. However, the European Central Bank lent the "bailout" money demanding cuts to public spending that, in the current economic situation, would have very likely worsened the Greek economic situation. Greeks realized this and protested, but were (understandably) dismissed as spoiled brats, demanding an unsustainable, comfortable lifestyle.

Now that the likely, predictable outcome is looking even more likely (namely, default), journalists are still omitting that crucial part of the analysis. Many economists warned that in a crisis of demand, which is what we're experiencing now, cutting government spending is a bad idea. In a situation of such great uncertainty in the market, the government is the only source of demand big enough to make a dent. It must, of course, borrow the money and therefore increase its deficit by doing so, but that's a worthwhile thing to do when the alternative is default. After the economy has stabilized, the deficit problem can be overcome by growth. Moreover, even if deficit reduction is your priority, if the economy is shrinking you're always going to be fighting a losing battle no matter how many spending cuts you make.

To summarize my point, the Greek economic turmoils are less of a cautionary tale of the perils of uncontrolled spending (although they clearly are also that), and more an illustration of the negative effect the austerity measures recommended by the ECB are having on the economies they are imposed on. It should give leading European nations pause when considering what to do with the rest of the troubled economies in the eurozone.

lyudmil··on Google Calendar Redesign: It's Goddamn Terrible
I know this is essentially what us geeks do - we think about minute details, obsess about them, and hope that this ends up mattering. Usually I find this kind of compulsive preoccupation inspiring, but this article was so out of touch with reality I found it uncomfortable to read.

Suppose we grant the author that his criticism is objectively valid from the point of view of a UX designer (obviously a huge concession). Still, you're left reading an article in which a person complains that he perhaps prefers reading white letters to black, that a piece of software takes away the ability for him to tell what day it is, and that he cannot find his calendar on the page because he's so distracted by blue buttons.

On top of it all, looking at the screenshot provided it's pretty clear this person is not an average calendar user. Designing a usable calendar for someone with this many appointments each week is a completely different challenge to designing a usable calendar for me.

Perhaps a deep breath and some perspective acquisition is in order.

lyudmil··on Geeky Stats About Magic Mushrooms
The sample seems a bit odd. Reading the comments it seems that a disproportionate percentage of the subjects were into meditation (a number of them report "increasing meditation"). I haven't read the study but it seems to me they'd have a hard time publishing their conclusions as they stand now.

I'm particularly skeptical of medical research. An ex-girlfriend was a student at Harvard Medical School and worked in three different labs on drug development. Two of the three studies all the labs published in a year contained data that was either pruned or simply misreported to exaggerate the effect of the drug. I know that's anecdotal evidence, but there's a lot of grant money floating around in medical research and all the incentives are skewed towards positive results, which often leads to bad science. I fear this may be yet another example (speculating, admittedly).

lyudmil··on The man who screwed an entire country
From what I've seen the long meals and afternoon naps are a myth (even in Spain people don't do that anymore). In fact, I'm willing to assert Italians work harder than the French. They have a 40 hour work week (the French have 35) and three weeks vacation (5 in France, by law). The French are exactly as hedonistic as the Italians, so whatever incompatibilities the Italian way of life has with a strong economy, they would be a factor in France as well. However, I have yet to read the article or comment on HN supporting the urgent need to completely restructure the French economy.
lyudmil··on The man who screwed an entire country
I've been living in Italy for two years now and I have to say I don't see this resistance to the capitalist world you assert they have. In the North, where I live, the economy is large and lively, people are rich, and they work hard. There is, of course, a palpable difference between the way of life here and in Northern Europe, but it isn't as big as I think most people expect (the food and coffee are better). It feels very similar to a typical European capitalist economy.

Of course, that's only half of the story. Southern Italy, despite it's idyllic landscapes and hedonism, has some serious economic, demographic, and social problems and they don't deny it. I have never felt they wore it as a badge of honor to signify some inner nobility, as you posit. Most Italians I've talked to want to solve these problems and believe they're actively working to do it. They don't feel the fact that they enjoy a good quality of life impedes their ability to develop a strong economy - they think the best of both worlds is possible.

lyudmil··on How I Learned to Live Google-free
Unpaginated link:

http://spectrum.ieee.org/telecom/internet/how-i-learned-to-l...

lyudmil··on Regarding Unit Tests
I think there are three more reasons to do unit tests I wish the author had mentioned:

1. Not only do they prevent you from messing your code up because you forgot how it actually worked, they prevent you from having to think about how and whether you've messed something up. I find this to be a creativity boost.

2. By helping you maintain the same level of quality, they ensure that if you don't add any new features but keep fixing bugs (and unit testing the fixes), your bug-count will go down. That's a good property for a system to have.

3. They give you the freedom to quickly and securely change your design, which in turn means you can keep improving quality, which in turn means you maintain higher productivity in the long run.

With this in mind the it seems the author's suggested alternative approaches fall short of what unit tests can do.

lyudmil··on Ask HN: Manipulating a client into making the right design decision
Thank you for your reply. It helped me grasp my feelings personally and gave me some great ideas. I'd like to give a quick response to some of your points.

To your point on manipulation: I agree and I'm using the word "manipulate" a little cynically here. What I used it to mean is a frictionless way to convince my client.

Regarding educating: I agree again, but I suppose a good portion of my question boils down to how to put myself in a position to educate, given that my client feels design isn't something I ought to have much of an opinion about. I fear that trying to educate without first having overcome that will lose me a lot of political capital.

On finding alternatives and gathering feedback: Great suggestion. I'll definitely do that, thanks.

On working within the client-defined parameters: I try to stay aware of that. As I pointed out in my post, I'm going along with their decision and changing the font without making a fuss. I still would like to find the limits of those parameters.

On disassociating myself: I regret that's the way it came across because it isn't how I feel. I never considered walking away - I'll definitely finish the project. My comment with regards to putting it on my resume was more related to my skepticism about how much professional benefit I might receive from the project once I'm done with it if things aren't done right.

Thanks again for your reply. It helped in more ways than one.

lyudmil··on The Programmer's Dilemma
This feels like an argument on the wrong level of abstraction. Even if the methodology is at fault, it seems silly to say "Waterfall is the problem." That's simply too large of a point to make. You could say that you fell behind during development and couldn't tell that you were falling behind, so the problem snowballed. That's specific enough for people to discuss without resorting to politics. Otherwise you're taking the organization's dysfunctions head-on, which is a losing battle.
lyudmil··on Tens of thousands in austerity protest in Spain
Thanks. I'd love to know how you disagree, though.
lyudmil··on Tens of thousands in austerity protest in Spain
It's clearly a dumb thing to do, I agree. I'm just arguing it's better than austerity.
lyudmil··on Tens of thousands in austerity protest in Spain
Well the construction sector is nothing like half of the economy (16% of GDP, 12% of employment before the crash). Still, if you have 16% of your economy collapse, you will have severe problems. However, the reason why it collapsed is the same reason it collapsed everywhere else in Europe - there was no financing. Your point simply doesn't contradict mine, except for your assertion that the private sector is the only way out.

The private sector cannot currently be the solution because the money it depends on are in banks as I pointed out before. Banks aren't lending because of the problems on their balance sheets. The government, on the other hand, can print money and is the only institution that can do so, so it is your only option.

My evidence in support of what I'm arguing is Germany, whose government intervened to stimulate the economy and currently has had less of a drop in employment than the US even though its GDP fell more. Work-sharing is the most prominent, and probably most successful, program in that regard.

NOTE: I'm not arguing this is sustainable forever. What I'm arguing only applies to the current situation, which is anything but normal.

lyudmil··on Tens of thousands in austerity protest in Spain
Since you'll likely be directly involved politically in this issue (by protesting and/or voting), I urge you to read the comment I left as a reply to another comment further down the thread:

http://news.ycombinator.com/item?id=2558318

It's important to understand the reasons for the crisis. Your leadership should take responsibility for what happened, but the voting public should develop and demand different policies from their successors. I think it's crucial to realize austerity could only make things worse and that it's currently being forced upon a number of the poorer EU countries (I'm also a citizen of one). I'm sure corruption is a problem, but in this case it goes much deeper and runs right into the almost religious adherence to neoliberal economics throughout Europe and the US.

lyudmil··on Tens of thousands in austerity protest in Spain
Well the weird thing is that in this particular situation, bureaucracy could indeed create some economic value.

The current situation is this - we have a financial crisis set off by the collapse of the US housing market (the biggest single market in the world). Because of the financial instruments involved in financing US mortgages from 2002 - 2008 it's difficult for banks to tell how much any of their investments are indeed toxic debt, which means they don't know if they are solvent or not. Furthermore, they know all other banks are in the same situation, which means they are hesitant to lend to other banks, let alone consumers.

So, we have a stagnant world economy even though we have production capacity and we have people in need of goods and services, because the money supply is essentially being hoarded by the financial institutions. In this situation the government is the only source of demand left. It could create this demand by investing smartly into infrastructure or paying someone to dig a whole and another person to fill it up. One is clearly better than the other, but in the short term they're both better than austerity.

I hope I wasn't unclear. I think it's important that everybody realize this. These people might not have sophisticated reasons to protest austerity, but they are actually correct.

EDIT: I hate to bitch about being down-voted. Please don't think this is about the karma, but it is disappointing. I think what I wrote clearly adds to the discussion. I suppose it's okay to vote down if you simply disagree, but I spent time constructing a thought-out response and I think at least a discussion of where I got it wrong is in order...

lyudmil··on Stackoverflow Makes Hackers Lazy
"Copy/paste code from answer."

Copy/pasting is one of the most obvious code smells. I don't do it, you should never do it, and anyone who does should rightly be considered at best irresponsible and at worst incompetent.

The first reason is obvious - you need to understand every line of code you check in. I won't beat a dead horse here.

There is a more subtle point, however. Every programmer writes in their own style and it's important that your code has a consistent style (yours). This doesn't just include the cosmetic aspects (e.g. indentation), but also design tendencies, word choice, etc. I've never seen a piece of code someone else has written and thought "Wow, that's exactly how I would've done it." If you're willing to tolerate a completely different style in your source, then I question the degree to which you care about your craft, and consequently all of your work the way I would an author's if I found 5 pages written by someone else in their book.

So, please, read the code, understand why it works, figure out how you would do it, then code that up.

lyudmil··on Getting Started with Android Development
This is probably the most important piece of advice I would give someone getting started. I run OS X and at least for me Eclipse was a constant source of pain. IntelliJ looks better, runs faster, is more stable, and has all of the important refactorings bound to shortcuts - something you have to do manually for most refactorings in Eclipse, which is a pain because of conflicts.

In my opinion, if you're a newbie just use IntelliJ.

lyudmil··on Classifying Software Developers
I find the following sentences from the post contradictory:

"[Outwardly focused developers] copy and paste code they find in blog posts even if they don’t actually know how it works."

"Both [the vocation/avocation and inwardly/outwardly focused] scales are value neutral."

I think the first is clearly describing a bad developer. I suspect it is also meant to. There are other such instances in the post, which I fear drains it of content. Sticking with the second scale, it seems to me that when faced with a problem, the appropriate Ruby code ought to be:

  def solve problem
    my_solution = hypothesize_solution_to(problem)
    
    existing_solutions = find_existing_solutions_to(problem)

    #The sort other is by quality
    existing_solutions.sort!

    existing_solutions.reject do |solution|
      solution.sucks? or my_solution.better_than?(solution)
    end

    return existing_solutions.first unless existing_solutions.empty?
    my_solution
  end
There's some refactoring needed, but the algorithm is correct. I think doing anything different without a very solid reason is irresponsible.
lyudmil··on A “perfect” voting system
With regard to your first point, I don't think that's what the author is describing:

"Once all of the votes have been cast, you pick one voter at random and use their choice"

It's not a matter of representation, which would not only be OK with me, but necessary if we claim freedom of speech. The author is describing a random dictatorial mandate weighed based on constituency size. Maybe I'm completely misunderstanding this...

lyudmil··on A “perfect” voting system
Even if you consider running consistently over a long period of time?

Also, my hypotheticals were meant to be such that you wouldn't take even vanishingly small chances. If you are willing to, then I failed in my argument.

lyudmil··on A “perfect” voting system
I don't think that's what the author was describing. I think it was a case of everyone gets a vote, then we pick someones vote at random.
lyudmil··on Why programmers are not paid in proportion to their productivity
It's important to note that no one is paid in proportion to their productivity. In a free market, you're paid in proportion to your bargaining power. This means both that for programmer compensation to be fair we need to get better at translating productivity into bargaining power, and that there are some limits even if we got the first part exactly right (regardless of productivity, programmers will not be paid as much as CEOs, unless they are a CEO).
lyudmil··on A “perfect” voting system
This is a cool thought, but I think it's a bad idea to use it in actual elections. The author failed to really address the "crazy minority party" concern. His argument was that, while his system would give such people a chance in getting elected, it's only fair that it did since they indeed had a constituency and their chance of winning is proportional to their constituency size. He adds, "The fact that I consider someone to be utterly despicable doesn’t give me the right to disenfranchise them."

I'm not sure the point is valid. I certainly believe in freedom of speech and I accept my duty to protect the right of even the most offensive people to be heard (in fact, they should receive a greater degree of protection). However, by supporting a voting system that gives them no chance of being elected before they convince enough people for their ideas to be considered mainstream I'm not disenfranchising them since I'm not denying them the right to vote. I'm just marginalizing them, which is the proper response to all crazy claims and ideas. I offer two hypotheticals in support for those who still feel I'm infringing on someone's liberties by writing what I did:

(1) Suppose we live in a country that's a nuclear power. Suppose also there is a fascist party completely bent on nuclear war with Israel (for example) in our country and that they have a constituency that amounts to 1% of the electorate. Suppose nuclear war means total destruction on a global scale. I'll argue that giving those people a chance at forming a government is immoral and, in fact, disenfranchises everyone outside of your country since they have to control over who you elect, yet they suffer the horrible consequences.

(2) Suppose my party ran on a platform of dismantling democratic institutions (including elections of any sort) and vowed to distribute the majority of resources to my constituents, basically re-instituting feudalism. Random selection would give us the opportunity and the power to dismantle the democracy it was meant to be the engine of. It would also technically make it illegal for other countries to intervene, since our "feudal" government would be democratically elected.

lyudmil··on We’re In The Middle Of A Terrible Blubble
Suppose there are no companies such as Boo.com today. It doesn't mean there's no bubble. To say that there is no bubble, you'd have to make a convincing argument that the valuations companies are in line with the (future) demand for their services.

I'd really love to read a fair analysis of whether there is a bubble, but I fear the completely understandable bias of TechCrunch and HN is preventing it. Still, I like to think of us as a curious bunch and I hope we will talk about this honestly at some point.

lyudmil··on We’re In The Middle Of A Terrible Blubble
Interesting reasoning. A bubble occurs when an economic sector experiences growth that cannot be explained by the fundamentals (supply and demand). Overvaluation is implicit in bubbles. Keep that in mind while reading the following sentence from the article:

"No, the biggest problem [in 2000] was that no one had any idea how to value [tech] companies."

So, the problem with the 2000 bubble was that there was a bubble. However, it's different now because Wall Street knows to look at user-bases and page views, and the companies don't hire as many sales people as they did in 2000. That doesn't seem like a serious analysis of an important topic by an expert.

lyudmil··on Programming is not a craft
My experience was even worse. After reading the TL;DR I thought the author's point was vacuous. In order to comment on it responsibly I had to read the whole article, knowing that very likely it wasn't going anywhere. I think if you're worried about how long a post is enough to add a TL;DR, you should probably edit it down.
lyudmil··on Programming is not a craft
This was painful for me to read. It's an important topic, but the author's argument isn't even false.

The Software Craftsmanship movement does make assertions about the aesthetics of software, but more importantly it links the cleanliness of the design with the quality (read: capabilities) of the software. By saying your client doesn't care about the aesthetics of your software, they only care that it works, and therefore software is not a craft you're committing the fallacy of denying the premise because you're asserting those two things are disjoint and independent. The idea of "software as a craft" assumes the two are inextricably linked.

I'd like to add that people who have seriously thought about our field would know how futile it is to make analogies to different discipline. Software is sort of a meta-engineering discipline, where we try to come up with processes and practices that we could use to produce applications that have completely different domains. I think this makes Computer Science intrinsically self-referential and therefore intrinsically different from any other engineering practice or craft. By using analogies you're demonstrating that you don't know or accept this, which ought to automatically disqualify you from the discussion.

I know I stated a lot of the above more pompously and strongly than warranted. It's hopefully a better read this way and more of a conversation starter than a reflection of my character.

lyudmil··on Khan Academy: the bad
The first two points seem completely vacuous to me.

Khan has never lectured? So what? I know plenty of people who have lectured every day for decades and they're still no good at it. It doesn't seem like (professional) experience lecturing is necessary to be an effective teacher.

Khan has never taught, so he hasn't needed to deal with the difficulties of the classroom? Yes, and to think that's a problem is to deny the premise of The Khan Academy - that if people are allowed to learn autonomously, the problems of the classroom go away. That argument basically reduces to "No, they don't". That's hardly reasoned.

For me the greatest benefit of The Khan Academy is the fact that Khan is a great teacher. We know there are teachers who are more engaging and stimulating than their peers and we know there's very few of them. I see The Khan Academy as an exercise in scaling great teaching. The institutional effects are very interesting and important, but secondary to me.

lyudmil··on What if P = NP?
Correct. I should have said "neo-liberal economics".
lyudmil··on What if P = NP?
It would be a boon for laissez-faire capitalism, as it would prove that markets are at least weak-form efficient.

Reference: http://arxiv.org/abs/1002.2284

← PreviousPage 3 of 5Next →