Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjfd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
331.
▲
by
cjfd
5y ago
You are saying that the risks of industry interests have not come true. There has been much talk about companies trying to influence what products are being used in education, which for universities, is closely related to research. Even if
332.
▲
by
cjfd
5y ago
I think this is the right idea. The pendulum between having as many dependencies as possible and having no dependencies at all has flung way too far in the 'as many dependencies as possible' side. It is a major PITA when yet anoth
333.
▲
by
cjfd
5y ago
Software development seems very vulnerable to cargo culting. People are not deciding the tool that they need and the architectures of their applications because of what technically makes sense but because of what is popular. One could start
334.
▲
by
cjfd
5y ago
Well, not lending itself to testing really is a big problem. But one does not need to sacrifice much in terms of understandability to make code testable. For instance, one does not always need an interface. You could also just inherit from
335.
▲
by
cjfd
5y ago
Yes, sometimes (not often) commented out code can be defended. The point of adding why it is commented out is very well taken. Then you can remove it if the reason for it still being there is not longer applicable. And commented out code te
336.
▲
by
cjfd
5y ago
Another thing one might ask is what is the goal of having a society in the first place or what should be the goal of having a society. I would say that providing its members with their human rights is pretty high up there as the goal. But m
337.
▲
by
cjfd
5y ago
Human rights are a precondition to democracy. The key idea is that in a democracy people can get laws changed if they can get enough others behind the idea. To do this one needs, at the very least, to tell other people about this idea that
338.
▲
by
cjfd
5y ago
After that one gets into philosophical ethics rather quickly. In practice people not having human rights degrades into much suffering quickly. You said something not-so-nice about the government? Now we throw you in jail! So, why is that wr
339.
▲
by
cjfd
5y ago
Actually, free speech is an end goal. It is a human right. As such only grave reasons are valid to infringe upon it.
340.
▲
by
cjfd
5y ago
I don't think either utilitarianism or deontology can claim precedence over one another. We are doomed to have the two fighting in the human brain for as long as there will be human brains. And different people will come up with differ
341.
▲
by
cjfd
5y ago
Now that I have archlinux on both home and work PCs, basically never. Rolling releases FTW!
342.
▲
by
cjfd
5y ago
If there is one single article about programming that I positively hate it is 'duplication is better than the wrong abstraction'. As the Jason Swett article points out the article seems to install a sort of fear of refactoring. If
343.
▲
by
cjfd
5y ago
Well, 'make you agree' is kind of an oxymoron, isn't it?
344.
▲
by
cjfd
5y ago
I think both the dogmatic programmer and the pragmatic programmer are wrong here and the truth is somewhere in the middle. The code actually touching the database and doing queries should be a small percentage of a large application. Mixing
345.
▲
by
cjfd
5y ago
This appears to be incorrect. I have seen a cppcon talk about that. I think it may have been this one: https://www.youtube.com/watch?v=rHIkrotSwcc . On the other hand, it is a very, very tiny minority of programmers who hav
346.
▲
by
cjfd
5y ago
This would seem to be a very micro optimization, though. If you are in a tight loop, sure, but otherwise I would say that smart pointers are a rather low price to pay. And if you are in a tight loop it may be better to try to avoid memory a
347.
▲
by
cjfd
5y ago
I think C++ is just fine. Memory management is not that hard anymore using smart pointers. I prefer that to java at any time of the night or day. Such an ugly verbose language. The buzz word laden stuff is actually quite bad. I have seen wh
348.
▲
by
cjfd
5y ago
I think this kind of talking about technical debt is mostly just nonsense. If there is any interest percentage to be put on this it is far higher than any sort of financial department would be prepared to accept on a loan. From which it fol
349.
▲
by
cjfd
5y ago
"For most scenarios, you really don't need all those damn cores. They are almost certainly getting in the way of you solving your problems." This rings true. I still think the most promising multi-threading strategy is to, by
350.
▲
by
cjfd
5y ago
I studied physics when I was young and my first reaction was 'sure you can!' and 'I have done that kind of stuff some 20 years ago or so'. What looks to be the problem is that he wants a rather non-physical kind of noise
351.
▲
by
cjfd
5y ago
Presumably the so-called 'dark personality traits' have nothing to do with skin color but the adjective 'dark' as something that is threatening is because the night is dark which is ultimately derived from the fact that
352.
▲
by
cjfd
5y ago
Maybe someone should tell American universities that not everything revolves around race.
353.
▲
by
cjfd
5y ago
The 'data is payment' thing sounds terrible. What if it really goes south and this data is involved in some identity theft? Then the criminal justice system needs to get involved at enormous cost to tax payers. Therefore, there ac
354.
▲
by
cjfd
5y ago
I studied clean a very long time ago, maybe 20 years, so I have no idea any more what the code looks like, but I can attempt to tell you the basic idea of this. There are objects that you cannot copy and also not use in multiple places as a
355.
▲
by
cjfd
5y ago
What would happen if it was a US company? Probably they would be forbidden from selling anything outside of the US. Remember what the US did with crypto exports for decades? Next, if you tried to investigate anything that it was doing, you
356.
▲
by
cjfd
5y ago
So, storing these identifiers should be illegal as well.
357.
▲
by
cjfd
5y ago
Very good points. In his book 'working effectively with legacy code' Michael Feathers actually defines 'legacy code' as code without tests. Largely because of reasons like you state.
358.
▲
by
cjfd
5y ago
https://www.google.com/search?q=python+security+vulnerabliti...
359.
▲
by
cjfd
5y ago
One problem is the idea that there is a one-size-fits-all solution. An application should be structured in such a way that it fits the problem that you are trying to solve as ergonomically as possible. 'Widget Driven Development'
360.
▲
by
cjfd
5y ago
Well, you do not seem to know all of the meanings of the word 'partial functions'. If one types in 'partial function' in google one can see both the meaning 'partial function' that you have in mind and the mean
More ›