I agree that tests and automation are probably the best things we can do to validate our code and author of the PR should be more responsible. However they can't prove that the code works. It's almost the opposite: If they pass and it's a good coverage, then code has better chances to work. If they fail, then they prove code doesn't work.
HN user
kords
It reminds me of the Starbucks too much ice lawsuit: https://www.nbcnews.com/business/consumer/half-full-woman-su...
I got a bathtub stopper and I saw on the box a Prop65 warning. Not sure if it's because of the lead.
If you integrate with a third party service and their environment is slow, because it's not a production environment, your tests will fail due to timeouts. How would you fix this?
One way I would think is to not go against their service; create a similar service and run it according to your SLA. But then, you have to make sure contracts are in sync, so you need to verify contracts from time to time.
I remember I was enjoying XSLT; I used it to create templates and, in the end, valid XHTML pages. I thought that's the future.
I like this book: "The Art of Thinking Clearly" by Rolf Dobelli. It has some tips on how to avoid some of them. https://www.amazon.com/Art-Thinking-Clearly-Rolf-Dobelli/dp/...
Same, I would rather release on a Monday than a Friday.
Indeed, online publications and governmental agencies seem to have adopted " ".
I liked Humans vs Computers by Gojko Adzic a lot.
Yup, today I was looking on some examples of AWS CloudFormation templates and I saw version 2010-09-09. Instantly, I thought the webpage I was reading must be old; so I opened the docs. In the docs, I see "The latest template format version is 2010-09-09 and is currently the only valid value."
Last version was 10 years ago and this service is one of the core AWS services, so it's definitively not abandoned.
Looks good, but I wish autocomplete would be available.
Serverless framework(https://www.serverless.com/) is another popular tool which can be used with multiple cloud providers. Unfortunately, it has similar limitations as the tools described in the article. I just wanted to mention it because, for me, learning curve was easier than Terraform or Pulumi.
I just remembered about this: https://www.youtube.com/watch?v=4AEbn1NUvq0 Number "21" shows on the screen before the actual extraction (1:06 & 1:38)
I was considering migrating my NodeJs lambdas to .NET Core, but I guess cold start times will have a higher impact over billing.
I would like to see something like "This light speed spacecraft design does not exist".
Sometimes I find this useful. This should also help the test errors you mention.
public class MyTest()
{
private readonly IServiceProvider _serviceProvider;
public MyTest(IServiceProvider serviceProvider)
{
_serviceProvider = serviceProvider;
}
public void MethodA()
{
var serviceA = _serviceProvider.GetService<IServiceA>();
}
public void MethodB()
{
var serviceB = _serviceProvider.GetService<IServiceB>();
}
}I wonder why it was easier to build an image of this black hole at 16.4 million parsecs (53 million light-years) from Earth and not the one from the center of our galaxy which is at 26,000 light-years.
They have ways to detect the "unusual". If I fill a form really fast, or something is weird in the state of my browser I get prompted to select crosswalks, road-signs or hydrants. It will be great if they would apply them on their algorithms too, when an "unusual" result occurs.
Typically modules come with their own contracts. Even in the backend by itself, we see same class definition as a model, as an entity and as a business object. OOP also had goals regarding reusability (see criticism section - https://en.wikipedia.org/wiki/Object-oriented_programming). Reusing the same code is hard.
I have a very large json structure that generates a Media Live channel in AWS. When I want add/change something it's almost impossible. I can see this tool helping me.
Not sure if Vim can do it, but code can be read outside of editors. Sometimes people review PRs in browsers. I can see why there might be a confusion when using static imports or properties/methods from the base class without the base keyword.
For me, it would be the Composition API. I think it will clean a lot of code I have. I'm not too familiar with other competitive frameworks unfortunately. I chose VueJS for my personal projects because it felt easier to learn.
It's back now (at least for me).
I use double-click for fullscreen, but yeah, it will go on top.
I've tried it, it's awesome. The things I'm missing in that new window are progress bar and volume control. Or at least I haven't seen a way to make them visible.
I wonder what's the price for a new one
I think it's the other way.
At my last two jobs we never had manual testing. Everything was automated.
A lot of these things can be done with SharePoint. Same thing, no code.
DynamoDB, which is NoSql, also doesn't accept empty strings. But at least, Oracle automatically converts the empty string into NULL, comparing with DynamoDB which would actually fail the query.