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

Did you extend Pandoc or Gitit? I would be very interested in extending/changing Pandoc slightly, but so far I got along with doing my changes with sed and writing some inline LaTeX.

If you extended Pandoc, do you mind giving a pointer to your source? I write Haskell poorly, so an example would be appreciated.


The plugins are bundled with Gitit. See:

https://github.com/jgm/gitit/blob/master/plugins/Interwiki.h...

https://github.com/jgm/gitit/blob/master/plugins/Subst.hs

https://github.com/jgm/gitit/blob/master/plugins/WebArchiver...

They are meant for use with Gitit, but they are easily adapted for other purposes. For example, the archive code was easily adapted into a script to read Markdown files and spit out external links to stdout: http://groups.google.com/group/pandoc-discuss/browse_thread/...


I'm actually writing my diploma thesis using Markdown and Pandoc. Some hacking is necessary (sed is so far sufficient), but it's a lot more pleasant then writing LaTeX directly.


I sometimes start writing papers in markdown using Pandoc too, but usually I eventually switch over to Latex when the formatting needs get more complicated. Still, it's a nice way to write. I love that Pandoc allows you to throw in arbitrary Latex markup wherever you want, easily allowing for math formulas and figure floats.


While I agree that it's faster, I'm not sure whether it's more pleasant. After you get all the styling info out of the way, LaTeX is pretty easy to write...


"intellectual property"

That's a really muddy term. How exactly can you protect a protocol? Trade secret? Patents?

Copyright shouldn't apply if it's a reimplementation.

Edit: s/since/if/


While copyright wouldn't apply to an independent reimplementation, the article included links to decompiled versions of the Skype binaries, which would definitely fall under Skype's copyrights. Nothing wrong with using those decompiled binaries to reverse-engineer and document the Skype protocol, and I hope this produces useful results there, but that doesn't make it OK to directly redistribute the decompiled binaries.


The easiest way to is to restrict the right to reverse-engineer in the Terms of Service of the Skype client (which he needs to use, in order to have something to reverse engineer.)


Terms of Service don't necessarily have any legal force, and many jurisdictions have legal protections for the right to reverse-engineer, particularly for interoperability purposes.


xrandr (use "xrandr --output <output> --rotate (normal|right|left|inverted)", e.g. "xrandr --output DVI1 --rotate right")

Ubuntu also has a graphical tool for this, probably also other distributions.


Edit: Works now, thanks for fixing it so fast.

That's what I get now using Opera 11.11 32bit on Linux.

    Uncaught exception: ReferenceError: Security error: attempted to read protected variable: toString
    Error thrown at line 9, column 22266 in x(a, b, c) in http://www.everyjs.com/js/libs/sproutcore-2.0.a.3.min.js:
    if(g&&g.toString===e)


Some problem in Opera 11.11. Now I wonder if it works in any version of IE...


For X11 users, there's also redshift (http://jonls.dk/redshift/).

I use it when using the computer at night as it makes for easier reading.


f.lux doesn't work with 2 monitors; does redshift?


Yes, RedShift does support that. I've just tested on a laptop with an external monitor attached.


I can confirm that.


Which platform are you on? f.lux on OS X works just fine across many displays.


Yes, I should have mentioned my platform. It was Ubuntu Maverick or Lucid. I haven't checked it on any newer version.


Even the app-indicator version doesn't support 2 monitors? What setup is your dual monitors? I'm trying it out, I don't use gnome-panel applets, those bastardly things.


I haven't been using f.lux since I learned about the flaw - it would only work with one of my monitors on Ubuntu Maverick (or Lucid, I don't remember now).

I'm now happily using redshift and it does work with two monitors.


Flux definitely works on both of my monitors here just fine.


When I read through the text, it didn't once think "this can't work". It seems plausible and if implemented, this could indeed be a big step forward.

I hope this, or a similar effort, will be actually be realized.


Looks like the decision to stop development of Mozilla Prism was not a bad one. "appify" looks very interesting.


Why was Prism stopped? Does anyone know?


You can read the announcement here: https://mozillalabs.com/blog/2011/02/prism-is-now-chromeless...

Basically: Both can solve the same problem, but Chromeless is more powerful.


For people like me, who didn't know what "Silk Road" was in this context: It's an anonymous market for drugs using Tor. [1] Bitcoins are used for paying.

[1] http://www.bitcoin.org/smf/index.php?topic=3984.0


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

Search: