|
Never believe that anti-Semites are completely unaware of the absurdity of their replies. They know that their remarks are frivolous, open to challenge. But they are amusing themselves, for it is their adversary who is obliged to use words responsibly, since he believes in words. The anti-Semites have the right to play. They even like to play with discourse for, by giving ridiculous reasons, they discredit the seriousness of their interlocu..
|
|
1 2 3 import threading def start_thread ( func , name = None , args = []): threading . Thread ( target = func , name = name , args = args ) . start () How to start a background thread in Python to download images from an API.
|
|
A few bytes here, a few there, pretty soon you’re talking real memory
-
dave.cheney.net
-
5 years ago
-
eng
Today’s post comes from a recent Go pop quiz. Consider this benchmark fragment. A convenience wrapper around sort.Sort(sort.StringSlice(s)), sort.Strings sorts the input in place, so it isn’t expected to allocate (or at least that’s what 43% of the tweeps who responded thought). However it turns out that, at least in recent versions of Go, each […]
|
|
I want to comment on the following tweet: A rather banal “thought experiment:” What if the only code we could review was tests and interface definitions? What would that force us to specify at the interface and behaviour level, rather than just the implementation level? — Reginald Braithwaite (@raganwald) January 2, 2021 When I read it, I had an immediate and visceral reaction. Because this is one of those things that sound ....
|
|
It has been such a long year. I like being by myself. For the most part I’ve enjoyed hiding away in my little apartment, getting groceries delivered, working from home. I don’t really need a lot of human interaction. But by this point even I have gotten pangs of wanting to go to the city and sit in my favorite coffee shop, or just window shopping, or being able to go to a restaurant or stroll through Gamla Stan. Most of all I’ve missed be..
|
|
Case study: Accuracy of the MAD estimation using the Harrell-Davis quantile estimator (Gumbel distribution)
-
aakinshin.net
-
5 years ago
-
eng
This case study evaluates the accuracy of MAD estimation using the Harrell-Davis quantile estimator on Gumbel-distributed data. Pragmastat recommends Spread — the Shamos estimator — as a more efficient robust scale alternative. Confidence intervals are available via SpreadBounds . pragmastat.dev github.com/AndreyAkinshin/pragmastat In some of my previous posts, I used the median absolute deviation (MAD) to describe the dist....
|
|
Case study: Accuracy of the MAD estimation using the Harrell-Davis quantile estimator (Gumbel distribution)
-
aakinshin.net
-
5 years ago
-
eng
This case study evaluates the accuracy of MAD estimation using the Harrell-Davis quantile estimator on Gumbel-distributed data. Pragmastat recommends Spread — the Shamos estimator — as a more efficient robust scale alternative. Confidence intervals are available via SpreadBounds . pragmastat.dev github.com/AndreyAkinshin/pragmastat In some of my previous posts, I used the median absolute deviation (MAD) to describe the dist....
|
|
Repository: @knadh/dragmove.js GitHub release page: v0.1.2 What’s Changed Update dragmove.js by @suxianbaozi in https://github.com/knadh/dragmove.js/pull/7 New Contributors @suxianbaozi made their first contribution in https://github.com/knadh/dragmove.js/pull/7 Full Changelog : https://github.com/knadh/dragmove.js/compare/v0.1.1...v0.1.2
|
|
Ten or so years ago, jQuery (the Javascript framework) was all the rage. Now, removing jQuery is all the rage.
|
|
In this post, we’ll look at some common software risks, how to measure security risks, and how organizations can use Datadog and Snyk to automate risk management.
|
|
We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded Integers In this article we’ll deploy the application on a server, so that it can search for RH counterexamples even when I close my laptop. Servers and containers When deploying applications to servers, reproducibility is crucial. You don’t want your application to depend on the details of the computer i..
|
|
We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded Integers In this article we’ll deploy the application on a server, so that it can search for RH counterexamples even when I close my laptop. Servers and containers When deploying applications to servers, reproducibility is crucial. You don’t want your application to depend on the details of the computer i..
|
|
We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded Integers In this article we’ll deploy the application on a server, so that it can search for RH counterexamples even when I close my laptop. Servers and containers When deploying applications to servers, reproducibility is crucial. You don’t want your application to depend on the details of the computer i..
|
|
Here are five books I read in 2020 that I would recommend. I read several fine books last year, so please check out my reading history if you are unsatisfied with this selection. Mani: Travels in the Southern Peloponnese , by Patrick Leigh Fermor . I love Patrick Leigh Fermor. Over the years, I read almost everything he wrote. He has been described as “a cross between Indiana Jones, James Bond, and Graham Greene,” and for a good rea....
|
|
I’ve been working on re-platforming the online banking system for a Canadian retail bank for over two years. Leading up to the initial launch, The Business decided to defer a few features to the next release which was scheduled for about a month later. We created a release branch to support defect fixes found in testing, and the development team continued adding features to the develop branch. Bug fixes from release were merged into deve..
|
|
I’ve been working on re-platforming the online banking system for a Canadian retail bank for over two years. Leading up to the initial launch, The Business decided to defer a few features to the next release which was scheduled for about a month later. We created a release branch to support defect fixes found in testing, and the development team continued adding features to the develop branch. Bug fixes from release were merged into deve..
|
|
Splitting headache at 10am. Not a fine way to start the day. For the last 10+ years, I’ve consumed 2-5 cups of coffee every day. I was hooked to coffee is an understatement. It had gotten so bad that if I didn’t get coffee by 9am, I’d get a debilitating migraine for the rest of the day. I also had restless sleep, bordering on insomnia, where I wouldn’t sleep at all for a couple nights a month.
|
|
Recently my workplace has been accepting some interns as part of contributing back to the industry in general, as well as promoting the brand and hopefully being able to grow and grab excellent candidates in the future when they graduate. One recently wanted some time to sit down with me to ask a few questions. In order to give him the best use of time I asked to have the questions written in advance so I could respond to them before chatti..
|
|
I don’t have too much time today, so I’m going to be quick with this month’s book reading list. I will say that this is the end of my third year posting these monthly book reading lists .
|
|
I have seen the mistake of confusing the two concepts at least one time, and it is probably not uncommon in cultures that are rather far away from both of them (such as, for instance, at time of writing, the U.S.A.). This is not meant to be an opinionated post advocating for either, and it is also not extremely detailed or accurate (if you want that, read the Wikipedia pages on "Social market economy" and "Socialist economics" ). It inst....
|
|
Distance 3.85 km / 2.39 miles Elevation gain 33 m / 109 ft Duration 1h30m Moving 55m Very wet, very few people about: good time to hike! A rather short, easy hike in very heavy rain. No one else was around, so it was easy to park at the trailhead. We went anti-clockwise around the lake (three months later we took the clockwise loop). At the south-western tip of oxbow lake, looking north-east. At the easter..
|
|
Distance 3.85 km / 2.39 miles Elevation gain 33 m / 109 ft Duration 1h30m Moving 55m Very wet, very few people about: good time to hike! A rather short, easy hike in very heavy rain. No one else was around, so it was easy to park at the trailhead. We went anti-clockwise around the lake (three months later we took the clockwise loop). At the south-western tip of oxbow lake, looking north-east. At the easter..
|
|
Distance 6.71 km / 4.17 miles Elevation gain 100 m / 327 ft Duration 2h30m Moving 1h45m A short New Year’s Day hike. We began at the last paved car park before Middle Fork Road turns to gravel, and used the footbridge to cross over Middle Fork Snoqualmie River. Other WTA trip reports had mentioned that the left path (heading east) was closed due to a landslide, so we took the right path (heading south-west).
|
|
Distance 6.71 km / 4.17 miles Elevation gain 100 m / 327 ft Duration 2h30m Moving 1h45m A short New Year’s Day hike. We began at the last paved car park before Middle Fork Road turns to gravel, and used the footbridge to cross over Middle Fork Snoqualmie River. Other WTA trip reports had mentioned that the left path (heading east) was closed due to a landslide, so we took the right path (heading south-west).
|
|
1. Why WireGuard? When it comes to encrypting traffic between systems, there are a wide variety of different Virtual Private Network (VPN) software available, some of which have been used since the 1990s. Each of them focus on different encryption algorithms and flow control strategies, alongside mechanisms for providing for secure authentication and negotiating encryption keys. Unfortunately, this complexity often translates to mor..
|
|
1. Why WireGuard? When it comes to encrypting traffic between systems, there are a wide variety of different Virtual Private Network (VPN) software available, some of which have been used since the 1990s. Each of them focus on different encryption algorithms and flow control strategies, alongside mechanisms for providing for secure authentication and negotiating encryption keys. Unfortunately, this complexity often translates to mor..
|
|
Example of using JavaScript AJAX XmlHttpRequest with Django JsonResponse view
-
bartlomiejmika.com
-
5 years ago
-
eng
Forget Axios or any other third-party JavaScript library pertaining to API calling, the purpose of this article is to explain how to utilize the basic XmlHttpRequest with your Django project.
|
|
Well, 2020, it's been a slice. I've been pretty AWOL lately on all things internet, and I can't decide if I have a lot to say or if I'd…
|
|
This is likely going to be my last post this year, though maybe not my last post this week… Sounds strange, doesn't it? Anyway, I just wanted to inform you about some further changes and such. Personal computing hardware I have mostly gotten used to my ZSA Moonlander keyboard, and I am writing this post using said keyboard, while it is connected to my MacBook Air, both of which I mentioned in the last update post. macOS is, in fact, rathe....
|
|
2020 Q4 in review—iOS remote code execution, developer-first SAST, and more
-
snyk.io
-
5 years ago
-
eng
Welcome to the fourth of four posts in which we take a look back at all the highlights we have shared across the Snyk blog across 2020.
|
|
A personal reflection on the author's experiences with the UK's National Health Service (NHS) and the challenges of overusing and underusing healthcare.
|
|
A personal reflection on the author's experiences with the UK's National Health Service (NHS) and the challenges of overusing and underusing healthcare.
|