News for hackers. Stuff that matters.

random_

Re:Discord Reduced WebSocket Traffic by 40% on Friday September 20, 2024 @03:55PM (#41605059)
Moreover, i imagine a lot of these bots are built on top of an SDK instead of directly working with API calls, so would be just a matter of changing the SDK internals.

Show HN: A Reverse Proxy with Pingora

https://github.com/randommm/pingora-reverse-proxy

I've been playing with Pingora to create a reverse proxy that connects backend HTTP or HTTPs service to a single HTTPs frontend (similar to what is generally done with Nginx) serving distinct SSL certificates (using SNI and the host header) for each backend service.In this example, if you connect to https://127.0.0.1:4430:* with an SNI and Host header of somedomain.com, you will be served an...

( Read More... | no comments | on HN )
Re:Avoid Async Rust at All Cost on Saturday January 27, 2024 @04:37PM (#39160103)
interesting. I hope it's not too late to ask: could you expand a little bit, in particular, what do you mean by "over very general dataflow graphs"?
> The source of this bug is LLVM [2] which Rust relies on for optimisations and machine code generation.

So basically rustc_codegen_gcc and cranelift can compile code that don't with LLVM and then introduce (or solve) new bugs?

What's NPA?
Re:F*** Paywalls on Saturday November 04, 2023 @04:41PM (#38144915)
But I wonder if it's not always intentional as maybe ad blockers kill some of paywalls some times?
Re:F*** Paywalls on Saturday November 04, 2023 @04:38PM (#38144894)
The irony is that someone paid for a 3 letters domain + infrastructure to keep this running for free.
Re:NewPipe – The lightweight YouTube experience for Android on Saturday November 04, 2023 @04:30PM (#38144829)
Amazing app, I hope it will last for a long time.
Re:Bevy 0.12 on Saturday November 04, 2023 @04:20PM (#38144743)
Very cool!! On the last update 0.10 -> 0.11, I had to make quite a few changes on my app, but this time it compiled out of the box!
Re:F*** Paywalls on Saturday November 04, 2023 @01:19PM (#38143091)
12ft.io is actually down for me now:

This Deployment has been disabled.

Your connection is working correctly.

Vercel is working correctly.

402: PAYMENT_REQUIRED Code: DEPLOYMENT_DISABLED

Re:Private Equity Is Devouring the U.S. Economy on Monday October 30, 2023 @10:12AM (#38069683)
Vet is probably a very good example of economies of scale. I remember a vet in my town in Brazil complaining how hard it is if he get ill (or take vacations i presume), that he will lose his customers and how much he regretted not becoming a state employee.
A good example of that is how the Axiom of choice impacts the measure/probability theory.

It imply the existence of some sets that cannot be Lebesgue measured (which is an generalization of width, volume, etc for arbitrary sets, also generalization of probability for arbitrary sets)... but it's not possible to present a single example of those non measurable sets, only prove that they exist.

And it's possible to construct an alternative theory with the axiom of determinacy, then any subset of R is measurable.

* https://en.wikipedia.org/wiki/Axiom_of_choice * https://en.wikipedia.org/wiki/Axiom_of_determinacy * https://en.wikipedia.org/wiki/Lebesgue_measure

Re:Show HN: Rust Slack chat bot interacting with LLMs on Monday October 30, 2023 @04:49AM (#38067018)
Related, I also made a Slack app that converts HTML to PDF using Chromium (Dockerfile provided) and send to user https://github.com/randommm/rust-slackbot-html-to-pdf/

Show HN: Rust Slack chat bot interacting with LLMs

https://github.com/randommm/rust-slackbot-llm

Hi there, I've built this Slack chat bot with Rust, with a step by step on how to create, configure and deploy the bot.Not super feature complete, but I imagine that a reasonable starting point template for anyone interested in creating Slack apps/bots in Rust:Features and notes:* Allows the user to interact with a large language model, in this case HF inference API, but should not be hard to...

( Read More... | 1 comment | 2 points | on HN )
Re:Exploiting DNS response parsing on the Wii U on Sunday October 29, 2023 @09:02AM (#38058199)
oh, I have missed this and right at the top of the article, thanks!
Re:Exploiting DNS response parsing on the Wii U on Sunday October 29, 2023 @08:01AM (#38057717)
> At this point I was interested and decided to take a look if the Wii U implementation suffers from the same issue. To my surprise the Wii U implementation looks something like this instead

So, how does the author got hold of Wii's code, is it publicly available or was it some kind of reverse engineering?

Re:After 28 years, SSLv2 is still not gone from the internet on Saturday October 28, 2023 @05:17AM (#38048368)
If I understood it correctly, it can actually be worse than fallback to plain text, because if a malicious actor can stability a connection using legacy SSLv2, then this connection can be used to decrypt the session for users running the latest TLS version.

While plain text connections would affected only users using the plain text connection.

See comment from https://news.ycombinator.com/item?id=38047633

Re:Onion Futures Act on Sunday October 22, 2023 @04:24PM (#37978756)
I swear I thought it was about banning trading futures on Onion Tor hidden services. Then on second read I thought it was about banning trading in layers, like onions, whatever that meant.
Re:Rip – Rust crate to resolve and install Python packages on Friday October 20, 2023 @05:37AM (#37954032)
Any plans to integrate this with Poetry?
Re:Using extra Firefox profiles to make my life better on Friday October 20, 2023 @05:36AM (#37954024)
same for me. That and vertical tabs are quite convenient. IPFS integration is also quite cool, would be nice to see that in all mainstream browsers.
Re:Slack is retiring its status account on X on Friday October 20, 2023 @05:23AM (#37953948)
Finally, well deserved. Now just waiting for Wile E. Coyote and Tom.
I use Facebook translation from Ukrainian to English quite often, and frankly it's much lower quality than Google Translate.

Quite often I saw quite similarly absurd stuff coming out of those translations, so I'm not at all surprised at this.

Re:Why Async Rust? on Sunday October 15, 2023 @03:52PM (#37892836)
> I can't risk losing days to some tangle of an async runtime compatibility snafu.

At this point in time, if you use Tokio, won't basically everything mainstream work? At least that has been my experience so far.

Re:Why Async Rust? on Sunday October 15, 2023 @02:15PM (#37891998)
Do you know an example of such case in the Rust ecosystem?
And here we have the tyranny of the marginal user as posted here a while ago =/ https://news.ycombinator.com/item?id=37509507
Re:Ask HN: Is it just me or is mobile web browsing awful? on Saturday October 14, 2023 @05:32AM (#37879207)
> the relentless nagging by some sites to install the mobile apps needs to die.

It seems all about the hope that you can keep the user engaged long terms. I don't blame them, competition for user attention is brutal in the age of the SEO content farms, oligopoly of social networks and the "Tyranny of the Marginal User" as posted here a few days ago.

But probably way less effective now that most users seem overwhelmed by so many push notifications and instinctively learned to mass ignore or dismiss them (myself included, just randomly noticed that background habit a while ago). And then we end-up with piles of installed unused apps just like lost websites in the browser history.

Older »