Better HN
topnewbestaskshowjobs
Log inSign up

ignitionmonkey

977 karma · joined Oct 12, 2014 (12y ago) · 148 submissions

Submissions

comment 5y ago · link · parent

Night Patrol - https://github.com/jahed/night-patrol

I got tired of passing flags to Nightwatch to filter tests and looking through results to re-run failures. So I made an interactive CLI for all of that. I stopped using this once I moved to Cypress but even with Cypress' web interface, I feel something like Night Patrol would be a lot more productive.

Firebase Rules - https://github.com/jahed/firebase-rules

I didn't like how Firebase's RTDB rules were expressions in JSON strings so I built a library to build them using a lisp-like syntax to compose and re-use rules. Firebase also has its own rules language (Bolt) but I'd rather not learn and maintain yet another tool-specific language.

Promises - https://github.com/jahed/promises

This isn't a complete solution yet, I didn't get time to refine the API. But I really prefer using Promises as result types (a.k.a. either, left/right) rather than using async/await/try/catch. It's so much more powerful to write code in a way that doesn't care if your functions are async or sync. Again, kind of like a lisp, there's also power in not being tied to a language's keywords and being able to provide a more tailored vocabulary.

62.

Domain Ownership, Web Authorship and WebVerify (2020)(jahed.dev ↗)

1 points · by ignitionmonkey · 5y ago · discuss

comment 5y ago · link · parent

FFMPEG's API is perfect for what it aims to provide. Not every program is built for every use-case. It's trivial to create helper scripts to provide a simpler API for simple tasks, in fact this is probably how FFMPEG and ImageMagick are most often used; in image, video editing programs and servers.

64.

Splatoon 2’s Netcode and Matchmaking: An In-Depth Look (2018)(oatmealdome.me ↗)

3 points · by ignitionmonkey · 5y ago · discuss

comment 5y ago · link · parent

GitHub Pages could add a feature like this using access controls. Right now it's just "Private" and "Public" but I can see a possible demand for "Sponsors". Though, things like sponsor-only RSS feeds and mailing list integrations might be beyond the scope of Pages.

https://github.blog/changelog/2021-01-21-access-control-for-...

comment 5y ago · link · parent

Have you tried contacting the developer?

comment 5y ago · link · parent

Icon packs are coming [1] and you can set your own for the more niche sites.

The problem with querying websites for their icon is that it leaks data about you (your phone and desktop) to a third-party without a proxy, requires a domain to match against, and like with Authy, the icons go out of date and become inconsistent. Worst of all, you have to give network access to the entire app for a trivial feature, making it less secure and trustworthy. Offline icon packs that have a consistent look is a good solution to all of this. [2]

[1] https://github.com/beemdevelopment/Aegis/issues/509

[2] https://github.com/aegis-icons/aegis-icons

comment 5y ago · link · parent

Icon packs are coming. [1] Steam accounts can be imported if you have root access, or you can try [2].

IIRC Steam codes are almost standard except they use a different encoding because... Valve likes to roll their own stuff (?). I agree that trading makes only having codes a bit less useful. They could've used the same codes to confirm trades instead of an entirely separate interface.

[1] https://github.com/beemdevelopment/Aegis/issues/509

[2] https://github.com/beemdevelopment/Aegis/wiki/Adding-Steam-t...

comment 5y ago · link · parent

Might have a solution for you here:

https://news.ycombinator.com/item?id=25804860

comment 5y ago · link · parent

To add to this. Aegis supports any cloud provider that implements Android's "Storage Access Framework".[1]

https://github.com/beemdevelopment/Aegis/issues/258#issuecom...

comment 5y ago · link · parent

They're pretty similar apps in terms of features (Aegis does all of that too).

Personally, comparing screenshots, I think Aegis' interface and choice of colours is more sleek, especially in dark and OLED modes, so it got my pick.

comment 5y ago · link · parent

If you have root access, yes.[1] Otherwise no, sadly. One of the reasons I moved off Authy before it got worse.

There is a workaround using the Authy Desktop app but I have no idea if it works.[2]

[1] https://github.com/beemdevelopment/Aegis/pull/107

[2] https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d...

comment 5y ago · link · parent

I don't think there's a "but" here. Unseen64 also does that. We can have both. They made some in-depth videos a few years back on DidYouKnowGaming's YouTube channel.

https://www.youtube.com/user/DYKGaming/search?query=unseen64

74.

Aegis Authenticator – Open-source 2FA for Android(getaegis.app ↗)

149 points · by ignitionmonkey · 5y ago · 113 comments

comment 5y ago · link · parent

It's actually not that difficult. F-Droid has a few offline scanners. It depends of course on how much of your experience you want automated. Though it would be nice if Android let you control the more granular permissions like network access.

https://f-droid.org/en/packages/com.secuso.privacyFriendlyCo...

https://f-droid.org/en/packages/de.t_dankworth.secscanqr/

comment 5y ago · link · parent

HTTPS ensures the data isn't tampered during transport, but it doesn't ensure the integrity of the data itself. That's why there's things like Subresource Integrity (which doesn't apply to top-level resources like HTML).

However, there's no way to ensure the files we download are created by who they say they are. A domain for example can change hands and existing links say on HN can be loaded with unexpected, potentially malicious, content. Same for hacked servers.

IMO we need some form standard page signing to enforce actual integrity of information, not just transport. I made a proof-of-concept Web Extension to show how that might be possible using PGP [1]. Of course PGP has its own issues but it's just an experiment.

[1] https://webverify.jahed.dev/

77.

simplewall – Open-source Firewall for Windows(henrypp.org ↗)

6 points · by Hedja · 5y ago · discuss

comment 5y ago · link · parent

It's just a vectorised image of Yukimura from Samurai Warriors[1]. This image to be specific[2]. Don't think there was a designer, just a developer making a logo using a character they like (or maybe it was random image search). Pretty common in open source.

[1] https://koei.fandom.com/wiki/Yukimura_Sanada

[2] https://static.wikia.nocookie.net/dynastywarriors/images/9/9...

79.

Show HN: WebVerify – Verify Authorship of Webpages(webverify.jahed.dev ↗)

1 points · by Hedja · 6y ago · discuss

80.

Domain Ownership, Web Authorship and WebVerify(jahed.dev ↗)

4 points · by Hedja · 6y ago · discuss

comment 6y ago · link · parent

You can do this with GitHub Projects (the Trello-like interface). For my personal projects, I use GitHub Issues as a dumping ground for ideas, which automatically go into a "Triage" (inbox) column, which I go through and assign labels and priorities every week or month depending on the project.

The downside with GitHub projects is that you can't automate based on labels so the issues need to be organised into columns manually if you have more than the simple one board with To-Do/In-Progress/Done columns setup. Though search and filters slightly helps with that.

comment 6y ago · link · parent

Just to correct your blog post, the Webmentions spec says in this scenario where you're just logging, you "MUST" return a 202 Accepted. I went through a similar phase (logsink with 204) which I corrected recently.

https://www.w3.org/TR/2017/REC-webmention-20170112/#h-receiv...

I was wondering if I should've sent this comment as a webmention instead but I guess old habits die hard.

83.

Show HN: firebase-rules – TypeScript for Firebase RTDB Rules, Avoid JSON(github.com ↗)

1 points · by Hedja · 6y ago · discuss

comment 6y ago · link · parent

> lodash should just be incorporated into vanilla javascript, as part of its standard library

That's already happening. More and more of lodash/underscore/etc's functions are being introduced to Array/Object/String APIs.

https://github.com/you-dont-need/You-Dont-Need-Lodash-Unders...

12345