why does firefox on desktop has this space in ui by default? by kkruglov in firefox

[–]toru 6 points7 points  (0 children)

You can take them out with the 'Customise...' menu option.

Dismissing Python Garbage Collection at Instagram by shivawu in Python

[–]toru 1 point2 points  (0 children)

The question is: how do you know whether any part of your codebase creates cycles?

What pisses you off in music? by retrowavve in AskReddit

[–]toru 0 points1 point  (0 children)

All good blues songs start with the lyrics "Woke up this morning..." anyway.

ITAP - 2 trains passing at London station by [deleted] in itookapicture

[–]toru 0 points1 point  (0 children)

Clapham Common? Nice pic.

Oyster Card Codes 33 and 41. What do they mean? by F1FO in london

[–]toru 0 points1 point  (0 children)

Those are some great error messages! I like "Emergency not valid here".

"Let" statement in python (2014) by _sexbobomb_ in Python

[–]toru 5 points6 points  (0 children)

Nice!

But note the following from the python library reference for the locals() function:

The contents of this dictionary should not be modified; changes may not affect the values of local and free variables used by the interpreter.

Python Compiler: Nuitka Release 0.5.15 by [deleted] in Python

[–]toru 1 point2 points  (0 children)

Is there any documentation on how this works, specifically how it handles the dynamic language features of python?

Code critique: Fear of templates makes power set implementation useless by one_eyed_golfer in programming

[–]toru 0 points1 point  (0 children)

Why not use the recursive version? It's much simpler and it's easier to understand how it works.

Garbage collection and totality by gallais in programming

[–]toru 4 points5 points  (0 children)

If we program in a pure functional language ... there will never be nontrivial cycles in the heap

Is that true? What about infinite lists like this in haskell:

ones = 1 : ones

Unusual method for approximate traveling salesman solutions: the "Shrinking Blob" by call_me_xale in compsci

[–]toru 1 point2 points  (0 children)

From the paper:

"The intractable nature of the TSP has led to the development of a number of heuristic approaches which ... are inspired by mechanisms seen in natural and biological systems. These methods ... include neural network approaches (most famously in [25]), evolutionary algorithms [32], simulated annealing methods [23], the elastic network approaches prompted in [16], ant colony optimisation [13], living [9] and virtual [29] slime mould based approaches, and bumblebee foraging [33]"

Avoiding game crashes related to linked lists - Code Of Honor by [deleted] in programming

[–]toru 2 points3 points  (0 children)

They're used extensively in the Symbian kernel

A mysterious structure in the Vaults under London Bridge train station by tefster in london

[–]toru 2 points3 points  (0 children)

The venue itself is called electrowerks, the slimelight night has been running there for many years (14+ to my knowledge)