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


Étude in C minor - zserge.com - 5 years ago - eng
Let me start with a picture. int main() {float f ;char c;int d,o;while(scanf( "%d%c%d ",&d,&c,&o) >0){c&=31;for(f=!(c>>4)*55,c=(c*8/5+8)%12+o* 12-24;c--;f*=1.0595); for(d=16e3/d;d--; putchar(d*f *.032)) ;}} I don’t really draw well, so I used formatted C code instead. That was supposed to be a triangular sound wave written in C. In fact, this very C code plays two-octave melodies written in text notation from stdin. It’s only 160 bytes, fit..

In 2017, I co-founded Moonlight as a professional community for software developers with Emma Lawler. We were both leaving San Francisco, and wanted to make it easier for all developers to find specia...


Table of Contents Do We Really Need Plug-ins? Plug-ins in Layered Java Applications Class Unloading in Practice If Things Go Wrong Learning More Layers are sort of the secret sauce of the Java platform module system (JPMS): by providing fine-grained control over how individual JPMS modules and their classes are loaded by the JVM, they enable advanced usages like loading multiple versions of a given module, or dynamically a....

Table of Contents Do We Really Need Plug-ins? Plug-ins in Layered Java Applications Class Unloading in Practice If Things Go Wrong Learning More Layers are sort of the secret sauce of the Java platform module system (JPMS): by providing fine-grained control over how individual JPMS modules and their classes are loaded by the JVM, they enable advanced usages like loading multiple versions of a given module, or dynamically a....

HashMap HashMap 实现了 Map 接口,用于存储键值对,与 Hashtable 不同的是,HashMap 允许 null 元素 。 HashMap 具有两个性能相关的参数: 初始容量( initial capacity ) 和 负载因子( load factor ) , 容量是指 HashMap 桶( buckets ) 的容量,初始容量即 HashMap 在创建时桶的默认大小。 负载因子默认是 0.75 ,默认初始容量是 16 ,初始容量如果设置过大会导致遍历时间变长,但可以降低 resize 的次数,需要结合场景自己权衡。 在容量达到阈值后会进行扩容,扩容后容量为当前的 两倍 。 另外设置的初始容量并不代表实际数组的初始大小,而是会根据设定值找到一个最近的 2 的次幂 当做初始容量。而因为每次扩容都是两倍,所以也保证了数组长度一直是 2 的次幂 。 HashMap 是 非线程安全 的,可以通过 Collections 类获....

V relácii na jednej strane zdôrazňujeme, že v každej väčšej sociálnej skupine sú ľudia viac a menej šikovní, poctiví či inteligentní. Prvoradé sú vlastnosti konkrétneho človeka, hlavne morálka a živý kontakt medzi kultúrami môže naozaj prinášať vedecké, kultúrne, ale aj ľudské obohatenie. Avšak multikulturalizmus v podobe, ako je presadzovaný na Západe a ako je aj politickými mimovládkami pretláčaný u nás, má mnoho nevýhod. Po prvé, neber....

Modern web and mobile user experiences is a worldwide thing. Localization of your application (supporting multiple languages) will help you to reach worldwide people. Angular is offering Internationalization(i18n) plugins to enrich your application with multiple languages. In this post I will discuss the implementation with lazy loading design pattern with supporting dynamic content. Take a quick look at the live demo and choose the langua..




Learn how to control element sizing, maintain proper spacing, and implement fluid typography using these well-supported CSS functions.


Update: The project has been abandoned as it was quite ineffective, it seemed. The room does not exist anymore. I think I have found a method to efficiently identify and act against lurker bots on Matrix. If you are not aware what I am talking about, read the linked article - note: the "vigilant user" mentioned in there is me. So, what is this method? I have found another sign of how to identify at least some of them - similarly to t....

Did ESLint tell you to add a function to your dependency array, and now you're getting infinite re-renders? Let's learn how useEffect can help.

We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search strategies In the last article, we improved our naive search from “try all positive integers” to enumerate a subset of integers (superabundant numbers), which RH counterexamples are guaranteed to be among. These numbers grow large, fast, and we quickly reached the limit of what 64 bit integers can store. Unbounded integer ari..

We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search strategies In the last article, we improved our naive search from “try all positive integers” to enumerate a subset of integers (superabundant numbers), which RH counterexamples are guaranteed to be among. These numbers grow large, fast, and we quickly reached the limit of what 64 bit integers can store. Unbounded integer ari..

We’re ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search strategies In the last article, we improved our naive search from “try all positive integers” to enumerate a subset of integers (superabundant numbers), which RH counterexamples are guaranteed to be among. These numbers grow large, fast, and we quickly reached the limit of what 64 bit integers can store. Unbounded integer ari..

Below see two kernel density estimations. What could you say about them? Most likely, you say that the first plot is based on a uniform distribution, and the second one is based on a multimodal distribution with four modes. Although this is not obvious from the plots, both density plots are based on the same sample: 21.370, 19.435, 20.363, 20.632, 20.404, 19.893, 21.511, 19.905, 22.018, 19.93, 31.304, 32.286, 28.611,....

Below see two kernel density estimations. What could you say about them? Most likely, you say that the first plot is based on a uniform distribution, and the second one is based on a multimodal distribution with four modes. Although this is not obvious from the plots, both density plots are based on the same sample: 21.370, 19.435, 20.363, 20.632, 20.404, 19.893, 21.511, 19.905, 22.018, 19.93, 31.304, 32.286, 28.611,....

Those who ever owned an old Nokia phone like 3310 or 3210 might still remember its wonderful ability to compose your own ringtones straight on the phone’s keyboard. By arranging notes and pauses you could end up with a popular tune beeped out of the phone’s speaker, and furthermore, you could share it with your friends! If you missed that era, here’s how it looked like: Unimpressed? Well, trust me, it was really cool back then especially if..

Those who ever owned an old Nokia phone like 3310 or 3210 might still remember its wonderful ability to compose your own ringtones straight on the phone’s keyboard. By arranging notes and pauses you could end up with a popular tune beeped out of the phone’s speaker, and furthermore, you could share it with your friends! If you missed that era, here’s how it looked like: Unimpressed? Well, trust me, it was really cool back then especially if..

Hashtable Hashtable 实现了 Map 接口,用于存储键值对, 禁止 null 元素 。 用作键的对象必须保证hashCode与equals的可用性。 Hashtable 是 线程安全 的,但一般来说,如果不需要考虑线程安全问题可以使用 HashMap 作为替代,如果需要线程安全的高并发哈希表可以使用 ConcurrentHashMap ,总的来说就是,一般不需要使用 HashTable。 Hashtable 具有两个性能相关的参数: 初始容量( initial capacity ) 和 负载因子( load factor ) , 容量是指 HashTable 桶( buckets ) 的容量,初始容量即 HashTable 在创建时桶的默认大小。在哈希冲突的情况下,每个桶会通过 链表 存储多条数据。 负载因子默认是 0.75 ,一般来说该值是最佳值。 当 HashTable 容量超出负载因子时将会进行 rehash 操作,该....

There is this common refrain about how companies have data about you and could do bad things. Yet governments often pass surveillance laws that are much worse, and by definition, you can’t “vote with your wallet” for them. So in a world where I’m already giving data to third parties, it is useful to ask what I get in return. If we are talking about corporations, we get ads! Yes, but we also get:

There is this common refrain about how companies have data about you and could do bad things. Yet governments often pass surveillance laws that are much worse, and by definition, you can’t “vote with your wallet” for them. So in a world where I’m already giving data to third parties, it is useful to ask what I get in return. If we are talking about corporations, we get ads! Yes, but we also get:


When the pandemic hit earlier this year, schools around the globe quickly embraced online teaching to continue their curriculum. While online teaching wasn’t entirely new in this space, it certainly wasn’t the norm. This meant that many teachers had to adapt quickly, as these 2 funny videos illustrate: https://www.youtube.com/watch?v=CCe5PaeAeew https://www.youtube.com/watch?v=Zy_y9yOrgxk However, I’ve loved every part of this trans....

When the pandemic hit earlier this year, schools around the globe quickly embraced online teaching to continue their curriculum. While online teaching wasn’t entirely new in this space, it certainly wasn’t the norm. This meant that many teachers had to adapt quickly, as these 2 funny videos illustrate: https://www.youtube.com/watch?v=CCe5PaeAeew https://www.youtube.com/watch?v=Zy_y9yOrgxk However, I’ve loved every part of this trans....

I get between 10 to 20 emails per day and, usually, more than half of them are phishing attempts. Phishing attempts are a type of email scam that typically aims to obtain personal data of the victim, including username and password for email accounts and popular services (Gmail, Hotmail, mail.ru, Twitter, Amazon, etc.), through pages forged ad hoc to simulate login sections. -Continue to read the article on SerHack.me

Circular gradients are commonly used in pie or doughnut charts to change the colour of segment as the angle around the center of the chart changes. In many non web platforms, the ability to generate these gradients is provided as part of the standard APIs. For example, Android provides a SweepGradient. In the browsers, only Linear and Radial gradients are provided. Thus, if we want to a circular gradient, we’ll need to create our own.

This is an answer to Antoine Veuiller ’s article, an Introduction to Flaky Tests by Example , in which he shares his experience on tackling unstable tests. And I’m the author of the flaky tests he’s talking about! 😬 Story time!  ¶ I started designing and implementing Scaleway’s billing pipeline …

This is an answer to Antoine Veuiller ’s article, an Introduction to Flaky Tests by Example , in which he shares his experience on tackling unstable tests. And I’m the author of the flaky tests he’s talking about! 😬 Story time!  ¶ I started designing and implementing Scaleway’s billing pipeline …

Been playing around with Swift Package Manager (SPM) . Creating a new Swift package (ie. project) is pretty simple. To create a library package, we can use the following: swift package init --type library Alternatively, to create a command-line utility use: swift package init --type executable Turns out, there are a few options: empty, library, executable, system-module, manifest. With a little elisp, we can write a completing fu....

We are all familiar with a traditional office suite - a word processor, a spreadsheet, a presentation program, maybe a diagramming or note-taking app. We have seen it all in Microsoft Office and Google Docs. Those are really powerful and large. But what would be the most minimal amount of code required to build an office suite? platform Obviously, our office suite won’t be a desktop GUI app - those require plenty of code and efforts to buil..

We are all familiar with a traditional office suite - a word processor, a spreadsheet, a presentation program, maybe a diagramming or note-taking app. We have seen it all in Microsoft Office and Google Docs. Those are really powerful and large. But what would be the most minimal amount of code required to build an office suite? platform Obviously, our office suite won’t be a desktop GUI app - those require plenty of code and efforts to buil..


Near the end of every year I note down a summary of the best apps, hardware & podcasts I’ve enjoyed throughout the year (and often for some time before). This post has been superseded. You can find the latest version of this post here . Software and Services Plex Things Pixelmator Pro Reeder NextMeeting Bumpr Fastmail 1Password Calibre Backblaze iTerm Gitlab PFsense Stay Onyx Evernote Handbrake Amph....

Near the end of every year I note down a summary of the best apps, hardware & podcasts I’ve enjoyed throughout the year (and often for some time before). This post has been superseded. You can find the latest version of this post here . Software and Services Plex Things Pixelmator Pro Reeder NextMeeting Bumpr Fastmail 1Password Calibre Backblaze iTerm Gitlab PFsense Stay Onyx Evernote Handbrake Amph....

As I work through deleting a bunch of accounts, I note down the various issues that make it harder than it should be

As I work through deleting a bunch of accounts, I note down the various issues that make it harder than it should be

As I work through deleting a bunch of accounts, I note down the various issues that make it harder than it should be

Σ/ To discover what was dearly missed in schooling, this general will serve as a playground. >What do you mean? Why talk of mathematics? >I hate mathematics. https://www.maa.org/external_archive/devlin/LockhartsLament.pdf >Okay, but I don't know where to start. I still hate what I was put through. I'm just as lost, but I hope this is what this general will serve as. Don't be afraid to ask any 'stupid' questions here. ..

In reply to Ed Hurst. Thanks brother and namesake! I appreciate your willingness to face my Spanish writing and I don't have any doubts about your good nature. But I am afraid that some English speakers might be put off; and, especially, many Spanish speakers could be put off or intimidated due to the massive English content. They are the ones who concern me the most..

4 visitors online