Better HN
topnewbestaskshowjobs
Log inSign up

hoechst

450 karma · joined Nov 26, 2014 (12y ago) · 50 submissions

https://marco-nett.de
Submissions

comment 5d ago · link · parent

> The pre-release info on 19.6.0 says that it addresses nginx2shell

no, that's about different CVEs

2.

GitLab 19.6.0 is out and still vulnerable to Ruby2Shell and NGINX2Root

29 points · by hoechst · 5d ago · 8 comments

comment 3mo ago · link · parent

More details in the developer portal: https://developer.apple.com/support/apps-in-the-eu/

It seams that for "reader apps" (like Netflix / Spotify), things got slightly better (https://developer.apple.com/support/reader-apps/#:~:text=16....):

> Beginning October 1, 2026, reader apps distributed in the EU may promote out-of-app offers for digital goods and services without an actionable link [...]

So you can now at least promote your offers, which was forbidden previously.

A reader app is, in Apples words: "With reader apps, people can sign in to their account created outside the app, letting them view and enjoy previously purchased media content or content subscriptions on their Apple device."

comment 4mo ago · link · parent

very cool. project, will evaluate this in detail.

one note, on the "Feel your sensitivity." page, it says " raw input off — OS mouse acceleration is active. Your browser couldn’t give OpenAim raw mouse input, so your OS acceleration curve is reaching the game: the same hand motion turns further when you move faster, which no aim training survives. On Linux: set your mouse’s libinput acceleration profile to “flat” (unaccelerated). Chrome and Edge deliver raw input directly."

but my mouse is definitely unaccelerated (confirmed via `xinput list-props pointer:"Logitech PRO X 2"`). i am unsure if this leads to erroneous results when aim training.

i'm on: Chromium 150, linux, x11 kde plasma.

comment 4mo ago · link · parent

Hi, OP here. I agree with you, "Wayland input latency" is inaccurate and I added a note to the article explaining this.

comment 4mo ago · link · parent

Hi, OP here. I just made sure no other user space application were running. Something that basically can be reasonable expected by a person that cares about game performance to do. For example, no one would stop sshd before their gaming session, but closing a Browser is reasonable imo.

That said, this is a pure gaming PC with a Desktop Linux installed, it's not like there's a lot running on there in the first place: no 5 random docker containers, no AppArmor and nothing in kernel space other than what comes by default with CachyOS.

comment 4mo ago · link · parent

OP here, thank you for the feedback. I will keep it in mind for the next time I'm soldering something.

comment 4mo ago · link · parent

That's awesome, odd that I did not come across your project when i was researching this. I'll make sure to read your posts and source code.

comment 4mo ago · link · parent

Yes, I am determined to shield my servers from malicious actors and bots that attempt to exploit it. This sometimes can lead to false positives and I am willing and cooperative in rectifying this to allow open access to real people that want to access the services I provide and make sure stuff like this won't happen again.

The security and availability of my servers is as important to me as the ability for anyone to access the public services I provide. Which is why I responded to you immediately and asked for your cooperation to help me fix the problem.

You not being cooperative helps no one. Not yourself, not other people with the same issue and not me who's trying to fix it.

Crowdsec is free btw, I do not pay anything.

comment 4mo ago · link · parent

Hello, this is my website and I do not know what you mean by this. If you give me technical details (like the subnet your operating out of), I can take a look at it.

My webserver is using crowdsec (https://www.crowdsec.net) to ban malicious IPs and I would guess that you are somehow unintentionally affected by this.

You can also test your IP by entering it into the crowdsec website to see if it is affected.

11.

Measuring Input Latency on Linux: X11 vs. Wayland, VRR, and DXVK(marco-nett.de ↗)

407 points · by hoechst · 4mo ago · 290 comments

comment 4mo ago · link · parent

In Quake 3, yes. Here's a nice, short video on this: https://www.youtube.com/watch?v=he02vJvKaRs

To achieve 333 fps in Quake Live, you can unlock fps with `250x` and then use an external frame limiter, setting that to 333.

I haven't tested this, but I would guess that they addressed this bug in Quake Live.

Tho I still would expect there to be some physics-related issues and other oddities when running the game at 1000 FPS.

13.

Why 'com_maxfps 250x' uncaps Quake Live's frame rate(marco-nett.de ↗)

9 points · by hoechst · 4mo ago · 3 comments

comment 5mo ago · link · parent

a free dns service? wow that's insane.

comment 7mo ago · link · parent

tl;dr:

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

comment 1y ago · link · parent

i though this is about http://xchat.org and got nostalgic :(

comment 1y ago · link · parent

i'm still using postman v9 from 2022, which is pre-bloat and good software.

comment 1y ago · link · parent

idk how you would define "no tracking", but this is using vercel insights, a tracking tool.

altought i prefer the default HN interface, i think the ui is generally fine and you did a good job and avoided overengineering.

with a text heavy page like HN, the most important thing is imo to carefully choose a font family and font properties (line-height, letter-spacing, etc.). as is, the default HN does a better job with this but leaves a lot of room for improvement as well.

personally, i'm using a few lines of css to add dark mode to default HN and zoom in to 125% cause the default font-size ist too small for me (an old person).

comment 1y ago · link · parent

Much of it is just "put this magic string before your prompt to make the LLM 10x better" voodoo, similar to the SEO voodoo common in the 2000s.

just remember that it works the same for everyone: you input text, magic happens, text comes out.

if you can properly explain a software engineering problem in plain language, you're an expert in using LLMs. everything on top of that people experimenting or trying to build the next big thing.

comment 1y ago · link · parent

documents like https://github.com/obra/superpowers/blob/main/skills/testing... are very confusing to read as a human. "skills" in this project generally don't seem to follow set format and just look like what you would get when prompting an LLM to "write a markdown doc that step by step describes how to do X" (which is what actually happened according to the blog post).

idk, but if you already assume that the LLM knows what TDD is (it probably ingested ~100 whole books about it), why are we feeding a short (and imo confusing) version of that back to it before the actual prompt?

i feel like a lot of projects like this that are supposed to give LLMs "superpowers" or whatever by prompt engineering are operating on the wrong assumption that LLMs are self-learning and can be made 10x smarter just by adding a bit of magic text that the LLM itself produced before the actual prompt.

ofc context matters and if i have a repetitive tasks, i write down my constraints and requirements and paste that in before every prompt that fits this task. but that's just part of the specific context of what i'm trying to do. it's not giving the LLM superpowers, it's just providing context.

i've read a few posts like this now, but what i am always missing is actual examples of how it produces objectively better results compared to just prompting without the whole "you have skill X" thing.

comment 1y ago · link · parent

Just because a popular new tool runs in the terminal, doesn't make it a shining example for the "Unix philosophy" lol. the comparison makes no sense if you think about it for more than 5 seconds and is hacker news clickbait you and i fell for :(

comment 1y ago · link · parent

I personally use 0TB per month across 6 CPX21 servers (I know I’m over-provisioned; that’s not the point).

Kinds of is the point tho, you're hogging resources you don't actually need (not talking about traffic here ..).

People probably spam-provisioned cheap CPX boxes to get cheap bandwidth.

Also, complaining about a "large 27.52% price increase" is kind of absurd when the absolute value of the increase is just under 2€.

comment 3y ago · link · parent

So you'd write (presumably a big) admin web interface in straight XML + CSS by hand? I don't know the details, but that sounds like a very long and painful process which will end up being hellish to maintain, plus a huge amount of training time for new devs to get familiar with the system.

If you even find new devs who'd want to work on this. Who wants to acquire very niche domain knowledge that you can't apply anywhere else?

comment 3y ago · link · parent

> Similarly, the bare metal solution consisting of nginx with manual Let’s Encrypt cert setup was too much of a hassle.

It's not a hassle. Setup once and then forget about it. It's dead simple, easy and there's a million tutorials on it online.

But it's boring (this is where I'm going to old-man-ramble about things, so better stop reading now). Imo, that's why we have so much bloat, complexity and overkill use of containerization that requires orchestration in software and devops. We don't go the easiest possible route, but the one that seems interesting and most fun.

I totally get playing with new stuff and going totally over board just to host a static html file for a personal project, with the goal to learn something new. But it's not just personal projects, it's whole companies that adopt this kind of approach, not even thinking 2 years ahead, when the "cool new software" you used is now not only not cool and new anymore, but abandoned and unmaintained.

I get that this is just a random "i did a thing" blog post, but this just annoys me :(

comment 3y ago · link · parent

content warning: crypto/web3 bro

comment 4y ago · link · parent

Not really a script, but a `.ssh/config` to automatically deploy parts of my local cli environment to every server i connect to (if username and ip/hostname matches my rules).

On first connect to a server, this sync all the dotfiles i want to a remote host and on subsequent connects, it updates the dotfiles.

Idk if this is "special", but I haven't seen anyone else do this really and it beats for example ansible playbooks by being dead simple.

   Match Host 192.168.123.*,another-example.org,*.example.com User myusername,myotherusername
      ForwardAgent yes
      PermitLocalCommand yes
      LocalCommand rsync -L --exclude .netrwhist --exclude .git --exclude .config/iterm2/AppSupport/ --exclude .vim/bundle/youcompleteme/ -vRrlptze "ssh -o PermitLocalCommand=no" %d/./.screenrc %d/./.gitignore %d/./.bash_profile %d/./.ssh/git_ed25519.pub %d/./.ssh/authorized_keys %d/./.vimrc %d/./.zshrc %d/./.config/iterm2/ %d/./.vim/ %d/./bin/ %d/./.bash/ %r@%n:/home/%r

comment 4y ago · link · parent

lol

comment 4y ago · link · parent

if you use excessive language ("economic armageddon") and figures ("10 billion euros") like this and don't provide sources, i assume trolling.

i see he posted the bloomberg article now. imo, reading "Supply cut would rip through Germany’s industry within weeks" and interpreting that as "if Russia cuts of the gas, there will be economic Armageddon in Germany" is pretty extreme, but i guess people interpret stuff differently.. that's fine, just let me form my own opinion about your statement by citing a source.

comment 4y ago · link · parent

yea, the OP article is a few weeks old and very much out of context. HN doesn't care though.. bunch of tech bros discussing headlines.

comment 4y ago · link · parent

Where do you get "tens of billions of euros of economical damage" and "economic Armageddon in Germany" from? are you a russian troll bot?
12