Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    T

    Toolbox Blogs

    it.toolbox.com · Publication · on HN since 2008

    Toolbox Blogs is a multi-author blog network covering IT topics including PostgreSQL, security, programming management, and networking.

    Visit blogHN submissions
    DatabasesTech Industry
    What HN says

    HN links it for individual posts on topics like PostgreSQL internals and Google's reCAPTCHA acquisition; commenters give no view on the site overall.

    Stats for nerds
    48HN people shared it
    53linked in comments
    449story points
    Aug 2019last shared
    2009people per year2019

    Top posts on HN

    1. 1
      Why PostgreSQL doesn't have query hints
      2 people · 156 points · first shared 2011 · 60 comments on HN
    2. 2
      The World's Worst Penetration Test Report by #ScumbagPenTester
      1 person · 83 points · first shared 2014 · 25 comments on HN
    3. 3
      Really, Google? (Or Why We Can’t Have Nice Wireless Networks)
      1 person · 52 points · first shared 2019 · 53 comments on HN
    4. 4
      PostgreSQL: What happened to Hot Standby?
      1 person · 29 points · first shared 2009 · 36 comments on HN
    5. 5
      Theory P: The Philosophy of Managing Programmers (*not* a parody)
      2 people · 24 points · first shared 2009 · 40 comments on HN
    6. 6
      Theory P: The Philosophy of Managing Programmers
      1 person · 20 points · first shared 2019 · 6 comments on HN
    7. 7
      Texas Pickup Truck Crash Shuts Down the Internet (2007)
      1 person · 8 points · first shared 2018 · 4 comments on HN
    8. 8
      Cool List Of LINQ Examples, Tips and How To's
      1 person · 6 points · first shared 2011 · Discussion on HN
    9. 9
      Stop the Madness Called Email
      1 person · 6 points · first shared 2009 · 10 comments on HN
    10. 10
      RIP Ingres
      1 person · 6 points · first shared 2011 · 2 comments on HN

    What HN people wrote when they linked it

    • schulzOct 2010

      It depends how you approach the problem. I'm guessing here, from my own experience implementing social graph features, but here goes:

      There are a couple of ways you can go about this, the first is the database: Join the network of people against the land of content and bring it back. This doesn't work (as an aside this is what people mean when they say web scale, it has nothing to do with web traffic, it's social graphs) your database will cry. All though not at first, in development it works fine, and you feel fine, and for a while you're ok, but you start growing....

      Another way you can go about it is by denormalizing. In this world you store a pointer to each content item for each user. So anytime I do something all the people [following|watch|connected|friended] to me get a record indicating I did this. This works, but now you have lots of data (lots and lots of data!) spread all crazy around. You need some kind of system to push that data out to everybody. It's those last two that drive up your hardware usage, it's not necessarily web boxes, but it's boxes in the background broadcasting the events out to the world, and the datastores to hold it all. Depending on how your web code works you could also have a lot of overhead on the webservers putting all that stuff together.

      My experience here comes from building the social features into toolbox.com. A good example is this page http://it.toolbox.com/people/george_krautzel/posts-connections That's all the…

    • wulczerJul 2011

      There are strong opinions on it, but I firmly believe that "always have an autoincremental id" is a very wrong approach.

      Read http://it.toolbox.com/blogs/database-soup/primary-keyvil-part-i-7327 (an often-quoted series of blog posts on why surrogate numeric keys are evil).

      In general, if you have an entity with a well-defined natural key (users and their logins, shipments and their tracking codes), why would you use an autogenerated key that's meaningless?

      Case in point, my current schema, designed from scratch. Users can have multiple dashboards, each dashboard has a label. A user cannot have multiple dashboards with the same label, but the two users can of course use the same label for their dashboards (like "sales" or "mydashboard"). The dashboard's table primary key is (username, label) - that pair uniquely identifies a dashboard, so it's a perfect PK candidate.

      Also, as already noted in one response, many-to-many relationships are typically modelled by an intermediate table that has foreign keys to both sides of the many-to-many, and its foreign key is the sum of these foreign keys.

      EDIT: added a concrete example

    • baneDec 2013

      "running servers" reminds me a lot on restrictions on some systems against "running arbitrary code", then letting you browse the web with javascript turned on. These days servers take all kinds of form, from an FTP server to somebody hosting a deathmatch from their xbox. Hell would my browser going to a page that uses web sockets count as a server? Is an X server a server? I'm sure I'm running half a dozen chrome extension that count as servers in some way.

      Here's a web server in a browser! http://it.toolbox.com/blogs/puramu/a-browser-based-webserver-15604

      It's dumb and pointless, what they should be saying is what they mean, if they're afraid of too much bandwidth utilization then say "users may not saturate their connections above 30% bandwidth utilization for longer than 3 hours" or some such. If it's not wanting people to run commercial services then a couple clauses of either "for noncommercial use only" or "not to be held liable for commercial servers running on residential lines" or whatever is the appropriate legalese.

      It's just weird old thinking that has nothing to do with how the technology actually works.

    • peetersNov 2013

      It's a reasonable idea that already has use in displaying cryptographic fingerprints. Typically when servers present a certificate, if the cert is untrusted, a fingerprint (a hash of the public key) is shown to the user. This is meant to caution the user: if all of a sudden they see a fingerprint that they don't recognize, it might be somebody malicious trying to capture your traffic!

      Instead of presenting the fingerprint as a big hexadecimal string, some clients instead produce ASCII art and display that instead, on the theory that the human brain is better at memorizing that than a big string of digits. For example, OpenSSH: http://it.toolbox.com/blogs/unix-sysadmin/visual-ssh-fingerprints-with-new-openssh-51-release-26175

      I would argue this has even more use in a system that is trying to warn about changes, rather than about possible malicious attackers. After all, in the SSH example above, an attacker just needs to get a certificate that looks close enough to the real one that the user will accept it.

    • ablealJun 2010

      (Late notes, mostly to jot down a few URLs; also, the R.Young post I linked to above got further debate)

      - At http://news.ycombinator.com/item?id=1084150, late in 2009, there had been some debate on the merits/etc. of DB2.

      - R.Young is giving the "DB2 9.7 freebie" a spin under Linux: http://drcoddwasright.blogspot.com/2010/06/bill-teds-excellent-adventure.html

      - A bit of search led to a series of articles by Chris Eaton. List at http://it.toolbox.com/blogs/db2luw, best practices to configure DB2 guides at http://it.toolbox.com/blogs/db2luw/best-practices-for-db2-for-luw-24982

      - Another post in that series includes a comment which clarifies what is and is not included in DB2v9.7 Express-C:
      http://it.toolbox.com/blogs/db2luw/db2-97-announced-by-ibm-i-think-it-has-something-for-everyone-31292#2724772
      ["What is not yet included in Express-C is PL/SQL support, CLPplus or build in package libraries (DBMS_PIPE, UTL_SMTP, etc)."]

    • 6renDec 2011

      Codd emphasised the relational model as being able to change the underlying storage representation without breaking apps.

      Will this eventually be a problem for NoSQL? Or, is the scalability worth the sacrifice?

      Or, does NoSQL typically have only one (main) app, so making it work with a specific storage representation is not a big deal? The relational use-case was many different apps, with different versions, needing different access paths to the data. But if you just have one known set of access paths (like a REST URI), you can just design the DB for that. Hierarchical databases worked well when just one DB, one app; they just weren't very flexible.

      Hierarchical databases are fast and simple but inflexible as the relationship is restricted to one-to-many, only allowing for one parent segment per child. http://it.toolbox.com/wiki/index.php/Hierarchical_Database

    Related

    Microsoft TechNet Blogsblogs.technet.microsoft.com284 people

    Making SQL Server run on Linux

    Microsoft TechNet Blogs
    Company · last shared 2020
    Stack Overflow Blogstackoverflow.blog1.1k people

    How Dwarf Fortress is built

    Stack Overflow Blog
    Company · last shared 2026
    Reddit Blogredditblog.com163 people

    How We Built r/Place

    Reddit Blog
    Company · last shared 2021
    Dropbox Tech Blogblogs.dropbox.com454 people

    Optimizing web servers for high throughput and low latency

    Dropbox Tech Blog
    Company · last shared 2026
    Uber Engineering Blogeng.uber.com525 people

    Why Uber Engineering Switched from Postgres to MySQL

    Uber Engineering Blog
    Company · last shared 2025
    Microsoft Tech Communitytechcommunity.microsoft.com738 people

    Postgres IDE in VS Code

    Microsoft Tech Community
    Company · last shared 2026
    ClickHouse Blogclickhouse.com281 people

    28M Hacker News comments as vector embedding search dataset

    ClickHouse Blog
    Company · last shared 2026
    Figma Blogfigma.com608 people

    How to build a plugin system on the web and also sleep well at night

    Figma Blog
    Company · last shared 2026