ghinda's comments

ghinda | 3 years ago | on: Facebook open sources Lexical, an extensible text editor library

Great news to hear Lexical replacing Draft. Also great that you're handling `beforeinput` (like Slate). I work on a text expander browser extension and supporting Draft is a pain[1].

Are there any plans to make inserting text from the "outside" easier on Lexical? Maybe exposing the Lexical instance on the dom node (like CKEditor does)? Right now we're using `execCommand` to support Lexical.

[1] https://github.com/Briskine/briskine/blob/master/src/content...

ghinda | 7 years ago | on: How solid is Tim’s plan to redecentralize the web?

CouchApps had a better vision for the web. You would run a local CouchDB and replicate the app next to your data, rather then giving the app access to your data while hosted somewhere else. It has the added benefit of working offline.

Some sort of cross-domain request blocking could then prevent the app from stealing your data.

ghinda | 8 years ago | on: Ideal OS: Rebooting the Desktop Operating System

You have most of these, or at least very similar versions, in Plasma/KDE today:

> Document Database

This is what Akonadi was when when it came out for 4.x. Nepomuk was the semantic search framework so you could rate/tag/comments on files and search by them. They had some performance problems and were not very well received.

Nepomuk has been superseded by Baloo, so you can still tag/rate/comment files now.

Most KDE apps also use KIO slaves: https://www.maketecheasier.com/quick-easy-guide-to-kde-kio-s...

> System Side Semantic Keybindings

> Windows

Plasma 4 used to have compositor-powered tabs for any apps. Can't say if it will be coming back to Plasma 5. Automatic app-specific colors (and other rules) are possible now.

> Smart copy and paste

The clipboard plasmoid in the system tray has multiple items, automatic actions for what to do with different types of content and can be pinned, to remain visible.

> Working Sets

These are very similar to how Activities work. Don't seem to be very popular.

ghinda | 9 years ago | on: An interactive way of blogging about JavaScript

I built something very similar a while ago: https://github.com/ghinda/jotted

I'd say it's more lightweight by default (it's not mandatory to use an editor like CodeMirror) and more flexible because of the plugin system (there are plugins for using Ace or CodeMirror as editors, or for compiling ES6, CoffeeScript, Less, Stylus, Markdown).

It also has a Console plugin, like the one in devtools, that makes it work like klipse. https://twitter.com/ghindas/status/697790917302996993

There are a bunch of demos on the site: https://ghinda.net/jotted/#demos

ghinda | 10 years ago | on: Show HN: Jotted – jsfiddle for self-hosted client-side demos

Sure, because of the plugin support it shouldn't get too complicated.

You can use strings instead of urls, for files. So you could do something like:

  loadFromS3(function (fileContent) {
    j = new Jotted($container, {
      files: [ type: 'css', content: fileContent ]
    })
  })
then create a plugin for it that saves the changes back to s3:

  j.done('change', function (err, params) {
    saveToS3(params.content)
  })
Here's some details about the plugin api: https://github.com/ghinda/jotted#plugin-api

ghinda | 10 years ago | on: Flexbox in 5 minutes

Ironically IE9+ support for display:table is worse then IE8-, especially regarding inherited dimensions on child elements.

I wrote a small grid library[1] using display:table, as a flexbox alternative for older browsers, and had no choice but to use js to fix IE support.

Firefox also has some issues, don't know if because of the spec or the implementation, but those can be worked around with css.

[1] https://github.com/ghinda/gridlayout

ghinda | 11 years ago | on: “Was isolated from 1999 to 2006 with a 486. Built my own late 80s OS”

I also have a similar, but definitely not tragic, story. In the late '90s my dad got us a ZX Spectrum, so me and my brother learned BASIC and played Deathchase.

Around ~2000 we got a Pentium "75", that is - 75mhz, 16mb ram, 500mb hdd with no cdrom or sound card. I think it had a 2mb S3 video card, and came with Windows 95.

At some point, after some tweaks, you could play Mortal Kombat 4 in a very small window, installed from multi-rar archives on around ~20 floppys.

We had a lot CDs with games from gaming magazines, with "cool" (or so I thought at the time) HTML/JavaScript autoruns, that ran with Internet Explorer 4. Since most of these games (eg. NFS 3) wouldn't run on my PC, I found out how to "View Source", and I basically learned HTML/CSS/JS from them. In 2003 I sold my first "DHTML" menu widget.

ghinda | 12 years ago | on: Ask HN: Freelancer? Seeking freelancer? (March 2014)

SEEKING WORK - Remote, based in Cluj-Napoca, Romania

We’re a two-man team good with pretty much anything JavaScript (node, phonegap, angular, etc.) and all-round front-end work. Also good with design (graphic, ui), dbs (mongo, couch), project management, testing or front-end ops.

Lots of experience with building single-page apps - both the back-end Node APIs and client-side apps with Angular or other frameworks.

https://github.com/ghinda

http://ghinda.net/

ghinda | 12 years ago | on: Ask HN: What are you working on and why is it cool?

I'm working on Business Card Maker(http://bizcardmaker.com/), a very simple client-side business card generator that can quickly export PDF or JPEG.

It's definitely not as cool as most of the stuff here, but it's real easy to work with, that's why I'm hoping it will be helpful for people with no technical skills and small businesses.

page 1