Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rmcclellan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rmcclellan
6y ago
Great article! For those interested in an open source design embodying these techniques, I have an open source hardware design here: https://github.com/russellmcc/dco with a blog write-up here: https://www.r
2.
▲
by
rmcclellan
7y ago
Awesome project! As a professional audio developer, I was really blown away that this was the author's first project working with audio. For anyone interested, I'd recommend checking out "The Infinite Jukebox", which ha
3.
▲
by
rmcclellan
8y ago
Thanks for the clarification. I guess like all trade-offs, it's context dependent. I see the advantages of having a realtime usable non-optimized build for debugging. Since I use modern libraries like Eigen, that option has not been
4.
▲
by
rmcclellan
8y ago
Well, you aren’t rebuilding your binary every frame, are you? I might be missing something. Also, I think build time is super important in most contexts - what I think is less important is runtime speed when you’ve disabled all optimizatio
5.
▲
by
rmcclellan
8y ago
I work using C++17 for high performance applications, and I can relate to a lot of these gripes. I think it's a fair point that C++ is unreasonably complex as a language, and it's been a serious problem in the community for a lon
6.
▲
by
rmcclellan
13y ago
There was a C with Classes. http://www.stroustrup.com/bs_faq.html#invention
7.
▲
by
rmcclellan
13y ago
Of course you can do this in Haskell: http://www.haskell.org/ghc/docs/7.6.2/html/libraries/base/Un...
8.
▲
Timeline editor for JavaScript
(russellmcc.com)
3 points
by
rmcclellan
14y ago
|
1 comments
9.
▲
Show HN: Sound Effect Generator in HTML5
(russellmcc.com)
3 points
by
rmcclellan
14y ago
|
0 comments
10.
▲
by
rmcclellan
14y ago
This was done on a much larger scale (without primes) as a lottery game in Sweden called "Limbo" or "LUPI" (lowest unique positive integer). Several game theorists have analyzed the data with some interesting results: http://swopec.hhs.se
11.
▲
by
rmcclellan
14y ago
Multi-armed bandit isn't an algorithm, it's a model of how to view the problem. Like it or not, the problem web designers face fits the multi-armed bandit model pretty well. The algorithm called "MAB" in the article is one of many that ha
12.
▲
by
rmcclellan
14y ago
I find it interesting that there is no mention of using dependently typed languages or proof engines for this application. Something like Coq, where you write the formal proof of correctness as you write the program, would fit the bill nic
13.
▲
by
rmcclellan
14y ago
Seems like a nice companion to Whitespace: http://en.wikipedia.org/wiki/Whitespace_(programming_languag...
14.
▲
by
rmcclellan
15y ago
I have mixed feelings about this book. It's how I learned electronics, so I can't knock it too much. However, sometimes the explanations, which tend to be intuitive rather than logical, can be quite hard to follow for someone who is more
15.
▲
by
rmcclellan
15y ago
64 bit x86 is very similar to 32 bit. The differences are covered in on slides 191-193 in this deck. The biggest difference for me is the difference in the calling convention. In 32 bit, all arguments generally are placed on the stack for
16.
▲
by
rmcclellan
15y ago
While I agree that this is totally possible, are there any shipping, non-buggy optimizers that do this? Sometimes C/C++ seems purposely designed to make the compiler/optimizer's job difficult.
17.
▲
by
rmcclellan
15y ago
I'm not sure what you're getting at. As a thought experiment, let's consider a pulse that has been band-limited to 20kHz. Are you arguing that the analog output of a (filtered, idealized) DAC would look different depending on whether the d
18.
▲
by
rmcclellan
15y ago
This is completely incorrect, by shannon ( http://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_samplin... ). The sampling frequency determines the maximum frequency that can be captured, not the temporal resolution. That said, a transien
19.
▲
by
rmcclellan
15y ago
I completely agree. It's hard for beginners to learn that a monad isn't a thing, it's an property that can apply to many different things. A monad is so general it's hard to have a single intuition about it. I think perhaps another reason
20.
▲
by
rmcclellan
15y ago
Neither solution is great. Excessive use of return and continue is an incredibly fast way of making code completely incomprehensible. Such complicated control flows should be treated as a major, fundamental problem. Keeping them in place
21.
▲
by
rmcclellan
15y ago
Sure, having a virtual human try to solve the problem would be pretty good. However, even the virtual human would never be able to check the specification correctly for every possible program due to the halting problem. In particular, no
22.
▲
by
rmcclellan
15y ago
I agree with the sentiment that the problem the OP brings up is difficult, but bringing up the halting problem here seems pretty pedantic. If you restrict yourself to a turing incomplete language, checking a specification no longer reduces
23.
▲
by
rmcclellan
15y ago
The power/guarantee trade off isn't a fundamental one, even though in current languages you often have to choose between the two. Creating languages that combine the power of untyped languages with the guarantees of static languages is an
24.
▲
by
rmcclellan
15y ago
I'm not trying to say that bank password policies make sense. They do need help. "Allow weaker passwords and limit login attempts" is not the solution either, because it gives an attacker who has discovered my user id but not my password t
25.
▲
by
rmcclellan
15y ago
This article has several ideas that are fundamentally flawed - but here's the most easily falsifiable one: "What’s worse, a weak password, or a password that sits on your desk?" Contrary to what is said in the article, a weak password is wo
26.
▲
by
rmcclellan
15y ago
Yeah, I'm not a big fan of C++, really. That said, (a) is mostly solved in 11 with rvalue references, isn't it?
27.
▲
by
rmcclellan
15y ago
I think the point he was trying to make is that a good language allows a library to be a "domain specific embedded language", in which an expert in some domain who is not an expert in the host language can do meaningful work. The matrix ex
28.
▲
by
rmcclellan
15y ago
Indeed. This encoding is due to church ( http://en.wikipedia.org/wiki/Church_encoding ).