Better HN
topnewbestaskshowjobs
Log inSign up

typedef_struct

72 karma · joined Oct 22, 2014 (12y ago) · 74 submissions

https://umfer.us
Submissions

comment 7y ago · link · parent

With some healthy spoonfuls of caveats, Quake 3 (https://github.com/id-Software/Quake-III-Arena). Skipped a lot of classes back in the day ripping that one apart and piecing it back together again.

comment 7y ago · link · parent

That's why you need the best damn oil drillers in the world to plant the nuke.

comment 7y ago · link · parent

I'd probably do it like this:

  socks5_socket([&](auto closed_socket) {
      closed_socket.connect_unauthenticated(proxy_addr, [&](auto authenticated_socket) {
          authenticated_socket.connect_tcp(addr, [&](auto tcp_socket) {
              //tcp_socket.send or w/e
          });
      });
  });

comment 8y ago · link · parent

Why I Stopped Caring About Desktop OSes - Me, circa 2006

comment 9y ago · link · parent

> As far as unreal goes, we can’t compete with an unreleased product, because a non existent product does everything you dream of and has no faults

Oh, Star Citizen...

comment 10y ago · link · parent

The problem is that as ray tracing advances, so do the hacks on top of rasterization to enable more realisticish images. So rasterization keeps winning. Someday, though...

comment 10y ago · link · parent

Damn, this is even more depressing than the other one.

Apparently the secret to happiness is not having kids. And not spending more than you make. Actually that last one is true.

comment 10y ago · link · parent

This is a pet peeve of mine. If you made a block of code into a separate function, I'm assuming it's called from multiple places. Or maybe it used to be. Or will be soon. But still.

comment 10y ago · link · parent

For about 15 seconds I was horrified. Time to go to bed.

comment 10y ago · link · parent

I'm 4 months out, don't leave me hanging!

comment 10y ago · link · parent

http://troydhanson.github.io/uthash/

comment 11y ago · link · parent

You should really just use Rx.NET (http://www.introtorx.com/content/v1.0.10621.0/01_WhyRx.html) if you want async even handling

comment 11y ago · link · parent

I understand the outrage, but soon enough they'll just move the software to the cloud and then they'll really own it.

comment 11y ago · link · parent

Thanks for this--now I know where http://lambda-the-ultimate.org/ got its name
123