Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jsbg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
jsbg
4y ago
if you like wine at all, then there is absolutely a correlation between enjoyment and price; that the correlation isn't 1.0 doesn't mean that wine is fake
152.
▲
by
jsbg
4y ago
> Is this goodbye to @ElonJet? No. [0] [0] https://twitter.com/elonmusk/status/1589414958508691456
153.
▲
by
jsbg
4y ago
"The truths of mathematics would be the same, because they're true by definition" means that "( x => y ) AND x " means y is true based on the definition of => and AND. There's no "philosophy&quo
154.
▲
by
jsbg
4y ago
I hadn't heard of it but it's a good rule! There are too many examples of code that was abstracted out to be shared between uses that end up evolving independently, and the abstraction ends up with a bunch of if-statements and con
155.
▲
by
jsbg
4y ago
> over-refactoring into tiny one-line functions It's relatively rare to refactor a single line of code into its own function, unless it's really hard to read, e.g. some nasty regex. > even if they're supposedly so self
156.
▲
by
jsbg
4y ago
> If breaking up the code makes it slightly less easy to understand right now, but will make it easier to add some feature later that you know you know you're definitely going to need, then hold off. This. Your code shouldn't b
157.
▲
by
jsbg
4y ago
Into the Inferno - Werner Herzog. Documentary on volcanoes where the director allows the filming locations to bring other topics to the forefront. Lo and Behold, Reveries of the Connected World - Werner Herzog. Film about the internet. The
158.
▲
by
jsbg
4y ago
tl;dr: the algorithm splits the audio into blocks (default is 4096 samples per block). Then a polynomial is used to approximate the wave for the block, and residuals are calculated for each sample by subtracting the approximation. The resid
159.
▲
FLAC – Format overview
(xiph.org)
265 points
by
jsbg
4y ago
|
237 comments
160.
▲
by
jsbg
5y ago
> There's nothing more demotivating than spending 8 hours on a problem, feeling good about your solution, and then having some "senior" developer come along and tell you to rewrite it "for readability." While a s
161.
▲
by
jsbg
6y ago
What's wrong with dry air in the winter? Humidity + cold is unbearable. I'd much rather have to put on lotion.
162.
▲
A Guide to Monads in Haskell
(medium.com)
5 points
by
jsbg
6y ago
|
0 comments
163.
▲
Is the Network Turing-Complete? [pdf]
(infoscience.epfl.ch)
21 points
by
jsbg
11y ago
|
0 comments
164.
▲
Is the Network Turing-Complete? [pdf]
(infoscience.epfl.ch)
2 points
by
jsbg
11y ago
|
0 comments
165.
▲
by
jsbg
11y ago
Someone wrote an implementation of COMEFROM (a joke response to the Dijkstra article) along with GOTO in Python for an April fools' day joke as well. https://en.wikipedia.org/wiki/COMEFROM
166.
▲
by
jsbg
11y ago
Tea contains l-theanine, which, when combined with caffeine, has been shown to improve concentration. You can get the same effect by drinking coffee and taking l-theanine pills.
167.
▲
by
jsbg
12y ago
This part, though somewhat unrelated to the topic, is pleasantly insightful: > Saying yes as often as possible is, famously, the first rule of improv, vital to maintaining energy, imagination, and humor. It is also, I have long thought,