logs archiveIRC Archive / Freenode / #emacs / 2015 / August / 15 / 1
miskatonic
,natheck
fsbot
For True Editor did not give us a spirit of timidity, but a spirit of power, of love and of self-discipline.
ryouma
13:16 <Idiot> The amount of people I suspect to be Estonian is slowly incereasing. -- candidate for channel wisdom?
Sketch
rudybot: tells us about Estonians
rudybot
Sketch: by Estonians, I mean
miskatonic
,estonia
fsbot
[g] http://www.emacswiki.org/emacs/naf-mode-nation-english.el
http://www.emacswiki.org/emacs/mon-url-utils.el
ryouma
rudybot: elbonia
rudybot
ryouma: So I think it might be a good idea to start up a subsidiary in Elbonia specializing in yak shaving and regular-length yak hair packaging.
         

wgreenhouse
jlf: btw, I found a solution to my "X can't forward OpenGL" woes: Xpra can, with reasonable performance. and sound, too.
wasamasa
ugh
so, --batch inhibits emacs from using htmlize to its full capabilities
holomorph
o.O
wasamasa
I've mucked around and tried setting `noninteractive', enabling font-lock manually, etc., but it doesn't help at all
wgreenhouse
wasamasa: let me guess, the color depth is all wrong?
I've had issues with using it from --daemon when an X emacsclient doesn't exist yet
wasamasa
wgreenhouse: no, the output is just limited
using the emacsclient would certainly be an option
but then I probably couldn't use stdin
ryouma
rudybot: how come firacode does not work in emacs?
rudybot
ryouma: maybe it's just not possible to come up with really new and daring ideas anymore. Maybe programming languages have reached "the end of history"
smandy
i'm having trouble getting irony working. (i.e. it doesn't). does anyone have a quickstart. the docs are a bit verbose....
ack006
another not-parallel-make-safe project bites the dust...sigh
very nasty race condition
slugobers
return value of file-attributes is a good way to see how lists are not appropriate for putting mixed-meaning values together
bpalmer
ack006: oh?
wgreenhouse
slugobers: what, you don't like APIs that rely on list position in lieu of a readable key-value pattern?
,heretic
fsbot
Caedite eos. Novit enim Dominus qui sunt eius.
wgreenhouse
>:)
bpalmer
slugobers: property lists and alists are both lists.
wgreenhouse
bpalmer: and (file-attributes) is neither
bpalmer
https://xkcd.com/385/
wgreenhouse
bpalmer: also, a key-value store could also be a hash table or even a defstruct
bpalmer
do recent emacs improve on hash-table's print/readability?
         

slugobers
bpalmer: that don't really scale. and (cdr (assq 'bar foo)) sucks for readability compared too foo.bar
parsnip
(Action) considers using eww for job search
wgreenhouse
bpalmer: there's ,,ht
fsbot
ht -- The missing hash table utility library for Emacs at https://github.com/Wilfred/ht.el.
bpalmer
slugobers: plists are too often overlooked nowadays. (plist-get 'bar 'foo) is pretty readable
wgreenhouse
but in general no
bpalmer
and I thought assoc had a nice (assoc-default 'foo '((foo . 3)) 4) => 3 function
but I can't find it now :(
ack006
bpalmer: makefile: target: dep1 dep2 dep3, dep2 depends on dep1, dep3 behaves differently when dep1 not yet built, etc.
wgreenhouse
bpalmer: yeah, it does
parsnip
(Action) remembers when eww was just a blog article
ack006
*dep2 depends on dep1 but doesn't list it
bpalmer
weird, apparently I have an assoc.el without it.
wgreenhouse
bpalmer: in gnumacs24 it's part of subr
at least as of 24.4
bpalmer
now, the sad thing is that there's no obvious way forward to change the return value of file-attributes ; which also limits its use on fancy filesystems with extended attributes
I guess file-attributes* is still available, though.
parsnip
sacrilegous to do: (setq eww-search-prefix "https://google.com/?q=") ?
bpalmer
parsnip: yes. That incurs an extra redirect to www.google.com
religion is speed.
parsnip
bpalmer: ah, thanks, so just add www. ?
holomorph
so we have assoc-default and alist-get
wut
bpalmer
parsnip: that'd absolve you of at least one sin.
parsnip
JC, i can start to feel the speed this will incur if i can really get into this
just need to bind it to something
are really leaving w3m behind? still useful on servers when little is installed, though i never much liked w3m without emacs.
but i don't actualy get any search results... (parsnip searches the internet for the workflow)
ryouma
i'd like to view all pages of a forum thread as if they were a single page. for example, https://geekhack.org/index.php?topic=56240.0.">https://geekhack.org/index.php?topic=56240.0. anybody know of emacs or shell solutions? (i know about the pagination extension to firefox, dunno if i want to download 3rd party code for it though.)
(in case anybody wonders why i am there, i am trying to find a reasonably basic but very low actuation force mouse.)
parsnip
ryouma: if there's not existing solution, maybe it would be easier to concatenate after converting to another format, like org, etc, with pandoc
(use --no-wrap option so links don't get mangled)
ryouma
parsnip: i'd have to still dl all of them right? that's the main thing. i don't care if it's a little odd looking.
parsnip
ryouma: oh, maybe python can help download them. i guess some lisp might do so too, but i've seen a tutorial that helped me get all hyperlinks from a webpage in python.
i haven't gone further with it, but web scraping for like job search is on my list of dream tasks (getting stuff done is ahead of that) ;)
wgreenhouse
lftp is nice
lftp -c "mirror https://geekhack.org/index.php?topic=56240.0 ."
that won't handle concatenating it all to one page, though
parsnip
it'll bring them down? that is cool! ,,wgreenhouse++
fsbot
Noted, parsnip. One lispy-point for wgreenhouse!
ryouma
wgreenhouse: those quotes are supposed to be there?
wgreenhouse
ryouma: yes, the command's syntax is odd
parsnip
the space period must be for "right here “"
ryouma
mirror: Access failed: 404 Not Found (/index.php?topic=56240.0)
'lftp -c "mirror https://geekhack.org/index.php?topic=56240.0 ."'
parsnip
aah, i'm stuck on the google search page, anyone can walk me through this?
i enter terms in the search bar, and RET doesn't do anything there or on the button underneath. i don't see any M-x eww-... functions that would seem to do the job
wgreenhouse
ryouma: yeah, not working for me either, though the syntax is correct. maybe geekhack doesn't like robots?
ack006
uh-oh, my emacs-init-time went from 1.3 seconds to 1.8 seconds.
miskatonic
,geekhack
fsbot
miskatonic: when the machines take-over, you will be first against the wall
miskatonic
,hackgeek
fsbot
Your goose is cooked.
(Your current chick is burned up too!)
parsnip
or, google relies on javascript https://productforums.google.com/forum/#!topic/customsearch/UbH0afUeWDA
warning, OP is Xah Lee
miskatonic
,xah lee
fsbot
xahlee is, like, [0] A prolific author and a well-known troll with a website at http://xahlee.org/
[1] Permanently banned from #emacs for incessant trolling, being full of himself, rude and generally unpleasant to be around. He documents this himself on http://ergoemacs.org/emacs/_p/KickbanXahLeeFromEmacsChannel.htm ..[Type ,more]
parsnip
so, w3m is capable of using google, but not eww :(
,shoot eww
fsbot
(Action) loads its social media 2.0 site and unfriends eww
yenda
I love how the bot mirrors the channel's non-sense
(Action) reading xah self-documentation; is entertained
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 next »