kords
Re:Your job is to deliver code you have proven to work
on Thursday December 18, 2025 @12:43PM (#46315972)
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.
Re:Law firm sues Kellogg for not enough strawberries in Pop-Tarts
on Wednesday October 27, 2021 @11:26AM (#29014572)
It reminds me of the Starbucks too much ice lawsuit: https://www.nbcnews.com/business/consumer/half-full-woman-su...
Re:Half of American kids have lead in their blood, doctors say
on Tuesday September 28, 2021 @10:29AM (#28683220)
I got a bathtub stopper and I saw on the box a Prop65 warning. Not sure if it's because of the lead.
Re:We killed our end-to-end test suite
on Friday September 24, 2021 @01:16PM (#28645259)
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.
Re:JSON Schema bundling formalised
on Friday September 10, 2021 @11:54AM (#28483298)
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.
Re:Guide to cognitive biases
on Friday August 13, 2021 @10:52AM (#28169597)
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/...
Re:Slack is down
on Monday January 04, 2021 @08:38PM (#25640951)
Same, I would rather release on a Monday than a Friday.
Re:Map of quotation marks in European languages
on Thursday December 17, 2020 @07:47PM (#25462462)
Indeed, online publications and governmental agencies seem to have adopted " ".
Re:What books would you all recommend to improve your technical skills?
on Thursday December 17, 2020 @12:11AM (#25452735)
I liked Humans vs Computers by Gojko Adzic a lot.
Re:AWS CloudShell
on Tuesday December 15, 2020 @07:16PM (#25437311)
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.
Re:AWS CloudShell
on Tuesday December 15, 2020 @05:09PM (#25435877)
Looks good, but I wish autocomplete would be available.
Re:Fractal Architectures: A Software Craftsman's take to Infrastructur...
on Monday December 14, 2020 @10:18PM (#25426562)
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.
Re:South Africa's lottery probed as 5, 6, 7, 8, 9 and 10 drawn
on Wednesday December 02, 2020 @07:35PM (#25283776)
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)
Re:AWS Lambda pricing now per ms
on Tuesday December 01, 2020 @07:22PM (#25271845)
I was considering migrating my NodeJs lambdas to .NET Core, but I guess cold start times will have a higher impact over billing.
Re:This X Does Not Exist (2019)
on Sunday November 22, 2020 @01:37PM (#25179765)
I would like to see something like "This light speed spacecraft design does not exist".
Re:Astonishing Performance of .NET 5
on Thursday November 12, 2020 @02:56PM (#25074134)
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>();
}
}
Re:The wobbling shadow of the M87* black hole
on Thursday September 24, 2020 @02:06AM (#24575750)
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.
Re:They're deleting my channel, but they don't know why? [video]
on Wednesday September 23, 2020 @09:53PM (#24574530)
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.
Re:.NET 5.0 โ New APIs
on Wednesday September 23, 2020 @02:32AM (#24563666)
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.
Re:Show HN: Visualize Data Structures in VS Code
on Friday August 28, 2020 @10:55AM (#24305614)
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.
Re:Using 'this' incorrectly in C#
on Friday August 14, 2020 @03:50PM (#24162449)
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.
Ask HN: How to insulate an iPad in warm environments?
Hi,I have to perform a live stream with an iPad(latest models) in a very warm environment (temperature is 120F/48C). Duration of the live stream would be around 2 hours. According to Apple, recommended temperature range for iPads is between 32F-95F/0C-35C.Has anyone tried to do some custom thermal insulation for iPads or other similar devices? I'm also thinking the color is important; so gold...
Re:Vue 3 is now in RC
on Friday July 17, 2020 @06:02PM (#23876456)
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.
Re:Cloudflare was down
on Friday July 17, 2020 @05:40PM (#23876141)
It's back now (at least for me).
Re:Firefox Picture-in-Picture
on Wednesday July 08, 2020 @03:57PM (#23773619)
I use double-click for fullscreen, but yeah, it will go on top.
Re:Firefox Picture-in-Picture
on Wednesday July 08, 2020 @12:09PM (#23771246)
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.
Interfaces in CSharp8 are bit of mess
Re:A $43,859.00 Refurbished Mac Pro
on Monday June 29, 2020 @11:05PM (#23686064)
I wonder what's the price for a new one
Re:Testers vs. TDD
on Thursday June 25, 2020 @07:09PM (#23646817)
I think it's the other way.