HNHacker News
TopNewBestAskShowJobs

sunnyps

379 karma · joined February 19, 2012

submissionscomments
sunnyps··on Amazon has no idea how to run an app store
I'm pretty sure you have to keep the checkbox unticked so that the Amazon app can install apks and even update itself. In fact Amazon's official documentation[1] for installing their app doesn't tell users to uncheck the checkbox. The way I see it, keeping the untrusted apks checkbox ticked is a massive security risk.

[1] https://www.amazon.com/underground

sunnyps··on Major Linux Problems on the Desktop, 2016 Edition
There's another distro like that: ChromeOS :)
sunnyps··on Android NDK: GCC is now deprecated, everyone should be switching to Clang
> Ctrl-C no longer kills the backgrounded gdbserver.

Woohoo!

sunnyps··on The mystery of India’s deadly exam scam
I think it's incorrect to label it an "exam" scam. It's really a scam about recruitment to government jobs. India has this weird system where almost every good government job has an exam that you're supposed to take to get that job. These exams are held once a year or so and all that matters is your performance in that exam and maybe an interview. This makes it impossible for anyone from private industry to take such a job. So what you get instead is a bunch of lifers who continue the cycle of corruption.
sunnyps··on Next Generation Eclipse IDE
You should have a look at QtCreator which follows a minimal IDE philosophy. The only downside is that it's only for C++.
sunnyps··on How the SoC Is Displacing the CPU
I'm guessing YouTube is using VP9 on your netbook which is probably decoded on the CPU because most GPUs don't do VP9 decoding yet. On your smartphone it's probably h264 that's being decoded on the GPU. You can try the h264ify extension[1] to force h264 on your netbook.

[1] https://github.com/erkserkserks/h264ify

sunnyps··on How the SoC Is Displacing the CPU
It's funny that the Celerons you call expensive make up for almost all the processors in cheap laptops such as Chromebooks which sell around the $200 price point[1]. Heck I bought one of those Kangaroo portable desktop things[2] last week for $100 which has a dual core Atom.

Now maybe Core M was an especially gimped CPU but it might be a part of Apple's strategy to push users from entry level Macbooks to the iPad Pro. But all of these other devices with Celerons / Atoms are really capable and people use them for actual work instead of using an iPhone/iPad despite what the benchmarks say.

[1] http://www.amazon.com/gp/product/B00MMLV7VQ [2] http://www.engadget.com/2015/10/26/infocus-kangaroo-pc/

sunnyps··on How the SoC Is Displacing the CPU
I think you're talking about the Snapdragon 808 which your phone has. That's a big.LITTLE CPU which means that it's meant to use the 4 little cores almost all of the time and use the big cores only when high performance is really required. What I mean to say is that the 4+2/4+4/4+4+4 configurations aren't meant to parallelize across all cores but rather to minimize power consumption.
sunnyps··on Google and ASUS Launch the $85 Chromebit, a Chrome OS Desktop on an HDMI Stick
ChromeOS doesn't use X11 any more. It uses a custom graphics stack called Ozone[1] that runs on top of libDRM on Linux and uses features such as hardware overlays which are common now that X11 knows nothing about.

[1] https://www.chromium.org/developers/design-documents/ozone

sunnyps··on Go-style concurrency in C
So it looks like there are facilities for doing some IO, listening on a socket, etc. But I don't see any facilities for waiting on locks, semaphores, etc. Maybe they could build that in a future release or maybe they consider it antithetical to the idea of "share via communicating as opposed to communicate via sharing".
sunnyps··on Go-style concurrency in C
I forgot about that part of libdispatch. You still can't do synchronous IO but you can use libdispatch semaphores, wait on a queue, etc. and that should not block the thread, right?
sunnyps··on Go-style concurrency in C
My understanding is that libdispatch is not a replacement for go's concurrency. With libdispatch each block (closure) that you dispatch runs on a given thread, if that block stalls for any reason then your thread is blocked. So even with a few blocked blocks (heh) your system could be stalled which is not the case with go where you can have millions of goroutines that are blocked.
sunnyps··on Go-style concurrency in C
Can anyone familiar with this say if it runs one coroutine per thread? How does a coroutine get it's own stack? If coroutines share threads, is it possible to switch in between a coroutine say when it's blocked on IO like it is in go?

I'm not an experienced go developer but my understanding is that it's possible in go to have millions of goroutines each blocked on IO. I don't see how a C function could mimic that. I thought stack moving was an essential requirement of any runtime that wants to mimic go in this way.

I've looked at some of the special macros like coroutine and go and it looks like libmill runs the entire function fn when you call go(fn) so if fn is blocked on IO then your entire thread is blocked on IO and you can soon grind to a halt if you have even a few blocked coroutines.

sunnyps··on Golang on ARM
And go 1.4+ doesn't just need segmented stacks but also moveable stacks. I do not know if LLVM has that yet.
sunnyps··on Golang on ARM
Yeah, the point is that it wasn't there at that time.
sunnyps··on NNSA, Nvidia to create an open-source Fortran compiler front-end for LLVM
It's not your happiness that makes me cringe but the borderline cultish comment that there's no "single place on the internet as valuable as this community". Just reinforces the stereotype that this community is full of itself. It would be great if we could all be a bit more grounded.
sunnyps··on NNSA, Nvidia to create an open-source Fortran compiler front-end for LLVM
OK. You can stop dreaming now, come back to reality please.

Sometimes this community is so cringeworthy.

sunnyps··on Walmart’s $10 Smartphone Has Better Specs Than the Original iPhone
So does chrome (and android webview which is now based on chrome) on lollipop and above. Where did you get the idea that it wasn't? Go to chrome://inspect on your desktop, you need to have a Chrome version on your desktop that's compatible with the chrome/webview version on your android device, usually this means having the same or higher version number on your desktop.

Kitkat marked the transition of android webview to be based on chrome but it wasn't made updateable.

Lollipop upwards have an updateable android webview which tracks the latest chrome version and isn't very far behind usually.

sunnyps··on f.lux for iOS is no longer available
The hard driver parts are for things like LTE, GPS, GSM, wifi, camera, etc. which the device manufacturers haven't chosen to open-source. I don't see how it's relevant to Android itself, any other OS would have the same problems with that hardware.
sunnyps··on f.lux for iOS is no longer available
The comparison with ChromeOS is flawed because you can go into Dev mode[1] on ChromeOS and do whatever the heck you want in a linux userland. There's even a project called Crouton[2] that allows you to install traditional Linux apps side-by-side on your Chromebook. You can also build ChromiumOS[3] the open-source version of ChromeOS and make it do whatever the heck you want.

I don't know about you but I want my sysadmin to work for me so that when I tell it to shut up and get out of my way, it does exactly that.

[1] https://www.chromium.org/chromium-os/poking-around-your-chro... [2] https://github.com/dnschneid/crouton [3] https://www.chromium.org/chromium-os/developer-guide

sunnyps··on f.lux for iOS is no longer available
Google does the same with its Nexus devices[1] in that you can build a completely open-source version of Android except for certain hardware-specific binary blobs.

[1] https://source.android.com/source/running.html

sunnyps··on Apple in Talks with US Banks to Develop Mobile Person-To-Person Payment Service
http://www.wired.com/2014/11/whatsapp-encrypted-messaging/
sunnyps··on Apple in Talks with US Banks to Develop Mobile Person-To-Person Payment Service
Whatsapp would like to have a word with you. With iMessage you have to turn off SMS to make it really secure and once you do that you lose the ability to communicate with a large number of non-iOS users. OTOH Whatsapp is secure by default.
sunnyps··on Android now builds with Ninja instead of Make
Don't forget Chromium which itself has two meta build systems (gyp and gn - similar to bazel/cmake/etc.) along with an underlying build system (ninja) which can target multiple compilers and runtimes on different platforms.

P.S. Chromium is in the middle of a transition from gyp to gn[1] which is why it has two build systems.

[1] https://chromium.googlesource.com/chromium/src/+/master/tool...

sunnyps··on The Apple iPhone 6s and iPhone 6s Plus Review
To be fair though the iPhone 4S was discontinued in September 2014 whereas the other phones were discontinued much earlier. And from what I've heard the newer iOS versions don't run well on the 4S. Also take into account the fact that most app developers won't bother optimizing for the 4S.
sunnyps··on Computer, Respond to This Email
I'm passionate because I'm sick and tired of seeing the same nonsensical dishonest FUD memes such as "you're the product". "You're the product" is absolutely a lie, even with the most generous interpretation it implies something you own is being sold. Can you point out what thing is being sold? I'm not interested in being part of some "true HN" clique that rewards paranoia for imaginary internet points. And I'm not saying that you should "Stop following the money!", it's clear where the money comes from. Just don't make the waters muddy by spreading FUD when it's already clear is all I'm saying.
sunnyps··on Computer, Respond to This Email
That was a rational argument. You know as well as I do that if you explained it the way I did above most people would not care. But instead you insist on the "you're the product" FUD nonsense to elicit an emotional response. Spreading FUD is a demagogue's job, I would never condone it.
sunnyps··on Computer, Respond to This Email
The product is the service being offered, in the case of Google it's search, mail, maps, etc. How they make money is unrelated to what the "product" is. E.g. I switched from free ad-supported YouTube to the paid ad-less YouTube Red, does that mean what the "product" is suddenly changed? Also you really are the "customer" or "user" of the many services being offered by Google just like an advertiser is a "customer" of the advertising side of Google. That doesn't imply one type of customer (the advertiser) is more important than another type of customer (the user).
sunnyps··on Computer, Respond to This Email
Stop with this "you're the product" nonsense. Please.
sunnyps··on Fuzzing FFmpeg for fun and profit
Google has done a lot of work [1] with respect to fuzzing ffmpeg because it's included in Chrome.

[1] https://googleonlinesecurity.blogspot.com/2014/01/ffmpeg-and...

← PreviousPage 4 of 5Next →