Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougWebb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
DougWebb
9y ago
Microsoft provides an example database, AdventureWorks, for SQL Server. I've used it a lot at my company; we make a product that generates Enterprise back-office applications off of existing databases, and we've created a bunch of
212.
▲
by
DougWebb
9y ago
REST is like Agile. Almost everyone who claims to do it only kind of do it, and those who really do it get all wrapped up in the theology of it and turn it into an unworkable mess.
213.
▲
by
DougWebb
9y ago
Uh.... the number of people inside the blast radius?
214.
▲
by
DougWebb
9y ago
That's not a breakpoint, it's a smooth transition. A breakpoint is when you earn $X, and that's low enough to get $Y in welfare. But if you work longer/harder the total amount you get is still $X+$Y because your welfare
215.
▲
by
DougWebb
9y ago
"We want to run an exchange that the entire world will use for this crypto-currency that's become very popular and has increased in price 1000% since it became widely known." I think I would have predicted that they'd ne
216.
▲
by
DougWebb
9y ago
That doesn't look like an ape either, though. And there probably aren't many naked bears running around the wilds of Tibet. There are three kinds of evidence in play here: 1. Artifacts claimed to come from yeti. High probability o
217.
▲
by
DougWebb
9y ago
That's funny. No, for most developers who are asked to provide an estimate, the analogy is more like this: PM: I want a bridge. When can we start using it? Eng: Uh, ok, where is the bridge? What's is going over? What kind of traff
218.
▲
by
DougWebb
9y ago
Died, continue to die, and are going to die. This is an on-going problem.
219.
▲
by
DougWebb
9y ago
Passing a function into a sort() is going to be slow in any language, unless the language is able to inline the function. That depends on static analysis by the compiler, which is notoriously difficult in Perl. The key, as you mentioned, is
220.
▲
by
DougWebb
9y ago
Regular expressions can get out of hand, but that's a developers (bad) choice. Perl lets you use multi-line regular expressions that ignore whitespace and allow end-of-line comments, which lets you properly document longer expressions
221.
▲
by
DougWebb
9y ago
...and, in fact, that's also what you'd get if you taught everyone how to program Python in high school instead of Excel. You'd get tens of millions of non-interoperable messes of programs (which still get the job done!). T
222.
▲
by
DougWebb
9y ago
How valuable is your past journaling with such a system? I use a mixture of Vim with text files, and the Windows Sticky Notes app, for my notes. The text files go into a folder related to what I'm taking notes on, and are for longer
223.
▲
by
DougWebb
9y ago
I have really bad vision; -7.0 to -7.5 in both eyes. Without glasses my focal point is about 3 inches from my face. At that range I can see quite a bit of fine detail that you'd never notice from even a foot away. In the past, before c
224.
▲
by
DougWebb
9y ago
Paternal instinct, and women who like sex, exist too.
225.
▲
by
DougWebb
9y ago
Explicit isn't better when the explicit boilerplate overwhelms and hides the intent of your code. For the C# example, this can cause an exception: dict["yes"] = "val"; If the dictionary already contains an e
226.
▲
by
DougWebb
9y ago
Why would there be a warning? Your example does exactly what autovivification is supposed to do. Obviously you don't normally use it as obscurely as you've done here. I hate C#'s way of assigning a value to a dictionary, with
227.
▲
by
DougWebb
9y ago
The code you write can also potentially have a lifespan of 3 months, and it can be hard to predict which it's going to be. I feel that TDD is an attempt to impose engineering discipline onto something which is still largely at the craf
228.
▲
by
DougWebb
9y ago
Let's be optimistic and hope for the Wall-E outcome instead of the Terminator outcome. The robots will keep us around and take care of us as pets.
229.
▲
by
DougWebb
9y ago
It's very likely to be bad for you.
230.
▲
by
DougWebb
9y ago
Of course landlords set the rent they're going to charge for their property. They're free to do so, within certain bounds established by the market and based upon the value of the property they are renting. A land value tax, which
231.
▲
by
DougWebb
9y ago
That link is talking about the effects an LVT would have on unused land that's being held for appreciation, and land that's being held as an investment. I'm talking about landlords renting property to tenants. Increasing the
232.
▲
by
DougWebb
9y ago
So, where exactly does the wealthy landlord get the money to pay the land-value tax? From their own labor? From their savings? From after-tax interest earned on their other investments? Of course not! They're going to raise the rent to
233.
▲
by
DougWebb
9y ago
More likely that long-term consumption may be unhealthy for you due to the elevated levels of Red Bull sugar-free you're getting. Try water.
234.
▲
by
DougWebb
9y ago
Maybe at first, but not once they're mass-produced on the kind of scale that would be needed to justify the cost of moon-based mining.
235.
▲
by
DougWebb
9y ago
The most common elements on the moon are quite common on the earth too; I don't think the value in mining them will ever come from bringing the mined materials back to earth. The value is going to come from having and maintaining an es
236.
▲
by
DougWebb
9y ago
That could be survivor bias. Maybe there used to be a lot more of them.
237.
▲
by
DougWebb
9y ago
That seems like it must be incorrect. Life on earth evolved in the oceans, so the oceans had to exist for eons before life evolved and the eons it took for life to evolve photosynthesis and produce significant amounts of oxygen in the atmos
238.
▲
by
DougWebb
9y ago
I just had to fix that in a project today. Looked great in Firefox, but Chrome made the images huge and every time the page changed they just got bigger. Seemed completely broken to me.
239.
▲
by
DougWebb
9y ago
It's much easier to build something that's suitable for your one specific use case than it is to build a general-purpose framework. Database systems, cars, and Bootstrap are all general-purpose. But if you need to store a collecti
240.
▲
by
DougWebb
9y ago
Not really. TFA doesn't talk about what happens when the search fails. sgentle is talking about using human-meaningful urls as identifiers, which doesn't work when the search fails.
More ›