HNHacker News
TopNewBestAskShowJobs

daGrevis

1,234 karma · joined November 15, 2011

[ my public key: https://keybase.io/dagrevis; my proof: https://keybase.io/dagrevis/sigs/l6JRPbRKhru31TNZAVIXJwrFCDHOZ98uQ98l7DlN2hU ]
submissionscomments
daGrevis··on Don't design your own REST back end
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.
daGrevis··on TimL – Clojure like language which compiles down to VimL
Here's an example of TimL in action! https://github.com/sjl/tslime2.vim/blob/master/plugin/tslime...
daGrevis··on Pass: The standard unix password manager
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

daGrevis··on Show HN: 2048 without numbers
This is cool and I somehow find it less confusing than version(s) with numbers! Plus points for it working with touchscreens!
daGrevis··on Burnout
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.
daGrevis··on Popcorn-app
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?
daGrevis··on Replacing `import` with `accio`: A Dive into Bootstrapping and Python's Grammar
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'>
daGrevis··on Bootflat: Open Source Flat UI Kit based on Twitter Bootstrap 3
I think I read it somewhere. Maybe I was mistaken.
daGrevis··on Replacing `import` with `accio`: A Dive into Bootstrapping and Python's Grammar
If you just want to accio act as import, you can always do this:

    accio = __import__
Anyway, interesting article!
daGrevis··on Bootflat: Open Source Flat UI Kit based on Twitter Bootstrap 3
I'm not an expert, but isn't shadows and rounded corners like anti-flat?
daGrevis··on 2048
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

daGrevis··on Can I Use Python 3?
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.

daGrevis··on Python 3.3.5 has been released
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/ .

daGrevis··on Python 3.3.5 has been released
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! :)
daGrevis··on Find your color scheme
This is cool. Next step would be a tool that would allow to export this as color scheme for editor!
daGrevis··on Ask HN: What's the largest website hosted on Digital Ocean?
Beyonce website is really cool!
daGrevis··on Delete.im: the forgetful messaging service
Sure, sure. I'm just pointing out that it's pretty funny and clever. :)
daGrevis··on Delete.im: the forgetful messaging service
Loved that by inspecting message in Chromium DevTools you see a “div“ element with a class “nice-try“.
daGrevis··on What is a Web Framework?
Read all of the post.

I was expecting some enlightenment at the end or something useful for me, but nothing. This stuff is mandatory for each and every programmer who writes web-apps and I wouldn't call them web-programmers if they wouldn't know these basics.

daGrevis··on Engineer's Guide to US Visas
Thanks for this a lot! I'm planning to move to USA when I can and this helps to see the whole picture.

My best bet would be a company that really wants me to work for them and arranges all of this.

daGrevis··on JSON5 is a proposed extension to JSON
We tried to use YAML at first, but problems with data types (can't correctly remember what, but there was no way to force something to be something) made us to rewrite our test fixtures to JSON. The only problem with JSON for us is that it doesn't support any comments, but JSON5 seems to fix it.

There's a interesting format for configuration called TOML[1], you should check it out!

[1] https://github.com/mojombo/toml

daGrevis··on The Emacs Problem (2005)
CSON! :(
daGrevis··on Google's robots.txt
I second this. Latest Chromium.
daGrevis··on Redesigned Python.org
Overall it looks good. I miss that code console isn't actual REPL.
daGrevis··on Coffitivity – Increase Your Creativity
I want to point out that I'm not the creator of that page. ;)
daGrevis··on Show HN: Writebin, an inline markdown editor
This is really cool and I'm really a big supporter for this type of editors!

Some suggestions:

* There should be an option “demo page“,

* Paragraphs should be drag-n-droppable,

* Arrow keys should take me to the previous/next paragraph,

* There should be “a plus icon“ above and below each paragraph,

* Inline editor should contain buttons for “bold“, “italic“ etc..,

* Pressing “the bold button“ when there's a highlighted word should wrap it in two stars etc.;

Is the thing open-sourced? I would like to help improve it and use it in my blog for writing things.

daGrevis··on Coffitivity – Increase Your Creativity
I've been using it for the past few days and it might just work!
daGrevis··on Life is a game, this is your strategy guide
I would like to share my opinion on living life.

What is the main goal? Some may think that it's getting better at something to get a raise and more money. First there is a school, then there is the 1st job, the you try to get a better one and you are trying and trying and trying to get higher. In my opinion, that's not the main point and it's just a side-effect of the life.

Article suggests that 1st 15 years of life is a training or a tutorial, but I disagree. They are as much as important as any other time period. Person should do what makes he or she happy. If it's playing video-games or spending time with friends at a bar, it's okay. Of course, it won't affect your skills on getting a better job (so more money), but if it makes you a happier person, do it! Life is all about being happy and doing what you love to do.

There is no magic-prize at the end of the life, only memories. What will be the point of having much money and good CV in you will sacrifice your happiness on it.

In my opinion, this video[1] nicely shows what I'm talking about.

[1] https://www.youtube.com/watch?v=ERbvKrH-GC4

daGrevis··on A Brief And Mostly Wrong History Of Programming Languages
> 1958 - John McCarthy and Paul Graham invent LISP.

I can't stop laughing.

daGrevis··on Pux – High Performance Router for PHP
Because routing is the bottleneck.
← PreviousPage 2 of 8Next →