HNHacker News
TopNewBestAskShowJobs

saintfiends

196 karma · joined September 25, 2009

submissionscomments
saintfiends··on Meilisearch – search engine API bringing AI-powered hybrid search
Meilisearch is really good for a corpus that rarely changes from my experience so far. If the documents frequently change and you have a need to have those changes available in search results fairly quickly it ends up with pending tasks for hours.

I don't have a good solution for this use-case other than maybe just the good old RDBMS. I'm open for suggestions or anyway to tweak Meilisearch for documents that gets updated every few seconds. We have about 7 million documents that's about 5kb each. What kind of instance do I need to handle this.

saintfiends··on Preview of Explore Logs, a new way to browse your logs without writing LogQL
Loki OSS is just a sales pitch for their managed service. It doesn't work well without dedicating significant time tweaking and configuring it. Documentation is confusing at best if you want to do anything serious. You have to also be ready to handle support calls if you open it up for others to use, because it WILL have issues fairly regularly if you have a good volume of logs and query range is more than a day or two.

Unless you have the bank to go with their managed service, don't bother.

saintfiends··on Framework Laptop prices go as low as $639 thanks to refurbs and factory seconds
What's the best option to buy a framework laptop outside of US. I tried shipping them to a parcel forwarder but they didn't also accept non-US debit cards.
saintfiends··on Htmx, Rust and Shuttle: A New Rapid Prototyping Stack
sqlx [1] can definitely do this.

[1] https://docs.rs/sqlx/latest/sqlx/

saintfiends··on EdgeDB 3.0
Hey Yury, congratulations on the new release!

From what I'm seeing, the upgrade path is essentially dump and restore. This was the case for moving from EdgeDB v1 to v2 as well. Since EdgeDB is a fast moving target this creates a lot of friction for older databases to upgrade.

Is there plans for replication support or a more robust upgrade path?

saintfiends··on AstroNvim is an aesthetic and feature-rich Neovim config
I'm a long term vim user and now exclusively a neovim user. I adopted this from the first time I came across this. It's pretty neat, it does break from time to time but there's always a GitHub issue describing a workaround. It's pretty stable these days and breaks far less comparatively.
saintfiends··on Dotfiles Management
I've been using chezmoi too and this is the only feature I miss. It'd be interesting to know what solutions folks are using. Chezmoi has some discussions around it, mostly recommending to use run scripts.
saintfiends··on Show HN: SigNoz – open-source alternative to DataDog, NewRelic
We thought so too until we found out it doesn't support any kind of SSO

https://github.com/SigNoz/signoz/issues/1188

saintfiends··on Show HN: Open-Source Auth for NextJS / React
> Yes! Right now we only support OpenID Connect and OAuth1/OAuth2 delegation but more to come.

Does it support OAuth1 delegation. Could you point to the docs

saintfiends··on Launch HN: Jitsu (YC S20) – Open-Source Segment Alternative
How is event ordering handled when multiple instances of Jitsu are involved.
saintfiends··on Building a patient monitoring system with Go and Vue in 3 days
Interesting idea. I'm not sure how scalable this would be given the fragile nature of the tools.

I want to believe with enough indications of the monitoring itself (Is the screen being refreshed? Is network connected ? When was it last checked?) that this is a viable option and that would unlock a lot of possibilities.

But I can't shake off the feeling of uneasiness (What if it's not working and we don't know it's not working)

PS: I'm not bashing on what was done, just the general idea.

saintfiends··on Show HN: A compiler for a small language into x86-64 assembly
Thank you for this. I like that it's small enough to be motivational instead of being complex and intimidating.

World needs more of these for other complex topics.

saintfiends··on Kops – Kubernetes Operations
I like the fact that it can generate terraform configurations.
saintfiends··on Coping with Flexbox
Good concise article. Is there a tool to create such figures. They look really neat.
saintfiends··on What Is Zig's Comptime?
Interesting. I would love to see a similar article on memory management in Zig.
saintfiends··on When We Eat, or Don’t Eat, May Be Critical for Health
How do you calculate fat percentage and muscle mass. Is there a way that does not involve expensive equipment?
saintfiends··on Ready for Production Apps: Flutter Beta 3
Biggest blocker for me is not being able to use WebView.

Issue https://github.com/flutter/flutter/issues/730 has been open for 2+ years with no solution.

It would be nice to know how big of a challenge this is or if there is a plan to solve it at all.

saintfiends··on Gitlab 10.0 released
True. But AFAIK gitlab.com doesn't limit number of members for a project.
saintfiends··on Coreboot and Skylake, Part 2: A Beautiful Game
I really like where this is going. I'm seriously considering their phone. Only doubt I have is not knowing what battery life would be like.
saintfiends··on Bill Joy Finds the Jesus Battery
I genuinely checked if today is April 1st.
saintfiends··on Flutter – A mobile app SDK for iOS and Android
This is one of the blockers for me as well. It can't embed web pages inside Flutter widgets.
saintfiends··on ProtonVPN
How does this compare to TunnelBear [1]?

- TunnelBear is a bit more expensive (4.99$/mo, paid annually vs 4$/mo).

- TunnelBear supports up to 5 connections per account vs 2.

I use TunnelBear regularly for my browser and phone. Both works great.

My subscription is going to expire soon and I'll be open to try other VPN providers, not that there is anything wrong with TunnelBear. Any recommendations?

This site [2] has feature comparisons but experience using VPN services is another story.

[1] https://www.tunnelbear.com/ [2] https://thatoneprivacysite.net/vpn-section/

saintfiends··on Show HN: Passmgr – Securely store passphrases and retrieve them via commandline
How does this compare to Pass [1]. I like its simplicity where all passwords are stored in regular files, makes it really easy to backup and move around. I have it synced between Android phone and laptop.

Only downside that I've seen users mention is that filenames are readable.

[1] https://www.passwordstore.org/

saintfiends··on Gopher-OS: A Proof of Concept OS Written in Go
Interesting project.

What's all this voodoo inside Makefile, I would love more comments in there. I think that would be the first step for anyone wanting to contribute, to understand the Makefile.

    @echo "[go] compiling go sources into a standalone .o file"
    @GOARCH=$(GOARCH) GOOS=$(GOOS) go build -n 2>&1 | sed \
	   -e "1s|^|set -e\n|" \
	   -e "1s|^|export GOOS=$(GOOS)\n|" \
	   -e "1s|^|export GOARCH=$(GOARCH)\n|" \
	   -e "1s|^|WORK='$(BUILD_ABS_DIR)'\n|" \
	   -e "1s|^|alias pack='go tool pack'\n|" \
	   -e "/^mv/d" \
	   -e "s|-extld|-tmpdir='$(BUILD_ABS_DIR)' -linkmode=external -extldflags='-nostartfiles -nodefaultlibs -nostdlib -r' -extld|g" \
	    | sh 2>&1 | sed -e "s/^/  | /g"
edit I think I understand what's happening here, funny how writing it down helps one understand. It's just building up a build script with sed and executing it. The thing was I didn't know sed could do that. TIL
saintfiends··on The State of Go – Where we are in May 2017
Also a shining example of their poor type system.
saintfiends··on Consider a Dell Optiplex FX160 Instead of a Raspberry Pi
Care to explain? I pretty much exclusively buy Dell laptops. Their linux support is pretty good these days.
saintfiends··on Ngrok: Secure tunnels to localhost
Their 1.x is open source: https://github.com/inconshreveable/ngrok

This is a similar open source alternative: https://github.com/fatedier/frp

Both written in Go.

saintfiends··on Announcing Rust 1.15.1
My confusion was why the compiler didn't catch this, it is suppose to spot this sort of thing right?

Now that I think about it, maybe it has to do with `unsafe` block so the compiler doesn't check it.

My next question would be why does it need `unsafe`?

saintfiends··on Angular vs. React
> Vue being just behind react, it is a good choice however it lacks a list of best scaling practices, resulting in a lot of spaghetti code.

Is there any example of this? specially the spaghetti code part.

saintfiends··on Announcing Rust 1.15.1
I'm new to rust. Can someone explain what is the issue with following code?

    pub fn as_mut_slice(&self) -> &mut [T] {
        unsafe {
            slice::from_raw_parts_mut(self.ptr as *mut T, self.len())
        }
    }
Page 1 of 4Next →