|
I'm in the unenviable position of my MacBook Pro (2015 vintage) crashing regularly – once yesterday, twice the day before, once the day before. I used to have an uptime measured in the tens of days – there have been periods when I had an uptime measured, on this computer and this OS version, of 100 plus days. And now I have this bit of pathetic: ❯ uptime 7:04 up 16:23, 79 users, load averages: 5.52 26.30 57.61 Yep. That's 16 hou....
|
|
A large portion of an Android app’s build time can consist of Dagger annotation processing, and most developers agree that productivity is…
|
|
The new version of our open-source map publishing project OpenMapTiles 3.11 adds support for disputed borders, roads under construction and adds two new languages.
|
|
A large portion of an Android app’s build time can consist of Dagger annotation processing, and most developers agree that productivity is…
|
|
Table of Contents Custom Flight Recorder Events Creating JFR Recordings Event Settings JFR Event Streaming MicroProfile Metrics Summary and Related Work The JDK Flight Recorder (JFR) is an invaluable tool for gaining deep insights into the performance characteristics of Java applications. Open-sourced in JDK 11, JFR provides a low-overhead framework for collecting events from Java applications, the JVM and the operatin..
|
|
Table of Contents Custom Flight Recorder Events Creating JFR Recordings Event Settings JFR Event Streaming MicroProfile Metrics Summary and Related Work The JDK Flight Recorder (JFR) is an invaluable tool for gaining deep insights into the performance characteristics of Java applications. Open-sourced in JDK 11, JFR provides a low-overhead framework for collecting events from Java applications, the JVM and the operatin..
|
|
Your Rails 6 master key is located in: config/credentials/production.key and it is likely stored as a hidden file. I believe that this is generated when the project is generated but I'm not 100% certain. See this Reddit post .
|
|
Sometimes people ask me what my setup looks like for remote work. I decided to try and keep a more-or-less updated list of the hardware and software I’m using.
|
|
It’s a New Year - which means it’s time for New Year’s Resolutions. Or, in my case, New Year’s Goals.
|
|
31% don’t track application dependencies and 38% only track direct dependencies
-
snyk.io
-
6 years ago
-
eng
As we look into the way engineers audit their code bases, we see a strong adoption of automated security tooling, according to the Snyk State of Open Source Security report 2019, with 65% of respondents confirming that observation. It is also important to point out that, even when automated security tools are employed, 79% of the respondents still use security code reviews.
|
|
48% see security a major constraint on the ability to deliver software quickly
-
snyk.io
-
6 years ago
-
eng
With every data breach disclosed, organizations become more aware of the need to address security early on and throughout the SDLC to ensure customer privacy and assets, feature security, and delivery speed. To do it all well, DevSecOps must be driven by security, but powered by developers.
|
|
The combination of Rails 6 and Ruby 2.7, or perhaps just Rails 6, introduced some new deprecation warnings and, lately, I've been seeing this cruft constantly: rails test test/models/ Running via Spring preloader in process 34024 /Users/sjohnson/.rvm/gems/ruby-2.7.0/gems/activemodel-6.0.2.1/lib/active_model/type/integer.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /User....
|
|
Every few years an epidemic hits mainline news and media. Multiple happen yearly, but not all get the vast publicity.
|
|
More than a decade using RSpec has left me flummoxed in terms of "classical" Rails testing. I'm on a new project built using the Jumpstart application template and all the tests are standard Rails tests so here's a quick recap that I wrote, well, to force myself to step back in time and go "old school". And if you don't like my version then you should really read this . And if you are using Devise for authentication then you really must....
|
|
Loading of xinitrc,xserverrc,xresources,xdefaults,xprofile,xsession,xmodmap
-
venam.net
-
6 years ago
-
eng
We often hear discussions about X configuration files and their roles. Namely, xinitrc,xserverrc,xresources,xdefaults,xprofile,xsession,xmodmap. So let's try to clear up this mumbo jumbo of words.
|
|
Let's have a discussion about all the kinds of trust stores found on Unix-like operating systems. For those not in the know, trust stores are places where the operating sytems generally, or the specific software, stores private and public keys (asymmetric), trusted CAs, and symmetric keys (decryption keys).
|
|
Truckquake is the poor portmanteau (poortmanteau?) I’m going to use to describe earthquakes that I experience when I’m in the truck. Earthquakes are a relatively common phenomenon in California. According to the California Department of Conservation , there are ~200 “potentially hazardous” faults in the state, and they generate an average of “two or three” quakes per year registering 5.5 or higher on the Richter scale, which i..
|
|
Truckquake is the poor portmanteau (poortmanteau?) I’m going to use to describe earthquakes that I experience when I’m in the truck. Earthquakes are a relatively common phenomenon in California. According to the California Department of Conservation , there are ~200 “potentially hazardous” faults in the state, and they generate an average of “two or three” quakes per year registering 5.5 or higher on the Richter scale, which i..
|
|
I recently started a new application and tried running the generated tests and got this: rails test test/models/user_test.rb Running via Spring preloader in process 27379 Run options: --seed 14413 # Running: E Error: UserTest#test_can_delete_user_with_teams: NoMethodError: undefined method `unpack1' for nil:NilClass app/models/user/connected_account.rb:37:in `
|
|
Pundit , a Rails gem that my former boss, Taylor Williams, taught me is a tool for "simple, robust and scalable authorization system" and the more I play with authorization, the more true I find that. This blog post lays out how to get started with Pundit with more details coming down the road. I will freely admit that when Taylor taught me Pundit, I grokked about maybe 1/10th of 1/10th of what he taught me (the project I worked on unde....
|
|
As the world grows more and more globalized, companies are looking for a uniform identity across their markets. Thus, the demand for fonts that shine and offer the same harmony across languages and scripts (writing systems) is increasing.
|
|
This is the second in an indefinite series of posts about things that I think went well in the Sorbet project. The previous one covered our testing approach. Sorbet is fast. Numerous of our early users commented specifically on how fast it was, and how much they appreciated this speed. Our informal benchmarks on Stripe’s codebase clocked it as typechecking around 100,000 lines of code per second per core, making it one of the fastest produc..
|
|
This is the second in an indefinite series of posts about things that I think went well in the Sorbet project. The previous one covered our testing approach. Sorbet is fast. Numerous of our early users commented specifically on how fast it was, and how much they appreciated this speed. Our informal benchmarks on Stripe’s codebase clocked it as typechecking around 100,000 lines of code per second per core, making it one of the fastest produc..
|
|
Rails 5.2 and Rails 6 introduced the idea of rails credentials:edit which allowed you to create encrypted credentials that stored things like API keys with commands like this: rails credentials:edit --environment development What this does is create a file in config/credentials and edit and then (theoretically) save it, in an encrypted state. I was recently using this on a Rails 6 application and I found that no matter what I did m....
|
|
As the New Year draws closer I like to reflect. Around this time I publish a few thoughts on what I made, what worked and what didn’t.
|
|
MapTiler is partnering with MIERUNE and opnes for business in Japan with maps adapted to the Japanese market.
|
On Monday I had to put my beloved cat, Irida, to sleep. Who is Irida Twelve years ago, I wanted to get a pet. My friends helped me find one via a post about a stray young cat which was found under a truck in my area. After two days the cat was in my house and that's how one my most beloved beings came into my life. I was thinking of names and I ended up naming her "Irida" (which is a variation of Iris ) after a server in my u....
|
|
A number of years ago, the late Charles Sheffield had a book titled, I think "Dark as Day", which had as a feature a "fax" which was an AI based psuedo answering machine that you could chat with when the person you wanted wasn't available: MORD: the idiosyncratic high-level Fax of the late Mordecai Perlman. e-reading.club More… And today I read via Hacker News that I can build this using Google CoLab ( article / discussion ) ..
|
|
I’ve finally done it. I’ve beaten the game Tetris. More specifically, Atari 2-player arcade Tetris, which is the best version of Tetris ever released (in my opinion) and the one that was available in arcades before Nintendo secured the rights to the game from the Soviet Union. A few years ago, my daughter and I picked up a Taito arcade cabinet that I restored to play Tetris using the original Atari arcade game printed circuit board (PCB..
|