HNHacker News
TopNewBestAskShowJobs

SoapSeller

2,083 karma · joined August 12, 2011

submissionscomments
SoapSeller··on Render HTML via WebGL
This project(at least for me) is a little bit misleading. Because it isn't rendering HTML using WebGL.

It using html2canvas[0] to rasterize the browser rendering into a canvas, upload it to WebGL, apply effects and patch-back events(i.e. mouse clicks) back to the hidden browser dom elements. (On the other side, font hinting and such are not really a problem)

Implementing full UI framework over WebGL has it merits, and hopefully someone will make a useful(and not html+css based) one some day.

[0] https://github.com/niklasvh/html2canvas

SoapSeller··on Image Decoding on the GPU Now in Firefox Nightly
There are some efforts out there to do full JPEG decoding in CUDA[0], and hybrid approaches[1].

Actually, AMD supports JPEG decoding via OpenCL implementation in their drivers[2] and Intel has native hardware decoding in their latest GPUs[3].

So yeah, I'm not getting the joke ):

[0] http://sourceforge.net/projects/gpujpeg/ [1] http://developer.amd.com/resources/documentation-articles/ar... [2] https://semiaccurate.com/2014/04/17/amd-makes-jpegs-suck-les... [3] https://01.org/linuxgraphics/community/vaapi

SoapSeller··on Schiit Happened, 2015 Chapter 4: Bridging the Gap
I did, with the AKG K1000[0](They are very uncomfortable, btw).

The problem with soundstage is that most recordings are made for speakers. Binaural recordings + headphones results in much better and much more realistic soundstage.

With the shifting listing habits and the raise of digital distribution(which make it much easier to provide multiple mixes of the same recording) I was expecting to see more and more binaural recordings. Sadly it doesn't happen(yet?).

[0] http://www.akg.com/pro/p/k1000.

SoapSeller··on Writing Multithreaded Applications in C++
OpenMP is terrible.

While you can argue whether introducing pragmas as control structure is a good idea or not, the performance issues with high load(>80% total cpu) and the caveats(two OpenMP versions in same app, multiple threads running OpenMP paralleled code & etc) are just not worth it.

TBB[0] is much better option(especially with C++11, where you can use lambdas to warp your to-be-paralleled-code and don't have to put it elsewhere), and you get all sort of goodies with it(e.g. thread-safe-containers).

[0] https://www.threadingbuildingblocks.org/

SoapSeller··on The Email I Received from Google in 2007 When They Wanted to Buy Zilo (2012)
Previous discussion: https://news.ycombinator.com/item?id=4755288
SoapSeller··on Peter Thiel: Competition is for losers
Yandex and Baidu.
SoapSeller··on P5.js: Processing for today’s web
From the "Start" page:

  If you didn't type it correctly, you might not see anything. If this happens, make sure that you've copied the example code exactly
This is definitely a big no-no if your goal is "to make coding accessible for artists, designers, educators, and beginners".
SoapSeller··on AMD Announces the Availability of 64-bit ARM Opteron Developer Kits
It's somewhat sad that AMD can no longer compete head-to-head with Intel so they have to produce processors based on ARM designs.

I'm really hoping that someone will compete with Intel on the high-end CPUs, maybe IBM's PowerPC?

SoapSeller··on QuickOffice Will Be Discontinued
30-day active users is somewhat problematic for a service like Drive. I am accessing(reviewing) on weekly basis some docs that other people have uploaded to Drive and shared with me. So I'm considered "active" user while I don't actively using it.
SoapSeller··on Performance comparison of Functional C++ 11, Java 8, JavaScript and Wolfram
Yep, ICC's output is much bigger:

  clang 29K
  gcc 36K
  icc 89K
SoapSeller··on Performance comparison of Functional C++ 11, Java 8, JavaScript and Wolfram
I've used the same flags like the OP have suggested in the source header comment.
SoapSeller··on Performance comparison of Functional C++ 11, Java 8, JavaScript and Wolfram
Not for this example. On E5-2680 v2(Ivy Bridge):

  ./magic_forest_gcc 617 655 606  7.22s user 0.36s system 100% cpu 7.580 total
  ./magic_forest_icc 617 655 606  7.00s user 0.34s system 100% cpu 7.340 total
  ./magic_forest_clang 617 655 606  5.73s user 0.25s system 100% cpu 5.980 total

  gcc version 4.8.2
  icc version 14.0.1
  clang version 3.4
  (On 3.14 powered arch linux)
It's might be interesting to see what kind of optimisation clang does, but I currently don't have the time to look into it.
SoapSeller··on Microsoft Surface Mini to debut in mid-May?
I'm using ASUS VivoTab Note 8 for a couple weeks now and I'm very happy with it.

It has proper(IIRC Wacom) digitizer and the Atom processor is is handling OneNote touch + web browsing quite well.

The only let down is screen resolution(8" 1280x800), which could be higher, but the screen itself is quit good(IPS, OK visibility in full sunlight & etc)

SoapSeller··on Neither Microsoft, Nokia, nor anyone else should fork Android. It’s unforkable.
Didn't Google won the the "Oracle vs Google" case on the ground that APIs aren't patentable?

What prevent MS(or any other big player) to re-implement GMS?

SoapSeller··on My Amazon interview experience
When I interviewed with Amazon a few years ago, almost all of their recruiter emails ended up in Gmail's Spam folder. Clicking on the "Not Spam" didn't seem to fix this, and I ended whitelisting amazon.com.

At the time I found it quite amusing, but this can be a real problem, since probably most people don't check their spam folder regularly.

SoapSeller··on ReText - Markdown editor for Ubuntu
"for Ubuntu"? really?
SoapSeller··on Clinkle
This is the most annoying hn post I've encountered. Ever.

Every single link here(post & comments) redirect me(on my android phone) to the Play store listing for their "Wait" app, that doesn't contain any useful information at all(and obviously I'm not going to install).

SoapSeller··on Poll: "Giff" or "Jif"?
JIF is already taken by JPEG[0], so GIF, with a hard G.

[0] http://en.wikipedia.org/wiki/JPEG_Interchange_Format#JPEG_fi...

SoapSeller··on Using Dispatch Tables to Avoid Conditionals in JavaScript
You can further improve dispatch tables in js by using bind.

so something like:

  north: function() { movePlayer("north"); },
becomes:

  north: movePlayer.bind(this, "north"),
or using underscore.js(for greater browser compatibility):

    north: _.bind(movePlayer, this, "north"),
SoapSeller··on Linux 3.8 Released
Storing files data inside inodes is really great feature - it should make usages of file-system-as-DB approaches usable in a lot of cases where it didn't make sense before.
SoapSeller··on Lost On New Myspace. Can’t Escape Justin. Send Help.
Maybe it was the author's point, maybe it wasn't.

All I read is questions about why and context, like the author expect some kind of explanation. She doesn't comment about the content itself, which is part of the whole closed-mind attitude of the article.

SoapSeller··on Lost On New Myspace. Can’t Escape Justin. Send Help.
> Wait, how does Myspace know I would like these?

> Is everyone seeing the same ones? Did Justin pick them out for me? Are my friends listening to these guys? I have no context here. I don’t understand why they’re recommended. I decide to move on.

Does it still surprise people when they are getting personalized-recommendations when they use Facebook Connect sites? To use the new myspace--

> THIS APP WILL RECEIVE:

> Your basic info

> Your email address (____@____.com)

> Your profile info: description, birthday, likes and location

> Your music activity

> Your video activity

SoapSeller··on Rant: Backbone, Angular, Meteor, Derby
Backbone is pretty much a classic MVC, You define your data-model, your views(HTML) and than connecting all together in the controller.

It's an old and trusty way of doing GUI, but it require you to define your UI(views) in two places - HTML and js code. You must have hardcoded HTML references in your JS code(via CSS selectors & etc), and for every change you do in your view you have to check(and probably change) your js code as well - and vice versa.

Where in MVVM based frameworks(e.g. knockout) you define your view only once - in your HTML file. Your view contains everything that is needed to render the data in your View Model, and can initiate changes to the view model(and render any change that is being made to the date in the view model). There is never a need to use hardcoded references to the HTML in your js code.

SoapSeller··on Rant: Backbone, Angular, Meteor, Derby
Yeah, knockout is great. And it's relatively(to angular) easy to understand what's going on.

Also, in my tests for an app(PhoneGap) I did recently, it seems much faster than angular(rendering seems to take half the time)

SoapSeller··on The End of x86? An Update
There is an official port of Android(done by Intel) on x86, it powers the several Atom phones out there(Orange San Diego & etc). You can even download an emulator build for Atom, which perform great(it has support for virtualization extensions).
SoapSeller··on The ‘Was it Built with Bootstrap’ Quiz
"11 OF 10 SITES IDENTIFIED CORRECTLY." :(
SoapSeller··on Outlook.com breaks the 25 million active user mark, releases an Android
If you're using a multi-account IM client(Adium/Pidign/etc') you can add the account there, and it will stay alive as long as you continue to use the client.
SoapSeller··on Linus Torvalds: Make 2560x1600 the new standard laptop resolution
Another great post on the issue from Microsoft: http://blogs.msdn.com/b/b8/archive/2012/03/21/scaling-to-dif...
SoapSeller··on Sales of the Galaxy S III rose following the unveiling of the iPhone 5
Also, The 199$ Kindle Fire had the biggest sales day(since the launch) after the iPad Mini unveiled: http://www.theverge.com/2012/10/27/3563380/amazon-kindle-fir...
SoapSeller··on C++11 async tutorial
"As a side note, the parallel version uses about 280 threads on my machine vs a single thread for the serial version."

This is a great example of how you shouldn't run things in parallel. Running 280 Threads on 2-4 cores machine makes no sense at all.

← PreviousPage 3 of 4Next →