HNHacker News
TopNewBestAskShowJobs

alexis-d

661 karma · joined June 30, 2011

submissionscomments
alexis-d··on France bets on more nuclear power in face of Europe energy crisis
Renewables can't provide a consistent baseload which is a big (unfortunate) drawback.
alexis-d··on Bash Academy
This is a WIP (hence why there are drafts and todos). This is being done by the folks at http://mywiki.wooledge.org/BashGuide which is definitely a valuable resource if you're trying to learn Bash and its idiosyncrasies.

Another good resource is http://wiki.bash-hackers.org/.

alexis-d··on Show HN: Sublime Text Database Client
I've been using Jetbrains' 0xDBE recently (https://www.jetbrains.com/dbe/) and I highly recommend it:

  * it works with IDEAVim
  * it uses JDBC so you can easily connect to "non-standard" DBs by using any JDBC driver
  * it's better than psql/vsql/... for dealing with complex queries (you have a real editor rather than limited readline support, if you're lucky enough to have readline support)
alexis-d··on Parsing regular expressions with recursive descent
If you liked this you may also enjoy http://genius.cat-v.org/brian-kernighan/articles/beautiful (simple regex engine in C by Rob Pike, article written by Brian Kernighan).
alexis-d··on Kickstarter for a JavaScript top level domain (.js TLD)
1. Except the .eu I guess (otherwise I agree).
alexis-d··on Google's Code Editor
That will better for phone interviews will Google than the "plain" Google Doc (which is just terrible for writing code -and that's normal-).
alexis-d··on Kickstarter: Make a Better CoffeeScript Compiler
Oh totally, you're right, I misread his comment.
alexis-d··on Kickstarter: Make a Better CoffeeScript Compiler
Isn't Less written in JS now?
alexis-d··on Python for Perl programmers
I think you missed my point.

I agree that for trivial regex it's useless. For instance (directly taken from Python doc) in this case:

  a = re.compile(r"""\d +  # the integral part
                     \.    # the decimal point
                     \d *  # some fractional digits""", re.X)
  b = re.compile(r"\d+\.\d*")
that's useless. But for more complex problems it may be useful (e.g. http://www.doughellmann.com/PyMOTW/re/ I know email matching regexes are not really complex or even a good example of use of regexes but that's the first example I found).

Another point is that even if I can read/write (that's the case) regexes other people may have to deal with my code and it's a well known fact that many people doesn't understand/like regex, so splitting them in small "chunks" may help them.

alexis-d··on Python for Perl programmers
> RE patterns can be horribly ugly

It worth to be noted that the verbose flag (re.X or re.VERBOSE in Python) may help to get more readable/friendly regexes (by allowing whitespace and comments).

alexis-d··on Google account activity
I think you misunderstood the phrase (which has been removed since?).

I signed up (my web history has been disabled for months) and I only have data about my OSes/emails/locations, nothing about search "Web History No activity found."

alexis-d··on Microsoft needs Wizards: A 1984 Microsoft job posting
Thanks, good luck!
alexis-d··on Microsoft needs Wizards: A 1984 Microsoft job posting
Do you have any sources for those numbers? Thanks!
alexis-d··on Put your programming skills to the test
I assume it's Python 2 (print is a keyword, not a function).
alexis-d··on France convicts Google Maps for unfair competition
Ok thanks for the explanations.

"<additional meta> It is bad form on HN to complain about downvotes."

I didn't complain I just wanted explanations.

alexis-d··on France convicts Google Maps for unfair competition
Can someone explain me the downvotes?

I mean the Microsoft/Google thing was a half serious, half joke question.

alexis-d··on France convicts Google Maps for unfair competition
I'm French and I really think that's a shame.

What's next? Microsoft to sue Google because Docs are free?

alexis-d··on Browser Sedimentation
It looks like it's Pentadactyl (an addon to use Fx with Vim-like key bindings) which provides this behaviour.
alexis-d··on Browser Sedimentation
I'm not sure we really need all those bars. I mean I use this http://i.imgur.com/0U1yW.png everyday and it's perfectly fine/usable (ok we may need to add an url/toolbar for most people, but at least it merge the tab bar and the title bar).

Edit: It also merges the file/tools/help bar in the left button.

alexis-d··on Uploaded.to blocked U.S. visitors as a response to the MegaUpload takedown
arn posted this screen below: http://imgur.com/BJJOs
alexis-d··on Django Drinkup Dublin 21 January 2012
I might come too !
alexis-d··on Memoization explained using a python implementation of fibonacci
Note that we can use the @functools.lru_cache(None) to easily benefit from memoization.
alexis-d··on CodeSprint programming contest to match developers to companies
That's strange. While it's true I have "very" secure fb settings, I allowed your app to use my email address. Anyway I'll try to login with Google.
alexis-d··on CodeSprint programming contest to match developers to companies
When I tried to see problems of fall 2011 (using Facebook for login).
alexis-d··on CodeSprint programming contest to match developers to companies
Nice error handling from them...

  A Database Error Occurred

  Error Number: 1048

  Column 'email' cannot be null

  INSERT INTO `recruit_hackers` (`email`) VALUES (NULL)

  Filename: /var/www/istreet/html/recruit/models/supermodel.php

  Line Number: 335
alexis-d··on ISO C is increasingly moronic
"For an example of what happens when you break compatibility in the name of "progress" see Python3, which years on is still not installed by default anywhere, and probably never will be."

Python 3 is the default on some Linux distros (e.g. Arch Linux)...

alexis-d··on Poll: Would you like a "Panic button" service to lock down your online accounts?
Yes, but I'll never trust enough a company to give it all my login infos.
alexis-d··on Face detection jQuery Plugin
Totally agree, if I'm not wrong Jay just packed the Liu Liu code into a jQuery plugin, right?
alexis-d··on Offer HN: create a collaborative tech blog?
By the way the "big thing" isn't the hardest part of this. The most important thing is probably the review of issue/pull request, and everybody who want to help can do that ;)
alexis-d··on Offer HN: create a collaborative tech blog?
I don't really know it really depends on the number of a contributor! The goal isn't to have a huge blog with 20posts/day. The hard thing is to get a motivated team to get started to be sure the idea will last (there's no point if everybody post something at the beginning and then nothing).

Maybe we should start to talk on IRC? Or Google groups to see who's motivated?

Page 1 of 2Next →