Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twodave
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
631.
▲
by
twodave
4y ago
Corporations and governments are not responsible for keeping children safe online. Parents are. It is far past the time we should have learned that letting kids interact with strangers online is no different than it is at the park or the ga
632.
▲
by
twodave
4y ago
I have found guest accounts in general to be barely supported. I can’t manage my 2FA for my guest account in other organizations, can’t control which account to log in with (MS seems to decide based on which resource I’m navigating to), and
633.
▲
by
twodave
4y ago
That sucks. If your email provider supports +suffixes you may be able to work around it that way.
634.
▲
by
twodave
4y ago
It's relative, but I assume it's flagging for certain class of known malicious patterns. There's nothing stopping you from writing malicious python code, but essentially that script will only run while you expect it to in mos
635.
▲
by
twodave
4y ago
I've been a part of a few of these, and it really just depends. Overall, though, the report will break down the company into a bunch of different categories (and not just from a code/tech stack standpoint). Sometimes you'll g
636.
▲
by
twodave
4y ago
A technique I’ve used in the past is just turn off directory listing and shove protected content behind a directory named using the hash of the password. Then after hashing the password provided by the user, the directory either exists or i
637.
▲
by
twodave
4y ago
It took me a few seconds to parse what UnitOfWork meant in this context because that’s also a pattern for carrying e.g. database transactions through to different dependencies. E.g. in C#: using var uow = UnitOfWorkContainer.Begin();
638.
▲
by
twodave
4y ago
This is actually a great example of not giving the person communicating the most gracious interpretation. Look, all I'm saying is we'd all be a lot better off if we gave each other the benefit of the doubt when it comes to the int
639.
▲
by
twodave
4y ago
Reduce gravity and slow down time about 2x each and I think this would actually be entertaining. The way it is now I can’t even type the correct letters without bombing
640.
▲
by
twodave
4y ago
I think this is the exact kind of thing we should be talking about. There are some truths that I think we can brush aside if we let ourselves, such as: 1. All people experience trauma. Whether you think one person's trauma is more impo
641.
▲
by
twodave
4y ago
Others have mentioned this being a Javascript-specific problem, but it really isn't. I think there's probably a lot of money in building realistic software models for learning. Maybe not full-production but at least realistic use
642.
▲
by
twodave
4y ago
Uncharacteristically off-topic comment from me, I guess, but when do humans get to a point where we no longer have to appeal to the lowest common denominator? How are our relationships supposed to improve if we dub anything that makes us un
643.
▲
by
twodave
4y ago
Well, I think the main difficulty with SSR is you'd think it would be more of an incremental step. I don't think it's so much a "separation of concerns" issue (i.e. just having some of your presentation logic runnin
644.
▲
by
twodave
4y ago
I think there’s a bit too much “blaming the tool” going on here. Be reasonable about what you introduce into a software project. If it’s a bunch of CRUD you probably can wait to add a front-end framework. If you find yourself needing it for
645.
▲
by
twodave
4y ago
Honestly if you have to be a reasonably-well-known public figure to pull this off then I’m not sure how accessible it really is. I’m reasonably well known in my own city, and I could maaaybe pull off this level of comp working on strictly f
646.
▲
by
twodave
4y ago
Spot on. This actually applies to most consultants like myself. Though I pay expenses in order to develop software, since I don't own the resulting IP I can't take advantage of the R&D credit.
647.
▲
by
twodave
4y ago
Key verbiage here is "for purposes of this section". Section 174 can define software development expenses however it wants--that doesn't make amortization required.
648.
▲
by
twodave
4y ago
I'm not sure you can separate "identify regressions" and "test suite" into different buckets. I'll concede that if you can, it'd be an acceptable replacement--assuming, of course, that it doesn't add
649.
▲
by
twodave
4y ago
Well, look at it this way--what benefits are there in doing so? - The test suite runs faster - Less time is spent maintaining the test suite The argument wasn't whether tests should ever be deleted, but rather an encouragement to delet
650.
▲
by
twodave
4y ago
We're literally paying a Nanny to do basically this right now with our younger two boys. She has other duties, of course, but we could pay a housekeeper a lot less to have those other things done.
651.
▲
by
twodave
4y ago
> Don’t waste time keeping unit tests constantly up-to-date if the code is working. Once the code is both correct and well-factored, feel free to disable or remove the unit tests so they don’t clutter your test runs with errors after sub
652.
▲
by
twodave
4y ago
I think both can be true. I practice and encourage “solving for a class of problem,” but typically where I see people generate technical debt is when attempting to apply that advice to domain/business logic that isn’t and shouldn’t be
653.
▲
by
twodave
4y ago
During a vacation a couple years ago I dropped a glass in the sink while washing it and reflexively tried to catch it. My hand made contact just as it was shattering in the bottom of the sink, resulting in a really nasty, irregular gash tha
654.
▲
by
twodave
4y ago
I think my coworkers mostly think of me as a 10x programmer, and I think this is due to a few factors: - I am familiar with almost all the code at our business and can pretty much jump in anywhere and start working. Most developers try and
655.
▲
by
twodave
4y ago
My wife and I have accumulated a few overall principles about money over the years. What's interesting is how they have played out over time. Here are a few of them: 1. Money and debt are amoral financial tools. It's important to
656.
▲
by
twodave
4y ago
I think I probably wasted half my teenage years on Subspace/Continuum. What a blast that game was! Not to mention the diverse player base. I noticed they even listed on Steam a few years back, but being 38 with 4 kids doesn’t lend much
657.
▲
by
twodave
4y ago
The longer I do this job, the less I value extremely high intelligence. In the end whatever you work on has to be able to be picked up by someone else, so unless you're working in very specific fields, there's not a lot to be gain
658.
▲
by
twodave
4y ago
There should be a basic right of people to control their own “attention” akin to posting a private property sign.
659.
▲
by
twodave
4y ago
If only Instacart would follow along on this. Really annoying getting a buzz for every order I make (I do about 3 per week). And then I also have to dismiss a bunch of screens prior to the next order.
660.
▲
by
twodave
4y ago
As a Christian, I feel the same way about tithing (I'd do it whether there was a tax break or not). As a pragmatist, I'll take whatever tax break I can get. I do think it becomes difficult to draw a line. What I mean is, one reaso
More ›