News for hackers. Stuff that matters.

michalmatczuk

Re:Bionic reading converter for ePub in Rust on Monday October 28, 2024 @04:46AM (#41968941)
Tired of using Python tools I rewrote epub bionic conversion is Rust.

Let me know if have some good ideas for features or integrations.

Re:Go read /etc/hosts with net.lookupStaticHost() on Friday February 23, 2024 @10:56AM (#39482172)
We need to check if given domain name points to localhost.

Previously we used resolver with custom dialer that never dials connection but this resulted in unexpected allocations :/

This patch links net.lookupStaticHost(), clean and simple.

Re:Otter, Fastest Go in-memory cache based on S3-FIFO algorithm on Saturday December 23, 2023 @01:43PM (#38746803)
The issue is Go stdlib does not have parallel hash map.

We have https://github.com/puzpuzpuz/xsync#map a different Cache line hashmap impl.

Re:Show HN: Forwarder – FOSS MITM proxy written in Go on Thursday December 21, 2023 @05:32AM (#38718881)
Good point. We are getting stated.

Here's draft proposal for 1.3 to add this feature https://github.com/saucelabs/forwarder/issues/584.

The idea is to allow users work in JavaScript with Go http.Request and http.Request. Interop between Go and JS in Goja is very good.

Re:Show HN: Forwarder – FOSS MITM proxy written in Go on Thursday December 21, 2023 @01:40AM (#38717729)
That's not currently on the roadmap.

Please file an issue, we'll see what we can do.

Re:Show HN: Forwarder – FOSS MITM proxy written in Go on Wednesday December 20, 2023 @05:13PM (#38714338)
You have a lot of flexibility with PAC files, so I guess that's possible. Some PAC files can be quite complex.

Another option would be using --deny-domains it accepts a list of regular expressions, you can prefix an item with - to exclude it.

https://forwarder-proxy.io/cli/forwarder_run/#deny-domains

Re:Show HN: Forwarder – FOSS MITM proxy written in Go on Wednesday December 20, 2023 @04:51PM (#38714114)
Thank you, looks like we could apply some hardening here indeed.

Show HN: Forwarder – FOSS MITM proxy written in Go

https://forwarder-proxy.io

I'm working at Sauce Labs on a fast MITM proxy.If you are using mitmproxy, Fiddler or Charles proxy in your job I believe you'll find it invaluable.Forwarder 1.1 is now available, complete with a Grafana Dashboard for effortless monitoring. We are committed to making it great.I welcome your feedback.Cheers Michał

( Read More... | 17 comments | 4 points | on HN )
FYI it seems that llm install llm-embed-jina is missing yaml dependency

  File "/opt/homebrew/Cellar/llm/0.11_1/libexec/lib/python3.12/site-packages/llm/default_plugins/openai_models.py", line 17, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

Ask HN: State of Running Windows VMs on Apple M1/M2 with Vagrant

Maybe I'm missing something but it seems that running Windows on modern Apple hardware with Vagrant is still an open problem.The most active Vagrant Windows maintainer is Gusztáv Varga(gusztavvargadr)[1] I opened an issue in gusztavvargadr/packer [2] where I discuss my findings.Maybe someone has better idea how to approach it.Also, Microsoft archived their Vagrant provider [3] claiming they do...

( Read More... | no comments | on HN )