άλλοι]: Τα ονόματα των μεταβλητών πρέπει να είναι περιγραφικά. [εγώ]: $ help-help-help : #F1F1F1 ;
|
άλλοι]: Τα ονόματα των μεταβλητών πρέπει να είναι περιγραφικά. [εγώ]: $ help-help-help : #F1F1F1 ;
|
|
Snyk CEO Peter McKay was recognized as a member of the top 10 "Best CEO" list by Comparably as part of their "Best Places to Work 2019" awards!
|
|
After the release of macOS 10.15.2 two days agao I have upgraded my mac at work to latest version today. Immediately, after running pip to install some packages I was greeted with an abort. I checked the crash reporter to find the offender: Application Specific Information: /usr/lib/libcrypto.dylib abort() called Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. After poking around..
|
|
This one is a quick one. I have about 25,000 files in a directory that I need to grep across. I tried: grep '"class":0' *.json | more zsh: argument list too long: grep That's a problem because when the argument list is too long, nothing can happen. The solution here is a combination of find and xargs, specifically: find . -name '*.json' | xargs grep '"class":0' Here's the output from this: ./davidson-data-266118b4178f11e....
|
|
This one is a quick one. I have about 25,000 files in a directory that I need to grep across. I tried: grep '"class":0' *.json | more zsh: argument list too long: grep That's a problem because when the argument list is too long, nothing can happen. The solution here is a combination of find and xargs, specifically: find . -name '*.json' | xargs grep '"class":0' Here's the output from this: ./davidson-data-266118b4178f11e....
|
|
We’ve recently released a few updates to our Media APIs in order to support a wider variety of use cases. One of these upgrades is the new AsyncMedia interface, which includes async play and pause support. The Media interface has always had play() and pause() methods, but it didn’t provide an easy way to detect when they had taken effect. On most platforms, this hasn’t been a major issue because the delay between when play() is called, an..
|
|
tl;dr 3h of road, 794 songs in my iTunes library, at least 20 songs repeating twice, 3 repeating thrice. Is it normal? I am bored while driving, sometimes I listen to podcasts, sometimes I stay with music. For a long time I have had this strange feeling that when I touch “Shuffle” a subset of my songs are taken, and then the shuffle happens over those. You are like “oh I really want to listen to Pas n’importe quel toon ” and it simp....
|
|
I've done another major update for the TT-RSS plugin FeedIron . This update is mostly structural changes as I'm trying to Modularize things and reduce the amount of spaghetti code. However I have moved the community submitted recipes to a separate repository . As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next ye....
|
|
I've done another major update for the TT-RSS plugin FeedIron . This update is mostly structural changes as I'm trying to Modularize things and reduce the amount of spaghetti code. However I have moved the community submitted recipes to a separate repository . As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next ye....
|
|
I've done another major update for the TT-RSS plugin FeedIron . This update is mostly structural changes as I'm trying to Modularize things and reduce the amount of spaghetti code. However I have moved the community submitted recipes to a separate repository . As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next ye....
|
|
I've done another major update for the TT-RSS plugin FeedIron . This update is mostly structural changes as I'm trying to Modularize things and reduce the amount of spaghetti code. However I have moved the community submitted recipes to a separate repository . As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next ye....
|
|
I've done another major update for the TT-RSS plugin FeedIron . This update is mostly structural changes as I'm trying to Modularize things and reduce the amount of spaghetti code. However I have moved the community submitted recipes to a separate repository . As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next ye....
|
|
I've done another major update for the TT-RSS plugin FeedIron . This update is mostly structural changes as I'm trying to Modularize things and reduce the amount of spaghetti code. However I have moved the community submitted recipes to a separate repository . As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next ye....
|
|
TL;DR; Knowing your data helps compress them better than common algorithms. Problem For one of my side projects, an IoT database, I wanted a specialized time series to store timestamps coupled with coordinates. I needed a simple solution which allows live and cold compressed storage with gaps in it: IoT devices can be off for days then reappear. But couldn’t find anything fitting my needs, the Gorilla Paper from Facebook is really nice but ..
|
|
Jason Fenske does a nice job explaining why the Cybertruck will not tow well: high efficiency gives electric vehicles competitive ranges despite their batteries’ low energy capacity, but also means that even a light, 5,000 pound trailer will slash that figure. In distance = energy / force, a small numerator (low capacity) causes range to drop off much faster as the denominator (towed weight) increases. See the blue graph below, which depict....
|
|
This isn't mine but it was forwarded to me via a group chat and, in it, I found a deep, profound and abiding truth: 1. For the first bug of Christmas, my manager said to me: See if they can do it again. 2. For the second bug of Christmas, my manager said to me: Ask them how they did it and See if they can do it again. 3. For the third bug of Christmas, my manager said to me: Try to reproduce it Ask them how they did it and See if t....
|
|
Last Update: 12/12/2019 I wrote this guide to different Ruby idioms and how to do them in Python. Organization is alphabetical. This will have to be a continually updated document as I keep finding holes in my Python knowledge and my prior practice of "Learn it / Blog it" simply doesn't put enough things into the same place. I need a single, easily searchable place to store all this random "how to do X cruft". This is written as headi....
|
|
Having a culture that inspires and challenges people is not easy. At Thoughtworks, we could easily walk down the path of competitiveness and control. Instead, we walk in the opposite direction. We value a safe and autonomous environment where we cultivate each other in order to foster technical excellence.
|
|
This isn't mine but it was forwarded to me via a group chat and, in it, I found a deep, profound and abiding truth: 1. For the first bug of Christmas, my manager said to me: See if they can do it again. 2. For the second bug of Christmas, my manager said to me: Ask them how they did it and See if they can do it again. 3. For the third bug of Christmas, my manager said to me: Try to reproduce it Ask them how they did it and See if t....
|
|
Last Update: 12/12/2019 I wrote this guide to different Ruby idioms and how to do them in Python. Organization is alphabetical. This will have to be a continually updated document as I keep finding holes in my Python knowledge and my prior practice of "Learn it / Blog it" simply doesn't put enough things into the same place. I need a single, easily searchable place to store all this random "how to do X cruft". This is written as headi....
|
|
I often see articles that I would like to talk about, but that I do not feel warrant a whole post here. Twitter is the obvious choice for quips like these, but I have little love for the service, prefer to keep all my work on my own platform , and feel that nuanced opinions should not come in 280 character bursts. Occasional “lightning rounds” will fill that gap. Together, a handful of these micro posts will make a full one, giving me ..
|
|
MapTiler Desktop 10.3 significantly improve rendering maps from PDFs or GeoPDFs and adds support for the Dutch RD New Tile Grid.
|
|
I’m very happy to hear that Wireguard has made it into the Linux kernel and will be part of Linux 5.6 ! Wireguard was quite a relief for me after wrestling with OpenVPN before, for multiple reasons. I’m a happy user for about a year now, and I can wholeheartedly recommend it. Wireguard is really pushing the state of the art forward for VPNs: high performance (it’s part of the kernel) very simple setup no wrestling with OpenSSL....
|
|
I’m very happy to hear that Wireguard has made it into the Linux kernel and will be part of Linux 5.6 ! Wireguard was quite a relief for me after wrestling with OpenVPN before, for multiple reasons. I’m a happy user for about a year now, and I can wholeheartedly recommend it. Wireguard is really pushing the state of the art forward for VPNs: high performance (it’s part of the kernel) very simple setup no wrestling with OpenSSL....
|
|
I’m very happy to hear that Wireguard has made it into the Linux kernel and will be part of Linux 5.6 ! Wireguard was quite a relief for me after wrestling with OpenVPN before, for multiple reasons. I’m a happy user for about a year now, and I can wholeheartedly recommend it. Wireguard is really pushing the state of the art forward for VPNs: high performance (it’s part of the kernel) very simple setup no wrestling with OpenSSL....
|
|
As many of you know, long ago – in fact before I had even heard the word “Overlanding” – I set out to drive my little Jeep Wrangler from the top of Alaska to...
|
|
Cédric Fabianski with some great advice on making remote work a success. I always enjoy these articles even though I work in an office every day, because most of the time, these suggestions apply in traditional settings as well. See also these similar posts: How to Encourage a Blogging Culture at Your Company , Growth hacks: coffee with an experienced engineer you don’t know , and How to Boost a Distributed Team . Permalink.
|
|
Debugging 100% CPU usage in production Ruby on Rails systems
-
discuss.samsaffron.com
-
6 years ago
-
eng
Actually this command was still too long for me. This is how I finally got it to work: rbtrace -p PID -e 'Thread.new{require "stackprof";s = StackProf;s.start(mode: :cpu);sleep 2;s.stop;s.results("/tmp/perf");}'
|