Hacker Newsnew | past | comments | ask | show | jobs | submit | sumibi's commentslogin

I made a multiplayer 3D pong in a cube years ago: https://cubeball.araxor.com/

It was a VR game for google cardboard. It worked pretty well at the time.

Sadly, it's not available anymore in the google play store. Maybe one day I'll port it to the web and open source it if I can find the time...


This is inspired by the first responder kit from Brent Ozar for SQL Server, which is an amazing tool for accidental DBAs that do not know where to start optimizing.

I'm looking forward to trying this out on my postgres databases.


Damn, those are some 10k loc sql files, 3k+ pull requests. Talk about battle-tested.

Hopefully this grows to be postgres equivalent


I tend to use the query syntax a lot for this exact reason.

It would be even better if it supported exposing pattern matching variables and null safety annotations from where clauses to the following operations but I guess it's hard to translate it to methods.

Something like this:

  from x in xs
  where x is { Y: { } y }
  select y.z
Another feature I'd like to see is standalone `where` without needing to add `select` after it like in VB.net.


Pattern matching shouldn't be hard to translate, really. It would not be a 1:1 mapping to the existing IEnumerable methods, but it's a straightforward translation to a single Select that returns a Nullable<ValueTuple> (to indicate match success/failure and pass the data in the former case) followed by a Where that would remove failures. Better yet, they could always add a new extension method to IEnumerable for this, and then translate to that.

One feature I'd like to see is integration with foreach so that you don't have to repeat the variable and come up with a different name to work around shadowing rules. I.e. instead of:

   foreach (var x in from x0 ...)
it would be nice to be able to write simply:

   foreach (from x in ...)
and have it "just work", including more complicated cases with multiple nested from-clauses, let etc (effectively extending the scope of all of those into the body of foreach).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: