Details
-
Abouthttp://keybase.io/sebbe_eu
-
Skillsjava, VB.NET, perl, html
-
LocationN 57.710110, E 11.994256
-
Github
Joined devRant on 6/19/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
perl -MCPAN -e 'shell;'
install DateTime
Proceeds to install a shit ton of dependencies, takes two hours to install.
WHY? Does math functions related to date/times require all those deps?4 -
Who, more than I, totally HATE emoji?
lol I hate emoji after it caused so much problems with Microsoft Outlook and email backups from said program combined with emoji in subjects.
Wrote an subject filter in exim4 (took 3 days to debug and get working propely) that totally eradicate anything that isnt ISO-8859-1 from the subject line, then converts the rest to UTF-8 (because said IMAP client isnt following standards).
it also converts ISO-8859-1 characters in subjects to UTF-8 even if the original subject is declared to be UTF-8, because obviously some software (especially newsletter software) are transmitting ISO-8859-1 subjects that are declared to be in UTF-8 (but the opposite isn't true).
And also cuts subject to 100 chars, because too long subjects are a problem too. Same with date headers, I replace them with the server date/time because some software are sending Date: 1970 Jan 01 00:00:00, because some of these erronous headers are put by some mailing list software, aswell as causing problem in OEM clients like Samsung Mail.
Problem solved, all IMAP clients happy on internal network.7 -
Currently installing & updating w10 on a eeePC R101 with 2GB of ram.... disk cleanup is slooooooow...5
-
Is it only I that hate these crappy .gTLD's that ICANN opened up for.... .date .club .store .xyz .pro .download , already lost count on how many of these TLDs I have banned in my exim4 due to a 100% spam rate...
like a long banlist of *.date, *.xyz, *.store and so on...10 -
Windows: Notepad.exe. Best ever, supports any language, can edit any text file, and comes as default on all computers, so I can develop on any computer which have internet access.
Linux: Nano. Easiest to use, and supports almost all flavours of linux.5 -
How hard should it be to create a functioning webpage with readable text that works in Microsoft Edge? (garbled pricing info at a swedish operator called Vimla)2
-
Devrant bug: If the screen size is changed (by resizing app in multi-view) content disappear.
Apps should be able to cope with screen size changes during runtime - check android documentation, especially for Nougat.
@dfox10 -
Seriously, why can't youtube devs get their crappy code together!! Got a BSoD after watching a certain YT video.... I think its outputting malformed video data that causes MS Edge to crash the whole system....
And this started happening after Creators Update....18 -
If the clock is not complicated enough, with DST and timezones.... holidays and red days is even more complicated..... (a perl sub which returns all red days for sweden. It does not return any holidays thats always saturday or sunday)
Requires Date::Calc and Date::Easter
What a mess dates and times become..,
sub GetHoliDayList() {
$yeartocheck = $_[0];
$holiday{'1-1'} = '1';
$holiday{'1-6'} = '1';
$holiday{'5-1'} = '1';
$holiday{'6-6'} = '1';
$holiday{'6-24'} = '1';
$holiday{'12-24'} = '1';
$holiday{'12-25'} = '1';
$holiday{'12-26'} = '1';
$holiday{'12-31'} = '1';
($eastermonth, $easterday) = gregorian_easter( $yeartocheck );
$hea = int($eastermonth)."-".int(int($easterday) - 2);
$heb = int($eastermonth)."-".int(int($easterday) + 1);
$holiday{$hea} = '1';
$holiday{$heb} = '1';
($year,$christskytravellermonth,$christskytravellerday) = Add_Delta_YMD($yeartocheck,$eastermonth,$easterday, 0,0,39);
$chstv = int($christskytravellermonth)."-".int($christskytravellerday);
$holiday{$chstv} = '1';
if (Day_Of_Week($yeartocheck,6,19) == 5) {
$holiday{'6-19'} = '1';
}
if (Day_Of_Week($yeartocheck,6,20) == 5) {
$holiday{'6-20'} = '1';
}
if (Day_Of_Week($yeartocheck,6,21) == 5) {
$holiday{'6-21'} = '1';
}
if (Day_Of_Week($yeartocheck,6,22) == 5) {
$holiday{'6-22'} = '1';
}
if (Day_Of_Week($yeartocheck,6,23) == 5) {
$holiday{'6-23'} = '1';
}
if (Day_Of_Week($yeartocheck,6,24) == 5) {
$holiday{'6-24'} = '1';
}
if (Day_Of_Week($yeartocheck,6,25) == 5) {
$holiday{'6-25'} = '1';
}
return %holiday;
} -
Seriously, why is the code editor in cpanel so friggin' buggy???
It even crashed Microsoft Edge to desktop so I lost all changes in my code....1 -
How unprofessional is it when a professional car tow:er don't understand he needs to put the car in tow mode? (If you look on some tesla review videos, the "Tow mode" button is on the same screen as the neutral button)
https://youtu.be/qoOBWK6TEUc
He said: "Its too much computish, bananas" and had to call the Tesla support line.
LOL like a programmer that don't know any programming language. -
Isn't Perl a beutiful language? Just check the beutiful screenshot of a function I just written...
Also this is so beutiful. Did you know that you can actually print directly from a perl script?:
$qp = new PostScript::Simple(papersize => "A4",direction => "RightDown",coordorigin => "LeftTop", colour => 0, eps => 0, units => "pt");
$qp->newpage;
$qp->setfont("Courier", 20);
$qp->text(20,20,"Hello Devrant");
$psock = IO::Socket::INET->new(PeerAddr => "192.168.1.40", PeerPort => "9100", Proto => "tcp");
if ($psock) {
$psock->autoflush(1);
print $psock $qp->get();
close($psock);
}6 -
Oooh what I hate it..... Timezones... Who really came up with that shit? GMT, UTC, CET and garbage like that. And then also the DST crap.
Whats wrong with the same time in the whole world? Without DST or timezone garbage that just makes life harder for both developers and travellers which are going to meet someone or have something booked.18 -
Whoops.... debian is propably not safe to use.... (did photo instead of prtscrn since I dont have my USB cable to mobile here)4
-
Seriously.. CSP for a bug tracker site.... not really a good idea....
http://bugs.chromium.org/p/...
Site is TOTALLY broken due to CSP.... -
My home screen started to get full.... so had to shrink the icons. Grid: 10x17 (170 apps) Next: 11x18 (198 apps).
You can propaby see the devRant app there.11 -
My trusty password manager, so I dont have to remember those shitty passwords. (its however being rebuilt after a failed firmware upgrade who bricked it).7
-
!rant
Isnt this video cute?
https://youtu.be/rjrxOOfi54k
I think Microsoft should make that a TV commercial...
Think what energy we would save, and how greener the world would become if everyone would use Edge instead of Chrome... Or what do you think?1 -
Devrant should really request non-cached (fresh) information, and incorporate de-caching technologies*. Because refreshing devrant behind a caching proxy gives cached content = old rants.
* = eg like adding &random=<random data> to the request.3 -
Why are end users so braindead? "omg I deleted the whole db" turns out they wanted to delete one entry but pressed the wrong delete button.
Especially older people who are braindead. Same with self service systems that braindead people have problems using because they are not "user friendly" (read: n00bed down so a 1 year child can use it)7