7 ms·
Show HN: A fireplace for Emacs
- golergka 11y agoOk, someone has to say it. Why.
- peterhadlaw 11y agoLet me finish your question. Why....not? XD
- jefurii 11y agoYou're just bitter because your text editor can't do this. ;)
- Killswitch 11y agoMy text editor is written in JavaScript. Which theoretically means anything can be in my editor. Even your puny fire place! BRB, going to play GTA clone in my editor.
- theinternetman 11y agoDon't you mean "BRB going to edit text in my web browser"
- Amorymeltzer 11y agoYou must be a vim user... In seriousness though, why not? He probably had a good time writing it, learned a thing or two, and now has something fun to show off. "Why" doesn't need an answer if it's fun. Besides, the odds are that "hey, look at how this code makes a fireplace" will get someone interested in coding who was bored by "hey, look how this code lets me manage a large database of packages."
- krylon 11y ago>> Why. > You must be a vim user... Best. Reply. Ever. (Full disclosure: I used Vim for about four years, then switched to emacs. So I know and like both editors, but prefer emacs.)
- PeCaN 11y agoDo you use evil-mode? I went the opposite direction (Emacs -> vim -> now kak[1]), and I find non-modal editing quite frustrating now. 1: https://github.com/mawww/kakoune https://github.com/mawww/kakoune
- krylon 11y agoI've been meaning to look into it for a while, but so far I haven't found the time. On the other hand, I am under no pressure.
- tetraodonpuffer 11y agoI have been thinking about switching and currently use evil-mode but in default emacs, so I can switch to vim bindings if I want to but when I open a new buffer it's in emacs mode, however to me modal editing can be less productive I mean, vim's modal language is more expressive, and you can get things done faster, but if I am coding I want most of my brain power to be on the algorithm I write, and I find that sometimes coming up with cool vim motions to do what I need to do instead of up-up-up-delete-up-up-up-delete etc. pulls me out of the zone a little bit because I have to engage my brain more. For pure fun editing yes, I agree that modal editing is cool, and it is quite nice to be able to do complex text changes without really ever using the cursor keys, but when I am deeply concentrating I don't know, I don't care if I take two seconds longer to do something because I use the cursor keys because in the end those two seconds are seconds I use to think about the problem at hand anyways, which is not "how do I get to that spot and do that text change as quickly as possible" Not sure, maybe if I give it more time it will become more automatic, but after a few weeks of mostly vim/evil-mode editing I still reach for emacs when doing "serious work"
- golergka 11y ago
- notalaser 11y ago> (why 'emacs-fireplace) "Why not?" >
- pfortuny 11y agoThere is a very interesting book by E. Anscombe (Oxford philosopher) entitled "Intention" ehich addresses your question. The answer is difficult.
- riebschlager 11y agoWhy does a flower bloom? Why does a lion hunt? Why does the earth spin on its axis and why do nerds fight over which Javascript framework is best? Ours is not to reason why, ours is but to do and die.
- EC1 11y agoThe same reason we're teaching African refugees JavaScript. Because we can.
- farva 11y agoHaven't they suffered enough?
- bdg 11y agoBecause people enjoy fun.
- thomasahle 11y agoI work with Johan in an office where everyone else uses vim. Pretty sure he's trying to prove some superiority thing... Or perhaps he's trying to salvate us all...
- masklinn 11y agoScience. And science isn't about WHY, it's about WHY NOT.
- auntienomen 11y agoThis is pretty much the best thing ever.
- JonAtkinson 11y agoEvery program attempts to expand until it can display a fireplace. Those programs which cannot so expand are replaced by ones which can.
- deleted 11y ago[deleted]
- brudgers 11y agoThe README's linked Emacs animation guide is compact and informative: http://dantorop.info/project/emacs-animation/ http://dantorop.info/project/emacs-animation/
- sidmitra 11y agoThis could be made more fun, by using more system resources so your laptop heats up too!
- mbroshi 11y agoReminds me of this: https://xkcd.com/1172/ https://xkcd.com/1172/
- giancarlostoro 11y agoSo all bugfixes should be optional and configurable based on XKCD logic, but it doesn't surprise me, people get accustomed to bugs in unexpected ways.
- oblio 11y agoI'm pretty sure xkcd is mocking the attitude described in the comic.
- RIMR 11y agoI am constantly amazed by how many people fail to detect Randall Munroe's sarcasm and mockery...
- rejschaap 11y agoIf so many people don't see it as mockery, you should consider that you might be the one who is interpreting it all wrong
- giancarlostoro 11y agoI'm amazed you missed my sarcasm, not easy to portray over text I suppose.
- kpcyrd 11y agoOperations once wrote me an email about how to cleanly exploit a xss vulnerability in the application they're using so they can implement their feature without editing the code base.
- opensourcedude 11y agoMissing license information?
- giancarlostoro 11y agoPlacing legal paperwork next to a fireplace never ends well.
- pcunite 11y agoCool, now ... make mcedit do this!
- brink 11y agoI keep getting weird issues when running it. https://s3.amazonaws.com/coda-files/870Xw.png https://s3.amazonaws.com/coda-files/870Xw.png
- dkns 11y ago> see title > think to myself "Oh, did someone port Vim-fireplace to emacs? But why? Must be for fun, let's check it out" > see repo > "Emacs users"
- veddox 11y agoVery neat! :-) Unfortunately, I'm having a little problem "regulating the heat": C-+ is supposed to make the fire bigger, C-- smaller. When I run this in a tty, neither of the two does anything. When I run it under X, C-+ moves the fire down and C-- moves it up. Is it just me or is that a bug? (Running elementaryOS Freya.)
- johanvts 11y agoThanks, it is the intended behavior. It has been useful for me a few times when the fire didn't align properly. There is no function for making the fire bigger and smaller yet.
- veddox 11y agoWell, de facto it can make the fire bigger or smaller. If the bottom of the fire is below the lower screen edge, only a small part is visible. Move the fire up -> more becomes visible -> the fire becomes "bigger" ;-) At least is does in a graphical environment. Like I said, it doesn't work in terminal.
- srameshc 11y agoJust what I needed to complete my auto heating laptop. This animation will compliment the buzzing laptop fan with heat, so I enjoy some warmth this winter.
- davexunit 11y agoI love it. I feel nice and cozy while I hack now.
- nunodonato 11y agojust missing the cracking sounds :)
- deleted 11y ago[deleted]
- mark_l_watson 11y agoThis is why I visit Hacker News every day! Love it.
- julienchastang 11y agoWhich reminds of the Yule Log TV program[1] for those who lived in the NY metro area < 1990. Although it seems farcical now, it was envisioned as a way for low-income residents without a fireplace to have a "fire" during the Christmas holiday. [1] https://en.wikipedia.org/wiki/Yule_Log_(TV_program) https://en.wikipedia.org/wiki/Yule_Log_(TV_program)
- sundarurfriend 11y agoThat name - the Yule Log - seems familiar, and brings up some vague but soothing memories for me. I believe it was an early Internet (i.e. circa 2000, "Web 1.0") web page that displayed the same kind of fireplace-log setup. Gave me some serene, hypnotic peace in the midst of the excitement of programming in Borland Turbo-C!
- vollmond 11y agoThere's also "Fireplace for your Home" on Netflix
- roywiggins 11y agoYule logs are rather older than the Internet: https://en.wikipedia.org/wiki/Yule_log https://en.wikipedia.org/wiki/Yule_log
- monk_e_boy 11y agoMy in-laws have a few DVDs with fireplaces on them. Some have also quiet carols playing.
- washt 11y agoAhh yes good 'ole M-x fireplace
- jdmichal 11y agoI typically just use C-x M-c M-butterfly to cause a raging firestorm. Then just grab a burning log from there.
- deleted 11y ago[deleted]
- TazeTSchnitzel 11y agoThis is a great start! I think we can do even better, though. Only two colours? Only using solid blocks? We should be able to get beautifully smooth 256x256 (dithered) colour!
- tedmiston 11y agoAh, another use for emacs besides Tools > Games > Tetris.
- dgellow 11y agoemacs's shell + cacafire anyone? :) Edit: ok, I tried what I said. Not that great. Frame rate is really too low. Edit2: http://imgur.com/a/g0JYu http://imgur.com/a/g0JYu
- copperx 11y agoTop that, Vim.
- ed 11y agoAny chance you could add a license? Very neat! :)
- lurkinggrue 11y agoAmazing! Have they ported a good text editor to Emacs yet?
- giggles_giggles 11y agoThey sure have, it's based on this weird old editor called "vim" https://bitbucket.org/lyro/evil/wiki/Home https://bitbucket.org/lyro/evil/wiki/Home There's even an emacs distribution built around it https://github.com/syl20bnr/spacemacs https://github.com/syl20bnr/spacemacs
- unixhero 11y agoThere is a beautiful world out there. Go explore.
- Create 11y agofinally a good use for logs!