HNHacker News
TopNewBestAskShowJobs

lyjackal

233 karma · joined October 24, 2015

submissionscomments
lyjackal··on Ask HN: What's the simplest static website generator?
Do you have a preferred programming language? Whether building your own or using a framework, you’ll need to deal with the ecosystem. There’s lot is boots recommendations here, but if going for easy, I would make the initial decision based off what environment you’re already most comfortable with (JavaScript, Python, go, bash). In general I’d prefer an ssg over server side includes because there’s so many easy and free CDNs that you can use
lyjackal··on Storybook 8
It’s also extremely bloated. The storybook related dependencies were slowing down our builds significantly. We have done additional storybook plugins, but making storybook an optional dependency reduced the build server’s node_modules size by 1GB!
lyjackal··on Qdrant, the Vector Search Database, raised $28M in a Series A round
Qdrant is open source (with hosted offerings).
lyjackal··on Csvlens: Command line CSV file viewer. Like less but made for CSV
You can do the same with SQLite, which is usually already installed in most environments

    sqlite> .import test.csv foo --csv
lyjackal··on Suggestions: A simple human-readable format for suggesting changes to text files
One thing that especially git fails at, is content that’s been moved around. Moving content is a simple and powerful editorial tool, but it starts to make any simple diff incomprehensible, showing large sections as added and removed.

Curious if you’ve thought about attacking this problem, or have seen any other tools that solve it elegantly?

lyjackal··on Mistral 7B Fine-Tune Optimized
It does. LLMs are most efficient when running large batches, so the gpu cost is super high if you’re underutilizing it. It will cost more than a cloud provider like open ai who has the volume to keep their GPUs saturated
lyjackal··on Tree plantations are not the environmental solution they’re purported to be
In already destroyed eco systems, “Just letting things grow” tends to lead to unhealthy monoculture of invasive species. Where I live, it’s mostly a bunch of buckthorn, autumn olive, and honeysuckle. Maybe they’ll eventually heal themselves, but that’s on a much larger timescale than humans. Seems like a good idea for our own well being to contribute to healing those ecosystems faster.
lyjackal··on AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting
I see an

  -l ts
And an

  -l rs
In the examples. Those target typescript and rust. Looks like it’s built in tree-sitter, so presumably any language that supports that should work
lyjackal··on Phind Model beats GPT-4 at coding, with GPT-3.5 speed and 16k context
I don't think they're saying they're doing batch size of 1, just giving performance expectations of user facing performance
lyjackal··on LARPing and Violent Extremism
This is another fascinating flavor of LARPing: a Polish group larping modern American 4th of July

Their Facebook group: https://m.facebook.com/profile.php/?id=100075824776496

There’sa few articles with pictures floating around. This one’s from Vice: https://www.vice.com/en/article/g5vpbx/poland-larp-america-o...

lyjackal··on CloudNativePG – Postgres Operator for Kubernetes
This. If it’s a database, I’d like the deployment infrastructure to be aware during upgrades and able to execute complex actions
lyjackal··on The Tyranny of the Marginal User
Hmm, I think the authors point is more towards attention addiction, rather than specific average types of people. It’s more a matter of setting a low bar to encourage more people to be distracted by your app when they really shouldn’t be using it. Basically increasing the number of apps that people check in on, especially when those users are in their marginal time (before bed, while cooking, etc.).
lyjackal··on Why Tailwind CSS Won
And pseudo selectors like hover, and animations. If these problems were solved in css style tags, I’m not really sure tailwind would have much to offer. It’s basically inline styles as class names
lyjackal··on Attention Is Off By One
I agree that he used the term error somewhat incorrectly. But he seems mainly to just be making the point that sumac introduces a large outlier which in turn is only now an issue that the community is now aggressively trying to quantize models
lyjackal··on Hops for beer flourish under solar panels
Curious if there’s any additional maintenance or safeguards needed to keep the hops off the face of the solar panel. Seems like that could be problematic
lyjackal··on Llama: Add grammar-based sampling
The model returns probabilities across the full set of tokens. This restricts the tokens to those that conform to the grammar, and samples from those
lyjackal··on Langchain Is Pointless
I didn’t think gp was recommending writing every thing from scratch, but rather advocating for more piecemeal tools that can be refactored or replaced, rather than buying into a whole framework. Those libraries you mentioned are much lighter weight. I like using guidance partially since it provides a unified interface to language models, but it’s not trying to do too other than managing prompts, output and iteration within prompts
lyjackal··on Astro framework lowers competitors by ~40% on performance graph to looks better
Seems like now, predators due to some padding with the number text, the bar chart is still not proportional (but in the other direction. 98 should be further out)
lyjackal··on Astro framework lowers competitors by ~40% on performance graph to looks better
For what it’s worth, Astro is a static site generator that only relies on JavaScript at build time, and has optional integration with the usual js frameworks. In many ways that’s what it does solve (just importing html)
lyjackal··on Native JSON Output from GPT-4
Would be nice if you could send a back and forth interaction for each key. This approach turns into lots of requests that reapply the entire context and ends up slow. I wish i could just send a Microsoft guidance template program, and process that in a single pass.
lyjackal··on Ask HN: Are there any good guides on how to start a startup?
Have you looked at https://www.startupschool.org/? Probably doesn't have a lot of the financial details like registering a company, but it talks about the lifestyle, risk, what to focus on, etc.
lyjackal··on Asking ChatGPT to Be HAL
Seems pretty spot on
lyjackal··on INSTRUCTOR embeddings - State-of-the-Art Results on 70 Diverse Datasets
Instructor is at the top of the huggingface embedding benchmark leaderboard (https://huggingface.co/spaces/mteb/leaderboard), but I haven't heard much about it. In my testing it works pretty well relative to others as long as the prompt is crafted in the correct format.
lyjackal··on An example of LLM prompting for programming
Generally, I agree that approach works well. It’s going to perform better if it’s not trying to fulfill your teams existing patterns. On the other hand, allowing lots of inconsistencies in style in your large code base seems like a quick way to create a hot mess. Chat prompts seem like a really difficult way to communicate code style and conventions though. A sibling comment to yours mentions that a copilot autocomplete seems like a much better pattern for working in an existing code base, and I tend to agree that’s much more promising. Read the existing code, and recommend small pieces as you type
lyjackal··on Show HN: TypeAPI – An OpenAPI alternative optimized for code generation
I see this is an alternative to open api, but reading through the site docs, I’m not clear on what it’s adding. There’s a number is code gen tools already for open api.
lyjackal··on Perseus – NextJS alternative in Rust
Yes, it’s full stack framework that compiled front end to wasm. They mention it in the QuickStart https://framesurge.sh/perseus/en-US/docs/0.4.x/quickstart
lyjackal··on Pause Giant AI Experiments: An Open Letter
Does a cup of water have will? Does a missile have will? Does a thrown hammer have will? I think the problem here is generally “motion with high impact.” Not necessarily that somebody put the thing in motion. And yes, this letter is also requesting accountability (I.e some way of teaching who threw the hammer)
lyjackal··on Photoprism – open-source Google Photos Alternative
Thanks for the links! Didn’t know about these others. I’ve been using PhotoSync, but it’s automation options are kind of lackluster
lyjackal··on Is this poison ivy?
Same here. I dump all my clothes in the laundry and scrub down in the shower and that’s prevented bad reactions since. Occasionally I miss small spots
lyjackal··on Is this poison ivy?
I have a LOT of poison Ivy in my yard (3 acres in Michigan). Scored 53/55 (2 false positives). I’ve been trying to remove poison Ivy from certain patches for gardens with limited success. I’ve tried repeated mowing; dressing up in protective gear and ripping up roots in the wet months; covering the area in cardboard and planting over. These with for a bit, but doesn’t work well where the Ivy is well established. I’m trying to avoid herbicides since I don’t want to poison the earth. Anyone have similar experience and have any recommendations about what works for you? I’ve considered “goat rentals.” Wondering if they’re effective at ripping the roots out.
← PreviousPage 2 of 5Next →