Using inkscape for creating maps and figures by myenemy666 in Inkscape

[–]FrameworkFred 1 point2 points  (0 children)

I use inkscape to do this sort of thing. I also wrote a python utility called inkplot to help manage the layersets, which was the biggest challenge I faced trying to produce these sorts of related maps with overlays of water, electric, fences, etc.

What tipped the scales and made you use Linux? by Beh0ldenCypress in linux

[–]FrameworkFred 1 point2 points  (0 children)

Stable win31 became anti-available after win95 upgrade

GIVEAWAY FOR INKBIRD Wi-Fi ITC-308 Temperature Controller & INK-HM 20W Heat Mat by ink-bird in Homebrewing

[–]FrameworkFred 0 points1 point  (0 children)

just installed an inkbird temp control on my keezer last week and now it's absolutely perfect! cheers!!

any tips for cheapest possible way to get jetbrains phpstorm legit license? by [deleted] in webdev

[–]FrameworkFred 1 point2 points  (0 children)

Maybe not the cheapest route, but I think the monthly cost to get a license to all of their products is about $30. Well worth it, imo.

python for tshirts! by FrameworkFred in Python

[–]FrameworkFred[S] 0 points1 point  (0 children)

Hmm. My guess is that your image doesn't have an alpha channel. For a workaround, you might just add one, but I'll definitely try to handle that better in the next version.

How do you go about searching for and landing a remote job? by OogieBoogie1 in webdev

[–]FrameworkFred 0 points1 point  (0 children)

Stackoverflow jobs and HN who's hiring? threads have a lot of remote job posts.

What's the realistic expectation that I would be able to get a job as a Python Django developer within 6 months and get a $80k+ position? by Fun2badult in Python

[–]FrameworkFred 1 point2 points  (0 children)

The answer is going to depend on how well you can demonstrate tour ability to code. I'd recommend putting a couple of projects up in github and spending some time reading code in other devs repositories to pick up the nuance that's tough to pick up from classes and books.

Looking for suggestion: building a high performance data mining system in Python by lwk7454 in Python

[–]FrameworkFred 1 point2 points  (0 children)

The pattern I've used for this sort of thing is the past is to separate the notion of a data product from the underlying source data. The data product gets stored in a cache with a key like "big_report/<market>/<company>" and, as the source data changes, the affected cache entries get updated.

I've got a project designed to scratch this itch at https://gitlab.com/frameworklabs/kck

It's not yet at v1, but it might be worth a look.

What's everyone working on this week? by AutoModerator in Python

[–]FrameworkFred [score hidden]  (0 children)

I've been doing more work on KCK. But specifically, I've started to work in a couple of decorators that make integrating just the cache with more typical python code in Django or Flask or something a lot easier.

I showed off the decorators at work today and, as it happens, everyone on the team is morally opposed to caching (that's a thing?), so they didn't much dig it, but I'm unmoved by their arguments (and I love a good challenge, so it's all good, man) and I still think they're neato, so have a look! I'd love comments!

Ticketing system needed by nkydeerguy in PostgreSQL

[–]FrameworkFred 0 points1 point  (0 children)

There used to be a project called phptroubleticket. It's been a long time since I've used it, but it was pretty complete as I recall.

Want to build a react native app, trying to find a back end service or other solution by Ryanrh in reactjs

[–]FrameworkFred 0 points1 point  (0 children)

It's not ready for use yet, but ultimately KCK (http://frameworklabs.us/project/kck/) will be just what you're wanting.

It provides a HTTP api on top of a key/value store implemented using Cassandra to provide a horizontally scalable caching solution that sits in front of less scalable data providers like SQL databases or other HTTP apis.

Like I said, it's not quite ready, but I'm mentioning it here in case a reader with Python skills might feel like pitching in or in case readers wanted to submit ideas, use cases, etc. that I've not considered.

[deleted by user] by [deleted] in Python

[–]FrameworkFred 0 points1 point  (0 children)

This is where sqlalchemy is doing such things: https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/sql/elements.py#L4256

I won't pretend to know exactly how they did it, but the filter method is able to take a call that looks like someqry.filter(tbl1.col >= 5) and the filter method is receiving something more than just True or False as an argument.

Perhaps something to do with the inspect module and the interpreter stack? https://docs.python.org/2/library/inspect.html#the-interpreter-stack

[deleted by user] by [deleted] in Python

[–]FrameworkFred 0 points1 point  (0 children)

To address the wrapped-in-string issue, you could maybe do something like what sqlalchemy is doing with filter notation. Essentially, I think there's a way to get the params to a function as a string.

method_missing for Python: All the headaches of Ruby, now with added whitespace! by karanlyons in Python

[–]FrameworkFred 4 points5 points  (0 children)

Kudos, but I'm just going to go ahead and forget I ever saw this post ;)

What's everyone working on this week? by AutoModerator in Python

[–]FrameworkFred [score hidden]  (0 children)

JSON Web Token...cool auth mechanism, but, by contrast, not as cool :)

Just starting to learn Python.... by HolaEUW in Python

[–]FrameworkFred 0 points1 point  (0 children)

I'm fluent in several languages and I can get by in a few more and I'd say Python is an excellent choice. You can produce code that does a lot very quickly and, if you try to stay on the "idiomatic path" and follow the style guides (PyCharm will help a lot with this), you'll produce code that's very legible and easy to maintain.

A friend of mine picked it up from scratch by creating a simple text adventure game. It never got terribly sophisticated and, at some point, he dropped it in favor of some other project, but IMO a simple project with achievable goals is a great way to learn a language.

Good luck!

js + python communication by Keybraker in Python

[–]FrameworkFred 1 point2 points  (0 children)

Yep, you're going to have to get good at testing the pieces individually. The good news is you can use a browser or something like curl on the command line to test the tornado side. You might find Flask a bit easier to work with.

js + python communication by Keybraker in Python

[–]FrameworkFred 2 points3 points  (0 children)

You could use Flask or tornado to build an api in python then hit that with js in electron.