15r10nk Profile Banner
Frank Hoffmann Profile
Frank Hoffmann

@15r10nk

Followers
232
Following
1K
Statuses
602

🚀 having fun living this one life ⚒️ python tooling ⏰ hacking time 👧 being a proud father

Joined April 2010
Don't wanna be here? Send us removal request.
@15r10nk
Frank Hoffmann
13 days
inline-snapshot converts strings with newlines into multi-line strings. Do you like this or do you have an idea how it could be improved?
1
0
1
@15r10nk
Frank Hoffmann
6 hours
@charliermarsh Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
0
0
0
@15r10nk
Frank Hoffmann
5 days
The sea of braces is generated. the actual problem is that there is a tuple() inside the sea. inline-snapshot has a quite complex logic to inspect objects and ast nodes. And it is sometime not obvious how this logic can fail. the tuple() causes some problem inside this logic. and pysource-minimize helps to find this minimal example, which is much easier than to look at all these braces by yourself and spending a lot of time finding the actual issue (like you probably did 😁).
0
0
1
@15r10nk
Frank Hoffmann
6 days
check it out. It can be used for all sorts of problems.
0
0
1
@15r10nk
Frank Hoffmann
7 days
@willmcgugan Looks like a good use case for template strings. I hope they come soon
1
0
4
@15r10nk
Frank Hoffmann
11 days
@zmievsa I created an issue. Maybe it is possible to do something about it.
0
0
0
@15r10nk
Frank Hoffmann
12 days
@tiangolo I know. I also like to watch these charts grow. pypacktrends from @_TylerHillery is one of my favourits :-)
Tweet media one
1
1
2
@15r10nk
Frank Hoffmann
12 days
@willmcgugan Getting money for something which is open source and free is a real challenge. Have you thought about offering some extra functionality only for insiders? Maybe debugging tools or something else which can be valuable for textual developers.
0
0
2
@15r10nk
Frank Hoffmann
12 days
How do you format your code? I used black --enable-unstable-feature string_processing --preview and the code in line 1 gets always formatted to the code in line 7, or to the code in line 9 if I don't use string_processing. But the indentation is nice if the strings are on multiple lines.
Tweet media one
1
0
0
@15r10nk
Frank Hoffmann
13 days
@BurgessPark2 @paulrolfe75 @alex_avoigt Why would anyone sell electricity and not include these costs?
1
0
0
@15r10nk
Frank Hoffmann
14 days
@willmcgugan @click Really awesome 👍
0
0
1
@15r10nk
Frank Hoffmann
14 days
I think we both talk about different numbers. You chart show the price for which you can buy energy in the market, which is very high (30 ct/kwh) in Germany, you are right there. This is also a big problem for the economy. But the price to generate energy by solar is much lower (3ct/kwh). This leads to a massive building of new solar plants in the last years which leads sometimes to negative energy prices in the summer (sometimes ... the average is still 30ct). There are now a lot of battery storage plants planned for this and the comming years to store this over supply during the day and provide it when it is needed. The price on the energy market is defined by the most expensive energy source which is needed to fullfill the damand (which is in germany usually coal or gas). This will change in the comming years and prices will fall.
Tweet media one
1
0
0
@15r10nk
Frank Hoffmann
14 days
And the difference between the cost of energy generation and the price you get on the energy market is called revenue. And this revenue is the reason why the renewables in Germany are so successful. The high price is set by the coal and gas powerplants because they can not provide cheaper energy.
1
0
0
@15r10nk
Frank Hoffmann
14 days
@BurgessPark2 @paulrolfe75 @alex_avoigt I know this is how the energy market works in Germany. And I honestly don't care if you believe me. Time will tell the truth.
1
0
0
@15r10nk
Frank Hoffmann
14 days
@dbvl53 @alex_avoigt They might not change the price for decades to come but winning locks different
Tweet media one
1
0
0
@15r10nk
Frank Hoffmann
14 days
@paulrolfe75 @alex_avoigt The price on the energy market is set by the most expensive producer (merit order) this is usually coal or gas
Tweet media one
1
0
1
@15r10nk
Frank Hoffmann
15 days
@mitsuhiko And it is also a lot of fun for little toddlers/children.
0
0
1