|
Introduction You write a server for a massively multiplayer online role-playing game ( MMORPG ). In the game, players collect keys and you want to design how to store the set of keys each player has. As an example, imagine the set of keys are copper, jade and crystal. You consider the following options for storing a player key sets: []string map[string]bool Both options will work, but did you consider a third option of using a bit..
|
|
The case for Tech Leadership community - Part 2 - building a community
-
www.thoughtworks.com
-
5 years ago
-
eng
In part 1, we talked about why employees stay at companies, and how recent societal changes have fundamentally changed this. In part 2, we continue to explore how companies can build a technology leadership community to create a positive pressure to retain employees.
|
|
The marketing and engagement secrets behind gift cards (Part 1)
-
www.thoughtworks.com
-
5 years ago
-
eng
A gift card is much more than a gift. Retailers are taking gift cards as the entry point of social scenarios to guide potential customers into the closed loop of retailer’s payment, membership and ordering system, and gradually cultivate customers to generate new consumption habits.
|
|
Learn how to use the Snyk Vulnerability Scanner plugin for IntelliJ IDEA to make it easy to find and fix Java security issues earlier in the development process.
|
|
Searching on Your Location with Atlas Search and Geospatial Operators
-
www.thepolyglotdeveloper.com
-
5 years ago
-
eng
When thinking about full-text search, text and other string data is probably the first thing to come to mind. In fact, if you've been keeping up with my tutorials, you might remember Building an Autoc... The post Searching on Your Location with Atlas Search and Geospatial Operators appeared first on MongoDB .
|
|
What a fascinating read. It sits right at the intersection of two of my (too many) vicious interests: Jazz music and books. Since the mid-1970s, almost every jazz musician has owned a copy of the same book. It has a peach-colored cover, a chunky, 1970s-style logo, and a black plastic binding. It’s delightfully homemade-looking—like it was printed by a bunch of teenagers at a Kinkos. And inside is the sheet music for hundreds of common j..
|
|
What a fascinating read. It sits right at the intersection of two of my (too many) vicious interests: Jazz music and books. Since the mid-1970s, almost every jazz musician has owned a copy of the same book. It has a peach-colored cover, a chunky, 1970s-style logo, and a black plastic binding. It’s delightfully homemade-looking—like it was printed by a bunch of teenagers at a Kinkos. And inside is the sheet music for hundreds of common j..
|
|
What a fascinating read. It sits right at the intersection of two of my (too many) vicious interests: Jazz music and books. Since the mid-1970s, almost every jazz musician has owned a copy of the same book. It has a peach-colored cover, a chunky, 1970s-style logo, and a black plastic binding. It’s delightfully homemade-looking—like it was printed by a bunch of teenagers at a Kinkos. And inside is the sheet music for hundreds of common j..
|
|
Useful Resources that Helped me Learn Golang over the Years
-
bartlomiejmika.com
-
5 years ago
-
eng
The purpose of this post is to share my catalogue of useful links I’ve gathered in my quest to better understand Golang. If I’ve used a webpage to solve a problem, or if I used a link to learn something, then you’ll find a link of it here.
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Introduction Ben Hoyt wrote an excellent blog post comparing programming languages with a non-trivial program: counting the number of words in a text file. You can find his repo here . Of all of the languages, only C did not provide a hashmap out of the box, so Ben wrote a simple linearly probed map with a simple hash function for his version. As it turns out, I have already written what is supposed to be a production-ready ..
|
|
Around this time last year, “88% of organizations encouraged or required employees to work from home.” As work went remote, so did organizational learning. Trainers were equipped with ‘remote toolkits’, and training programs were re-wired for online content delivery.
|
|
Conversational AI can have a profound impact on a firm’s ability to automate traditional processes. In this article, we examine the most promising use cases for conversational AI in capital markets, and outline the key principles to guide your transformation strategy.
|
|
We’re pleased to announce our new plugin for JetBrains IDEs, making it easier for developers to find and fix security issues as they code!
|
|
I did a recent AMA on Clubhouse and there were a lot of awesome, hard-hitting questions on the panel. So for the next several weeks, I’m going to write out my thoughts to each of the questions and how I answered them.
|
|
I did a recent AMA on Clubhouse and there were a lot of awesome, hard-hitting questions on the panel. So for the next several weeks, I’m going to write out my thoughts to each of the questions and how I answered them.
|
|
Here is a simple question. Given the lisp function below (and that the function is not advised) what will the output be of (foo)? (defun foo () "foo") Seems pretty simple right? How could the answer be anything other then "foo"? It is just returning a constant string. Or is it? The real answer to this question is… We have no idea. It can could be any string of length 3.
|
|
View and report on all of your Snyk Infrastructure as Code configuration issues
-
snyk.io
-
5 years ago
-
eng
View a complete picture of the open issues across your application, covering vulnerabilities from open source libraries and container images, licenses, and now configuration issues from your Kubernetes and Terraform files.
|
|
This is an open engineering question at June . If you want to solve problems like this one, please reach out - we’re hiring June allows you to add dynamic traits to your users. For example, if you want to run an analysis only on users that are on your pro plan , you can do that by adding a “plan” trait to your users. The value of these properties is mutable and has no relationship with time. We’re thinking about making it immutabl..
|
|
I never see my macOS desktop. It’s always cluttered with way too many open windows. When I spot those fantastic, tidy and clean Desktops on the internet, I envy their owners. I wonder if and how they manage to keep those desktops tidy like that the whole workday. It must feel so good. I try to keep my windows well arranged. The typical setup might be two windows, from two different apps, tiled side by side. Maybe the browser, or Postman, ..
|
|
Learn some best practices for keeping your Node.js and JavaScript projects safe from code injection attacks.
|
|
Efficiency of the winsorized and trimmed Harrell-Davis quantile estimators
-
aakinshin.net
-
5 years ago
-
eng
In previous posts, I suggested two modifications of the Harrell-Davis quantile estimator: winsorized and trimmed . Both modifications have a higher level of robustness in comparison to the original estimator. Also, I discussed the efficiency of the Harrell-Davis quantile estimator. In this post, I’m going to continue numerical simulation and estimate the efficiency of the winsorized and trimmed modifications.
|
|
Efficiency of the winsorized and trimmed Harrell-Davis quantile estimators
-
aakinshin.net
-
5 years ago
-
eng
In previous posts, I suggested two modifications of the Harrell-Davis quantile estimator: winsorized and trimmed . Both modifications have a higher level of robustness in comparison to the original estimator. Also, I discussed the efficiency of the Harrell-Davis quantile estimator. In this post, I’m going to continue numerical simulation and estimate the efficiency of the winsorized and trimmed modifications.
|
|
Integration Tests with Jest, Supertest, Knex, and Objection in TypeScript
-
taniarascia.com
-
5 years ago
-
eng
Recently, I set up unit and integration tests for a Node API in TypeScript, and I couldn't find a lot of resources for setting up and…
|
|
What is a Bloom Filter? A Bloom filter is a probabilistic data structure. It tells you if an element is in a set or not in a very fast and memory-efficient way. A Bloom filter can tell if an element is not in the set (“being 100% sure”) or that it may be in the set, but not “being 100% sure”. It only has 2 operations: add, to add an element, and query, to check if an element exists in the set or not.
|
|
The case for Tech Leadership community Part 1- the snow is melting
-
www.thoughtworks.com
-
5 years ago
-
eng
Our society has gone through a dramatic change that will forever transform the nature of remote work. This shift has changed the options available to senior technologists. It has doubled the importance of cultivating technology communities in your organization as a way to grow and retain technical leaders.
|
|
Tesla, Google, Apple and Amazon have something in common – hitching a ride on the ‘insurance business’ train. Big Tech is disrupting the otherwise laid back insurance industry, forcing incumbents to up their game. The lack of physical ‘advisor - customer’ interactions (because of pandemic-related restrictions) has also furthered this move.
|
|
Internet: Medium For Communication, Medium For Narrative Control The Actors and Incentives: State Actors: PSYOP, Narrative Warfare, And Weaponized Tech
-
venam.net
-
5 years ago
-
eng
Since ancient times, nations have tried to write history from their own point of view. As they say, history is written by the victors. Today, the speed of the internet allows rewriting the narrative in real-time, and state actors will certainly take advantage of this. Namely, there are two ways, or generations, of state information-control practices, an information scarcity approach, aka censorship, and an embracing of information approach,..
|
|
The times that I've made the least progress on writing was when I was trying to do it on the side or as a hobby. This isn't because of the relative amount of time I devoted to it. It was because I treated it as something I would try to fit in, and it never did. I could always find something else to do.
|
|
Even though I've been doing web things for a while now, I confess I had never dealt with browser cookies other than clicking those cookie notifications on…
|
|
School assignments that count: simulating the COVID outbreak with the C language
-
nicolaiarocci.com
-
5 years ago
-
eng
Giulia got an exciting assignment from her teacher: Write a C program that simulates (a simplified version of) COVID outbreak spreading across a population of 200 people. When a healthy person comes into contact with a sick person, the healthy person becomes ill, too. After some time, a sick person will recover. A recovered person cannot infect a healthy person nor become sick again after coming in contact with a sick person.
|
|
School assignments that count: simulating the COVID outbreak with the C language
-
nicolaiarocci.com
-
5 years ago
-
eng
Giulia got an exciting assignment from her teacher: Write a C program that simulates (a simplified version of) COVID outbreak spreading across a population of 200 people. When a healthy person comes into contact with a sick person, the healthy person becomes ill, too. After some time, a sick person will recover. A recovered person cannot infect a healthy person nor become sick again after coming in contact with a sick person.
|