Re: [Rails-core] Re: New rubyonrails.org website?

2015-06-06 Thread Frank Tellefsen
I completely forgot. Could have swore it was for a different project.

Thanks for the reminder.

Frank

2015-06-06 13:52 GMT+02:00 Kasper Hansen :

> Sean already answered this in a thread you participated in :)
>
> https://groups.google.com/d/msg/rubyonrails-core/oJAQjXIEJ7Y/Ph6luwwy5foJ
>
>
> Den fredag den 5. juni 2015 kl. 21.59.14 UTC+2 skrev Frank Tellefsen:
>>
>> Hi!
>>
>> Anybody know if there are plans to create a new Ruby on Rails website?
>> One that's, say, more similar to RailsGuides or Ruby's website?
>>
>> How do you guys feel about the current website?
>>
>> Many thanks!
>>
>> Frank
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


[Rails-core] New rubyonrails.org website?

2015-06-05 Thread Frank Tellefsen
Hi!

Anybody know if there are plans to create a new Ruby on Rails website? One
that's, say, more similar to RailsGuides or Ruby's website?

How do you guys feel about the current website?

Many thanks!

Frank

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails-core] Redesign the Rubyonrails.org

2014-12-23 Thread Frank Tellefsen
* less like BaseCamp

2014-12-23 13:37 GMT+01:00 Frank Tellefsen :

> Hi!
>
> > Please elaborate.
> >
> > Where do you think the site is lacking? How can we improve it?
>
> Maybe make it more like http://ruby-lang.org/ and less BaseCamp? Ie. a
> simpler, more traditional structure, with all the latest news right there
> on the front page.
>
> Thanks!
>
> Frank
>
> P.S. An announce mailinglist would also be greatly appreciated!
>
> 2014-12-23 3:11 GMT+01:00 Ryan Bigg :
>
>> Please elaborate.
>>
>> Where do you think the site is lacking? How can we improve it?
>>
>>
>>
>> On 20 Dec 2014, at 18:50, Anandu B Ajith  wrote:
>>
>> The site is having a very old design and not usable ..
>> shouldn't we switch to a better design in 2015??
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-core+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-core@googlegroups.com.
>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-core+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-core@googlegroups.com.
>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails-core] Redesign the Rubyonrails.org

2014-12-23 Thread Frank Tellefsen
Hi!

> Please elaborate.
>
> Where do you think the site is lacking? How can we improve it?

Maybe make it more like http://ruby-lang.org/ and less BaseCamp? Ie. a
simpler, more traditional structure, with all the latest news right there
on the front page.

Thanks!

Frank

P.S. An announce mailinglist would also be greatly appreciated!

2014-12-23 3:11 GMT+01:00 Ryan Bigg :

> Please elaborate.
>
> Where do you think the site is lacking? How can we improve it?
>
>
>
> On 20 Dec 2014, at 18:50, Anandu B Ajith  wrote:
>
> The site is having a very old design and not usable ..
> shouldn't we switch to a better design in 2015??
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails-core] Changing welcome#index page in the new Rails applications

2014-11-27 Thread Frank Tellefsen
Given that Rails isn't a front-end lib, maybe we could just go with
something like http://motherfuckingwebsite.com/?

Thanks!

Frank

2014-11-27 19:12 GMT+01:00 richard schneeman :

> :+1: I can dig it.
>
> How about adding a link to the routing page while we're at it.
>
> --
> Richard Schneeman
>
> On Wed, Nov 26, 2014 at 9:04 PM, Ryan Bigg 
> wrote:
>
>> Looks good to me. I would hide the box on the right by default. Please
>> submit a PR for it :)
>>
>>
>>
>> On Thu, Nov 27, 2014 at 2:03 PM, Islam Wazery 
>> wrote:
>>
>>>  I am proposing to change the style of the index page
>>> 
>>> of the newly created Rails applications to something like this:
>>>
>>>
>>> 
>>> Is that suitable, so I can issue a PR with it or no?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ruby on Rails: Core" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to rubyonrails-core+unsubscr...@googlegroups.com.
>>> To post to this group, send email to rubyonrails-core@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-core+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-core@googlegroups.com.
>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails-core] Feature idea: nicer scaffolded views

2014-10-15 Thread Frank Tellefsen
I am all for grids as a tool in graphic design and architecture (
http://www.slideshare.net/huer1278ft/grids-are-good-right), but why some
people see the need to transfer them programatically onto their HTML and
CSS is beyond me.

I would actually argue that the look of scaffolding should be made even
simpler, ie. http://motherfuckingwebsite.com/. Forcing front-end libraries
onto a developer is, in my humble opinion, like insulting his or her
intelligence.

As they say, "perfection is achieved, not when there's nothing left to add,
but when there's nothing left to take away".

Frank

2014-10-15 20:46 GMT+02:00 Robert Evans :

> I like the idea of creating a better presentation for the scaffold, but
> not by using a 3rd party framework or library.
>
>
> However, one could make some minor changes to the scaffold code so if a
> developer were to add bootstrap, foundation, or whatever framework to their
> project, the generated scaffold code would automatically have it's styles
> enhanced by the added framework.
>
>
> Robert
>
>
> > On Oct 15, 2014, at 11:27 AM, Nicolas Cavigneaux 
> wrote:
> >
> >
> > Le 15 oct. 2014 à 19:57, Claudio B.  a écrit :
> >
> >> One way to achieve this goal would be to simply change the existing
> scaffold.css.scss to have better styles.
> >> However... why reinvent the wheel when we can achieve something nice
> using Bootstrap CSS?
> >>
> >> What I suggest is that scaffolded views can simply point to the
> CDN-hosted Bootstrap CSS and then have a simple HTML structure that makes
> for better and responsive views (e.g., adding a ).
> >
> > I like the idea of having a nicer scaffolding, I agree that the existing
> one looks outdated and ugly but I'm really against including a CSS / Grid
> framework because Rails must not do this choice for the developer.
> >
> > Remember the old time where prototype was the only supported JS
> framework out of the box. Most of Rails developer switched to Prototype
> even if they had a preference for another framework. I don't like when a
> framework promote other frameworks without real good reasons.
> >
> > Pointing to a CDN isn't a good idea either since it's will exclude
> offline development.
> >
> > So to sum up, yes I'd really like to see better scaffolds but to do this
> we need to find a way to provide choices / options to the user. Maybe he
> could choose (using command-line options or a gem) if he want to use
> bootstrap or foundation or something else. Maybe we should only provide a
> better default CSS file. I don't know which solution would be the best but
> I'm sure using Bootstrap (and a CDN!) by default is not the good one.
> > --
> > Nicolas Cavigneaux
> > http://www.bounga.org
> > http://www.cavigneaux.net
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Core" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to rubyonrails-core+unsubscr...@googlegroups.com.
> > To post to this group, send email to rubyonrails-core@googlegroups.com.
> > Visit this group at http://groups.google.com/group/rubyonrails-core.
> > For more options, visit https://groups.google.com/d/optout.
>
> =
> Robert Evans
> Code Wranglers, Inc
>
> http://www.codewranglers.org
> http://www.github.com/revans
> http://www.linkedin/in/rrevans
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails-core] Re: HTML minification

2014-08-09 Thread Frank Tellefsen
Nice find!

I made a similar one a while back too:

https://gist.github.com/frankie-loves-jesus/d7eec0ebab0525e94256

Feedback would be much appreciated.

Frank


2014-08-09 15:58 GMT+02:00 Gabriel Sobrinho :

> I think what you need is a middleware which compresses the body, like this
> one: https://github.com/paolochiodi/htmlcompressor
>
> On Friday, August 8, 2014 9:05:23 PM UTC-3, Frank Tellefsen wrote:
>>
>> Based on https://news.ycombinator.com/item?id=8098317 (HTML minifier
>> revisited) and specifically:
>>
>> Google minifies HTML on basically all its properties. It's probably about
>>> a 50% savings in bytes, which translates to (on my Comcast connection)
>>> about 250ms in network latency saved. Multiply out by rough estimates on
>>> queries/day and it saves a human lifetime every 2 days.
>>>
>>> Repeated experiments - by Google, Amazon, and many smaller websites -
>>> have shown that lower latency directly translates to higher conversion
>>> rates, so I wouldn't be surprised if this results in billions of dollars of
>>> extra commerce, and even a small website would get noticeably higher
>>> revenue if they did this. Google also ranks faster websites higher, and so
>>> you get an SEO benefit as well.
>>>
>>
>> Is there a way to make Rails render partials on the same line in the DOM?
>> I'd like to combine this with a Rake task that copies views to a temp
>> folder, minifies them, and serves them instead of the real views. That way
>> I don't have to minify HTML with regexes (or at least there'd be less HTML
>> to minify) on each page load.
>>
>> Thinking this would do well together with gzip compression.
>>
>> What do you guys think?
>>
>> Thanks,
>> Frank
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


[Rails-core] HTML minification

2014-08-08 Thread Frank Tellefsen
Based on https://news.ycombinator.com/item?id=8098317 (HTML minifier
revisited) and specifically:

Google minifies HTML on basically all its properties. It's probably about a
> 50% savings in bytes, which translates to (on my Comcast connection) about
> 250ms in network latency saved. Multiply out by rough estimates on
> queries/day and it saves a human lifetime every 2 days.
>
> Repeated experiments - by Google, Amazon, and many smaller websites - have
> shown that lower latency directly translates to higher conversion rates, so
> I wouldn't be surprised if this results in billions of dollars of extra
> commerce, and even a small website would get noticeably higher revenue if
> they did this. Google also ranks faster websites higher, and so you get an
> SEO benefit as well.
>

Is there a way to make Rails render partials on the same line in the DOM?
I'd like to combine this with a Rake task that copies views to a temp
folder, minifies them, and serves them instead of the real views. That way
I don't have to minify HTML with regexes (or at least there'd be less HTML
to minify) on each page load.

Thinking this would do well together with gzip compression.

What do you guys think?

Thanks,
Frank

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


[Rails-core] HTML minification

2014-08-08 Thread Frank Tellefsen
Based on https://news.ycombinator.com/item?id=8098317 (HTML minifier
revisited) and specifically:

https://news.ycombinator.com/item?id=8099192 -- is there a way to make
Rails render partials on the same line in the DOM?
I'd like to combine this with a Rake task that copies views to a temp
folder, minifies them, and serves them instead of the real views. That way
I don't have to minify HTML with regexes on each page load.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails-core] Replace Sprockets with Half Pipe

2014-06-10 Thread Frank Tellefsen
2014-06-10 0:36 GMT+02:00 Ryan Bigg :

> Why would the community do that? What are the benefits? Why is Sprockets
bad?

I'm no expert, but what I like about it is:

- Direct JS libs management via `bower.json`, no more
http://rails-assets.org/ middleman

- Better concatenation and minification via Grunt tasks like
https://github.com/yeoman/grunt-usemin

- No more ExecJS or having to install JDK just to minify ones CSS via the
YUI Compressor

- Live reload in development mode

> Why would we replace it with something that is not up to its prime?

I'm not saying let's replace it right away. Unless we can recruit more
devs, bringing it to its prime might take a while as right now it's just
one guy, Mr Joe Fiorini.

> Wouldn't we have to rewrite a whole bunch of Rails code and documentation?

I'd gladly help with the docs.

2014-06-10 18:35 GMT+02:00 Rodrigo Rosenfeld Rosas :

> While I can see how Sprockets is not a good enough solution, I don't
think that forcing users to convert their libraries in a RequireJS module
is a good thing.

I'm not a big fan of this either, but what are the alternatives?

> I'd love to see some solid integrated JS dependency management tool to
play well with Rails but I'm not sure if this is gonna happen any time soon.

It's already here, and it's staring you right in the face.

Frank



2014-06-10 1:05 GMT+02:00 Steve Klabnik :

> Rails already has a Node dependency in CoffeeScript.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.


[Rails-core] Replace Sprockets with Half Pipe

2014-06-01 Thread Frank Tellefsen
 Hi,

Is there any chance of one day replacing Sprockets with Half Pipe?


   - https://github.com/d-i/half-pipe/
   - http://www.youtube.com/watch?v=2gaZsFkZ2BQ


It looks like such a great project but seems to be lacking the resources to 
bring it to its prime.

Thanks!

Frank

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.