HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Pathogen-David

no profile record

Submissions

Creating invariant floating-point accumulators

solidpixel.github.io
40 points·by Pathogen-David·2 years ago·30 comments

Running Doom on the BMW Displaykey (2021)

crowell.biz
2 points·by Pathogen-David·2 years ago·0 comments

comments

Pathogen-David
·last year·discuss
Ahh, that's the worst. Hopefully you realized your mistake sooner rather than later.
Pathogen-David
·last year·discuss
If you're curious: An API is more or less just the communication boundary between two pieces of software.

A common sign of a bad API (including this one) is when it presents data in an overly human-centric way rather than something more computer-friendly.

For a human it's really easy to see "Regents Park" and "Regent's Park" are very very likely referring to the same station, but a computer can't know that unless a human goes out of their way to tell it that.

You could argue the TfL API is perfectly fine for its intended use-case of updating the arrival screens (which are meant for humans), but it's generally better to design APIs to grow for future use-cases you haven't thought of yet. Changing an API tends to be hard once it's being used in the real world.

For example: The older TfL stations have LED matrix displays for displaying information, which are very limited in how much text they can display at once. The newer stations have big TV screens instead, which can show a lot of information. It wouldn't surprise me if this is the underlying reason behind some of the inconsistencies, especially ones like "Kings Cross" vs "King's Cross St. Pancras". I'd bet the longer names with punctuation correspond to arrival displays in the newer stations.
Pathogen-David
·last year·discuss
If the GitHub Actions temporary token does not have workflow-defined permissions scope, it defaults either to a permissive or restricted default scope based on the repository's setting. This setting can also be configured at the organization level to restrict all repos owned by the org.

Historically the only choice was permissive by default, so this is unfortunately the setting used by older organizations and repos.

When a new repo is created, the default is inherited from the parent organization, so this insecure default tends to stick around if nobody bothers to change it. (There is no user-wide setting, so new repos owned by a user will use the restricted default. I believe newly created orgs use the better default.)

[0]: https://docs.github.com/en/actions/security-for-github-actio...
Pathogen-David
·last year·discuss
You might find value in the glTF sample renderer https://github.com/KhronosGroup/glTF-Sample-Renderer

It won't be plug and play since you'd have to pull out the shaders and make them work in your app, but the implementation supports quite a few material variants. The PBR shader implementation starts in source/Renderer/shaders/pbr.frag
Pathogen-David
·2 years ago·discuss
I just checked and the curl.exe on my system does not export any symbols, so not in this case.

It is possible to do that in the general sense though.
Pathogen-David
·2 years ago·discuss
The context menu item for duplicating tabs might be new, but you've been able to middle-click the refresh button to duplicate the current tab for quite some time now.
Pathogen-David
·2 years ago·discuss
Have you heard of eMOTIONAL Cities by any chance? https://emotionalcities-h2020.eu/

It's basically an ongoing large-scale research project working to quantify the way people experience city spaces from a neuroscience perspective (or at least that's my understanding -- I work with some of the people who are working on it.) Maybe the work they're doing could be relevant to what you all are doing?
Pathogen-David
·2 years ago·discuss
Doesn't seem like they do. They attempted to acquire them back in 2009 but it didn't work out.
Pathogen-David
·2 years ago·discuss
> but since an indeterminate amount of time ago, it just stopped working for me.

Updating both Git and Git Extensions has seemingly fixed it for me, but the issues I was having were sporadic so maybe I've just been lucky
Pathogen-David
·2 years ago·discuss
It doesn't change the output encoding by default, but if you manually set it to UTF8 it works. (IE: Console.OutputEncoding = System.Text.Encoding.UTF8;)

That might be all you need to fix the F# REPL too.
Pathogen-David
·2 years ago·discuss
I recently learned that some Google TVs have a “Basic Mode” that removes all the smart crud. https://www.androidcentral.com/new-google-tv-feature-will-le...

I haven’t had a chance to look into it further so I don’t know if it’s any good, but it might be worth looking into. (I’m also curious if anyone here has experience with it)
Pathogen-David
·2 years ago·discuss
It looks like the audio samples have disappeared since 2017, but they're available on the Wayback Machine for those who want to listen: https://web.archive.org/web/20170831162900/https://www.vinci...
Pathogen-David
·2 years ago·discuss
Yeah, according to https://book.mixu.net/ this was written in 2015, at nine years old I'd be worried about this not being super useful for modern CSS.
Pathogen-David
·2 years ago·discuss
Here's a separate press release from PlayStation Studios has more details: https://sonyinteractive.com/en/news/blog/an-important-update...

In particular it lists some other studios not mentioned in this one:

    The US based studios and groups impacted by a reduction in workforce are:
    * Insomniac Games, Naughty Dog, as well as our Technology, Creative, and Support teams
    
    In UK and European based studios, it is proposed:
    * That PlayStation Studios’ London Studio will close in its entirety;
    * That there will be reductions in Guerrilla and Firesprite
Pathogen-David
·2 years ago·discuss
Love the concept! It'd be cool if it was self-hostable, it'd be nice for monitoring certs in my homelab.
Pathogen-David
·2 years ago·discuss
If an app or website exclusively uses third-party logins I generally won’t even use it. In general I don’t appreciate anything that tries to get cute about account creation.

(However I agree with the other comment about HN not being representative of typical users.)
Pathogen-David
·4 years ago·discuss
Yup, the "test for feature availability" attitude doesn't properly account for features which are available yet buggy.

I recently ran into an issue where a media-heavy blog post of mine would sporadically crash iOS Safari. I ended up narrowing it down to my use of ImageBitmap to accelerate rendering images into 2D canvases on the page.

My fix ended up being to modify my ImageBitmap feature check to pretend it wasn't supported on Safari.