Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK


If you've ever created a login page or auth system, you might be familiar with OAuth 2.0, the industry standard protocol for authorization…

WakatimeClient - hth.is - 4 years ago - eng
I’ve officially released the first version of a library I have been working on for a while now, that carries the very unimaginative title ‘WakatimeClient’. For the technical details you can take a look at the library page or go straight to github. Backstory Link to heading Wakatime is a fantastic coding activity tracker that not only has a fantastic range of plugins for (it seems) almost any IDE on the planet, but it also has a fully functi..

WakatimeClient - hth.is - 4 years ago - eng
I’ve officially released the first version of a library I have been working on for a while now, that carries the very unimaginative title ‘WakatimeClient’. For the technical details you can take a look at the library page or go straight to github. Backstory Link to heading Wakatime is a fantastic coding activity tracker that not only has a fantastic range of plugins for (it seems) almost any IDE on the planet, but it also has a fully functi..

I recently tweeted that Vivek Haldar's 10-year old post rings true today just the same. He writes about the levels of Emacs proficiency . All 6 levels are insightful in their own right, but for the sake of this post, let's quote an extract from level 4. Shell inside Emacs : "And then, you learned about it: M-x shell. It was all just text. Why did you need another application for it? Why should only the shell prompt be editable? ....





15 will shock you! If you're familiar with kubernetes, you're likely familiar with the kubernetes API and the concept of controllers: reconciliation loops that look at the data stored in the api and try to make the state of the cluster match that declared API state. This is a pretty powerful model that has proven its value over time - but despite the seeming simplicity of the core ideas, there are plenty of details that may be surprising on..

A convenient workflow for every web developer. Learn more about the Hugo generator, when should you use it and what are its flaws.

The popularity of Python is continuing to grow Developers across the globe are embracing the language. How is Python being used in all of these different countries? How does an organization like the Python Software Foundation (PSF) work toward the goals in its mission statement for supporting and growing this international community? This week on the show, we have Marlene Mhangami, a PSF board member and part of the Diversity and Inclusion ..

Robinson Creek - sam.hooke.me - 4 years ago - eng

Robinson Creek - sam.hooke.me - 4 years ago - eng

Let’s explore how GPT-2 tokenizes text. What is tokenization? It’s important to understand that GPT-2 doesn’t work with strings directly. Instead, it needs to tokenize the input string, which is essentially a process for converting the string into a list of numbers, or “tokens”. It is these tokens which are passed into the model during training or for inference. As a concrete example, let’s look at a few sample sentences:


Snyk Infrastructure as Code (IaC) can now scan for AWS CloudFormation misconfigurations in YAML or JSON templates against our comprehensive set of AWS security rules.

Kris Broughton, Channel Sales Manager at Snyk, reflects on what Juneteenth means to him and the events in America that have led the country to grapple openly with the inconvenient truth of racial inequity.

While I’m stuck in quarantine in Australia I’ve setup a live Q&A session about my upcoming Australian expedition. Join the chat to ask me anything you’ve always wondered about my previous expeditions, or this...

Pyramid Lake - sam.hooke.me - 4 years ago - eng
View looking down into Pyramid Lake. Summary This scenic hike is named after its destination, Pyramid Lake. While the lake itself is a little on the small side, perhaps edging into “pond” territory, it is nevertheless beautiful, with some fascinating features. Carniverous sundew plants abound on the floating logs, and pikas hide in the nearby rocks.

Pyramid Lake - sam.hooke.me - 4 years ago - eng
View looking down into Pyramid Lake. Summary This scenic hike is named after its destination, Pyramid Lake. While the lake itself is a little on the small side, perhaps edging into “pond” territory, it is nevertheless beautiful, with some fascinating features. Carniverous sundew plants abound on the floating logs, and pikas hide in the nearby rocks.

It’s been two weeks since my last blog post and finally a new update for Traderino is ready. As usual, let’s do a small recap of what happened in the last couple of weeks. In these 9 days of trading we’ve had some big swings in profits but it seems for now Traderino managed to […]


Choosing the right SAST tool for your organization is important. Learn why it’s difficult to compare SAST tools using only lists (like OWASP Top 10 and SANS-25), test suites, and benchmarks

Recruiters have told me that they achieve a 7% (at best) success rate for replies to messages from candidates. Meanwhile, I’m able to secure a 60% success rate when I reach out to prospective engineering candidates. The main reason for this is that engineers prefer to hear from other engineers. The weight of a message from a VP or Director is much greater than that of a recruiter or someone outside of the engineering org. That’s why it is s..

President Biden’s executive order regarding Improving the Nation’s Cybersecurity explicitly mentions the adoption of SBOMs and the formalization of SBOM standards as a goal. Learn how Snyk is contributing to this effort.

Figure 1. Three mason jars, full of fermenting vegetables. Two Bánh Mì(ish) and one eggs. I’ve been fermenting vegetables of various kinds (and occasionally other things) at home for a little over two years. It’s a fun, interesting & nutritious hobby. On the whole it’s pretty easy and low stakes – the worst thing that happens is a few cucumbers go mouldy. Because it doesn’t involve any heat – but does include pouring, measuring, stirri....

I’ve put together, described (in Polish) and implemented (in Python) every required algorithm for the IT Matura exam.

Lost River - sam.hooke.me - 4 years ago - eng

Lost River - sam.hooke.me - 4 years ago - eng

So the motorcycle-touring season has started, albeit a little late this year because of the COVID situation, and I’ve been avidly pursuing it. On Sunday, I embarked on a 700 km trip from my place to the Dolomites and back. It’s been a glorious day. We ( Antonio and I) visited many renowned Mountain Passes, enjoyed stunning views, ate great food and chatted like there’s no tomorrow. I took my GoPro along with me. I wanted to record som..

Ever find yourself typing more characters than is necessary when using some annoying application or website? Here’s a quick hack around that. Intro : There’s a magic program called xdotool written by Jordan Sissel that solves this problem. I’ve known about his excellent work for years, but only today did I learn he also wrote xdotool. It’s named as such because it tells the X server to do something for you.

Ever find yourself typing more characters than is necessary when using some annoying application or website? Here’s a quick hack around that. Intro : There’s a magic program called xdotool written by Jordan Sissel that solves this problem. I’ve known about his excellent work for years, but only today did I learn he also wrote xdotool. It’s named as such because it tells the X server to do something for you.

TLDR: Attention masks allow us to send a batch into the transformer even when the examples in the batch have varying lengths. We do this by padding all sequences to the same length, then using the “attention_mask” tensor to identify which tokens are padding. Here we use a batch with three samples padded from the left since we want to predict the next token on the right. (Padding on the right would probably predict another pad.)

Had been a while since I looked into generating Xcode projects from a Swift package. On my latest use of the generate-xcodeproj subcommand, I was greeted by a nice warning surprise… swift package generate-xcodeproj Xcode can handle Swift packages directly. Similarly, xcodebuild can handle them too. This isn't new. It's likely been available since Xcode 11. I just totally missed it. Note: I've yet to dig into Xcode 13 beta, as Swift ....

We’re excited to announce the release of the latest O’Reilly book from Guy Podjarny, "Cloud Native Application Security: Embracing Developer-First Security for the Cloud Era".

Atlassian and Snyk released a new integration that natively embeds Snyk vulnerability scanning into Bitbucket Cloud security.

Slugify # Transliterate everything to ASCII # Strip out apostrophes # Anything that's not a letter or number to a dash # Strip leading & trailing dashes # Everything to lowercase function slugify () { iconv -t ascii//TRANSLIT \ | tr -d "'" \ | sed -E 's/[^a-zA-Z0-9]+/-/g' \ | sed -E 's/^-+|-+$//g' \ | tr "[:upper:]" "[:lower:]" } This is point-free style  – so, once you’ve dec..

Learn how to schedule redeployments at regular intervals by building a simple application that fetches stock market data.

Sometimes I want to resolve several promises at once, then do something when they’re all done. For example, make several API calls, then do something with all the results. I was doing something like this before: // Build your promises array let promises = [ fetch ( ' https://blah.com/static/file.json ' ), fetch ( ' https://blah.com/api/thing/one ' ), fetch ( ' https://blah.com/apr/thing/two ' ), ] ....


Controlling concurrency with asyncio and semaphores to make large batches of Python HTTP requests fast.

Controlling concurrency with asyncio and semaphores to make large batches of Python HTTP requests fast.

Convolutional neural networks have had breakthrough success in image recognition, natural language processing, and even board games like Chess and Go. But what’s really going on during convolution? Well, I think the easiest way to explain is with an interactive demo. Feel free to play around with the parameters below to see for yourself! number: four three eight padding: kernel size: stride: speed: ..

80 visitors online