Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
psykotic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
81 ms
·
631.
▲
by
psykotic
15y ago
Please don't call them inlined functions. That has a very precise and very different meaning in common usage, so you're likely to confuse a lot of people.
632.
▲
by
psykotic
15y ago
The infix @ operator is just right-associative application, so a @ b @ c is synonymous with a[b[c]]. It plays the same syntactic role as $ does in Haskell for writing pipeline-style code.
633.
▲
by
psykotic
15y ago
> That said, I'm sorry you had a bad experience with what seems like a terrible job. The job itself wasn't that bad. Korea has some cultural quirks from a Western point of view. The drinking and prostitution culture around the workplace
634.
▲
by
psykotic
15y ago
I thought my anecdote suggested quite clearly why I consider it stupid. Reading over it again I still think it does, but I'll spell it out for you: These kinds of team-building rituals make certain people very uncomfortable and anxious. Thi
635.
▲
by
psykotic
15y ago
Or rows or any other kind of pulling. It's not unusual to prescribe a 2:1 work ratio of pulling to pushing. But push-pull imbalance tends to be more of a problem with weighted exercises like bench pressing than with plain old push-ups. Ther
636.
▲
by
psykotic
15y ago
Team building just makes me shudder. A bad experience with a job I had in Korea made me almost swear off drinking entirely because I came to associate it with hwaeshik where I'd drink with obnoxious seniors while having to ward off their pa
637.
▲
by
psykotic
15y ago
On that note, I remember going to Black Angus Steakhouse when the first restaurant in Korea opened at Gangnam-yeok, Seoul. The greeters at the door wore cowboy-style outfits with handkerchiefs around their necks and enormous hats that almos
638.
▲
by
psykotic
15y ago
> But URL routing in Bottle is more similar to Sinatra than it is to the URL dispatching via a tuple at the top of a file. Decorators, a Python 2.5 feature, weren't around when web.py was first released, so they couldn't have been used
639.
▲
by
psykotic
15y ago
Really? Suppose you went to a website for a similar kind of company but with a prominent Wild West theme, sheriff stars for buttons and products called Lasso and Six-Shooter. If I had to guess, I'd say that company was anything but American
640.
▲
by
psykotic
15y ago
Yes, that is what I was trying to convey. The final part of mastering a subject often consists of hard, unglamorous work. Addressing your own weaknesses is never much fun, even if you know deep down that the pay-off will ultimately be worth
641.
▲
by
psykotic
15y ago
Do you know enough about the Python ecosystem to make that assessment? Aaron Swartz's web.py was around as a single-file web micro-framework years before Sinatra even existed. An early version of reddit, after they switched from Common Lisp
642.
▲
by
psykotic
15y ago
> Back in the 80s, the Commodore C-64 had an intelligent floppy drive, the 1541, i.e. an external unit that had its own CPU and everything. I remember by the time I got a floppy drive for my C64 it was twice the price of a new C64, $400
643.
▲
by
psykotic
15y ago
> "Deep" problem solving is a good IQ test, but doesn't improve IQ. "Shallow" problem solving lets students master the elements of the subject, which does increase their intelligence. As you have defined the terms here, what you say mak
644.
▲
by
psykotic
15y ago
> That allows more able (or more motivated) learners to move ahead of the meager expectations of the United States curriculum, [...], an improvement that is long overdue. I suspect that a greater focus on advancing rapidly through the c
645.
▲
by
psykotic
15y ago
Those are labels with barely any fixed meaning. I will always call myself a programmer since programming is what I do. Architect as a named position mostly exists in companies that embrace Moses-from-the-mountain software development with a
646.
▲
by
psykotic
15y ago
The algorithm was invented to match residents with hospitals. Before it was standardized in the 1950s, a far worse method had been widely used, so from that vantage point it cannot be entirely obvious. Often what makes a solution seem trivi
647.
▲
by
psykotic
15y ago
I've seen you paste this a few times now and find myself disagreeing with parts of your framing. First, I don't know any mathematician personally who makes such a clear linguistic distinction between 'exercise' and 'problem'. Once you get t
648.
▲
by
psykotic
15y ago
Did Google start owning Python when Guido went to work there? Replace Google by Transmeta and Guido by Linus and you have another earlier example. This kind of thing happens all the time. You can generally count on long-time system designer
649.
▲
by
psykotic
15y ago
Those are fortunately pretty rare behaviors. They call for a degree of sociopathy rather than merely buffoonish incompetence. An unfortunately common story I hear from acquaintances who have used recruiters in my industry is that many recru
650.
▲
by
psykotic
15y ago
The condescension was very much intended. Look, I'm not going to convince anyone of this point of view with a few hastily typed-out paragraphs on Hacker News. No-one can do that. It's something that rings true or false depending on your exp
651.
▲
by
psykotic
15y ago
When I see someone towards the middle of their career who is still in the thrall of C++ metaprogramming, it excites in me a mixture of genuine sympathy and condescending pity (and if they're a coworker of mine, righteous wrath). I am glad I
652.
▲
by
psykotic
15y ago
Interesting, thanks for the confirmation! I'll have to try to replicate that.
653.
▲
by
psykotic
15y ago
Yes, that's generally how options are used. They're cheap and grant you the development rights for a period of years. So, you block competitors from getting those rights, while having the option to develop them yourself.
654.
▲
by
psykotic
15y ago
The percentage of film options that get developed and then released is tiny. Rights being acquired doesn't mean much by itself, so I wouldn't hold my breath waiting for this movie to be made.
655.
▲
by
psykotic
15y ago
Yes, you can mix these approaches. Almost every client-server game does that to some extent, e.g. Unreal Engine 1, 2 and 3 supports both replicated state and replicated function calls, although it's mostly based on state replication. Howeve
656.
▲
by
psykotic
15y ago
Your point about IEEE transcendentals is a good one, and it ties into the so-called tablemaker's dilemma. But this isn't just an IEEE issue since we're talking about specific CPU-level instruction sets. I'd be surprised if AMD wasn't precis
657.
▲
by
psykotic
15y ago
Next you are going to tell me the moon isn't made out of cheese. No, really, that's why I said I was talking about a specific machine code instruction sequence.
658.
▲
by
psykotic
15y ago
The issue of floating-point determinism only really comes up in lock-step networking where you are in effect simulating a distributed state machine. Rather than continually transmitting the current state, you synchronize the state at startu
659.
▲
by
psykotic
15y ago
> Run some FP calculations on an AMD CPU and then an Intel CPU you'll get slightly different results. Are you saying that the exact same x87 or SSE instruction sequence will yield different results on AMD vs Intel? As far as I know that
660.
▲
by
psykotic
15y ago
If anything you could turn it around and say that ML's approach to control and data effects exemplifies worse-is-better on the purity spectrum. It took a long time for Haskell to solve these problems a la Haskell 98. It's only recently that
More ›