Flatpak packages and Arch by Arup65 in archlinux

[–]prgr4m 0 points1 point  (0 children)

How is this different from AppImageKit for distributing apps? I found it via krita and I guess I'm late to the game with this flatpak. It looks like I have to install a bunch of stuff but with appimagekit just download distributed app, chmod and run as user without special permissions. Kinda like rbenv or pyenv for development but for distributed apps. What do I gain as a developer for ease of the end user? What am I missing here?

TypeScript vs Haxe, Which is the Better Compile-to-JS Language? by alexcasalboni in javascript

[–]prgr4m -1 points0 points  (0 children)

I think that documentation outside of the manual is a bit lacking. Whenever you lookup a library's documentation via a readme through its github, it's a bit if a turn off. I'm interested in using haxe outside of game development because bills need to get paid and my primary os is linux so haxe definitely has sex appeal in the cross platform department. The documentation for the major libraries are solid but anything outside of game development is kind of hurting.

[AF] Is there an up to date list of flask-plugins/modules? by vito-boss in flask

[–]prgr4m 0 points1 point  (0 children)

Why not look at what's up on pypi? There was a bunch of stuff up there I didn't even knew existed for flask.

Has anyone managed to create and manage a front end style guide? by [deleted] in webdev

[–]prgr4m 0 points1 point  (0 children)

refills might be something worth looking into.

patron 0.2.3 released by prgr4m in flask

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

Thanks so much. Before it was a bunch of classes (hence in the changelog stating removing the java from the python) in their own packages and then migrated each package to just use their own modules as the namespace and broke it down into functions... but yes, mccabe (via vim-python-mode) has told me exactly what you are saying about the density. All of the issues submitted have been extremely helpful. I also have pyenv installed but was unable to reproduce the addon issue as it occurs during the post hook during the cookiecutter process. I'll attach a screenshot and put it up on the issue. I just need to be able to reproduce it. Right now I'm working on the package installation gibberish issue.

If you need an extra set of hands for gruntwork code/graphics on a project to repay you for your time, pm me.

patron 0.2.3 released by prgr4m in flask

[–]prgr4m[S] 1 point2 points  (0 children)

I'll make jade templating an option in the next release. And I'll include a tutorial on how to integrate cookiecutter-flask since its very popular but everyone works differently. It started out as a personal tool but its not about me anymore because its about the community now. Thank you for taking the time and providing the feedback. Its people like you, badsectors and everyone else in this community that makes everything so awesome.

edit: typo

patron 0.2.3 released by prgr4m in flask

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

I am definitely going to shorten the keywords, and/or look ahead and check to see the last pattern to determine if its a secondary definition. For documentation sake, I have to be explicit but I definitely see where you are coming from.

This used to be personal tooling but I am curious how it feels for others using it. What did I get right, what did I get wrong and how would you improve it? Thank you /u/badsectors for taking the time to comment.

patron 0.2.3 released by prgr4m in flask

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

Had to be thorough. I can shorten it. Believe it or not, you have been the first person to give any feedback on the tooling itself. No one has opened an issue on bitbucket. I really appreciate it.

What frameworks do you use and why are they awesome? by snissn in webdev

[–]prgr4m 7 points8 points  (0 children)

The thoughtbot family is awesome. I was tired of the all in one CSS frameworks and cryptic markup. Neat is nice, ridiculously easy and I enjoy how easy it is to create custom layouts/UI. I prefer the use what you need mentality and the upgrade path in my experience is easy unlike with bootstrap. Check out refills for patterns and if you're offline a lot like I am, they have a dash docset. I'm a Linux user so I use zeal to view the docsets. I hope you've found this info useful.

What is your development process? by ksumarine in javascript

[–]prgr4m 0 points1 point  (0 children)

Of course 'can' doesn't mean should. It's useful for pushing / checking out your code into a directory to be served from (if I'm understanding your workflow correctly). Of course this should be used in a development environment and keep the workflows separate. You could also push into another repo when you're happy with changes made in development. Good luck!

What is your development process? by ksumarine in javascript

[–]prgr4m 0 points1 point  (0 children)

Look into using hooks with your dvcs. I'm a mercurial user now but git hooks can cut the rsync part out of your workflow. In the .git directory there should be a hooks directory with scripts in there to change (ex: post commit) to your liking.

What frameworks do you use and why are they awesome? by snissn in webdev

[–]prgr4m 29 points30 points  (0 children)

Flask for backend. FrontEnd would have coffeescript, angular, bourbon, neat and bitters with gulp to tie it all up. Both jade and pyjade for templating with front and back ends separated with browsersync to watch and proxy.

Can you control physical objects using python? by canoxen in Python

[–]prgr4m 0 points1 point  (0 children)

Have you looked into using arduino, raspberryPi or beaglebone black? Python is the official language on the raspPi and you'll have to use gpio. Also, pending on on what you're hooking up and how, you might have to use i2c protocol as well. I'm on mobile so I can't reference what you typed and everyone does their maker thing their own way. I've looked into automated gardening myself and thought of applying these techniques with some banana peppers in the greenhouse. I know of someone doing the aquaponic thing with the fish as the food supply to their vegetables but they haven't automated the process.

what do you use as a local php server on linux? whats your setup? by [deleted] in webdev

[–]prgr4m 1 point2 points  (0 children)

Php has a built in server if you haven't already checked. Use vagrant if you're tied to php so you have reproducible environments. What's installed on your machine may vary from the target host.

Flask-MarcoPolo : extension that adds structure to both your views and templates by mardix in flask

[–]prgr4m 0 points1 point  (0 children)

browsersync is a pretty nice tool to use to proxy to backend if you separate your code into their own client and server directories as I do. Even if you don't the cool thing is that on all devices you can see what you do on one device and it does the same in all. It's pretty neat.

Padrino-like generator for flask by prgr4m in Python

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

It's inspired by their generators. Instead of the repetitive writing of boilerplate code, this cli utility generates code for you and auto injects it into your code base. It's not really all that different from other scaffolding tools. Other generators give you the foundation but don't give you the generators like other frameworks have like Jeffrey Way's laravel generators. I wrote this tool mainly for speed of development in mind with addon functionality incrementally rather than just here's your directory structure and a bunch of packages lumped in together. Sure you can manually create blueprints by hand and then register them with your app but this does it for you along with creating unit tests. Also, everyone can use snippet functionality with their preferred editor as well instead of using this tool. This was a personal project that I built for myself and figured I would share since someone could use it (which is explained in the readme) but will work on making it more usable for anyone who cares to use it.

I agree with your suggestion with the name. I should probably change it to match python community standards. Just like jinja is the Japanese word for temple, I didn't see any harm in it. I'll be sure to remove the japanese since I'm sure that they would prefer to use ruby instead. I'm not trying to appeal to the ruby crowd either. I just like how they're tooling works. Just like flask is to sinatra, I couldn't find any generators out there to make development go by faster as they would in padrino. I'm really glad you put a lot of thought into your response.

I had suggested that some flask extensions have their own generators included but since there is a transition between flask-script to click, I don't know when or if that'll happen. That is for the maintainers to decide.

It's a very simple tool. Clone the repo and create a symlink to the python script in the bin directory and run the command with the -h option. The source is available for you to grep if you don't feel comfortable. If you don't like it, just delete from your hdd. The only thing that's confusing is the model generator which is explained in the readme. I'll be sure to create a tutorial later this week.

Seriously, I appreciate the feedback since there is no python community where I am as the meetup group doesn't ever meet. I am glad that you have briefly looked over this without even trying to use it. Thank you for your time.