logs archiveIRC Archive / Freenode / #emacs / 2010 / June / 23 / 1
benevolentpickle
shanky`: (dolist (x '("a" "b" "c" "a")) (add-to-list 'foo x))
shanky`: `add-to-list' checks for duplicates.
i never did bother figuring out a simpler way of doing it because the problem never crops up for me in code (i use add-to-list) and in editing i shell out to `uniq'
shanky`
not sure if i understood it completely, but i'd give it a try. thanks!
benevolentpickle
you have a sorted list of strings.
when people say "list of strings" here they mean coding
if you just meant you have a buffer full of stuff you want to uniquify then that's something else :)
... is that what you meant?
jlf
,(defun unique-strings (string-list) (let (uniq) (dolist (str string-list) (add-to-list 'uniq str)) (nreverse uniq)))
fsbot
fs-unique-strings ..(symbol)
jlf
,(unique-strings '("foo" "bar" "bar" "baz"))
fsbot
ERROR: Symbol's function definition is void: fs-dolist
benevolentpickle
jlf: way aheadya.
saying that..
jlf
,(require 'cl)
         

fsbot
cl
jlf
,(unique-strings '("foo" "bar" "bar" "baz"))
fsbot
oops, Symbol's function definition is void: fs-dolist
jlf
(Action) gives up
benevolentpickle
,(defalias 'do-list 'fs-dolist)
fsbot
fs-do-list ..(symbol)
benevolentpickle
,(unique-strings '("foo" "bar" "bar" "baz"))
fsbot
oops, error. Symbol's function definition is void: fs-dolist
benevolentpickle
bah.
rryouumaa
,df remove-duplicates
fsbot
remove-duplicates is a compiled Lisp function in `cl-seq.el'.
(remove-duplicates SEQ [KEYWORD VALUE]...)
Return a copy of SEQ with all duplicate elements removed.
Keywords supported: :test :test-not :key :start :end :from-end
benevolentpickle
that's `cl' though.
jlf
so's dolist, right?
benevolentpickle
and if he just wants to uniquify a buffer C-x h then C-u M-| uniq RET
it is?
oh.
hahahah
stupidpickle
i blame television.
jlf
i blame society
stupidpickle
and food coloring
AimHere
I blame jlf
stupidpickle
(Action) approves
jlf
,flame AimHere
         

fsbot
BEEEP: Not enough arguments for format string
jlf
,flame fsbot
fsbot
fsbot: There were 2 people on a boat: /hop and /quit. /hop got off, who's still on the boat?
AimHere
/quit
stupidpickle
(Action) thinks
is it... /hop?
e1f
the eink reader wars are heating up
JordiGH
Good, this can only mean we'll get one that doesn't suck.
Some of the Asian-market ereaders are good.
e1f
but you can only use your own pdfs on it right?
you can't buy an amazon ebook and read it
TeXnomancy
you can't "buy" an amazon ebook and read it on a Kindle either
at least, not if it's 1984
bpalmer
e1f: EXPN 'it'
JordiGH
That's fine, I got plenty of my own pdfs.
Actually, mostly djvus.
Yeah, I'm not buying anything from that company if it isn't treeware.
TeXnomancy
not supporting DRM is a feature I wish my Kindle had, but given that it works great for non-DRM'd content I won't complain.
JordiGH
TeXnomancy: I'm looking for something that will do djvu natively. Some of the Asian-market readers do that.
I need more Asian friends.
Konichiwa ni hao.
freysteinn
Hello. Usually I've been able to ask about almost anything on this channel and always gotten better answer here then on the official channels. That's why I'm going to see what happens if I ask this question here ;-). - I'm working on my CV/resume, which isn't my strong suit I admit, but I wanted to ask if you could give me some feedback on it? http://www.freysteinn.com/cv.pdf
damd
study more
also don't mention the volcano
freysteinn
damd: ;-)
e1f
"almost anything"? what weren't you able to ask about? some embarrassing medical problem?
damd
also unlearn scrum
fu*k i hate scrum
JordiGH
Are Australian dates like USian dates?
Month first?
damd
JordiGH: no
JordiGH
damd: You're not Australian!
damd
day month year
freysteinn
elf: You don't remember the rash?
damd
i use quick firefox magic
JordiGH
damd: Exprain.
TeXnomancy
freysteinn: in the US at least it's common to drop high-school and things like "grading exams"
damd
JordiGH: C-l en date format RET C-f australia RET
no, not RET at the end, but ESC
JordiGH
Haha, another moderncv user.
freysteinn
TeXnomancy: The problem is that we don't have high-school, but this was the closest that I could find.
jlf
freysteinn: spell check
TeXnomancy
freysteinn: I mean most people only mention that on their resumes in the US if they have only recently graduated and don't have anything else to put there. =)
JordiGH
damd: C-l?
turbofail
it's a shame... i did more engineering work in high school than i did at any point during my first "real" job
damd
JordiGH: puts focus to the location bar
shabble
my rule of thumb is 'last two major qualifications'
freysteinn
TeXnomancy: The reason why I added it was that this school is translated to Speedlane, because you finish it in 2 years instead of 4. It's not for everyone.
JordiGH
damd: Oh, Firefox.
damd
JordiGH: i did say firefox ;I
JordiGH
I was about to sing the praises of Emacs for being able to tell me how to write dates in Australian.
damd
mediawiki-mode could do it just about as easily
jlf
,praise
fsbot
35:11 Praise be to EMACS, the Creator of heaven and editland! He
sends forth the truly free freebiess as His messengers, with two,
three or four airs of wings. He Multiplies His creatures according to
His will. EMACS has power over all things.
damd
or w3m for that matter
freysteinn
TeXnomancy: Anything else?
TeXnomancy
freysteinn: nice color and typeface choices. =)
JordiGH
freysteinn: What job are you applying for?
e1f
http://www.html5rocks.com/
antoine__
hello, is it possible to remove the minibuffer?
jlf
http://html5zombo.com
turbofail
i'm still waiting for canvas implementations that are fast enough to work as proper sprite engines
JordiGH
antoine__: huh? It's not active unless you're using it.
jlf: Hahaha!
freysteinn
A few, but my aim is a QA Engineer position at CCP Games.
JordiGH
QA?
You actually want a QA job?
freysteinn
JordiGH: At that place, yes.
antoine__
ok i mistajen with the name
jlf
JordiGH: chicks dig QA engineers
JordiGH
"Engineer".
antoine__
i would talk about the input at bottom
JordiGH
Stick "engineer" at any job title to make it sound glamourous.
marioxcc
antoine__: minibuffer?
JordiGH
YOUR JOB WILL CONSIST OF PERFORMING TEDIOUS SCRIPTS ON BROKEN SOFTWARE.
ggole
freysteinn: does QA engineer mean "testing drone", or do you actually work on software (ie, testing frameworks)?
JordiGH
That's the job you want?
antoine__
yeah it should be that
ggole
Because I hear that testing is a pretty crappy job
jlf
CONFIRMED
freysteinn
ggole: It's not a testing job. It's about writing the testing frameworks.
JordiGH
antoine__: There's several bits of text at the bottom. Do you mean the modeline?
(Action) eyes freysteinn incredulously.
jlf
furthermore, it's very difficult to escape from testing once you have any experience in it
ggole
freysteinn: right, that sounds more palatable
antoine__
don't know its name
ggole
freysteinn: good luck
freysteinn
ggole: Thanks.
JordiGH
freysteinn: Writing a CV is a very culturally-sensitive issue. I don't about what culture you're writing this for, but in mine nobody gives a crap that you're a nerd who likes to watch science fiction.
marioxcc
antoine__: why you want to remove it if you don't know what it is?
read the manual, section screen
JordiGH
freysteinn: Also, saying that you work in teams doesn't require a whole section to itself.
jlf
and watching tv probably doesn't belong on any resume ever
antoine__
i know what i want remove, but i don't know its name
marioxcc
antoine__: ,rtfm
,rtfm
fsbot
rtfm -- [0] read the *fine* manual
[1] Users don't have the manual, and if they did, they wouldn't read it.,
[2] In fact, users can't read anything, and if they could, they wouldn't want to,
[3] By "fine" I mean "fu*king.",
[4] http://www.emacswiki.org/alex/pics/RTFM%20in%20China.jpg
marioxcc
if you know it name maybe we can help you
antoine__
gonna investigate
JordiGH
antoine__: Take a screenshot and draw on the thing you want gone. :P
ggole
antoine__: there's two lines at the bottom. One of them has the mode name, buffer name, etc. The other is usually blank.
antoine__
http://upload.wikimedia.org/wikipedia/commons/4/41/Minibuffer_emacs.png
where it's write failing I search wikipedia
ggole
That's the minibuffer
marioxcc
the minibuffer
why do you want to remove it?
JordiGH
Hmmm... okay, so you do want it gone.
marioxcc
how will you openfiles and so?
JordiGH
marioxcc: Takes up space!
antoine__
to gain one line
jlf
freysteinn: you should be much more specific -- /what/ game engines did you develop/implement? what was the subject of your tutorial/documentation prize? what kernel did you develop? etc.
marioxcc
JordiGH: what would be him input method then?
e1f
you can make the minibuffer a separate window if you're running gui
and then hide that window
ggole
antoine__: I'm not actually sure what the best way to approach that is. You can set up a dedicated frame and tuck that away somewhere, but that might be fiddly.
e1f
,minibuffer
fsbot
Minibuffer -- [0] (info "(emacs)Minibuffer")
[1] at http://www.emacswiki.org/cgi-bin/wiki.pl?MiniBuffer,
[2] You can switch from the minibuffer to another buffer with c-x o, and edit or even yank some text, and then c-x o to go back to the minibuffer
e1f
,separateminibuffer
fsbot
e1f
hm
freysteinn
jlf: You're right, there could be more, but I'm also trying to keep it simple. The rest they will figure out in the interview.
jlf
there may not be an interview if you don't give enough detail for them to want to learn more about you
ggole
,dv default-minibuffer-frame
fsbot
Minibufferless frames use this frame's minibuffer.
Emacs cannot create minibufferless frames unless this is set to an
appropriate surrogate.
Emacs consults this variable only when creating minibufferless
frames; once the frame is created, it sticks with its assigned ..[Type ,more]
ggole
That seems to be part of it
freysteinn
JordiGH: The reason why there is a section on "working in teams" is because other people have told me that it was a good idea, but I do agree, it's a little bare bone.
jlf
freysteinn: you should move the achiEvements and misc. sections under the relevant experience/education entries
JordiGH
freysteinn: Weave that into your work experience. Say in which workplace you did a lot of teamwork. Maybe even say how.
Btw, guys, speaking of interviewing, the one I went to today was for a crappy job with crappier pay.
In case anyone's keeping tabs on my life.
jlf
freysteinn: ideally you want to convey something like "here i accomplished a, b, c and gained x, y, z skills/experience" for each engagement
JordiGH
@#emacs lol job intervie sucked lol
jlf
(Action) updates JordiGH's dossier
turbofail
did they make you do pushups?
JordiGH
turbofail: Worse, they insisted on needing my CV in "Word format".
turbofail
ha
JordiGH
Speaking of keeping tabs, what's happened to quotemstr?
It's kinda scary he hasn't been around.
,seen quotemstr
fsbot
BIIIIIIIIIIIRNY! Have you .seen quotemstr?
JordiGH
.seen quotemstr
birny
quotemstr was last seen quitting at 2010-06-21 08:34:09 GMT (1 day, 13 hours, 30 minutes, 22 seconds ago).
JordiGH
The MSFT has him.
jlf
he's not allowed to consort with foss ideologues under the terms of his msft contract
turbofail
he's probably trapped by fundamentalist LDS radicals in utah
« prev 1 2 3 4 5 6 7 8 9 next »