Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
psykotic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
481.
▲
by
psykotic
15y ago
Talk to your doctor. They can take a blood test and send it off to analysis. It can be somewhat expensive. When I said "all at once" I didn't mean that a simple biochemical test can reveal all deficiencies, obviously, but that a single bloo
482.
▲
by
psykotic
15y ago
Get your levels measured and dose accordingly. Most people are deficient in a number of areas, and you can get screened for them all at once. In the absence of that, if you're just making a qualified guess, you should probably dose signific
483.
▲
by
psykotic
15y ago
Reading the Usenix paper on SFIO, I don't see much of a resemblance, beyond what you'd expect to find between stream abstractions in general. The really cool thing about Fabian's streams is that the producer (and ultimately the dynamic stru
484.
▲
by
psykotic
15y ago
> If a technical guy can read Steve Blank,Clayton Christensen,Hayek and Friedman....a non-techie can definitely read The Art of Computer Programming What utter nonsense. The theoretical difficulty of pop-economics books like Hayek's Eco
485.
▲
by
psykotic
15y ago
> (or multiple concurrent apps) I'm a programmer. I always have dozens of apps running. The point was, it's silly that you can't smoothly translate a few images at a mere 30 Hz with plenty of CPU power to spare.
486.
▲
by
psykotic
15y ago
I'm running on a 12-core machine with a high-end GPU on the latest version of Chrome and the parallax scrolling is _still_ hitching. Just sayin'. :)
487.
▲
by
psykotic
15y ago
I probably shouldn't have used the 'left' adjective. But that expression results in an unproductive recursion (unproductive meaning that no characters are consumed through each cycle) analogous to what happens when you recursive-descent par
488.
▲
by
psykotic
15y ago
The Kleene star is a fixed-point/recursion operator. Here's an example that causes an infinite loop: (|a)*
489.
▲
by
psykotic
15y ago
This was a bit of a joke at the time. I'm surprised no-one yet pointed out the bug with unproductive left recursion which haunts this and all other similar matchers. Harper's classic Proof-Directed Debugging paper shows how to pre-normalize
490.
▲
by
psykotic
15y ago
You're in luck! I ported all of Telemetry to OS X (including the visualizer) a few weeks ago, and next week I'm planning on porting the run-time to iOS. With those two big pieces finished, that should give iOS developers a full solution. Th
491.
▲
by
psykotic
15y ago
All RAD's products are pure C at the interface level. Most of them are pure C at the implementation level, too. The one exception is that Telemetry (which I work on) uses C++ to implement the C interface, but only minimalistically.
492.
▲
by
psykotic
15y ago
I understand the context. Patrick's formulation is so commonplace as to be cliche. Code is our medium of expression. There's nothing inaccurate or ignominious about describing ourselves as programmers. To say that the code exists to solve p
493.
▲
by
psykotic
15y ago
> If you call yourself a programmer, someone is already working on a way to get you fired. If you work at a place like that, I feel sorry for you. Even the owner of my company lists himself on Twitter and his blog as just Programmer at
494.
▲
by
psykotic
15y ago
Huh. The only really interesting part of the algorithm is the initial guess with the magic number, and he doesn't go into that part at all. Read Chris Lamont's paper if you care enough to want to understand it. The only downside to Lamont's
495.
▲
by
psykotic
15y ago
I can tell from your profile that you were a high-level gymnast, so you have to know from first-hand experience that the difference between the before and after pictures isn't what 34 pounds of lean muscle mass looks like. Once you factor o
496.
▲
by
psykotic
15y ago
> Oracle must be miffed: they built the first relational database No way. What about System R? And there were probably others of which I am unaware. Many of the now-standard RDBMS implementation techniques were pioneered in System R. Th
497.
▲
by
psykotic
15y ago
I got a blood pressure monitor about a week ago. The men in my family have a history of high blood pressure, but my diet and exercise and body composition has been so dialed in the last six months that I was expecting my blood pressure to b
498.
▲
by
psykotic
15y ago
Even if they did have it, they wouldn't risk tipping their hand by using it in mundane law enforcement, so we can rule that out.
499.
▲
by
psykotic
15y ago
> Intel lists their throughput at 3 instead of 0.5! Agner Fog lists ADC/SBB on Atom as having latency 2 and throughput 1/2. I guess Intel could have made them run with ADD/SUB-level performance in cases where there are no intra-pair dep
500.
▲
by
psykotic
15y ago
I'm not enough of a designer to give a detailed critique, but to me this is generic and completely lacking in personality.
501.
▲
by
psykotic
15y ago
I honestly don't care all that much about the exact legal demarcation. What matters most to me is the attitude the idea implies.
502.
▲
by
psykotic
15y ago
I wasn't talking about developing the idea on company time. As I mentioned in another post, that clearly marks an idea for company ownership.
503.
▲
by
psykotic
15y ago
It's your choice what you put in your employment agreements. If you want to include jus primae noctis, go for it! Just don't expect people like me to work for you.
504.
▲
by
psykotic
15y ago
I think you're misreading him. He's not saying the company shouldn't own inventions developed by the employee for the company on company time. He's talking about the all-encompassing agreements that make employees sign over all rights to an
505.
▲
by
psykotic
15y ago
Ralph is using hyperbole to make a valid point. A company shouldn't put its employees in a position where they squirrel away their best ideas for their own future use in an imagined startup. A company can help avoid that by properly rewardi
506.
▲
by
psykotic
15y ago
It's not encouraging creativity. It's encouraging employees to file for bullshit patents to make some extra money and get a bump in their next performance review.
507.
▲
by
psykotic
15y ago
Here's another really old Tetris sample for pygame I wrote half a decade ago (174 non-blank lines): http://web.archive.org/web/20060208230531/http://www.cryptop... Looking at it now, the code has some warts. It was written on an airplane
508.
▲
by
psykotic
15y ago
I am glad we are agreed it would still be shorter. It would also by my standards be simpler and more direct. But I'm not out to convince you or anyone else of that. Make up your own minds. You're defining the term "in any way that is intere
509.
▲
by
psykotic
15y ago
Any attempt at imposing more than C-level abstraction onto a program like Tetris results in needlessly overcomplicated code that fails the 'simple and direct' test.
510.
▲
by
psykotic
15y ago
Here's my quick stab at it: https://gist.github.com/1210351 I haven't tested it. I made sure it compiles and gave it a few looks over. There are likely going to be bugs but fixing them wouldn't lengthen the program. cat tetris.cpp |
More ›