Hacker Newsnew | past | comments | ask | show | jobs | submit | sthottingal's commentslogin

There is one already https://skills.sh/paulirish/dotfiles/modern-css I am not sure whether it covers everything from https://modern-css.com/ though


Thanks for this. I learned a few new tips. If it is not too much work, a web version of this will be helpful. Also for search engine friendly.


Sooner or later I'll do the catalogue of the tips that I'll fill from time to time


Here is a simple bookmarklet to quickly turn any browser tab to a rich text editor:

data:text/html, <body contenteditable style="margin:2rem;">

Open the above as URL in a browser tab and bookmark.


You can also make any existing page editable (and then back to non-editable):

   javascript:if(document.body.contentEditable=="true"){ document.body.contentEditable="false"; document.designMode="off"; document.body.spellcheck=true;} else { document.body.spellcheck=false; document.body.contentEditable="true"; document.designMode="on";}; void(0);


If you’re putting the document into design mode (the best way of doing it), why are you also setting contenteditable on the body?

Shortened version of your bookmarklet, for fun:

  javascript:document.designMode=(document.body.spellcheck=document.designMode=='on')?'off':'on'


Author of this new PoC here. IPNS propagation is slow in the current implementation and it is a blocker for instant propagation irrespective of number of peers. In my discussion with IPFS developers, I was told that they are going to look into this issue in next versions.


I am developing a modern wikipedia interface - a Vuejs powered modern, single page, progressive, offline capable web application for Wikipedia. I have been working on this for last several months and have working version available at https://wikipedia.thottingal.in

Source code and more details available at https://github.com/santhoshtr/wikivue

It is a fully client side PWA application using wikipedia web apis, installable in desktops and mobiles and use like a native application. It has offline support - With the help of service workers, the application even works when there is no internet, provided, the content is previously viewed. It is a single page application - page does not reload when exploing wiki articles, presenting an immersed reading experience. uIt ses modern UI framwork Vuetify. Adapts to all kind of screen sizes. It presents an optimized reading experience with good typography and optimum page layout. Multilingual by default - All language editions are in single app. Using language selector user can select the language edition.

I wanted to make this as a p2p capable application. Currently it runs on dat protocol as well: dat://25689f3a757853a511474d38f0a6d6be2cd2b0cb161686d75fda5c1619137921(need beaker browser) or wikipedia.hashbase.io


This looks pretty clean! The enhanced readability reminds me of Wikiwand.

If you're looking for a bit of feedback, the search doesn't seem to handle fast typing well. I tried searching for "Frank Chu" and it seems that if I type it really fast, I get either no results or Franks that aren't Frank Chu. If I type slower, Frank Chu shows up.


Is there a way for it to simply follow the links when I click on them? It looks like I have to click twice to "Read Article" after clicking on a link.


here is a bug I just stumbled upon. https://wikipedia.thottingal.in/page/en/Tansu%20%C3%87iller

clicking Political Career on tree view raises exception from querySelector. probably parentheses breaking it.


That is awesome. Wikipedia definitely need a better editor too.

Props on using dat too. We need less centralization.


I really liked it, well done!


The layout reminds me of Everipedia, but cleaner. Well done.


Web developer - an obsolete occupation?!


You mean spider?


Here is an example for a very recent progress in language model which does not mention the language name at all: "CTRL - A Conditional Transformer Language Model for Controllable Generation" - https://blog.einstein.ai/introducing-a-conditional-transform...

As a researcher in a non-english, morphologically rich language, I completely agree with the article by Emily Bender. Everytime I read papers, when people ask questions or discuss on NLP in various forums such as reddit/stackoverlow, the language name is taken for granted as English.


A big disadvantage with TUI based email clients is it can only work with English or latin script based languages. Complex scripts(https://en.wikipedia.org/wiki/Complex_text_layout) does not render properly in terminals.


This depends on the terminal. Konsole, mlterm, and Apple's Terminal.app can do complex text layout.

Recent versions of Emacs support a modern text-shaping engine, Harfbuzz, when run in GUI mode, which is another option for emacs-based mail clients. I guess it's maybe not technically a TUI in this case, but emacs mail clients are still very TUI-like, even when run in non-terminal emacs.


That might be a big disadvantage for you; it is a feature I don't miss at all. Mutt supports UTF-8, and that's all I need.


It is broken in Firefox since version 62 https://bugzilla.mozilla.org/show_bug.cgi?id=903966


That's an old, long closed bug. I think the bug you want is https://bugzilla.mozilla.org/show_bug.cgi?id=1488740


It's not, the comment is mistaken, CORS is unrelated.

But you need to use 127.0.0.1, not `localhost`


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: