Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
viscanti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
481.
▲
by
viscanti
13y ago
Queues solve some problems. Others that are read heavy, but rarely updated (queries for which Doctors are on the system) can be cached and read from slaves. Problems that benefit from being async should be async, those that aren't shou
482.
▲
by
viscanti
13y ago
> It has not much to do with lottery, manly with risk and reward and statistics. A lottery is risk, reward, and statistics.
483.
▲
by
viscanti
13y ago
To avoid problems like that, you probably want your dev environment as close as possible to your production environment. You probably also want to be testing your production specific code/logic (especially if you're not doing that
484.
▲
by
viscanti
13y ago
They split "premium" and "value" as soon as they released the 3G, and started offering an older model for half the price. This makes a lot more sense, because the value line is no longer just an old model. Now buyers of
485.
▲
by
viscanti
13y ago
There's a certain elegance (that some ML-Style languages have) that Go forgoes in favor of simplicity. That's often not a bad tradeoff. Simplicity is a nobel goal, and is one of the big reasons for using Go. Go isn't going to
486.
▲
by
viscanti
13y ago
> You don't have to "study" clean code. You just have to overcome the tendency to write code in an overly smartypants way. This is a great point. As an industry, we seem to be impressed by complex solutions (even if the co
487.
▲
by
viscanti
13y ago
What's the argument for allowing un-used imports? I've never run into a case where I wished I had imported something but didn't want to use it If you're looking at future code, you can accomplish that by commenting out t
488.
▲
by
viscanti
13y ago
$1.4k is below average (but possible) in DC. I don't know anyone in SF who is paying $2.7k a month for a place (the high end condos go for that, but they're generally split by couples). The vast majority of people I know in SF pay
489.
▲
by
viscanti
13y ago
> It means that if telling the truth is illegal, they should have the courage to break the law. The time for these companies to fight was before they gave away their user's info, not after they got caught doing so. If they weren
490.
▲
by
viscanti
13y ago
> The chances of self-taught web monkeys in companies that are loss leaders making multiple of the salary of PhD level automotive software engineers... It's not about how you learned it, it's what you know and what you can do. Some of t
491.
▲
by
viscanti
13y ago
So your point is that founder happiness is directly related to the startup's chance of success, which seems questionable, but possibly true. Then you define happiness as things that are good choices for the business. Of course doing things
492.
▲
by
viscanti
13y ago
That's not even a poor man's enum, it's just an enum. Named tuples can be used for everything an enum can be. This doesn't seem like a necessary PEP, but I've made my peace a long time ago about Python's bloated standard library. It's not t
493.
▲
Uber (ridesharing) Policy White Paper 1.0
(blog.uber.com)
2 points
by
viscanti
14y ago
|
0 comments
494.
▲
by
viscanti
14y ago
Guido did a talk at Uber, about the reasons behind the decisions/trade-offs in how cPython is implemented. The pypy guys were there, and it was interesting to hear how different groups could implemented such different interpreters for the s
495.
▲
by
viscanti
14y ago
You're saying that because most people make more money later in their career that the US doesn't have an issue with upward social mobility. That comes from a fundamentally flawed notion you have of what everyone else means when they say soc
496.
▲
by
viscanti
14y ago
> 7) Coding is failing a ton and understanding why. It's painful and frustrating I'd argue that an aspiring programmer's ability to deal with frustration is probably the single biggest indicator of "success". Obviously it's an on-going
497.
▲
by
viscanti
14y ago
In almost all discussions of social mobility, the measure is intergenerational mobility (do you end up in the same socioeconomic class as your parents), not if you made more later in your career than when you started. Almost everyone makes
498.
▲
by
viscanti
14y ago
There's an interesting phenomenon that happens in the US. Upward social mobility almost never happens, but in the rare instance when it does, those examples are given as proof of the "American Dream". The book Ain't No Makin' It ( http://w
499.
▲
by
viscanti
14y ago
I've seen lots of legacy code that's had parameters hard-coded. I don't know that parameterizing functions (with things you might want to be variable in the future) is "functional", but it's still sometimes useful.
500.
▲
by
viscanti
14y ago
While terrifying, I think the real danger is hiring someone who can code, but can't do it in a maintainable way. I'd much rather have someone not write a single line of code, rather than have them write 6 months of unmaintainable spaghetti
501.
▲
by
viscanti
14y ago
But there's a greater than 0% chance that zendesk had an API token for at least one of those services. That could easily allow a hacker to make authenticated requests to those services to gain user info. The fact that usernames and password
502.
▲
by
viscanti
14y ago
> There is absolutely NO way to effectively measure programmer productivity. One of the big reasons programmer productivity is so difficult to measure, is that you need to also see future productivity of everyone else who works on the c
503.
▲
by
viscanti
14y ago
There's a difference between wishing and doing. They wish there was a way to give feedback while avoiding the trouble you're pointing out. Since there's not, they're just left wishing instead of doing. Hiring managers work in a very human
504.
▲
by
viscanti
14y ago
A big part of this is that you're comparing yourself to others. The only thing you can really control is your own actions. It's much better to focus on where you are and where you want to be. Are you making progress or not? If not, what
505.
▲
by
viscanti
14y ago
"Consider wearing a good-fitting mask, with no gaps around the nose or mouth, in public." This can probably be abstracted. Any activity that makes people not want to hang out with you or be near you will reduce your odds of getting the flu
506.
▲
by
viscanti
14y ago
Exactly. Although I've found it helpful to learn similar languages too (i.e. more than one scripting language). Seeing how subtle differences in the languages play out (beyond the superficial len/length type differences) has helped me und
507.
▲
by
viscanti
14y ago
I find I go through cycles. Sometimes I feel like I learn better reading through books and blog articles (and working through any exercises that might be provided). Other times I feel like I pick up more (or at least have more motivation
508.
▲
by
viscanti
14y ago
The examples you've given for voluntary deals not being OK were for protected classes. There's no such protections for companies who have run their company into the ground and need a bailout. Agreeing to a deal, no matter how onerous the
509.
▲
by
viscanti
14y ago
There's a bit of a difference between offering a higher interest rate to someone who just ran their business into the ground (and needs a bailout to survive) and racism. Lenders take creditworthiness into account all the time. I'd have to
510.
▲
by
viscanti
14y ago
I guess I don't follow how the government used AIG's assets for it's own purposes. AIG owed money to other people (specifically Goldman), and when they got the bailout money were instructed to do what real businesses do (pay their debts).
More ›