background preloader

Prog

Facebook Twitter

Ce que j’aurais aimé savoir quand j’ai commencé GIT. Proj. Artificial-intelligence research revives its old ambitions - MIT News Office - Aurora. The birth of artificial-intelligence research as an autonomous discipline is generally thought to have been the monthlong Dartmouth Summer Research Project on Artificial Intelligence in 1956, which convened 10 leading electrical engineers — including MIT’s Marvin Minsky and Claude Shannon — to discuss “how to make machines use language” and “form abstractions and concepts.”

Artificial-intelligence research revives its old ambitions - MIT News Office - Aurora

A decade later, impressed by rapid advances in the design of digital computers, Minsky was emboldened to declare that “within a generation ... the problem of creating ‘artificial intelligence’ will substantially be solved.” The problem, of course, turned out to be much more difficult than AI’s pioneers had imagined. In recent years, by exploiting machine learning — in which computers learn to perform tasks from sets of training examples — artificial-intelligence researchers have built special-purpose systems that can do things like interpret spoken language or play Jeopardy with great success. Sprite Lamp - Aurora. Syntopia - Aurora. Previous posts: part I, part II, part III and part IV.

Syntopia - Aurora

Why hardware development is hard, part 1: Verilog is weird - (untitled) - Aurora. Verilog is the most commonly used language for hardware design in America (VHDL is more common in Europe).

Why hardware development is hard, part 1: Verilog is weird - (untitled) - Aurora

Too bad it’s so baroque. If you ever browse the Verilog questions on Stack Overflow, you’ll find a large number of questions, usually downvoted, asking “why doesn’t my code work?” , with code that’s not just a little off, but completely wrong. Lets look at an example: “Idea is to store value of counter at the time of reset … I get DRC violatins and the memory, bufreadaddr, bufreadval are all optimized out.” Functional programming - What is a y-combinator? - Stack Overflow - Aurora. Django plugins you shouldn't start without - Aurora. Sometimes there are tools out there that could make your life a lot easier but you just don't know about them.

Django plugins you shouldn't start without - Aurora

Here, I'm going to share 5 django apps that you should be using. django-extensions Documentation: Video demo: Django Extensions, amongst other things, provides extra management commands to make your life easier. Here are a few commands to illustrate that. export_emails Allows you to export your users email addresses. Graph_models This automatically generates an image of how your models look and how they relate to each other. Runserver_plus This command runs the test server. Runscript This allows you to run any regular python script from the command line that relies on the django context (your models, for example). shell_plus If you've ever run . That's not all. Those are just command extensions to manage.py. django-extensions also provides field extensions, and admin extensions.

Lisp for C++ programmers - Aurora. One old good friend of mine, whom I respect a lot and who is a very good C++ programmer, recently asked me to give him an example of how it's possible make new language features in Lisp.

Lisp for C++ programmers - Aurora

He's aware of Lisp's ability to invent new syntax, and he's also excited about C++11. So he wonders how is that possible to introduce new syntax into your language all by yourself, without having to wait for the committee to adopt the new feature. I decided to write this article for C++ programmers, explaining core Lisp ideas. Open Source Software by CEGO ApS - spritemapper - Aurora. C++ FAQ - Aurora.

Python

PHP: a fractal of bad design - fuzzy notepad. (This article has been translated into Spanish (PDF, with some additions) by Jorge Amado Soria Ramirez — thanks!)

PHP: a fractal of bad design - fuzzy notepad

Preface I’m cranky. I complain about a lot of things. There’s a lot in the world of technology I don’t like, and that’s really to be expected—programming is a hilariously young discipline, and none of us have the slightest clue what we’re doing. Combine with Sturgeon’s Law, and I have a lifetime’s worth of stuff to gripe about. This is not the same. PHP is the lone exception. PHP is an embarrassment, a blight upon my craft. Become a Programmer, Motherfucker. If you don't know how to code, then you can learn even if you think you can't.

Become a Programmer, Motherfucker

Thousands of people have learned programming from these fine books: Learn Python The Hard Way. OpenGLBook.com. Pourquoi ne pas utiliser de modulo pour les fonctions aléatoires. — /dev/blah. Beaucoup de tutoriaux de développements conseillent d’utiliser l’opération modulo (%) pour tirer un nombre entre 0 et n.

Pourquoi ne pas utiliser de modulo pour les fonctions aléatoires. — /dev/blah

C’est une aberration, et il n’est pas difficile de faire mieux. Le problème de la génération de nombres aléatoires en informatique est complexe, en effet, si on veut pouvoir avoir n’importe quel nombre entre 0 et n, on veut aussi (edit: en général, oui grim :)) que tous aient une probablilité égale de sortir, on appelle ça une distribution uniforme. Les gens ont passé beaucoup de temps à travailler des formules permettant à de sortir des nombres bien distribués, alors ce serait dommage de casser tout ce beau travail bêtement (en effet, la génération de nombre aléatoire est une chose trop sérieuse pour être laissée au hasard).

En C, la fonction rand() fournis un nombre entier entre 0 et RAND_MAX, certains vous conseillerons donc de faire: Solarized - Ethan Schoonover. Precision colors for machines and people Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications.

Solarized - Ethan Schoonover

It has several unique properties. I designed this colorscheme with both precise CIELAB lightness relationships and a refined set of hues based on fixed color wheel relationships. It has been tested extensively in real world use on color calibrated displays (as well as uncalibrated/intentionally miscalibrated displays) and in a variety of lighting conditions.