Test smarter not harder: harnessing table tests in Go
1 points posted by madflojo ⌘ Read more
Testing my Dyson Hairdryer Jet Engine #engine #science href=”https://we.loveprivacy.club/search?q=%23experiment”>#experiment** ⌘ Read more
I’m playing around with snac2, which I think @stigatle@yarn.stigatle.no mentioned on here, and I have to say it’s extremely easy to set up and it’s been pretty straightforward so far. I wanted to experiment with having a presence on the Fediverse without going through the process of picking Mastodon vs. Gnu Social vs. Friendica vs. …, and I wanted to self-host instead of picking an instance of one of those. For now I’m abucci@buc.ci, but no guarantees that will remain stable; I’m just testing for the time being.
With Youtube testing a “three strikes and you’re out” policy against people who use ad blockers, I’m also wondering whether Web 2.0 is effectively walled off and I should just give up on it entirely and look elsewhere for information and entertainment.
[Go] How to work with dates in tests
1 points posted by Elton Minetto ⌘ Read more
Shorter Feedback Loops Developing Java Apps with Digma’s Free Docker Extension
The Digma Docker extension acts as your own intelligent agent for monitoring code execution, especially in development and testing. ⌘ Read more
Testing Grpc methods
1 points posted by John Doak ⌘ Read more
JMP: JMP is Launched and Out of Beta
JMP has been in beta for over six years, and today we are finally launching! With feedback and testing from thousands of users, our team has made improvements to billing, phone network compatibility, and also helped develop the Cheogram Android app which provides a smooth onboarding process, good Android integration, and phone-like UX for users of that platform. There is still a long road ahead of us, but with so much behind us we’re comfortable saying JMP is ready for la … ⌘ Read more
Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions
40% of code produced by GitHub Copilot has at least one well-known security vulnerability, in the test reported in this paper.
<test> #test test
<darch> testing out generating twt-hash using php
Announcing the public preview of GitHub Advanced Security for Azure DevOps
GitHub Advanced Security for Azure DevOps is now available for public preview, making GitHub’s same application security testing tools natively available on Azure Repos. ⌘ Read more
How GitHub Copilot is getting better at understanding your code
With a new Fill-in-the-Middle paradigm, GitHub engineers improved the way GitHub Copilot contextualizes your code. By continuing to develop and test advanced retrieval algorithms, they’re working on making our AI tool even more advanced. ⌘ Read more
Boost Your Local Testing Game With LambdaTest Tunnel Docker Extension
Learn how the LambdaTest Tunnel Docker Extension can streamline your testing workflow. ⌘ Read more
Golang Table Test Example
1 points posted by 0x13a ⌘ Read more
@prologic@twtxt.net I know very little about it, but speaking secondhand, it looks like there’s a single centralized server now and they’re still building the ability to federate? Like, the current alpha they’re running is not field testing federation, which makes me think that’s not a top priority for them.
<darch> testing
<abc> test
<sp> testing
DI Container IziDIC v0.0.3 easier to test, better documented #releases href=”https://we.loveprivacy.club/search?q=%23dependencyinjection”>#dependencyinjection**
The fgm/izidic dependency injection container (DIC) just got its firsts official release instead of just a tag: tag v0.0.3 contains a feature and documentation improvements.
- feature: the `Container`type is now an interface, to ease Service testing, instead of a concrete struct
- doc: a complete application is now available, demonstrating how to set up an application in practice for dependen … ⌘ Read more
Show: testcerts - Go package with an easy-to-use suite of functions for generating test certificates
1 points posted by madflojo ⌘ Read more
Preventing the Unknown: Genetic Testing with Dr. Stuart Kim & Neil deGrasse Tyson ⌘ Read more
Enabling a No-Code Performance Testing Platform Using the Ddosify Docker Extension
Learn about the Ddosify Docker Extension and how use it for performance testing. ⌘ Read more
Low-tech Magazine: The Comic
This is a test to check the margin alignment This is a test to check the margin alignment This is a test to check the margin alignment This is a test to check the margin alignment
Docker and Ambassador Labs Announce Telepresence for Docker, Improving the Kubernetes Development Experience
We’re happy to announce Telepresence for Docker, simplifying how teams develop and test on Kubernetes for faster app delivery. ⌘ Read more
test post to self
Application security orchestration with GitHub Advanced Security
Learn how teams can leverage the power of GitHub Advanced Security’s code scanning and GitHub Actions to integrate the right security testing tools at the right time. ⌘ Read more
My cheap alternative to Ngrok
Since GoBlog has an Auto-HTTPS feature that can automatically retrieve HTTPS certificates via ACME from e.g. Let’s Encrypt, I need a public IP address with which I can reach my test instance of GoBlog via port 80 and 443. ⌘ Read more
Managing tests (breaking them, fixing them) in my map for code: https://merveilles.town/@akkartik/109742488349122478
@prologic@twtxt.net test
Erlang Solutions: Building a Remote Control Car from Scratch Using Elixir
IntroductionElixir is undoubtedly one of the most comprehensive full stack languages available, offering battle-tested reliability and fault-tolerance on the backend. This is thanks to its origins in Erlang, the BEAM VM and OTP, powerful and agile frontend development thanks to LiveView and the ability to write to hardware with Nerves (not to mention the exciting developments happening in the mac … ⌘ Read more
Testing that mentions are expanding in twtwt: @win0err@kolesnikov.se
Just setting up a quick Mastodon instance to test some compatibility is a pain. Using test accounts on public instances is also unreliable, because many instances are already overloaded and I don’t want to create spam. So I got a new DigitalOcean account with a $200 starter credit… ⌘ Read more
Tests usually cannot prove absence of defects. But they can show presence of defects I found a bug in SQLite | Hacker News
An interesting read about testing code using nullable states instead of mocks.
https://www.jamesshore.com/v2/projects/testing-without-mocks/testing-without-mocks
Ignite Realtime Blog: Help us translate Spark and Openfire!
We have started to experiment with an online tool that facilitates the process of translating Spark and Openfire. Both already have a bunch of translations, but none are complete.
I’m looking for people wanting to test the tool and/or provide translations. The aim is to make providing translations become so easy that little technological know-how is required.
If you’re interested, please sign up to [Ignite Realtime localizati … ⌘ Read more
WordPress implemented SQLite support! 😱 (Not merged into Core yet, but you’re able to test it.) ⌘ Read more
WordPress implemented SQLite support! 😱 (Not merged into Core yet, but you’re able to test it.) ⌘ Read more
I should write better tests or at least create some automatic tests. 😬 (But ActivityPub is so complicated to test!) ⌘ Read more
$name$ and then dispatch the hashing or checking to its specific format.
Hold up now, that example hash doesn’t have a
$prefix!
Well for this there is the option for a hash type to set itself as a fall through if a matching hash doesn’t exist. This is good for legacy password types that don’t follow the convention.
func (p *plainPasswd) ApplyPasswd(passwd *passwd.Passwd) {
passwd.Register("plain", p)
passwd.SetFallthrough(p)
}
https://github.com/sour-is/go-passwd/blob/main/passwd_test.go#L28-L31
$name$ and then dispatch the hashing or checking to its specific format.
Here is an example of usage:
func Example() {
pass := "my_pass"
hash := "my_pass"
pwd := passwd.New(
&unix.MD5{}, // first is preferred type.
&plainPasswd{},
)
_, err := pwd.Passwd(pass, hash)
if err != nil {
fmt.Println("fail: ", err)
}
// Check if we want to update.
if !pwd.IsPreferred(hash) {
newHash, err := pwd.Passwd(pass, "")
if err != nil {
fmt.Println("fail: ", err)
}
fmt.Println("new hash:", newHash)
}
// Output:
// new hash: $1$81ed91e1131a3a5a50d8a68e8ef85fa0
}
This shows how one would set a preferred hashing type and if the current version of ones password is not the preferred type updates it to enhance the security of the hashed password when someone logs in.
https://github.com/sour-is/go-passwd/blob/main/passwd_test.go#L33-L59
How to use mocks in your table-driven tests in Go
1 points posted by cbrgm ⌘ Read more
Erlang Solutions: Advent of Code 2022 – Every Puzzle Solved in Erlang
Day 1Christmas is getting closer and with that, the annual Advent of Code begins. For those who do not know, Advent of Code is a fun and inclusive event which provides a new programming puzzle every day. The fun is that these puzzles can be solved in any programming language and are accessible for varying levels of coding experience and skills. The real test is in your problem-solving. This year, we’ll be solving each of the problems in … ⌘ Read more
JMP: Writing a Chat Client from Scratch
There are a lot of things that go into building a chat system, such as client, server, and protocol. Even for only making a client there are lots of areas of focus, such as user experience, features, and performance. To keep this post a manageable size, we will just be building a client and will use an existing server and protocol (accessing Jabber network services using the XMPP protocol). We’ll make a practical GUI so we can test things, but not spend too much time on p … ⌘ Read more
November Extensions Roundup: Kubernetes Observability, API Testing, and More
Find out what’s new this month in the Docker Extension Marketplace! ⌘ Read more
The SCREAM Test
One of Lunduke’s Super-Amazing™ Programming Tips ⌘ Read more
I tested ALL the ROCKET PROPELLANTS I could find online ⌘ Read more
Automate API Tests and Debug in Docker With Postman’s Newman Extension
Postman’s Newman Docker Extension helps you run, test, debug, and visualize Postman API calls. Learn how to use this powerful new extension and run collections in Docker Desktop. ⌘ Read more