HNHacker News
TopNewBestAskShowJobs

LBarret

109 karma · joined February 5, 2010

lionel.barret@gmail.com
submissionscomments
LBarret··on Half a decade with Go
I suspect this is like duck typing with some verification before compilation : the compiler checks that the object sent as parameter implements the correct interface.
LBarret··on Half a decade with Go
replace Go with Python in the text, and you won't see a difference: there are iterable, keyable, file-like interfaces, etc. And creating your own is trivial.
LBarret··on Ask HN: What would it take to rewrite Vim?
software architecture is a bitch, so reading about the book open source software architecture could give you good ideas.

To be more specific decoupling the rendering, from the commands, from the inputs, from the external processes would go a long way.

And some reactive programming model would likely works.

LBarret··on Go 1.4 Beta 1 is released
I remember being so angry at delphi for its lack of generics.... I didn't think this would happen again.
LBarret··on Egg Freezing: A Sign Your Workplace Is a Dystopian HellHole
Scandinavian societies are far less sexist than the rest of europe and the US. The need for a specific, targeted law is less important.

In law, the government can either follow a trend, or change the status quo. In this case, changing the status quo and forcing the fathers to take some responsabilities of mothers is the only way. A sexist society doesn't change by itself because the men in power doesn't want it to.

LBarret··on Zen Buddhism and Alan Watts
The text promotes keeping an open mind and to be humble. Often, The exception to a common rule are dismissed as minor and without effect which allows us to keep our certainties. The light example in this context, is well choosen : it is fundamental, factual and therefore cannot be dismissed easily. The scientific aspect is secondary to those advantages.
LBarret··on Ask HN: I hate JavaScript
works both ways : a good workman choose good tools.
LBarret··on Ask HN: What are your sources of inspiration and motivation?
eureka moments and plateaus make it non linear. I think it's more like a repeated S curve at different scale, Fractal-like. Accepting plateaus and going on nevertheless is one of the most important thing for a project.
LBarret··on Farewell CoffeeScript
For many projects of playful hacking, you want to reach a goal. If the goal is learning the language itself, it's allright and we are in agreement. But more often, you want to build an app, a toy and changing language midway is a shortcut to failure and disappointment.
LBarret··on Farewell CoffeeScript
For you, it has no advantage. You have integrated all js by now and you avoid the common mistakes instintively.

For me, it is the gray area, I am a language geek so the semantics of js are quite clear but js bytes me sometimes. In coffeescript, The syntax is better and the semantics are better exposed , so it may be a net win.

For a guy who is already familiar with coffeescript, the change will be likely negative. Familiarity with coffeescript is likely to generate bugs in javascript. You're moving from one language to another after all. The impact won't be huge as the two are quite close, but there is no reason to change in the first place.

LBarret··on Farewell CoffeeScript
So this is a kind of teenage hubris thing ? In which other field this would be normal ? I play the devil's advocate there, but please bear with me : IMHO, this attitude is among the causes of the high failure rates of many projects (personnal or pro).

The constraints are minor, the gains of coffeescript quite clear. There is no important gains in sight that justify moving to js. So why changing ?

Changing for the sake of change, is silly and something all of us do. A successful project needs as much technical stability as feature stability.

LBarret··on For Cinephiles, Netflix Is Less and Less an Option
As Gabe Newell (Valve/Steam CEO) put it : "Piracy is almost always a service problem and not a pricing problem."

This guy built the 21st version of a Studio. it's not perfect (the model has its own problems) but at least it is in phase with the current world.

LBarret··on Volt: A Ruby web framework where your Ruby runs on both server and client
it's a mix, some stuff is high level (closure), some is low level (for loop before ECMA6). This is very uncomfortable when you're learning it, you never know on which side you are.
LBarret··on Hack ‘n’ Slash now 1.0 and Extra Hackable
the game engine was likely c++, and the scripts (Fx, behaviors, etc) were in Lua. It's a common setup.
LBarret··on Vispy: OpenGL-based interactive visualization in Python
it looks cool but it takes the control of the main loop, no ? The ability to integrate an OpenGL scene in another framework in critical.
LBarret··on Show HN: Creddle – Paper-friendly web resumes
Do people really use resumes ? For interviews, I just bring an ipad with my LinkedIn profile...
LBarret··on Avoiding Event Chains in Single Page Applications
mmm... as I get older and (hopefully) more experienced, I have become doubtful of this point. Apparent simplicity comes often from ignoring the subtle difficulties in a problem. Adding a layer is often the disagreable but reasonable thing to do.
LBarret··on Want to fight climate change? Build more nuclear power
mmm...that's not what I read/heard. Germany had a surplus sometimes during the year but on the average it's a consumer more than a producer.

edit : what I just wrote is untrue, Germany is a net exporter (since 2012) but suffer from the important irregularity of solar/wind production (overproduction and underproduction happen regularly and may damage the network).

And, 46% of the electricity is coming from coal...

LBarret··on Recki-CT: PHP compiler in PHP
While I happy for all the php coders out there, I am so sad this kind of things could help make php more important in the market place.
LBarret··on Ask HN: Why can't programmers get along with business type people?
Looks at what they do, and you'll find the source of their biases.

A coder works with objects that are between math and infrastructure. From math, he gets the logical reasoning. From infrastructure, the long term need for solidity. A coder is also much product oriented.

Bizdev works with more fluid concepts (perception and human psychology) and focus more on the cash flow. Time is essential in business, a good product late rarely succeed.

LBarret··on Ask HN: Review my startup – itripd.com
I thought of something similar, but focused on a team composed of a senior who cannot move and plays the role of HQ (search & intel), and a adult who take photos/videos/etc following the guidance of the HQ. It would provide an interesting exchange : the senior feels like s/he is travelling, the adult gets backup and better level of info.
LBarret··on Ask HN: Why hasn't Dart become mainstream?
Currently, it is not very compelling, it is well engineered but different enough to fuel enthusiasm.

But if someone produces something interesting with it, all can change...as soon as tomorrow.

LBarret··on What ORMs have taught me: just learn SQL
ORM like anything aren't all in the same league. I didn't like them blindly, but SQLAlchemy works very well (because its layered architecture).
LBarret··on Ask HN: Who wants to be hired? (August 2014)
Location: Roanne, near Lyon, France

Remote: Yes ! (partial remote possible)

Willing to relocate: Yes in a few months.

Technologies: PM, Architecture, API Design, Python, OpenGL, javascript, leaflet, wxwidget, Qt, Haskell(beginner), HTML/CSS, Jquery, redis, flask, django, sqlalchemy

Resume: http://careers.stackoverflow.com/lionelbarretdenazaris

Email: '{firstname}.{lastname}@gmail.com'.format(firstname='lionel', lastname='barret')

I consider myself a seasoned dev, I've done both big ( AAA video games, moving a heavy client framework to the cloud) and small projects. I love coding and building useful software products. And after more than 12 years, I learn fast.

Shoot me an email mentioning Hacker News and I'll make sure to respond to it. Thanks for your time :)

LBarret··on Ask HN: What do you do to blow off steam?
tai-chi tanglang kungfu.

I learned it years ago and teached it for a few years. Even if I don't practice as much as I should, the moves come back very naturally. An one-hour training makes me happy whatever are the circonstances.

LBarret··on Announcing a specification for PHP
A language without a spec ? Damn, php is even worse than I thought. Still, FB may turn it (with hack and HMMV) into something interesting.
LBarret··on Minecraft clone in Python with Pyglet
Not really. Databases are very common in gamedev but, most of the time, they are not relational and are ad-hoc (i.e the database program is coded in-house). All of this for performance.
LBarret··on Corecursion
did you read SICP (this is explained in the first chapters of the book) ? if not you're for a treat.
LBarret··on The Heartbleed Bug
There are not bad tools, but not the best either. If you spend mental stamina on trivial things, you have less for the important ones, the ones a compiler cannot check.

This kind of tool (SSL) should be written in ada or haskell.

LBarret··on Ask HN: Why Haskell?
it is quite well explained in pg' blub language text. The reason to learn haskell is twofold : make you a better programmer (functional programming breds good habits in any language and help you think differently about problems), learn something interesting (puzzle your brain for the pleasure of solving the puzzle).
← PreviousPage 3 of 5Next →