HNHacker News
TopNewBestAskShowJobs

dygd

174 karma · joined August 2, 2020

submissionscomments
dygd··on Distributed Transactions at Scale in Amazon DynamoDB (2023)
The downloadable version is nowhere near ready for production. It's performance is also excruciatingly slow.
dygd··on JPMorgan Workers Ponder Union in Wake of Return-to-Office Mandate
For those who don't know the famous philosopher - it's George Carlin: https://www.youtube.com/watch?v=Nyvxt1svxso
dygd··on Computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku
It appears to be the system prompt of the quickstart app: https://github.com/anthropics/anthropic-quickstarts/blob/mai...
dygd··on Sony to lay off 8% of Playstation unit global workforce
A better link might be https://sonyinteractive.com/en/news/blog/difficult-news-abou...
dygd··on Why are we templating YAML? (2019)
Spot on. We use ytt[0], "a slightly modified version of the Starlark programming language which is a dialect of Python". Burying logic somewhere in a yaml template is one thing I dislike with passion.

[0] https://tanzu.vmware.com/developer/guides/ytt-gs/

dygd··on Nvidia GeForce RTX 4060 Are Now the Most Popular GPUs in Korea's DIY Market
The RTX 4060Ti is the most affordable nVIDIA card with 16GB VRAM from the current generation, making it a good option for AI experimentation. So that might contribute.
dygd··on Why use strace in 2023? [video]
ktrace is somewhat similar, at least when it comes to syscall traces.
dygd··on JetBrains AI Launch Event [video]
There's an opensource IntelliJ plugin from https://github.com/continuedev/continue that allows you to do this. It supports a couple different providers and models, e.g. LocalAI with Code Llama.
dygd··on Ask HN: How to make PDF from a news arcticle / archive.ph?
I've been using FireShot to capture whole pages and save as PDF, quite useful for tutorials. It works by manually scrolling the page, capturing each part and then stitching it together. Can also save as an image.

https://addons.mozilla.org/en-US/firefox/addon/fireshot/

dygd··on Ask HN: Good Ressources on API Architecture?
Check out the OpenAPI spec https://swagger.io/specification/. One advantage is that you can use the spec to generate both client and server-side code, see https://deliveroo.engineering/2022/06/27/openapi-design-firs... for example. If you're looking for inspiration, there's a ton of OpenAPI links at https://apirank.dev/
dygd··on Ask HN: 6 months later. How is Bard doing?
OP probably means access to information after Sep 2021. MK1 release date was announced 1 week ago.
dygd··on Show HN: Deploying subdomain-based routing like github.io
Yes, I think that env vars are superior to a file or CLI args. One advantage is that you can pass secrets without persisting in a file or making them visible to other processes through CLI args.
dygd··on Show HN: Deploying subdomain-based routing like github.io
In addition to CLI params and JSON conf it would be handy to support env var configuration. Makes running inside a container much easier.
dygd··on Mazda Scrum Van
Yeah, not really popular outside Japan. I believe they are often called kei-cars, have been around for a while.

https://en.wikipedia.org/wiki/Kei_car

dygd··on jq 1.7
Indeed, just tested it and it is fixed. Thanks!
dygd··on jq 1.7
Also not a big fan, but I hate it for a very specific reason:

  echo 12345678901234567890|jq
  12345678901234567000
dygd··on Remote workers care less for the company's mission
> If you don't trust them, they actually are going to work less hard for you

Trust? Ask the colleagues that got laid off by email.

dygd··on Manipulating Terraform states for fun, profit, and reusability
A minor thing, but the article says that the Terraform AWS provider uses AWS CLI to manage resources. That's not the case, it uses aws-go-sdk to directly talk to the AWS APIs.
dygd··on Gorilla: Large Language Model Connected with APIs
Yesterday there was a "Launch HN" thread for credal.ai [0] and I noticed that they use the same openai.api_base trick [1].

[0] https://news.ycombinator.com/item?id=36326525 [1] https://credalai.notion.site/Drop-In-APIs-3a45d32405c347e8bf...

dygd··on Memento mori
Epictetus talks about both ideas in Enchiridion (http://classics.mit.edu/Epictetus/epicench.html):

7. Consider when, on a voyage, your ship is anchored; if you go on shore to get water you may along the way amuse yourself with picking up a shellfish, or an onion. However, your thoughts and continual attention ought to be bent towards the ship, waiting for the captain to call on board; you must then immediately leave all these things, otherwise you will be thrown into the ship, bound neck and feet like a sheep. So it is with life. If, instead of an onion or a shellfish, you are given a wife or child, that is fine. But if the captain calls, you must run to the ship, leaving them, and regarding none of them. But if you are old, never go far from the ship: lest, when you are called, you should be unable to come in time.

17. Remember that you are an actor in a drama, of such a kind as the author pleases to make it. If short, of a short one; if long, of a long one. If it is his pleasure you should act a poor man, a cripple, a governor, or a private person, see that you act it naturally. For this is your business, to act well the character assigned you; to choose it is another's.

dygd··on Ask HN: Dealing with the Guilt of Giving Notice?
I found that trying to remain on good terms with my line manager and director helped feel less guilty about moving on. I guess it's the thought that the door is not fully closed.
dygd··on Logging in Python like a pro
Using the official CLI (aws logs get-log-events) or https://github.com/jorgebastida/awslogs is pretty close to SSH-ing and grepping.
dygd··on Managing Python Versions with Pyenv
Pyenv is a bit lower-level and works well with requirements.txt. Pipenv can use pyenv to install Python venvs and brings its own Pipenv and lock files.
dygd··on The case against masks at school
Something else that works really well is the anti fog dry cloth/wipes. They're cheap and get rid of fogging completely.
dygd··on M1 Mac Atrocious External Display Text Blurriness
I had issues with an external display which were solved by using a USB-C to DisplayPort cable (supports 4K@60Hz). USB-C to HDMI in particular didn't work well.
dygd··on Show HN: Another AWS EC2 instance comparison tool that's always up to date
One quite useful feature of the other site is comparing instance types by typing something like "m5.large|r5.large|c5.large" in the search box.
dygd··on Valve Steam Deck
It also allows developers to target and optimize performance for this specific device (or family of devices). Won't be surprised to see games having a Steam Deck "mode" in the future.
dygd··on Ask HN: What was your best passive income in 2020?
I think that it allows him to invest into passive index funds (no active trading) which hopefully appreciate over time.
dygd··on Tink Is Joining Visa
I think that it's a reference to https://ourincrediblejourney.tumblr.com/ Acquisitions which often result in the company closing down.
dygd··on Surface Laptop 4
The video mentions that the Surface 4 USB-C port allows charging, which is great.
← PreviousPage 2 of 3Next →