HN user

sagargv

562 karma

www.sagargv.com

Posts37
Comments26
View on HN
www.youtube.com 10y ago

Still Skeptical of V.R. – Five Challenges for Virtual Reality – Extra Credits

sagargv
3pts0
matt-welsh.blogspot.com 10y ago

Academics, we need to talk

sagargv
8pts0
prog21.dadgum.com 10y ago

Advice to Aimless, Excited Programmers (2010)

sagargv
3pts0
motherboard.vice.com 10y ago

So This Is How Net Neutrality Dies

sagargv
1pts0
venturebeat.com 10y ago

Cut the Rope 2 gets more in-app spenders by using Gondola’s dynamic pricing

sagargv
1pts0
www.bbc.com 10y ago

China 'social credit': Beijing sets up huge system

sagargv
1pts0
www.cs.princeton.edu 10y ago

A Regular Expression Matcher (2007)

sagargv
12pts1
arstechnica.com 10y ago

PS4 developers can now access more of the system’s CPU power

sagargv
3pts0
www.quora.com 10y ago

What is a coder's worst nightmare?

sagargv
1pts0
lemire.me 10y ago

Hackers vs. Academics: who is responsible for progress?

sagargv
4pts0
fgiesen.wordpress.com 10y ago

A trip through the Graphics Pipeline (2011)

sagargv
47pts1
www.youtube.com 10y ago

Why People Can't Get Enough Candy Crush

sagargv
1pts0
s-gv.github.io 10y ago

Show HN: Cookoo – Whistle Counter for Pressure Cookers

sagargv
34pts18
techcrunch.com 10y ago

Take Clear Photos Through Obstructions and Reflections

sagargv
1pts0
economictimes.indiatimes.com 10y ago

Indian government blocks 857 porn sites

sagargv
2pts0
timesofindia.indiatimes.com 11y ago

Net neutrality in India: DoT favours regulation of WhatsApp, Viber calls

sagargv
1pts0
lemire.me 11y ago

We need to go beyond the web

sagargv
3pts0
sandofsky.com 11y ago

Objective-C in a Swift World

sagargv
3pts0
unenumerated.blogspot.com 11y ago

The Greek financial mess; and some ways Bitcoin might help

sagargv
2pts0
techcrunch.com 11y ago

Amazon Will Expand Its AWS Cloud Services to India in 2016

sagargv
3pts0
xkcd.com 11y ago

Antivirus for voting machines

sagargv
4pts0
www.gamasutra.com 11y ago

Making Great VR: Lessons Learned from “I Expect You to Die”

sagargv
53pts18
ben-evans.com 11y ago

Search, discovery and marketing

sagargv
4pts0
cbloomrants.blogspot.com 11y ago

Did I ever mention that I fucking hate the fucking web

sagargv
402pts277
quantombone.blogspot.com 11y ago

Making Visual Data a First-Class Citizen

sagargv
7pts1
news.ycombinator.com 11y ago

Ask HN: What computer setup do you use?

sagargv
5pts7
nymag.com 11y ago

Lots of Men Don’t Think Rape Is Rape

sagargv
4pts0
sealedabstract.com 11y ago

On iOS Packaging

sagargv
4pts0
lemire.me 11y ago

When bad ideas will not die: from classical AI to Linked Data

sagargv
5pts0
matt-welsh.blogspot.com 11y ago

You'll be fine in Silicon Valley

sagargv
14pts0
[dead] 11 years ago

It seems to me that the major issue that Cardboard solved is navigation in a 3d environment. Using a mouse or controller to move around, aim, and shoot in a 3d world is natural to those of us who play 3d games. But, these actions aren't intuitive at all, unlike looking around while wearing a VR headset.

A few months ago, Amazon's competitor Flipkart started asking users to order via the app rather than through the browser. That's when a lot of my friends and I switched to Amazon. I never really understood the reason for insisting on ordering via the app.

Apps don't have a good way to convey that they are using HTTPS, so I don't like the idea of entering my credit card details in an app. Most internet banking gateways in India aren't yet mobile optimized, so that's inconvenient too. (Internet banking is a popular alternative to debit cards in India; merchants re-direct users to their bank's website where users can login and agree to paying the merchant. It's actually a lot more convenient than credit cards because you only have to remember your bank account's username and password.)

How does Amazon implement instances like t2.nano? If there are 40 t2.nano instances on a quad core physical machine, what happens when all the users want 100% CPU, even if it's only for 10 minutes? Are instances automatically migrated to a different physical machine if this happens?

Three Stories 11 years ago

Where was twitch.tv hosted before the acquisition? Bandwidth on AWS would've costed a bomb.

My university uses a HTTP proxy too. The proxy makes connections only on ports 80 and 443. So, OpenVPN on port 443 is pretty much the only option. Wish Google Hangout would work over HTTPS.

I like the idea of breathing more life into C. Look at what's happened to C++. These days, when I need the efficiency, I prefer coding in C to C++. But I'm not sure Cello is the right way to make C better. If you're starting a new project, what's wrong with a struct that has an array and length of the array? Cello seems to break the simplicity of C and its memory model.

I agree. In fact, I think that the slowness of Python implementations is a feature. It forces developers to use standard libraries, which in turn makes the program more concise. This is certainly the case in MATLAB where vectorization is pretty much needed for non-trivial programs, and this leads to improved readability.

While I agree that teaching Python to non-EECS majors is a great idea, it's sad to see the decline of C/Scheme in university courses.

Much has been said on this topic. So, I'm just going to post two links that I think are interesting.

Joel Spolskey claims that Java isn't hard enough to separate good programmers from the bad: http://www.joelonsoftware.com/articles/ThePerilsofJavaSchool...

This article claims that competency of CS grads is going down: http://www.education.rec.ri.cmu.edu/roboticscurriculum/resea...

Modern GCs do not add much overhead when excess memory is available. When the app itself consumes a lot of memory and there is little room available, the GC gets stressed and eats too much CPU time. The chart in the link (taken from some paper) depicts this. The problem is the GC under low memory conditions, not Java.

Yes, the link is about JS. But there are relevant pieces.

Quote from the article: "If you want to process camera images on Android phones for real-time object recognition or content based Augmented Reality you probably heard about the Camera Preview Callback memory Issue. Each time your Java application gets a preview image from the system a new chunk of memory is allocated. When this memory chunk gets freed again by the Garbage Collector the system freezes for 100ms-200ms. This is especially bad if the system is under heavy load (I do object recognition on a phone – hooray it eats as much CPU power as possible). If you browse through Android’s 1.6 source code you realize that this is only because the wrapper (that protects us from the native stuff) allocates a new byte array each time a new frame is available. Build-in native code can, of course, avoid this issue."

An important aspect of mobile performance that this article doesn't really go into is memory. Its not just about CPU speed. Java performs quite close to C when excess memory is available, but performs poorly under low memory conditions. This is true of all GCed langs. The fact that iOS apps feel snappier is in no small part due to better memory management (ARC).

Source: Why mobile web apps are slow - http://sealedabstract.com/rants/why-mobile-web-apps-are-slow...