HNHacker News
TopNewBestAskShowJobs

lgreiv

248 karma · joined July 24, 2019

—— [ my public key: https://keybase.io/lagr; my proof: https://keybase.io/lagr/sigs/5H6nsNcDwLz6KbTbRDQgVSFzPU9IWKJoiSoCsH3jR0c ]
submissionscomments
lgreiv··on What in the Ethereum application ecosystem excites me
Actually, immutability may probably not even required/desired given the surrounding legal construct and the described processes.

Disclaimer: I am not a lawyer and the previous post is my understanding of the described as a layman. I am pretty firm on the technical concepts surrounding blockchain solutions, though.

lgreiv··on What in the Ethereum application ecosystem excites me
Thank you for the answer, I appreciate the time you took to write it.

As I understand it, there is a legal vehicle which performs the actual transfer and the NFT transfer acts as a signal of interest for both parties. In that case, I see the benefit that neither party is bound to a certain platform/software to initiate the transfer. But overall, I admit that I still do not see why this requires zero trust and decentralization as primitives in the solution, which come with hefty caveats each.

lgreiv··on What in the Ethereum application ecosystem excites me
As much as I always liked the idea of a more frictionless system for the transfer of asset ownership, I still have too many open questions on the integration with the legal system of the participants.

Say you have the NFT that claims ownership of a house. Now the local court allocates half of the house to your ex-husband whom you’ve just divorced. How is this (exemplary) case handled on the chain? How is any repossession through local legal system? Who gets to own the house should the private key be lost?

The answer to most of these questions is usually (I do not know your solution) some centralized entity that is introduced somewhere in the chain.

This may have come of as an attack, but be assured that I am genuinely curious whether a solution has been found that I am not aware of.

lgreiv··on Stack Overflow questions are being flooded with answers from ChatGPT
Agreed. I used ChatGPT to expand that thought to a full essay written in the style of PG [1], but sadly my Ask HN did not start any fruitful discussion.

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

lgreiv··on Cory Doctorow wants you to know what computers can and can’t do
Probably flattered.
lgreiv··on Cory Doctorow wants you to know what computers can and can’t do
Having read a couple of prompts and replies in the past days, I am like 75% sure this response was written by ChatGPT based on its emphasis to stress uncertainty.

Then again, HN is the place of public discourse where I would expect expressing such caveats the most from human actors, too.

That being said, the assessment sounds solid.

lgreiv··on Ask HN: How will GPT et al. not result in a digital reclusion?
My thoughts exactly, hence the remark. These just happened to be the combination of attributes I gave my adversary when toying around, which I included to explain their explicit occurrence in the result.
lgreiv··on German privacy watchdogs conclude that Microsoft 365 is incompatible with GDPR
I’ll take the strawman. Of course, the software would not be forced upon businesses. Commercial solutions that protect people’s data properly should be perfectly fine to use. I’d even expect many proprietary solutions to come up that solve niche use cases or provide a more polished UX/UI.
lgreiv··on German privacy watchdogs conclude that Microsoft 365 is incompatible with GDPR
Agreed. Ideally, the official policy should be introduced to either fund or contribute to FOSS used.
lgreiv··on German privacy watchdogs conclude that Microsoft 365 is incompatible with GDPR
It is not the main point I am trying to make, but FOSS may be hosted in the same country by an entity whose business is integration and support.

The main point I am trying to make, though, is that investing in software that can be used and improved by anyone is (IMO) the appropriate allocation of tax money. Right now, the money is used on licenses (and, of course, support). What if it was used on development (and support) and the byproduct is a software that ideally can be used by anyone who paid for it, too?

The GDPR situation poses an opportunity to make that switch.

lgreiv··on German privacy watchdogs conclude that Microsoft 365 is incompatible with GDPR
My personal favorite outcome of this would be a joint public and corporate funded leap in open source development. This would do much for the budget, privacy and probably also security of businesses and private users. A good example where this principle is already in use is the Matrix protocol.
lgreiv··on Vanilla Rails Is Plenty
As someone who is currently in the process of untangling a 10yo+ Rails application that engulfs a still fluid business domain and process, my first intuition was to look into clean/hexagonal architecture. These (promise to) also facilitate handling business events coming through various channels, e.g. SSR, API, workers, an event bus etc.

The article adds an additional option, which — like the others — looks good in theory.

lgreiv··on Photography is not just about the camera
These reasons are why my Canon 7D sees a fraction of the use that my Ricoh GR III sees. A camera small enough to fit in my pockets with a superb image quality and a stabilizer that makes up several stops so no flash is needed.
lgreiv··on Optimizing images with the HTML <picture> tag
Actually, no. I started some projects in meat space in 2020 and did not yet find time to check in on this (or to add newer photographs, fwiw). I’ll have another look at the current support. Thank you for reminding me.
lgreiv··on Optimizing images with the HTML <picture> tag
Thank you for the hint. I’ll revisit trying that when I can spare some time. I vaguely recall that doing so interfered with the way I ensured the consistent passepartout around my photographs while being responsive, but then again we are talking about CSS here and I just may have gotten things the wrong way around.
lgreiv··on Optimizing images with the HTML <picture> tag
I am using the picture tag on my photography blog [1] to serve optimized images for a range of breakpoints. I also used to serve WEBP versions of the photos but noticed that (in my audience) the browser support was sufficiently low to drop the generation step for them and just serve various size/quality combinations of JPG. If time allows, I’ll also add a super low-res placeholder image in the background to prevent the slightly jarring layout jumps on slow desktop connections.

In combination with static hosting from S3 with CloudFront for caching, handwritten CSS + JS (except from Turbo), this yields a close-to-SPA snappiness and feel even on meager connections (as tested from rural Germany, fellow Germans may understand the implications).

The picture tag and the aspect-ratio CSS rule are real MVPs for dealing with photographs.

[1] https://44hz.de

lgreiv··on Sidekiq 7.0
Sidekiq really is a powerhouse supporting many applications I’ve built. Thanks to all contributors!

As a friend of both Ruby and Crystal, Sidekiq really shines as a bridge for handing over heavy jobs to Crystal workers.

lgreiv··on My next Mac might be the last
Ah, excuse me. I was not referring to the XKCD at all, I should have been clearer. Agreed, as usual „it depends“.
lgreiv··on Ex-Apple engineer reveals there was a strong pushback against having ads
I have the uncanny feeling of being quoted verbatim when reading your reply.

Adding a PiHole and opting out of tracking and cookies wherever possible improved my online experience considerably. Also, paying for services like Kagi (kagi.com, I am not affiliated), that work on a subscription basis to provide their functionality, was a relief.

lgreiv··on My next Mac might be the last
Of course there are pros and cons to this position, but just to state a con: anti-virus is usually running with elevated (if not maximum) permissions, tends to load basically any input and once in a while tries to be clever by using self-written interpreters or something along the lines of that.

Using a native AV that does basic heuristic detection is fine and dandy and usually comes with a low performance penalty and requires few rights that other parts of the system do not already have.

Using a non-root user for the daily grind and switching to elevated privileges only if required, running a PiHole (or a software adblocker) and monitoring outgoing traffic using Littlesnitch or LuLu likely comes at a better attack surface/performance/security trade-off, though, AFAIK.

lgreiv··on Yagni Exceptions (2021)
YMMV but with the introduction of JSON/JSONB columns in Postgres, this becomes very easy to achieve without introducing multiple databases. In my experience, at some point relational data will be required in most projects, even if it was not a requirement in the first iterations. Obviously, constraints may apply that make NoSQL a sensible choice in some scenarios.
lgreiv··on Crystal 1.6.0 Is Released
So far I have been building some smaller CLI tools and a few web apps (with the Lucky framework). I’ve also tinkered with running it in AWS lambda functions in a custom (albeit unfinished) runtime. Coming from a decade of Ruby, due to the similar syntax and mindset Crystal is my go to for cases where I need performance or runtime-less execution (e.g. in containers from scratch that contain only the binary and dependencies, if needed).

I’d like to see it succeed, because I think that the type system could really help in circumstances where Ruby apps become unmaintainable (fast growing teams with mixed skill levels; auto-documenting APIs).

The standard library is really a big plus and provided enough functionality for me in the past to get away with only few dependencies per project, which is great for supply chain security and complexity.

lgreiv··on Self Referencing HN Submission
Back when image boards had their run, using this technique to get posts with „rare“ combinations of digits [1] (e.g. „dubs“) boasting about it in that very post was a popular pastime. Some folks even built serious analytics models around it to achieve a pretty good hit rate. I haven’t been around for about a decade, so I do not know whether it is still a thing.

[1] https://knowyourmeme.com/memes/get

lgreiv··on Crystal Programming Language
While it is not completely impossible to end up (pun intended) with something like this, you usually follow a coding style that avoids it. Kind of like in Ruby.

You have the option to define named methods that yield or to use the short one-parameter syntax where this:

  method do |param|
    param.some_method
  end
becomes

  method &.some_method
lgreiv··on Ask HN: What do you do to 'relax' after an intense day of firefighting?
I know those days very well from my job. I recently picked up playing Ukulele and found that the combination of focus and learning something completely new (mentally and motorically) in a calming setting (in a hammock in the garden) occupied my brain in just the right way to soothe the perceived need for mental activity while being relaxing at the same time. Binging series and/or social media faded the mind race into the background but was not helping me in regaining stamina. Reading books usually just changes the content of my racing thoughts when I am 'in the mode'.
lgreiv··on Faster Ruby: Thoughts from the outside
I agree insofar as that there is no dedicated runtime for crystal in AWS Lambda, but it can well be used there or in fargate containers. I wrote a (proof of concept) minimal runtime for Lambda some time ago [1] and had pretty decent results.

Given that both fly.io and Heroku have working buildpacks for Crystal/Lucky, I’d say you can serve pretty heavy load before you’d need to reach for more specialized machines. Of course, that depends on the nature of your application as well. Maybe my understanding of 'large scale' is different from yours, though.

[1] https://github.com/lagr/aws_lambda_runtime

lgreiv··on Crystal 1.5
As noted on the first 1.5 release post: It is great to see that there is still progress. Coming from Ruby, Crystal really excites me as a complimentary language. Even though I am not in the target group, I believe that the progress on Windows support is an important step to further the language by widening the user base. I wish for crystal to become more widespread adopted after having done some experiments with the Lucky framework and a self-written PoC AWS Lambda runtime [1] (incredibly fast cold start and processing time, combined with strict event parsing).

[1] https://github.com/lagr/aws_lambda_runtime

lgreiv··on To Ruby from Python
As someone with a bit more of a decade of Ruby experience: meta programming can be very confusing for native rubyists, too. There is a place for it (my personal take would be that this place is usually libraries/gems, e.g. if they need to be flexible to adapt to the consumer’s project), but it’s usually not code that needs to „convey a story“ (usually business logic) or needs to be debugged/observed.
lgreiv··on Crystal 1.5.0 Is Released
It is great to see that there is still progress. Coming from Ruby, Crystal really excites me as a complimentary language.

Even though I am not in the target group, I believe that the progress on Windows support is an important step to further the language by widening the user base.

lgreiv··on Germany locks down unvaccinated people, as leaders plan to make shots compulsory
I’ll not take a stance on the correct number of free ICU beds as I do not feel qualified to judge these numbers without more insight on the intricacies of what would qualify fully operational beds, but regarding the stalling case numbers I feel confident enough (after looking at some raw numbers from the municipalities themselves [1]) to dismiss the apparent trend as a statistic artifact.

PCR test units and hospital bureaucracy are past their limits - e.g. regions like Bonn, Essen or Recklinghausen reporting zero cases on multiple consecutive days (Nov 29, Nov 30), which is _very_ unlikely w.r.t. the case numbers of the surrounding regions and those very regions reporting more than one hundred cases today.

The published indicators do not count cases that are reported late [2], which leads to apparently stalling case numbers. Growths may not be exponential forever but given that roughly one quarter of the population is not vaccinated, I would not take bets that the virus runs out of hosts before the health care system collapses.

I agree to the sentiment made that the balance between economic efficiency and damaging austerity for profit margin gains in the German health care system (especially for worker’s loans) has been tipping way too far to the latter in the past decades.

[1] https://www.lzg.nrw.de/covid19/download/laborbest_faelle_sar... (updated each day at 0:00 CET)

[2] https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus...

edit: some formatting.

← PreviousPage 2 of 3Next →