~/devreads

30 Sept 2020

Stanko 1 min read

Be sure to check the timelapse in the gallery below. Created: September 2020 Size: 52x27cm Paper: 200gsm Pens: Sakura Gelly Roll 0.8mm pen

29 Sept 2020

Lorraine Bellon 1 min read

Working outside the office is no longer a trend or an office perk — it’s our new reality. And make no mistake – cyberattacks have not slowed down while so many people have begun working remotely outside the protections of the corporate office network. Enabling off-network endpoint protection for users is no longer optional – […] The post Secure remote…

securitycisco anyconnectcisco umbrellacloud securitycyberattacks

21 min read

Tesla had its first Battery Day on September 22nd, 20201. What a fantastic world we live in that we can witness the first Apple-like keynote for batteries. Batteries are a part of our everyday life; without them, the world would be a much different place. Your cellphone, flashlight, tablet, laptops, drones, cars, and other devices would not be portable and…

Cory LaViska 4 min read

A few years ago, I released a lightweight alternative to Bootstrap affectionately named Shoelace. Shoelace was small and fast because of its minimal design and pure CSS approach to styling. It used CSS custom properties extensively to enable customizations, even when loaded via CDN — something you can’t do with Sass. At the time, CSS custom properties were still pretty…

28 Sept 2020

1 min read

We’re glibly searching for counterexamples to the Riemann Hypothesis, to trick you into learning about software engineering principles. In the first two articles we configured a testing framework and showed how to hide implementation choices behind an interface. Next, we’ll improve the algorithm’s core routine. As before, I’ll link to specific git commits in the final code repository to show…

David Walsh 1 min read

Over the past few years, many engineering teams have switched their default git branch name from master to a different, potentially less offensive term. I’m all for choosing to name your default branch whatever you’d like, but not having a universal default branch name can complicate some automation. So how can we detect the default branch name for a git…

24 Sept 2020

David Walsh 1 min read

One thing I love about JavaScript is that there are many ways to accomplish the same task, one such example being creating functions. There are several patterns for functions; one of the last you see used is the new Function method: /* new Function(arg1, arg2 (...), body) */ const myFunction = new Function('users', 'salary', 'return users * salary'); What if…

23 Sept 2020

Savannah Ostrowski 2 min read

We are happy to announce that the September 2020 release of the Python Extension for Visual Studio Code is here! This was a short release where we addressed total of 34 issues, and it includes support for colorization and auto import improvements with Pylance. Keep on reading to learn more! The post Python in Visual Studio Code – September 2020…

pythonvisual studio code

1 min read

I’m a coder in blockchain, mainly work on MEV bots on ethereum and binance smart chain.

Hesham Salman 5 min read

GitHub’s mobile applications have used GraphQL to power new features. We’ve now been able to move faster and get more done with less hassle and no over-fetching. We were able to turn to the open source community and use Apollo for iOS and Android. By doing so, we moved at warp-speed. We also minimized ongoing engineering effort on what is…

ericlippert 10 min read

The final part of my Life series is still in the works but I need to interrupt that series with some exciting news. The new programming language I have been working on for the last year or so has just … Continue reading →

uncategorized

22 Sept 2020

Rachel Ackerly 1 min read

If you’re like most businesses, you’ve already got a secure web gateway (SWG) deployed. In fact, 84% of businesses rely on their secure web gateway to protect their organization from malware infections, enforce corporate and regulatory policies, filter content, and more. As organizations move to the cloud, traditional appliance-based SWGs have been strained with more […] The post The secure…

products servicescasbcloud-delivered firewallcyber threatscybersecurity

21 Sept 2020

Todd Gardner 4 min read

I hate slow websites. They are annoying to use and frustrating to work on. But what does it mean to be “slow”? It used to be waiting for document load. Then waiting for page ready. But with so many asynchronous patterns in use today, how do we even define what “slow” is? The W3C has been working on this with…

David Walsh 1 min read

I really appreciate the amount of different <input> elements we’ve received over the past decade. These elements don’t just bring a new semantic advantage, but also provide UI helpers, which in many cases are useful. In a recent case, I found a UI element not useful: the x (clear) icon in <input type="search" /> elements. In most cases that input…

1 min read

As part of our efforts to improve our APIs, we’re introducing updates on how we paginate over tracks. This only affects developers and apps…

18 Sept 2020

3 min read

How do you ship a product on schedule? One useful approach is applying the You Ain’t Gonna Need It principle, or YAGNI for short: leave out all the things that seem nice-to-have, but you have no proof you actually need. But beyond the things you don’t need, there are still plenty of features you pretty clearly do need… but are…

17 Sept 2020

16 Sept 2020

Holly McGill Bracken 8 min read

Fast track the review process with these steps! At Teamwork, we know that integrations between the products you use most are essential to speeding up workflows and saving you time on switching between multiple apps. So when we released the Teamwork Developer Portal earlier this year, we were really excited to finally unleash the power of API driven solutions, and…

Stanko 1 min read

It is funny, I would never say I would be sad to deprecate a software project. Especially a project boilerplate. But I just merged the deprecation notice, and I do feel down a little. I created Marvin about four years ago for my own needs. Since then it grew, became internal project at Work&CoFun fact, our website is made on…

15 Sept 2020

Sneha Shekar 1 min read

84.7% of cyberattacks involve phishing. In such a scenario, it becomes very important to understand the various ways a phishing attack could occur. Phishing URLs are commonly found on cloud providers. This article will take you through why cloud providers are being used increasingly for phishing campaigns and what pattern an attack on these sites […] The post Why cloud…

securitycloud providerscloud securitydns-layer protectionphishing

0xADADA 1 min read

Set the current user accounts profile photo (displayed on the login UI) using a local JPG image. dscl . delete "${HOME}" JPEGPhoto dscl . delete "${HOME}" Picture sudo dscl . create "${HOME}" Picture "${PWD}/avatar.jpg" Replace Time Machine with Volume on the menu bar defaults write com.apple.systemuiserver menuExtras -array \ "/System/Library/CoreServices/Menu Extras/AirPort.menu" \ "/System/Library/CoreServices/Menu Extras/Volume.menu" \ "/System/Library/CoreServices/Menu Extras/Battery.menu"

1 min read

Since version 4.10, OCaml offers a new best-fit memory allocator alongside its existing default, the next-fit allocator. At Jane Street, we've seen a big improvement after switching over to the new allocator. This post isn't about how the new allocator works. For that, the best source is these notes from a talk by its author. Instead, this post is about…

14 Sept 2020

ericlippert 11 min read

Last time we implemented what looked like Gosper’s algorithm and got a disappointing result; though the quadtree data structure is elegant and the recursive algorithm is simple, and even though we memoize every operation, the time performance is on par … Continue reading →

conwayslife

judej 3 min read

In last week’s Pylance update we introduced Semantic colorization, and thank you for all feedback! It was exciting for the team to bring this new feature to you. With the latest release of Pylance (version 2020.9.4) we are excited to introduce features that bring us closer to the goal of helping developers write correct Python […] The post Pylance introduces…

python

David Walsh 2 min read

The Promise API changed the game in JavaScript. We went from abusing setTimeouts and settling for synchronous operations to doing everything possible to leverage this new async API. Let’s check out a handful of awesome Promise API tricks! Cancel a fetch Request One problem we instantly complained about with promises was not being able to cancel them. A simple promiseInstance.cancel()…

11 Sept 2020

1 min read

In the last article we set up pytest for a simple application that computes divisor sums $ \sigma(n)$ and tries to disprove the Riemann Hypothesis. In this post we’ll show how to extend the application as we add a database dependency. The database stores the computed sums so we can analyze them after our application finishes. As in the previous…

1 min read

Some mathy-programmy people tell me they want to test their code, but struggle to get set up with a testing framework. I suspect it’s due to a mix of: There are too many choices with a blank slate. Making slightly wrong choices early on causes things to fail in unexpected ways. I suspect the same concerns apply to general project…

Stanko 1 min read

A friend of mine asked for a color version of Black Holes. Again, it is so hard to take a good photo of these colors. They are nicer and more vivid in person. Created: September 2020 Size: 42x30cm Paper: Fabriano Black Black 300gsm Pens: Gelly Roll Moonlight

10 Sept 2020

ericlippert 11 min read

All right, we have our quad data structure, we know how to get and set individual elements, and we know how to display it. We’ve deduplicated it using memoization. How do we step it forward one tick? (Code for this … Continue reading →

conwayslife

David Walsh 1 min read

I love JavaScript, it’s my favorite programming language, but I love dipping into other languages because they offer a new perspective on coding paradigms. There’ve been syntax additions to JavaScript that I’ve seen I found interesting (think ?? in optional chaining) and now we get more — logical assignment operators. Let’s check out how they can be used! ||= Or-Or-Equals…

lukaseder 1 min read

I was asked a very interesting question on Twitter just now: @lukaseder quick q: in pg can I have a composite foreign key where one value is a constant… or do I have to store the constant in the table? constraint foreign key (foo_id, ‘bar_subtype’) references foo(foo_id,foo_type) ? — Look! The Emperor is NAKED V⃝ … Continue reading Having “constant”…

sqlcomputed columndb2generated always asgenerated column

9 Sept 2020

kevin 6 min read

Sometimes people choose to work for one company over another for reasons related to the work environment, for example what the company does, and whether the other employees create a place that's pleasant to work at. But a major factor is compensation. If Company A and Company B are largely comparable, but Company A offers […]

opinionsilicon valley

1 min read

The collaboration problem: overwriting each other changes In traditional online applications, when you make a modification to the state of the object you work on, the change propagates to a central server that holds the “truth”. The server registers the change and sends back a confirmation that the change was indeed applied. The problem happens when Alice and Bob try…

8 Sept 2020

ericlippert 1 min read

Episode 34 will be delayed again — sorry! — because once again the time I had set aside for writing this weekend got consumed by a real-world task that could not wait. (I will try for Thursday of this week.) … Continue reading →

uncategorized

Lorraine Bellon 1 min read

Remote work isn’t just the future – it’s here and now. With most, if not all, of your users working from home, you need to deliver the same level of protection for the sensitive, business-critical data on their laptops and mobile devices as if they were working in the office. Cybercrime hasn’t slowed down during […] The post Protect remote…

securitycasbcloud access security brokercloud securitycyberthreats

4 min read

I previously wrote a bit about our internal infrastructure in my post on The Art of Automation. This post is going to go into details about our automated Chief infrastructure Officer (CIO). I joke so much that I automated our CIO that I even named the repo holding the code… cio. I took the time this weekend to finally clean…

7 Sept 2020

5 Sept 2020

Schakko 3 min read

WooCommerce returns an HTTP 401 error if you are not using HTTPS or the Authorization header is not parsed correctly by your webserver. Receiving HTTP 401 during authentication WooCommerce provides an extensive REST API with which you can automate your WordPress WooCommerce shop. WooCommerce uses a Consumer Key and Consumer […] The post Fixing HTTP 401 Unauthorized when calling WooCommerce’s…

wordpress

4 Sept 2020

kevin 10 min read

I finally got my home network in a place where I am happy with it. I wanted to share my setup and what I learned about it. There has never been a better time to set up a great home network; there are several new tools that have made this easier and better than in […]

codeeducation

0xADADA 2 min read

The United States was started as a rational experiment in democratic capitalism based on ideas that inspired its forefathers. They were influenced by ideas coming out of the Enlightenment, specifically Adam Smith, Locke, Rousseau, and the conception of humans resorting to “the state of nature” and acting in bad-faith with one another. fuck the monarchy, let’s experiment with a rational…

essays

3 Sept 2020

Michael Carroll 1 min read

We are proud to announce that we received the 2020 Best Communications API Award from API World‚ the world's largest API and microservices conference.

Robert Reichel 6 min read

At GitHub, we spend a lot of time thinking about and building secure products—and one key facet of that is threat modeling. This practice involves bringing security and engineering teams together to discuss systems, ultimately generating action items that improve the security of the system. Threat modeling has helped us better communicate between security and engineering teams, has shifted the…

1 Sept 2020

Ken Howard 1 min read

No matter what market, industry, or regulatory challenges your organization has faced through the years, one thing is certain. Connecting and protecting your customers, employees, contractors, and partners wherever they work is always the goal, but the details are constantly evolving. That’s never been truer than in this remote, distributed, always-on world today. The very networking and security landscape itself…

securitycloud securitysasesase for dummiessd-wan

31 Aug 2020

ericlippert 1 min read

Episode 34 of my ongoing series will be slightly delayed because I spent the time on the weekend I normally spend writing instead rebuilding one of my backyard fences. I forgot to take a before picture, but believe me, it … Continue reading →

uncategorized

After several years’ involvement with quickly evolving programming languages, I’ve come to appreciate stability. I’d like to make my programs easy to build on a wide variety of systems with minimal adjustment. I’d like them to keep working long into the future as environments change. To think about stability more clearly, let’s divide a functioning program into its layers. Then…