1,535 karma · joined Sep 22, 2014 (12y ago) · 318 submissions
comment 1y ago · link · parent
i.e. take a look at the glibc implementation of 'strcmp` [0]
[0] https://github.com/bminor/glibc/blob/master/sysdeps/x86_64/m...
comment 1y ago · link · parent
[0] https://opendata.vancouver.ca/explore/dataset/lidar-2022/inf...
comment 2y ago · link · parent
> Is there a way to point at an arbitrary API endpoint?
Yes. Set the `local_uri` setting in the configuration (`llm2sh --setup`), and either pass `-m local` on the CLI or set `"default_model": "local"` in the config.
38.
Show HN: Llm2sh – Translate plain-language requests into shell commands(github.com ↗)
67 points · by RandomBK · 2y ago · 21 comments
comment 2y ago · link · parent
From what I can tell, Mauritania is not particularly tourist-friendly. It has an active "Reconsider Travel" advisory with the US State Dept, and there was a coup there as recently as 2008.
How does one even go about planning the logistics of such a trip?
comment 2y ago · link · parent
>"For example, the separation between kernel mode and user mode is a classic and straightforward security boundary."
>"Non-boundaries: [...] Administrator to Kernel [...] Administrative processes and users are considered part of the Trusted Computing Base (TCB) for Windows and are therefore not strong isolated from the kernel boundary."
The reasoning makes sense, but that's quite a mixed message for an unintuitive nuance.
comment 2y ago · link · parent
* I love the idea, and I'm interested to see more progress in this direction.
* I'm not a huge fan of the syntax - for me, the commands are the star of the show, while the async/await is a glue. This syntax emphasizes the async/await while the important stuff get shuffled into quotes.
* Don't make me install node - and especially not system/user-wide packages - to run a script.
Having said all that, this is a neat idea and a cool hack on top of javascript language features.
comment 2y ago · link · parent
comment 2y ago · link · parent
I ultimately tore down that setup and just swapped to dual-boot. The steps needed to set up high-performance VFIO (i.e. clearing enough contiguous RAM for 1GB Hugepages) meant most of the benefits of VFIO never really materialized for me.
comment 2y ago · link · parent
Turning on HyperV to go KVM->HyperV->Windows effectively 'laundered' my VM signature enough to satisfy the anticheats, though the overall perf hit was ~10-15%.
comment 2y ago · link · parent
Twitter failed a Motion to Dismiss, which is basically the judge saying "Schobinger's arguments aren't completely bonkers and he may be on to something". The case hasn't even gotten to the trial stage yet - the actual decision on whether a contract was violated or not won't be until after the trial.
I'm not a fan of Musk's legal strategies, but it's quite frustrating seeing so many normally reputable sources making such a big deal out of so little.
comment 2y ago · link · parent
This line really stood out to me - I was aware early semi yields were poor, but this poor? Was this par-for-the-course for technology at that time, or was this bad even by 70s standards? What do typical yield numbers look like today?
comment 3y ago · link · parent
Out of curiosity: Have you considered alternative licenses like SSPL or the Elastic license, which make a clear(er) delineation between whitelabelling/hosting vs simply using the application? I'm sure I'm not the first person to have written off Windmill because of the AGPL.
comment 3y ago · link · parent
In particular, the line "[...] to build a feature on top of Windmill, to comply with AGPLv3 your product must be AGPLv3 [...]" seems to imply the company aligns with the stance taken by Google and other companies: that even calling the application via API is enough to trigger copyleft [1].
This implies that if I were to build a sign-up form that triggers a Windmill workflow in the backend, my entire application would either need to be AGPLv3 or I would need a commercial license.
That's perfectly reasonable, as it means any non-AGPL use will have to contribute back to Windmill via a commercial license. However, it does mean positioning this as an "Fully Open-source" alternative to Airflow is only technically correct. This is much closer in practice to "source available" than how most developers would think as "open source".
If this isn't how Windmill wants their license interpreted, I highly encourage clarifying things.
[0] https://github.com/windmill-labs/windmill#commercial-license
[1] https://opensource.google/documentation/reference/using/agpl...
comment 3y ago · link · parent
It looks like Workflow is primarily the former (code-in-database), but provides an API to sync things from a git repo. Is there a mechanism to enforce the rule that certain scripts/functionality/secrets are locked behind workflows sourced from a provided repository?