Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
junke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
241.
▲
by
junke
10y ago
> The OP himself dismisses "the funny guy from accounting", as if accountants didn't need to concentrate! OP doesn't dismiss all accountants, it is an example picked at random. If OP only said "that funny guy&quo
242.
▲
by
junke
10y ago
Not all CL implementations, just CLisp. http://www.clisp.org/impnotes/faq.html#faq-menorah-why
243.
▲
by
junke
10y ago
Found another detailed explanation from Mike Gerwitz: https://forums.whonix.org/t/security-git-general-verificatio...
244.
▲
by
junke
10y ago
I don't know much cryptography. Wouldn't an attack require you to forge a commit object which is a good-looking patch, along with a valid signature (signed from someone you trust), which has the same identity (SHA1 hash)?
245.
▲
by
junke
10y ago
No, before sliding elements, you set a local variable "dirty" to true. You iterate over all elements and keep the ones that are not rejected by moving them at the end of the current max index. When you code finishes normally, dirt
246.
▲
by
junke
10y ago
Well, not "reverse engineering", sorry, but that's the idea: did they use the same algorithms and rewrote them exactly as same in OCaml? did they find anything that could be done better? etc.
247.
▲
by
junke
10y ago
Sorry, "reverse engineering" is clearly a bad choice of words. What I meant was that one aspect (and maybe a goal) of rewriting TeX in OCaml is to reorganize the code from a procedural approach to a functional one, while trying to
248.
▲
by
junke
10y ago
Oh no, Chapter 5 (Understanding the typesetting model) and 6 (Extending Patoline) of the book ( https://patoline.org/patobook.pdf ) are not yet finished, that's what I wanted to read :-) Did the author try to reverse eng
249.
▲
by
junke
10y ago
That was a joke.
250.
▲
by
junke
10y ago
Thanks, that's indeed a sensible way to do that.
251.
▲
by
junke
10y ago
Maluch
252.
▲
by
junke
10y ago
One more corner case, instead of designing orthogonal features.
253.
▲
by
junke
10y ago
Thanks
254.
▲
by
junke
10y ago
Really good read. Now, I am going to refresh the profile page until part 3 appears.
255.
▲
by
junke
10y ago
But apart from reversing the resulting slice, how do you sort according to ">"? The current approach is more general and might be used with custom comparators. For example, it might be possible to implement the sort you have in
256.
▲
by
junke
10y ago
Yes, "compile/load/execute" can take longer than simply "eval". You have to consider amortized costs: how often do you need to recompile your template (or your regex)? Likewise, are you really going to override
257.
▲
by
junke
10y ago
Ideally, a template should be compiled into native code.
258.
▲
by
junke
10y ago
The first one is the flat list (x y z); the JSON one seems to be equivalent to (x (y (z nil))).
259.
▲
by
junke
10y ago
Except XML has no evaluation rules and no semantics. It allows you to build languages that can be processed by third-party tools, which then give a precise meaning: for example, SVG expressions are written in XML, but the meaning is not exp
260.
▲
by
junke
10y ago
Just pressing Enter at the end would have been a lot less irritating.
261.
▲
by
junke
10y ago
See here for more Apple II stuff: ftp://ftp.apple.asimov.net/pub/apple_II/site_index.txt
262.
▲
by
junke
10y ago
> That's a different structure: it has two Cs in it. It has two occurrences of the same C (but maybe I did not get your example).
263.
▲
by
junke
10y ago
What's wrong with (A (B C) C D) ? For circular structures, you could also have: '#1=(A . #1#) Which is: (A A A A A A A ....)
264.
▲
by
junke
10y ago
It's funny how bad I really want to go to the foobar line and hit Tab (or M-q near it).
265.
▲
by
junke
10y ago
> Fold/unfold terms/trees (code folding, but for expressions rather than lines) Emacs can hide/show blocks in Lisp expressions (and others). Install HideShow ( https://www.emacswiki.org/emacs/HideShow )
266.
▲
by
junke
10y ago
Regarding packages, sometimes I wonder whether package names could have been symbols: that would allow for gensymed packages, as well as hierarchical packages.
267.
▲
by
junke
10y ago
> Beyond that, [it] doesn't cooperate the way you'd like it to I know what I would like it to do. There are some additional features that people would like to use ( https://github.com/fare/package-renaming )
268.
▲
by
junke
10y ago
Why not use simpler names? (bar (foo object)) I mean, I understand that "a.foo" (class A) does not represent the same name as "b.foo" (class B) due to scoping rules, and so logically you would have to use (a-foo
269.
▲
by
junke
10y ago
Céu looks really similar to Esterel. The thesis ( http://www.ceu-lang.org/chico/ceu_phd.pdf ) has a section titled "III.7 Differences to Esterel". (edit: removed explanations, the other comment is more detaile
270.
▲
by
junke
10y ago
I am not a native English speaker, so I guess it just flew over my head.
More ›