HackerTrans
TopNewTrendsCommentsPastAskShowJobs

z33k

no profile record

Submissions

Ask HN: Light self-hosted logs/metrics/traces dashboard?

20 points·by z33k·2 tahun yang lalu·9 comments

comments

z33k
·bulan lalu·discuss
Good luck migrating the ”forge” part with the ”git” part. Your github org settings, pull requests, rulesets, CI/CD pipelines, containers, copilot... The lock-in always comes from the ”forge” part, never the ”git” part.
z33k
·2 bulan yang lalu·discuss
The pyrovalerones are basically the fentanyl of meth. More potent, shorter lasting, more dangerous.
z33k
·2 bulan yang lalu·discuss
What's wrong with OpenTofu and cloudinit?
z33k
·3 bulan yang lalu·discuss
Amiibo and Skylanders detect the pieces with NFC. Wiring up the whole board/ terrain with NFC readers would probably be difficult, though.
z33k
·3 bulan yang lalu·discuss
As someone who went to work for a commercial software consultancy company early in my career, I am looking to follow in your footsteps. In consultancy, projects are over for me when my work is done. Rarely do I get to see the results. I want to work at a product company next.
z33k
·5 bulan yang lalu·discuss
I would be surprised if we ever got evidence against the broken windows theory, simply due to crime in general being a (wicked problem)[https://en.wikipedia.org/wiki/Wicked_problem].
z33k
·7 bulan yang lalu·discuss
You need to use the features that Claude Code gives you in order to be successful with it. Your build and tests should be in a Stop hook that prevent Claude from stopping if the build or tests fail. Combining this with a Stop hook that bails out if the first hook failed n times already prevents infinite loops.

With anything above a toy project, you need to be really good with context window management. Usually this means using subagents and scoping prompts correctly by placing the CLAUDE.md files next to the relevant code. Your main conversation's context window usage should pretty much never be above 50%. Use the /clear command between unrelated tasks. Consider if recurring sequences of tool calls could be unified into a single skill.

Instead of sending instructions to the agent straight away, try planning with it and prompting it to ask your questions about your plan. The planning phase is a good place to give Claude more space to think with "think > think hard > ultrathink". If you are still struggling with the agent not complying, try adding emplasis with "YOU MUST" or "IMPORTANT".
z33k
·tahun lalu·discuss
I'm not an astronomer, but my intuition is this: When the source of the light is moving towards the observer, each successive photon emission happens from a position closer to the observer than the previous photon. Hence, from the observer's perspective, the time between photons is reduced, meaning more photons are observed in a given time, and the brightness is increased. When we observe a galaxy that is rotating opposite to us, not only is the source of the light moving closer to us, but we are also moving closer to it.
z33k
·tahun lalu·discuss
This idea you’ve presented is immediately visible all around when you know to look for it.

The failure case I see most often is when this thinking is applied to some kind of a wicked problem.

1. The problem is not understood until after the formulation of a solution.

2.Wicked problems have no stopping rule.

3. Solutions to wicked problems are not right or wrong.

4. Every wicked problem is essentially novel and unique.

5. Every solution to a wicked problem is a "one shot operation".

6. Wicked problems have no given alternative solutions.

Source: Dialogue Mapping: Building Shared Understanding of Wicked Problems 2006 Jeffrey Conklin ISBN: 978-0-470-01768-5
z33k
·tahun lalu·discuss
Yesterday (March 5, 2025) there was a headline in the top Finnish newspaper: Shopping malls in Helsinki become a hive of homelessness <https://www.hs.fi/helsinki/art-2000011068519.html>

When it gets cold, the homeless congregate in the warm interiors of malls. The guards on duty won’t let them sleep there, but they prefer it over being out in the cold.
z33k
·tahun lalu·discuss
How come a fully typed ORM is the devil, if we agree we want a typesafe codebase for our mixed experience dev team? I have had positive experiences with Prisma. It just works.
z33k
·tahun lalu·discuss
The fashionable thing for a while now has been to write your react webapp as a single app. Here is one example of a "fullstack" react template: https://create.t3.gg/
z33k
·tahun lalu·discuss
Worse than not trying is trying and experiencing burnout and/or destitution.

When you fail, it can be due to many things. Not everything in the world is controllable. This is one of the reasons why expecting zero ”What ifs” at the end of your post-mortem is unreasonable.
z33k
·2 tahun yang lalu·discuss
Only with hardware acceleration turned off. Which in my experience causes a stuttery and laggy experience which can hardly be described as "smooth".

If you really want to use MacOS's smooth scrolling, use MOS (https://mos.caldis.me) and get a beefy Mac because the base models will stutter like I mentioned.
z33k
·2 tahun yang lalu·discuss
It's fine in my experience. I use Synergy 1 and I turn off smooth scrolling on my laptops and desktops. I find it more distracting that some apps support smooth scrolling and some don't, so I just turn it off altogether. Together with AutoHotkey on Windows and (Built-in) Applescript and Rectangle on MacOS, one is able to have similar keybinds on both operating systems.
z33k
·2 tahun yang lalu·discuss
4 years ago I was 100kg @ 185cm. Never touched PEDs. All it took was being in the gym going all out for around 2 hours, 6 days a week. My body fat was 13% consistently. I tried going below 13% until it started to affect my strength.

The rest of my life also revolved around recovery and nutrition because very quickly I realized that I needed to make extraordinary efforts to allow my body to recover from the regimen. I slept 10+ hours and ate around 3300 cals daily (TDEE was massive).

Being on antidepressants at the time made eating these amounts much easier, as it seemed to turn off something in my brain responsible for me feeling satiated.

I started gym after being diagnosed with the psych issues. I really put 110% effort into it and got… big stretch marks because my muscles grew so fast. I don’t think what I was doing was ”healthy” as much as it was ”I am super depressed and heavy barbell squats is my coping mechanism”.

I just wanted to say, you don’t need PEDs to get ”scary” jacked. But you probably need to be crazy like me.
z33k
·2 tahun yang lalu·discuss
Everyone hates hearing this one: Documentation, documentation, documentation. Programming is a social task. Therefore, everything else related to software development best practices branches off from that.
z33k
·2 tahun yang lalu·discuss
For what it's worth; Visual Studio Code and VSCode are not the same. VSCode is MIT licensed: https://github.com/microsoft/vscode/blob/main/LICENSE.txt

From vscodium.com:

Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under this not-FLOSS license and contains telemetry/tracking. According to this comment from a Visual Studio Code maintainer:

When we [Microsoft] build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license.

When you clone and build from the vscode repo, none of these endpoints are configured in the default product.json. Therefore, you generate a “clean” build, without the Microsoft customizations, which is by default licensed under the MIT license

The VSCodium project exists so that you don’t have to download+build from source. [VSCodium] includes special build scripts that clone Microsoft’s vscode repo, run the build commands, and upload the resulting binaries for you to GitHub releases. These binaries are licensed under the MIT license. Telemetry is disabled.
z33k
·2 tahun yang lalu·discuss
MyBB PHP forums have a web interface through which one can download the database as a single .sql file. It will most likely be a mess, depending on the addons that were installed on the forum.
z33k
·2 tahun yang lalu·discuss
You’re able to aggregate all logs from control plane (all events?), firewall/ ingress, Storage, Autoscaler , CNI, operating system, audit events?