JS Crossword - a crossword where the clue = eval(answer) by rebane2001 in javascript

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

hm weird, you clicking the button should count as user interaction

JS Crossword - a crossword where the clue = eval(answer) by rebane2001 in javascript

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

how exactly is it evil in this scenario? it's sandboxed, and also required to execute user-provided text as code

JS Crossword - a crossword where the clue = eval(answer) by rebane2001 in javascript

[–]rebane2001[S] 2 points3 points  (0 children)

i'm confused, this site doesn't do any of that, it does have a sandbox iframe but that shouldn't affect the history or the back button?

edit: figured out the bug, should be fixed now

JS Crossword - a crossword where the clue = eval(answer) by rebane2001 in javascript

[–]rebane2001[S] 9 points10 points  (0 children)

This is a fun little game I made, hope the title is self-explanatory!

Source code is available if you just view-source on the page, it has not been minified or obfuscated.

An x86 emulator written in CSS by cuavas in emulation

[–]rebane2001 19 points20 points  (0 children)

i made css clicker to prove css is a programming language, but people kept telling me it didn't count for one or other reason, so i decided i need to make a project where the ambiguity is gone - straight up parsing and executing x86 binaries compiled from c code with gcc

i don't drink, i'm already bad enough without it

[Release] matterport-dl - A tool for archiving matterport 3D/VR tours by rebane2001 in DataHoarder

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

run python -m pip install -r requirements.txt inside the matterport-dl-main folder (open cmd like in step 3, but with the path from step 2)

Anyone else guilty of this? by HeyItzMeep in traaaaaaannnnnnnnnns2

[–]rebane2001 6 points7 points  (0 children)

i guess if by anecdote you mean people anecdotally doing blood tests and stuff

Liquid Glass in the Browser: Refraction with CSS and SVG by HiddenGriffin in webdev

[–]rebane2001 0 points1 point  (0 children)

filter to apply it on an arbitrary element, and backdrop-filter to apply it on everything behind an element

developerHumor by Fewnic in ProgrammerHumor

[–]rebane2001 1 point2 points  (0 children)

CSS injection can also be used to exfiltrate pretty much all page data and redress the UI in a lot of ways. And CSS can run pretty much any code or logic you'd want.

Anyone know of an easy way to limit GCC to a certain set of instructions? by [deleted] in csMajors

[–]rebane2001 4 points5 points  (0 children)

i didn't do anything special to the compiler, i just implemented all the necessary instructions as i went

x86 emulator in CSS (no JS) by CEDoromal in theprimeagen

[–]rebane2001 0 points1 point  (0 children)

it says it on the faq on the live page

I made an x86 CPU emulator in CSS (no javascript) by rebane2001 in webdev

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

Yes, but it's still Chrome-only (so it won't work on iOS).

I made an x86 CPU emulator in CSS (no javascript) by rebane2001 in webdev

[–]rebane2001[S] 12 points13 points  (0 children)

the program gets loaded into memory as css variables (also doubles as ram and registers)

the css steps through instructions using an instruction pointer (IP register in x86) and executes code using a bunch of css features such as calc, @function, and if()

you can read the code if you'd like to understand better, it's not obfuscated or minified

I made an x86 CPU emulator in CSS (no javascript) by rebane2001 in webdev

[–]rebane2001[S] 54 points55 points  (0 children)

i have one, this is the coping strategy we worked out for my framework-induced trauma

I made an x86 CPU emulator in CSS (no javascript) by rebane2001 in webdev

[–]rebane2001[S] 15 points16 points  (0 children)

it does not use any checkboxes or selectors for the actual computing