Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hzhou321
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
241.
▲
by
hzhou321
10y ago
> I kind of make a new language for every project. Rather than writing a program directly, I write pseudocode to solve the program, and then build a language that runs just that pseudocode. I love that approach. Don't let non-essent
242.
▲
by
hzhou321
10y ago
Sounds similar to MyDef: https://github.com/hzhou/MyDef . However, MyDef doesn't attempt to be a new language, it attempts to be meta-layer. With MyDef you can save time with boilerplate, and more importantly, reor
243.
▲
by
hzhou321
10y ago
Thanks. Your work is inspiring.
244.
▲
by
hzhou321
10y ago
Does N here refer to the length of source code or the number of passes? When the source code is big, even the identity pass takes time, right? I don't understand how it become constant addition. Could you quickly comment on that the ma
245.
▲
by
hzhou321
10y ago
I understand that speed may not be an issue here but I still like to ask: won't so many nano-passes affect speed?
246.
▲
by
hzhou321
10y ago
Seems you have mistaken MyDef to this. MyDef is a meta-layer. It simply lets you customize your syntax and add meta-constructs, but you are still writing Perl, C, or whatever language you are actually writing. This project is a complete --
247.
▲
by
hzhou321
10y ago
>> “the math that’s being taught has no relevance to my life" I think our math education do fail in that way. Math essentially is a logic system where you set up premises and derive and make sure everything is consistent. That ca
248.
▲
Perl from scratch
(github.com)
7 points
by
hzhou321
10y ago
|
4 comments
249.
▲
by
hzhou321
10y ago
Since when "evolve organically" become bad? Unix was created as a tool to solve unbounded problems. It is not possible to attempt to have a complete solution when the problems are unbounded. Today, vast computer users have bounded
250.
▲
by
hzhou321
10y ago
> Essentially everything you say here is false. That is OK, but I hope you still can get my main point whether it is true or false. If all you see is everything, I am not sure you understand what I was saying. You have to understand what
251.
▲
by
hzhou321
10y ago
People need understand that floating point comparison at floating precision is undefined , so it is not a bug. The proper floating number representation should track its precision. Since that is more complicated and potentially performance
252.
▲
by
hzhou321
10y ago
What exactly is the security issue on a repository?
253.
▲
Determinism and Free Will
(medium.com)
6 points
by
hzhou321
10y ago
|
0 comments
254.
▲
Why we are different in a crowd
(medium.com)
2 points
by
hzhou321
10y ago
|
0 comments
255.
▲
by
hzhou321
10y ago
Except this time the tension is between nature and human. The activists do not necessarily bring that tension more to the surface than muddling it with societal tensions.
256.
▲
by
hzhou321
10y ago
Well, if you always stop actually listen to these scientists at the first sentence, then you are not educated (IMHO, sorry, no offense). To be educated IMHO, we should care about reasons of what they say more than the title of what they s
257.
▲
by
hzhou321
10y ago
Of course that is the solution. The question is how? To be specific, what actually should we educate the population? We should differentiate knowledge from intelligence or wisdom. Knowledge can be fake, misleading, or contradictory. We have
258.
▲
by
hzhou321
10y ago
Yet it seems you have also tucked in somewhere a belief that driving off the cliff is not that big of a deal (to your other internal beliefs). Could you try detail that cliff. If that cliff is simply a word with little detail, that will be
259.
▲
by
hzhou321
10y ago
Believing that Get out in the streets and put your body on the line will do anything is questionable. I don't share that belief. Reality gets sink in, not by watching TV or listening to activists. So for me, try to open my eyes and s
260.
▲
by
hzhou321
10y ago
When you are thinking like that, you are yet to accept the reality. When you absolutely convinces yourself that you are doomed, your mind will not be thinking about should . Your mind will be thinking about what can you do -- or accept d
261.
▲
by
hzhou321
10y ago
It is the Antarctica summer and there is no miracles that would reverse the physics for that crack now, so let's stop panic for every a few miles of the procession and let the near future reality sink in -- when enough people do that,
262.
▲
by
hzhou321
10y ago
What we need realize is that simple grammar does not always lead to simple comprehension. Nesting the grammar elements more than a few levels is always difficult for our current biology equipment.
263.
▲
by
hzhou321
10y ago
Another thorn in the C syntax is to allow a single statement following if, for, while, etc. . How many pitfalls, walk-around have we struggled with because of it? Just put the braces into the statement syntax please.
264.
▲
by
hzhou321
10y ago
I never got used to having variables sandwiched inside a type. I know I am not supposed to suggest out-of-the-box, but why can't we add a new syntax, e.g.: return_type Fn(parameters) var; typedef return_type Fn(parameters) Ty
265.
▲
by
hzhou321
10y ago
It is a subject of argument because there is no clear definition what is a language. There is spoken language and there is written language, then there is culture behind the language. Chinese dialects resemble complete different spoken lang
266.
▲
by
hzhou321
10y ago
To understand how pinyin helps Chinese become literate you have to start from a Chinese perspective. For an illiterate Chinese, he/she would be fluent in the spoken Chinese. So the barrier is the connection between written characters
267.
▲
by
hzhou321
10y ago
There are 3 assembly code exercise: day 12, 23, and 25. The solutions in the post just interprets the code as is, which all run quite a while. I tend to write my code on a much slower computer and I being quite impatient, so I was forced to
268.
▲
by
hzhou321
10y ago
Seems I have not been kept up :)
269.
▲
by
hzhou321
10y ago
It is not animosity -- I love the simplicity of FORTRAN -- but I am stating my speculation. C replaces FORTRAN. That is from merit point of view. In reality, computational physicists mostly goes to C++ plus Python. Truth to be told, physici
270.
▲
by
hzhou321
10y ago
Let's see how I may clarify the argument. First, if one is familiar with a language or invested in a language, he will be biased to choose that language and it makes sense for him. Before you would argue, I admit I can't prove tha
More ›