News for hackers. Stuff that matters.

janneklouman

Tried it out now and while typography changes do persist, I can't figure out how to change line height or background color.
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.
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 (?)
Re:Show HN: ~200 byte in-browser, no JS, private notepad on Saturday May 05, 2018 @01:08PM (#17002649)
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...

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.
Re:Show HN: Turn indented text into mind maps on Thursday March 29, 2018 @10:20AM (#16707252)
Clean and intuitive UI, thank you for creating and sharing.
Re:Developer Survey Results on Tuesday March 13, 2018 @09:33AM (#16575926)
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.
Re:Origami Simulator on Thursday February 15, 2018 @05:58AM (#16383123)
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...

Re:Origami Simulator on Thursday February 15, 2018 @05:47AM (#16383089)
You're right, thank you for clarifying.
Re:Origami Simulator on Wednesday February 14, 2018 @01:03PM (#16377778)
Some linguistic trivia: the word origami is a Japanese compound of "fold" (折り - ori) and "paper" (紙 - kami), literally translating to "fold paper" (折り紙 - origami).
Re:Turning web design mockups into code with Deep Learning on Wednesday January 10, 2018 @01:20PM (#16117404)
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

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).
Re:Deconstructing the Google Analytics tracking script on Thursday June 29, 2017 @07:08AM (#14662235)
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) {...})

Color might be a distraction to you, but for me syntax highlighting speeds up my work significantly.
Re:Whatever happened to Japanese laptops? on Tuesday November 08, 2016 @04:38PM (#12904172)
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.
Re:Whatever happened to Japanese laptops? on Monday November 07, 2016 @05:29AM (#12890052)
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.