Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crgwbr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
crgwbr
6y ago
> Hungarian Notation is the tactical nuclear weapon of source code obfuscation techniques; use it! As a young programmer I worked in a very serious enterprise codebase that used the systems variant of Hungarian notation: prefixing variab
92.
▲
by
crgwbr
6y ago
They at least partially did. I’m in a not-wealthy area of the Bronx and somehow managed to get gigabit Fios from Verizon. But, yeah, it’s certainly not everywhere yet.
93.
▲
by
crgwbr
6y ago
8P8C has the huge advantage of being pretty easy to terminate with some basic, cheap hand tools. I’d hate to try that with a USB-C connector.
94.
▲
by
crgwbr
6y ago
I think there’s also some rules in place that say you can’t discourage people from using IAP vs. other payment methods. So a price disparity would probably not be allowed either.
95.
▲
by
crgwbr
6y ago
Another good option here is Django Oscar. Probably a bit more complicated than Saleor, but it’s very powerful and customizable.
96.
▲
by
crgwbr
6y ago
That’s how the Aurora DBs work, but I believe standard RDS Postgres uses a more typical method of WAL replication.
97.
▲
by
crgwbr
6y ago
One note: they had a 2.048 MHz CPU, not a 2000 MHz CPU. 2000 MHz only slightly below modern clock speeds.
98.
▲
by
crgwbr
7y ago
You say that as if the problem of not knowing much about the world had been solved. And I say that as someone under 35.
99.
▲
by
crgwbr
7y ago
We went the EAV route instead of just a free form text field because we still wanted to expose discrete fields to in the UI and have some front-end validation. But sure, from a data integrity standpoint it’s no better than a text field.
100.
▲
by
crgwbr
7y ago
I’ve been through this before: storing a couple addresses for a few hundred different countries in an otherwise very normalized RDBMS. We couldn’t figure out anyway to do it other than EAV tables and a defined attribute pattern for each cou
101.
▲
by
crgwbr
7y ago
The parent said you can cut off water from commercial properties for non-payment, not residential properties.
102.
▲
by
crgwbr
7y ago
No, that's not what I meant and I apologize if it came across that way. What I meant was, it's easy to think of an idealized world where a everything has test suites with 100% branch coverage, complete e2e tests, automated screens
103.
▲
by
crgwbr
7y ago
It’s alarming how true this is. Many seem almost proud of the fact that they have no idea how to use their tools. That’s definitely not git’s fault.
104.
▲
by
crgwbr
7y ago
In real world software dev, I fail to see how a release branch is a flaw. It’s completely reasonable to want to test something in a “gold-master” state before shipping it to prod. Regardless of how many tests you have, that’s just a good id
105.
▲
by
crgwbr
7y ago
This is pretty much exactly what we do, except add in a third “qa” branch between dev and master, for the purpose of manual testing before things go to prod.
106.
▲
by
crgwbr
7y ago
> This, along with the cost of development, is why I have a pet-peeve for hard-coded business logic directly in the code (in most cases). I’ve built systems both ways. Requiring a developer to make changes definitely has costs, but it do
107.
▲
by
crgwbr
7y ago
At risk of starting a debate on the true meaning of 2001 A Space Odyssey, I don’t think “monolith” is derogatory.
108.
▲
by
crgwbr
7y ago
What secrets are you putting in your bash profile? I used to be guilty of putting AWS keys in there, I guess, but nowadays we have aws-vault.
109.
▲
by
crgwbr
7y ago
> They can just add something like require('fs').readFileSync(process.env.HOME + '/.ssh/id_rsa').toString() And that is why you encrypt your SSH keys with a passphrase, use a Keychain, etc. Discord isn’t uni
110.
▲
by
crgwbr
7y ago
There are croissant-based-pastries that are high in sugar, but a standard canonical croissant is savory not sweat. It’s basically just butter, flour, water, and yeast.
111.
▲
by
crgwbr
7y ago
I believe the OPs point wasn’t that that’s what we need—it’s that that’s a bad idea. It’s insecure and bound to break things eventually.
112.
▲
by
crgwbr
7y ago
> I became disillusioned with modern scientific research, especially biology, because I believe that most of what is published is simply false or wrong I’d love to hear more about that. Do you have any good examples?
113.
▲
by
crgwbr
7y ago
Disagreeing with an article isn’t grounds for flagging it.
114.
▲
by
crgwbr
7y ago
Does anyone know why RDS Postgres always seems to lag behind their MySQL offering? I can imagine Postgres is that much more difficult to develop a connection pooling service for, especially since PGBouncer and PGPool-II both already exist a
115.
▲
JavaScript component-level CPU costs
(calendar.perfplanet.com)
2 points
by
crgwbr
7y ago
|
0 comments
116.
▲
by
crgwbr
7y ago
I’d hardly call it inflammatory. It’s merely a humorous story about over-complication in engineering problems.
117.
▲
by
crgwbr
7y ago
From my own experience, I’ve found that Google can be a useful tool. But you have to understand the difficult bits of each language you’re translating between and specifically write around them, making the translations tool job a lot easier
118.
▲
by
crgwbr
7y ago
Wouldn’t an easy non-law compromise here be to reword questions slightly? For example, instead of asking “How did humans come into existence?” ask “According to the theory of evolution, how did humans come into existence?“ That would accura
119.
▲
by
crgwbr
7y ago
I would imagine that evaluating solutions like that would be part of this contract.
120.
▲
by
crgwbr
7y ago
If time is no object, you could do it yourself with a straw. The pumps only needs to be powerful to drain the ballast tanks quickly.
More ›