HNHacker News
TopNewBestAskShowJobs

sharth

254 karma · joined April 18, 2010

submissionscomments
sharth··on Ask HN: Reddit username bug?
Why not contact reddit themselves?

http://www.reddit.com/contact/

sharth··on Imgur is Covertly Redirecting Image Links on Facebook and Twitter
The first time that I clicked it, I was redirected. The second time I wasn't.
sharth··on How to Start an Anonymous Blog
He/She/They are actually using github pages, but with a custom domain.
sharth··on Faster, More Awesome GitHub Pages
Generally speaking, an ALIAS record points to a hostname. The DNS server software then fetches the IP address behind that hostname, and returns it as an A record to the user.

Normally, this is solved by using a CNAME record, but if you use a CNAME as the zone apex, then you cannot have any subdomains (because they will all be resolved through the CNAME record).

For some additional information: http://scripting.com/stories/2011/11/13/dnsimplesNewAliasFea... http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Cre...

sharth··on CentOS 6.5 Released
Wikipedia includes a table of this data: http://en.wikipedia.org/wiki/CentOS

  *. RHEL 6.0 to CentOS 6.0: 242 Days
  *. RHEL 6.1 to CentOS 6.1: 204 Days
  *. RHEL 6.2 to CentOS 6.2:  14 Days
  *. RHEL 6.3 to CentOS 6.3:  18 Days
  *. RHEL 6.4 to CentOS 6.4:  15 Days
  *. RHEL 6.5 to CentOS 6.5:  10 Days
sharth··on Clang is now feature complete for C++14
It changes the ABI of std::list, which is a serious concern.
sharth··on I've found a bug in GCC 4.6.3 (default in Ubuntu LTS) or my code is wrong
The overflow happens before the conversion to unsigned.
sharth··on Show HN: Multiplayer Snakes
Uncaught RoomSizeError: Room is full
sharth··on The vi editor causes brain damage [2007]
Apparently a kernel fix was the cure: http://article.gmane.org/gmane.linux.kernel/571954 and the patches are at: https://lkml.org/lkml/2007/6/13/67
sharth··on Ask HN: Is XBox One slower then XBox 360?
And just to expand...

Let's look at the apple transition from powerpc to intel chips. Geekbench has a reasonable number that we can look at to compare against, so let's use that. http://browser.primatelabs.com/mac-benchmarks

We can see that the one of the late 2005 Power Mac G5 had 2 2.3 Ghz cores. This garnered a score of 2088.

About a year later, a mac mini was on the market using an Intel chip. In this case, the Intel Core Duo T2300 which runs at 1.66 Mhz with 2 cores. This received a very similar score of 2128, even though it is running considerably slower.

Later on in the years, I can come up with a Mac Mini (Mid 2011) that has an I5 running at 2.3 Ghz (The same as the original PPC we're comparing to). However, this gets a score of 5818, more than double the original PPC I picked.

---

My only point here is that it is VERY difficult to use processor speed as a tool to compare processors. It's even difficult to use it to compare a Xeon vs an I5, even though they both use the same architecture and are made by the same company.

sharth··on Ask HN: Is XBox One slower then XBox 360?
It's worth noting that the Xbox 360 uses a PowerPC architecture while the Xbox One will use a x86 core. That will make just strictly comparing Ghz difficult.
sharth··on Optimizing C++ Code: Dead Code Elimination
Yeah, I was just now skimming through the comments as well and I saw that. It looks like their constant propagation logic doesn't work on loops at all, and it's just that their loop unroller stage (which runs before it) will unroll loops of less than 10 iterations.
sharth··on Optimizing C++ Code: Dead Code Elimination
Personally, I'd expect a compiler to take it one step further than what was suggested here.

For example, clang or gcc (under -O1) will precompute all of the math in that for-loop, and the entire function just becomes the printf with a known value.

    define i32 @main() nounwind uwtable ssp {
      %1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i64 500000000500000000) nounwind
      ret i32 0
    }
sharth··on Russian Man Changes Small Print in Credit Card Agreement, Then Sues
Safeway would be considered a grocery store or supermarket. http://en.wikipedia.org/wiki/Grocery_store

In the US, most large grocery store offer a card that you can use which gives you various rewards, and in turn allows them to perform analytics on their customer base.

Historically, these rewards were related to coupons for products in the store. However, this means that there is no benefit to using your particular card instead of someone else's.

More recently, the grocery stores have added other bonuses. The one that I'm most familiar with is for fuel / petrol. They team up with some fuel brand, say exxon, and when you've purchased enough on your loyalty card, you get something like $0.05 of your per gallon fuel costs.

The scheme with the poster above breaks down, because you need the physical loyalty card to use the fuel discount, and it's unlikely that everyone is refueling their car an equal amount each week, and that everyone is purchasing an equivalent amount of product at the store each week.

sharth··on Two Senators Say the NSA Is Still Feeding Us False Information
And the question in the lawsuit had nothing to do with concern about Sen. Gravel's immunity, the concern was about immunity for his staffers.
sharth··on Ask HN: lawyer needed for unpaid invoice (NYC)
Not that this takes away anything from what you've said, but $5000.00 is the limit in NY.
sharth··on OpenGL – OS X Mountain Lion vs. Mavericks
This has changed a bit now.

The only PCIe expansion capability available on any mac (including the new mac pro) is thunderbolt. The new mac pro does not have any internal expansion.

You can however, use something like [this](http://www.sonnettech.com/product/echoexpresschassis.html), as long as you realize that you only have access to PCIe x4 bandwidth.

I've also not seen any posts of anyone actually doing this yet.

sharth··on How the NSA Got So Smart So Fast
To add another reference to your point, you must be a US citizen to work for the NSA. That alone limits their supply of the really smart people of the world.
sharth··on Ask HN: My Startup is Illegal
You should include which country's laws that you are concerned about.
sharth··on Ask HN: Why Firefox 21 takes more RAM?
https://areweslimyet.com/
sharth··on Chrome’s requestAutocomplete()
The initial implementation appears to be targeted to e-commerce sites. Your username and password are not included in the fields that this can populate.

Here are the supported fields:

* Contact: name, tel, email

* Shipping: street-address, address-line1, address-line2, locality, region, country, postal-code

* Billing: street-address, address-line1, address-line2, locality, region, country, postal-code

* Payment: cc-name, cc-number, cc-exp, cc-csc, cc-type

sharth··on The fall of apple
I can't even use the up and down buttons on the keyboard to scroll!
sharth··on [dead]
This is the best I can find on short notice: https://twitter.com/7News/status/325134814200082432

But it doesn't jive with other images I've seen, where they had the man on the ground with guns pointed at him. So I'm doubting the veracity at this point.

Edit: It appears that the picture I saw was of someone who turned out to not be a suspect. Which would explain my confusion.

sharth··on CISPA Passes in the House - Full Roll Call
Let's say the senate amends the bill, and successfully passes that. The house would need to vote on that modified bill.

Normally, once the two sides pass relatively similar bills, a conference committee is formed to resolve any differences, and then that resulting legislation is voted on.

sharth··on HTML5 Video at Netflix
The blob that you compile against the pepper api is native code. So they would need to recompile the blob for ARM as well as x86.

Whether or not this is actually hard for their codebase, I have no idea.

sharth··on Ask HN: Legality of hosting encrypted files?
I would imagine that in the USA, you just follow the DMCA. It doesn't matter if the file is encrypted or not encrypted, compressed or not compressed.
sharth··on Show HN: Finally, You Can Accept Pre-Orders after Kickstarter with Celery
From their source, it appears that the font they are using is called Proxima Nova. Which can be purchased for web use.

http://www.ms-studio.com/FontSales/proximanova.html

sharth··on For sale: Trusted root SSL CA signing certificate
Just to make sure I'm not confused. I can purchase a root certificate from this company? And this certificate will be seen as valid by the major browsers?
sharth··on Why does DNS propagation take so long?
Not withstanding the problems mentioned, you can leave your TTL as a low value. Amazon S3, for example, leaves it as 60 seconds.
sharth··on Ask HN: How do you handle support during weekends and holidays?
I guess I'm confused why you need 24x7 support for a "social game". What would happen if it took 48 hours to respond? Very few companies that I deal with respond much quicker than that.
← PreviousPage 3 of 5Next →