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

The condo I'm living in (in Tokyo) was built 20 or so years ago and features a karaoke room for the residents. We recently got a notice about how they will have to do a full makeover of the karaoke system because the current one only works with ISDN and the vendor is phasing out support. IIRC the quote for the makeover was around $10k


What about CUE? (https://cuetorials.com/) It feels it'd solve your problem and more.


Jesth is like a broken INI file parser that can only split a document into sections (each section consists of a header and a body which is just a list of strings).

Now, on top of that, I can write a hack to convert an arbitrary section to a dictionary data structure (provided the body of that section is written with a specific syntax designed for my hack).

I made this hack and included it in the Jesth library, so people can use it, much like the Python standard library is just there to help people not waste time rewriting the same algorithms for common tasks.

Jesth would be like JSON which is only about data. CUE, Dhall and Jsonnet jump on top of JSON to add some cool stuff.

I used Jesth for example to design a docstring markup language (consumed [1] by a documentation generator), as well as a scripting language [2].

I will soon publish a simple data validation mechanism for Jesth dict-sections (sections intended to be converted into a dictionary data structure). It might inspire people to create a more complex data validation or data constraint language on top of Jesth. This could be more readable than what is done elsewhere.

[1] https://github.com/pyrustic/jesth/tree/master/docs/modules

[2] https://github.com/pyrustic/backstage


For people that understand French, radiofrance has a really good 5 hour long podcast series about Champollion, from childhood to death:

https://www.radiofrance.fr/franceculture/podcasts/grande-tra...


Thanks !!


I cannot recommend enough you give half pipe a try. Not talking about mega pipes, just the small ones with little to no vert. Lots of fun and fairly safe since when you fall you _usually_ end up sliding down the curve. No need to do jumps or crazy stuff, just do tricks on the coping and enjoy the ride.


A couple of times I spotted a Mercedes G class around Naka Meguro with a Shift sticker. Your ride?


`Ctrl + v` to visually select one character at a time (instead of say `Shift + v` that selects a whole line) and then use the movement keys to select a block of characters horizontally as well as vertically. Imagine several well indented HTML <li class="something"> elements, you could for instance delete/modify all the class attributes on all lines visually in one go (to insert text use `Shift + i`, type, then Esc).


I think I don’t quite get you. Doesn’t “v” do the same thing?


What robotvert means is rectangular selection across multiple lines. For example, suppose you have the following text:

  <li class="wrong">first</li>
  <li class="wrong">second</li>
  <li class="wrong">third</li>
You want to change all the instances of "wrong" to "right". So you put the cursor on the first "w", then `Ctrl-V` to enter blockwise visual mode, then `e2j` to select the "wrong" words, then `c` to remove all of them and enter insert mode to type a replacement. The replacement text is then applied to each line separately. Full series of keystrokes (starting with the cursor on the "w" in the first line) if you want to follow along:

  <Ctrl-V>e2jcright<ESC>


“Aww yeah, Bootstrap 4 is coming!” - 19 Aug 2015

Sorry I had to.


I've been using bootstrap 4 in a current project and it is actually pretty good.

Cards are way cooler than panels but don't go overboard as some bootstrap-cards themes have done where everything is a card.


same here, using it for internal projects where supporting old browsers is not issue, works good enough. on a different project I used one of the bootswatch themes and last I checked those were 3.x though so still hanging there.


Bootstrap 4 is still in alpha though.


The given solution at the end of the article to simply remove the disabled attribute didn't work on its own here because there's no event fired afterwards to persist the change.

I had to manually edit the HTML and add the onclick handler:

Note:

- change the id you pass to the onclick function to match yours if it differs.

- the "KNa" function might also be different. Check out the other checkboxes' HTML to figure it out.

BEFORE:

<input type="checkbox" id="cbm-I2NvbnRhY3RzQGdyb3VwLnYuY2FsZW5kYXIuZ29vZ2xlLmNvbQ" checked="" disabled="" class="al-ctrl al-nameref-showinlist">

AFTER:

<input type="checkbox" id="cbm-I2NvbnRhY3RzQGdyb3VwLnYuY2FsZW5kYXIuZ29vZ2xlLmNvbQ" checked="" class="al-ctrl al-nameref-showinlist" onclick=KNa(('I2NvbnRhY3RzQGdyb3VwLnYuY2FsZW5kYXIuZ29vZ2xlLmNvbQ'),(true));">

And then uncheck the box. Done.


Alternatively, you could enable the unsubscribe link by changing the &nbsp; in the <td class="rightlink"> tag to this:

<a href="javascript:void(0)" class="al-ctrl al-desc-self" onclick="LNa(('cbm-I2NvbnRhY3RzQGdyb3VwLnYuY2FsZW5kYXIuZ29vZ2xlLmNvbQ'));"><nobr>Unsubscribe</nobr></a>

That gets it out of your account completely.


Since it's a developer oriented tool, how it's been made is always good trivia IMHO. Also helps legitimating the "Mac OS X only" part I guess.


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

Search: