Better HN
topnewbestaskshowjobs
Log inSign up

theallan

367 karma · joined Mar 30, 2011 (15y ago) · 124 submissions

Author of DataTables.net and CloudTables.com. Hit me up with `allan` at either of those domains.
Submissions

comment 4mo ago · link · parent

Should one of the first things you do with a database not be to have a backup strategy? I understand that HA would be a "nice to have" when first starting out, but surly if you have a production db, a backup and restore plan should be on a survival guide? Neither appear to be mentioned here.

What do you all use for your pg backups? Is Barman ( https://pgbarman.org/) still the way many do it? (I haven't deployed a new pg instance for a while, but thinking about it for a new project).

comment 8mo ago · link · parent

> I maintain an open source project funded by the Sovereign Tech Fund.

I would absolutely love to know more about this if you are willing to share the story?

comment 10mo ago · link · parent

Can we follow along with your work / results somewhere?

comment 1y ago · link · parent

The Minisforum V3 does: https://store.minisforum.com/products/minisforum-v3 .

comment 1y ago · link · parent

An SEO thing for them. Useful income for me. It isn't much ($49/year), but every little helps...

comment 1y ago · link · parent

That's the only reason I could think of for doing this, but I saw zero evidence that it was done that way. Baffling!

comment 1y ago · link · parent

> Out of curiosity, could this have been a vector for a supply chain attack?

If you were using the CDN without SRIs, then yes, that would have been the most obvious channel. However, I don't believe the attacker ever set up for that and the URLs never resolved due to CloudFlare blocking it.

> there's been some pretty huge breaking changes

Unless you were using the legacy API, there shouldn't be any major impediment [1]. I intentionally tried to keep backwards compatibility as I hate doing library upgrades myself! Drop me an email - allan at the domain in question if you have any questions about doing an upgrade.

> It looks like newer versions of datatables don't import static files from the datatables CDN like this.

I rewrote aspects to use CSS styled elements in place of images, so there were less resources to load.

> Would it make sense to issue a CVE for older datatables library versions that could be susceptible to this attack?

Per the above, if you were using the CDN without SRI for the resources, then any version could have been susceptible. However, I've seen no evidence that the attack took that vector.

[1] https://datatables.net/upgrade/2

comment 1y ago · link · parent

That's awesome to hear - thank you :-).

comment 1y ago · link · parent

Joker.com. Credit to them they fixed it reasonably quickly, but its a horrible policy to default to enact the change if no response if given. Their reasoning was what else would they do if someone got locked out of their email - they need a way to recover their domain somehow, and they ask for ID to be submitted, but as seen, that is trivial to fake.

comment 1y ago · link · parent

The blog feed is here: https://datatables.net/feeds/blog.xml . It is advertised on the landing page, but it looks like I've missed having it on the blog page! As you say, that has the releases feed - thanks for pointing that out.

comment 1y ago · link · parent

Yeah - it was a well set up attack. What I don't understand is that there was no obvious follow on. I can only guess that it was a proof that it could be done. Maybe?

Regarding the 1000 error - I didn't have any 1:1 support contact with CloudFlare - the first I knew was they were returning 1000 errors, which I presume they were doing due to a blacklisted IP being used for the DNS resolving. I'm really not sure though.

comment 1y ago · link · parent

Yeah, I really wasn't happy about that. I did put it to the registrar that such a policy is wrong and open to such an attack. I got the impression that they weren't going to change their policy though. Such policies are something I'm going to be looking at when considering a new registrar.

comment 1y ago · link · parent

Didn't expect to see this here, it was over a month ago this incident happened! Happy to answer any questions about it (author of DataTables here). It was a super stressful event to say the least, and I've been reading along with the recent npm incidents wondering what I can do to make sure my OpSec is as good as it reasonably can be.

comment 1y ago · link · parent

Just looked up their stuff again (it's been a while) and they appear to be out of business, although the website is still running. Don't order from them, based on Reddit reviews... Real shame, I loved the Psion keyboard.

comment 1y ago · link · parent

Take a look at Plant Computers PDAs: https://www.www3.planetcom.co.uk/planetphones . The hardware is a bit old notre and if love to see a refresh, but the Pison keyboard is there!

comment 2y ago · link · parent

The flip side is, if you don't do auto updates and an exploit is published and used against you and you haven't yet tested / pushed the patch, that you would have been protected against if it had auto updated, you are up the creak without a paddle in that situation as well.

To some degree you have to trust the software you are using not to mess things up.

comment 2y ago · link · parent

Adding another one to say that I've only have a positive experience with Hetzner so far. 6 months in, and 4 machines. All doing fine.

comment 2y ago · link · parent

In case anyone finds this through search in future, I've just received this from the Yahoo postmaster team:

> Our engineering team has looked into this and you'll need to have your users mark the mail and not spam. We don't have anything else to suggest.

It is unbelievably frustrating. I'm giving up on using Google Groups (which is perhaps what Yahoo and Microsoft want).

comment 2y ago · link · parent

SPF, DKIM, DMARC are all set up correctly. There is no issue with deliverability when just sending from an indiviual account of the charity's domain to Outlook / Yahoo, it is purely when going through Google Groups that there is an issue.

20.

Ask HN: Email List Software

5 points · by theallan · 2y ago · 5 comments

comment 2y ago · link · parent

Daft question, but if you hadn't realised, then your client's obviously asked that question yet (and might not)?

Open source needs to find a way to make money and backlinks is a reasonable way of doing it. I should say for my own open source project I refuse backlinks to gambling sites on morality grounds though - although looking at how much revenue it might bring in on a monthly basis, there is a lot of temptation there.

comment 2y ago · link · parent

$100/m is cheap for a back link? (honest question - I've no idea).

67 logos on the home page at the time of writing this, that's $6'700/m. While obviously not FAANG salary scale, it isn't to be sneezed at either.

comment 2y ago · link · parent

For anyone in central Scotland, come and check out the Scottish Model Engineering Trust - https://smet.org.uk . We've got everything from N gauge to 7 1/4 inch. I haven't been a member for long yet (a few years), but I am constantly impressed with what the folks there can build.

comment 2y ago · link · parent

Given that it appears to be Javascript based, and Ext JS is already well established ( https://www.sencha.com/products/extjs/ ), I was initially thinking that this might be some kind of store front from Sencha. That doesn't appear to be the case though?

comment 3y ago · link · parent

I think the GP is more disappointed that Microsoft choose to use Blink rather than Gecko as their rendering engine. Not that they abandoned the closed source EdgeHTML.

26.

Meissner effect or bust: Day 8.5 We made the rocks(nitter.net ↗)

4 points · by theallan · 3y ago · 1 comment

comment 3y ago · link · parent

Doesn't that make the page completely unreadable for those few who have Javascript disabled though?

comment 3y ago · link · parent

More details about that on their github page [1]. It seems you basically need to include a JS file from [their CDN](//cdn.jsdelivr.net/npm/eruda).

As someone who fondly remembers the early Firebug days, it is great to see this. It is very frustrating to me that tablets and phones are so powerful, but we can't do even basic dev stuff on them.

[1] https://github.com/liriliri/eruda

comment 3y ago · link · parent

I think the confusion is coming from the framing of "Email API for Developers Using React" as the title for this post. React has nothing to do with "an email API" as far as I can see.

Your web-site is more clear in that it shows a Node.js snippet (and other environments, although funnily not just in the browser?). Then the site goes on to talk about the React components.

Perhaps "Email API for Developers, with React components" would resolve the issue. The title as it stands suggests I wouldn't be interested in this at all since I'm not using React. But actually, as an e-mail API, I would be (e.g. with a Hugo site).

comment 3y ago · link · parent

How are you interlinking them? Do you compile to HTML for viewing?
12345