Better HN
topnewbestaskshowjobs
Log inSign up

Hedja

424 karma · joined Oct 12, 2014 (12y ago) · 70 submissions

Submissions

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/

2.

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...

4.

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

1 points · by Hedja · 6y ago · discuss

5.

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.

8.

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...

comment 6y ago · link · parent

In most browsers, you can go into settings and default it to block without asking.

comment 6y ago · link · parent

This is what happens all across the web, regardless of software. Raiding. IRC raids, forum raids, etc. Sometimes it's for fun, sometimes it's more malicious. Most software has ways to mitigate it. Temporarily closing new registrations, invite only registrations, throttling, IP bans, etc. Just like DDoS attacks, there is no true solution to this since that's how the public web and internet works.

comment 6y ago · link · parent

I have a single major problem with all of their new layouts. They place content at extreme ends of the screen, completely stretched out like a rubber band with No Man's Land in the middle. In this case, the top half is stretched and the bottom half is centred. Completely inconsistent and tiring for your eyes darting around corners of the screen.

Example: https://twitter.com/JahedDEV/status/1275532988772683776

I don't know why they think it's good design, it would be nice to know. All of their previews for it squash the window so it looks perfect, like their mockups I assume. Similarly, I have to have a dedicated, half-width window just for GitHub to workaround this.

comment 6y ago · link · parent

Since people are showing interest in GitHub Sponsors, I just wanted to mention: The types of services listed in the article likely falls under VAT in specific regions which can be a pain to calculate. That's one of the reasons I'm sticking with Patreon; they handle tax and chargebacks so the fee isn't a big deal. GitHub Sponsors explicitly says the tax is all on you. They don't mention chargebacks in their docs so it's hard to say, if they're processing the payment on their end, I'd guess they handle it.

https://help.github.com/en/github/supporting-the-open-source...

14.

Open Source Apps on Android(jahed.dev ↗)

1 points · by Hedja · 6y ago · discuss

15.

Do You CI?(benjiweber.co.uk ↗)

2 points · by Hedja · 6y ago · discuss

comment 6y ago · link · parent

The strange thing for me is, when I switched to custom first-party analytics, I stopped getting referrer spam altogether. I assume then that spammers explicitly optimise for GA tracking and ignore everything else. Which makes sense since a lot of them are targeting audiences that care about SEO and GA has a uniform tracking URL that they can flood without the cost of rendering webpages. The reason GA can't filter them out is because they're constantly working around each other.

17.

Moguri Mod – A hi-res overhaul of Final Fantasy IX using deep learning(sites.google.com ↗)

1 points · by Hedja · 6y ago · discuss

18.

Test Your Babel Configuration(jahed.dev ↗)

1 points · by Hedja · 6y ago · discuss

19.

The Video Game Museum(jahed.dev ↗)

1 points · by Hedja · 6y ago · discuss

20.

Outline Your Favicon(jahed.dev ↗)

36 points · by Hedja · 6y ago · 3 comments

21.

You Don't Need PropTypes(jahed.dev ↗)

2 points · by Hedja · 6y ago · discuss

comment 6y ago · link · parent

My blog does this. Not because I want to hide it. Since RSS is a standard, I expect anyone wanting to add my blog to their RSS would just use the current URL and the reader will grab the alt meta tag. I have multiple feeds, one for each tag, so if a reader uses a blog post URL they'll be given a choice on what tag to subscribe to (or everything). Having separate RSS links on the page for this would add clutter.

Before, Firefox used to show the RSS icon but they killed it. It really should be a browser-level thing, it's no different from favicons, rather than requiring users to hunt down a link somewhere on the page.

23.

Quod Libet – A Music Library, Editor and Player(quodlibet.readthedocs.io ↗)

1 points · by Hedja · 6y ago · discuss

comment 6y ago · link · parent

You can. Projects in VSCode are called "Workspaces".

Every time I install an extension, I first "Disable" it, which is global. Then I switch to the workspace that needs it and choose "Enable (Workspace)". That way you only have the extensions you need per project.

comment 6y ago · link · parent

This article has 50MB of GIFs to download. Be careful if you're metered.

comment 6y ago · link · parent

Do you have a scenario where it doesn't work? I use it all the time on Firefox for Android, works every time.
123