HNHacker News
TopNewBestAskShowJobs

vamega

609 karma · joined March 25, 2012

[ my public key: https://keybase.io/madiathv; my proof: https://keybase.io/madiathv/sigs/rRgBgfsI0a_gKjldj-GEawc95GWebMiNpQs-I6XyodI ]
submissionscomments
vamega··on Backblaze is building a 270 TB storage pod
Someone just pointed out that you can't download data from them without providing them your private key's password. That seems boneheaded to me, and I guess would prevent me from honoring the pledge I made.
vamega··on Backblaze is building a 270 TB storage pod
Man, I keep seeing awesome posts about Backblaze, and really would like to use them. However I run exclusively on linux these days, and they don't seem to have a Linux client.

Public pledge, if backblaze releases a linux client, even if it's command line only and requires that I manually edit an XML file, I'll purchase a 1 year subscription.

vamega··on Ask HN: What is the best laptop for Linux?
I'd highly suggest the Dell XPS 13 developer edition [1]. It's actually sold with Ubuntu pre-installed. High end machine, and it's actually cheaper than the Windows version with the exact same specs.

Another great option is the Acer Aspire S7. According to the Arch Wiki, everything just works [2].

[1] http://www.dell.com/us/business/p/xps-13-linux/pd

[2] https://wiki.archlinux.org/index.php/Acer_Aspire_S7-392

vamega··on Announcing UberPool
The First Name and Last Name fields do not appear to work in Firefox. The input is correctly entered, but the text is not Visible.

Disabling the box-sizing: border-box shows the content. Anyone ever run into an issue like this before?

vamega··on I've never seen a language's style guide recommend avoiding comments before
So as another Haskell beginner, let me take a stab at the first one.

  * Return the first parameter
  * Return the second parameter
  * Perform param1 `mappend` param2
  * Perform param1 `mappend` param2
  * Return the mempty value for the Monoid m
The first two are unlikely to be correct, since if all they were doing was returning a particular parameter, then there is no reason to have the Monoid type constraint. The last one similarly makes no sense, since it's a function that is identical to `mempty` irrespective of it's parameters.

The order of operations however should be documented. I'm almost certain that the implementation is the third function, but a one line comment stating that could possibly be useful.

All of my above reasoning was predicated on an understanding of Monoids. So while I'm not sure the right thing to document is the function, I do think an explanation of `Monoids` should be documented in `Data.Monoid`.

PS - Where is that first function defined? I've used a similar operator defined in XMonad, but if I remember right that was defined over Arrows. Also is that second function from Data.Lens?

vamega··on DigitalOcean: Introducing Our London Region
This is not true. All Mastercard and Visa cards charge a rate that is specified my Mastercard and Visa on a daily basis. I've been tracking this rate for a few months now, and it's consistently been awfully close to the rate I find on xe.com.

The CARD Act of 2009 mandated that credit card issuing companies clearly describe the fees associated with foreign transactions.

Visa/Mastercard charge a cross border origination fee of 0.80%. However many credit cards (all cards by Captial One for example) waive this fee, and do not charge any fee of their on on top of this.

vamega··on The New Haskell Homepage
Could you suggest a simpler example?

Finding primes is something that is taught in the first programming class in Indian high schools. I guess I've never thought of it as something hard.

I looked at nodejs.org, and their first example is a web server! Python has the Fibonacci as it's second example (the first one show's numeric operations).

Ruby does simple string operations on it's home page. While I think that is indeed simpler, it's a little nuanced in Haskell. Depending on how you're doing it you'll need to Map toUpper from Data.Char or use toUpper from Data.Text, and I don't think it's a good first impression have something that uses Data.Text, and the OverloadedStrings extension.

PS - Although, I do agree with some other commentors here that this code isn't actually the Sieve of Eratosthenes, and is far more inefficient, and that is a valid reason to replace that example.

vamega··on The New Haskell Homepage
Hi, I think the visual refresh is a great idea.

Would you need some help in curating a better set of videos? I think that having some topics this advanced on the home page might scare of users, especially given their visual priority on the page.

Also, what's the plan on the view examples links on the page? Currently these don't link anywhere. Are you looking for existing articles that exist online to link to, or are you looking to have some content written that can be hosted on haskell.org.

vamega··on The New Haskell Homepage
Yeah, I just viewed it and agree that the blurry photograph should be replaced with something else. It somehow detracts from the page.
vamega··on Concurrency is the New Memory Management
Haskell's STM implementation is pretty damn efficient.
vamega··on Linux Dash – Simple web-based server monitoring
What prevents limbmp from being statically linked in?
vamega··on Linux Dash – Simple web-based server monitoring
Well it does make deploymeny really simple, since it'll have such light dependencies. If it's statically linked it could even be as simple as unpacking a tar file.
vamega··on Why The Cool Kids Don't Use Erlang
That's exactly right. Erlang has per actor heaps, and it's garbage collector only stops the actors that are being garbage collected. This is highly concurrent and is a great property to have when you're trying to keep your response times low.
vamega··on Implementing 2048 in 90 lines of Haskell
Yes, one of the worst mistakes I've seen people make is trying to write Haskell exactly like you write code in other languages like Python.

If you ignore the power of Haskell's type system, and write all your code imperatively in the IO Monad, and continue to write large functions that do many things instead of writing smaller functions that can be composed, you gain almost nothing from Haskell, and you might have been better off writing your code in another language.

vamega··on Facebook open sources Haxl
He also wrote a book called Parallel and Concurrent Programming in Haskell[1], which I've heard is an excellent read[2].

[1] http://chimera.labs.oreilly.com/books/1230000000929

[2] http://www.serpentine.com/blog/2014/03/18/book-review-parall...

vamega··on The platinum searcher: ack/ag clone written in Go
I'm amazed that this is faster than ag. If I can confirm that this is indeed the case then I'm going to be switching pretty soon.

Anyone have any insight as to how this was achieved? Ag is fairly well optimized from what I've seen. Is this just the Go runtime being more efficient that libc or some other amazing technical achievement or is this simply a case of pt ignoring more files that Ag by default?

vamega··on The platinum searcher: ack/ag clone written in Go
That file seems to hardcode the list of known TERMs rather than using the termcap. Most specifically it seems to ignore rxvt-unicode and rxvt-unicode-256-color even though they are perfectly capable terminals.
vamega··on Plasso: Payments Made Simple
I'm a little confused as to whether their pay me transactions are subject to Stripe's fees or whether those are completely free.
vamega··on PolarSSL – Does anyone have any experiences with this OpenSSL competitor?
How can they sell an exception to the GPL license if they're accepting Pull Requests on Github. I haven't seen any reference to a CLA.
vamega··on Brendan Eich becomes Mozilla CEO
https://brendaneich.com/2012/04/community-and-diversity/
vamega··on Popcorn Time Is So Good at Movie Piracy, It’s Scary
What provider are you using?
vamega··on Braintree is giving $50k in processing to every startup
Hey, I just tried signing up and the site says I need to enter a referrer. Any chance you could let me see what this is like?
vamega··on Yes, The CIA Spied On Congress
For what it's worth here's a whitehouse petition.

https://petitions.whitehouse.gov/petition/release-senate-int...

vamega··on Banking Startup Simple Acquired for $117M, Will Continue to Operate Separately
There is no fee for replacement debit cards.
vamega··on Banking Startup Simple Acquired for $117M, Will Continue to Operate Separately
Another +1 for Schwab. They're truly awesome.

The con you listed isn't exactly accurate. You don't need an IRA, or direct deposit.

In opening a bank account, they automatically open a brokerage account, in doing so there is no minimum balance in either account. No direct deposits required, no IRA, no requirement to even use their brokerage accounts.

Real cons I've found: 1. You have to actually mail in a form to set up electronic transfers to other bank accounts (either your own or someone else's). After learning about square cash I no longer find this to be an issue. 2. You can't do international wire transfers directly from the bank account. You can however transfer the money to your brokerage account and do the wire transfer from there. 3. If you initiate an ACH pull from another bank account you have they place a 3 day hold on the money. Annoying but can be avoided if you can use an ACH push from the other bank.

And the pros: 1. They do refund all ATM fees, including foreign ATM fees. This was extremely useful when I was in Japan which is cash only and where I was getting hit with $15 ATM fees. 2. They also absorb the fee Visa imposes on foreign transactions (both currency conversion fees, an the Visa cross-border fee of approximately 1%). 3. Unlimited free checks, free return envelopes for sending in things you have to mail them. 4. Customer service so good I always put down the phone smiling and elated. I've never been transferred to another person when dealing with them!

All in all I highly recommend them unless you need to make cash deposits, or need to make international wire transfers frequently.

vamega··on The Georgia Tech Online Master of Science in CS is now accepting applications
The page they link to [1] mentions that you need to submit your GRE scores. However the page itself doesn't have any mention of the GRE being a requirement? Any idea what the actual stance on this is?

[1] - http://www.gradadmiss.gatech.edu/apply/index.php

vamega··on PhpMyAdmin Turns 15
Looks quite nice. What is it built with? I also couldn't find any mention of a license on the site.
vamega··on On Lisp
Turns out I was trying to get a hardcover. It worked just fine with a paperback.
vamega··on On Lisp
Just tried to do this, and found that the cover image size doesn't seem accurate anymore. What did you do for the cover?
vamega··on Apache Openoffice 4.0 RC Released
It's not really incompatible with LibreOffice. The difference is that you OO.o can't take code from LibreOffice, but code from OO.o can find it's way into LO without any issues.
← PreviousPage 5 of 6Next →