Show newer

Use comments after shell commands for easily retrieving them from the history:

wakeonlan aa:bb:cc:dd:ee:ff # start computer 1

CTRL+R in bash or up arrow key on other shells like

Whenever I see

dd if=this of=that

I usually prefer to

ddrescue this that

(usually --force is required to write to a partition)

Not only it displays many more information than dd's default and it doesn't require blocksize tinkering, but is also capable of resuming and recovering from errors.

Currently reading "Performance Analysis and Tuning on Modern CPUs" by Denis Bakhvalov and liking it very much.

It explains many of the arcane details of current desktop CPUs and it also has many tips about tool usage, plus many mentions to other useful tools as .

It's a free download from book.easyperf.net/perf_book

@hund I'm still using it for the notifications of every of my scheduled jobs, mainly backups.

aluaces boosted

Familiar with :apple_inc: Swift, UIKit, and know your way around XCode? Want to help advance the state of #XMPP on #iOS? :xmpp: 📱 We're looking for developers to help bring our iOS app over the finish line! 🏁

This will be a paid short-term project producing FLOSS. DM or email matthew@snikket.org if you're interested.

Not an iOS dev? That's okay, boosts appreciated too! 🙂

@Acer Typical memory problem. Valgrind to the rescue!

@skyblond you are right, but you are still way before hitting hardware limits, so you can afford to perform precise computations. Only if you are hard pressed you could resort to approximations and tricks as precomputing those values you need into textures.

@skyblond I'm not sure if I'm correctly following you, but if I had to pass anything to the fragment shader, I would pass mainly variables that can be interpolated that way, like the x, y coordinates and then compute theta and cos(theta) in the fragment shader.

@omicron to solve that I'd probably use randomly generated (but valid) phone numbers instead.

@shockrah emacs has a package for controlling mpv from the editor.

It is used for music plugins or even subtitling.

@skyblond vars specified per vertex are linearly interpolated per fragment.

You should also check your normals and see if you are correctly transforming them.

aluaces boosted
@cpsdqs "Documents were not supposed to be Turing-complete"

Oh yea? Then explain this ray-tracer written in PostScript:
(Posted from piggo space because of character limit...)

%!OPS-1.0 %%Creator: HAYAKAWA,Takashi<h-takasi@isea.is.titech.ac.jp>
/A/copy/p/floor/q/gt/S/add/n/exch/i/index/J/ifelse/r/roll/w/div/H{{loop}stopped
Y}def/t/and/C/neg/T/dup/h/exp/Y/pop/d/mul/s/cvi/e/sqrt/R/rlineto{load def}H 300
T translate(V2L&1i2A00053r45hNvQXz&vUX&UOvQXzFJ!FJ!J!O&Y43d9rE3IaN96r63rvx2dcaN
G&140N7!U&4C577d7!z&&93r6IQO2Z4o3AQYaNlxS2w!!f&nY9wn7wpSps1t1S!D&cjS5o32rS4oS3o
Z&blxC1SdC9n5dh!I&3STinTinTinY!B&V0R0VRVC0R!N&3A3Axe1nwc!l&993dC99Cc96raN!a&1CD
E&YYY!F&&vGYx4oGbxSd0nq&3IGbxSGY4Ixwca3AlvvUkbQkdbGYx4ofwnw!&vlx2w13wSb8Z4wS!J!
c&j1idj2id42rd!X&4I3Ax52r8Ia3A3Ax65rTdCS4iw5o5IxnwTTd32rCST0q&eCST0q&D1!&EYE0!J
&EYEY0!J0q!x&jd5o32rd4odSS!K&WCVW!Q&31C85d4!k&X&E9!&1!J!v&6A!b&7o!o&1r!j&43r!W)
{( )T 0 4 3 r put T(/)q{T(9)q{cvn}{s}J}{($)q{[}{]}J}J cvx}forall 270{def}H
K{K{L setgray moveto B fill}for Y}for showpage
aluaces boosted

Can we please stop using Discord for Free software and open source projects, thanks!

@yarmo Even if you test the voltage levels, that does not rule out a faulty power supply. The easiest route is to replace it for checking. It is much more cheaper than RAM.

@sgryphon Indeed I had the time to try it, and it works very well, I can now access that ipv6 server from my ipv4 network. Thanks!

for patching windows files on linux using windows patches, use --binary.

aluaces boosted
aluaces boosted

Today is #changeyourpasswordday, a gentle reminder that if you (have to) use this policy, it's trash. Users will tend to make serial passwords like password1, password2 etc. which is overall less secure than an actually strong password used over a (very) long time.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.