Readit News logoReadit News
a_gopher commented on I use zip bombs to protect my server   idiallo.com/blog/zipbomb-... · Posted by u/foxfired
grishka · 8 months ago
> you can always create zip bombs that are links on a web page that don't show up for humans

I did a version of this with my form for requesting an account on my fediverse server. The problem I was having is that there exist these very unsophisticated bots that crawl the web and submit their very unsophisticated spam into every form they see that looks like it might publish it somewhere.

First I added a simple captcha with distorted characters. This did stop many of the bots, but not all of them. Then, after reading the server log, I noticed that they only make three requests in a rapid succession: the page that contains the form, the captcha image, and then the POST request with the form data. They don't load neither the CSS nor the JS.

So I added several more fields to the form and hid them with CSS. Submitting anything in these fields will fail the request and ban your session. I also modified the captcha, I made the image itself a CSS background, and made the src point to a transparent image instead.

And just like that, spam has completely stopped, while real users noticed nothing.

a_gopher · 8 months ago
apart from blind users, who are also now completely unable to use their screenreaders with your site
a_gopher commented on Understanding SIMD: Infinite complexity of trivial problems   modular.com/blog/understa... · Posted by u/verdagon
TinkersW · a year ago
You can simplify the 2x sqrts as sqrt(a*b), overall less operations so perhaps more accurate. It would also let you get rid of the funky lane swivels.

As this would only use 1 lane, perhaps if you have multiple of these to normalize, you could vectorize it.

a_gopher · a year ago
my thoughts exactly - crazy to know all these arcane SIMD opcodes but not know basic maths!!
a_gopher commented on Butterflies flew 2,600 miles across the Atlantic without stopping   smithsonianmag.com/smart-... · Posted by u/raybb
a_gopher · a year ago
So the butterflies flew 2600 miles only to be killed for study by some curious entomologists?
a_gopher commented on Ray tracing on 8-bit retro hardware   github.com/robogeek42/ago... · Posted by u/a_gopher
a_gopher · 2 years ago
An old BASIC program, with full explanation
a_gopher commented on Fizzygum   fizzygum.org/... · Posted by u/smusamashah
a_gopher · 5 years ago
Looks dead. No release for +3 years
a_gopher commented on Transmits AM radio on computers without radio transmitting hardware   github.com/fulldecent/sys... · Posted by u/known
mypalmike · 5 years ago
Reminds me of the Timex Sinclair 1000 I picked up in the 80s. It has no audio functionality. But I found a program in a magazine which would mess with the video signal or something to generate very rough tones. I seem to recall the program was named "I love the sound of breaking glass."
a_gopher · 5 years ago
aka Sinclair ZX81. There was such a program in Your Computer that would toggle between fast and slow mode to generate tones. It was a actually a trivial 8 or 16 step tracker, so you could even make beats...

And here's the program listing!

https://archive.org/details/your-computer-magazine-1982-03/p...

a_gopher commented on TimescaleDB vs. Amazon Timestream   blog.timescale.com/blog/t... · Posted by u/daenney
pstuart · 5 years ago
And those 3 are?
a_gopher · 5 years ago
OneTick, Kx, and QuasarDB
a_gopher commented on Transit Detection of a Starshade at the Inner Lagrange Point of an Exoplanet   arxiv.org/abs/1705.01285... · Posted by u/sanxiyn
a_gopher · 8 years ago
Paper doesn't address what measures the aliens might use to disguise any obvious signature of the starshade.

You'd think that the aliens might not be too keen to create huge beacon advertising their presence to all and sundry...

a_gopher commented on LEDs may cause retinal toxicity at occupational domestic illuminance   ncbi.nlm.nih.gov/labs/art... · Posted by u/vmarsy
a_gopher · 9 years ago
Using a yellow whiteboard marker, simply colour in the LED's face. Problem solved.

u/a_gopher

KarmaCake day4November 29, 2016View Original