Fredrik Sjöstrand Profile
Fredrik Sjöstrand

@Fronkan

Followers
45
Following
194
Media
14
Statuses
168

Software engineering, ML and data in general, but python in particular! Blogging at: https://t.co/qp98t3FZoB. Storing code at: https://t.co/3PE8SGJgcR.

Joined March 2013
Don't wanna be here? Send us removal request.
@Fronkan
Fredrik Sjöstrand
8 months
RT @InsideOfMobile: @yegordb @atKenNelson @deedydas I finally managed to have a first glance at your study and I have a concern which actua….
0
1
0
@Fronkan
Fredrik Sjöstrand
2 years
Some really cool libraries for jupyter notebooks!.
@pyquantnews
PyQuant News 🐍
2 years
Jupyter Notebook is the most powerful tool Python developers have. But most people don’t know the hidden features. Need a quick web app?. Or to create REST APIs?. Here are the 6 ways to use Jupyter notebook you never knew existed:
Tweet media one
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
Woooow, I just got tagged on a spam comment on @github 😯.I have gotten use to the occasional spam on other platforms, although filters mostly catch it, but this is for sure a first.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
This could be really fun for generating textures to a game.
@metasemantic
Travis Hoppe
3 years
Seamless textures with #stablediffusion notebook released! . Different than one yesterday that uses convolutions (this cuts the outside, pastes it on the inside, inpaints the outside, and glues them back making a 100% perfect seam).
Tweet media one
Tweet media two
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
A small #python tip. You can use tabulate ( to render a #pyspark dataframe in #Jupyter.
Tweet media one
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
Some really good tips in the answers to this tweet!.
@tunguz
Bojan Tunguz
3 years
What is one Machine Learning/Data Science library that you love to use but most people don't seem to know about it?.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
I find that negative indexis in python are amazing. But I had no idea a similar concept works for the round function!.
@s_gruppetta
Stephen Gruppetta
3 years
Did you know…. …you can round to the nearest thousand in Python?. >>> round(3256, -3).3000. Or to any other level of precision, of course
Tweet media one
0
0
1
@Fronkan
Fredrik Sjöstrand
3 years
Workarounds can be tricky to manage and can easily stay in the code base for way to long. I look at writing workarounds that are easier to manage, keeping the code base cleaner. Examples are in .#python, but mostly applies to all languages.
fronkan.hashnode.dev
Most of you have probably written a workaround for some bug in a web API or a third-party package. If you haven't, trust me, it's just a matter of time. The question then becomes, how can I make sure...
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
🤯.
@slicknet
Nicholas C. Zakas
3 years
Git tip: You can quickly switch to the last branch you were on via:. git checkout -.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
Now, this is a perspective that we need more of. I think it befits boths sides, employer and employee, to see the recruitment process like this.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
RT @tri_dao: Announcing FlashAttention, a fast and memory-efficient attention algorithm with no approximation! 📣 w/ @realDanFu. By reducin….
0
347
0
@Fronkan
Fredrik Sjöstrand
3 years
I guess I will have to read up on "Grokking". The idea that a machine learning model can generalize well passed it has overfitted seems really powerful.
@awnihannun
Awni Hannun
3 years
Read a bit about Grokking recently. Here's some learnings:. "Grokking" is a curious neural net behavior observed ~1 year ago (. Continue optimizing a model long after perfect training accuracy and it suddenly generalizes. Figure:
Tweet media one
0
0
2
@Fronkan
Fredrik Sjöstrand
3 years
I must say, even though my first commit at the new job was a minor one, getting it merged was a great feeling 🥳.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
#Python any tips on how to write a good workaround?.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
Thanks for the shout out @ThePracticalDev 😊.
@ThePracticalDev
DEV Community
3 years
I quite often find myself with stuff in a repository that I don't want to delete or commit. That's where .gitignore comes in. { author: @Fronkan } #DEVCommunity.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
It really bothers me, more than it should, to have stuff show up when I do a git status. But what do I do with the stuff I don't want to commit and that doesn't fit in the .gitignore. I add them to my personal .gitignore of course!.#DEVCommunity.
Tweet media one
dev.to
I think I might be a bit messy, but maybe so are you? Either way, I quite often find myself with...
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
Trying to get back into writing and noticed it's been over a year since my last blog post 😲.
0
0
0
@Fronkan
Fredrik Sjöstrand
3 years
Now this is a really interesting piece of code!.
@nedbat
Ned Batchelder
3 years
Python dict subclasses can define __missing__: it's called when a key is missing. Instead of hiding a dict in a function as a cache, how about hiding a function in a dict!? A Fibonacci dictionary:
Tweet media one
0
0
1
@Fronkan
Fredrik Sjöstrand
3 years
Really excited to start my new developer role at @ericsson today! 😄.
0
0
1
@Fronkan
Fredrik Sjöstrand
3 years
It has been really strange to work my last day. It's really hard to leave the amazing people i have been working with. But at the same time I'm incredibly excited to start a new role on Monday.
0
0
0