HNHacker News
TopNewBestAskShowJobs

safewayclubcard

28 karma · joined February 9, 2015

submissionscomments
safewayclubcard··on How many lines of code is Candy Japan?
Yeah, but that is just how people are. You can huff and puff but clearly the design and format of HN is largely to blame.

People whining about down votes and then complaining about it only makes the discussions worse. Your comment is going to be seen by maybe .1% of HN. There are better avenues to raise this issues.

If you want to change how down votes are handled going off topic in a discussion is not how you do it.

If you are complaining about down votes you are polluting the discussion even more than the erroneous down votes themselves.

People are people. It takes more to change behavior than complaints.

safewayclubcard··on Using attrs for everything in Python
I would consider that a negative.

> There should be one-- and preferably only one --obvious way to do it.

Whats going to happen when all professional code is using `attr.attributes` but all the documentation uses `attr.s`?

Anyway its a minor point. I personally think it is a poor decision when a programmer decides to be cute than clear.

safewayclubcard··on Building fast.com
Do you have any proof that running a cron job impacts internet performance?
safewayclubcard··on Squirrel Programming Language
Is that what https://github.com/rvirding/luerl is doing in the erlang VM?

From the docs:

> It should give you a Lua environment that allows you to effortlessly run tens of thousands of Lua processes in parallel, leveraging the famed microprocesses implementation of the Erlang VM. The empty Luerl State footprint will be yet smaller than the C Lua State footprint.

safewayclubcard··on Russia and the Curse of Geography
Thank you for balancing the conversation. I don't think the article is bad for portraying the Russian point of view. A lot of times when I speak to people about Russia they have a heavy western bias (not a bad thing) and I think it's important to see both sides. A lot of times any Russian centric piece gets shot down.

As for your first point about Kievian rus being Russia: I think it's different as up to the communist revolution, peasants in Russia had almost no idea of the change of powers and many didn't even know the language they spoke was called. Most identified through Russian orthodox instead. The same kind of hold true today. I believe that if you asked most people in Russia, Ukraine (except I think modern day Ukraine would answer different than 30 years ago) they would say they are directly descended from the Kievian rus empire. I don't think that's the case with Rome and that is what makes it different. In the long term history of Russia, the current Ukraine is a small blip and Russia views itself as a thousand year old empire and wants to last another 1000 years so a decade or two of unrest is nothing it took nearly 40 years of mass starvation and hunger before the communist revolution overthrew the czar. As long as people are fed the aren't going to do anything.

But what they are doing is still pretty shitty.

safewayclubcard··on The Haskell user experience
I agree with this statement.

I think lazy evaluation is very hard, especially when you are dealing with a codebase of of say 50 files with structures containing other structures, the line between lazy and strict is very hard to see.

The difficulty learning lazy evaluation skill goes from

* 0 where you know nothing to 5 where you sort of understand.

* 5 - 90 is a space where you think you know what it is, but you really don't. You'll probably get yourself in trouble more than helping.

* 90-100 is when you grok it and can use it effectively.

I am an avid haskell user for a few years and I am still 50/50 on most of my conclusions about laziness without asking someone else.

safewayclubcard··on The Haskell user experience
> Trying to find where an a out-of-bounds list error was happening

I agree that in some real world runtime debugging, haskell falls short, due to the strictness that it imposes and how observation through debugging can change how the code executes. I have also spent a week or more tracking down a memory bug that was solved by a single `!` (to add strictness).

But the glory of haskell, is that you really don't need to debug runtime code. If you take advantage of the types

Having used haskell for about 5 years now, I think anywhere that you can even have an out-of-bounds list error is an anti-pattern. You should restructure your data to match the type.

Using list lookups aren't what lists are for. Unless you are implementing a specific algorithm, manipulation and access of lists should only be done via folds, maps, pattern matching or similar functions.

If you are accessing members of a list directly by their index, you want a different data structure

safewayclubcard··on Apple closes trading with $700B+ market cap
This is huge. My parents (ages >60) bought galaxies. They pay $9 per phone and a >$200 deductible if it breaks. The insurance is through a 3rd party. That is insane.

if it breaks 12 months in, you put in $108 then $200 for the deductible. Those are conservative estimates because I can't find the pricing right now but I now it is more.

My iphone apple care was $100. If it breaks that is $79. I can break it 3 times over the course of 24 months and it is cheaper than breaking the galaxy once at 12 months. Applecare is a steal.

safewayclubcard··on Stream of Foreign Wealth Flows to Elite New York Real Estate
I rent a guest house in Woodside. I really love it. It is the only place that feels "rural" but still able to commute to the valley below. Its nice to be able to rent a sizable house that was 2x the size of my Palo Alto apartment for the same price.

I don't see any negative effects of the LLC property ownership. Woodside is a very tight nit community and I never really felt any wealth gap effects, even though there are a lot of people who are just ranchers. Its not like the people who live in these mansions steam roll over everybody and get what they want they work together to make sure Woodside remains the way it is (small town feel, rural, ranches, horses, etc.)

Its rather unfair to go "blarg" just because someone has a nice house.