Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjfd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
211.
▲
by
cjfd
2y ago
You are correct that it depends on circumstances. My comment assumes working on a software project for a longer duration and also that the project is non-trivial. Regarding your 80/20 comment I would say that this is true regarding fea
212.
▲
by
cjfd
2y ago
Actually, I think 'half-assing' it is never good. But some people have a problem with perfectionism. I think in general one should have standards and the standards should be good enough to keep a code base in a permanent state of
213.
▲
by
cjfd
2y ago
This happens when people follow rules mindlessly. 3 is an arbitrary number anyway. Even if 3 is the right number in most cases there will be cases where abstracting after 2 cases is best and others where abstracting after 4 cases is best, o
214.
▲
by
cjfd
2y ago
It looks like they are mostly making statements about what is happening outside the Schwarzschild radius. These are testable statements.
215.
▲
by
cjfd
2y ago
Since I am both gay and a user of coq, I have had the opportunity to jokingly say that I like coq in all of its spellings. It goes without saying that I am against the name change.
216.
▲
by
cjfd
2y ago
If they were scrum coaches saying this makes some sense. But apparently they are XP coaches. Scrum says very little about the kind of activity you are doing. You could scrum building a tree house. XP says a lot about programming. An XP coac
217.
▲
by
cjfd
2y ago
What is conspicuous about that? Arbitrary precision integers are useful/necessary in some situation but I don't think there are very many programmers that need them very often.
218.
▲
by
cjfd
2y ago
I think the type-theoretic outlook on formalized mathematics is actually great, much nicer than set theory anyway. Set theory is a bit like an untyped programming language. You get to ask 'interesting' questions like whether the t
219.
▲
by
cjfd
2y ago
When I read this story it leaves me wondering if these people had any automated testing. This may or may not have helped but it is not even mentioned and it does sound like a problem that an integration test might have caught.
220.
▲
by
cjfd
2y ago
When compiling some code that uses this inheritance hierarchy you might only have access to the source code of the parent class and create child classes via factory functions that return a pointer to the base class. If the parent class does
221.
▲
by
cjfd
3y ago
Yes, this article is correct. I have also been saying this in comments on this site. Automated tests should be on the right level to provide value. On a level that is too low, one ends up with tests that test implementation details or the h
222.
▲
by
cjfd
3y ago
Whether people get attached to something is not a great criterion for whether it is good. As the article points out people get attached to all places where life happens. I guess a portion of people who live under dictatorships get attached
223.
▲
by
cjfd
3y ago
To me it seems the equivalence principle is actually false. It was an inspiration to come up with general relativity but the resulting theory supports it kind of, but not really. To start out with, it only holds either looking at an infinit
224.
▲
by
cjfd
3y ago
Read the comment that I am responding to. 'letting legalese define good/bad patent, we should let the economics work it out.' If 'legalese' cannot define good/bad patent anymore, there is nothing stopping such
225.
▲
by
cjfd
3y ago
I declare that I patented human breathing. Every human who is breathing is to pay me the, really very cheap, fee of 1 cent per day. O there is a tax? So now I only get half a cent per day per living being.
226.
▲
by
cjfd
3y ago
Meh, I am not buying this. String theory is not very expensive. Picture a guy writing down formulas on a large piece of paper. How much does that cost? Not very much, really. And, at the same time, you also get teaching out of the same pers
227.
▲
by
cjfd
3y ago
When I was young I studied physics. The initial idea of string theory is kind of cute. It kind of answers the question what the quantum version is of a rubber band. But that does not really work out as a fundamental theory because it has to
228.
▲
by
cjfd
3y ago
I am quite sick and tired of all these style guides, best practices and so on. People who enjoy telling other people what to do are just disgusting. And the 'standards' are quite indistinguishable from just a random idiot with a r
229.
▲
by
cjfd
3y ago
I am sorry to be this blunt but this is really utter and complete nonsense. The phrase that the mandelbrot set can't be represented in a lookup table is as such true but that is because nothing that you do with finite precision numbers
230.
▲
by
cjfd
3y ago
There is nothing wrong with properly indenting code. The lack of {} makes python very ugly when things no longer fit on one line. Because Python has an opinion about whitespace there are certain ways one can break a line an other ways one c
231.
▲
by
cjfd
3y ago
One main thing that one gets for free this way is garbage collection. I once started writing a lisp iterpreter in C++ but that kind of fell by the wayside once I realized that it is quite easy to create cyclical references in lisp and then
232.
▲
by
cjfd
3y ago
At the risk of sounding tautological I will say that good comments are good and bad comments are bad. Code of which it is unclear why it is the way it is should be commented. Any sort of rule that comments should be written in certain place
233.
▲
by
cjfd
3y ago
I think the reliability gap is in statically typed, compiled languages versus dynamically typed languages. I think C++ is a good combination of both worlds. You don't have to type quite as much for error checking an manual management a
234.
▲
by
cjfd
3y ago
I think languages teaching people of any age that wasting enormous amounts of clock cycles for basic book keeping is much more detrimental. It causes one to have to buy a new machine every few years because the damned crap that people write
235.
▲
by
cjfd
3y ago
#include <stdexcept> template <int min, int max> class Range { public: Range(int i): i(i) { if (i < min) throw std::runtime_error("value lower than minimum "
236.
▲
by
cjfd
3y ago
C++ can do this very well, no eye bleed is involved.
237.
▲
by
cjfd
3y ago
In Dutch the word 'kloten' means testicles. The word has some connotations too: it can be used when something unpleasant happened, written as 'klote!' in that case. In English one would say 'shit!' in that case
238.
▲
by
cjfd
3y ago
Reputation is not zero-sum. Say I know 10 people and consider them to be of a certain reputation. Next, I get to know 10 more people and also consider them to be of a certain reputation. Does this mean that in the process I have to halve th
239.
▲
by
cjfd
3y ago
My experience with long-running raspberry pi's is that there are USB problems. One sometimes loses the connection to these devices.
240.
▲
by
cjfd
3y ago
What about doing whatever you like and/or seems most useful? I am getting a bit sick and tired of either people asking what they 'should' do or people telling others what they 'should' do. The former because they se
More ›