News for hackers. Stuff that matters.

shashwat986

Re:Google's Back Up on Monday December 14, 2020 @07:34AM (#25416674)
A friend at Google's telling me it's partially back up. Anyone still facing issues?
Re:Google outage – resolved on Monday December 14, 2020 @07:32AM (#25416642)
It's up again!
Re:Ask HN: Best things in your bash_profile/aliases? on Monday January 14, 2019 @02:19AM (#18901266)
I've used these so much:

    function gc() { grep -rnI "$@" * ;}
    function gcA() { grep -rnI -A 5 "$@" * ;}
    function gcB() { grep -rnI -B 5 "$@" * ;}
    function gcC() { grep -rnI -C 5 "$@" * ;}
    function gcf() { grep -rnIl "$@" * ;}
Just helper functions built on top of grep
Re:GitHub: October 21 Incident Report on Monday October 22, 2018 @07:51AM (#18273860)
Yeah, we're still facing issues with, erm, Github issues.

Also, while they haven't updated this blog post for a while, their status page has been very up-to-date and informative: https://status.github.com/messages

Re:Ask HN: What is the funniest bug you encountered? on Tuesday November 28, 2017 @07:17AM (#15796511)
Something very similar happened to me. To this day, I don't run any python script without the `-i` flag

Ask HN: Redash or Metabase or Superset or QuickSight?

I work for a small organisation that's looking for the right tool to visualise our analytics data.I know selecting the right tool is highly subjective, but, what parameters should I use to judge/compare these tools? There's no nice online comparer for these tools, and every article I've tried reading ends up being quite opinionated.HN, can you help me rate these, and other similar tools, on the...

( Read More... | 1 comment | 3 points | on HN )
Yep, and the "End Session" button deletes the entry.
Re:Documenting the Web together on Wednesday October 18, 2017 @01:07PM (#15500851)
I'm so happy to see this! MDN has always been my go-to resource for any JS/CSS help
Re:Trump administration turns NASA back toward the Moon on Friday October 06, 2017 @01:42AM (#15414669)
I'm hoping this translates into more budget for NASA, so it isn't just a pipe dream.
HN hug of death?
Re:Reddit Co-Founder Ohanian Gets Engaged to Serena Williams on Saturday December 31, 2016 @12:31AM (#13289654)
I like her description of the event: "Down on 1 knee. He said four words. And /r/isaidyes"
I'm using Tornado, not Django. I just want to use Django as an inspiration for my app structure.

The problem with Tornado is that it doesn't come with an in-built ORM like Django, which means I need to actually create a connection to the Mongo instance I'm using. Hence the confusion. Python doesn't have initializers like Ruby does (that I know of).

I've always been curious as to how you structure your models in Django.

I'm building a personal project in Tornado and MongoExpress, and the only thing I can see about structuring my models is to put all of them in one file called models.py

I'm used to the RoR way of doing things, so this seems very counter-intuitive to me.

In addition, whenever I try to break the classes into different files, I'm not sure of where to store my DB connection logic, and how to ensure that all models are accessible from the controllers.

Ideas?

Re:Show HN: H4ck 1t, multiplayer hacking game on Thursday December 01, 2016 @11:37AM (#13080705)
Thanks! This is wonderful!
Re:Show HN: H4ck 1t, multiplayer hacking game on Thursday December 01, 2016 @11:29AM (#13080605)
We killed it, guys! Just went down for me.
Re:Ask HN: Is anybody facing issues with GoDaddy DNS on Monday November 14, 2016 @10:09AM (#12950209)
Yes. My personal website has been down for more than an hour now.
Re:Ask HN: Who is firing? on Wednesday November 02, 2016 @04:03AM (#12852966)
It can be useful if companies are doing it in a backhanded manner, and trying to hide the state of affairs from its own employees. Kinda why fuckedcompany became so popular
Re:Wikileaks data dump on Tuesday October 18, 2016 @03:10PM (#12737688)
Is this related to Assange's announcement of (automatic) retaliation for disconnecting his internet?
This is something lots of people often fail to mention. Mathematics is actually quite important to most aspects of computer science. In fact, even though there is no ​need​ for developers to know advanced mathematics, it certainly is one of the more important foundations of fields like data analysis, game programming, virtual reality, or machine learning.
Re:Google OAuth API is down on Tuesday April 19, 2016 @09:54AM (#11526912)
It's down again. Bad time for Google... and us.

Older »