Better HN
topnewbestaskshowjobs
Log inSign up

codedivine

1,401 karma · joined Dec 23, 2008 (17y ago) · 373 submissions

Submissions

comment 17y ago · link · parent

Precisely. I think cost matters to students more than convenience in most cases.

comment 17y ago · link · parent

Well, at my university, the common solution was to go to the library, borrow the book and then get it photocopied. Copyright infringement? Probably. Cost effective: yes.

I don't know a whole lot of students in India who will spend $260 for their textbooks over their entire undergrad let alone spend $260 on a ebook reader and then spend a lot of money buying books.

However, kindle may become popular with professionals perhaps.

comment 17y ago · link · parent

Why will it be huge in India? For textbooks, typically you can get cheaper south-asia only editions. Many engineering books go for $10 for example. Newspapers are about $10-$15 per year. So I don't see why this will be particularly hit in India?

comment 17y ago · link · parent

Stick to a fairly strict healthy diet and regular sleep schedule.

Only broke this rule when working on a big deadline.

comment 17y ago · link · parent

Any patent must satisfy three conditions:

* It must be novel.

* It must not be mathematics. Maths cannot be patented.

* It must be non-obvious.

Most software patents violate one or more of the above three conditions.

comment 17y ago · link · parent

The big change is certainly the support for indirect jump instructions and the exception handling support. Quite a big leap in GPU programmability. The only piece still missing is fully coherent caches.

337.

Archos 5 Internet Tablet makes an honest PMP out of Android(engadget.com ↗)

1 points · by codedivine · 17y ago · discuss

comment 17y ago · link · parent

The future is certainly hardware-neutral APIs such as OpenCL and DirectX compute shaders. However, for learning, its best to start off with Nvidia CUDA because there is a ton of material for CUDA online and CUDA is also available here and now. Once you learn CUDA, switching to something like OpenCL is easy. For production code, there is no longer any reason to write CUDA.

And also a word of caution for new to GPUs: dont expect miracles from GPUs. Set reasonable expectations. GPUs are not magic.

comment 17y ago · link · parent

RapidMind provided sort of a DSL in C++ (with a combination of C++ macros, operator overloading etc) for writing some types of highly parallel computations running on arrays. RapidMind included a JIT compiler which converted the code into optimized multicore x86 code or to GPU code (initially they compiled to shader programs but not sure whether they finally compiled to something like CUDA code). The allure of RapidMind was that you write code once and it can run on CPU or GPU. By acquiring RapidMind, Intel is now controlling one of the APIs people may have used to program GPUs from Nvidia or AMD.

(Though I must also add that I didnt really like RapidMind API very much. It was not very flexible.)

edit : RapidMind was also portable to Cell processor.

comment 17y ago · link · parent

Thanks for all the responses!

341.

Ask HN: Etherpad like whiteboard?

3 points · by codedivine · 17y ago · 6 comments

comment 17y ago · link · parent

Well its the same as the Pogo Plug (http://www.pogoplug.com) based on Marvell's Sheeva Plug reference design. Running a 1.2ghz XScale chip (arm9).

comment 17y ago · link · parent

For filtering, use greasemonkey with HN Toolkit script.

comment 17y ago · link · parent

From his website: "Before Google, I worked on my Ph.D. in computer graphics at the University of North Carolina at Chapel Hill. I have an M.S. from UNC-Chapel Hill, and B.S. degrees in both mathematics and computer science from the University of Kentucky."

The fact that he gave PR like answers doesnt mean he isnt qualified to answer technical questions, only that he is not allowed to reveal too many details of internal Google projects.

comment 17y ago · link · parent

Eee with dual core? Which model?

comment 17y ago · link · parent

Well for people who do not own a Mac, make that $1100 :( If only Apple made an SDK for Windows ., sigh.

comment 17y ago · link · parent

I have used it for writing a compiler for a research project. It is a great language so far. Even if you stick to a subset of Scala fairly close to Java, even then its a pretty big win. There are lots of little goodies. For example, type inference is really nice. For-comprehensions are pretty sweet. Lists are pretty awesome. Optional parenthesis for method calls is nice. And so on and so forth. These little things make Java a lot less annoying.

Of course, the little goodies are the tip on the iceberg. There is a lot more to Scala, primarily its support for FP but the learning curve is also much harder for those features. Power at the cost of learning.

On the downside, sometimes Scala code is TOO compact. For example, stuff like operators for list operations can be fairly hard to read without practice.

Interfacing with existing Java libraries is also easy. I have not tried calling Scala from Java however.

Overall I recommend the language. Its mature enough to be used for real projects and its a lot nicer and whole lot more powerful than Java.

comment 17y ago · link · parent

Why not make it real email than implementing half-baked solutions?

comment 17y ago · link · parent

Wonder what happens if you use Flashblock?

350.

Ask HN: Widescreen or fullscreen monitors for programming?

5 points · by codedivine · 17y ago · 9 comments

comment 17y ago · link · parent

Btw aloo=potato and bhindi is another vegetable whose english name i dont remember currently.

comment 17y ago · link · parent

About people willing and able to contribute something : Yes Ubuntu has attacted such people. Maybe not everyone is contributing in code but many people contribute to Ubuntu through user forums and other such community avenues. Many many times I have searched for something not working on linux (for example some wifi card) and most of the times I have ended up finding the answer on the ubuntu forums. Similarly Ubuntu has also garnered a dedicated following of people who love to just tell other people about it.

Basically I wanted to say that Ubuntu may or may not have succeeded in getting a large developer following, but it surely has developed a healthy and active community and not just a passive userbase.

comment 17y ago · link · parent

GPUs are not a solution to every problem. There are several problems currently:

a) Explicit data copy required to and from GPU makes GPGPU useless for many problems.

b) GPUs are not as general purpose as CPUs. For example, no indirect jumps (goto address x) is allowed so no real subroutine calls. And no recursion.

c) GPUs are not good at branching. The toll on branching can be heavy.

d) Caches are fairly small. The on-chip shared memory, which is essentially a software controlled cache is a good idea in some cases but its still of a very small size.

Well the thing is that the computational peak power of the GPUs is not free. It comes at the cost of reduced flexibility. Nothing is free in computer architecture.

comment 17y ago · link · parent

Had wrist trouble in past. The parent post has good advice.

From personal experience:

1. Switching from laptop to desktop made a lot of difference. I now use a MS ergonomic keyboard.

2. Switched to using mouse with left hand. The problem is that the keyboard is too big on the right side due to the additional numberpad. So if you use a right handed mouse, you often end up holding it at a weird angle.

3. Started using vim.

4. Ensure that keyboard and mouse are at a proper height. If you have to bend your elbows, then something might be wrong.

5. Regularly check to see if you are gripping the mouse too tightly or if you are hitting the keys too hard. You may be unaware of the stress you are putting in the muscle.

comment 17y ago · link · parent

disclaimer : I havent used it since I am on linux. What about non-data related vandalism? Like someone painting the whole thing in pink? You start it one day and its blue, the next day its pink and the third day the "bold" button in some text editor application actually does italics?

comment 17y ago · link · parent

You got it backwards. Yahoo is scrapping its search engine technology and will use Bing results.

comment 17y ago · link · parent

What happens to BOSS?

comment 17y ago · link · parent

Game developers many times use third-party IP (for example game engines). In such a case, open sourcing is worthless.

comment 17y ago · link · parent

All Sony players have been playing MP3 since about an year. Their earliest players used a proprietary format. Actually, their current players are really good (particularly in sound quality) though they use a terrible naming scheme for their models.
1
910111213