miragecraft

Joined 4 years ago

Karma
290
Submissions
109
Member since
Jul 28
Burned out web designer/developer and techno-luddite. --- miragecraft.com
View on Hacker News

Recent submissions

Comment · 1 year ago
Maybe this is the chance to finally get rid of “Java” from JavaScript. My vote goes to WebScript.
Comment · 1 year ago
I think it’s really cool, but not sure about the button design (seams to trap germs) and placement (index finger is not where I naturally exert pressure when cutting with a kitchen knife).

Also would be nice if it can be fitted to existing blades as handle retrofit, but I understand that might not be possible to properly tune the vibrations.

Comment · 1 year ago
I think a hosted solution is best, unless you know for sure that they’ll always have a developer willing to volunteer their time to manage their server and keep everything up to date.

The cost is peanuts compared to the hourly rate of a developer to personally manage and keep secure their website for them.

As for static site, you think a non technical person can handle a static site generator and deploying to GitHub Pages? I doubt it.

Often times it gets very expensive to cheap out on things.

Comment · 1 year ago
Comment · 1 year ago
Ok I guess if you are that level of paranoid - even though both Chromium and Firefox are open source and under a heck of a lot of scrutiny for security vulnerabilities - then I understand why you prefer Gemini.

I just feel the fact that it cuts it self off from the wider clearnet completely kills your audience reach, if you’re ok writing to a very small insular community then sure, but most people want their writings to be read by as many people as possible.

Comment · 1 year ago
You can create a browser plugin that detect such tag and automatically turns off JavaScript.

You can even configure the plugin to detect if a page contains JavaScript while claiming not to be.

Comment · 1 year ago
Instead of inventing a separate protocol, you can invent your own html meta tag that marks a website to be JavaScript-free.

This will let you create search engines that crawl and index these sites specifically.

Comment · 1 year ago
My father pays for ChatGPT and it’s his personal consultant/assistant for everything - from troubleshooting appliance repair, to finding the correct part to buy, to guiding him step by step to track down lost luggage and drafting the email to airline asking for compensation (and got it).

It does everything for him and it gives him results.

So no, I don’t think it’s most useful for programmers, in fact I feel people who are not very techy and not good at Googling for solutions benefit the most as chatGPT (and LLM in general) will hand hold them through every problem they have in life, and is always patient and understanding.

Comment · 1 year ago
Comment · 1 year ago
A couple of days ago I was researching website analytics and GDPR/cookie law, and it seems clear that you need user consent even if IP addresses are only processed or temporarily stored before being discarded.

Arguing otherwise is like claiming it’s legal to steal from a store as long as you return the goods the next day - it’s legal fantasy.

I don’t think the EU is eager to go after these “ethical” analytics companies or their users, since they have bigger fish to fry. But if you think you’re legally in the clear using these solutions without user consent, you’re fooling yourself.

Comment · 1 year ago
This is just people being lazy and asking AI to do their proverbial homework instead of using it as a teacher to help them improve.
Comment · 1 year ago
Comment · 1 year ago
I too lamented the loss of HTML imports and ended up coming up with my own JavaScript library for it.

https://miragecraft.com/blog/replacing-html-imports

At the end of the day it’s not something trivial to implement at the HTML spec/parser level.

For relative links, how should the page doing the import handle them?

Do nothing and let it break, convert to absolute links, or remap it as a new relative link?

Should the include be done synchronously or asynchronously?

The big benefit of traditional server side includes is that its synchronous, thus simplifying logic for in-page JavaScript, but all browsers are trying to eliminate synchronous calls for speed, it’s hard to see them agreeing to add a new synchronous bottleneck.

Should it be CORS restricted? If it is then it blocks offline use (file:// protocol) which really kills its utility.

There are a lot of hurdles to it and it’s hard to get people to agree on the exact implementation, it might be best to leave it to JavaScript libraries.

Comment · 1 year ago
I was handwriting HTML for a while but found that I write a lot more with an actual CMS. At the end of the day it doesn’t matter what your setup is as long as it helps you write as much as possible.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton