Kho tháng 4/2018

Mon Apr 30 18:09:40 CEST 2018

Oh Newfoundland, "love" at first sight

This post is so beautiful. Like a commenter said

he works in profanity the way other artists work in oils, or clay... a master

Very much worth saving. Oh the pain the first time...

God-damn mother-fucking dick-sucking ass-munching shit-chewing piss-drinking prolapse-licking cock-biting piece of SHIT. Fuck your fucking Cryssalids. Fuck your fucking sharks. Fuck your fucking whale. Fuck your fucking damage resistance. Fuck your fucking poison. Fuck your fucking high defense. Fuck your fucking crit skew. Fuck your fucking mobility. Fuck your fucking shitty chitinous dick bodies. Fuck your fucking zombies. Fuck absolutely goddamn everything about your shitty worthless fucking lives you piece of shit glorified motherfucking COCKroaches. I will fucking kill each and every last goddamn one of them even if I have to send a damn sniper bare-fucking-handed after them. Fuck ALL OF THEM. FUCK THEM. SUCK MY ANGRY GODDAMN DICK.

That is all. Thank you for your time.


Cập nhật 1 lần. Lần cuối: Fri Aug 26 00:20:24+0003 2022

Tác giả: pclouds | Liên kết tĩnh | Game

Tue Apr 24 18:33:07 CEST 2018

... and Battletech is released. How can one study when the game is so tempting


Cập nhật 1 lần. Lần cuối: Fri Aug 26 00:20:24+0003 2022

Tác giả: pclouds | Liên kết tĩnh | Game

Tue Apr 24 18:21:59 CEST 2018

If I dream of FFT tonight, maybe I'll get it tomorrow? :(

The whole I/Q thing being used in both frequency and time domains are just so confusing. To top it up, how is sampling rate related to symbols (and why the heck is hierarchy symbols, damn LTE to hell!). What the damn hell is subband in NR and why is subcarrier never mentioned outside "internet documents"?

Huhuhu.


Cập nhật 1 lần. Lần cuối: Fri Jan 04 03:00:20+0011 2019

Tác giả: pclouds | Liên kết tĩnh | radio

Fri Apr 20 17:56:19 CEST 2018

!*(@^#(* gmock, valgrind and padding

Simple program

#include "gmock/gmock.h"

struct Data
{
	Data() : foo(false), bar(1) {}
	bool foo;
	int bar;
};

class Foo
{
public:
	virtual void foo(Data& data) = 0;
};

class Mock : public Foo
{
public:
	MOCK_METHOD1(foo, void(Data&));
};

int main(int ac, char **av)
{
	Data d;
	Mock m;

	m.foo(d);
	return 0;
}

and valgrind complains

==16442== Conditional jump or move depends on uninitialised value(s)
...
==16442==    by 0x507303C: testing::internal2::PrintBytesInObjectTo(...
....

because the god damn three padding bytes between d.foo and d.bar are never initialized by Data::Data() and gmock dumps the whole d out, byte per byte.

The only "good" thing is that I was not the first to see this.


Tác giả: pclouds | Liên kết tĩnh

Tue Apr 17 19:38:12 CEST 2018

I beat Hollow Knight!

Granted, a bit overpowered that I could almost just tank (thanks to a modified save that helps reduce a lot of farming). Game is hard!


Cập nhật 1 lần. Lần cuối: Fri Aug 26 00:20:24+0003 2022

Tác giả: pclouds | Liên kết tĩnh | Game

Sat Apr 14 11:43:46 CEST 2018

Hollow Knight is really good... and too hard!


Cập nhật 1 lần. Lần cuối: Fri Aug 26 00:20:24+0003 2022

Tác giả: pclouds | Liên kết tĩnh | Game

Sun Apr 1 16:13:01 CEST 2018

Thêm độ phân giải mới với xrandr

$ cvt 1024 576 60
# Modeline "1024x576_60.00" quá trời số
$ xrandr --newmode 1024x576_60.00 <quá trời số>
$ xrandr --addmode LVDS1 1024x576_60.00

Tác giả: pclouds | Liên kết tĩnh | Mánh và mẹo