KEMTLS: Post-quantum TLS without signatures
https://blog.cloudflare.com/kemtls-post-quantum-tls-without-signatures/ [blog.cloudflare.com]
2021-01-16 02:37
tags:
beta
crypto
networking
quantum
security
web
KEMTLS, therefore, achieves the same goals as TLS 1.3 (authentication, confidentiality and integrity) in the face of quantum computers. But there’s one small difference compared to the TLS 1.3 handshake. KEMTLS allows the client to send encrypted application data in the second client-to-server TLS message flow when client authentication is not required, and in the third client-to-server TLS message flow when mutual authentication is required. Note that with TLS 1.3, the server is able to send encrypted and authenticated application data in its first response message (although, in most uses of TLS 1.3, this feature is not actually used). With KEMTLS, when client authentication is not required, the client is able to send its first encrypted application data after the same number of handshake round trips as in TLS 1.3.
Intuitively, the handshake signature in TLS 1.3 proves possession of the private key corresponding to the public key certified in the TLS 1.3 server certificate. For these signature schemes, this is the straightforward way to prove possession; another way to prove possession is through key exchanges. By carefully considering the key derivation sequence, a server can decrypt any messages sent by the client only if it holds the private key corresponding to the certified public key. Therefore, implicit authentication is fulfilled. It is worth noting that KEMTLS still relies on signatures by certificate authorities to authenticate the long-term KEM keys.
AddressSanitizer (ASan) for Windows with MSVC
https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/ [devblogs.microsoft.com]
2019-10-25 04:57
tags:
beta
c
compiler
cxx
development
update
windows
We are pleased to announce AddressSanitizer (ASan) support for the MSVC toolset. ASan is a fast memory error detector that can find runtime memory issues such as use-after-free and perform out of bounds checks. Support for sanitizers has been one of our more popular suggestions on Developer Community, and we can now say that we have an experience for ASan on Windows, in addition to our existing support for Linux projects.
MSVC support for ASan is available in our second Preview release of Visual Studio 2019 version 16.4.
source: white
Async-await hits beta!
https://blog.rust-lang.org/2019/09/30/Async-await-hits-beta.html [blog.rust-lang.org]
2019-10-01 19:25
tags:
beta
concurrency
programming
rust
update
Big news! As of this writing, syntactic support for async-await is available in the Rust beta channel! It will be available in the 1.39 release, which is expected to be released on November 7th, 2019. Once async-await hits stable, that will mark the culmination of a multi-year effort to enable efficient and ergonomic asynchronous I/O in Rust. It will not, however, mark the end of the road: there is still more work to do, both in terms of polish (some of the error messages we get today are, um, not great) and in terms of feature set (async fn in traits, anyone?).
Game of Trees
https://www.openbsd.org/papers/eurobsdcon2019-gameoftrees.pdf [www.openbsd.org]
2019-09-27 19:48
tags:
beta
development
git
openbsd
pdf
slides
swtools
Game of Trees is a work-in-progress version control system which attempts to be appealing to OpenBSD developers.
https://gameoftrees.org/
Introducing nushell
http://www.jonathanturner.org/2019/08/introducing-nushell.html [www.jonathanturner.org]
2019-08-24 18:14
tags:
beta
rust
sh
swtools
Today, we’re introducing a new shell, written in Rust. It draws inspiration from the classic Unix philosophy of pipelines, the structured data approach of PowerShell, functional programming, systems programming, and more.
source: L
Game of Trees
https://gameoftrees.org/index.html [gameoftrees.org]
2019-08-11 04:11
tags:
beta
development
git
openbsd
swtools
Game of Trees (Got) is a version control system which prioritizes ease of use and simplicity over flexibility. Got is still under development; it is being developed exclusively on OpenBSD and its target audience are OpenBSD developers.
source: L
Announcing composable multi-threaded parallelism in Julia
https://julialang.org/blog/2019/07/multithreading [julialang.org]
2019-07-29 00:22
tags:
beta
concurrency
julia
programming
Software performance depends more and more on exploiting multiple processor cores. The free lunch from Moore’s Law is still over. Well, we here in the Julia developer community have something of a reputation for caring about performance. In pursuit of it, we have already built a lot of functionality for multi-process, distributed programming and GPUs, but we’ve known for years that we would also need a good story for composable multi-threading. Today we are happy to announce a major new chapter in that story. We are releasing a preview of an entirely new threading interface for Julia programs: general task parallelism, inspired by parallel programming systems like Cilk, Intel Threading Building Blocks (TBB) and Go. Task parallelism is now available in the v1.3.0-alpha release, an early preview of Julia version 1.3.0 likely to be released in a couple months. You can find binaries with this feature on the downloads page, or build the master branch from source.
source: L
Security Engineering: Third Edition
https://www.cl.cam.ac.uk/~rja14/book.html [www.cl.cam.ac.uk]
2019-05-17 23:52
tags:
beta
book
development
dupe
security
zkp: a toolkit for Schnorr proofs
https://medium.com/@hdevalence/zkp-a-toolkit-for-schnorr-proofs-6e381b4f0a31 [medium.com]
2019-03-30 02:51
tags:
beta
crypto
library
rust
security
About two years ago, I made a proof-of-concept library called zkp, which used Rust macros to auto-generate an implementation of proving and verification for a class of Schnorr-style discrete logarithm proof statements. However, this approach had a number of limitations and wasn’t suitable for use in real applications. Today, I published a new and completely rewritten version of the library, which is now available on crates.io.
source: green
Call for testing: OpenSSH 8.0
https://lists.mindrot.org/pipermail/openssh-unix-dev/2019-March/037672.html [lists.mindrot.org]
2019-03-29 12:24
tags:
beta
networking
security
swtools
OpenSSH 8.0p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible.
source: HN
All you need to know about hyphenation in CSS
http://clagnut.com/blog/2395 [clagnut.com]
2019-03-24 01:14
tags:
beta
design
html
text
There are two steps required to turn on automatic hyphenation.
Plus an additional 101 not fully supported prefixed properties.
source: HN
Ruby 2.7 — Numbered Parameters
https://medium.com/@baweaver/ruby-2-7-numbered-parameters-3f5c06a55fe4 [medium.com]
2019-03-22 22:46
tags:
beta
ruby
update
Ruby 2.7 is coming out this December, as with all modern releases, but that doesn’t stop us from looking for and writing about all the fun things we find in the mean time! No no no. For this article, we have something that’s very reminiscent of Bash, Perl, and Scala: Numbered parameters.
source: L
Phoenix LiveView: Interactive, Real-Time Apps. No Need to Write JavaScript.
https://dockyard.com/blog/2018/12/12/phoenix-liveview-interactive-real-time-apps-no-need-to-write-javascript [dockyard.com]
2019-03-17 16:10
tags:
beta
erlang
library
programming
web
Live views share functionality with the regular server-side HTML views you are used to writing – you write some template code, and your render function generates HTML for the client. That said, live views go further by enabling stateful views which support bidrectional communication between the client and server. Live views react to events from the client, as well as events happening on the server, and push their rendered updates back to the browser. In effect, we share similar interaction and rendering models with many client-side libraries that exist today, such as React and Ember.
Now in beta.
https://github.com/phoenixframework/phoenix_live_view
source: L
DTrace on Windows
https://techcommunity.microsoft.com/t5/Windows-Kernel-Internals/DTrace-on-Windows/ba-p/362902 [techcommunity.microsoft.com]
2019-03-11 18:32
tags:
beta
investigation
swtools
systems
windows
One of the more useful debugging advances that have arrived in the last decade is DTrace. DTrace of course needs no introduction: it’s a dynamic tracing framework that allows an admin or developer to get a real-time look into a system either in user or kernel mode. DTrace has a C-style high level and powerful programming language that allows you to dynamically insert trace points. Using these dynamically inserted trace points, you can filter on conditions or errors, write code to analyze lock patterns, detect deadlocks, etc. ETW while powerful, is static and does not provide the ability to programmatically insert trace points at runtime.
We have created a Windows branch for “DTrace on Windows” under the OpenDTrace project on GitHub. All our changes made to support DTrace on Windows are available here. Over the next few months, we plan to work with the OpenDTrace community to merge our changes. All our source code is also available at the 3rd party sources website maintained by Microsoft.
source: HN
Q2VKPT
http://brechpunkt.de/q2vkpt/ [brechpunkt.de]
2019-01-19 07:13
tags:
beta
gaming
gl
graphics
Q2VKPT is the first playable game that is entirely raytraced and efficiently simulates fully dynamic lighting in real-time, with the same modern techniques as used in the movie industry (see Disney’s practical guide to path tracing). The recent release of GPUs with raytracing capabilities has opened up entirely new possibilities for the future of game graphics, yet making good use of raytracing is non-trivial. While some games have started to explore improvements in shadow and reflection rendering, Q2VKPT is the first project to implement an efficient unified solution for all types of light transport: direct, scattered, and reflected light (see media). This kind of unification has led to a dramatic increase in both flexibility and productivity in the movie industry. The chance to have the same development in games promises a similar increase in visual fidelity and realism for game graphics in the coming years.
This project is meant to serve as a proof-of-concept for computer graphics research and the game industry alike, and to give enthusiasts a glimpse into the potential future of game graphics. Besides the use of hardware-accelerated raytracing, Q2VKPT mainly gains its efficiency from an adaptive image filtering technique that intelligently tracks changes in the scene illumination to re-use as much information as possible from previous computations.
source: HN
Windows Sandbox
https://techcommunity.microsoft.com/t5/Windows-Kernel-Internals/Windows-Sandbox/ba-p/301849 [techcommunity.microsoft.com]
2018-12-21 01:47
tags:
beta
defense
security
systems
virtualization
windows
How many times have you downloaded an executable file, but were afraid to run it? Have you ever been in a situation which required a clean installation of Windows, but didn’t want to set up a virtual machine?
At Microsoft we regularly encounter these situations, so we developed Windows Sandbox: an isolated, temporary, desktop environment where you can run untrusted software without the fear of lasting impact to your PC. Any software installed in Windows Sandbox stays only in the sandbox and cannot affect your host. Once Windows Sandbox is closed, all the software with all its files and state are permanently deleted.
Porting Alpine Linux to RISC-V
https://drewdevault.com/2018/12/20/Porting-Alpine-Linux-to-RISC-V.html [drewdevault.com]
2018-12-20 20:08
tags:
beta
cpu
development
linux
Once the essential packages are built and the system can compile itself, the long porting process begins. It’s generally wise to drop the cross-compiler here and start doing native builds, if your hardware is fast enough. This is a tradeoff, because the RISC-V system is somewhat slower than my x86_64 bootstrap machine - but many packages require lots of manual tweaks and patching to get cross-compiling working. The time saved by not worrying about this makes up for the slower build times.
source: L
Building a Language and Compiler for Machine Learning
https://julialang.org/blog/2018/12/ml-language-compiler [julialang.org]
2018-12-05 03:33
tags:
ai
beta
compiler
development
library
math
perf
programming
We need a language to write differentiable algorithms, and Flux takes Julia to be this language. Being designed from the ground up for mathematical and numerical computing, Julia is unusually well-suited for expressing ML algorithms. Meanwhile, its mix of modern design and new ideas in the compiler makes it easier to address the high performance needs of cutting edge ML.
Where typical frameworks are all-encompassing monoliths in hundreds of thousands of lines of C++, Flux is only a thousand lines of straightforward Julia code. Simply take one package for gradients (Zygote.jl), one package for GPU support (CuArrays.jl), sprinkle with some light convenience functions, bake for fifteen minutes and out pops a fully-featured ML stack.
Announcing .NET Core 3 Preview 1 and Open Sourcing Windows Desktop Frameworks
https://blogs.msdn.microsoft.com/dotnet/2018/12/04/announcing-net-core-3-preview-1-and-open-sourcing-windows-desktop-frameworks/ [blogs.msdn.microsoft.com]
2018-12-05 03:24
tags:
beta
development
dotnet
ux
windows
Today, we are excited to announce that are open sourcing WPF, Windows Forms, and WinUI, so the three major Windows UX technologies will be open sourced. For the first time ever, the community will be able to see the development of WPF, Windows Forms, and WinUI happen in the open and we will take contributions for these frameworks on .NET Core. The first wave of code will be available in GitHub today and more will appear over the next few months.
Cuckoo Breeding Ground - A Better Cuckoo Hash Table
https://github.com/alainesp/Practical_Research/blob/master/research_cuckoo_cbg.md [github.com]
2018-11-26 01:35
tags:
beta
compsci
cxx
hash
library
paper
perf
Perhaps the most significant downside of cuckoo hashing, however, is that it potentially requires checking multiple memory regions randomly distributed throughout the table. In many settings, such random access lookups are expensive, making cuckoo hashing a less compelling alternative. We design a variant of cuckoo hashing that reduces the number of memory regions accessed, increase the load threshold and remains relatively simple. We do this by choosing some less popular options for cuckoo hashing with a couple of novel ideas.
source: solar