Thursday, December 15 2011
Dr. Geo: hacker spirit in a candy box
By OFSET Admin on Thursday, December 15 2011, 00:00
When you teach mathematics at secondary schools, you enjoy using interactive geometry software with your students. Dr.Geo is one such free software, but it comes with some unique features. With such software, students learn geometry the way it should be learned -- by drawing, but Dr. Geo goes one step further.
Dr. Geo has a long tradition on GNU/Linux. It was the first software of this category since 1999. Beginning 20xx, it plays nicely on Windows and Mac OSX as well.
In fact Dr. Geo bundle is now distributed as an universal portable application. This means student Bob can use the software on his usb key on the school's Mac OSX, then continue working on an Internet coffee's GNU/Linux workstation, then finish his work at home on his Windows PC. Each time, the same portable app is used. Moreover, when suddenly interrupted, Bob can save the session of his work - like a memory dump - to continue later, on a different workstation or system.
This is true both for interactive geometry activities and programmed geometry sketches. The later feature is a nice extension, an API, to design programmed geometry sketch. Of course the resulting sketches are all interactive. Read this small example. Programming is also available in interactive sketch, the user can plug small scripts in the canvas to do specific computation, for example to compute a curve and a tangent line at an arbitrary position.
Therefore, advanced teachers/students will appreciate the fact that scripting is more like writing math formulas than writing low level programs (no need to do a lot of initialization, for example). To draw an interactive segment and a bissector, you write:
drgeo := DrGeoCanvas new. s1 := drgeo segment: 0@0 to: 5@5. drgeo perpendicular: s1 at: (drgeo middleOf: s1).
Last but not least, free software spirit is so much at the heart of Dr. Geo -- you can study, modify and distribute its source code from itself.
Yes! You can modify Dr. Geo from Dr. Geo!
All in all, Dr. Geo is a hacker spirit in a candy box: young learners enjoy using it, when they grow up they can dig in programming and even learn from the Dr. Geo own design.
All pure fun.
Friday, November 25 2011
Enseignement informatique classe de terminale
By OFSET Admin on Friday, November 25 2011, 00:00
L'informatique de nouveau à l'honneur dans l'Éducation Nationale, voici le programme officiel.
C'est un beau programme d'enseignement type des années 80, lorsque la programmation objet commençait alors à percer dans l'industrie, mais pas encore dans l'éducation. Dans ce programme, le terme objet apparaît deux fois, et encore pas dans le sens de programmation objet.
La programmation objet fût pensée comme une abstraction puissante du réelle, pour gérer sa complexité et d'en faciliter sa modélisation. C'est donc dommage que ce programme commence par la vision des écrous et des boulons, au lieu de commencer par un niveau d'abstraction supérieur de type engrenage et autres roues dentées.
On n'apprend jamais assez de nos ainés. Dans les années 70, Alan Kay a travaillé avec de très brillantes personnes pour définir Smalltalk comme un langage de programmation accessible aux enfants. Élever intellectuellement les enfants, c'est le dada d'Alan, et il y a dédié une très grande partie de sa carrière (couronnée par un prix Turing en 2005) . Comme il voulait que cela soit vraiment aisé pour les élèves, il a repris les paradigmes de souris, fenêtre, affichage graphique, menu, etc. comme éléments d'un environnement pour un langage qui était lui même purement objet et réflexif, pour justement donner une vision d'ensemble, d'augmentation intellectuelle comme le définissait Engelbart (inventeur de la souris), et permettre aux enfants de produire des programmes vraiment intéressants et motivants pour eux. Lorsque Steve Jobs vit toutes ses idées géniales lors d'une visite à l'équipe d'Alan, il conçu dans les mois qui suivirent le Macintosh... Grand seigneur, il débaucha également Alan.
Dr. Geo suit également cette vision, écrit en Smalltalk, il s'utilise comme Cabri Géomètre tout en proposant une approche programmation de géométrie euclidienne par son interface objet. Encore une abstraction confortable du domaine géométrique pour les élèves. Il n'est donc pas surprenant non plus que Scratch soit lui même écrit en Smalltalk, nous sommes toujours dans cette vision, et on peut poursuivre avec l'environnement graphique de programmation et modélisation Etoys, déployé sur quelques millions de d'ordinateurs portables XO pour enfants, lui aussi encore écrit avec Smalltalk.
Ces puissants outils reposent sur un paradigme, la programmation orientée objet, grande absente de ce programme d'enseignement.
Saturday, November 12 2011
English video tutorial
By OFSET Admin on Saturday, November 12 2011, 00:00
Video tutorials are funs for three reasons:
- it is efficient for the user both in term of relevance and time to get to the point
- it is easy to produce and not time consuming for the producer
- it is easy to distribute through the video server. DailyMotion even supports upload and conversion from Ogg/Theora video!
For theses reasons I am producing DrGeo video tutorials with English spoken comments, be nice with me, English is not my native language.
Saturday, November 5 2011
Conic Sections
By OFSET Admin on Saturday, November 5 2011, 00:00
![]()
Alain Busser presents us a nice tutorial to build conic sections with Dr. Geo. He also proposes a macro-construction of this resulting work.
Wednesday, November 2 2011
DrGeoII pre-release 11.12b
By OFSET Admin on Wednesday, November 2 2011, 00:00
A few changes based on user requests:
- circle can be constructed by center and segment
- added back the intersection tool. You have now two options to construct intersection:
- as before, on the fly, when constructing a line, you can construct the intersection
- by selecting two lines, you need to access the new intersection tool in the Point menu or toolbar.

The changes are in pre-release 11.12b.
From your latest DrGeo installation, you can upgrade to DrGeo pre-release 11.12b. To upgrate to latest release, select in the DrGeo environment menu "update DrGeo", then save the session to make the changes permanent.
Getting the property tool back
By OFSET Admin on Friday, October 28 2011, 00:00
After an user request, I just added back in DrGeoII the item property tool.
With this tool you can edit:
- the coordinates of a free point on the plane
- the curvilinear abscissa of a point free on a curve, the abscissa belongs to [0 ; 1]
- a free value
- a script
In the later case, DrGeo opens a tiny Smalltalk browser to study and to modify the code. When modifying and saving the code, the canvas is automatically updated. Underneath, the script code is recompiled, thanks to the Smalltalk machinery.
All but the script operation are backed in the command machinery of DrGeo, so you can undo/redo.
Monday, October 10 2011
Consumers Don't Own Computers "Designed for Windows 8", and They Go to Landfills Earlier (Side Effects of "Trusted Computing")
By OFSET Admin on Monday, October 10 2011, 00:00
Microsoft Windows 8 alpha is released and downloadable.
But no, I am not recommending it. Nor am I denouncing it
in favor of GNU/Linux (well, not in this article anyway).
What you should be aware of and concerned about
as a consumer is those machines labeled as "Designed for Windows 8".
Much more so if you care about the environmental and humanitarian
problems caused by e-wastes, for these machines do end up
much earlier as e-wastes than the ordinary machines manufactured now.
Machines labeled as "Designed for Windows 8" have to support UEFI。 UEFI is said to have many nice features, which I am not knowledgeable about and will not discuss. But I can assure you that one of those features is a downright hoax, scam, and lie. The "secure boot" feature in UEFI is claimed to make your computer more secure by disallowing intrusions from untrusted sources. This and certain other features in UEFI are important elements of Trusted Computing, a mechanism advocated by Microsoft and other big IT companies. The claim is that booting a computer from an untrusted source (such as a tux usb key which has applications in tourism, education, environment preservation, LOHAS, and ethics) is a security threat and should be avoided.
There is just one tiny problem: it's not you, the consumer, who gets to decide who is to trust. The propaganda claims that the consumers are too dumb (well, ok, actually phrased in a much more polite way.) to make their own decisions about whom to trust. ("Microsoft or Chao-Kuei?") Software booting from an untrusted source may contain rootkit, for example, which would gain absolute control of your computer. The real, unsaid intention, however, is to prevent consumers from using alternative players and readers on alternative operating systems to circumvent the human-right infringing and infamous Digital Rights Management. If the big IT companies let you decide whom to trust, then they cannot trust you as a DRM-abiding consumer. With the secure booting mechanism in UEFI, the IT companies finally can trust that you will not be able to ask your computer to do what is best in your interest, for example exercising your fair use right and other rights requested in the digital consumer bill of right.
Ironically, history shows that one of the most famous rootkit invasions was not performed by individual bloggers and GNU/Linux lovers like me who have to build reader trust by behaving well and telling truth, but rather by big companies who can repeatedly abuse consumers and yet successfully keep them buying. In 2005, Sony BMG invaded consumer computers. The lovely music CD that consumers buy play nicely in CD players or DVD players. But it hijacks your Windows if you play it on a Windows computer. This creepy behavior was exposed on the Internet and caused protests. Sony BMG's Global Digital Business President responded, "Most people, I think, don't even know what a rootkit is, so why should they care about it?" But the most interesting part is the reactions of Microsoft and Anti-virus companies. What would you do if you were Microsoft and if Sony invaded your customers' computer? I would definitely provide security update and then also advise against buying these CD's or even sue Sony, depending on how nice I wanted to be with Sony. But Microsoft did nothing for several months. Nor did most big-name anti-virus companies. These are the companies who take your money, vouch to "make your computer more secure", and assure you that you can "trust" them.
Even more ironical is the ensuing fairuse4wm event in 2006, in which Microsoft behaved exactly the opposite. The newly upgraded windows media player employed DRM measures and suddenly deprived users of their backup right. Someone with the ID of viodentia wrote and shared on the Internet a piece of software called fairuse4wm to restore the users fair use rights. This time Microsoft swiftly produced "security updates" to disable fairuse4wm within 10 days. Viodentia updated fairuse4wm to circumvent Microsoft's updates, and Microsoft produced further security updates to disable it, ... and so on. Whom do Microsoft's "security updates" serve and which of viodentia and Microsoft is more trust-worthy?
History has shown that some of the big IT companies unitedly
decided not to trust you.
So who would you, consumer, trust?
Oh, I am sorry. I should not address this question to you,
for it is not you who get to choose whom to trust.
I should ask computer manufacturers who enforce trusted computing for you.
And for sure we all know that Microsoft is the only party for
any consumer to place trust in -- according to the manufacturers.
"We decide for you whom to trust." That's the real
meaning of trusted computing. And the "secure boot"
feature of UEFI, which is "Designed for Windows 8", is one of its pieces.
To learn more about trusted computing, you can read the
EFF article. My article "DRM and Other Forces Overriding
the Three Laws of Robotics" (
English,
French,
Spanish), my paper
"1984 in the Making: Stealthy Invasion of Consumer Rights and Privacy by
ICT Corporations" and
my novelette in Chinese explain the relationship among
DRM, Trusted Computing, and DMCA. It's also summarized in
the picture to the right. Search for "windows 8 linux" for recent
controversy about Microsoft enforcing UEFI on manufacturers.
To be more precise, it is not true that secure boot precludes other operating systems in principle. If the hardware manufacturer is willing to certify some minor OS, this lucky minor OS can also boot from a "designed for windows 8" computer. Still, the decision is for the hardware manufacture, not you, to make. Finally, some manufacturers may decide to allow the buyers to optionally disable the secure boot feature of UEFI. It is this last category of future computers that we will recommend everyone to buy -- not only because you would want to be a wise consumer but also because it prevents worsening of the environmental and humanitarian problems caused by e-wastes.
As explained in the e-waste part of the censored 4-part iPhone game "phone story", the discarded electronics either end up in landfills or exported to developing countries for "recycling", which in fact employ methods that are harmful to both human health and the environment. Unfortunately the business strategy of planned obsolescence meant to increase the profits of the big IT companies further intensifies this process at the extra cost of the planet and its inhabitants. It's bad enough when phone companies pursue their profits with little regard to the planet, but it adds insults to injury when the computer manufacturers do this without even really increasing their own profits.
You see, you may not care about GNU/Linux, but people like Helios devoted to refurbishing recycled computers for the disadvantaged choose GNU/Linux over outdated or pirated Windows for good reasons -- it makes the recycled computers greener, cleaner, more Ethical, and more educational. With manufacturer-enforced secure boot, these computers would go to the landfills or "recycling" centers instead of going to the disadvantaged because Helios and other people who care would not be allowed to install GNU/Linux for them. And the hardware manufacturers don't even make more money because of these extra, unnecessary harms done to the disadvantaged and to the planet, if profit-making is ever a justifiable excuse for irresponsible manufacturing behaviors! These disadvantaged people are not going to buy new computers because they cannot get refurbished computers.
What can you do to help? Grab (perhaps with the help of you Linux friend) some live Linux CD from distrowatch, and maybe additionally create a live usb from it. Demand to boot the live CD or live usb before purchasing your next computer. Make sure that it is some minor Linux distribution, not just the store-suggested Linux distribution, that successfully boots. It's not about denouncing big brand Linux versions. It's about making sure that you get to decide whom to trust your computer security to. Show the computer guys in the store this article if necessary and insist on buying a computer that allow the buyers to disable the secure boot feature of UEFI. You don't need to love or use or even learn GNU/Linux if software freedom do not appeal to you. You can simply use it as a tool for testing the computer and discard it afterwards (though it would be a pity). Please do this for the planet, for the disadvantaged, for the society, if not for yourself as a wise consumer who knows to claim his/her full ownership of the purchased computer and basic user rights.
« previous entries - page 1 of 43








