lgreiv | 1 year ago | on: Show HN: Visual debugger for Rails system tests
lgreiv's comments
lgreiv | 2 years ago | on: Child labor in chocolate industry: 'It is worse than you may realize'
lgreiv | 2 years ago | on: “AI has turned every WiFi router into a camera that can work in the dark”
[1] https://standards.ieee.org/beyond-standards/ieee-802-11bf-ai...
lgreiv | 2 years ago | on: Terraform best practices for reliability at any scale
lgreiv | 2 years ago | on: Show HN: SpaceBadgers – Free and Libre SVG Badges
lgreiv | 2 years ago | on: A look at Crystal, a programming language for humans
https://github.com/amberframework/docs/blob/master/examples/...
lgreiv | 2 years ago | on: A look at Crystal, a programming language for humans
lgreiv | 2 years ago | on: A look at Crystal, a programming language for humans
lgreiv | 2 years ago | on: A look at Crystal, a programming language for humans
So far I have been building some smaller personal 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).
Crystal's standard library 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. Some of it's highlights are:
- an ergonomic HTTP::Server and client
- OAuth / OAuth2 clients with token refresh
- JSON/YAML/XML parsing/generation/mapping
- JSON/YAML mapping to classes
- native templating similar to ERBlgreiv | 2 years ago | on: 1Password to Add Telemetry
lgreiv | 2 years ago | on: 1Password to Add Telemetry
lgreiv | 2 years ago | on: 1Password to Add Telemetry
Trusting Dropbox for sync (which I did) meant trusting a cloud service, too, but IMO it is a less lucrative target for hacks than a server that stores _nothing but_ credentials. Also, using DB made me less dependent on connectivity (LAN sync) and would let me switch providers quite easily.
lgreiv | 2 years ago | on: Hype grows over “autonomous” AI agents that loop GPT-4 outputs
lgreiv | 2 years ago | on: Hype grows over “autonomous” AI agents that loop GPT-4 outputs
So far it was able to add an API to fetch me the local weather, return the capital of Venezuela, control brightness and volume of my MacBook and replicate itself at random locations (but tell me where, after).
That being said, I added multiple human-in-the-loop points in the assess/suggest/patch/execute cycle and (given the nature of LLMs) would never use it outside of a sandbox without these safety rails.
lgreiv | 3 years ago | on: Serverless PostgreSQL on Replit
A next generation of IaaS with great DevX would be a relief to everyone burnt by AWS‘s complexity overhead (for a great bunch of customer’s needs).
lgreiv | 3 years ago | on: Ask HN: Why are toggle switches replacing checkboxes? Isn't on/off less obvious?
Broadly, these could be divided in implementations that offered a loading state (switch goes transparent until persisted, overlaid spinner etc.) and implementations that flicked the switch back when the request failed and provided a very noticeable status update (hint, animation, growl).
My preference for systems that work with unreliable persistence is the former, albeit that is purely personal and not founded in a deeper rationale.
lgreiv | 3 years ago | on: Ask HN: Why are toggle switches replacing checkboxes? Isn't on/off less obvious?
lgreiv | 3 years ago | on: Ask HN: Why are toggle switches replacing checkboxes? Isn't on/off less obvious?
lgreiv | 3 years ago | on: Ask HN: Why are toggle switches replacing checkboxes? Isn't on/off less obvious?
Applied to a client/server web application, I would expect a toggle to immediately cause a request to the backend. I’d expect a checkbox to be used in a form which is sent as a whole on submit.
lgreiv | 3 years ago | on: What makes a good standard library?
I appreciate these qualities in the standard library of Crystal [1], to name an example.
„Magic Test allows you to write Rails system tests interactively through a combination of trial-and-error in a debugger session and also just simple clicking around in the application being tested, all without the slowness of constantly restarting the testing environment.“
I will keep an eye on both now, probably they will compliment each other at some point in time.