HNHacker News
TopNewBestAskShowJobs

technobabbler

939 karma · joined November 12, 2021

submissionscomments
technobabbler··on Show HN: I made a Chrome extension that can automate any website
I was skeptical at first, but your comment convinced me to take a look. It really is much easier and cleaner, and having it run in the cloud is amazing!

Nice job!

technobabbler··on Ask HN: What's the quickest way to get something online?
If you want dead-simple and dirt-cheap, NearlyFreeSpeech.net is still there. Put 25 cents in there, upload a file, done. https://www.nearlyfreespeech.net/

Pastebin is another option for simple text.

For slightly more complex sites, check out Vercel or Cloudflare Pages. Both will host your site for free with reasonable quotas.

As for: > why isn't it easier today to put something on the internet than it was 10 years ago?

It IS. Just put it on farcebook or tweeter or medium or blogwhatever. Even easier than geocities.

People don't want to spend eons discovering and reading your poorly formatted text file or janky HTML that doesn't work with phones and is vulnerable to drive-by ad injections and such. If you just have a simple message, those networks do a more effective job (for better or worse) of disseminating it. Readers flock to those networks because it makes content consumption easier.

It's like asking why you have to jump through major publishing houses to get your book on the front of the store display shelves, when anyone used to be able to write and bind a book. You still can, but the world at large doesn't want to spend effort sorting through your stuff and every other amateur's. It's not the ease of publication that matters to them, but the curation. The signal to noise ratio is too low otherwise (and is still very low even with curation).

From the hosting side, free web hosts became a victim of their own success, economonically infeasible, especially as bots and spiders took over the net. Most of the web is junk these days and there's not really much money in making it easier to publish more junk.

From the dev side, the CI and build tools are only necessary if you want to heavily use Javascript for interactivity or clientside loading. Plain ol' HTML and CSS work as they always have, with no building required. Just host it somewhere.

technobabbler··on Chrome may start restricting requests to private networks
Almost anything any government does is extremely complicated, and yet most of the developed ones succeed in ways our fails at. Why are we unique? Countries poorer than us, less dense than us, smaller than us, still manage to provide many basic services, rights, protections, and guarantees that ours does not. This is American exceptionalism gone awry.

Those things you mentioned aren't recent developments. Yes, there was a time when our government was capable of producing good output. What happened? Why are we still judging today's government by its successes of decades past...? Most of what you mentioned is literally last-century tech. The world has moved on; our government has not.

> You can blame the Government for not solving all shorts of issues, but people complain while at the same time they largely don’t want state or federal government internet.

Maybe there's one class of issues that government can't deliver on because the public mandate isn't quite there yet, like single-payer healthcare. But there's another class of issues that the public DOES want, the government already wrote the laws and allocated the budget for, and then did absolutely nothing about (like rural broadband grants basically going to corrupt telcos, with zero real enforcement). That has nothing to do with the lack of public will, just sheer incompetence and corruption.

Then there's the outright unconstitutional things, like warrantless wiretapping or drone assassinations of US citizens... to say nothing of recent developments, like Roe v Wade.

It's not that our boondoggles our more visible, it's that we fail at providing basic services for a huge portion of the population -- things that most other developed democracies can provide without much issue or controversy. By that measure, we fall far short.

technobabbler··on Cloudflare Pages goes full stack
It's really exciting to see Cloudflare Pages keep progressing!

Any plan to eventually offer drop-in support for Next.js? (Not just static builds, but the backend server/serverless functions too, like Vercel... maybe mapping certain APIs to Workers?). It would be lovely to be able to leverage the power of that framework on Cloudflare infrastructure.

Edit: Next and frameworks like it solve the "I love the idea of serverless, but don't want to reinvent the whole backend from scratch" problem. It's nice to have a framework abstract away problems like routing, caching, invalidations, buildchains, image transformations, etc. Cloudflare Pages and Workers can do almost all the same things, but requires more coding and configuration... that's the only reason we went with Next + Vercel instead of Pages.

technobabbler··on Semantics and the Web: An Awkward History
For professional needs? To enhance searchability or discoverability? For archiving? They enjoy it?

But they tend to come up with their own classification schemes.

The idea of a interoperable semantic web wasn't a bad one, there just was no real presentation layer for it, and no popular demand for it without one.

However Amazon, Spotify, libraries, etc. classify their stuff internally, to their eventual end-users, the data is transformed into a HTML or app frontend of their design. Users don't see the underlying classification schema, just the product pages or book search or whatever.

Sure, you could probably use XSLT to transform a semantic document into pretty HTML, but most companies went the other way of using custom code to read data and output unstructured markup, because it was easier and faster. HTML and JS "standards" evolved way quicker than RDF could keep up with.

Beyond that, had there been a web-wide search engine that could easily let you search by classifications, microdata might've been helpful. But that never became popular. Closest thing I know of is Wolfram Alpha, and that uses its own algorithms and classifications too.

shrug

What do you think?

technobabbler··on Chrome may start restricting requests to private networks
> how the US government can constantly solves very tricky real world problems that impact our lives

What are some recent examples? Especially dealing with technology?

I can think of a bunch of counter-examples where the government did not do a good job of regulating:

* Rural broadband failed

* Net neutrality failed

* Healthcare.gov was a fiasco

* Wireless spectrum auction never got us municipal/rural long-range wireless

* NASA's duties have largely been outsourced to private actors

* State DMVs are a shitshow

* Election integrity failed

* They can't figure out what to do about online disinformation

* Warrantless wiretapping: both unconstitutional yet ineffective, as in 9/11 and the lack of data sharing between agencies

* Foreign military misadventures, our traditional forte: Afghanistan, Iraq, both abysmal failures

* Healthcare: a joke compared to every other developed country

* Education: pathetic and getting worse

* Social programs: Welfare, what welfare? inequality and homelessness getting worse every year

* Infrastructure: crumbling

* Clean water: only for rich white people

* Immigration: heh

* Covid: lol

* Renewables: haha

* Nuclear: let's pretend it's not there

On every major policy front, the US government has been a disaster for decades. I'm no libertarian by any stretch, but our government is a complete shitshow compared to any other developed democracy. We have neither the leadership competence (decisionmakers and legislators) nor the engineering talent (career civil servants) who can tackle something as diverse as nuanced as IoT security, or arguably, digital security in general. Give them 20 years and they might be able to catch up to 1990s netsec, and by then the manufacturers will be two decades ahead and foreign intelligence services even further beyond that.

Our government is doomed, and taking us down with it.

technobabbler··on Letting users tick a ‘none’ checkbox
Yeah. Outsourced or not, I just can't remember our government having done anything well in my lifetime, except maybe winning traditional military battles against third world countries, which we also outsourced (then subsequently we lose the peace and create even more hostility, ripe for more outsourcing). The whole setup is just utterly incompetent, all the way up to the congress and president and supreme court... I don't know how it got this bad. Probably inevitable given the capture by for-profit entities and ideologues hell-bent on zero sum individualism.

The system is so incompetent and corrupt it lacks even the rudimentary feedback loops that might've otherwise allowed it to break the cycle. Seems like the only way for it to get any better is to completely collapse under its own incompetence. Egads.

technobabbler··on Chrome may start restricting requests to private networks
You're lucky. Or skilled. I have half a dozen websites that broke, with maintenance, in the same period. Often because of SSL issues configured by someone else. Plus my own screw ups. It's not impossible to do right but it's definitely not trivial. Even if you configured everything right, something up chain will probably break, in time...
technobabbler··on Chrome may start restricting requests to private networks
That's a lot of ifs and buts, just to keep up with the last decade's implementations. For a simple blog that maybe ten people a month read. Good luck keeping up on developments of the next one...

Whether it's lets encrypt or Google or Apple or Facebook, the internet has largely moved away from a culture of small time hackers operating on barebones standards to super complex implementations gatekept by a few huge companies with infinite resources and conflicting values. They want to curate the web and monetize it, not lower the barrier to entry. You are free to use their ecosystems to produce things they can share revenue from, but everything else will only keep getting harder... what even is the web anymore but marketing landing pages redirecting to walled gardens.

technobabbler··on Chrome may start restricting requests to private networks
Are you suggesting regulating IOT devices for better security? Who the heck could you trust to do that? The FCC? The Chinese government? Consumer rights in the USA is barely a thing, and there is no competent bureaucracy for this sort of auditing. Creating some standards body and coming up with evolving criteria and hoping manufacturers will buy in seems like a multi year, if not multiple decade, process...

In the meantime Google can single handedly monkey patch this situation within a few months and force manufacturers to catch up with the next product cycle. While a less ideal route, this seems far likelier to produce actual results within our lifetimes.

technobabbler··on Launch HN: Metaplane (YC W20) – Datadog for Data
Sure, would be happy to chat. Still new here and not sure how private messages work. May I email the address in your profile, or?

In short, in many of the small businesses I've worked for, it was trivially easy to collect analytics data, yet monumentally difficult to analyze or make use of it in a meaningful way. The signal to noise ratio was incredibly low. One aspect of that was the need to manually discover unusual events, usually by creating manual dashboards and alert thresholds. But lacking a strong data science background, designing proper statistical tests to identify significant events was not something I could easily do.

technobabbler··on Semantics and the Web: An Awkward History
I dunno, I used a lot of RSS feeds and feed readers back in the day. It was a good digest mechanism before Google News and social news. Now it just seems a historical oddity.

Sure, maybe podcasts use it as an underlying protocol, but users' experiences depend more on the front-end client (some app) than the playlist protocol. It's not really a discovery protocol either; turns out having a central index like Spotify or the podcast apps do works better anyway.

I think it's irrelevant in the sense that it could be trivially replaced by app-specific implementations, and few people would even notice anymore.

technobabbler··on Semantics and the Web: An Awkward History
I didn't mean to debate the value of Wikidata vs Wikipedia specifically, more just used them as examples of semantic data vs free-form thought. Humans don't think or produce cultural output in neat units of semantic data. That sort of classification usually comes after the fact, with effort and delay, vs our natural thought and speech patterns (which tend to be rambling, meandering, interdisciplinary, emotive, inconsistent, etc.)

It's not that prose is any more or less valuable than classification, but that classification takes a lot of work and doesn't come naturally to most knowledge producers. It's a speciality unto itself that most people aren't super interested in. In the case of schema.org and RDF, that effort had no visible impact on anything, so people just stopped trying after a while. In the case of Wikidata, it's still ongoing, but nowhere near as popular as the more natural (to our species) output of Wikipedia.

FWIW, I'm saying this as someone who spent time classifying articles on Wikipedia, contributing to Wikidata, marking up our pages with microdata, managing databases for a living, etc. I'm not philosophically against better classification. Just observing that efforts to automatically describe human output via algorithms and ML seem to work a lot better than asking human content editors to self-classify their output with anything more complex than WordPress tags. People don't tend to enjoy or be effective at complex classifications, especially when there's no visible benefit from it. All that microdata never really surfaced anywhere and there was no useful mechanism of discovery or sharing.

technobabbler··on Semantics and the Web: An Awkward History
You can still use them if you want, but browsers, etc. stopped supporting them a while ago. They're just kinda irrelevant except for a tiny niche now.
technobabbler··on Semantics and the Web: An Awkward History
It was a lot of work for no real benefit. Nobody cared to parse that stuff or display it in a popular, customizable way, unlike RSS or Atom, both of which also died.

Eventually Google's natural language-esque search just got big enough that no other interface to the web really mattered anymore, and their speciality was in parsing unstructured text & messy HTML into simple phrases. Better semantics might've helped other spiders, but by that point nobody cared about other spiders anymore.

For things like social sharing, OpenGraph had the commercial support of Facebook and Twitter and was far simpler to implement. And other communities, like MediaWiki, used RDF only for the low-hanging fruit (Wikidata) while the most valuable info was still locked behind freeform blobs of text (Wikipedia).

The semantic web took more effort to implement than the crap it usually describes. Most humans just don't really want to waste time classifying stuff. The communities that do (science, pirate communities, libraries, etc.) already have their own classification schemes. There was just no need for another web-only classification scheme, no popular desire for it, no sufficient commercial interest behind it, no end-user advantage of using it over HTML... is it surprising that it failed? It tried to solve a problem nobody really had, using a solution that was quickly eclipsed by machine learning. And for the few actors (search engines, social networks) who actually wanted effective classifications, their own algorithms were both more effective and more private, not relying on/enabling their competitors. Open classification excites librarians and archivists, maybe, and nobody else.

technobabbler··on Launch HN: Metaplane (YC W20) – Datadog for Data
Sounds good, thank you!
technobabbler··on Launch HN: Metaplane (YC W20) – Datadog for Data
Do they support Google Analytics? Nothing on their website or release notes indicates this, as far as I could find.
technobabbler··on Launch HN: Metaplane (YC W20) – Datadog for Data
For those of us in smaller businesses, any chance of supporting Google Analytics as an integration? The ability to detect statistical anomalies across random pages/events would be a godsend, especially for organizations that don't have a proper data warehouse and dedicated BI staff.

I guess that'd be kinda a crossover between data integrity and marketing... in this case, an anomaly IS the data, where an unexpected increase/decrease in pageviews somewhere is something we'd love an alert on, but only after some threshold. As you pointed out, doing that manually just results in a bunch of false positives for those of us who aren't professional BI or statisticians.

technobabbler··on OAuth with Cloudflare workers on a statically generated site
> SSL is a solved problem since let's encrypt

Only if you remember to update your cert chains, and your web servers have to keep up with TLS etc. updates too

> cloudflare actually decreases performance (by adding an hop when serving dynamic content).

If your dynamic content doesn't require true real-time updates (like a forum or chat or something), but can be limited to once a minute updates or similar (like a reddit-style front page), caching and global CDNs can still drastically speed that up for users who aren't near your data center.

And that's just their static cache offering. If you build your site around their edge infrastructure (workers, workers KV, durable objects), you can entirely remove the last hop by handling client requests and sharing state across the CDN itself. Two of their demos show IRC-like chat and Doom (the game) running entirely on the edge: https://github.com/cloudflare/workers-chat-demo https://blog.cloudflare.com/doom-multiplayer-workers/

They also do other performance boosts, like auto-optimizing images, converting to webp, minifying stylesheets & scripts, dynamic loading, http QUIC, etc. And they offer a edge streaming solution for video (although Vimeo is probably much cheaper for most use cases).

> For most websites, DDoS attacks are a non-issue.

It can also help with things like Google Analytics bot spam, drive-by vulnerability scans against certain web servers or Wordpress, etc. It's not just a IP blacklist but does some degree of traffic analysis.

And all of that is available for free or cheap. It's very difficult to do all that yourself as a small-biz or solo web dev, even if you had full time dev-ops.

As for "the internet shouldn't be controlled by a single entity", sure, but it's always been a corporate network. Choose your nemesis: Cloudflare, Google, Amazon, Facebook, Verisign/network solutions (in the old days)... there's never been a truly free internet. At least Cloudflare is doing a darned good job of stewarding the internet.

technobabbler··on OAuth with Cloudflare workers on a statically generated site
The CAPTCHAs are a per-website setting that individual webmasters set (or, more likely, forget to set).

As an end user, I agree they are annoying. These two things may or may not help (hCaptcha is the engine used by Cloudflare*):

1) You can set an accessibility cookie that should be good for a while: https://www.hcaptcha.com/accessibility

2) There is also the Privacy Pass beta, which lets you redeem CAPTCHA solves for "tokens" that can be used for later CAPTCHAs https://www.hcaptcha.com/privacy-pass

But yeah, hCaptcha is really annoying, especially compared to the auto-solve of reCAPTCHA when you're logged in to a Google account.

* Cloudflare switched to hCaptcha in 2020: https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptch...

technobabbler··on Relational Database Connectors for Cloudflare Workers
I think those architectures you mentioned come from entirely different philosophies.

The data center model relies on a glob of services that you manage yourself, and manage infrastructure & networking for. That's how a lot of the early AWS services were built. AWS still offers that paradigm, especially for bigger enterprises that want or need that level of control.

But Cloudflare fast-forwards all that by a few generations, which makes their edge computing MUCH easier, faster, and cheaper to use than Lambda or similar services. Instead of worrying about specific data centers, interconnect, firewalls, bandwidth, etc., on Cloudflare the topology is mostly invisible (unless you have to deal with the Chinese Firewall). You just upload your stateless Javascript code into a worker, and it gets replicated everywhere nearly instantly. Replication and caching are handled invisibly by Cloudflare and you never really have to think about it. If you need state or durable storage, their edge storage products (Workers KV, Durable Objects) function similarly... a few lines of code and you've got a globally scaled auto-replicating data store that you never have to manage the infrastructure for.

The benefit is that it's way easier than having to manage network infrastructure, and Cloudflare's offering is far superior to anything a small business could easily set up or maintain on their own. If you're a huge enterprise, maybe there's more concern about how much control you have over the topology, caching details, etc.

But for simpler websites and apps, the Cloudflare stack is tremendously easier to work with than anything AWS offers, waaaaaaay faster (especially for cold starts), and usually much cheaper.

Workers isn't a 1:1 replacement for Lambda, but it's probably the better choice for simpler functions.

As for this database connector, it goes against their edge-native offerings, but it's probably just there as a compatibility layer for people who aren't able to rearchitect their whole stack yet. Like their other CDN products, this lets you connect legacy stacks (single host or single data center) to a global CDN with little work.

technobabbler··on Relational Database Connectors for Cloudflare Workers
If this works like a regular worker, the first request can then cache the response for subsequent users. Might be helpful for read-often, write-rarely use cases where the first user (per expiry period) acts as a sacrificial lamb to speed up subsequent requests for following users. Regardless of whether the Worker hits the 10 DB queries itself or goes through a database-adjacent HTTP proxy first, subsequent requests don't have to hit either one, but can get served directly from the Cloudflare edges using a cached response.

You can get similar caching by making a bunch of distributed read-only database shards and/or caching your HTTP proxy output, but in this case Cloudflare manages all that for you. You do have to set up a tunnel and apparently some sort of daemon, though, so I guess you're just running Cloudflare's proxy to their edge.

It's not as clean as an edge-native key-value store (like their Durable Objects or Workers KV), but if your existing code requires a relational DB at scale, this might be one way to tackle it rather than dealing with DB sharding and clustering yourself -- which can get real ugly, real fast.

technobabbler··on M1 Pro 14“ MacBook Pro Running KDE Plasma 5 on Arch Linux ARM
Playing devil's advocate's devil's advocate: Maybe Apple is trying to cater to advanced users again?

In the last decade or so, we've seen Apple flip-flop their designs and priorities between content creators and content consumers. If you can remember back to the 2000s, with the first-gen Mac(book) Pros, those were actually pretty remarkable computers, albeit very expensive and arguably overpriced from a performance per dollar standpoint. They were proper workstations -- if you could afford them. They also ran Windows via Boot Camp, with first-party drivers. Apple recognized the incremental value of supporting "advanced users" then, even if it was just a small niche.

Then the iPhone and iPad came on the scene, and quickly overtook not only the Mac market but the computing market in general. Content consumption, and App Store profits, thus became most of Apple's revenue, and their priorities shifted accordingly. Once Jobs died and Jony Ive took over, they tried to refactor their computing devices to be more like their consumption devices, changing the Macs from workstations to, I don't know what, designer furniture with screens? The Mac Pro (trash can) was obsolete within a year, the Macbook Pros went from fantastic workstations to experimental art featuring terrible keyboards and no ports and broken-by-design cooling.

Enter the present day. Jony Ive left (good riddance!) and they are again free to pursue the content creator market and cater to user demands, not the holier-than-thou vision of their annoying designer. The Macbook Pro is back with a vengeance (hopefully the desktop Pro soon), now featuring a vastly superior chipset, with a powerful & efficient CPU/GPU, ML chips, hardware encoders, etc. If only it had a USB-A port. Anyway, those are all signals Apple is starting to take the workstation market more seriously again.

The market has also changed in the intervening years. Any ol' laptop will suffice for most users. For some, iPads with a keyboard or Chromebooks are more than enough. For the remaining power users, what are their options? Surface, ThinkPad, Latitude, and now Macbooks again, finally. But that requires accommodations for "pro" workflows and tooling, and these early signs are encouraging, or they wouldn't have bothered much past the Macbook Air.

If Apple was able to support Boot Camp for Windows, there's no reason they can't provide similar support for other ARM operating systems, whether that's Linux or Windows for ARM. Parallels can already run Windows on a M1. Adobe has ported much of their stuff over to M1, Unity is halfway there, Unreal is thinking about it, Docker works... which is to say, the industry is excited about the possibility that Apple is going to start caring again. Hopefully. Maybe.

Personally, I'm also intrigued by the possibility of M1 in data centers, in rack mounts, with amazing performance/watt metrics. If that happens, surely Linux development on M1 will pick up alongside, and that may trickle back down to desktop users? One can hope. I don't think Apple has ever been in this situation before: where its own chips (as opposed to integration and design) risk disrupting the status quo. It's an exciting time. We'll see if it lasts...

← PreviousPage 13 of 13