124 private links
I developed these programming exercises while working at 1010data. Each summer we’d put a batch of half a dozen or so interns through a week-long intensive K training program, including this set of puzzles, and then set them loose on the real codebase.
These problems vary in difficulty from trivial to moderately difficult (in non-escalating order), and are suitable for beginners or anyone wishing to brush a little rust off. A solution is provided for each problem in k3- click and hold on the gray area beneath each IO sample to reveal it. Most problems have at least one elegant solution, but many have multiple valid approaches- see how many ways you can satisfy the requirements!
Atbswp is a new graphical utility (Python3) that can be used to record the mouse and keyboard events, and reproduce (play) them identically as many times as you want by either clicking a button or saving it as a script and running it without having to relay on Atbswp.
VoLoc, a system that uses the microphone array on Alexa, as well as room echoes of the human voice, to infer the user location inside the home.
After the first case of covid-19, the disease caused by the new strain of coronavirus, was announced in the United States, reports of further infections trickled in slowly. Two months later, that trickle has turned into a steady current.
Timo Zimmermann about software engineering, leading teams, consulting and start ups.
This guide explains how to edit remote files with Vim on Linux. Starting from Vim 7.x version, the netrw plugin allows you to edit remote system files.
Why on earth would someone would pick C to start a new project in 2020? Surely there is a newer language with more shiny features that’s better right? Well I can’t speak for other people but I’ll tell you my reasons.
First of all let me preface this by saying that of course this is a biased opinion and the language I pick for something depends on the context it’s going to be used in. For example; I doubt I’ll ever be reaching for C when writing a web service simply because the ecosystem around that domain isn’t great and I’m not itching to write my http framework at this time.
But for games, more specifically cross-platform games C is a clear winner for me because it provides me with exactly the things I’m looking for which is reliability, simplicity and performance.
Like many developers, I have been interested in Rust for quite some time. Not only because it appears in so many headlines on Hacker News, or because of the novel approach the language takes to safety and performance, but also because people seem to talk about it with a particular sense of love and admiration. On top of that, Rust is of particular interest to me because it shares some of the same goals and features of my favorite go-to language: Swift. Since I've recently taken the time to do try out Rust in some small personal projects, I wanted to take a little time to document my impressions of the language, especially in how it compares to Swift.
The tradition of a "Hello, World" program goes back at least to 1978. But for modern coders, what's an appropriate "Hello, World"?
When polarizing topics are discussed in meetings, passions can run high and cloud our judgment. Learn how mental models can help you see clearly from this real-life scenario.
ffsend is a fully featured CLI client for Firefox Send. This article explains how to securely share files from commandline with ffsend on Linux.
Comparison among the number of command line options for various commands for v7 Unix (1979), slackware 3.1 (1996), ubuntu 12 (2015), and ubuntu 17 (2017).
The number of command line options has dramatically increased over time; they tend to have more options and there are no cases where programs have fewer options.
The C language is still prominent in the industrial embedded world, where “IoT” often refers to platforms much more limited than a Raspberry Pi. Often having to deal with such environments, we wrote the following informal explainer about C for internal company needs, and thought it could be of interest for more readers. This is basic material, mixing C and operating systems knowledge, aimed at readers with no or limited understanding of how you go from C source code to an executable. We could expand on many points, but for now we just share this meandering overview.
The C10k problem is still a puzzle for a programmer to find a way to solve it. Generally, developers deal with extensive I/O operations via thread, epoll, or kqueue to avoid their software waiting for an expensive task. However, developing a readable and bug-free concurrent code is challenging due to data sharing and job dependency. Even though some powerful tools, such as Valgrind, help developers to detect deadlock or other asynchronous issues, solving these problems may be time-consuming when the scale of software grows large. Therefore, many programming languages such as Python, Javascript, or C++ dedicated to developing better libraries, frameworks, or syntaxes to assist programmers in managing concurrent jobs properly. Instead of focusing on how to use modern parallel APIs, this article mainly concentrates on the design philosophy behind asynchronous programming patterns.
For the longest time, I believed that if smart people worked hard and grew up in a reasonably nurturing environment, success would come eventually.
I looked at other people and thought, “Wow, that person’s going to go on to do great things.”
But as I grew older, I realized that’s not necessarily the case. A few people I know who are intelligent and have a strong work ethic have gone on to do notable things, while many others are doing fine. Unfortunately, there are some that drift along, unsure about what to do.
I then realized that there are a lot of factors when it comes to success, whether it means having a fulfilling career, having great relationships, or staying healthy. Yes, smarts are part of it, and so is work ethic. But there’s more at play than just these two factors.
- You don’t reach out to new people
- You are averse to change
- You’re not willing to take risks
- You believe you deserve success based on credentials
- You constantly go after whatever’s exciting at the moment
- You can’t commit to a decision
- You don’t believe in yourself
The climate crisis isn’t a future we must fight to avoid. It’s an already unfolding reality. It’s the intensification of extreme weather–cyclones, storms and floods, droughts and deadly heat waves. It’s burning forests in Australia, the Amazon, Indonesia, Siberia, Canada and California. It’s melting ice caps, receding glaciers and rising seas. It’s ecosystem devastation and crop failures. It’s the scarcity of resources spreading hunger and thirst. It’s lives and communities destroyed, and millions forced to flee.