Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
peti
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
peti
15y ago
In that case, the GCC extension is part of the input language (in a broader sense). Still, your example clearly shows the difficulties involved in practice.
2.
▲
by
peti
15y ago
If you know the compiler (and every other tools involved in the process), then yes, there exist at least one solution (the original input). The search will eventually find it.
3.
▲
by
peti
15y ago
My point is not about checking if the given program will halt or not. The parent comment's suggestion was: (1) for each possible input program, (1.a) compile it, and (1.b) check if the result equals the given compiled code. Agreed, steps (1
4.
▲
by
peti
15y ago
The set of all possible inputs is infinite: Halting Problem.
5.
▲
by
peti
15y ago
Moreover, using an arrow operator, the OP almost wrote a Prolog expression: ( X==Y -> A ; B)
6.
▲
by
peti
16y ago
I appreciate your reply. I am not sure if I really am on the Scholars side of the spectrum myself, but I surely love to know how to use my tools appropriately (Googling instead of memorizing everything is efficient). There was an article re
7.
▲
by
peti
16y ago
I agree, but I would like to quote the author : "This isn’t an article where I try to convince you to write your code like I write mine." He does not really try to force his style. I respect his approach, because even if the article seems t
8.
▲
by
peti
16y ago
Maybe "Isle of teenagers who just discovered macroeconomics" ;-)
9.
▲
by
peti
16y ago
I handle my mail with imapfilter ( http://imapfilter.hellug.gr/#overview ). Can I reuse the machine learning part ?
10.
▲
by
peti
16y ago
Annoying? Poor usability? It looks like a button, reacts on mouseovers, and would totally fit in some game's website. Besides, it is not the point here.
11.
▲
by
peti
16y ago
WEIRD stands for "Western, Educated, Industrialized, Rich, Democratic", which explains the capitalization.
12.
▲
by
peti
16y ago
If you write one statement per line, the code is very clear, and there is no need for semicolons. It is after all possible, according to the syntax, and a minifier should be able to understand it, as well as your browser. I am certainly not
13.
▲
by
peti
16y ago
The original argument is not about the minifier, but about semicolons. By the way, why would your better minifier introduce a semicolon here ? This is obviously a useless character in this example. Also, I don't understand how adding a semi
14.
▲
by
peti
17y ago
That theory is so simplistic. It is based on a very selfish and static vision of a relationship : "the other must think like me", "people never change". Arguing, debating, ... with people about your respective points of view do not prevent