atlas news
    
Mathspp
04  avril     22h00
A tutorial is not a long talk
   In this opinion piece the author expresses his views on what makes a good Python tutorial and how that differs from a long talk. A tutorial is not a long talk Bart Simpson internalising the message of this opinion piece. The title of the article should say it all but I’ll elaborate a bit on what...
03  avril     22h00
Hold my parentheses light: now with zero sugar
   Explore what Python could look like if we got rid of all of its synthatic sugar. Hold my parentheses light: now with zero sugar Given a string representing a parenthesised expression like x , how can we figure out if the expression is correctly parenthesised In the last article I solved...
02  avril     22h00
Hold my parentheses
   Explore unusual Python features to solve the problem of determining whether an expression is properly parenthesised. Hold my parentheses Given a string representing a parenthesised expression like x , how can we figure out if the expression is correctly parenthesised In this article I...
31  mars     22h00
503 days working full-time on FOSS: lessons learned
   This article shares some of the lessons I learned from working full time on a FOSS project for days. days working full time on FOSS: lessons learned From the th of November of to the st of March of I worked full time on a FOSS project. This article is an account of some of...
21  mars     23h00
Longest unique substring
   How can you find the longest substring that contains only unique characters Longest unique substring In this article I’ll share a coding challenge with you. Then, I’ll analyse different approaches to solving this problem, talking about the advantages and disadvantages of each one in terms of...
06  mars     18h00
TIL #093 - operator.methodcaller
   Today I learned how to use the function operator.methodcaller. operator.methodcaller The function methodcaller from the module operator is similar to the functions itemgetter and attrgetter. Its only required argument is a string with the name of a method and its return value is a function that...
05  mars     21h00
TIL #092 - dunder method init subclass
   Today I learned how to use the dunder method init subclass to be notified when a class is subclassed. init subclass The dunder method init subclass is a class method that Python runs when a subclass of that class is instantiated. The snippet below sums it all: class Parent: def ...
04  mars     13h00
TIL #091 - issue user warnings
   Today I learned how to issue user warnings like DeprecationWarnings or SyntaxWarnings. Issue user warnings Every once in a while I see a DeprecationWarning when I’m doing some coding. Last time I saw it, I think it was in some pandas code in my pandas and matplotlib tutorial with Pokémon. Today I...
29  février     23h00
Deducing physics formulas with genetic algorithms
   This tutorial shows how to use a simple genetic algorithm to deduce physics formulas. Deducing physics formulas with genetic algorithms What’s a genetic algorithm A genetic algorithm is an algorithm that borrows ideas from Darwin’s theory of evolution to find solutions to optimisation problems....
21  février     23h00
Biggest square
   How can you find the biggest free square in a D map with obstacles Biggest square Problem statement I just got a call from the President of Portugal. Portugal recently mapped out the Atlantic Ocean to the West of our coast. They want to build a sea platform to study the ecosystems of the Ocean....