Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LnxPrgr3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
LnxPrgr3
12y ago
Probably the part where you said, "If that is still not enough, extra cloud instances are probably cheaper than wasting your time with extensive profiling and manual optimizations." At least profiling showed the author why page al
62.
▲
by
LnxPrgr3
12y ago
I think you over-estimate the average skill of non-Web devs, and over-estimate the attention paid to performance even by groups who probably know what they're doing. One example, from Chrome: https://groups.google.com/a
63.
▲
by
LnxPrgr3
12y ago
You might find this interesting reading: Automatic Generation of Peephole Superoptimizers: http://theory.stanford.edu/~aiken/publications/papers/asplos... Binary Translation Using Peephole Superoptimizers: h
64.
▲
by
LnxPrgr3
12y ago
Not a downvoter, but I read the link, including this claim: "4 Core (8 Threads) 3.4GHz Intel i7-4770HQ" I thought that sounded fishy: http://ark.intel.com/products/83505/Intel-Core-i7-4770HQ-Pro... It&#x
65.
▲
by
LnxPrgr3
12y ago
Stanford researchers did something similar for superoptimization: http://cs.stanford.edu/people/eschkufz/research/asplos291-sc... They separate the problem into two phases: the first is only worried about cor
66.
▲
by
LnxPrgr3
12y ago
For personal projects, my default is C++. It's a deeply flawed language, but I love it anyway. Besides, I've never met a perfect language, but I've met plenty of languages that let me get work done, some more pleasantly than
67.
▲
by
LnxPrgr3
12y ago
Last time I went through a DUI checkpoint, they wrote more than 100 tickets for lack of proof of insurance—the most frequent citation from that event. DUI arrests? 2. Either the insane overreach isn't effective, or DUI is a miraculousl
68.
▲
by
LnxPrgr3
12y ago
I don't have an exact answer, but it's a common problem: http://en.wikipedia.org/wiki/Hyperacusis Hearing is complex: you have the cochlea acting as both sensor and first pass signal processing. There's
69.
▲
by
LnxPrgr3
12y ago
This is the goal transfer function (x is frequency in Hz): return pow(10, (x <= 250 ? 1 : 1 + 1.5*log2(x/250) + (x > 5000 ? 5*log2(x/5000) : 0)) / -20); This is the header library that generated the filter to m
70.
▲
by
LnxPrgr3
12y ago
Turns out, we have two left-right localization cues—intensity difference, and timing difference. Sounds on the left hit the right ear a bit late and filtered. This filter aims to reproduce that, effectively mimicking well-placed stereo spea
71.
▲
by
LnxPrgr3
12y ago
I would've thought headphone quality mattered, but my boss heard the effect through iPhone earbuds. The effect is fairly subtle. To make it as clear as possible, try leaving it on for a couple minutes, then switch it off and listen for
72.
▲
by
LnxPrgr3
12y ago
It shouldn't, unless the mix down was done for headphones. If it wasn't mixed for headphones, the problem is headphones exaggerate stereo separation. See: http://www.cns.nyu.edu/~david/courses/perception
73.
▲
by
LnxPrgr3
12y ago
The filter lives in crossfeed.c, with an API described in crossfeed.h. It's pure math and makes no system calls itself—should be plenty portable. The filter designer does use Accelerate, but it's only needed to generate arrays for
74.
▲
by
LnxPrgr3
12y ago
Disclaimer: was inspired to post by this: https://news.ycombinator.com/item?id=8816344 . You should check out his work too. He attempts to simulate surround sound—my program limits itself to stereo audio. This filter is desi
75.
▲
Show HN: Intentionally subtle headphone crossfeed filter
(github.com)
51 points
by
LnxPrgr3
12y ago
|
21 comments
76.
▲
by
LnxPrgr3
12y ago
For my own project (much simpler—only deals with stereo audio), I used this: https://www.dropbox.com/s/t5dvah8zke3uky8/HellOfAGuy_demo.mp... Audio came from here, with a very open license: http://www.au
77.
▲
by
LnxPrgr3
12y ago
Thank you! A typical workload for me includes a mail client, a spreadsheet tracking time, a horde of browser tabs relevant to something I'm working on, possibly one or more virtual machines, hordes of MacVim tabs and terminal windows,
78.
▲
by
LnxPrgr3
12y ago
Apologies for the late reply, but that's precisely my point: if I only did lazy learning, I would've missed awesome opportunities. Of course, I can never know everything. I do both: I learn things as needed to get something done,
79.
▲
by
LnxPrgr3
12y ago
Experience is worth something, even if it comes from toy projects. The downside of "lazy learning" is you can't know what tools you'll need in the future. I was able to win at one of my favorite work projects because I&#
80.
▲
by
LnxPrgr3
12y ago
I've never met a language that isn't broken in some way. They're tools—my only real advice to beginners is to branch out once you get a handle on your first language. My first language was MBASIC on a Kaypro 2, because that&#
81.
▲
by
LnxPrgr3
12y ago
The engineering reason to upsample is to simplify the analog anti-aliasing filter on the other side of the conversion by giving it a wider transition band to work with. It also means one analog filter can handle a wide range of samplerates.
82.
▲
by
LnxPrgr3
12y ago
I've been playing with clang-format for my own projects (installed via homebrew, since Apple doesn't ship it with Xcode). I tell it to enforce limits assuming ts=8 and use tabs for indentation. My editor is configured for ts=4. Do
83.
▲
by
LnxPrgr3
12y ago
This over-simplification has made it hard to find out what my prescriptions might actually be doing for (or maybe to) me. I'm about to say things as a hopefully decently informed patient. Hopefully it'll more useful than "ser
84.
▲
by
LnxPrgr3
12y ago
Whether you can upgrade and how much you can put in varies by machine, but Apple publishes instructions for upgrading your own RAM: http://support.apple.com/kb/HT1651 , http://support.apple.com/kb/h
85.
▲
by
LnxPrgr3
12y ago
I'd love to believe that, but then: http://www.reuters.com/article/2013/12/20/us-usa-security-rs... Plenty of people were furious with RSA over that, yet they still seem to be in business. Then agai
86.
▲
by
LnxPrgr3
12y ago
What is infinite contrast ratio? Is the phone able to emit zero light from a pixel instructed to show RGB(0,0,0) when another area asks for RGB(255,255,255)? Multiple color gamuts—does the phone's screen actually extend well past sRGB,
87.
▲
by
LnxPrgr3
12y ago
Not to mention programming languages in general. We're still wrapping our heads around decades-old ideas. We can be sure software development is finally a mature field when we're unflinchingly using 100+-year-old constructs becaus
88.
▲
by
LnxPrgr3
12y ago
To be fair, an MRAP is quite a step above armored car—including being huge, heavy, fuel-hungry, and designed for use in war zones. And MRAP use was somewhat controversial even in Iraq, where they were designed to be used: https://
89.
▲
by
LnxPrgr3
12y ago
Computers overriding human instructions have also caused crashes. http://en.wikipedia.org/wiki/Scandinavian_Airlines_Flight_75... -- engines ingested ice and started surging. Pilots commanded reduced power, but the Aut
90.
▲
by
LnxPrgr3
12y ago
It's definitely worth remembering how rare commercial airline crashes are: http://en.wikipedia.org/wiki/List_of_accidents_and_incidents... There was also drama around a whistleblower being ignored and demoted afte
More ›