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


This is the world in the eyes of a dog The poor things have such a cold experience of the world. Our eyes while giving us a richer experience of the world are also a limited mechanical tool. The world doesn’t care though. It stays the same regardless of the tools we use to perceive it - whether it’s the eyes of a dog or my presbyc ones. This sounds like stoner talk, but hear me out.

My first post - apurva-shukla.me - 5 years ago - eng
I’m learning React & Gatsby’s framework all in one go in an effort to build my own personal website. I’m hoping for it to house my blog…

How playing the game Factorio reminds me of software engineering, from managing complexity to teamwork and automation

In the technology world today, the term Open is most commonly associated with Open Source . Open Source refers to software released under a license that gives other software developers access to modify the original Source code that was used to create the software. This, in turn allows other software developers worldwide to quickly identify and fix bugs and security loopholes, as well as make feature improvements to the software. Co..

In the technology world today, the term Open is most commonly associated with Open Source . Open Source refers to software released under a license that gives other software developers access to modify the original Source code that was used to create the software. This, in turn allows other software developers worldwide to quickly identify and fix bugs and security loopholes, as well as make feature improvements to the software. Co..

UPDATE: I'm no longer using these steps. See Emacs plus –with-native-comp for an easier alternative. Below are the instructions I use to build Andrea Corallo's gccemacs on macOS. It is based on Allen Dang 's handy instructions plus some changes of my own. Install gcc and libgccjit via homebrew brew install gcc libgccjit Save configure script Create configure-gccemacs.sh #!/bin/bash set -o nounset set -o errexit # Configures Em....

In this post we'll write a Python to C compiler in Python. This is especially easy to do since Python has a builtin parser library and because a number of CPython internals are exposed for extension writers . By the end of this post, in a few hundred lines of Python, we'll be able to compile and run the following program: $ cat tests / recursive_fib . py def fib ( n ): if n == 0 or n == 1 : retu....

How playing the game Factorio reminds me of software engineering, from managing complexity to teamwork and automation

Use the dependency injection of Symfony to configure super-easily a strategy pattern with your services.

While benchmarking a custom concurrent functor queue against standard library containers, I noticed something that I didn’t expect. The common concern about the standard containers, especially ones such as std::list,...

The August 4th explosions in Beirut were very jarring to me due to the loss of human life, and the numerous , direct videos that looked like something out my 80s youth nightmares. Hearing that it was caused by 2,750 tonnes of ammonium nitrate , I started working on my phone to quantify my fear by figuring out how easy it would be to ship that much, and how much it would cost. According to wikipedia, there were at least 171 deaths;....

Morning Joy - www.dannyguo.com - 5 years ago - uzn

Not long after I found an old piece on attribution from Thinkst Applied Research , Cisco’s Talos Intelligence group posted an article on the same topic . Attribution is fraught, as both pieces explain. IP geolocation is woefully inaccurate, many of the tactics, techniques, and procedures tied to specific actors are either so common that they apply to several groups or so general that they might as well, and the proliferation of viable too..

CopyOnWriteArrayList 先看看百科上关于 COW 的介绍 : 写入时复制(英语:Copy-on-write,简称COW)是一种计算机程序设计领域的优化策略。其核心思想是,如果有多个调用者(callers)同时请求相同资源(如内存或磁盘上的数据存储),他们会共同获取相同的指针指向相同的资源,直到某个调用者试图修改资源的内容时,系统才会真正复制一份专用副本(private copy)给该调用者,而其他调用者所见到的最初的资源仍然保持不变。这过程对其他的调用者都是透明的(transparently)。此作法主要的优点是如果调用者没有修改该资源,就不会有副本(private copy)被创建,因此多个调用者只是读取操作时可以共享同一份资源。 简单来说,就是读取时直接读取不用加锁同步,写入数据时会 复制一份副本 ,然后将新的数据写入到副本中,然后再把副本替换成原来的数据。 因此 CopyOnWriteArrayList 是 线程安全 的,另外也允....

List 先看下 ArrayList 实现的接口 List 的相关概念。 List 可以称为有序集合或者序列,通过整数索引访问元素 允许插入相同元素 一般来说也允许插入 null 值 List 接口中还提供了一个特殊的迭代器:ListIterator ListIterator ListIterator 专门为了 List 打造,在 Iterator 基础上还提供了插入和替换元素以及双向访问的功能。 我们来看下使用: List < String > list = new ArrayList <>(); list . add ( "1" ); list . add ( "2" ); list . add ( "7" ); list . add ( "4" ); ListIterator < String > iterator = list . listIte....

Do you want to distribute your Python applications to other users who don't have or even use Python? Maybe you're interested in seeing your Python application run on iOS or Android mobile devices. This week on the show we have Russell Keith-Magee, the founder and maintainer of the BeeWare project. Russell talks about Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices.

Recently I have been learning about remote procedural calls (RPCs) in * Golang and realized I was unable to find an easy example on how to write a unit test for RPCs. In this post, I’ll explain how I figured out a solution.

There are a *lot* of React Component libraries to choose from. This guide attempts to put them all on one page.



LinkedList 实现了 List 以及 Deque 的 双向链表 ,元素允许为 null,所以 LinkedList 同时具备 List 以及 Deque 的特性。 跟 ArrayList 一样,LinkedList 也是 非线程安全 的,可以使用包装方法获取同步对象: List list = Collections . synchronizedList ( new LinkedList (...)); iterator以及listIterator同样也被设计为 fail-fast 。 使用特性 LinkedList 内部实现上是个 链表 ,所以可以把它当作 链表 使用。 LinkedList 同样还可以代替 Stack 类当做 栈 来使用(官方也推荐这么做)。 但不合适作为 List 使用,List 相关的方法会比较耗时,性能低。 链表和栈相关的操作基本都可以在 固定时间 内完成,但是 Li....

If you’re like me, most of the mail you get anymore is junk mail. One common type of junk mail is “scratch-off promotions” from car dealerships. You know, those lottery-looking pieces that seem to award everyone the top prize?


Note : Updated on 2022-06-04 to reflect experience with actually maintaining these gems. This blog post talks about my experiences converting a handful of Ruby class libraries to gems. As do a lot of software engineers, I have a series of routines that I bring into almost every Ruby project I tackle that deal with what I consider core stuff you always need: url handling, database stuff, time parsing and so on. Normally I just copy th....

mdfind is an OSX executable which taps into the underlying spotlight index to find files quickly. However if you want to quickly sort results you need to pipe its output (the symbol i.e. shift key + forward slash) into another program. The program we are going to send its results to is xargs which then handles integrating the results from mdfind with another command and organizing the results. Note : I regard xargs as "Unix Dark Mag..

Like a lot of engineers, I have a handful of personal projects I keep around for various reasons. Some are useful and some are just for fun, but none of them get the same sort of investment as a funded commercial effort. The consequence of this is that it's all the more important to keep things as simple as possible, to focus the investment where it counts. Part of the way I achieve that is that I've spent some initial time putting together....

Cargo actually provides a way to cleanly rename tables without any “downtime,” but it’s not obvious or documented how to do this.

Cargo actually provides a way to cleanly rename tables without any “downtime,” but it’s not obvious or documented how to do this.

Cargo actually provides a way to cleanly rename tables without any “downtime,” but it’s not obvious or documented how to do this.

Cargo actually provides a way to cleanly rename tables without any “downtime,” but it’s not obvious or documented how to do this.

Code refactoring is an essential part of the job of software developers. As time goes on, technology evolves, product requirements change…

Series Index Python and Go: Part I - gRPC Python and Go: Part II - Extending Python With Go Python and Go: Part III - Packaging Python Code Python and Go: Part IV - Using Python in Memory Introduction In the previous post we compiled Go code to a shared library and used it from the Python interactive shell. In this post we’re going to finish the development process by writing a Python module that hides the low level detai..


Do you want more traffic, but don’t know where to start? Are you on Quora? Did you know you can use Quora to get traffic to your blog?

Code refactoring is an essential part of the job of software developers. As time goes on, technology evolves, product requirements change…

Using SVG icons instead of PNG or JPG has a few performance benefits, but they're not always straightforward to use. Here's how you do it.

Previously, we have shared our AngularJS Security Fundamentals cheatsheet. This time around, we dive straight into the modern Angular security best practices.

This structure of this blog is almost completely maintained by hand: I manually add entries to the index page, often going back to edit existing posts, and several entries are perennial -- such as my Book list, as well as the syntopical collections on different sets of books. That makes it fairly tricky to automate an RSS feed: at the same time, enough (4) people have directly reached out to request one. Instead of spending a lo....


listmonk v0.7.0-alpha - nadh.in - 5 years ago - eng
Repository: @knadh/listmonk GitHub release page: v0.7.0-alpha This is a major breaking release with a completely rewritten frontend and numerous fixes and improvements. Some of the updates: New frontend and UI. Snappier and responsive.

When you sigh, where all that extra air come from? Have you ever realized you’re holding your breath unconsciously only for it to end with a deep exhale? Happened to me a couple weeks ago. I was driving and I noticed that from time to time I would be thinking about the other cars and the more I thought the shallower I breathed. Then, the driving situation would simplify and I would switch to “autopilot” cruising and release a single sigh an....

Politicians on the Left and Right are betting on new theories about money to bring about the change they seek, but both are neglecting ideas from classical economics that could help us prepare for economic disruptions ranging from the current pandemic to the coming AI revolution. .

Go currently lacks any sort of heredoc or similar syntax, and it's backtick syntax cannot contain backticks. This can make correctly encoded creating go strings, particularly for large strings that contain many backticks, a bit of a challenge. Here's a tool to safely encode any given input to Go string. It's written in Go using Go's own string encoder and compiled with WASM. The code as well as a CLI version of it are available on G..

55 visitors online