Details
-
AboutA kangaroo person not from australia that does small dev work and is more an interrim-sysadmin than anything else
-
Skillsjava, html, php, vba in excel :/, js/jquery, basic server stuff in linux & windows. Jack of all Trades, Master of none but better than a Master of one.
-
LocationGermoney
Joined devRant on 6/6/2018
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
-
Apparently did Microsoft released their own font called Cascadie Code
https://github.com/microsoft/...
I am still pretty keen on Fira Code, although i see myself browsing this page upon occassion
https://app.programmingfonts.org6 -
I give up on getting Bluetooth LE to run :/
Got a new 14'' Laptop for travel/mobile purpose. It only got like 2 USB Ports so i thought a fine Logitech 590 might be nice.
I am currently using Ubuntu 18.10 and a tried everything..Arch Wiki had some nice tips, but even then i cannot even detect the damn tool, despite many sites saying hcitool -lescan plus gatttool should do the trick, no avail.
This is quite retarded cause i was really looking forwar to do this. I figure it might be hard but impossible is annoying :/
Stupid Bluetooth6 -
recently i prided myself in my high ability to google stuff but i just blank at this problem:
i have 4 HDDs with my photos on it. They are more or less backups of each other, but not quite. The folder structure is convoluted and i am dreading this task since years. I now want to move to a better backup culture and save the data i really care about.
Problem: i may or may not inserted new photos in some versions of the hdds and not in others. So they are like [Photo1], [Photo2], [Photo3] and [Photo4] but [Photo1] contains a,b and d content, [Photo2] contains a and b but not d, [Photo3] contains c.
Now i would like a program that just takes hashes of all files present and compares them and finds differences among those 4 folders so i can combine them in each other. Additional problem points for a being in a different subfolder on [Photo1] as in [Photo2]
Its probably some backup software that can that, but i dont know which one.
Whelp?12 -
I know i know, its an old story.
but.
FUCK YOU AND YOUR STUPID PASSWORD REQUIREMENTS
NO SPECIAL CHARACTERS WONT MAKE IT SAFER
FFS. JUST SAY IT HAS TO BE 20 CHARACTERS AND BE DONE WITH IT14 -
(found on a german blog)
Apparently the DoD saw itself in the need of writing a document to assist at detecting agile bs.
https://media.defense.gov/2018/Oct/... -
my phone is dying. Very slowly, i see the first signs of decay, i probably have months or even more than a year, but it will die on me. I knew it will happen.
I currently have an asus phone (ZE552KL), it is technically DualSim or SD-Card, has a camera that is..badish and sometimes the bluetooth wont start and then it reboots. Also the camera has a pure software bug where it isnt able to ever focus properly, but with tricks you can get it to work again. The asus forums constantly refer to sending it to a repair station (wherever one is in germoney). That annoys me.
Back to dying. For now its definetly the battery.
I remember when you could change the battery on a whim. Great times. My last phone died duo battery aswell (well, the gps module broke aswell so it wasnt all flowers besides the battery).
My current asus phone was something around 300 € and according to reviews 2 years ago it has a good bang for the buck ratio.
I havent looked into the market, just a cursory glance. But apparently if you want a phone that has a decent battery life, is not basically a tablet, has an sd card slot and a camera that is not total rubbish it gets hard. Its hard to balance those things, and if you want a swappeable battery all hope is lost.
Further i have started to misstrust chinese phones, the asus software support is wacky and some stuff is weird. I suspect its as bad with huwai and all the others. Also its apparently kinda hard to get any resemblance of quality in accessoires for non-mainstream brands (i mean cases and display protection)
So i dread the future, the future in which i need a new phone that is somewhere in the mid price segments and fits my needs. In the end i will take something suboptimal and be unhappy with it till it dies.
I despise the phone market.rant cheap quality no sd card phonemarket off-brand no swappeable battery all is lost need new phone5 -
Playing Pokemon Go with my girlfriend, actually, she is playing and meeting with the quite active community in the town. I am just dragged along, i feel a bit like when i take my gf in the adventures that are Mobas, just with swapped roles.
I might be a tad bit opposed to the idea of spending money for a mobile game3 -
ITS VBA again!
I made two misstakes today.
The first one was touching vba, the second one was assuming things.
The two statements are almost the same except the braces. VBA uses IF [condition] THEN..i soo foulhardly assumed that, when you just chain conditions together with an AND its taken as one statement. While in reality it apparently ignores some conditions and not some others.
I really dont bother with VBA a lot and try to avoid it, but upon occassion the need arises. I still dont know why the brace variant does the expected behaviour while the without does not. It seemingly does not ignore thew first two conditions but the third which makes it even more confusing. But as i dont know enough about VBA to say with confidence its on Excel and not on me i squelch my rage and tend the happiness that it now works..somehow. -
A german blogger i occasionally read wrote something about finding the correct programming font for the personal liking and linked this:
http://app.programmingfonts.org/
Seems kinda fun. I am currently using Fira Code but "Cousin" looks kinda interesting.
Wanted to share2 -
TIL DELL Server from 2018 use a 20 Year old GPU cause its reliable. I did honestly not knew this.
https://en.wikipedia.org/wiki/...8 -
i need an adult. I know noone who would understand my worries, so you guys need to be it.
i have a nextcloud running on my raspberry pi. performance is horrible, dont ask, but it works.
i mostly use it to backup the photos of my phone sd card every night when my phone charges. Internally this works good. If i am elseplace it wont for obvious reasons.
In my youthful joy of doom i opened port 443 and forward it to my raspi. I get internet via cable and my ip is pretty much static (it was the same for 10 months). So external access is provided.
Now i thought, its stupid that i cannot sign an ssl certificate cause i dont have a domain. Lets buy domain. But before i do that i did some try runs with duckdns to test the principle.
Some back and forth, it works now. Pretty god, i could even make a cron job on the raspbi to renew (that should work right?). Only problem. randoname.duckdns.org doesnt work internally. Or should not at least.
So i googled a bit and it turns out that my router (a cable fritz!box i bought myself) can be a local network dns. Or cannot. Regardless what i try, it doesnt accept the changed config file.
Now the problem.
It works anyway. randoname.duckdns.org points to my external "static" ip and resolves to that from my internal network..so it works on my phone or laptop. if i traceroute the thing it goes via two hops out and finishes in less than 1ms.
Now to the problem:
I have no fokkin clue why. The expected behaviour would be that it shouldnt work. If i do what i intended todo on pc in the hosts file tracert works correctly, directly pointing to the internal ip.
What i cannot figure out, is it the fritz!box being smart? Is it my ISP being smart?
Reason to rant: i have absolutly NOONE to ask, i know not a single person who would even understand what troubles me. I want to learn, i want to know WHY not just some mindless russian patchwork of "if it works its good enough".
thats depressing.8 -
One of the constants in my live is that I cannot type in dreams, no touchpad or keyboard will ever output more than three coherent logically keys before it turns into gibberish. Other interaction works, but no input for computers or phones.
Today I dreamed of assisting a guy to shutdown the Linux Server I set up, via remote. The dream totally derailed and was a bit boring. My dream characters realized that something is up and used a different keyboard. No dice. Visually it looked like Thai or so without the appropriate fonts.
Sometimes I am really wondering what my dream director is thinking.5 -
Today i chartered new realms for me.
I created a new hyper-v vm on the company windows servers and added a 5th instance to it, but instead of running another windows server i installed an ubuntu 18.04 (cause i am a bit familiar with debian from my raspberry pi)
we have two servers, one which runs the 4 vms and a replica. I first had the new vm on the main server but it occured me to move it instead to the unusued replica machine. That kinda worked..i did a planned failover but the main server isnt configured to be the replica..and even when activating that it didnt work. This is weird.
For the moment i ignored that and proceeded to install nginx, mariadb and php 7.2..basically the lemp stack. I managed to setup nginx and a static ip adress for the machine (which was different from how i remembered it to do (in 18.04 its not done with the network conf but a yaml file).
in the end i added two different virtual servers, one for actual use and one for dev stuff (with phpmyadmin running for instance), listening on port 80 and some random other port.
as a test i brought a mediawiki onto the Port 80 server and it worked.
on monday i have to figure out how to implement the wildcard certificate i have for our company domain (internal dns simply routes intranet.company.com to the local server vm)
i am mighty proud cause all my experience with linux was with a raspberry pi so far and i am fairly certain i did it right and without shortcuts this time. (unlike my raspberry experience)
just wanted to share
(i also sweated a lot of blood when editing the hyper v settings as i did not set up the server in the first place)
((i also installed xrdp and a mate desktop, but i am less proud of that, but sometimes seeing folders graphically helps me)) -
its been there since many years, but:
When did we turned the wrong way and made it acceptable that Windows can blantly say in my face that i cannot deactivate the transmission of data unless i have the "Business" Variant of their Software. Its called Windows 10 PROFESSIONAL. Why are there no international Laws against that? Where was the molotov throwing mob when this became the norm?
Additonally. that cute telemetry service consumes a considerable amount of cpu and disk power from time to time.
and no, Linux is not an alternative. It never was. There is proprietary software and driver sets used for lab equipment and machines that cannot run under linux, noone will ever have the time to tool something for it and the user base is too specific to hope for any community solution.
sidenote: even Level 0 STILL transmits data. I want mode -14 -
i am actually exciting to go to work tommorow.
Thats weird.
Over the weekend the gf was away and it was quite boring, gaming didnt do the thing so i relaxed quite a lot but i am somewhat excited to continue to work tomorrow, to further my project. I was able to stop to do nothing at home, but still..its a bit weird3 -
Are there other handy DDG in-Apps like this one (which i did not know existed before i found it by chance)9
-
randomly get into a position where you can choose the tech stack yourself and get allowed to use some more time to experiment with alternative technologies instead of doing it as fast as possible. Bonus points for getting additional time to create something that not only works now but can be extended later on
tl;dr: pray to fortuna and praise the godess of luck -
URG!
I cannot think about a title, so just story:
in my position as multi headed chimera one of my ongoing task is it to dedust old excel sheets, processes and other super inefficient relics that steal time. Mostly i solve those with some tiny vba scripts, bigger vba scripts or a tiny java applications. usually that takes a few hours or maybe two days, depending on what i think is necessary.
the current task at hand is for our (physical) production, work time is noted on a sheet of paper and later given to the production head. Who then proceeds to type it all in excel to do his thing. The guy is starved of time by a huuge margin.
So, crafty kangaroo that i am i think: a barcode scanner, some raspberry pis with touchscreens and some mediocre php/mysql/javascript will make our worries go away. of course this will be a longer task but there is no need to have it done immidiatly. So crafted a working prototype, presented it in the weekly company meeting and got it "greenlighted".
The other day our CEO-like guy was ranting that nothing in this company gets ever done and that people wasting their time with useless projects and named my project among them.
I dont get humans. First he gives thumbs up for this, knowing that it will probably take me 100 hours or so to create in a working manner but later he calls it "a waste of time?" I presented the use (reducing expensive mantime, paper waste and room for fudgery) and yet he calls it useless? (well, his point was that there are other problems (which are out of my reach anyway))
they guy normally is pretty nice and has an ear for problems, but when it comes to higher computer stuff (>excel) he really struggles.
:/
i really like my side project, gives me room to flex some muscles and test stuff. Also playing with raspberry pis on worktime.
On a sidenote, anyone ever tried raspi mesh networks and knows where i get working >10 inch capacitive touch screens? -
there are probably a lot of console enthusiasts here, but i discovered that i can actually access my raspberry pi with RDP via xrdp. While limited in actual use it makes some stuff a lot easier for me and i did not knew this before yesterday.
I am actually astonished that microsoft has a native tool that can in any sense communicate with non-windows stuff. how unusual. Although the work is probably not on kleinweichs side.4 -
Is there a market for novelty ducks? I shared an office with a coworker so i cannot really speak to mine, i still got this one just for the sake of having one. It looked a bit different than the usual ones but its not exactly novelty, but it got me thinking...
anyway, i present you "standing duck with hat"3 -
Styling Newsletters is like time travel..time travel in a retarded past that doesnt knew what beauty modern css is, also fuck your sincerly MS Outlook for being a propritary cunt.
display:block will not work for MS Outlook, cause, well reasons.3 -
clearing of unwanted stuff in the warehouse, i got called for some "IT" stuff, not in the picture, the Win 3.1 installation "save icon"8
-
i can tell that i am tired and/or unconcentrated when i start to install plugins for programs i use, most recently, rainbow brackets für vscode
its like the modern version of sorting your desk (which i also did a few minutes ago)1 -
soo, i am unknowledgeable of ALL best practice.
lets say i call a php file called loader.php with a $_GET['type'] parameter, then after i check if type is actually set i switch the parameter and my logic then does stuff appropriate for $type..
do i create a lot of sub files with the program logic in it or do i just create subfunction (which i have to pass variables if necessary)?
Switch( $_GET['type'] ) { case 'foo': include "logic/foo.php"; break; default: echo "error"; break; }
or is the whole concept totally alien and stupid? i most honestly say that i dont know exactly what i could google to find an answer3 -
I spend the last two days to write a super tiny piece of the web thingy i want to create, a javascript that builds tables from the data the php backend provides. I am mostly clueless but i learned so much along the way..yet, it still feels like i accomplished anything at all.
163 lines of javascript, so less, so much time. At least its pretty much universal as long as i build the backend right (which is pretty easy).6 -
ARRAY LIKE OBJECTS
Long story short, i am fiddling a bit around with javascripts, a json object a php script created and encountered "array-like" objects. I tried to use .forEach and discovered it doesnt work on those.
Easy easy, there is always Array.from()..just..it doesnt work, well it does work for one subset called ['data'] which contains the actual rows i generate a table from, but for the ['meta'] part of the json object it just returns a length 0 object..me no understanderino
at least something cheered me up when researching, it was an article with the quote: "Finally, the spread operator. It’s a fantastic way to convert Array-like objects into honest-to-God arrays."
I like honest-to-God arrays..or in my case honest to Fortuna..doesnt solve my problem though2 -
I am all for not senselessly disturbing the natural grown chaos on my desk.
big picture here
https://imgur.com/a/dAMBq0n2 -
Every day is tempting to me..tempting to use some solutions i am not sure that i can handle it.
The Company i work for has an external IT Partner that does all the heavy lifting when it comes to our infrastructure, like installing servers, doing the installations and such. I mostly monitor it and do basic maintenance. Its all windows.
Recently i thought about adding a fifth Hyper V instance for an intranet webserver...based on some linux distro (probably ubuntu cause that is what i am familiar with). But i am not THAT familiar with ubuntu or any linux distro..buts its just the intranet and i already installed nginx and apache with success, what could go wrong?
today i sketched some intranet websoftware our production might find useful to collect data input from our workers (we are somewhat small so there is no big ERP software as of now). When thinking how to realize the data input i thought that maybe a basic raspberry and some cheap 1280x800 10.1 inch touch panels would be best..its very tempting, but on the other hand i am not sure i am ready for that, my experience is shallow and only based on my own RaPi that i 99,99% run headless. On the other hand it would be a very small and space safing concept..and cheap..compared to the use of Laptops (the go to company solution when computers are needed).
It also had the risk that i am the only one that could unfuck anything if things go south..it also has the advantage that i am the only one who could fix things when it goes south...
so much temptation -
WHITEPAPERS.
Not exactly a programming problem, but one of my many task (as i am apparently a multi headed hydra) is it to find Software for tasks. I made the experience, as more marketing experts are on it, and as more SEO is poured in as more information about a topic degrade.
Two examples:
i wanted to find out if there is anything that speaks AGAINST "the cloud" as a concept for Data Procesessing and Storage. (Beside that the company internet connection is crap). There are tons of documents that in a semi "scientific" way show that having a data centre with a constant staff of experts is superios to everything. And it goes on, every company has a different version of basically the same document, and they all subtley show that THIS company is the best.
Example 2:
ERP Software, the most infested pool of filth i have entered yet, be it just a tiny CRM System or a full blown SAP clone, they all have those "Whitepapers" that first look somewhat scientific or informative. Like "the top8 common pitfalls when introducing an ERP system". 7 of them read logically and were what i expected, the 8th was "dont get your IT involved".
Yeah sure, IT doesnt understand economical processes, fair enough, but not getting it involved at all sounds like selfdefense. A further look showed me that this particular vendor has a web-based solution but doesnt provide any further informations (srsly, the website is starved of actual hard informations). The screenshots let the software look a bit oldschool but what really threw red flags for me was the sentence "we are ready for Win10, we did significant adjustment to perform excellent with Windows 10"
So, either they have some system interwoven stuff (so why bother with Webbase then?) or its just another marketing bullshit sentence.
Either way, i found it to be really hard to get ANY reliable information about this particular topic which adds to the overall world experience of missinformations and the all-being "fakenews". But for many things one can usually filter through a lot of different informations that can be pieced together, with this..its all outright propaganda camouflaged as "useful information", some even try to let it look scientific. In the end its all biased..
ultimativly, this rant is about all the people that write those missleading whitepapers, fill the world with biased informations and make the whole planet a worse place.2 -
so, a new day, a new ERP software to rant about:
this one features an email feature (heh) but with a catch.
only pop3, no imap, if you want ssl the software suggest that you use a 3rd party program, also every user has to be logged in by the admin cause they assume the sysadmin knows all passwords cause he has "password lists"
i called them to ask why their software is what it is, they answer "there was never a need to develop an IMAP functionality, SSL would be so much work and it never became a problem that the sysadmin didnt know all passwords"
in unrelated news, does anyone know a nice sub 100K ERP software with CRM, Material Management and Offer/Order Management that runs on a local server and offers german support for a company in the 50 to 500 worker bracket?