Feed Andrej Karpathy / @karpathy [copy] http://shalnoff.co.uk/rss.php?rss=karpathy has loading error: cURL error 22: The requested URL returned error: 403 Forbidden
Feed digilinux.ru [copy] http://digilinux.ru/feed/ has loading error: cURL error 22: The requested URL returned error: 403 Forbidden
Feed freepost [copy] https://freepo.st/rss/new has loading error: cURL error 6: Could not resolve host: freepo.st

Nvidia sucks and I'm sick of it

There’s something I need to make clear about Nvidia. Sway 1.0, which is the release after next, is not going to support the Nvidia proprietary driver, EGLStreams, or any other proprietary graphics APIs. The only supported driver for Nvidia cards will be the open source nouveau driver. I will explain why.

Today, Sway is able to run on the Nvidia proprietary driver. This is not and has never been an officially supported feature - we’ve added a few things to try and make it easier but my stance has always been that Nvidia users are on their own for support. In fact, Nvidia support was added to...

Drew DeVault's blog
Posted at 2017-10-26 00:00:00 | Software | read on

The future of Wayland, and sway's role in it

Today I’ve released sway 0.15-rc1, the first release candidate for the final 0.x release of sway. That’s right - after sway 0.15 will be sway 1.0. After today, no new features are being added to sway until we complete the migration to our new plumbing library, wlroots. This has been a long time coming, and I would love to introduce you to wlroots and tell you what to expect from sway 1.0.

Sway is a tiling Wayland compositor, if you didn’t know.

Before you can understand what wlroots is, you have to understand its predecessor: wlc. The role of wlc is to manage a number of low-level plumbing components of a Wayland...

Drew DeVault's blog
Posted at 2017-10-09 00:00:00 | Software | read on

Analyzing HN moderation & censorship

Hacker News is a popular “hacker” news board. One thing I love about HN is that the moderation generally does an excellent job. The site is free of spam and the conversations are usually respectful and meaningful (if pessimistic at times). However, there is always room for improvement, and moderation on Hacker News is no exception.

Notice: on 2017-10-19 this article was updated to incorporate feedback the Hacker News moderators sent to me to clarify some of the points herein. You may view a diff of these changes here.

For some time now, I’ve been scraping the HN API and website to learn how the moderators work, and to gather some...

Drew DeVault's blog
Posted at 2017-09-13 00:00:00 | Software | read on

Killing ants with nuclear weapons

Complexity is quickly becoming an epidemic. In this developer’s opinion, complexity is the ultimate enemy - the final boss - of good software design. Complicated software generally has complicated bugs. Simple software generally has simple bugs. It’s as easy as that.

It’s for this reason that I strongly dislike many of the tools and architectures that have been proliferating over the past few years, particularly in web development. When I look at a tool like Gulp, I wonder if its success is largely attributable to people not bothering to learn how Makefiles work. Tools like Docker make me wonder if they’re an excuse to avoid learning how to...

Drew DeVault's blog
Posted at 2017-09-08 00:00:00 | Software | read on

Game Engine Black Book Postmortem


I am pleased to announce that the Game Engine Black Book about Wolfenstein 3D has shipped. It is 316 pages, full color and made of three parts describing the hardware of the 1991, id Software tools, and the game engine internals. You can read a preview on Google Books and buy it here:
Amazon.com (.fr, .de, .co.uk, .ca,...).
Google Play Books for web browsers, Android devices, and iOS devices.
It took me three years to complete this project. It had its fair share of heavy winds and bumpy roads. I thought it could benefit some writers in the making to give...

Fabien Sanglard
Posted at 2017-09-07 01:08:45 | Software | read on

2017-09-04

sent 1 released: download

suckless.org news
Posted at 2017-09-04 00:00:00 | Software | read on

2017-09-04

suckless hackathon: we met on Sep 1-3 2017 in Würzburg, Germany.

suckless.org news
Posted at 2017-09-04 00:00:00 | Software | read on

2017-08-30

suckless.org now supports TLS using Let's Encrypt. Cloning git repos over HTTPS now works. Some links on the page have been changed to allow both HTTP and HTTPS.

HSTS is not fully working yet. This will be fixed.

The IPv6 AAAA record was added and IPv6 is fully working now.

suckless has many subdomains, these should hopefully all work via TLS. If you see a subdomain without a signed certificate please report it. If you find any broken links on the wiki pages, these can be fixed by anyone.

suckless.org news
Posted at 2017-08-30 00:00:00 | Software | read on

FizzleFade


I enjoy reading a lot of source code and after 15 years in the field I feel like I have seen my fair share. Even with a full-time job, I still try to spare evenings here and there to read. I don't see myself every stopping. It is always an opportunity to learn new things to follow somebody's mind process.
Every once in a while I come across a solution to a problem that is so elegant, and so creative that there is no other word but "beautiful" to describe it. Q_rsqrt, better knows as "Inverse Square Root" and popularized...

Fabien Sanglard
Posted at 2017-08-28 01:08:45 | Software | read on

When not to use a regex

The other day, I saw Learn regex the easy way. This is a great resource, but I felt the need to pen a post explaining that regexes are usually not the right approach.

Let’s do a little exercise. I googled “URL regex” and here’s the first Stack Overflow result:

https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)

source

This is a bad regex. Here are some valid URLs that this regex fails to match:

http://x.org http://nic.science http://名がドメイン.com (warning: this is a parked domain) http://example.org/url,with,commas https://en.wikipedia.org/wiki/Harry_Potter_(film_series) http://127.0.0.1 http://[::1] (ipv6 loopback)

Here are some invalid URLs the regex is fine with:

http://exam..ple.org http://--example.org

This answer has been revised 9 times on Stack Overflow, and this is the best they could come up with. Go back and read the...

Drew DeVault's blog
Posted at 2017-08-13 00:00:00 | Software | read on
1 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 109

***

Однажды китайский ученый Ли Хунь Янь обнаружил некоторую незначительную, однако, существенно отличающуюся от фона корреляцию между количеством псилоцибина потребляемого корфуцианскими медузами и характером передвижения оных по стенкам четырехсотлитровго шарообразного аквариума, установленного в лаборатории по случаю празднования сто второго полугодичного затмения от начала новой эры Сингулярного Прорыва. Недолго думая, Ли Хунь Янь приделал к щупальцам медуз источники излучения в видимом диапазоне но с разной длинной волны, заснял весь процесс шестью камерами с 48 часовой выдержкой, симметрично расставив последние вокруг сосуда, где резвились подопытные и через неделю собрал прелюбопытнейший материал, который, в свою очередь, лег в основу фундаментального труда, ныне известного, как теория полутретичных n-многообразий простой метрики Ли Хунь Янь, с которой (с некоторыми упрощениями и оговорками) я, по мере сил, постараюсь познакомить любопытного и пытливого читателя.

Recently