Validate all the things: improve your security with input validation!
If there’s one habit that can make software more secure, it’s probably input validation. Here’s how to apply OWASP Proactive Control C5 (Validate All Inputs) to your code. ⌘ Read more
funny how a stack-based machine might actually be a welcoming environment for functional reactive programming #frp #coding #raven #666cpu
Code: New version of oppinionated Ansible role to install Golang (with 1.18)
1 points posted by Sascha Andres ⌘ Read more
Templatizer - A real templates engine to create dynamic repositories
Are you sick & tired of creating template repositories that nobody wants to use? It’s not your fault, the problem is the Git Repositories servers such as Github, Gitlab, or Bitbucket don’t provide a handy mechanism to take advantage of Template Repositories…
I’m happy to announce to you that a very first (but functional) release Tempaltizer is already live!
Code and documentation: https://github.com/wesovilabs/templatizer
Demo: https://www.youtube.com/w … ⌘ Read more
#makeartnotwar #GLSL #shaders code at https://www.shadertoy.com/view/fs2fRm if you want to use it
Gajim: Development News February 2022
February brought a unified Groupchat Details window, which offers all the configuration knobs you need. Also this month: less memory leaks and improved OMEMO QR codes.
In April last year, we introduced Gajim’s new Contact Information window. This month, we took on group chats and their various windows and management pages, introducing a unified ‘Groupchat Details’ window. Groupchat De … ⌘ Read more
Funky Linux code names make me smile
Listen now (14 min) | … and me complaining about being sick. ⌘ Read more
Code scanning finds more vulnerabilities using machine learning
Today we launched new code scanning analysis features powered by machine learning. The experimental analysis finds more of the most common types of vulnerabilities. ⌘ Read more
Leveraging machine learning to find security vulnerabilities
A behind-the-scenes peek into the machine learning framework powering new code scanning security alerts. ⌘ Read more
The best Linux Kernel release code names – from “Greased Weasel” to “Sheep on meth”
These are real. And they are awesome. ⌘ Read more
Getting started with project planning on GitHub
Stop context switching. Keep your team’s project planning next to your code. ⌘ Read more
The Impacts of an Insecure Software Supply Chain
Today, software regularly integrates open-source code from third-party sources into applications. While this practice empowers developers to create more capable software in a shorter time frame, it brings with it the risk of introducing inadequately vetted code. How aware are we of the security of our open-source code? Most of us use pip or npm […]
The post [The Impacts of an Insecure Software Supply Chain](https://www.docker.com/blog/the-im … ⌘ Read more
Why everyone needs to know some coding: last-mile sandboxing (FOSDEM ‘22) https://archive.org/details/akkartik-2022-01-16-fosdem
The Go 1.18 generics landscape
A fairly complete presentation about Go 1.18 generics including examples, planned changes for future releases, writing generics code, defining constraints, new library packages, and generics examples for generics Map() / Reduce() / Filter() and a type-safe Set implementation. 1 points posted by FGM ⌘ Read more
Erlang Solutions: How HCA Healthcare used the BEAM to fight COVID – Code BEAM V Talk review
We often talk about the suitability of the BEAM VM for the Healthcare industry. Afterall, when it comes to Healthcare, downtime can literally be deadly, and no technology is better equipped to deliver high availability and minimal downtime than the BEAM. At Code BEAM V 2020, Bryan Hunter, an Enterprise fellow at one of the biggest Healthcare providers in the world joi … ⌘ Read more
Code scanning and Ruby: turning source code into a queryable database
A deep dive into how GitHub adds support for new languages to CodeQL. ⌘ Read more
** What is an addressing mode? **
In a recent post I referenced addressing modes. But what the heck are they!?
The instruction register holds the program instruction that is currently being run.
A fixed number of bits within the instruction register represent the operation, e.g. “op. code” — examples of these instructions include things like add, subtract, load, and store. We can imagine the instruction register like this:
[![ASCII diagram of … ⌘ Read more
Dependency graph now supports GitHub Actions
The dependency graph helps developers and maintainers understand the code they depend on, and now includes GitHub Actions! ⌘ Read more
TIL that there’s no flag emoji, there are “regional indicator symbols”, which are basically letters that are combined into two-letter codes for countries.
File Sharing with Docker Desktop
One of the topics users of Docker Desktop often ask us about is file sharing. How do I see my source code inside my container? What’s the difference between a volume and a bind mount? Why is file sharing slower than on Linux, and how can I speed it up? In this blog post, I’ll […]
The post File Sharing with Docker Desktop appeared first on Docker Blog. ⌘ Read more
testing public path copy/pasted from code:
Ignite Realtime Blog: Openfire 4.7.0 has been released!
The Ignite Realtime Community is elated to be able to announce the release of Openfire version 4.7.0!
This release is the first non-patch release in more than a year, which brings a healthy amount of new features, as well as bug fixes.
I’d like to explicitly thank the many people in the community that have supported this release: not only were a significant amount of code contributions provided, the feedback that we get in our [chatr … ⌘ Read more
关于 Go 代码结构的思考
关于 Go 代码结构的思考- 原文地址: https://changelog.com/posts/on-go-application-structure
- 原文作者:Jon Calhoun
- 本文永久链接: https://github.com/gocn/translator/blob/master/2022/w2_Thoughts_on_how_to_structure_Go_code.md
- 译者: lsj1342
- 校对: xkkhy、 zhuyaguang
\*\*\*
… ⌘ Read more
GoCN 每日新闻 (2022-1-15)
- https://jogendra.dev/writing-maintainable-go-code Writing maintainable Go code
- https://mp.weixin.qq.com/s/h8vhy8IJKnA8aNbTlCoQtg 理解 go 中空结构体的应用和实现原理
- https://juejin.cn/post/7053109648223633438 Go 并发写 map 产生错误能够通过 recover() 恢复吗?
- [https://soulteary.com/2022/01/15/explain-the-golang-resource-embedding-solution-part-1.html](https://soulteary.com/2022/01/15/exp … ⌘ Read more
The Open Source Software Security Summit: securing the world’s code together
My colleague Stormy Peters and I are proud to represent GitHub at the White House’s Open Source Software Security Summit to share how securing open source begins by empowering developers. ⌘ Read more
https://aradaelli.com/blog/why-i-like-d/ dlang code
Real men don’t comment their code…
Insert manly grunting. The Lunduke Journal subscriber exclusives as of this second: 7 books, 2 games, LundukeFest pass, + articles and podcast episodes. ⌘ Read more
GoCN 每日新闻 (2021-12-30)
GoCN 每日新闻 (2021-12-30)
- 如何在 Go 中将 [] byte 转换为 io.Reader?https://mp.weixin.qq.com/s/nFkob92GOs6Gp75pxA5wCQ
- 彻底搞懂 Kubernetes 中的 Eventshttps://mp.weixin.qq.com/s/QRIck4M1-CJVrVDoJEsjQA
- 对比 Rust 和 Go 对二进制数据处理[https://medium.com/@protiumx/advent-of-code-rust-go-and-binary-operators-7dd03057c134](https://medium.com/@protiumx/advent-o … ⌘ Read more
Why is “Spaghetti Code” called “Spaghetti Code”?
The answer will shock you. ⌘ Read more
干货来了!神州数码 CIO 沈旸揭秘 Hackathon 背后的 TiDB 生态丨 TiDB Hackathon 评委访谈
你多久没仅为 Have fun 去写一段代码?
你多久没为实现一个天马行空的 idea 而兴奋不已?你又多久没为和团队一起 Coding 而干劲十足了?来 TiDB Hackathon 吧,这些体验都能找到!
TiDB Hackathon 2021 已于 12 月 9 日起正式开启报名,我们已经� … ⌘ Read more
Linux Foundation releases Linux as NFT
Each Linux kernel source code file will be auctioned off as an NFT on the Etherium blockchain. ⌘ Read more
How to leverage security frameworks and libraries for secure code
In this post, I’ll discuss how to apply OWASP Proactive Control C2: Leverage security frameworks and libraries. ⌘ Read more
PEP 678: Enriching Exceptions with Notes
Exception objects are typically initialized with a message that describes the
error which has occurred. Because further information may be available when the
exception is caught and re-raised, this PEP proposes to add a .__note__
attribute and update the builtin traceback formatting code to include it in
the formatted traceback following the exception string. ⌘ Read more
Instead of banging my head on Advent of Code, I coded something useful today: Text-to-Speech for GoBlog using the official Google Text-to-Speech API. When posting, an audio file is generated automatically from the post content. And, I have to praise myself for this, I documented the feature as well! 😄 ⌘ Read more
Day 16 of Advent of Code is so confusing that I will not finish today’s puzzle. I wonder if yesterday was my last day with Advent of Code, or will the puzzles become more understandable and easier again in the next few days? Maybe I’m just more the practical type. I like programming, but such complex algorithms are not really my thing. And in the end, Advent of Code is supposed to be fun… ⌘ Read more
A brief history of code search at GitHub
This blog post tells the story of why we built a new search engine optimized for code. ⌘ Read more
https://si3t.ch/Logiciel-libre/awk.html code shell awk
twigl: shader code editor [[https://twigl.app/]] #links
introducing: the !trikuf. code samples included. #halfbakedideas
Code: New version of oppinionated Ansible role to install Golang
Install go up to version 1.17.4 1 points posted by Sascha Andres ⌘ Read more
Video: C Programming on System 6 - User Authentication and Telnet Negotiation
I review some recent commits covering user authentication and telnet negotiation, then write some ANSI output code and a broken function for returning a number’s ordinal string. ⌘ Read more
Introducing stack graphs
Precise code navigation is powered by stack graphs, a new open source framework that lets you define the name binding rules for a programming language. ⌘ Read more
Precise code navigation for Python, and code navigation in pull requests
Code navigation is now available in PRs, and code navigation results for Python are now more precise. ⌘ Read more
Improving GitHub code search
Today, we are rolling out a technology preview for GitHub code search, the next iteration for search, discovery, and navigation on GitHub. ⌘ Read more
Write more secure code with the OWASP Top 10 Proactive Controls
This lesser-known OWASP project aims to help developers prevent vulnerabilities from being introduced in the first place. ⌘ Read more
Ignite Realtime Blog: Openfire 4.7.0 beta & Hazelcast plugin 2.6.0 releases!
After a long few months full of hard work, we are happy to tell you that we are close to a 4.7.0 release for Openfire!
This next version of our real time communications server has received a lot of improvements and bug fixes.
A key area of the code that has received updates is the Multi-User Chat (MUC) impl … ⌘ Read more
Underscores in Imports
Underscores in Imports Underscores in Go serve a few purposes. In U+005F, “_” is a letter (as a string). You may also see them as [ “_” ] in between successive digits and a base prefix. In this case, it’s to improve the readability of the code. You may also see them in function names, e.g., imaginary_lit.
The underscore is quite a versatile tool. They even have their place in defining the kind of action that will take place in a function. ⌘ Read more
I’ve never really done test-driven development (TDD). But Advent of Code offers the perfect opportunity for that, because there is already an example input and an example result. So it is possible to create a test first and program until the test passes. ⌘ Read more
Advent of Code ‘21
New year, new code advent calendar. This year I’m trying my hand at Advent of Code once again in Go. This time with a little help from the copilot. Let’s see if I make it to the end, or have to give up early again… ⌘ Read more