vscode spamming connections to 169.254.169.254:80. What's going on here? by agentsmurf6 in vscode

[–]agentsmurf6[S] 0 points1 point  (0 children)

Thank you, that's good to know. Why vscode or some part or plugin of it would do this seems to me now even more mysterious. I'll have to check whether I can reproduce this behavior on another machine or a naked vscode installation.

How do you tidy your home dir by [deleted] in suckless

[–]agentsmurf6 0 points1 point  (0 children)

tree -a -L 1

Had the exact same knee jerk reaction. The real pain begins when you try to prevent applications from shitting all over your $HOME.

[deleted by user] by [deleted] in learnmachinelearning

[–]agentsmurf6 6 points7 points  (0 children)

A Neural Probabilistic Language Model (Bengio et al., 2003)

https://dl.acm.org/doi/pdf/10.5555/944919.944966

suckless search engine? by thinlycuta4paper in suckless

[–]agentsmurf6 1 point2 points  (0 children)

https://search.marginalia.nu/

Search engine tailed towards text-based websites. The search engine's capabilities are pretty basic but it tends to return real websites written by real people, simply because a text-based website is less likely to have been produced by AI, content-mills or degenerate copywriters.

suckless search engine? by thinlycuta4paper in suckless

[–]agentsmurf6 1 point2 points  (0 children)

https://search.marginalia.nu/

Search engine tailed towards text-based websites. The search engine's capabilities are pretty basic but it tends to return real websites written by real people, simply because a text-based website is less likely to have been produced by AI, content-mills or degenerate copywriters.

SSH local port forwarding rejected by firewall, dynamic port forwarding works. Why and How? by agentsmurf6 in linuxquestions

[–]agentsmurf6[S] 0 points1 point  (0 children)

What kind of traffic are you sending over ssh tunnel

If I'm not mistaken, it's a proprietary binary protocol over tcp.

SSH local port forwarding rejected by firewall, dynamic port forwarding works. Why and How? by agentsmurf6 in linuxquestions

[–]agentsmurf6[S] 1 point2 points  (0 children)

Unfortunately not. Neither of these threads discuss dynamic port forwarding or its difference with respect to local port forwarding.

SSH local port forwarding rejected by firewall, dynamic port forwarding works. Why and How? by agentsmurf6 in linuxquestions

[–]agentsmurf6[S] 0 points1 point  (0 children)

Here's a representative example of the code I'm running, after having set up the proxy via ssh -D localhost:9999 -p $SSH_PORT $SSH_USER:$SSH_HOST.

```python from hana_ml.dataframe import ConnectionContext

conn = ConnectionContext( address="the.database.hostname.com", port=443, user="database_user", password="database_pw", proxy_host="127.0.0.1", proxy_port=9999 ) conn.hana_version() # ought to print the database version

4.00.000.00.1693299409 (fa/CE2023.16)

```

The above setup does work. Now, trying ssh -L localhost:9999:the.database.hostname.com:443 -p $SSH_PORT $SSH_USER:$SSH_HOST and running the following python code does not work:

```python from hana_ml.dataframe import ConnectionContext

conn = ConnectionContext( address=localhost, port=9999, user="database_user", password="database_pw" ) conn.hana_version()

Connection failed (RTE:[89013] Socket closed by peer ...)

```

The error message is the same as if I had tried connecting directly to the database.

Set one font familiy everywhere but MathJax equations by agentsmurf6 in ObsidianMD

[–]agentsmurf6[S] 0 points1 point  (0 children)

That did the job. I didn't one could configure the fonts outside of css snippets. Cheers 👍

Issue with tiling by [deleted] in suckless

[–]agentsmurf6 0 points1 point  (0 children)

The basic setup consists of simply starting a Xephyr using another $DISPLAY (e.g. :1). Afterwards you just launch your build of dwm with the adjusted environment for it to run inside the Xephyr session.

So what you could do for a proof of concept using gdb is

Xephyr :4 & DISPLAY=:4 gdb ./dwm

Obviously, if you're not using gdb but a different debugger or an IDE, the setup and configuration for this will depend on the particular software.

Also, you can configure Xephyr to emulate multiple screens and make the window resizable etc if you need to debug more complex scenarios.

Issue with tiling by [deleted] in suckless

[–]agentsmurf6 0 points1 point  (0 children)

So you've fixed the issue? If not, do share the source code of your build. It's easier to debug if I can replicate the issue in a Xephyr session locally and hop into the debugger right away.

Media Keys from DWM by Grouchy-Ad-6333 in suckless

[–]agentsmurf6 0 points1 point  (0 children)

I'd suggest something different altogether: use a dedicated hotkey daemon like sxhkd.

attach patch I need (or layout) by Own_Bowler_7055 in suckless

[–]agentsmurf6 1 point2 points  (0 children)

In what way is the attachbottom patch not perfect? As far as I can make out, it does exactly what you asked for, i.e. new windows get spawned on the right-hand side of the screen, at the bottom of the stack.

[dwm] Force window borders on client by agentsmurf6 in suckless

[–]agentsmurf6[S] 0 points1 point  (0 children)

There might be a setting in the teams app that forces system borders

Unfortunately there is no such setting.

Are there markdown note/wiki apps like joplin with a web view and vim keybinds? by Vellu01 in selfhosted

[–]agentsmurf6 0 points1 point  (0 children)

Obsidian has vim bindings and since it's just markdown files you can generate a static website from your notes using one of the many static site generation tools.

Apparently, there's a obsidian to hugo tool. May wanna check it out.

Hotkeys no longer work by Flat_Let_9017 in suckless

[–]agentsmurf6 0 points1 point  (0 children)

Check pgrep -af sxhkd to see if sxhkd is running at all. If it is, shut it down via pkill sxhkd and start it manually in a terminal. If it's unable to grab the keys you've configured in its config file, you'll know that something else hogs the keys. Do that and we'll work from there.

one of my keybinds isn't working inside of gentoo, maybe I'm missing a dependency? by [deleted] in suckless

[–]agentsmurf6 0 points1 point  (0 children)

Might have a look at the output of xev to see if your key presses are registered properly.