Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SomeCallMeTim
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
SomeCallMeTim
4y ago
You can always handle it at the application level. The trick is that it's better to have the extra guard rails. And all of Couchbase, Yugabase, and Citus support foreign keys even with sharding and replication, so that's not an
122.
▲
by
SomeCallMeTim
4y ago
If that comparison table is right about "no foreign keys," that's a showstopper for me. :( Back to looking at Couchbase, Yugabase, or Citus for my distributed SQL.
123.
▲
by
SomeCallMeTim
4y ago
When the NYT says something that is factually incorrect, they issue a retraction. Everything they do say is fact-checked, even if they make mistakes. That's not even close to "lying". "Misrepresentation" can be a
124.
▲
by
SomeCallMeTim
4y ago
> in the event of bugs or security vulnerabilities in your application The article talks about keys being published as part of the web page configuration. That's far worse than "they could hack a server and gain its credentials
125.
▲
by
SomeCallMeTim
4y ago
It's simply software engineering malpractice to have ever sent any of those keys to the client. There is no excuse. It is a well-solved problem to handle secrets; there are better and worse solutions. An environment variable for
126.
▲
by
SomeCallMeTim
4y ago
Or outsourced to the lowest bidder.
127.
▲
by
SomeCallMeTim
4y ago
No, there's no evidence. But it seems trivially obvious that, if Musk owned Twitter, that account and ones like it that target Musk will disappear. As much as I like Tesla and respect SpaceX, I do note that Musk rarely misses an opport
128.
▲
by
SomeCallMeTim
4y ago
"Bad" platforms aren't bad because "we disagree with them." They're bad because they're lying to people en masse and inciting rebellion. And yes, I absolutely think that behavior that reaches that bar sh
129.
▲
by
SomeCallMeTim
4y ago
Well, that's why I use cross-platform tools. Heck, I often can simulate without even the Android emulator, if there's a Web or PC target for the cross-platform environment.
130.
▲
by
SomeCallMeTim
4y ago
"Fewer bugs" needs to produce 2x productivity over the productivity of the two developers independently in order to actually be a benefit . Code review and using typesafe languages can also catch nearly 100% of those bugs as well
131.
▲
by
SomeCallMeTim
4y ago
Sorry, don't have the references handy.
132.
▲
by
SomeCallMeTim
4y ago
Occasional pairing, especially for knowledge transfer, is great. It's the 100% pairing, or worse, 100% mob programming (up to six people with one screen!) that I can't believe would ever be more efficient than the programmers work
133.
▲
by
SomeCallMeTim
4y ago
That's documenting an emergency, all-hands-on-deck response to a crisis. I absolutely can pair for such an event. I'll pair for knowledge transfer . I'll pair for fun . If every second counts, or if the goal isn't maxi
134.
▲
by
SomeCallMeTim
4y ago
Exactly. I spill drinks periodically, but I don't ever forget my keys. I don't ever let them leave my pocket, of course, so I'd need to forget my pants to forget my keys...but we did agree not to get started on personality di
135.
▲
by
SomeCallMeTim
4y ago
I do all of my mobile development cross-platform. 99% of the app dev happens on Android, and I just test on iOS when I need to--and for that I have an older, cheap, MacMini.
136.
▲
by
SomeCallMeTim
4y ago
Not the OP, but I just lost a keyboard to a spilled drink as well. Not all of us have perfect dexterity and spatial awareness at all times. I haven't lost a laptop screen to dropping it, though I have had a laptop screen spontaneously
137.
▲
by
SomeCallMeTim
4y ago
The studies I've seen about pairing show that it's OK for beginners or lower-skill developers, but absolutely less productive for expert/senior developers. So yes, you're correct.
138.
▲
by
SomeCallMeTim
4y ago
That just can't be more productive over the long term, though. Lets say, hypothetically, that you can use it to ramp any programmer up to being an expert on the system. Maybe that takes two months? Or even six months? Once you have
139.
▲
by
SomeCallMeTim
4y ago
"Zero-cost" in that context refers to runtime performance. It always refers to runtime performance. And code bloat, as I've said elsewhere, is vastly overblown as a problem. Another commenter pointed out that link-time opti
140.
▲
by
SomeCallMeTim
4y ago
Using templates in C++ can make code faster, though. Because you can write the same routine with more abstraction and less indirection. I've used C++ templates effectively as a code generator to layer multiple levels of abstraction
141.
▲
by
SomeCallMeTim
4y ago
In my experience, code bloat from templates is overblown. Inlining happens with or without template classes.
142.
▲
by
SomeCallMeTim
4y ago
> "monomorphize everything" approach can explode your code size surprisingly fast. It can in the naive implementation. Early C++ was famous for code bloat and (apparently) hasn't shaken that outdated impression. In practi
143.
▲
by
SomeCallMeTim
4y ago
In C++, generics (templates) are zero-cost abstractions. So no, generics do not de facto make code slower.
144.
▲
by
SomeCallMeTim
4y ago
>potentially affected non-customers There is a reason that most companies make it hard to talk to a human before you've already exhausted all other support channels. Make something like that a right and people will use it. Maybe 9
145.
▲
by
SomeCallMeTim
4y ago
But you can comply with ethical business practices without hiring employees to deal with hundreds of thousands of callers. Automated moderation is a thing, and actually responding to support tickets instead of ignoring them is also a th
146.
▲
by
SomeCallMeTim
4y ago
No, Giphy really doesn't need the "right to speak to a human." It may need (I don't know if they have this already, and I don't care to do the research) a "Report" button with various options including &qu
147.
▲
by
SomeCallMeTim
4y ago
Didn't see that, but... Now if someone successfully publishes a hack that steals everyone's data and/or creates a botnet everywhere it's installed, there's no way to actually pull it down and override it. Unless the
148.
▲
by
SomeCallMeTim
4y ago
Exactly, and: >In day to day development our decentralization increases reliability (leftpad is a sore memory) ...leftpad became a problem when a commonly-used deep dependency was ripped out of the ecosystem. And because npm is central
149.
▲
by
SomeCallMeTim
4y ago
But the CAN-SPAM act has built-in penalties: > Q. What are the penalties for violating the CAN-SPAM Act? > A. Each separate email in violation of the law is subject to penalties of up to $46,517, and more than one person may be he
150.
▲
by
SomeCallMeTim
5y ago
It has a name. "Gender fluid." And just because you don't understand it doesn't mean that it isn't some peoples' life experience. Reference: I know a child who is not at all rebellious or attention-seeking bu
More ›