All 48 Comments

re: AoC Day 14: Chocolate Charts
Python n = 293801 # Part 1 q = [3,7] e1, e2 = 0, 1 n_cre...
re: AoC Day 12: Subterranean Sustainability
Python. Part 1 from more_itertools import windowed from...
re: AoC Day 11: Chronal Charge
Python n = 7689 from itertools import product from math...
re: AoC Day 8: Memory Maneuver
Here is my Python Solution: Both parts with open("input...
re: AoC Day 7: The Sum of Its Parts
Fighting my way up the leaderboard. My Python Solution P...
re: AoC Day 6: Chronal Coordinates
Python using a kd-tree. from collections import defaultd...
re: AoC Day 3: No Matter How You Slice It
Part 1 import numpy as np with open("input.txt") as f:...
re: AoC Day 2: Inventory Management System
It is external. I found it via a quick google search. The e...
re: AoC Day 2: Inventory Management System
Part 1 from collections import Counter with open("input...
re: AoC Day 1: Chronal Calibration
I'd also suggest to use a context manager (the with keyword...
re: How Specific Are you With Your Imports and Why?
from mymodule import funca from mymodule import funcb from...
re: How would you define high quality code?
My personal definition is very subjective: A code is of hig...
re: basic learning
hi
re: Project Euler #1 - Multiples of 3 and 5
For fun: A shorter solution. sum({*range(3, 1000, 3)} | ...
re: Project Euler #1 - Multiples of 3 and 5
Python print(sum(i for i in range(1001) if i % 3 == 0 or...
re: Write a simple but impactful script
Please do :D
re: Write a simple but impactful script
That is awesome. Didn't know you could use an f.write() ins...
re: Write a script to find permutable prime numbers
Nice one! from collections import deque def perms(p): ...
re: Blockchain: exploring possible use cases
The blockchain can also enable new kinds of games: CryptoK...
re: JavaScript is almost pythonic
To add to the Getter & Setter examples: You can use thi...
re: Advent of Code 2017
Here you go: Github Link I will be doing everything in Pyt...
re: About time
Thank you for your article, Vicky! Great read. You wrote W...
re: Why all this hate about Python?
re: CSV Challenge
Nice post! import json from csv import DictWriter with ...
re: What are your personal stories/examples of "naming things"?
I am annoyed when variable names seem correct at first glan...
re: Recognizing a trend vs. a lasting truth
I don't have crystal ball. However, a couple of months ago ...
re: Code Challenge: Follow the Dirty Money
Loving it! import json import requests import re start_...
re: Challenge: Write your worst program
Haha yeah agreed, that is a more accurate description of wh...
re: Organizing your life using Github
For a while now, I have been using github for my exercise a...
re: Challenge: Write your worst program
haha nice!
re: Challenge: Write your worst program
Ok, I've updated the description to better reflect what I m...
re: Challenge: Write your worst program
Hi, thank you for your response. Of course, I know about th...
re: Parenthetically Speaking
I like this, because this is one of the classical problems ...
re: What are your UNIX pipeline commands that saved you from lot of coding/time?
grep -R might not be available on older systems.
re: What are your UNIX pipeline commands that saved you from lot of coding/time?
The Just Commit Everything command: alias gitasdf='git add...
re: What do you Google EVERY. SINGLE. TIME. and never just memorize?
How to use grep and find. Also when I write data = {} in Py...
re: Challenge: Write a program that never stops
haha, reminds me of: stackstatus.net/post/147710624694/...
re: Challenge: Write a program that never stops
This gotta be the happiest loop, I've ever seen.
re: Challenge: Write a program that never stops
C // 1 int i = 0; while(i < 10) { if(i = 5) ...
re: Challenge: Write a program that never stops
I really like the last one. Defining a label to a comment -...
re: 4 Useful Things in Python
Hi, Thanks for your comment, I think you are right. If you ...
re: Do you think there is a language better suited for solving data structures and algorithms?
Hi, judging from your description, I think you talk about t...
re: Only code goes into a repository, right?
Thank you for sharing! Very interesting :)
re: Advice on training junior developers
Hey Lynne, I regularly teach other people to do statistical...
re: Sentiment analysis on Trump's tweets using Python 🐍
Thank you for your tutorial! Its was easy to follow and eve...
re: What is the most confusing thing to you in Python?
To add to that last one. You can actually change manipulate...
re: What is the most confusing thing to you in Python?
Wow, thank you for your elaborate response! :)
re: What's your favorite useless repo/package/website/etc?
A Latex package to add coffee stains. hanno-rein.de/archiv...
loading...