|
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..
|
|
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..
|
|
I spent a fair bit of time knocking electric vehicles last month , so I thought I would spend some time talking about the things I want to see in one. Permalink.
|
|
Wow. I am a damn idiot who has literally made his life harder than it ever needed to be — for years. Sigh. I am referring to the Rails generator and the scaffold command. When you have complex software tools, sometimes you don't discover features – great damn features – for a long time. In this case I'm referring to: rails g scaffold pluralized_object_name In my case, I'm building a project where the ultimate goal is to creat....
|
|
In the past few years, we’ve seen a lot of change and diversion in regard to web technologies. In 2020, I foresee us as a web community heading toward two major trends/goals: extensibility and interoperability.
|
|
Digital transformation is not a buzzword - it’s a force. Practically all businesses, big and small, seek to make technology their core, and to accelerate their ability to adapt to the market. And yet, as entire enterprises seek to reshape themselves to meet these new challenges - security stays behind. If we’re going to base our approach on the new digital reality, we first need to understand it - what are the key changes that take place du..
|
|
We are thrilled to announce that Snyk has closed $150 million in funding to accelerate our vision to bring a new approach to application security, enabling businesses to continuously build security into their application development process and culture.
|
|
Looking Back - Jumpstart Pro - The Best Development Decision I Made in 2019
-
fuzzyblog.io
-
6 years ago
-
eng
I don't generally do the retrospective (save in an agile context) – I prefer to look forward. And, yes, I'll admit that given some of the crap in my personal life these days, there's a reason for that. Now, that said, I've been thinking back over my 2019 year and I wanted to comment on my single best development decision of 2019: Buying Jumpstart Pro was my single best development decision in all of 2019. Like a lot of developer....
|
|
GoReleaser ’s journey begins in December 21, 2016: the day I made its very first commit . It has been a long road since then.
|
|
Table of Contents Record Invariants and Bean Validation Implementation Advantages Limitations Wrap-Up Record types are one of the most awaited features in Java 14; they promise to "provide a compact syntax for declaring classes which are transparent holders for shallowly immutable data". One example where records should be beneficial are data transfer objects (DTOs), as e.g. found in the remoting layer of enterprise applications. Typically,..
|
|
Table of Contents Record Invariants and Bean Validation Implementation Advantages Limitations Wrap-Up Record types are one of the most awaited features in Java 14; they promise to "provide a compact syntax for declaring classes which are transparent holders for shallowly immutable data". One example where records should be beneficial are data transfer objects (DTOs), as e.g. found in the remoting layer of enterprise applications. Typically,..
|
|
My first post ever on this blog was about DDoS attacks, this time we revisit them with how much they've changed.
|
|
Despite my mildly fanatical adherence to MySQL, there really is nothing wrong with Postgres and quite a bit to like. Given that Postgres is the default database for Heroku, I am spending more and more time using Postgres these days. What I've found is that my resistance to Postgres, more than anything else, was simply that I was really, really used to the MySQL command line and shell. What I've found is that if you pair Postico with P..
|
|
At KotlinConf 2019, I talked about the power of types. In essence, I discussed limiting the number of primitives we use in our code in favor…
|