Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nicolasMLV
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
nicolasMLV
8y ago
Rails uses foreign keys by default, usually I generate a migration file with `rails generate migration AddThisToThing this:references` Then this line is generated `add_reference :things, :this, foreign_key: true` and then we call the migrat
2.
▲
by
nicolasMLV
8y ago
It is mainly a wrapper around this chrome headless command : (maybe you only need that) `#{chrome_alias} --headless --disable-gpu --print-to-pdf="#{pdf_path}" "#{html_url}"`
3.
▲
Stimulus: A modest JavaScript framework that works with the HTML you already have
(github.com)
21 points
by
nicolasMLV
9y ago
|
0 comments
4.
▲
by
nicolasMLV
9y ago
Turbolinks is the official Front-end part of Rails and it works very well, but there is no mention of it in the article neither in the hackernews comments, so i think it is under-used. There's also turbolinks-ios and turbolinks-android
5.
▲
Early stage VC backed by some of the world's best entrepreneurs
(villageglobal.vc)
1 points
by
nicolasMLV
9y ago
|
0 comments
6.
▲
by
nicolasMLV
10y ago
David Heinemeier Hansson, CTO of Basecamp and Creator of Ruby on Rails https://www.twitter.com/dhh
7.
▲
by
nicolasMLV
10y ago
You could simplify this <script> var counter = 0; $(document).ready(function() { var $output = $('#output'); $('#increment').click(function() { counter++; $output.html(coun
8.
▲
by
nicolasMLV
10y ago
been using it for 1 year to swap keys (beer+keyboard accident...) and it works well
9.
▲
by
nicolasMLV
10y ago
In 2013 I declined an offer (first job, graduate): software dev in bigco (IT Provider travel industry), £38K
10.
▲
by
nicolasMLV
10y ago
yes, that is event delegation : https://learn.jquery.com/events/event-delegation/
11.
▲
by
nicolasMLV
10y ago
You can use event delegation for button handling : `$(document).on('click', '.button-list', my_function);` https://learn.jquery.com/events/event-delegation/
12.
▲
Why this pull request isn’t merged
(github.com)
3 points
by
nicolasMLV
10y ago
|
0 comments
13.
▲
by
nicolasMLV
10y ago
Great but Turbolinks 5 and Action Cable (web sockets) are missing
14.
▲
by
nicolasMLV
10y ago
Let's hope Github will find a way for users to be able to 'tip' maintainers. I concede it is very hard to find the solution (Who? When? How much?)
15.
▲
by
nicolasMLV
10y ago
Here is a new blogpost from DHH "Provide sharp knives" https://m.signalvnoise.com/provide-sharp-knives-cc0a22bf7934
16.
▲
by
nicolasMLV
11y ago
Just been removed from https://www.producthunt.com/upcoming although 20 upvotes
17.
▲
News Feed is bad and Facebook should feel bad
(nicolasmlv.com)
1 points
by
nicolasMLV
12y ago
|
0 comments