News for hackers. Stuff that matters.

tudborg

Re:Show HN: LogDNA – Easy logging in the cloud on Wednesday February 10, 2016 @02:55PM (#11075489)
Ha. Sounds tempting, but SF is a bit far away for me ;)
Re:Show HN: LogDNA – Easy logging in the cloud on Wednesday February 10, 2016 @01:56PM (#11075038)
Damn, this is _exactly_ what I just started building... ¯\_(ツ)_/¯ Oh well, It looks really nice!
Re:Why Python 3 Exists on Thursday December 17, 2015 @01:37PM (#10753368)
So much this! asyncio was the main selling point for me, but in general, why not follow the language?

I never really understood the "rather stay with py2.7" thing. I get it with big old monolithic applications. You don't "just" rewrite those, but _every new python project_ should be done with the latest stable release.

Is anyone starting their PHP projects on PHP4? Any new node projects in 0.10? Of course not, that would be moronic.

Is it possible to have internet without internet service providers? That would be technically impossible ;)
Re:LogMeIn acquires Lastpass on Friday October 09, 2015 @10:43AM (#10360300)
Paying LastPass user here. Not sure how this is going to go down. TBH I'm hoping that nothing will change. Yes, the UX might not be the best in the world, but to me, the important thing is availability and security (probably not in that order). A browser extension and a decent android app is what I need, and I already have that.
Re:96 MacBook Pro’s in one server rack on Wednesday July 29, 2015 @09:01AM (#9968308)
Why bother when your own 4G connection could be significantly faster than sharing a 100/100Mbit with 80 other people?

I never use guest networks for that exact reason. I know that my traffic and my connection is my own, and works. Way easier imo.

Re:96 MacBook Pro’s in one server rack on Wednesday July 29, 2015 @08:56AM (#9968279)
reliable network, consistent (low) latency and the security aspect. At least that is my top 3.
Althought that might be your preference, I'm fairly certain very few people feel the same. I too want a phone that "works", but I'd never pay $1000+. I can live with some sacrifices if i can get a Good Enough phone for ~$400. And imo, OnePlus One is fits the bill quite well. I was sceptical about no SD card and the non-removable battery, but when the battery lasts for days, and i have 64GB eMMC and online backup, I found I don't need those things anyway.
The opposite. To little supply for the demand. They used the invites to "throttle" the purchase rate to be able to keep up. They probably thought an invite system was a better aproach than a weekly free-for-all aka. SuiciDDOS against the webshop. Hopefully, this time supply will be significantly higher, meaning the invite system will be removed as soon as they know they can keep up with demand.
Re:Reasons to work from home on Monday July 27, 2015 @07:58AM (#9954620)
aka: Please spend an hour in transport so you can spend 10 minutes fixing the issue while we breath down your neck and constantly ask stupid questions that won't help us solve anything.
Fun, but not really P2P. Have a look at WebRTC for actual P2P :)
Ha, zork is on there. Nice.
Damn. i failed :(
And WebKit is based on? And Blink is based on?
Re:Hacker News API on Tuesday October 07, 2014 @05:52PM (#8424232)
Just wanted to drop a comment on the awesomeness of your app. Hacker News 2 is by far the best Hacker News app, not just on Android, but on all mobile platforms i've tried (so, iOS, Android and Windows Phone) Awesome work you are doing.
Re:Show HN: Vpython – easier virtualenv on Sunday August 31, 2014 @02:46PM (#8250014)
Didn't know vex. Looks nice.
Re:Show HN: Vpython – easier virtualenv on Sunday August 31, 2014 @08:24AM (#8249146)
Author here.

I know i have a few naming clashes, but i havn't been able to come up with a better one. Suggestions welcome.

Also, i did a blog post on this tool http://www.tudb.org/articles/2014/03/31/vpython/

Ha. How fun :)

We take different aproaches though.

Repo link for reference: https://github.com/tbug/vpython

Mine expects you to know virtualenv and how it works, and also that you explicitly install it. Same goes for dependencies.

My needs where to avoid sourcing the virtualenv, so i wrote the tool to fix just that. Also, i built mine to resolve symlinks and be usable as the shebang in your python scripts, which is pretty neat when writing command line tools.

Downside is, ofc, that compared to just running something inside a virtualenv shell, vpython takes forever (up to 100ms-ish on my machine) to find the virtualenv, and set the correct env variables.

Most of my projects are long running though (webservers, number crunchers, etc), so the extra miliseconds it takes to load is really not that important.

Looks good.

I currently use http://tudb.org/articles/2014/03/31/vpython/ for pretty much all of my python projects (also, i am the author of vpython).

How do you query your database? There is still a bunch of new PHP projects that use mysqli::query, which is like playing with fire compared to using PDO::prepare If you are still using mysqli, changing to PDO for future commits might help reduce chance of creating these kind of vulnerabilities.
The cookie should not contain something computable at all. It should be some kind of session identifier, generated by your code when user:pass combo checks out.

And if possible, store the session information somewhere else than your database. Redis and Memcached is a nice fit for stuff like that.

Re:Click – Python library for command-line interfaces on Thursday April 24, 2014 @07:17AM (#7639443)
It looks really well done.

I still prefer docopt (https://github.com/docopt/docopt) . It is so much simpler to use. Click seems to be a bit overengineered.

Older »