HNHacker News
TopNewBestAskShowJobs

miloshh

420 karma · joined October 25, 2008

submissionscomments
miloshh··on I'm turning into a Lisp snob
Nah. Using Lisp to script an engine written in C++ is not the same as writing the engine itself in Lisp. I'm not saying this is not possible, it's just that nobody tries.

You might be able to do a serious graphics or high-performance computing project in Lisp. You will be the first one, and I'll be very interested in how it goes.

miloshh··on I'm turning into a Lisp snob
Take away static typing from Haskell and you still have a richer language than Lisp, with more interesting research happening in the community. It is ironic that e.g. nested data parallelism has its roots in Lisp (as early as 1990) but might soon enter the mainstream through Haskell.
miloshh··on I'm turning into a Lisp snob
So, I guess a real criticism of Lisp would be that it is stuck in the past. Lispers are still looking down on C; they never try to look up. If they did, they would see languages like ML and Haskell have surpassed them in all respects. Heck, even Matlab and its descendants with the "everything is a matrix" philosophy have created a powerful new paradigm that is certainly not a special case of "everything is a list". In short, the world has flown by Lisp, and Lispers (at least the vocal ones on blogs) still did not notice.
miloshh··on I'm turning into a Lisp snob
Well, Lisp sure does exist, and has been used to solve real world problems. But those were predominatly in applications where performance, parallelism, graphics, large matrix computations and GUIs do not matter. If you want to pick on the imperative languages (i.e. Pascal/Fortran/C/C++), you better show you can do what they can do.
miloshh··on I'm turning into a Lisp snob
"I could show these poor imperative programmers how their problems could be solved much easier in Lisp if I wanted to." That to me (as an outsider) seems to be the main message of these Lisp blogs. But at some point, nobody will believe you could do it, unless you actually do.
miloshh··on [dead]
The message of the article is the typical "you need other skills, not just high IQ, to be smart".

But then they show some examples of questions for which you supposedly need these "other skills", and sure enough, they're typical little math puzzles that could be taken straight from an IQ test, or SAT/GRE.

miloshh··on The Ph.D. Problem
Which independent researchers did you have in mind? One example I can think of is in politically sensitive areas, where think-tanks bypass the peer-review process and try to get their "research" straight into media, through good connections. I think that is rightfully viewed with suspicion.

If your point was that researchers unaffiliated with universities have a harder time to get through the peer-review process - I don't think that's true at all. Often I do not even remember if a paper I read in the past came from a university or an industry lab. For example, in computer graphics, one of the most prolific institutions when it comes to publishing papers is Microsoft Research Asia.

miloshh··on The Ph.D. Problem
Focuses very much on a Ph.D. in English, which is in some ways the worst rather than the average case.

However, the argument that getting a Ph.D. is getting harder while its (financial) value is decreasing seems correct to me. That might not actually be a bad thing, and is very much to be expected - the market value of doing cool and interesting things goes down as the value of tedious or dangerous jobs goes up. I think we will see even more of that in the future.

We keep complaining about people maximizing their profits rather than happiness. But then, when some choose to pursue their interests and get PhD's in areas that aren't so hot in the industry, we criticize them for bad career decisions. Maybe everything's OK with the system, after all.

miloshh··on Why RSA encryption padding is critical (cool RSA implementation flaw)
The attack seems to be based on the arbitrary assumption that e=3. Isn't e always a huge number in practice?
miloshh··on Immigrant Scientists Create Jobs and Win Nobels
It is a bit better since education institutions and are not subject to the quota, but the arcane complexity of the rest of the process still remains.
miloshh··on Ask HN: If C++ is so bad, what should game developers use?
But I assume they did not write the game in Python and the optimize parts in C++. Quite the opposite - they wrote it in C++ and then found that some part (e.g. GUI) is growing in complexity while not being crucial for performance, at which point it is a good decision to use a scripting language for it.

That is a pretty common approach, but what was suggested above (writing first in HLL and then rewriting parts in C++) is, to my knowledge, never done in practice.

miloshh··on Ask HN: If C++ is so bad, what should game developers use?
That advice never works. The problem is data structures. If your high-level prototype uses complex data structures of e.g. Python, you will not be able to access them from C++. You will need to rewrite the whole thing anyway.

The only way you might get away with this approach is if your application is essentially a number of separate scripts that communicate through files. Then you can rewrite the key scripts in C++. But that is never the case for games.

miloshh··on Ask HN: If C++ is so bad, what should game developers use?
You're right, C++ pretty much has no serious alternatives for games. And not just games, anything that involves computer graphics, physical simulation, computer vision or image processing.

Python is excellent if some good soul has already written a library that does exactly what you need (in C or C++, obviously). The combination of numpy+PyOpenGL+PyCUDA is great for certain kinds of research projects (I have written a volume renderer in it) but probably far from commercial usability.

Haskell has great potential, but the community is too small and too academic to produce the necessary libraries and tools (which is a lot of work with minimal scientific content). The key problem is the absence of an industrial-strength array facility - there are many kinds of arrays in Haskell, all somewhat clunky and incomplete.

D might be a contender, but last time I looked the tools seemed very basic and it did not even support 64-bit systems.

miloshh··on Intro to Comp Sci language breakdown
Cornell / Matlab or Java / 2009 and many years past. You can choose multiple versions of those courses. There is even a "robotics" version.
miloshh··on Solving Serial Problems with Parallel Computation
http://en.wikipedia.org/wiki/NC_(complexity)

It might be that P=NC, but it is very unlikely, i.e. some problems are probably inherently not parallelizable.

miloshh··on Digitizing speech on a piano
Ah, the power of a least-squares fit. :)
miloshh··on One Small Leap for Open Source, One Giant Leap for Mankind
I'm mostly arguing against patenting trivial increments over non-trivial ideas.

It has been long known that MC can be applied to computing any integral over any domain, so computing the integral of color over a pixel is simply a specialization of a general technique, and should not be patented.

Similarly, in akeefer's post above, storing insurance claims in a relational database is a specialization of the well known process of storing anything in a database, so should not be patented.

miloshh··on One Small Leap for Open Source, One Giant Leap for Mankind
Are you sure that's the typical software patent?

Some famous law-suits were about patents that are far less trivial than your bridge example.

For example, Pixar holds a patent on Monte Carlo sampling, and has sued or threatened a number of companies that used any sort of randomization in their rendering algorithms. This despite the fact that Monte Carlo methods have been known and used for many decades before Pixar was started. The issue here is not that the concept of Monte Carlo integration is trivial, but instead that Pixar's contribution to it is so tiny compared to the previous state of the art that it should not give them a "right" to own the whole field.

Similarly, some lawsuits were about compression algorithms if I remeber right. Same issue here - it's not that a given compression algorithm is trivial, it is more the fact that it is probably a tiny increment on the top of existing compression techniques, and anybody that also builds on the known ideas should not be threatened by loosely related patents.

Of course, patents are a problem that should be addressed, but I don't think trying to prove that software patents are somehow different than others is the right way.

miloshh··on The VC, The Professor, And The Valley Of Death
Often it isn't the main goal of the research that's monetizable. Instead there's an assumed body of knowledge that is "well-known" and "solved" - but in fact there are only a few people in the world that truly understand it, and it could make a large impact in the industry.

If you can get deep enough into a field to sense those ideas in the air (and this is much less work than you need to publish original papers yourself), you might find a goldmine.

miloshh··on Rich, Black, Flunking
Not really - blacks from Africa and the Carribean do very well academically. It is only the American blacks that do poorly. They have the same biology and often a better starting line than the immigrants. Why is that?
miloshh··on @2gov - Visas for startup founders movement
The thoughtful objections have not been against the idea as such, but mostly against the proposal that a board of investors or government officials would decide who is good enough. That would indeed a problem - startups that VCs or government approve would likely be the ones immitating the previous big thing, rather than building the next big thing. But I think a board is not necessary. In my opinion, all that's needed is that the founders

1. have bachelor's degrees, 2. register a corporation, 3. start with at least $X in the company account.

The value of X is up to debate, but it should not matter which investors they received the money from. Details can be worked out.

miloshh··on @2gov - Visas for startup founders movement
As pointed out by gruseom below, if somebody wants to game the system, they will come on a tourist visa and simply not leave. I don't think these convoluted scenarios of possible abuse are realistic at all. Furthermore, if the founder's visa law is any good, it will not require the founders to create jobs. It will simply assume that from 2500 startups a year, many will create a lot of jobs.
miloshh··on @2gov - Visas for startup founders movement
It's sad how the founders visa isn't even close to reality yet, and already has vocal opponents bringing up bogus reasons why it's a bad thing. How long will it take until somebody complains about "foreigners taking away startup opportunities from Americans"?
miloshh··on Haskell Arrays Accelerated with GPUs
http://hackage.haskell.org/package/accelerate

Unfortunately, it seems to be just a reference CPU implemetation, but if the GPU code is ever released, I'd guess it will be here.

miloshh··on How To Get People To Reply To Your Messages In Online Dating, Part I
I think that's unlikely, but it would be an interesting experiment to find out for sure.
miloshh··on How To Get People To Reply To Your Messages In Online Dating, Part I
It is assumed that longer messages take longer to compose. But that's only true if you're starting from scratch every time. You should instead write one good generic message and send it out to many people, only inserting one sentence to reflect on something specific to the particular profile.
miloshh··on How Indian Immigrants Have Changed the face of Silicon Valley
No, it's not supply/demand economics, that was my point. It would be if Americans created jobs that immigrants later filled. That is not happening.

Rather, both Americans and immigrants worked hard to build a tech industry that then created jobs. Without the immigrants, the Americans would not have been able to create an industry more significant than, say, the Japanese or Italian tech industry. Thus many jobs would not exist, and the wages would not be higher.

You did not say words like "create", "stolen", "give", and "take", but they are implicit in making your supply/demand argument work.

miloshh··on How Indian Immigrants Have Changed the face of Silicon Valley
"The demographic makeup of SV engineers was overwhelmingly white American until around a dozen years ago."

A dozen years ago was 1997. Do you seriously think this is true?

"With the importation of so many engineers into the US, wages were suppressed..."

You seem to think that white Americans work hard to "create" jobs, which are then "stolen" by hordes of immigrants. In other words, white Americans "give" and immigrants "take". That's just not how it works.

Immigrants in SV are on average smarter and work harder than Americans - not because there's something wrong with Americans, but because these immigrants are a highly biased sample of the world's huge population.

miloshh··on Two ways to hire (and a wrong way)
The article could as well be called "three wrong ways to hire".

I don't understand why academia has long known the right way to hire, but the software industry keeps missing it. The right way is to let the candidates give a 30-60 minute talk about their previous projects, and then fry them with questions that came up in the talk.

Imagine a famous university wants to hire a top-quality math professor. How about asking him tricky high-school math questions for an hour, to see if he makes a mistake? Or how about cutting it down to 5 minutes, since that's enough to assess the "chemistry"? Or, what about choosing only from a pool of contractors that worked with the university before, rather than letting the best ones to apply? Sound stupid? Well, yes, it is stupid.

miloshh··on Humour is an act of aggression
The study seems to say that whether a person uses humor (and what kind) depends on their place in the social hierarchy. But that is a far cry from saying that the purpose of humor is to define the hierarchy.

Similarly, the type of food people eat reflects their social standing, but the purpose of food clearly isn't to define the social hierarchy.

← PreviousPage 3 of 6Next →