Better HN
topnewbestaskshowjobs
Log inSign up

janneklouman

123 karma · joined Nov 7, 2016 (10y ago) · 17 submissions

Submissions

comment 8y ago · link · parent

Tried it out now and while typography changes do persist, I can't figure out how to change line height or background color.

comment 8y ago · link · parent

It has many disadvantages in terms of functionality. Some advantages could be: theming (line-height, inner margins, inner max-width), runs in the browser, easy to modify and build upon, produces HTML output.

comment 8y ago · link · parent

Yes, I was talking about the windows notepad. I'm not saying the contenteditable notepad is better, just that I don't like notepad for writing - purely an aesthetic preference. Now it's been a while since I usd notepad, but iirc you can't have an inner max-width, or theming that persists restart (?)

comment 8y ago · link · parent

I wanted a place where I could write down my thoughts without them being stored in the cloud or connected to an account (notes, onenote, evernote, docs, paper, gist, etc). I don't really like terminal text editors, notepad, or IDEs for writing, so I made this very simple notepad. It's a <body> html tag with the contenteditable attribute making it editable, and some <style>.

To save a note just store it on disk (cmd/ctrl+s). To add images, drag and drop them onto the text area. Remove the contenteditable attribute from <body>, save, and voila, you now have a static lightweight blog post ready to be published! Formatting can be a bit wonky but should work in some browsers (cmd/ctrl+b/i/u). Copy+pasting formatted text can potentially break things a bit.

The two colors are from Solarized. Feel free to download the file and update style/markup to your preference.

Some ideas/variations:

Dark theme: https://jjjjjjjjjjjjjjjjjjjj.github.io/new-note/dark.html

Serif: https://jjjjjjjjjjjjjjjjjjjj.github.io/new-note/serif.html

HN theme: https://jjjjjjjjjjjjjjjjjjjj.github.io/new-note/hn.html

With heading: https://jjjjjjjjjjjjjjjjjjjj.github.io/new-note/with-heading...

5.

Show HN: ~200 byte in-browser, no JS, private notepad(jjjjjjjjjjjjjjjjjjjj.github.io ↗)

133 points · by janneklouman · 8y ago · 70 comments

comment 8y ago · link · parent

While a nice quote, It's not addressing why privacy matters. Most people already have an understanding of why freedom of speech is important, but might not think privacy is as important. They could easily call this "comparing apples and oranges", a similar scenario to the one in the original post.

comment 8y ago · link · parent

Clean and intuitive UI, thank you for creating and sharing.

comment 8y ago · link · parent

Don't you think that's a bit naïve? Take this anecdotal counterevidence for instance: none of the four people I work with visit HN but all know of Vue.

comment 8y ago · link · parent

Interesting. Yes, it's common. If you're interested you can read about it on wikipedia[0] and a bit more in depth here[1].

[0]: https://en.wikipedia.org/wiki/Rendaku

[1]: http://linguistics.oxfordre.com/view/10.1093/acrefore/978019...

comment 8y ago · link · parent

You're right, thank you for clarifying.

comment 8y ago · link · parent

Some linguistic trivia: the word origami is a Japanese compound of "fold" (折り - ori) and "paper" (紙 - kami), literally translating to "fold paper" (折り紙 - origami).

comment 8y ago · link · parent

Sorry if this is OT, but these types of contests exist! I went to one of these[1] maybe two years ago in Stockholm and I had a blast. I think the format was 32 people competing, 8 on stage at a time being shown a design which they had 15 minutes to mimic without previewing, then the crowd voted for winners using their smartphones. Two winners from each group of 8 went on to the finals. The competitors screens were mirrored on screens facing the crowd, so everyone could see how people tackled the problem in real-time. One guy did an ASCII representation of the design, which the crowd enjoyed enough to send him to the finals.

A large audience, smoke machine and lots of lasers, hard techno, and free beer. They did an amazing job setting the mood. They even have their own IDE[2] that everyone competing is required to use (with combo-counter and cool rave-y visual effects).

[1] http://codeinthedark.com/

[2] https://github.com/codeinthedark/editor

comment 9y ago · link · parent

Unfortunately I had the same issue on my Android phone - every time I re-opened the app I had to open a new tab in order to browse. I ended up installing and using Firefox Nightly instead (where the issue seems to be resolved).

comment 9y ago · link · parent

A tool that generates tracking codes with a customised isogram as parameters: https://github.com/shinnn/isogram

Example: (function(i, s, o, g, r, a, m) {...}) -> (function(y, c, o, m, b, i) {...})

comment 9y ago · link · parent

Color might be a distraction to you, but for me syntax highlighting speeds up my work significantly.

comment 10y ago · link · parent

Funny you mention it - I actually have a LaVie (PC-LL750TSB http://kakaku.com/item/K0000704707/) that I purchased late 2015. I appreciate the robust feeling and the touch screen. Initially I thought the touch screen was just gimmicky, but actually started using it a lot (perhaps due to the touch pad not being sensitive enough for my taste). Also the four USB ports is something I miss on my MacBook Pro. The Intel HD Graphics 4600 handles multiple displays and 1080p video fine, but is not great for games.

comment 10y ago · link · parent

I'd like to add NEC to your list (surprised no one is mentioning them). They completely dominated the Japanese PC market during the 80's and 90's, and even though the've been declining heavily since, it's still a strong brand in Japan holding about a fifth of the market share.