Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
taffer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
361.
▲
by
taffer
7y ago
That is why there are anti-trust laws, and we should apply them much more rigorously against companies like Uber.
362.
▲
by
taffer
7y ago
> If you are involved in the Union, and other workers are involved, there is seldom a problem. OP was asking what he can do as a small business owner.
363.
▲
by
taffer
7y ago
The thing is that producing the same amount of leather releases orders of magnitude more toxic chemicals into the environment than producing the same amount of plastics.
364.
▲
by
taffer
7y ago
> But to some degree that environmental impact can be reduced by using vegetable tanning. Is that so? From what I remember, vegetable tanning is just as toxic as chrome tanning. Just because something is "more natural" it is no
365.
▲
by
taffer
7y ago
That 3% figure prbably doesn't take the global supply chain, deforestation and consumption shift towards western diets in developping and emerging economies into account. At least in the UK Department of Energy and Climate Change'
366.
▲
by
taffer
7y ago
> It's not just the narrowness of the streets: they're also short and not on a grid. The US suburbs with their hierarchical residential < collector < highway system were designed for cars, however most networks in the US
367.
▲
by
taffer
7y ago
This is only true if we assume that spammers are not already saturating the resources of their victims. And even then, it's better than penalizing blind or deaf people.
368.
▲
by
taffer
7y ago
> Subscription models--rent-seeking--is a little peek into this reality. Thats not what rent seeking means.
369.
▲
by
taffer
7y ago
> propaganda from defenders of poor performing language runtimes Your comment is unnecessarily inflammatory. > AWS bills can easily eclipse engineer salaries if you use it inefficiently. If this happens, it is more due to architectura
370.
▲
by
taffer
7y ago
> the logic is in how the rows and columns are updated, which takes place (and should) in the "application", not the "storage mechanism". Business logic is any logic that exists to encode business requirements[1], eve
371.
▲
by
taffer
7y ago
Since no one has mentioned SQL yet: SELECT * FROM products WHERE (stock > 100 AND price < 5) OR (price BETWEEN 20 AND 35 AND category = 'outdoors') OR name ILIKE '%mountain%';
372.
▲
by
taffer
7y ago
That was COBOL with Univac, IBM and Honeywell.
373.
▲
by
taffer
7y ago
> the UK contributes around 1.5% of world-wide emissions. Assuming climate models are correct, the effect on the global temperature will be unmeasureable. Well, on average every human contributes around 0.000000014% of world-wide emissio
374.
▲
by
taffer
7y ago
Paypal does 200 transactions per second, Bitcoin does 3. I doubt that Paypal consumes as much energy as Switzerland.
375.
▲
by
taffer
7y ago
For each query I had to optimize, I wrote dozens, if not hundreds, that worked without any intervention. 99% is just a rough guess. > If you have a query that needs to look at over about 5K rows and you need responses under 100ms you nee
376.
▲
by
taffer
7y ago
From the sqlite docs: > SQLite works great as the database engine for most low to medium traffic websites (which is to say, most websites).
377.
▲
by
taffer
7y ago
> What's the point of being declarative if common tasks require us to bend over backwards to design our schema/queries/indices/hints in exactly the right way, Because 99% of the time you don't notice that it just
378.
▲
by
taffer
7y ago
I can recommend the Learn Enough[1] series by Michael Hartl. It teaches you the basics and the rest is learning by doing. [1] https://www.learnenough.com/courses
379.
▲
by
taffer
7y ago
Relational databases have become popular because of their flexibility and that has not changed much through the decades. You can combine, aggregate, filter your data, tell the RDBMS in which shape you want it back, and speed up processing w
380.
▲
by
taffer
7y ago
Which version of Postgres did you use? There have been significant improvements in RLS enforcement in Postgres 10: https://www.postgresql.org/docs/10/release-10.html#id-1.11.6...
381.
▲
by
taffer
7y ago
There are tools like sqlacodegen [1] to generate the model code from the database and liquibase [2] for migrations and diffing. > And I just don't see any benefits for us with the database-first approach. The main motivation for thi
382.
▲
by
taffer
7y ago
> Initially, we implemented this solution using a bytea column, but we found that the retrieval performance was unacceptable. It required the whole file to be read into memory before being sent back to the user (as opposed to streaming t
383.
▲
by
taffer
7y ago
> Then we'd like to get back instances of Python objects exactly as they were created. I would accept the challenge as long as the objects in question are dictionaries.
384.
▲
by
taffer
7y ago
> But most people wouldn’t consider it practical to take the 5-10 different supplements needed to replace all of the benefits of eating meat, fish, eggs and dairy. You need B12, that's all. Pretty much everyone in the first world su
385.
▲
by
taffer
7y ago
There are many good reasons for that IMO: * Too long lines are hard to read. For text 11 words per line are recommended, otherwise your eyes will loose track. 11 Words is roughly 60 characters, but code is indented so you need a bit more. *
386.
▲
Infrastructure Monitoring with Postgres (2017)
(archive.fosdem.org)
2 points
by
taffer
7y ago
|
0 comments
387.
▲
by
taffer
7y ago
> It's not clear how the app store application would be associated with it or even know about it or how say a terminal would borrow the application that it didn't know about to run it. Where does the file come from? Suppose you
388.
▲
by
taffer
7y ago
That's interesting. Some time ago I had a similar idea, but with the following differences: 3. Ownership cannot be transferred. A file remains in the same application throughout its lifecycle. 4. An application can give another applica
389.
▲
by
taffer
7y ago
How do people know computers are useful? How do people know you can buy one and what it costs? How do people know where to go when they want a computer? Without advertising there is only word of mouth, which is slow and probably doesn'
390.
▲
by
taffer
7y ago
You're making a lot of implicit assumptions here. If nobody advertises computers, why would people want to buy one? Why should businesses have computers in stock? Why different brands? How would people even know about computer stores?
More ›