NyroBlog
Banniere NyroBlog
Image de Emi - ?
« décembre 2009
lunmarmerjeuvensamdim
123456
78910111213
14151617181920
21222324252627
28293031

nyroModal at "étoiles du libre"

nyroModal has been selected for the étoiles du libre.

It is a contest to reward contributions done by university people to open-source project. I am still a UTBM student and nyroModal is open-source. So I enter my project and I was selected in the category "Web Development and network".

Next Saturday, I will defend my project to let the jury determines the final ordering. n my category, the 2 others persons selected are

I have to prepare a 8 minutes presentation. I have some ideas about what I will say, but I'd like to have your opinion.

What make nyroModal a modal plugin different from the others?
What are the main points to emphasize?
Which aspects of the development should I insist on?

If you have any suggestions or remarks, don't hesitate to share them using the commentaries.

Google Wave Invitations

You may have heard about Google Wave these days. It's THE new communication tool which will try to replace email and instant messaging in the same time in a future not so near for me.

I'll write a post about ir soon to give my opinion and some ideas about the way we could use it.

But here is not the point.

I've got some new invitations this morning for Google Wave.

So, I propose you a thing pretty easy and usual for this kind of thing: A simple comment with a valid email address will let you participate to a lottery to win your Google Wave invitation. There will be 5 invitations to win.

The comment should be sent before Friday, the 13rd 2009.

I'll then edit this post to indicate the winner.

In the mean time, if you want to share your idea about it and what it could become, don't hesitate !

And the winners are:

  • Bastien
  • Jonas
  • Nico
  • aminoux
  • Martin

nyrodev.com has a nice refresh

I was a long time since this one was on the boxes, it finally cames out: the new version of my website is online!

Aymeric aka Miho designed it; I think it's very clear and let a good place for the content with a great readability.

I developed it using my own framework which optimizes every to the server by compressing every HTML pages. It also merges and compresses CSS and JavaScript after removing all the comments and useless whitespaces. With that my website gains a A-grade with YSlow - only one F for not using CDN and one B for contents without cookies.

I also enjoyed make it accessible without reloading the page using AJAX and jQuery. I used jQuery address which works perferctly. And nyroModal is also in the party to show the references. Of course all pages are accessible without JavaScript for a better ranking.

In the same time I left phpMyVisites to use Google Analytics, using the manual tracker for Ajax pages.

Finally, I want to thnaks the following personns:

  • Miho for the design
  • My mother for the French corrections
  • Chonchon for the English corrections
  • Florian for the new logo

To celebrate this, I created a facebook group and I'm twitting again more often. Don't hesitate to join the group or follow me!

If you have any remarks, suggestions or anything else to say about the new wbesite, the comments are here for you!

Playing for Change - Stand By Me

You probably already saw this video, but I like to so much that I'm putting it here:



Playing for Change to see other videos and check out about the association

Reinvente the calendar

All of us has already figure out that: calculate dates through years is difficult. You have to worry about leap years, weeks of 7 days, months with different number of days, etc...

Starting from this observation, I started to search information about time notion, and more precisely in the measure that was done by humans.

In most of the worlds we're using the Gregorian calendar: established on 1582, it's using the SUN and the earth rotation around it to define the year and the day. Since this time the calendar included the 29th of February every 4 years to obtain a year with 365,25 days.

But the earth go round the Sun in 365,24219 days. Which means there is a tiny shift which is getting ride every millennium but not adding the 29th of February. And because day of the week are never at the same date from a year to another, it's becoming hard to know which day of the week was the March, End of 1954! Moreover this calendar is really marked by the Christian culture.

And we also have to edit new calendars every years, re-think the holidays, etc...

Here are the problems that we can evoke about our current calendar. Let's have a look about other calendars now.

The first and probably the most important to note here is the Maya calendar. This calendar cut the time in many different unities regarding the time length. One surprising thing is that it's ending on December 21st, 2012. There is plenty of different explanations for it that I can't speak about them here.

An other calendar that we could speak about here is the Republican calendar which was created during the French Revolution. In the same idea to separate references about monarchy like the foot, it has been etablished to be a time unit on base 10, with weeks of 10 days, months of 30 days, etc... It was used only for a few years after the French revolution and finaly went to the bin, probably because of the week length, too long....

Finally the Muslim calendar is based on the moon and its phases. That's why there is a shift with the Gregorian calendar.

OK, and what?

So one day I asked myself if it wouldn't be possible to create a new calendar that we could use and establish simply. The aim of this calendar and it's new time scale would be to propose fixed days throughout years without having to use an additional day every 4 years. This imply that the notion of day would be modified to operate. And so on the hours and the minutes.

As the second is the scientific time unit, this calendar will keep the relation with the current second. That will also simplify the computer change, because the time is stored in seconds, before being converted in a human readable date. The year will also be kept: it's determined by the time the earth use to go around the Sun. The weeks will still be with 7 days, to avoid bigger change in the work world.

Let's construct this calendar

nTime

For the units, I simply used the current name and prefixing the letter n.

We have 365 nDays to dispose. We can see that 365 = 52 * 7 + 1. So we can start that we'll have 52 nWeeks + 1 nDay.

52 = 4 * 13 : Let's place 13 nMonths of 4 nWeeks each one, which 28 nDays in 1 nMonth.

that way the calendar obtained is very strict and each nth nDay from the mth nMonth will be eaxctly the same xth day of the week.

Regarding units during the day, why don't cut the nDay in 10 nHours, and every nHour in 100 nMinutes? I didn't already make the conversion calculs, because I'll need to know the exact number of seconds in one year, year as it's astronomical term. Don't forget that 1 second = 1 nSecond.

We can notice that this change of scall for the hours and minutes will imply a tweak problem for the conversion from Gregorian dates to a date of this new calendar. In fact the minutes around midnight will sometimes be equal to the previous day, sometimes not. This will depend from Sun gap, so depends about the leap years... One more time once the conversion calcul will be done, the answers to these questions will be very clear and simple.

There is still one thing to do: define the relation with the current calendar and when it should be used. As the December 21st, 20012 seems to be an important date for many reasons, I propose to use this date as the first date of this new calendar. That's imply that the first nDay of the year will also be the winter's day, or more scientifically speaking the day of the winter solstice; date from when the days starts to become longer (in the north hemisphere).

I created a web page to show this calendar, with the dates relation.

This imply many nice thing for the season:

  • The spring will be the 7th nDay of the 4th nMonth, which will be equivalent to a Sunday.
  • The summer will be the 14th nDay of the 7th nMonth, still a Sunday.
  • the autumn will be the 21st nDay of the 10th nMonth, one more time a Sunday.

And if you look on the calendar, these dates are obliquely line up.

That's it about the theorical part of this calendar. You probably thought I'm totally crazy because I thought at least more than one second about this craziness, but why not?

After all most of the inventors was taken for fool at their time because they didn't think with the same paradigm than the others.

And you, what do you think about that?

Version française de ce billet

Le méchant Lipdub

To do a nice lipdub :

  • Take 300 people whom are most student at the IUT of Belfort-Montbéliard
  • A track which is 100% student : Monsieur Connard from Tock'art
  • Only one repetition morning
  • One shooting afternoon with some technical trouble with CD player

Chips, Twix, and Mix

And probably many more and more...