Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aszlig
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
aszlig
6mo ago
Alternative solution: Just use a random regex as your local part, eg. "^[0-9]+$"@example.org
2.
▲
by
aszlig
8mo ago
There is a "Auto-hints" setting that should highlight the undo button in red once you're in an unwinnable state: https://uncrossy.com/settings.html
3.
▲
Bool toggling for the bool toggle enjoyers
(github.com)
2 points
by
aszlig
2y ago
|
0 comments
4.
▲
by
aszlig
3y ago
For games, I think it's even worse on GNU/Linux systems, since most game developers mainly target Windows and sometimes completely ignore conventions for other platforms (possibly since some game engines have that "Build for
5.
▲
by
aszlig
3y ago
This is actually very easy to patch: https://github.com/openlab-aux/vuizvui/blob/61b943d89b08959e... Essentially it's disabling gesture activation, so if you want to allow audio you need to do this expli
6.
▲
by
aszlig
6y ago
That's certainly true for the standard library and the documentation on the language itself. However for the internals, this wasn't always the case and it looked more like this: http://web.archive.org/web/2006
7.
▲
by
aszlig
6y ago
Agreed, the language support situation is a very mixed one in nixpkgs, where support ranges from rudimentary (or even non-existing) to well integrated and supported. Particularly the Erlang/Elixir situation is - as you already brought
8.
▲
by
aszlig
6y ago
That's easier said than done, since I think Nix has a somewhat steep learning curve. However, what I'm missing in most comments here is that - if I'm not mistaken - Flatpak and most others are essentially tailored towards dis
9.
▲
by
aszlig
6y ago
There was a patch[1] a few years ago, but apparently it didn't make it into mainline. At least looking in net/ipv4/tcp.c I haven't found any traces related to that. However, I could have sworn that I've seen a simil
10.
▲
by
aszlig
6y ago
You could map different ports to specific socket file names and use a dummy address, eg. like this: ip2unix -r out,addr=127.1.1.1,path=foo-%p.sock firefox --new-instance Whenever you then head over to something like http://127.1.
11.
▲
by
aszlig
6y ago
If programs call getsockname() the result is not a sockaddr_un, but instead sockaddr_in(6) is used from the original call to bind(). If the socket was implicitly bound, a random[1] address is generated. Things are a bit trickier if it get
12.
▲
by
aszlig
6y ago
Thanks a lot for the suggestion. While I can't change the title here on HN, the README now mentions LD_PRELOAD in the first paragraph and I also added a small FAQ[1] section about socat. [1]: https://github.com/nixcloud
13.
▲
by
aszlig
6y ago
https://github.com/nixcloud/ip2unix/commit/00dddf228a70ad230... That's what I had in mind someday™. Unfortunately, this has to wait for version 4.x maybe :-/
14.
▲
by
aszlig
6y ago
I'm not very familiar with Docker, but wouldn't something like "docker run some_image ip2unix -r /tmp/socket:8080 ..." work?
15.
▲
by
aszlig
6y ago
As others have mentioned, socat acts more like a router between different socket types/protocols but it doesn't change the behaviour of the program in question. So for example if you have a service listening to TCP port 1234, you
16.
▲
Show HN: ip2unix – Turn IP sockets into Unix domain sockets
(github.com)
94 points
by
aszlig
6y ago
|
23 comments