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

Hello world

Let’s say you ask your programming language to do the simplest possible task: print out “hello world”. Generally this takes two syscalls: write and exit. The following assembly program is the ideal Linux x86_64 program for this purpose. A perfect compiler would emit this hello world program for any language.

bits 64
section .text
global _start
_start:
	mov rdx, len
	mov rsi, msg
	mov rdi, 1
	mov rax, 1
	syscall

	mov rdi, 0
	mov rax, 60
	syscall

section .rodata
msg: db "hello world", 10
len: equ $-msg

Most languages do a whole lot of other crap other than printing out “hello world”, even if that’s all you asked for.

...

Drew DeVault's blog
Posted at 2020-01-04 00:00:00 | Software | read on

The Polygons of Another World: PC DOC

How Another World was implemented on PC DOS!

Fabien Sanglard
Posted at 2020-01-04 00:00:00 | Software | read on

The Polygons of Another World: Atari ST

How Another World was implemented on Atari ST!

Fabien Sanglard
Posted at 2020-01-03 00:00:00 | Software | read on

The Polygons of Another World: Amiga

How Another World was implemented on Amiga!

Fabien Sanglard
Posted at 2020-01-02 00:00:00 | Software | read on

The Polygons of Another World

Let's kick off the year with a series about Another World!

Fabien Sanglard
Posted at 2020-01-01 00:00:00 | Software | read on

Managing my dotfiles as a git repository

There are many tools for managing your dotfiles - user-specific configuration files. GNU stow is an example. I’ve tried a few solutions over the years, but I settled on a very simple system several years ago which has served me very well in the time since: my $HOME is a git repository. This repository, in fact. This isn’t an original idea, but I’m not sure where I first heard it from either, and I’ve extended upon it somewhat since.

The key to making this work well is my one-byte .gitignore file:

*

With this line, and git will ignore all of the files in my $HOME directory, so...

Drew DeVault's blog
Posted at 2019-12-30 00:00:00 | Software | read on

G Suite и LSA

Starting February 15, 2021, G Suite accounts will only allow access to apps using OAuth. Password-based access will no longer be supported. С таким заголовком все админы получили письма Привожу письмо целиком на всякий случай. Dear Administrator, We’re constantly working …

The post G Suite и LSA appeared first on Ugolnik's blog.

Ugolnik's Family blog
Posted at 2019-12-18 07:46:15 | Software | read on

PinePhone review

tl;dr: Holy shit! This is the phone I have always wanted. I have never been this excited about the mobile sector before. However: the software side is totally absent — phone calls are very dubious, SMS is somewhat dubious, LTE requires some hacks, and everything will have to be written from the ground up.

I have a PinePhone developer edition model, which I paid for out of pocket1 and which took an excruciatingly long time to arrive. When it finally arrived, it came with no SIM or microSD card (expected), and the eMMC had some half-assed version of Android on it which just boot looped without POSTing to...

Drew DeVault's blog
Posted at 2019-12-18 00:00:00 | Software | read on

Status update, December 2019

It’s December 15th and it still hasn’t snowed here. Why did I move to this godforsaken den of unholy heat and rain? I think I have chosen a latitude just southerly enough to deprive me of the climate I yearn for. I take some comfort in the knowledge that I’m travelling home to see the family in a couple of weeks, and sure enough Colorado has been covered in snow for some time now. Anyway, none of this is relevant to my work, which is what you came here for. Let’s take a look at this past month.

I’ve started a couple of new projects this month,...

Drew DeVault's blog
Posted at 2019-12-15 00:00:00 | Software | read on

Developers shouldn't distribute their own software

An oft-heard complaint about Linux is that software distribution often takes several forms: a Windows version, a macOS version, and… a Debian version, an Ubuntu version, a Fedora version, a CentOS version, an openSUSE version… but these complaints miss the point. The true distributable form for Linux software, and rather for Unix software in general, is a .tar.gz file containing the source code.

Note: This article presumes that proprietary/nonfree software is irrelevant, and so should you.

That’s not to imply that end-users should take this tarball and run ./configure && make && sudo make install themselves. Rather, the responsibility for end-user software distribution is on the distribution itself. That’s...

Drew DeVault's blog
Posted at 2019-12-09 00:00:00 | Software | read on
1 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 110

***

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

Recently