feedback
nextest
feedback | nextest | |
---|---|---|
13 | 16 | |
61 | 1,968 | |
- | 3.3% | |
9.6 | 9.8 | |
5 days ago | 7 days ago | |
Go | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
feedback
-
My favourite Git commit (2019)
I stated using gofakeit's "hackerphrase" for all commit messages.
https://github.com/andrewarrow/feedback/commits/main/
hp | git commit -a -F -
hp is a golang binary that just spits out a hacker phrase. I have this aliased with the letter q for "quick" so I'm always checking in stuff with q return push done.
-
Show HN: Import openaddresses.io zipcodes longitude and latitude data
"zip_locations_zip_index" UNIQUE, btree (zip)
The following takes hours and hours to run:
https://github.com/andrewarrow/feedback/blob/main/location/zip.go
But you end up with a nice way to get an approximate postgis geometry for any zip code in the USA. (For free.) Anyone know of a faster way?
My favorite part of this code is buffer := make([]byte, 1). By making the buffer just a single byte, I can look for "\n" so much easier than if I was reading in 1024 bytes or 2,048 bytes etc and then I have to find that \n in the middle.
-
My Frugal Indie Dev Startup Stack
I love this list. One thing I'll add is I like to avoid using S3 or google's cloud storage AT ALL until I have > 30 GB. i.e. with google free tier of their compute engine you get a 30GB hard drive, 1GB ram, and two AMD EPYC 7B12 2250 MHz processors. So I make a fake bucket system using those free 30GB:
https://github.com/andrewarrow/feedback/tree/main/filestorag...
All I code I write is in bucket form, ready to flip a switch and use real buckets but 100% free up to that hard drive limit.
- A simple hard drive version of Google's bucket client
-
Random thoughts on concurrency, databases and distributed systems
I just used a mutex here:
https://github.com/andrewarrow/feedback/blob/master/stats/me...
Multiple go routines will call this method at same time but:
https://github.com/andrewarrow/feedback/blob/master/router/p...
Where I call it I start a new go routine so nothing is ever waiting on that mutex right?
- Yes, it is remote workers who spiked housing, rent costs
-
Show HN: A Hacker News for X
So this question https://news.ycombinator.com/item?id=35198563 prompted me to revisit the framework demo'ed here https://news.ycombinator.com/item?id=35033368
Just like reddit lets you go to what might be a 404 page /r/anything-you-want and you can then create that subreddit, I added this feature to remoterenters so you can make /rr/anything-you-want and be the mod of that sub.
To get the ball rolling with some content I made these two AI based subs:
https://remoterenters.com/rr/amazing-ai-understanding/
https://remoterenters.com/rr/writing-prompts/
And my friend "not_a_t1000" bot helped me add some interesting content. My favorite one in "amazing-ai-understanding" is about the Steering Wheel! How can it know this subtle meaning! So impressed!
Feel free to create your own new subs or add to these. Everything is open source. You can follow along with the commits to the "go on rails" framework here:
https://github.com/andrewarrow/feedback/
and the sample app here:
https://github.com/andrewarrow/remoterenters/
-
Ask HN: Is there a Hacker News for world news?
if anyone wants to pay for the domain, I'll set up copies of this https://remoterenters.com/ for any topic you want. Trouble is hard to compete with:
https://www.reddit.com/r/worldnews
https://www.reddit.com/r/marketing
https://www.reddit.com/r/business
for traffic and users.
-
Ask HN: Has GitHub Search always been broken?
paste an example search with zero results in code. Like I did:
https://github.com/andrewarrow/feedback/search?q=view&type=c...
but
https://github.com/andrewarrow/feedback/search?q=views&type=...
does have results.
-
Three Million U.S. Households Making over $150k Are Still Renting
I'm not sure exactly what features to add next to this site https://remoterenters.com/ but the idea is to help people find a building where their rent is actually a good deal. Because yes, many people will never get a mortgage and buy a condo or house. And a16z has a plan to give renters equity in their building + make the experience of living there 10x better.
nextest
-
Rust Tooling: 8 tools that will increase your productivity
cargo-nextest describes itself as a “next-generation Rust test runner”. To install, you need to run cargo install cargo-nextest.
-
My favourite Git commit (2019)
> On my work I make 1-15 commits a day. If I have to spend thought cycles on the commit message, that is time that goes from other productive endeavours.
I make roughly that many commits a day as well. If something's easy to understand I'll put in a simple commit message (e.g. [1]), but I do put in the effort for more complicated ones.
[1] https://github.com/nextest-rs/nextest/commit/efd194b2e1d8d61...
[2] https://github.com/oxidecomputer/omicron/commit/b07a8f593325...
-
Rust tech stack
If you need fancier testing than what's built into Rust, cargo-nextest is becoming quite popular.
-
Customizable testing framework
https://nexte.st/ is what is getting all the attention as a replacement test harness/framework these days.
-
Hey Rustaceans! Got a question? Ask here (11/2023)!
I believe cargo-nextest supports running separate binaries concurrently.
-
Fellow Rust enthusiasts: What "sucks" about Rust?
Do you already use nextest or something else? That really leans into test parallelism and sounds like a perfect fit for how you structure the tests.
- Альтернативний спосіб запускати тести
-
buffer-unordered-weighted: a variant of StreamExt::buffer_unordered where each future has a weight
I built it for cargo-nextest, in service of a new feature where some tests can be marked as heavier than others.
-
Small changes you can make in a rust codebase that have a significant impact
IMO 100% worth checking out: https://nexte.st/
-
Why does Rusts testing tools seem so much less polished compared to its other tooling?
For me, most of my needs are covered with next-test(https://nexte.st/), not that I have ever used any of the things you mentioned 😅
What are some alternatives?
TIGER-data - Preprocessing US Census TIGER data for Nominatim geocoder
cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.
go-furnace - Go Hosting Solution for AWS, Google Cloud and Digital Ocean
cargo-limit - Productivity improvements for Rust ecosystem: warnings are skipped until errors are fixed, LSP-independent Neovim integration, etc.
vox - Simple and lightweight Go web framework inspired by koa
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
freeStuffDev - list of free stuff for developer
shadow-rs - A build-time information stored in your rust project.(binary,lib,cdylib,dylib)
hamsterbase - self-hosted, local-first web archive application.
Cargo - The Rust package manager
bloop - bloop is a fast code search engine written in Rust.
TestNG - TestNG testing framework