Profile cover photo
Profile photo
Miki Tebeka
135 followers -
A person (arguably)
A person (arguably)

135 followers
About
Communities and Collections
View all
Posts

Post has attachment
Specifying test cases for pytest using TOML
Say you have a function that converts text and you'd like to test it. You can write a directory with input and output and use pytest.parameterize to iterate over the cases. The problem is that the input and the output are in different files and it's not obv...
Add a comment...

Post has attachment
FYI: We'll have a Go Israel meetup on July 4th at the Google campus.

Schedule:
- The search for a good place to REST in Go by Eyal Posener
- js on both ends using Go : different approaches to use js on the server side by Guy Brandwine

See more at https://www.meetup.com/Go-Israel/events/kjvczlyxkbgb/

See you there ...

Post has attachment
pexify - Package Python scripts using PEX
Sometimes you'd like to publish a simple Python script, but it depends on some external packages (e.g. requests ). The usual solution is to create a package, which is a great solution but requires some work and might not be suitable for internal packages. A...
Add a comment...

Post has attachment
Creating a Book with pandoc
One of my clients asked me for a printable book to accompany one of my workshops. My teaching style is more fluid and we write a lot of code in class. I wanted a quick way to take all the source code files and some image and make a book out of them. Since I...
Add a comment...

Post has attachment
Installing Arch Linux on Laptop with UEFI
After some time with Xubuntu I decided to get back to Arch Linux . Arch have a command line based installer, the installation instructions are pretty good but for a laptop with UEFI I had to do some extra steps. Here's what I came up with, hope you'll find ...
Add a comment...

Post has attachment
PyCon Israel 2018 call for papers is open!
http://il.pycon.org/2018/

Two regular tracks and one PyData track.
Add a comment...

Post has attachment
Python's iter & functools.partial
Python's built-in iter function is mostly used to extract an iterator from an iterable (if you're confused by this, see Raymond's excellent answer on StackOverflow). iter has a second form where it takes a function with not arguments and a sentinel value. T...
Add a comment...

Post has attachment
353Solutions - 2017 in Review
A little late, but here's a summary of 2017. Numbers Total of 255 calendar days where worked for a customer (including partial days) Up 62 days from 2016 Out of 260 work days in 2016 Median work day is 6:53h Normalized work days (total divided by 8) is 171....
Add a comment...

Post has attachment
Advent of Code 2017 #8 and eval
I'm having fun solving Advent of Code 2017 . Problem 8 reminded the power of Python's eval  (and before you start commenting the "eval is evil" may I remind you of this :) You can check The Go implementation that don't have eval and need to work harder.
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded