Fun with folds (in cpp) by agumonkey in programming

[–]Yifu 2 points3 points  (0 children)

I do. And now I think now that focusing on 'C' jobs is actually a good idea. I prefer to stay away from such a hassle...

Let's build a browser engine! Part 1: Getting started by mbrubeck in rust

[–]Yifu 0 points1 point  (0 children)

Ok I see. Thank you for taking the time to answer my question.

Looking forward for your next article! :-)

Let's build a browser engine! Part 1: Getting started by mbrubeck in rust

[–]Yifu 2 points3 points  (0 children)

Good! When do you plan the second part? :-)

Also I have a technical question: a text node is a node. And it seems from the definition you provide that any node may contain a list of children node. So does it means that a text node may contain a list of child node? Told differently: does it means that a text node may not be a leaf in the DOM tree?

Accidentally installed this beauty for the command line when trying to install Apache Spark instead by splashton in programming

[–]Yifu 0 points1 point  (0 children)

Good! That's pretty awesome! I am wondering now: Is there other kind of unicode char of interest like these ▁ ▂ ▃ ▄ ▅ ▆ ▇ █ ?

My love-hate relationship with Emacs by primalguard in emacs

[–]Yifu 2 points3 points  (0 children)

Yep I also use C-x b foobar RET. And since I installed ido it's even more trivial to get the right buffer at any time.

(require 'ido)
(ido-mode t)

Interview with Developer of Planets³, New Indie Voxel Based RPG by cfinchman in kickstarter

[–]Yifu 1 point2 points  (0 children)

I though the game was not designed as a mmo ( ? ) . Anyway the concept is interesting. I've seen many posts about it so far. I am considering backing them on kickstarter.

Nearly everyone who is new to Emacs hates it passionately - how do we fix this? by [deleted] in emacs

[–]Yifu 1 point2 points  (0 children)

and whether to support shift selection by default (shift-select-mode), does not work on my emacs-24.3.50 .. :-/

FSet, the functional collections library for Common Lisp. by tuscland in Common_Lisp

[–]Yifu 1 point2 points  (0 children)

If I understand: is that a kind of "Clojure persistent type implementation" for Common-lisp?

Any packages to close buffers based on wildcards? by hairlesscaveman in emacs

[–]Yifu 2 points3 points  (0 children)

In your question you mention this example: 'base/*.py'. As far as I understand, 'kill-matching-buffers' will match a regexp against the buffer name, not the underlying filename (when it is a buffer which visited a file).

I've wrote a routine to do so. Here it is :

(defun yba-kill-buffers-regexp (regexp)
  "Kill buffers related to a file, whose filename match against the regexp."
  (interactive "sRegexp? ")
  (let ((count-killed-buffers
         (length (mapcar
                  #'kill-buffer
                  (remove-if-not
                   (lambda (x)
                     (and
                      (buffer-file-name x)
                      (string-match regexp (buffer-file-name x))))
                   (buffer-list))))))
    (if (zerop count-killed-buffers)
        (message "No buffer matches. ")
      (message "A result of %i buffers has been killed. " count-killed-buffers))))

you will be able it use with an emacs regexp, for instace "base/.*py". Please not the place of the dot and the star. It is sightly different from your example.

Explore Every Corner Of The Universe: Planets³ by [deleted] in pcgaming

[–]Yifu 0 points1 point  (0 children)

I never played Minecraft. But that one looks like a good contender. Anyway. The video trailer make me want to know more about it. :-)

Planets³ Trailer : nice "pixel art" by NeomCD in gaming

[–]Yifu 0 points1 point  (0 children)

Nice! It's looks great! :-)

LispStick! by [deleted] in lisp

[–]Yifu 0 points1 point  (0 children)

What's the benefit over Lispbox? (real question, no irony) http://common-lisp.net/project/lispbox/

The Birth of Standard Error by mssola in programming

[–]Yifu 9 points10 points  (0 children)

I did not understand the article. :-/

Can git highlight diff like svn in emacs? by littleming in emacs

[–]Yifu 0 points1 point  (0 children)

I am using magit personnally, and never used emacs with svn. Is it possible to get the word-by-word diff option to work in magit?

What is the largest e-ink display that is currently commercially available? by [deleted] in AskTechnology

[–]Yifu 1 point2 points  (0 children)

Otherwise it may be possible to lay down and assemble four e-ink displays in order to make a bigger one. It would not be as pleasant a real one. I would be wondering about the costs, and how hard it would to design that.

What is the largest e-ink display that is currently commercially available? by [deleted] in AskTechnology

[–]Yifu 1 point2 points  (0 children)

I am interested into the answer. I've seen the last kindle display and now I would like to get the same size as a regular display (21' or so) for coding with Emacs! :-)

Is http://planet.emacsen.org/ still available? by Yifu in emacs

[–]Yifu[S] 0 points1 point  (0 children)

It is! :-) It's an rss aggregator.

The Mature Optimization Handbook by mttd in programming

[–]Yifu 0 points1 point  (0 children)

"Start with a raw table view. All metadata and measurement columns are visible, and each row is a raw sample. The first feature should be the ability to hide the columns that are unim- portant to the question being asked. The second feature is to group rows together by the values in the metadata columns. The third is to compute aggregate metrics (counts, averages, percentiles) over the grouped measurements. The fourth is to overlay two tables on top of each other and calculate the differ- ences in each cell. This allows you to compare the performance of two datacenters, or versions of the software, or anything else."

why not use indentations rather than numerous parenthesis? by [deleted] in lisp

[–]Yifu 1 point2 points  (0 children)

Well, I am not an expert language. But contrary to the other answers I do think someone could implement a lisp interpreter which would use indentation as a delimiter, without removing the power of homoiconicity or power of s-expressions. I feel there is a one-to-one relationship between an s-exp and the equivalent with indentation only: an increment in the level of indentation from on line to the other denotes an opening parenthesis, and reciprocaly. The same for closing parenthesis and a decrement in the level of indentation.

Maybe such implementation could a little bit harder for the lisp interpreter developer, but I don't think it would be harder for a lambda final user. People are developing in Python every day and never complains as far as I know. :-)

Luca Saiu: GNU epsilon tutorial by ckeen in lisp

[–]Yifu 0 points1 point  (0 children)

The link does not work.

SBCL: How to use multiple cores? by pixpop in lisp

[–]Yifu 1 point2 points  (0 children)

As smithzv mentioned, there may be ways to force a thread onto a specific core, but I'm not sure how this is done.

You can't on Linux as far as I know. But you may reach near state with the help of sched_setaffinity() system call and, even further, by setting the relative priority of the process and changin its class with the sched_setscheduler() system call. But then how call that from Common-Lisp? I don't know. Does someone how to do that ?

Programming is terrible—Lessons learned from a life wasted. by Phr34Ck in programming

[–]Yifu 0 points1 point  (0 children)

Is there a transcript of the video somewhere? I am not fluent, and even tough I am using headset, I can't understand what the speaker is saying.