Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjfd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
cjfd
2y ago
I considered trying to do a simple CPU design from logic gates too. But I ended up wondering about some of the performance characteristics. Maybe some people who are knowledgeable are reading this. What I am wondering about is the switching
152.
▲
by
cjfd
2y ago
Duck typing. If it quacks like a duck and swims like a duck it might be a duck. But it might also be a nuclear submarine doing a duck impersonation. The question is whether you want a nuclear submarine in your pond.
153.
▲
by
cjfd
2y ago
This is a very extreme stance. It also is a false dichtomy. A government bureaucracy (a needlessly pejorative term, btw....) can do things and individuals also can do things. One does not exclude the other. It gets interesting when asking w
154.
▲
by
cjfd
2y ago
Well, the question 'is this Wolfram guy doing science' is as such not a scientific question. And the answer is a resounding 'no'.
155.
▲
by
cjfd
2y ago
Well, one can love playing chess and that is all fine and good and so on but if someone says that chess is the fundamental theory of the universe, how much sense does that make? There might even even be truth in that statement, who could po
156.
▲
by
cjfd
2y ago
Yes, but that is not saying very much. Just one single harmonic oscillator already has a state space that is an infinitely dimensional Hilbert space. It is L^2. Now make a tensor product of NF * NP of these already infinitely dimensional Hi
157.
▲
by
cjfd
2y ago
He is basically a crackpot. Any attempt at fundamental physics that doesn't take quantum mechanics into account is.... uhm.... how to put this.... 'questionable'.
158.
▲
by
cjfd
2y ago
Horribly complex and/or impossible. (1) quantum mechanics means that there is not just one state/evolution of the universe. Every possible state/evolution has to be taken into account. Your model is not three-dimensional. It
159.
▲
by
cjfd
2y ago
I agree that the auto keyword should be used sparingly. Things you mention like the output of make_unique and make_shared are a good exception since it is very clear what the resulting type is. Also, one might use auto to store a lambda in
160.
▲
by
cjfd
2y ago
What is this central dot? I thought a central dot in boolean logic means logical and but then the axiom is clearly false..... I don't get what this is about.
161.
▲
by
cjfd
2y ago
These kinds of analyses are all nice and funny and so on but the issue here is that on real computers it does not quite work like this. One thing is that an optimizer may change the order in which statements are executed and then all guaran
162.
▲
by
cjfd
2y ago
This document seems to be at a lower level. An actor model would be implemented in terms of these primitives. These primitives are available in many languages. Immutable is kind of irrelevant in a discussion of multi-threading because immut
163.
▲
by
cjfd
2y ago
"reducing a program with the reduction rules given eventually converges upon a stable "normal form" of the program". How is that possible if the reduction rules define a Turing complete language?
164.
▲
by
cjfd
2y ago
Well, if we assume that a point particle is an infinitely small thing with all of its charge concentrated in one point, the dirac delta function is obviously the correct way to describe that. Of course, there is not really a way to find out
165.
▲
by
cjfd
2y ago
Distribution theory has lots of applications in physics. The charge density of a point particle is the delta function. Also when Fourier transforming over the whole real line (not just an interval where the function is periodic), one has id
166.
▲
by
cjfd
2y ago
'rule of 3s' is way too simplistic. It is on the beginner level. 3 is an arbitrary number anyway. It can be any other number depending on the situation. And creating an abstraction from only one use can be valid. In particular thi
167.
▲
by
cjfd
2y ago
Some people are noticing that println is very new. But there already is https://github.com/fmtlib/fmt and it has been there quite a long time.
168.
▲
by
cjfd
2y ago
Well, it says 'pilot version' so maybe there will be a more definitive version later that is available in more languages.
169.
▲
by
cjfd
2y ago
[cjfd@cjfdpc ~]$ man 7 gitmodules No manual entry for gitmodules in section 7
170.
▲
by
cjfd
2y ago
This is the article I should have read when first trying to use git submodules. The two main facts "a submodule is another git repository" and "a submudule is always pinned to a specific commit of the other git repository&quo
171.
▲
by
cjfd
2y ago
Another one: when a colleague asks for something that is wrong, implement it as requested without questioning.
172.
▲
by
cjfd
2y ago
Is a function that would need 35 levels of indentation a good idea? I have seen C code with about 12 levels of indentation and that was not too great.
173.
▲
by
cjfd
2y ago
The problem seems to be that people want this to be implicit. If you have to call an explicit function to turn an instance of type A into an instance of BTrait anyone can define such a function anywhere.
174.
▲
by
cjfd
2y ago
Of course. The solutions of the Dirac equations live in space and space has rotation symmetry. These solution have to transform in some way under rotations.
175.
▲
by
cjfd
2y ago
The first paragraph of this is the truth. There is something wrong with people who enjoy telling other people what to do.
176.
▲
by
cjfd
2y ago
Much of this has, I think, to do with mutuality. If person A and person B need to work together both need to change their preferred way of working to accommodate each other. In larger groups there is a problem if one person gets to decide o
177.
▲
by
cjfd
2y ago
This is not just an impression, it is macroeconomics 101. If government goes into (more) debt and spends that money it increases inflation. Of course, all of this is not very easy. If the government had not done anything during covid there
178.
▲
by
cjfd
2y ago
Meh, you can watch MSNBC or Fox for quite different messages. Of course, the fascists are not complaining about the media because there is actually something wrong but to justify the eventual censorship.
179.
▲
by
cjfd
2y ago
I think C++ and Rust are just fine. What you call verbosity is actually essential information that some other languages are missing and by doing so, force terrible inefficiency upon the user.
180.
▲
by
cjfd
2y ago
This implementation seems to work a little better: https://www.puzzle-battleships.com/
More ›