HNHacker News
TopNewBestAskShowJobs

iamkonstantin

256 karma · joined May 7, 2024

submissionscomments
iamkonstantin··on Htmx does not play well with content security policy
What is a rendering engine with CSP in mind?

The server can, at best, set the correct CSP header. It’s a validation performed entirely in the browser. Even the best intended rendering from the server can’t prevent CSP violation attempts when the client is executing some kind of script. That’s why even frameworks like Vue and React need a correctly configured CSP.

iamkonstantin··on Htmx does not play well with content security policy
it’s unclear what point the post is trying to make. The outlined behaviour is not specific to HTMx per-se. These are security considerations for all server rendered pages.

The “basic” golden rules:

- Only call routes you control

- Always use an auto-escaping template engine

- Only serve user-generated content inside HTML tags

- If you have authentication cookies, set them with Secure, HttpOnly, and SameSite=Lax

https://htmx.org/essays/web-security-basics-with-htmx/

iamkonstantin··on Microsoft 1998 = Apple 2024
It is possible that I'm missing a bigger picture where Mozilla is pushing the envelope with Firefox.

We've crystalized around a specific role for each browser (e.g. Chromium brings in whatever webstandards it needs to pretend to be an OS, Safari tries to keep up while also sneaking Apple ecosystem facilities, Firefox... keeping up?) and there is no real innovation. Of course, we have better ways to not-block-ads, scrape user telemetry, or ai-whatever-that's-good-for... but nothing substantial towards improvements for the people using browsers.

The browser space is stagnating.

iamkonstantin··on Microsoft 1998 = Apple 2024
One can also say it’s a duopoly of two suboptimal browsers (factoring all Chromium based browsers together).

Even though other options exist “technically”, users on the two (3?) popular mobile and desktop OS experience a great deal of platform friction when opting to make their own choice (if at all possible like on iOS).

iamkonstantin··on Microsoft 1998 = Apple 2024
Just earlier today, I read this post on Techrunch, of course not only because of Apple, but the size and weight of the FAANGs is just too much even for a free market:

> While these companies are definitely benefiting from embracing new trends, there are other factors at play as well — in particular, investors don’t have many places to park their money to make bets on new technology.

> “There’s minimal competition as we are in oligopolies and duopolies,” Wang told TechCrunch. “We used to have hundreds of software companies, but decades of mergers and acquisitions have whittled down the options to a few companies in every geography, category, market size, and industry.”

https://techcrunch.com/2024/06/29/sap-and-oracle-and-ibm-oh-...

iamkonstantin··on Apple crippled watchOS to corner heart-tracking market, doctors say
> it isn't that Apple removed direct access to the hardware in watchos 5 but that they changed the algorithm

Precisely why it should be possible for an app to provide their own algorithm (by accessing sensor information, or opting to re-use Apple's algorithm) but adapted to the app's use case. Apple must be transparent here.

> I don't think every app needs access to every sensor for privacy reasons

We already have a system in iOS to request permission to sensitive data. In fact, we have more than one - App Store Review (supposedly the guardian at the gate) and the permission prompt in the app itself. Privacy is not "degraded" when more sources can be requested by an app.

iamkonstantin··on Apple crippled watchOS to corner heart-tracking market, doctors say
I think the issue is that by changing the way watchOS works, Apple effectively removes the possibility to develop a 3rd party health-tracking tool (because the sensor data is no longer available).

Imagine AliveCor (or anyone) coming up with a better way than Apple to interpret data from the device. Or they use the data in a different use case than the watchOS health feature... there are many reasons to enable 3rd parties access to onboard sensors.

iamkonstantin··on Apple crippled watchOS to corner heart-tracking market, doctors say
Given Apple's sizeable chunk of the market, it makes sense to give 3rd party developers programmatic access to certain platform features. This way, changes to Apple's own apps wouldn't be so impactful, and they can continue to innovate in parallel.
iamkonstantin··on EU's Vestager: Apple's EU Withholding a 'Stunning' Anticompetitiveness
It's stunning to me how Apple managed to convert a multi-decade legacy of being "the cool" company into "feels like Big Tobacco".

And it's not like one can distance oneself from their PR games. As a developer, one has to go to App Store Connect almost daily and deal with App Store Review. It just doesn't bring joy any more.

iamkonstantin··on Apple blocks PC emulator in iOS App Store and third-party app stores
Apple's compliance with the DMA has been painful to begin with. Instead of embracing the intended spirit of the regulation, they opted to be as difficult and as toxic as possible.

As a developer, I feel tired and exhausted from constantly having to battle with the platform giants just so that eventually we can find a way to co-exist on "their" platforms.

iamkonstantin··on Microsoft AI spying scandal: time to rethink privacy standards
There is no harm in asking things like what do they expect to get out of it, is it possible to achieve the same result with a privacy-first alternative, can it be recorded on your backend with no need to fingerprint the user etc.

“The boss” often doesn’t know or care about the implication of involving data brokers. We’re not just code monkeys.

iamkonstantin··on Microsoft AI spying scandal: time to rethink privacy standards
I think the op means that this is a mindset to apply on any kind of software or tech project. Think apps supported by ads or deploying tracking toolkits by default. I was looking for a blog template the other day - so many come loaded with Google analytics and silly cookie prompts for no good reason. These are things we can influence.
iamkonstantin··on PEP 730 – Adding iOS as a supported platform
This is excellent, more native ways of integrating Python modules would be very welcome.
iamkonstantin··on EU doubles down on penalising privacy-friendly and encrypted messaging services
Is this even legitimate? The post as well as the "leaked" document look so dodgy.
iamkonstantin··on Turn Your iPhone into a Dumb Phone
I think there is a fix for that as well, I use Focus modes to hide work apps outside 09h-16h, so there are absolutely no mentions of productivity (or badges/things that need me to do something) to be seen when I'm not on the clock.
iamkonstantin··on JetBrains releases RustRover IDE for Rust development
In addition, the Fleet editor supports this use case https://www.jetbrains.com/fleet/
iamkonstantin··on Google CEO Sundar Pichai takes a look at a sample Google search [video]
It’s so rare to see Sundar Pichai get nervous, Nilay Patel was certainly asking the right questions throughout the interview. I like to still imagine how LLMs can enhance our experience online, the current “AI” products are none of that, unfortunately.
iamkonstantin··on Swift Tooling: Windows Edition
It’s not SwiftUI (which would require Apple’s AppKit or UIKit), but rather interop with the Windows native WinRT https://speakinginswift.substack.com/p/swift-meet-winrt
iamkonstantin··on Gio UI – Cross-platform GUI for Go
I would also add Tauri to the list as they now support mobile as well https://v2.tauri.app/blog/tauri-2-0-0-beta/

I think all cross platform frameworks come with some kind of drawbacks and in most cases, learning about the underlying native platforms is unavoidable (like widgets, visionOS support etc).

So I wouldn’t worry too much or get into a FOMO decision block - I’d pick the one that feels most fun and fits your use case.

iamkonstantin··on Squarespace to Go Private in $6.9B All-Cash Transaction with Permira
It took me a total of two weeks to complete the transfer.

I didn’t need to contact support, but the process requires patience … and some downtime as I had no way of knowing exactly when the transfer happens to recreate the DNS records.

iamkonstantin··on Stack Overflow users deleting answers after OpenAI partnership
I just submitted a request to have all my content removed from SO and will challenge the outcome if needed. My right to be forgotten and have my content deleted supersedes SO’s dubious, “nobody really reads these” terms and conditions.
iamkonstantin··on Fly.io Infra log: week-by-week record of what the team does
It reads more like a retrospective for each team member?

It wasn’t clear if it’s opt-in to have your status update posted publicly but I can imagine (and hope) it’s okay not to partake.

iamkonstantin··on Sound-suppressing silk can create quiet spaces
I would love to have something like this. Even better if it comes in a portable form for the occasional visit to the office.
← PreviousPage 3 of 3