top | item 12109384

Hack – CSS framework for Hackers

98 points| 0x142857 | 9 years ago |github.com | reply

58 comments

order
[+] mikegioia|9 years ago|reply
I think the trend of front-end projects not providing a compiled `dist` folder with the assets for web inclusion to be a bad idea. This requires me to NPM install this "front-end code" (no Bower) and then add this Gulp compilation to my build. What happened to adding a `dist/hack.min.css`? Why no Bower?
[+] the_duke|9 years ago|reply
tl;dr: "hack.css is a superset of markdown.css with more common UI utilities plugged in."

Well... move along please, nothing to see here.

[+] sanqui|9 years ago|reply
Please don't call your project "hack".
[+] damptowel|9 years ago|reply
Also, give it a unique name that's easy to websearch. E.g. No single char names, no common verb or noun, etc.
[+] qwertyuiop924|9 years ago|reply
Please stop calling your project '<x> for hackers.' It's annoying, regardless of whether your project shows any of the concepts or ideals associated with hackers (either kind). Which most of these projects don't.

Besides, it's a trend that's really easy to satirize.

Here's a fun game: describe an "os for hackers." See how long it takes for the person you are talking to to realize you're describing ITS. You win if the person fails to realize this, and actually says they would want to use said system today. For bonus points, cart in a PDP-10: their new 'working environment'. :-D

[+] groovy2shoes|9 years ago|reply
ITS was good. For something a little more recognizable (and probably more achievable on current hardware), MS-DOS was actually pretty good from the hacker's point of view (and FreeDOS continues that legacy).

I say this because DOS was an OS that didn't get in your way. No, it didn't afford you any conveniences, really. It gave you a (shitty) file system, command line, program loader, a handful of utilities, and practically nothing else. Not exactly user-friendly. However, it also gave you completely unfettered access to the underlying hardware. The Intel reference manuals and a good assembler, and you could do literally anything. Since it was single-tasking, once your program was loaded, it had complete control and owned the entire physical address space. There was nothing to prevent you from calling into the BIOS, or doing I/O willy-nilly to ports, peeking/poking randomly into memory, etc. There's a reason why several OS's were bootstrapped on top of DOS, including Windows: it gave you just enough conveniences that you didn't have to start from total scratch, but it did so little that it never got in your way or otherwise prevented you from doing whatever you wanted.

I occasionally fire up FreeDOS on an old P2 or in a VM and just tinker. If I were to produce a real product, I'd obviously be better off writing something for Linux or BSD kernelspace, but for exploring the way hardware gets programmed on its lowest level, DOS is pretty indispensable. I'd liken the difference between low-level programming on DOS and the same on Linux/BSD to the difference between using an interactive interpreter and a batch compiler. It really can enable low-level experimentation in much the same way.

Anyway, ITS was the bee's knees.

[+] dikei|9 years ago|reply
Pfff. What kind of hackers use pre-made framework ?
[+] qwertyuiop924|9 years ago|reply
12 year olds, who think they're hackers, because they kind of know HTML/CSS/JS
[+] allthetime|9 years ago|reply
There already is a CSS framework for hackers, it's called CSS.
[+] Illniyar|9 years ago|reply
My css is full of hacks to get it to work. Not sure what a css framework for hackers would even look like.
[+] dlsym|9 years ago|reply
Wait, didn't we install frontend stuff like css frameworks via bower? I feel kinda out of the loop.
[+] elsurudo|9 years ago|reply
Some of this is nice, but I don't get why you would want your output to look like markdown _before processing_. Why can't the headings be headings, without the "##"s etc.
[+] qwertyuiop924|9 years ago|reply
Because to some of us, including me, actually, that kind of markdown markup is quite pleasing to the eye, as well as providing addtional visual queues. You can never have too many of those, provided they are well designed.
[+] bobwaycott|9 years ago|reply
Because 1337 hackers don't even see the code.
[+] Tobold|9 years ago|reply
Is there a good howto for these "CSS frameworks"?

I never used one and everyday there is another one on HN, confusing me with all its features xD

[+] 0x142857|9 years ago|reply
I personally don't use the others too, I made my own :)
[+] component|9 years ago|reply
This is more of a collection of other libraries into "one". From what I saw it doesn't provide much to be called a framework.

Or am I missing something?

[+] qwertyuiop924|9 years ago|reply
That's pretty much what CSS frameworks are: a set of pre-built items you can use to build your site, so you don't have to do it all yourself. Don't ask me why, ask whoever wrote the first CSS framework.
[+] dismal2|9 years ago|reply
Surprised by all the negativity. I like the look, good job! Feels like you could use it for some cyberpunk inspired dashboards.
[+] 0x142857|9 years ago|reply
I mean, it's just cool for me to use this in websites of my projects.
[+] c4pt0r|9 years ago|reply
I like the idea, I think the author is trying to create a dead-simple css framework, but dont call it 'hack' please.