HNHacker News
TopNewBestAskShowJobs

bnegreve

2,040 karma · joined January 4, 2011

submissionscomments
bnegreve··on Life paint
Ok thanks, I had no idea.
bnegreve··on Life paint
To be honest, as long as we (citizens) accept to have vehicles driven by humans inside our cities, this has little to do with Volvo.
bnegreve··on Life paint
> Volvo's are some of the nicest cars you can collide with as a pedestrian/cyclist

What does this mean?

bnegreve··on I spent the last 15 years trying to become an American and failed
You don't need to do anything inside the Schengen area in order to be allowed to "reside permanently". For the citizenship, it's a different issue I guess.
bnegreve··on Apple's Indies
I don't quite get the logic here. Being "not news" doesn't make it any more acceptable to me. In fact, it's the other way around.
bnegreve··on JPS+ pathfinding – faster than A* [video]
> nothing optimal is faster than A* .

For what task? The speaker seems to be concerned with the problem of answering repeated path-finding queries for a single static map. With that problem in mind A* is indeed sub-optimal since it redoes all the computations for each query.

bnegreve··on Show HN: Calc, a simple command-line calulator in C
FWIW, I use awk, which is POSIX standard

    $ awk 'BEGIN{print sqrt(2)+4;}'; 
    5.41421
bc is also standard but for some arbitrary reason I don't like it.
bnegreve··on Ask HN: What is the future of the programmer?
To clarify CP and SAT solvers are just examples and obviously they're not good enough otherwise we would be using them already. Genetic programming with combinations of SAT and statistical learning is also a possibility I guess [1]. The point is that you wouldn't need to instruct the processor what to do anymore, you would just specify the output (aka declarative programming).

> Why hasn't Prolog programmed us out of existence, then?

I would say because of its (low) speed.

> Constraint solvers are useful and powerful tools for declarative problem solving, but I don't recall them ever being viewed as general-purpose, especially not to the level of being a generic "autocode"

They are not autocode, but they are autosolve-my-problem which is in fact what you really want. I don't believe automatically generating code makes any sense. Source code is a very inefficient way to represent a program (i.e. a function) that is only useful because it can easily be written/modified by humans. There's no point in using source code as an internal representation for a program.

[1] AFAIK state of the art SAT solvers already do some level of learning: http://en.wikipedia.org/wiki/Conflict-Driven_Clause_Learning

bnegreve··on Ask HN: What is the future of the programmer?
The point is that the human doesn't write a face recognition system, but a system that learns from examples.

If humans cannot program AIs, who else is going to do it?

bnegreve··on Ask HN: What is the future of the programmer?
How do you define programming? If it's specifying a program that maps some inputs with some outputs, many AI systems are already able to do this, sometime even better than humans.

For example: would you be able to write a program that can recognise people faces with 80% accuracy? Probably not but AIs can do it.

bnegreve··on Ask HN: What is the future of the programmer?
Yes, there are many of these. I think MiniZinc is also quite popular among the optimisation guys

http://www.minizinc.org/

bnegreve··on Ask HN: What is the future of the programmer?
An interesting vision is that we'll go from programs that can be executed to models that can be solved with generic solvers (e.g. SAT solvers [1], or CP solvers [2])

So if you need to sort an array, instead of programming quicksort, you will simply specify that you are looking for a permutation of the input array T such that for all i, T[i] < T[i+1] and the solver will search and find a solution to your problem (i.e. a sorted array) using whatever technique it likes.

Many constraint satisfaction and optimisation problems are already solved this way, there's a possibility that this generalise to other problems.

There's many advantages to this: first you need less (no?) testing, because if the solution doesn't match the problem specification it can only be a bug in the solver.

Second, there's a chance that solvers will eventually be as fast as human programmers at finding solutions. Just like the compilers are almost as good at programmers at generating assembly, and often better. If this happens programming in general will become as useless as programming in assembly today.

[1] http://en.wikipedia.org/wiki/Boolean_satisfiability_problem#...

[2] http://en.wikipedia.org/wiki/Constraint_programming

bnegreve··on The Meaninglessness of Ending Extreme Poverty
> Lack of ability to imagine another's experience.

Actually assuming that it's impossible to enjoy life without money is a very western centric opinion. You don't necessarily need to buy food, you can grow food, you can hunt food, you can search for food in garbage bins or you can even steal it.

For what it worth, I do have a friend in that situation and she seem to enjoy it.

Now, I agree that GP's comment is pretty stupid: the fact that some people can enjoy living in that situation shouldn't be an excuse to let the other starve.

bnegreve··on Direct Train to Europe: London to the Mediterranean
When I have to choose between a 2 hour flight and a 4 hours train ride, I choose the train. I hate airport security and I find it impossible to do anything in a plane.

I agree that flying is generally cheaper though.

bnegreve··on Show HN: Parse and output TODOs and FIXMEs from comments in your files
I guess the question is how does this compare to standard existing tools such as grep, i.e. something like

   $> grep -Hn TODO test.js
   test.js:241:TODO ...
bnegreve··on Pronounceable Anagrams
Cool! One little thing is that you would expect that the is_anagram relation is a symmetrical one. I.e. that "neo" is an anagram of "one" then "one" is also an anagram of "neo", which doesn't seem to be the case with you system. Why is that?
bnegreve··on Stop overanalyzing and become the best version of yourself
Usually analytical minds are opposed to synthetic minds (i.e. good ability synthesize/abstract).

Of course most people can do both, but often people are better at one or the other.

(Although usually, only people with analytical minds waste their time thinking about it.:)

bnegreve··on Stop overanalyzing and become the best version of yourself
Thanks but obviously I already know all these things because I've spent hours thinking about it:) The question remains how do I stop?
bnegreve··on Hyperlapse makes first-person videos smooth and speedy
For some reason, I find the demonstration in this article far more convincing than the ones in the posted article.
bnegreve··on Grade Inflation at American Colleges and Universities
> It isn't really disingenuous. It's become fashionable to claim that "all graphs should start at zero", but that's not necessarily how you display data.

Not all graphs no, but for histograms which are meant to compare quantities, maybe yes. See the other discussion in this thread.

The kind of false impression that at least I get when I look at this graph is that the grades were multiplied by a factor ~1.3 over the past 20 years when they were only multiplied by a factor 1.06. For anyone familiar with GPA, this is misleading.

bnegreve··on Grade Inflation at American Colleges and Universities
> The point is that a grade is an ordinal quantity

In principle I agree, but grade inflation preserves the order so why should we care about grade inflation if grades are only about order? I think the plot and the rest of the article goes beyond that.

Also an histogram is a poor representation choice for ordinal data.

bnegreve··on Grade Inflation at American Colleges and Universities
Grades are at least supposed to reflect the quality of the students who pass the tests with some level of linearity. If the author doesn't believe this is the case, s-he shouldn't use them in the first place, especially not to discuss grade inflation.

The kind of false impression that at least I get when I look at this graph is that the grades were multiplied by a factor ~1.3 over the past 20 years when they were only multiplied by a factor 1.06. For anyone familiar with GPA, this is misleading.

bnegreve··on Grade Inflation at American Colleges and Universities
The scale on the first plot is a bit disingenuous. Here's the same data replotted with a proper scale (i.e. ranging from 0 to 4 instead of 2.6 to 3.4).

http://i.imgur.com/HxKss12.png

bnegreve··on List of Unsolved Scientific Problems with Large Monetary Prizes
Well, the odds of finding a prime number with 1,000,000,000 digts are lower by far and you only get $250,000
bnegreve··on EU study recommends OpenBSD
FP7 founds research projects, so we're mostly talking about research software which is usually developed by researchers.
bnegreve··on Show HN: Blank Slate, just start typing
Dude, this is insane. You basically telling people what they should say with quoted sentences.
bnegreve··on The future of flying
> What this ideology calls "greed" is what every business, from the local small bakery shop to a multinational has to do: Optimize for profits while delivering product that satisfies customer needs at the right value and quality level.

I don't believe that every single business in the word cares about "delivering products that satisfies customer needs at the right value and quality level", and I doubt that you can find evidence that would convince me.

bnegreve··on Japan maglev train breaks world speed record again
What's truely impressive is not the record but the fact that they will operate at 505 km/h.

Current high speed trains can go over 570km/h but are only operating an 320km/h.

bnegreve··on Lol my thesis – Summing up years of work in one sentence
Unlike the title this also include the main result and a bit of derision.
bnegreve··on Lol my thesis – Summing up years of work in one sentence
Interestingly, I find these blatantly honest short sentences more informative than abstracts.
← PreviousPage 12 of 25Next →