Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
john-aj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
john-aj
6y ago
Hm, that is a good question. Evolutionarily, there is not necessarily any benefit for the octopus to being conscious of color, but there has to be some way in which its body, if only mechanically, "perceives" color and imitates
32.
▲
by
john-aj
6y ago
What's wrong with that? I happen to prefer a "lower" resolution on a laptop (and by "lower" I mean the same pixel density as my IPS monitor, which is 1920x1200). Unless I use an operating system that has completely
33.
▲
by
john-aj
7y ago
I never like names that require a “pronounced like” note, but cool project regardless.
34.
▲
by
john-aj
7y ago
The thing is, I don’t want any generation at all, at least not with my actual HTML pages.
35.
▲
by
john-aj
7y ago
It absolutely is a fair criticism of Jekyll, because I have experience with it. I want it to work without having to manually set some key – I want my posts put in specific subdirectories by ... actually putting them in specific subdirectori
36.
▲
by
john-aj
7y ago
Well, I guess we’ll see if my script (that doesn’t even exist) grows.
37.
▲
by
john-aj
7y ago
I think people mention Jekyll especially because it’s supported directly by GitHub – that is, they generate it for you (which is a bad idea, really, because of the differences between the various versions of Jekyll).
38.
▲
by
john-aj
7y ago
> But I guess my broader point is that if I have to create a shell script to quickly generate the boilerplate file stuff for a new post/page, I’m _basically_ already doing what early PHP was designed to do. I don’t think my propos
39.
▲
by
john-aj
7y ago
> Well I have this script processing all my directories... I didn’t suggest that; I suggested something like the following: cp -r "$1" "$2" sed -i '...' "$2/index.html" # remove ol
40.
▲
by
john-aj
7y ago
Yeah, I’m considering changing that.
41.
▲
by
john-aj
7y ago
I used Jekyll before, but I found myself always having to fight it to do what I wanted. That’s why I switched to my current approach. > The only caveats I see on this websites is, when they setup the width of the content. I love fluid p
42.
▲
by
john-aj
7y ago
Somebody else in this thread said it right, I think: the primary reason that PHP, CMSs etc. got popular is that people wanted the same header on every page, with the same links, instead of just a “back” link. I really have no need for that,
43.
▲
by
john-aj
7y ago
> fine if you're learning stuff by doing it but for god's sake don't go suggesting it's "easy"... This is exactly what I’ve come to realize. Static site generators are not at all as simple, easy or intuiti
44.
▲
by
john-aj
7y ago
I agree, especially with the part about retroactive breakage. It’s very easy with static site generators; with just HTML and CSS, not so much.
45.
▲
by
john-aj
7y ago
I don’t think this is as simple as you suggest (because I’ve tried things like it). First, you have to keep track of which documents need the same header/footer (unless all are exactly the same). Second, you have to extract the title f
46.
▲
by
john-aj
7y ago
Hm, I’m interested, but isn’t SMGL practically a different language? Apart from syntax, are those concepts translatable to HTML? I mean, can I use it to write web pages?
47.
▲
by
john-aj
7y ago
I hear you, but the benefit of HTML (especially in a WYSIWYG editor like Seamonkey that doesn’t support CSS) is that your style sheet and basic page layout is already done. When you start writing, you very rarely need to adjust it.
48.
▲
by
john-aj
7y ago
HTML Notepad looks really interesting...! Thanks for the tip!
49.
▲
Writing HTML in HTML
(john.ankarstrom.se)
213 points
by
john-aj
7y ago
|
164 comments
50.
▲
by
john-aj
8y ago
Judging from this thread, Bash doesn’t seem to be the only shell to support these types of variables, but I agree – it’s unintuitive and surprising.
51.
▲
by
john-aj
8y ago
> I also run XMPP server for friends and family and actually all of them are very happy with it. With Conversations this entire experience looks like any other modern messenger. Does Conversations do something extra to support sending
52.
▲
by
john-aj
8y ago
> What you're seeing there is actually validation :), the lat/lng type is not magically inferred but instead explicitly requested by the code - if it were not valid it would generate a user-friendly, localized error message. A
53.
▲
by
john-aj
9y ago
This could easily be stopped by a change in browser behavior. If web browsers downloaded contacted every address specified with `url()` automatically on page load, without considering the conditions, this type of conditional requests would
54.
▲
by
john-aj
9y ago
Hello! I'm the author of this article. I created a new account to post this. I hope it's not too long, but if you're in a hurry, reading the abstract/introduction is enough to understand the gist of it. I'd gladly a
55.
▲
Let’s Kill JavaScript (and Replace It with Something Better)
(john.ankarstrom.se)
3 points
by
john-aj
9y ago
|
1 comments