Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjfd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
781.
▲
by
cjfd
7y ago
Both the US and most other western countries have a reasonably good separation of powers. Also, the US and other western countries both are clearly the most attractive places to live in the world. And democracy is a large part in this. Howe
782.
▲
by
cjfd
7y ago
The essential characteristics of democracy are that the three powers (executive, law giving, judicial) are separated and that at least the law giving power is in the hands of the people, perhaps by representation and perhaps directly. If th
783.
▲
by
cjfd
7y ago
You would have to ask the authors of those languages but I do not find it very surprising. If you take the whole set of features that commonly comprises object-orientedness it is a rather large set that also seems a bit arbitrary. Why would
784.
▲
by
cjfd
7y ago
I don't agree with this at all. Having the types of every variable written explicitly in the code is important documentation that answers very quickly the question 'what is the type of this thing' without having to look every
785.
▲
by
cjfd
7y ago
There is a bit of a problem considering that the organizations that you name are also in blatant violoation of the principles that you name. As the EU is growing, it has incorporated countries with not very strong liberal values, so liberal
786.
▲
by
cjfd
7y ago
Well, the map is not quite the territory. I remember a time on holidays where we were not really trusting the street that the TomTom had selected for us. So I walked ahead a bit... turned out we were supposed to drive down some stairs.... r
787.
▲
by
cjfd
7y ago
Things related to this seem to be religion and the state of the economy. One factor in the acceptance of gay people is that christianity is much less powerful nowadays. Also, when the economy is doing badly it seems popular to find a scapeg
788.
▲
by
cjfd
7y ago
'If the comment desaturation makes Hacker News difficult to read, you can click on the comment's timestamp to go to its page where the comment will no longer be faded, or you can install the CSS extension discussed here.' Act
789.
▲
by
cjfd
7y ago
Markets are very much fractal too. One should notice that there are companies of every size presumably distributed according to a power law. Pretty much the definition of a fractal. Seems like an ideologically motivated piece to badmouth ma
790.
▲
by
cjfd
7y ago
I think 80% is already a too much in practice. It also depends on the work. If it needs a lot of concentration 80% is just not realistic. If there is some variety, e.g., sometimes people come to ask you something, it becomes easier. But the
791.
▲
by
cjfd
7y ago
I have gone one step further for my computers at home (a desktop and a laptop) and have put most of the stuff in my home directory in a git repository, not just configuration files. That way I keep those two synchronized. The thing I do not
792.
▲
by
cjfd
7y ago
I would like to ask the question what we are actually trying to achieve with both types and with tests. The answer is to, in case of error, find the error as soon as possible instead of in production when the angry customer calls us. The so
793.
▲
by
cjfd
7y ago
This is true but it is still a choice. In my spare time coq project I use ascii exclusively in my source files. Same thing for my PhD thesis in theoretical physics that was in LaTeX.
794.
▲
by
cjfd
7y ago
Sure, everybody has 'rights' but if I were to come across a workplace in my country where programmers were using much of our native language in the code I would consider it a red flag and I would expect to find amateurish practice
795.
▲
by
cjfd
7y ago
The moral is that Bohr just was a guy who lucked into being in the right time and place to contribute to quantum mechanics but that does not make him an otherwise exceptionally insightful into it. Actually, this also is kind of the case wit
796.
▲
by
cjfd
7y ago
Yes, that is a very good point. The 'quantum leap' thing comes from the origin of quantum mechanics when things were not well understood and a struggle for understanding was going on and crude concepts were introduced. The more co
797.
▲
by
cjfd
7y ago
It can be. Sometimes the requirements are complex so any expression of them in code would also be complex. Then another person sees this complex code and automatically assumes that it is bad and should be made less complex while completely
798.
▲
by
cjfd
7y ago
Seeing these comments let me remark that the problem that I have with inductive definitions is that one could have the expectation that the foundations of mathematics would be a rather small and simple set of rules from which the rest can b
799.
▲
by
cjfd
7y ago
Type theories like the one of coq support inductive definitions. Inductive nat: Set := | O: nat | S: nat -> nat However, this feels a bit like having a whole programming language for the foundations of mathematics. An al
800.
▲
by
cjfd
7y ago
What to do in a class may not be entirely trivial but also not that complicated. What is trivial is noticing that a class is doing too many things. The problem is actually doing something about it. This seems in many case to be more of a di
801.
▲
by
cjfd
7y ago
I am not a big fan of 'Solid'. Some of them are true but of the category 'water is wet'. I.e., the SRP principle. Others don't seem useful. The open-closed principle, for instance. All software should be adaptable a
802.
▲
by
cjfd
7y ago
Yes, regarding the color thing, I would add that when you put a light color on a light color there also is the problem that the amount of contrast that you get varies quite a bit depending on the monitor. What looks like enough contrast on
803.
▲
by
cjfd
7y ago
This is a bit strange to me. It has been possible to write refcounted pointers in C++ since ages. And everybody has them in their own private library. Of Course, this introduces compatibility issues because everyone's smart pointer is
804.
▲
by
cjfd
7y ago
At my previous job I wrote a quotation wizard that customers could use to get quotes. They could select what options they wanted, what kind of maintenance contract and for how many work places and that kind of thing. In the end the quotatio
805.
▲
Ask HN: What about Version Pinning?
5 points
by
cjfd
7y ago
|
1 comments
806.
▲
by
cjfd
7y ago
100% agree. These optimizations in readability help a lot. Also, a failure to optimize code for readability makes reading code difficult. I once read some code where I immediately concluded that something was wrong because a function was be
807.
▲
by
cjfd
8y ago
Sure, C++ is complicated. And the way templates are compiled is positively weird, which in turn sometimes leads to long compilation times. The 'select your subset' thing is often repeated, but I do not see much of that. I am a bit
808.
▲
by
cjfd
8y ago
Well, the ability to program anything includes the possibility to do tasks that require high performance. Also, I do like the fact that the compiler guards the type correctness of the program.
809.
▲
by
cjfd
8y ago
I read this thought quite often here on hacker news but it is a bit alien to me. To me the charm of programming is the ability to---at least in theory---write anything. This is also embodied in the idea of Turing completeness. There is a co
810.
▲
by
cjfd
8y ago
Yes, he merely gave us the greatest operating system of human history for free. Such an incredible lack of generosity. By the way, I read this quote as a sincere attempt to understand what was going on in the mind of some people. I am afrai
More ›