news
Programming Leftovers
-
Josh Lospinoso ☛ The Error Message Was Local
The error message was pointing at one line. That was the mercy of it. Not the volume, which was ridiculous. The terminal had unfolded a red sermon of templates, candidates, expected tokens, instantiated types, and one complaint so far downstream from the visible mistake that it seemed to have wandered in from another jurisdiction. The useful sentence was almost hidden inside the noise: candidate template ignored; constraints not satisfied. Underneath the whole performance, the refusal was local. Here. This expression. This call. This promise the program could not make real in the form I had written.
-
Chris Maiorana ☛ Don't go bankrupt, go local - Chris Maiorana
This reminded me of something I’ve been experimenting with lately. Instead of updating my config, I’m trying out directory-local variables per project.
Having local configurations in a project avoids the extra cogitation of worrying about conflicts with other file types or projects down the line. I like this. Also makes settings easier to transfer to a similar project in the future.
-
Hackaday ☛ Panoramic Photography With A Linear Scanner
[Philo]’s proof of concept was a smartphone camera set on a chair and rotated around a room. Some software grabbed a single column of pixels as it moved and stitched them all together to form an image. This came out well enough that the idea was refined a few times, but it wasn’t until a single-line digital camera meant for imaging assembly lines was found that this really took off. Using the camera and some custom software, [Philo] was eventually able to take some of the longest panoramic images we’ve seen, using things like railways and boats as the track the camera rides on, with accelerometer data to help stabilize the image.
-
[Old] Charalampos Kardaris ☛ std::cout « “Goodbye Meeting C++. Hello C++ Community.”;
I have been working with C++ throughout my still-young software engineering career. Until now, I had not had any in-person contact with the C++ community. That has now changed. During the past three days, and for the first time, I attended a C++ conference. Having no prior reference for such an event, I did not have any outright expectations. I approached the event with an open mind and a curious spirit, diving right in.
-
R / R-Script
-
Rlang ☛ [R] Understanding position_dodge() and position_dodge2() in ggplot2
-
Dirk Eddelbuettel ☛ Thinking inside the box: random 0.2.7 on CRAN: Maintenance
Another pure maintenance release of the random package for truly (hardware-based) random numbers as provided by random.org is now on CRAN. The random package provides true (physical) random number from sampling atmospheric noise. One possible use case is to seed an (algorithmic) quasi-random number generator for genuine unpredictability.
-
Zhenguo Zhang ☛ [R] Understanding position_dodge() and position_dodge2() in ggplot2
In ggplot2, when displaying grouped data along categorical axes (such as grouped bar charts, boxplots, or error bars), horizontal dodging is used to prevent elements from overlapping at each categorical position. ggplot2 provides two primary dodging position functions: position_dodge() and position_dodge2().
In this post, we will explore: [...]
-
-
Python
-
Feris Creations ☛ The Move to Python 3 Begins! | EVE Online
EVE continues to evolve, as a part of the EVE Evolved initiative, and it is time to cast the spotlight on the code itself!
Underneath every gate jump, market order, and fleet fight in EVE Online, there is a very large amount of Python. It has run New Eden for more than two decades and now begins its transition to Python 3. For you, that means better tools to fix bugs sooner, room for new features, and a faster EVE over time.
-