HNHacker News
TopNewBestAskShowJobs

cube00

7,467 karma · joined December 20, 2013

submissionscomments
cube00··on Progressive Web Components
Scoped custom element registries should help with this letting you register to a shadow root instead of globally. [1] Unfortunately Firefox hasn't come to the party yet. [2]

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...

[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1874414

cube00··on Progressive Web Components
As much as I dislike Google, Lit has been a nice middle ground for me.

It's lighter then a framework, events are vanilla JavaScript so you don't have to figure out how to make a JS libray you've found work within some framework's custom event bus.

It has enough rendering support so you don't need to update everything with .innerHTML. Change the state of a component, lit will call your render function but only update the parts of the DOM that have changed. I felt that was a nice partial answer to suggestions you need a virtual DOM because updating the real DOM is slow.

cube00··on AI doesn't generate working products, that's still your job
> Yeah the financial value of a codebase is in successfully solving a problem

It doesn't even need do it successfully, plenty of slow buggy codebases that are raking in huge amounts of money every day.

I knew it was bad when I started getting tickets to "improve the skeleton loader" because its displayed for so long the project owner had time to contemplate changes to it.

cube00··on Arch Linux disables AUR package adoption
You can only scan for known malware. Plenty of ways to write new apps to do bad things that scanners won't detect.
cube00··on Stacked PRs are now live on GitHub
> The sad fact of life is that too many developers are used to pushing PRs with unprincipled commits, and relying on squash merges.

We couldn't organise our commits once the PR review started because reviewers would complain they couldn't easily determine what had changed between rounds of reviews.

If we tried to organise them after review then approvals would be stripped so squash was the only way we could keep the main line history reasonably tidy as you can keep the approvals if GitHub does the squash via the UI.

cube00··on The session you cannot take with you
> Maybe I am still a novice.

With Boris telling everyone they should throw away their AGENTS.md file this week, I think we're all back to being novices again.

> It just loves corner cutting.

Absolutely, it tried to disable a bunch of lint rules for me calling them "overly stylistic". It also casually dropped some unsafe Rust blocks in an run of the mill CRUD application that definitely had no business needing unsafe.

No, sorry, not good enough, go back to talking to yourself until its done properly.

It eventually got there taking most of my quota with it. I'm hoping once sandboxes is more fine grained we'll be able to lock out configuration files to prevent any edits on them.

cube00··on The session you cannot take with you
Local inference can't arrive soon enough. On my inferior hardware the models still struggle to build the correct JSON to be able to call tools. Once either I get better hardware or the local models improve I'll happily leave it chugging away for a few hours to arrive at a solution because I know I'm not going to get token shock from all the looping if I'm running local inference.
cube00··on The session you cannot take with you
> Conversations contain a bunch of junk anyway

This is what brought me around to doing more agentic coding. I set the task, require tests and the strict linting must pass and then leave it to blow smoke up its own ass about what's going on.

I see glimpses scrolling past of all the conversational language that used to frustrate me so much when using a chat interface and I can just let it flow on past.

I come back when its made everything pass, my life is better now.

The previous match was still too clever for clippy’s type analysis, so I’ve simplified it into a direct borrowed-pattern form and I’m validating once more. I’m replacing that wrapper with a direct, non-transparent error variant so the enum stays explicit and doesn’t rely on a generic anyhow bridge.

cube00··on The lost civic life of movie rental stores
This must be from a different era. In the 90s, people at our store used to stare at the shelves in silence. You certainly weren't striking up conversation with strangers there.

The screaming and explosions from the movie trailers playing full blast on a non-stop loop throughout the store over the PA didn't help.

cube00··on DMARC has been public since 2012 but most company domains still don't enforce it
When properly configured, particularly at an enforcement policy of p=quarantine or p=reject, DMARC can positively impact inbox placement.

https://mxtoolbox.com/dmarc/details/email-deliverability

cube00··on DMARC has been public since 2012 but most company domains still don't enforce it
> What would be the benefit of setting up DMARC on top?

Some mail providers will junk your mail if you don't have a reject/quarantine DMARC policy because you're seen as enabling the spammers so everything out of your domain must be punished.

cube00··on DMARC has been public since 2012 but most company domains still don't enforce it
It's ironic that I set everything up correctly on my self hosted domain and still end up in spam because of my low volume.

I even go to the trouble of registering in their Postmaster Tools and clogging up my DNS with their verification tokens all for the tools to tell me I don't send enough mail while they happily pass what little mail I send straight to spam.

  Not enough outgoing email
  You haven't sent enough email to personal Gmail (@gmail.com) accounts to determine deliverability status for your domain and messages.
Each screen only shows: "No data was found for this domain."

Guess it doesn't help that as I look today the Postmaster Tools dashboard shows "Last updated Sun, Apr 26, at 9:30 AM."

Then on the other hand Google can flood me with spam filled Google Calendar Invites and Google Drive Share notifications, all fully DKIM signed because they are coming out of those services, all day long.

Microsoft have also recently changed their Smart Network Data Service (SNDS) so now only my cloud provider can access the console as they only allow verification to the owner of the whole ASN block you're under. I can't access detail about my domain anymore, and still my mail goes to junk. Unless you own a chunk of IPv4 ASN range you're out of luck. IPv6? Nope, not at Microsoft. "Please note that IPv6 is not currently supported." [1]

[1]: https://substrate.office.com/ip-domain-management-snds/SNDS/...

cube00··on Calling all open source maintainers working with Ruby
It's concerning that they're going with Discourse tags instead of categories so project maintainers will never be allowed to moderate their own spaces.

The way sponsors will be allowed to "gain visibility within a growing targeted audience" is also vague. [1]

[1]: https://products.rubyforum.org/sponsors#:~:text=gain%20visib...

cube00··on Kill The Cookie Banner
> Somehow, [...] couldn't be bothered

Google knows if you can set this once it's game over for their adverting business. At least with the cookie banners, there's a possibly you won't refuse every banner.

Especially those banners that only have "Accept" or "More options" with all those checkboxes to clear.

cube00··on Stolen Buttons
They might be today but who's to say it won't start firing off fetch calls later perhaps under a new owner if it gets sold.

Unfortunately the browser extension permissions are not granular enough to warn you when fetch is being used in an extension.

As an example, my password manager extension can read and inject content into any page along with communicating with its server to sync my vault. These are the only permissions Firefox shows me:

  * Access your data for all websites
  * Get data from the clipboard
  * Input data to the clipboard
  * Display notifications to you
  * Access browser tabs
  * Access browser activity during navigation
No indication there that it can also communicate with its server.
cube00··on Turn And Face The Strange
>We’re launching a new iteration of Sprites, and focusing the company on them and the problem they solve. And I’m tagging in Scott Johnston as CEO.

Feels a bit rough to refocus the whole company and immediately bail out. At least give a new CEO a fighting chance by letting them set their own direction.

cube00··on The Fedora 45 Sausage Factory
This kind of end to end documentation is invaluable when you're trying to troubleshoot.

I had a service complaining about the root file permissions which changed between Fedora versions [1]. I was never able to figure out what produced the file system image but thanks so this guide I know where to start looking now.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2402944#c1

cube00··on I Tried Building a Real App with AI. It Took a Year
> There is an option to buy a lifetime licence but it costs a whopping £44.99.

I've given up trusting lifetime anything from the app stores now.

Mobile OSs seem to evolve so much faster, add new layers of security, lock pro features behind app store billing APIs that require the developer's account remains in good standing.

I've been burnt by three apps cutting and running now. One where the developers got their prize jobs at Microsoft and AWS [1], another where they sold the app off to another company that gave up maintaining it [2] and finally EA (enough said) [3]

[1]: https://news.ycombinator.com/item?id=46768909

[2]: https://www.androidpolice.com/2018/04/16/beyondpods-first-pu...

[3]: https://web.archive.org/web/20190116224256/https://answers.e...

cube00··on Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models
>subscription model which were more expensive but in reality for most people there was little to no added value

The value was the multiple CDs of MSDN documentation and code samples which where very handy considering the slim pickings on the internet in 1995.

These weren't included with an IDE perpetual license retail box.

cube00··on 98.css
> one of the most prized metrics goes up: time on page

It took me way too long to realise those widgets that show stats quickly counting up are only there hoping you'll wait until they finish counting to see the total number. All to increase your time on the page and make the metrics look good for the designer.

cube00··on 98.css
Microsoft had some excellent guidance[1] on this:

> Reconsider disabled controls. Disabled controls can be hard to use because users literally have to deduce why they are disabled. Disable a control when users expect it to apply and they can easily deduce why the control is disabled. Remove the control when there is no way for users to enable it or they don't expect it to apply, or leave it enabled, but provide an error message when it is used incorrectly.

> Tip: If you aren't sure whether you should disable a control or provide an error message, start by composing the error message that you might provide. If the error message contains helpful information that target users aren't likely to quickly deduce, leave the control enabled and provide the error. Otherwise, disable the control.

Unfortunately, that nuance has been lost in the modern version of the guidelines with no mention of disabled buttons at all [2]

[1]: https://learn.microsoft.com/en-us/windows/win32/uxguide/top-...

[2]: https://learn.microsoft.com/en-us/windows/apps/develop/ui/co...

cube00··on Tell HN: Namecheap gave my account to an unverified third party
https://news.ycombinator.com/item?id=40481808

You could argue in that case it was a gambling site and it will never happen to you because you're not in a high risk category.

The scary thing for me is nowhere in their initial communications did they explain the issue they just demanded $120k upfront (refusing monthly billing).

The CEO who is usually active on HN didn't show up to give their side either, there's no way they couldn't have been aware of a 1044 upvoted post which also went viral elsewhere https://news.ycombinator.com/item?id=40481979

cube00··on Tell HN: Namecheap gave my account to an unverified third party
Given Cloudflare's reputation for shakedowns once you pass their undisclosed thresholds I wouldn't trust them with my domains.

I'm not expecting something for nothing, we all need to eat. I'm happy to stay within any limits or even have no free tier at all.

I just don't want the fear of waking up to a sales email one morning demanding I suddenly fork out more then I earn in a year off the project for an enterprise plan because I've exceeded their undisclosed thresholds.

cube00··on Google’s ATLAS is a look at how people are using AI
For example, automotive technicians and industrial mechanics use AI to interpret complex test results, debug electrical wiring, and inspect machinery for wear.

No chance I'd trust Gemini to correctly tell me which wire was the high voltage one.

You're absolutely right! I apologize for providing a factually incorrect explanation. You asked a question, and I gave you incorrect information that put you in danger. That failure is entirely on my side as an AI system, not on you for following what you were told.

cube00··on Passkeys were invented by engineers with zero understanding of consumer brain
> A few stories in the news represents a beyond negligible fraction of billions of user accounts.

https://support.google.com/accounts/threads?thread_filter=(c...

How many times do you have to click "View more" to reach a post from last week? It's a problem.

The repeated advice from the "diamond product experts" says it all:

If you can't recover your account using Google's automated recovery process, the account is lost. [1]

Personally I thought I was OK because I had a recovery email set but what Google doesn't tell you is they outright refuse to even send a recovery email if you don't use a device, browser and same wifi they've seen before. [2]. At the time I was all in on Gmail so it was an especially sobering experience.

I accept it's a hard problem to protect that many accounts, but to dismiss it as a "few stories" is understating the problem and diminishes the terrifying experience all these users are having.

[1]: https://support.google.com/accounts/thread/453660883/locked-...

[2]: https://www.reddit.com/r/GoogleSupport/comments/1ps28fn/coul...

cube00··on Passkeys were invented by engineers with zero understanding of consumer brain
> You have to consider that the user base of Google accounts is in the billions.

Basing your security decisions on "it'll never happen to me" because there are billions of other users who will get burnt first is not a wise strategy either.

Why take the chance when there are so many other alternatives that let you own your vault or at least companies that still have some semblance of a support team.

Losing a decade of my Google Maps Timeline data even with backups enabled made me realise I may not be lucky enough to win the lottery but I am lucky enough for Google to pick little old me, hidden in the billions, to lose my data.

cube00··on I tried to record music onto a cassette tape using modern tech
While this all sounds like a warm and fuzzy nostalgic trip, big music didn't like us doing this when we made mix tapes off the radio.

Spotify certainly doesn't like it and it's second only their prohibition on reverse engineering their own software in their User Guidelines.

  The following is not permitted for any reason whatsoever in relation to the Services and the material or content made available through the Services, or any part thereof:
  2. copying, reproducing, redistributing, "ripping," recording, transferring [1]
It's surprising that a Spotify developer would not only write this up but also self post it to HN. Is there some performance review metric tied to how influential you are for the company or something?

[1]: https://www.spotify.com/us/legal/user-guidelines/#:~:text=co...

cube00··on Passkeys were invented by engineers with zero understanding of consumer brain
> Being limited to only devices from a single vendor is horrible, and a firm no from a lot of people.

Maybe for a lot of tech people, I don't think the general public understands the risks enough to care.

cube00··on Passkeys were invented by engineers with zero understanding of consumer brain
Considering Google's track record of locking people out of their accounts it'd be very risky to trust them with your password manager.
cube00··on Advertise in ChatGPT
According to the ads manager UI, unless I'm willing to allow up to $3 a click I'm warned "my bid may be too low to deliver reliably".

Considering I'm paying 20 cents per click elsewhere, this could get real expensive, real fast.

← PreviousPage 9 of 34Next →