HNHacker News
TopNewBestAskShowJobs

throwaway127482

88 karma · joined November 19, 2024

submissionscomments
throwaway127482··on Containerization is a Swift package for running Linux containers on macOS
Isn't the Linux gaming stuff really an emulator for Windows games? So it'd be like, windows emulation inside Linux virtualization inside macos?
throwaway127482··on Show HN: SQL-tString a t-string SQL builder in Python
The columns feature seems somewhat dangerous at first glance. What if I wanted different sets of allowed columns for different parts of the query? Would I have to provide the superset of columns supported in both subqueries / tables?
throwaway127482··on Android and Wear OS are getting a redesign
Are you gonna clarify at all how this is relevant to the original article...?
throwaway127482··on docker2exe: Convert a Docker image to an executable
Aren't you describing docker-out-of-docker rather than docker-in-docker?
throwaway127482··on Berlin DeepTech Landscape
This site does not display well on mobile.
throwaway127482··on Googler... ex-Googler
There's definitely something wrong with the scroll performance. I'm seeing bad performance as well on a pixel 8 pro. If I weren't on mobile I'd pop open devtools and check for excessive layout recalculations
throwaway127482··on The next generation of Bazel builds
One thing not mentioned is the massive amount of complexity and difficulty involved in Starlark rules. In the next generation of build tools, I really wish Starlark could be replaced with some subset of TypeScript, which would have drastically better IDE support. And I wish the typing would be done in such a way that it's harder to do things that are bad for performance. Starlark is super difficult to read, navigate, and write, and there are a lot of performance gotchas.

I know there are efforts like starpls (language server for Starlark) but in my experience it really falls short. I think buck2 has type annotations but I kind of hate Python-style types, so I wish we could just use TypeScript :P TypeScript is even better positioned to fill this role now that tsc is being re-written in Go.

throwaway127482··on The order of files in your ext4 filesystem does not matter
> who the hell calls a tool "buildah"?

Bostonians? :P

throwaway127482··on Go Optimization Guide
I don't get it. The pool uses weak pointers under the hood right? If you allocate too much up front, the stuff you don't need will get garbage collected. It's no worse than doing the same without a pool, right?
throwaway127482··on Sell yourself, sell your work
If you're regularly kicking yourself, don't you have your own examples to draw from? Only half-joking.
throwaway127482··on The DOJ still wants Google to sell off Chrome
Chromebooks are a thing, and are extremely popular
throwaway127482··on The features of Python's help() function
help() should not have to re-teach you the syntax of the language every time you look up an individual help topic, though. Even though this "/" stuff is uncommonly used, it seems like it should have its own help topic. Otherwise, this means that help() has to re-explain every piece of syntax that might be considered "uncommonly used", which is kind of hard to draw a line for.
throwaway127482··on Resident physicians' exam scores tied to patient survival
Lol literal first four words of the comment said he's not a surgeon
throwaway127482··on When eBPF pt_regs reads return garbage on the latest Linux kernels, blame Fred
How would you recommend learning about eBPF / BTF / CO-RE? I have a basic understanding of what they are, but am not sure where to start for writing eBPF tracing programs, setting them up in production w/ Grafana, etc.
throwaway127482··on Ask HN: Is anyone still using Dreamweaver?
Ever heard of curiosity?
throwaway127482··on SQL pipe syntax available in public preview in BigQuery
I think I like this new pipe syntax a lot better than PRQL. Feels like it has the potential to become officially supported by DBs like MySQL since it's a relatively small change to existing SQL syntax.
throwaway127482··on Obscure islands I find interesting
It would be cool if you added a Wikipedia link for each of these. I find myself wanting to learn more about some of them
throwaway127482··on Non-random uniform disk sampling
The article was specifically asking for concentric rings with equally spaced points - how would you fix the seed such that this property is held?
throwaway127482··on Non-random uniform disk sampling
Wouldn't a fixed seed mean you're repeating values a bunch, which would be inefficient? And how would you know when to stop generating values?
throwaway127482··on Understanding gRPC, OpenAPI and REST and when to use them in API design (2020)
Google has massive amounts of code written in Java so one would think the Java tooling would be excellent as well.
throwaway127482··on Show HN: Interactive game teaching dark patterns in UX design
Something is still not right for me. The scrolling is extremely janky. I'm on mobile so can't check devtools right now, but I would open up Chrome's Rendering tab in devtools and check for excessive layout recalculations and such. Maybe also do some performance profiling
throwaway127482··on Stimulation Clicker
I bet it's working as intended. The $ symbol is probably a special feature of the console and is not intended to be a property of window. Inside setInterval, the function is no longer being executed in the special console environment, which has access to that symbol.
throwaway127482··on Ask HN: Who's building on Python NoGIL?
What have they broken on 3.x? Genuine question as I haven't followed python's development super closely
throwaway127482··on Map of GitHub
The funniest one I saw was "Lispaña"
throwaway127482··on Vercel/fun: ƒun – Local serverless function λ development runtime
I haven't developed in this space for a while so I'm just curious - which framework(s) are you referring to that this could have replaced?
throwaway127482··on "Rules" that terminal programs follow
This behavior seems difficult to actually implement in practice, no? Your application has to be careful not to accidentally cache any configuration state, as well as any state derived from the configuration, otherwise it will go out of sync. Maybe easy for trivial apps but most apps requiring configuration files are non trivial.
throwaway127482··on Borgo Programming Language
It's not trying to fix Go, it's trying to be a new programming language. It just happens to compile to Go, and allows Go interop.
throwaway127482··on Pipe Viewer – A Unix Utility You Should Know About
I like to use pv as a quick and dirty operations per second counter. Sometimes I will write a program or script that does a bunch of things in parallel (e.g. RPCs to a service I'm working on), and prints one line of output for every operation completed. Then I pipe that output to pv using the --lines option to count only lines. It shows how many lines are being printed per second, which roughly counts operations per second. (IIRC, also need to pipe to /dev/null to prevent pv's fancy output from clobbering the tool's output).

Fun stuff! Especially when combined with GNU parallel, in cases where the thing I'm measuring isn't already parallelized, and I want to be lazy.

throwaway127482··on Waiting for many things at once with io_uring
The problems you're describing sound rather niche - I can see how a deadlock or a 100% CPU issue could happen, but the biggest problem in my experience is the resource usage associated with the file watches, at least on Linux.
← PreviousPage 2 of 2