Better HN
topnewbestaskshowjobs
Log inSign up

soylentgraham

217 karma · joined Jul 16, 2018 (8y ago) · 184 submissions

20 years coding professionally from PS2,Gamecube,XBox to comptuer vision to VR to AR and everything in between.
Submissions

comment 1w ago · link · parent

Unless you don't use OBS :P

comment 1w ago · link · parent

It's not that hard to write a webcam kernel extension now, apple iirc provide a sample (but I think I based mine off someone else's implementation for passing buffers around to the sink)

Here's mine, turning a kinect1's depth stream into a camera device

https://github.com/NewChromantics/PopKinectMacWebcam

So in this case, the hack is unneccessary, there is no limit of which you speak

comment 1y ago · link · parent

Ah, I've made the same! I made a very flexible turn-based framework - write the game logic on server in javascript, then state+options are given to clients, so platforms (swiftui, web, unity, webxr etc) "just" have to implement UI on top (Also means I have a default/debug view, which works for all games). The games can run offline (via javascriptcore on ios, natively on web etc) and supports bots for all games (they randomly choose options on their turn) which has a very simple opening to get some reinforcement learning in.

Then specifically I was making an app which let me customise rules for poker - extra streets, antes, throwaway cards, passing cards, multiple boards, multiple decks, etc to support as many variants as possible, and ideally, stumble across new ones.

As an aside, I posted to reddit for research of other home variants people play (Basically to stumble across more fun variants in our home games) there's a few good alternatives I've not heard of in here!

https://www.reddit.com/r/poker/comments/1i91mnz/what_are_you...

I've run out of steam a little bit (burnt out & seeking work isn't great for own projects), but has been an excuse to learn swiftui. I'd be tempted to team up with people to keep the project alive...

comment 3y ago · link · parent

We did this (as a side effect) for the premier league ~2009-2012 (liquidated JUST before VR appeared, where the content worked fantastically, and then ~2014 with the moverio glasses, even better in AR)

We did live player tracking (~33 cameras) on-site at every game, and for fun rendered players fifa-style free-camera. We even did some renders (capture of realtime engine) for canal+ highlights as an experiment.

edit: my own gpgpu-only,(frag shaders :), sub-100ms, uncalibrated-cameras (footage directly from sky/match of the day) r&d a few years later, also works really well on a LookingGlass https://twitter.com/HoloSports/status/1327375694884646913 (I took this to sky sports but they said it was a bit too in-the-future)

comment 3y ago · link · parent

I came up with a poker-wordle-ish game idea, and that was higher/lower. You enter a hand, and it told you if your hand was higher or lower.

Maybe a bit basic though, adding a texas holdem flop-river reveal could have made it more interesting

comment 4y ago · link · parent

I made one specifically for viewing & editing json. Has draggable reordering with rough rules, auto-editable-values, copes with live updates whilst user is using it and other bits and bobs. Maybe along the lines of what youre looking for? https://github.com/NewChromantics/WebComponent_TreeView

comment 4y ago · link · parent

Large blocks of data. (Eg 10,000 floats)

Otherwise personally json wins

comment 4y ago · link · parent

Have you stepped through protobuf processing code? There's a lot of special cases, ifs, branches here and there. Protobufs within protobufs. Its not like its a size, then 100 floats packed together, theres more overhead than youd think. (Not to mention the client side allocations etc etc) I use protoc compiled to wasm for protobufs and it is fast, but theres a lot of wasm overhead to execute that code.

Json parsing is also a lot of special cases, error testing, but the v8 team has spent a huge amount of time optimising json parsing (theres a few blog posts on it). Im not assuming either way, but it's definitely as cut and dry as one would assume.

comment 4y ago · link · parent

What is a "founder" these days in this context?. The term seems to not mean someone founding a company, but i guess not a vc? Not an angel, ceo... someone with experience building a business?

comment 4y ago · link · parent

Wonder why this was built on v8 and not chakra

comment 4y ago · link · parent

I am appalled at the code I wrote when I was 8 years into the proffesion.

I would also be wary of any code I wrote after 16 years (though some I do... the very pure no dependency stuff!)

In 2 years that'll be 3x8 years and I hope to pass the audition.

comment 4y ago · link · parent

But it is the same tech

comment 4y ago · link · parent

You do, just learn xcode instead of learning appcode. Get used to instruments, debugger, etc

comment 4y ago · link · parent

Yeah, nobody should be using UIbuilder and storyboards any more. swiftui is so much better, faster, usable, extensible.

But wow, the hoops you jump through to use it with c++ - via obj-c (And iirc can't use .mm files either). Im sure I wasn't helping things by exposing that to javascript too :)

comment 4y ago · link · parent

There are lots of other examples too; see the awful red dwarf US pilot with jane leeves as holly

comment 4y ago · link · parent

It's all about discovery. You like XYZ pizza; how many places did you try before finding them? How did you find XYZ pizza? Thats where these gatekeepers thrive.

Its the same as yahoo/altavista/google.

comment 4y ago · link · parent

Phones could be fine if 95% of the screen wasn't covered in popups, adverts, mailing list & cookie prompts.

comment 4y ago · link · parent

We used to have purchase v1, and a cheaper upgrade to v2... but jetbrains' doesnt let you keep the upgrade if you unsubscribe?

Or do you then perpetually own v2 after a year?

comment 4y ago · link · parent

Having this page open for ~10 seconds on my iphone SE (I believe recently hailed as the greatest of phones) crashes safari every time.

Can someone able to read the page tell me if this article is ironic or not?

comment 4y ago · link · parent

Any chance anyone knows how this compares to magic_enum (which iirc is c++17+ only? Though c++17 seems to be supported every platform i work on now)

No string -> enum would probably be a non-starter for me though

comment 4y ago · link · parent

Events and parties (organising and discovery) were something no platform ever got close to being good at. Facebook completely nailed it, probably purely through the social connections. It's still maybe the number 1 thing everyone i know agrees is a big loss, and nothing has come close to taking its place as we're so dispersed again

comment 4y ago · link · parent

What is your suggestion? Bad actor in the middle?

comment 4y ago · link · parent

Oh that would be bliss! Can it remove cookie/newsletter/discount/app promo popups too? :)

comment 4y ago · link · parent

NeXT :P

comment 4y ago · link · parent

Marc Riley continues where John Peel left off. Ezra furman's (guest filling for marc riley) shows also uncover a wealth of stuff, but less Now and more the last 5-10 years

comment 4y ago · link · parent

My 2013 mbp is being retired for a mac studio as I accidentally updated ios to a version that needs xcode13, which i cannot install.

It had a good run! (My 2011 imac died last year)

comment 4y ago · link · parent

More importantly one less uniform slot!

comment 4y ago · link · parent

> notifications are going to be scrutinized more in the future, from this point on.

This already happened with github & epic & unreal when it first did this organisation setup. So, given no solution appeared after exact same incident, I wouldn't hold my breath

comment 4y ago · link · parent

You gotta use safari dev tools for a chunk of ios quirks, not chrome :) (Though some things like accidental zoom and navigation popup-from-bottom needs a device to test :/

comment 4y ago · link · parent

https://twitter.com/soylentgraham/status/1531897895686914050...
1234567