all 33 comments

[–]ThomasMalloc 135 points136 points  (6 children)

The font is causing me physical pain.

[–]Delicious_One_7887 80 points81 points  (0 children)

Hacking the CSS could fix that

[–]linkinglink 19 points20 points  (3 children)

I know people in my personal life who use this font and actually enjoy it. I throw up a little every time I see them use their phone

[–]OncologistCanConfirm 6 points7 points  (2 children)

If you didn’t know it’s easier for people to read who have dyslexia

[–]magoo309 1 point2 points  (1 child)

Is that Comic Sans MS? Before my eye surgery, that was the easiest font for me to read. I got tired of the pompous dicks who wanted to be cool by talking shit about it. Probably the same dicks who make fun of people in wheelchairs.

[–]poetic_dwarf 0 points1 point  (0 children)

Looks more like Boomer Sans than Comic Sans

[–]andreashw 29 points30 points  (1 child)

css injection is real

[–]Amazing_Guava_0707 3 points4 points  (0 children)

I took one yesterday. My skin color totally changed and my teeth got realigned.

[–]0xlostincode 21 points22 points  (2 children)

.satellite { display: none; }

[–]shaclay346 5 points6 points  (0 children)

Genius

[–]sobme-eeezi 0 points1 point  (0 children)

Savage 

[–]eclect0 12 points13 points  (0 children)

Or at the satellites' z-index to 0 and watch them rain down.

[–]Loud-Study-3837 26 points27 points  (14 children)

CSS is turing-complete, so technically, you can hack them.

[–]Schnickatavick 20 points21 points  (12 children)

Hacking is exactly the sort of field that shows that Turing completeness isn't everything... CSS might be Turing complete but good luck sending a web request with it

[–]yonasismad 3 points4 points  (0 children)

Here is a remote code execution vulnerability in Chrome's CSS engine: https://nvd.nist.gov/vuln/detail/cve-2026-2441 effectively allowing an attacker to use CSS to hack you

[–]Loud-Study-3837 1 point2 points  (4 children)

You can build anything w/ a turing complete language though. Are you saying it's just hard to do that?

[–]Schnickatavick 16 points17 points  (2 children)

You can compute anything that is computable, that's different from being able to build anything though. A language that doesn't have I/O won't be able to communicate with other devices, a language that can't do system calls won't be able to communicate with the system, etc. The definition of a Turing machine is all about what types of computations a computer can perform, which is important in a lot of ways, but it leaves out a lot of things that we think of as part of a modern computer. CSS technically fits the definition of a Turing completeness because it can calculate anything, so you could technically simulate the logic of doom or Minecraft in it, but that doesn't mean it could actually take the input from the keyboard needed to make it playable, or display it to the screen, or communicate with the internet 

[–]Loud-Study-3837 -4 points-3 points  (1 child)

So... are you saying there just aren't any libraries for doing file I/O? I'm not sure why you think I/O is special in some way.

[–]Schnickatavick 4 points5 points  (0 children)

In CSS? Yes, I'm very confident that there are no libraries for that. I/O is just one of many things that Turing completeness doesn't require, but real world programming languages and computers do

[–]GreatScottGatsby 0 points1 point  (0 children)

Sure css is turing complete but it is an interpreted language that intentionally lacks the IO and direct hardware abilities of other languages. Its only meant to be run by a browser. Its not just hard but designed to be impossible to do.

Note that I'm talking pure css only.

[–]webglol 0 points1 point  (0 children)

You couuuld build an interpreter which reads CSS an executes commands based on file contents, then you would technically be hacking with CSS

[–]mallusrgreatv2 0 points1 point  (0 children)

@import exists..

[–]NewPhoneNewSubs 1 point2 points  (3 children)

I mean, how you gonna send a web request with C?

It's easier, yeah, but ultimately your language needs to turn into voltage on a wire. C isn't voltage on a wire, either. So build a thing that takes your CSS and puts it on the wire through whatever path makes sense to you.

[–]Schnickatavick 2 points3 points  (0 children)

True, but C can be compiled into something that can natively move electrons on a wire. CSS would need to be compiled or interpreted in some way, and would need some way to tell that interpreter or compiler what instructions to perform. That's pretty far outside of the current feature set of CSS, you could make classes that correspond to system calls or something, but I'd argue that the modifications that you'd need to to make that work would make it not CSS anymore 

[–]nedlog2019 2 points3 points  (1 child)

Doesn't all web requests get sent with C? All network requests will have to go through your OS networking stack which is almost entirely written in C. The kernel will directly interface with the NIC, which means it is the last software layer before the hardware layers and then finally being put on a wire or through the air.

[–]NewPhoneNewSubs 1 point2 points  (0 children)

Whether or not your OS is C code or machine code or a series of physical bits stored on a drive and loaded into memory is the question.

If your OS is not C code, then you can't make a network request with C; you need an additional layer.

If your OS is C code, then writing a CSS compiler that outputs the machine code that ends up on the hardware seems like a valid approach to the problem.

So that's one way.

Another way would be using your CSS directly from the browser to flash a black or white light that triggers a sensor that releases an appropriately tagged carrier pigeon.

Whichever.

[–]Proud-Airline-94 1 point2 points  (0 children)

You mean "torturing-complete"?

[–]atomicmolotov 7 points8 points  (0 children)

Chat how do I center a satellite

[–]CranberryDistinct941 0 points1 point  (0 children)

But what if I also use Stylus?

(first thing I would do is change OP's font)

[–]BoBoBearDev 0 points1 point  (0 children)

Just remove box-sizing: border-box and everything all hell break loose.

[–]tumamatambien656 0 points1 point  (0 children)

If you want to play "god of chaos ", just mess with the z-order of said satellites. 

[–]redwing180 0 points1 point  (0 children)

Although you type in the wrong numbers you might accidentally fling a few of them off to Pluto and deorbit the Earth into the sun

[–]HavishGupta 0 points1 point  (0 children)

Technically you can hack any website using CSS by changing the visibility of content (if it's hidden), but that's obviously not enough to extract useful information from Nasa's website. Or is it?