Better HN
topnewbestaskshowjobs
Log inSign up

daGrevis

1,234 karma · joined Nov 15, 2011 (15y ago) · 253 submissions

[ my public key: https://keybase.io/dagrevis; my proof: https://keybase.io/dagrevis/sigs/l6JRPbRKhru31TNZAVIXJwrFCDHOZ98uQ98l7DlN2hU ]
Submissions

comment 12y ago · link · parent

Here's source of evil.js that will be served if you are going to abuse rawgit.com and use it on production.

https://github.com/rgrove/rawgithub/blob/master/public/js/ev...

comment 12y ago · link · parent

One shouldn't alias 'git add . && git commit' to 'git ac'. You should always check what you are about to commit with 'git status' and 'git diff'.

comment 12y ago · link · parent

To tell CI (for example, Jenkins) to rebuild.

34.

An Intuitive Markdown Cheatsheet(chibicode.com ↗)

2 points · by daGrevis · 12y ago · discuss

comment 12y ago · link · parent

This is cool! React (by Facebook) has something similar. http://react-bootstrap.github.io/components.html

comment 12y ago · link · parent

I don't know what he meant, but we have a situation where our REST API needs to reply with “I see you want to get X. Come back and ask for X again when it's ready.“. In our backend, we just add the task in message queue.

37.

Vimmy the Pooh(github.com ↗)

1 points · by daGrevis · 12y ago · discuss

38.

An open-source Python implementation using JIT techniques(github.com ↗)

83 points · by daGrevis · 12y ago · 27 comments

comment 12y ago · link · parent

Here's an example of TimL in action! https://github.com/sjl/tslime2.vim/blob/master/plugin/tslime...

40.

TimL – Clojure like language which compiles down to VimL(github.com ↗)

207 points · by daGrevis · 12y ago · 33 comments

comment 12y ago · link · parent

I've been using this for the last couple of months with syncing through Dropbox and it works just fine!

For quicker password access, one should try passmenu[0]. It's a dmenu-based menu with all the entries and selecting one copies password to your clipboard.

[0] https://github.com/cdown/passmenu

42.

Easy WebSockets with Flask and Gevent(blog.miguelgrinberg.com ↗)

1 points · by daGrevis · 12y ago · discuss

43.

Postgres full-text search is Good Enough(blog.lostpropertyhq.com ↗)

5 points · by daGrevis · 12y ago · discuss

comment 12y ago · link · parent

This is cool and I somehow find it less confusing than version(s) with numbers! Plus points for it working with touchscreens!

comment 12y ago · link · parent

Here's a theory — an ideal job is a job that fulfills your desire to code to a level in which you don't want to do any coding after work hours. There's so much challenging tasks and new things you learn right away by doing things you are paid for that you don't need to search for something new after work.

comment 12y ago · link · parent

I wonder what's GitHub opinion on this. What would they do if the government would ask them to remove all code including forks from their site?

comment 12y ago · link · parent

import is a statement. __import__ is a function hence will work.

    In [1]: accio = __import__
    
    In [2]: accio("os")
    Out[2]: <module 'os' from '/usr/lib/python2.7/os.pyc'>

comment 12y ago · link · parent

I think I read it somewhere. Maybe I was mistaken.

comment 12y ago · link · parent

If you just want to accio act as import, you can always do this:

    accio = __import__
Anyway, interesting article!

comment 12y ago · link · parent

I'm not an expert, but isn't shadows and rounded corners like anti-flat?

51.

Phantomas – PhantomJS-based web performance metrics collector(github.com ↗)

1 points · by daGrevis · 12y ago · discuss

52.

Lisp Is Not Functional(letoverlambda.com ↗)

1 points · by daGrevis · 12y ago · discuss

comment 12y ago · link · parent

Really addictive and well done!

Wanted to add that the author also created HN Special, an extension for Chrome that makes HN look decent and adds some useful niceties. https://github.com/gabrielecirulli/hn-special

comment 12y ago · link · parent

Service seems to be down-ish.

You can check it using CLI! http://vpaste.net/UuOFT Source code is available here! https://github.com/jezdez/caniusepython3.com

Disclaimer: I'm NOT the author.

55.

Can I Use Python 3?(caniusepython3.com ↗)

94 points · by daGrevis · 12y ago · 63 comments

comment 12y ago · link · parent

Yes, libraries that you may need may not be compatible yet. But it is fair to say that situation is getting better.

Also, here's a great tool that checks if you can use Python 3: https://caniusepython3.com/ .

comment 12y ago · link · parent

I started new project on Python 3 yesterday and I can say that there hasn't been any problems so far. Libraries I needed to use were compatible with Python 3: toml, markdown and Jinja2. I'm looking forward to use clint for better CLI as well! Everything was solid and production-ready. It's good to know that some really weird things are fixed in new Python. I can't think of any reason not to start new app in Python 3! :)

comment 12y ago · link · parent

This is cool. Next step would be a tool that would allow to export this as color scheme for editor!

comment 12y ago · link · parent

Beyonce website is really cool!

comment 12y ago · link · parent

Sure, sure. I'm just pointing out that it's pretty funny and clever. :)
12345
9