Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yiyus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
391.
▲
by
yiyus
7y ago
ColorForth is light-years apart from everything.
392.
▲
by
yiyus
7y ago
These are great examples, and I totally agree with both of you. However, the code most people write is somewhere in the middle, so it is a more subjective decision.
393.
▲
by
yiyus
7y ago
But there are other benefits. You need to make a compromise and there is no win-win situation. It is true that the 10 lines version is totally obvious for everyone, but I do not agree it will make easier to understand a complex piece of cod
394.
▲
by
yiyus
7y ago
It's also a fallacy that a ternary operator is some impossible to understand concept that will make the code totally unreadable for everyone but you. C programmers should be fine with the use of ternary operators for something like the
395.
▲
by
yiyus
7y ago
(a>b)-(a<b)
396.
▲
by
yiyus
7y ago
As long as you do not start a thermonuclear war with Russia you should be ok.
397.
▲
by
yiyus
8y ago
Summarizing scientific articles and writing them are not the same thing. I think this is very interesting work (although I have not read the paper and my knowledge of AI and NLP is very superficial), but the headline really puts me back.
398.
▲
by
yiyus
8y ago
Small correction: Castilla y Leon is not a single province, it is an autonomous community that consists of nine provinces, one of which is Leon.
399.
▲
by
yiyus
8y ago
Good observation. There is a nice analogy to programming here. The same that one of the main tasks of the programmer is to handle errors, one of the main tasks of the engineer is to know the limitations of the tools he is using.
400.
▲
by
yiyus
8y ago
> But now engineering seems to be : let's ask my computing power what is the good design, with little further questioning. I see this quite often at the undergrad level. Even for the simplest problem that can be solved with a pencil
401.
▲
by
yiyus
8y ago
It is not. Every k version is in fact a new language (and rewritten from scratch every time). That said, I guess they may implement some kind of compatibility layer at some point.
402.
▲
by
yiyus
8y ago
They are more practical, specially when using a computer. Besides the gimbal lock problem mentioned in another problem, Euler angles are not easy to compose. It is also not obvious how to calculate the misorientation between two rotations w
403.
▲
by
yiyus
8y ago
You cannot design for modern hardware and avoid bloat at the same time.
404.
▲
by
yiyus
8y ago
I am having problems to follow your argument. I mean, I understand what you are saying, but not how you arrive to your conclusions. You say the geometric product complicates things, but while you can derive any geometric algebra result simp
405.
▲
by
yiyus
8y ago
How would you define rotations using only the wedge product? It is also terribly useful being able to invert these rotations. You could make it work in some way, but it is not clear to me that the result will be simpler than a GA (or quater
406.
▲
by
yiyus
8y ago
Fortran has evolved a lot. You can practically use any programming paradigm with it. If you chose well a subset of all its features, you can actually write quite elegant code. I have never used it for this and do not have any example, but I
407.
▲
by
yiyus
8y ago
> I would contend that GA is the wrong approach I just said GA gives the most elegant formulation in another comment. What alternative do you suggest? Seeing that you mention the wedge product and bivectors, may you be thinking in someth
408.
▲
by
yiyus
8y ago
When Maxwell first derived his equations in 1861, he did it without a cross product. As a matter of fact, the vector analysis of Gibbs and Heaviside was developed to formulate Maxwell equations. The most elegant formulation of Maxwell equat
409.
▲
by
yiyus
8y ago
NJ Wildberger, who is behind rational trigonometry, has some radical ideas. However, I do not think there is anything wrong with his results (at least most of them, his videos are great too!) and most of them could probably be applied in a
410.
▲
by
yiyus
8y ago
Exactly my feelings. I agree efficiency should be improved, and I would like that total travel time got shorter, but I can accept a small margin to help them adjust if that will give me a consistent arriving time.
411.
▲
by
yiyus
8y ago
You need avx
412.
▲
by
yiyus
8y ago
sentence(lang HumanLanguage){ if(lang!="EN"){ throw_exception(UNKNOWN_LANGUAGE_EXCEPTION); } with subject(combine_adjective_noun("context", "clues")){ verb
413.
▲
by
yiyus
8y ago
// :+-*% ^&|<=> x64 JJ Jj o2 cc tst RET cll psh pop acdbsbsd89.. o[m[s|d]] c3 eb+1 e8+4 e9+4 [f2/66/4*][0f] 5* 7*+1 b*+4 0f8*+4 03 23 2b 3b (6b 83) 89 8b ..
414.
▲
by
yiyus
8y ago
I think this is one of the reasons he does not release his code. K is such a small language, with a very limited number of primitives, that were chosen for the task they wanted to solve. Every user would want to change that one he never use
415.
▲
by
yiyus
8y ago
You have ivy, for example: https://github.com/robpike/ivy by Rob Pike and, of course, gofmted. I have had a quick look at a few APL implementations and some of them are very readable code (by normal standards). However
416.
▲
by
yiyus
8y ago
Here it is for anyone who wants to have a look: https://docs.google.com/document/d/1W83ME5JecI2hd5hAUqQ1BVF3... I recommend you to keep the original files at hand for reference. Once you have understood it the fir
417.
▲
by
yiyus
8y ago
I studied this code for a long time. I have lots of notes, going through everything almost line by line. I would be embarrassed of making them public because I never finished (at some point, I was just rewriting the x64 reference), but if s
418.
▲
by
yiyus
8y ago
Not only one developer. Rob Pike, Ken Thompson and Russ Cox were fundamental in Plan 9. The early versions of Go's standard library were very based on ideas taken from Plan 9 and Inferno, and even the compilers were very similar. Altho
419.
▲
by
yiyus
8y ago
Probably at the point new versions of your dependencies break your code. If you have no external dependencies, you should be fine. It also gives you the freedom to have your projects wherever you want.
420.
▲
by
yiyus
8y ago
There are a few expected (or, better said, rumored) features that have been left out. Some of them will eventually come (views), some of them probably don't (like using the unicode symbol for sqrt). I was surprised when I saw in nsl a
More ›