blog.darkstar.work - a simple url encoder/decoder

 a simple url encoder/decoder
 http://blog.darkstar.work

Labels

Wirtschaft (149) Pressefreiheit (123) Österreich (120) IT (95) code (60) Staatsschulden (37) EZB (27) Pensionssystem (16)

2021-02-27

Schlafstörungen, nächtliche Recherche und IBM Security

Aufgrund nächtlicher Schlafstörungen recherierte ich ein wenig, denn für ein komplett neues android system image kompilieren, war ich trotzdem viel zu müde.

Dabei fand ich diese netten IBM Security Produkte und noch ein par andere Dinge:


IBM's still alive


IBM Security Trusteer Mobile SDK

Hier gibts so ein trusted mobile device (andoid, iphone, tablet) SDK (Software Development Kit), das Kompromittierungen (root, hacked, jail-breaked, untergeschobene root-CAs um SSL aufzubrechen und evtl. Staatstrojaner und ähnliches erkennt). Jedenfalls sollten Entwickler damit sicherere verteilte Anwendungen für Cloud u.s.w. hochverfügbar implemetieren können:

https://www.ibm.com/products/trusteer-mobile-sdk

Mobile device management (MDM) solutions

Das hier ist auch so eine mobile security Geschichte, die mobile Geräte Sicherheit der Mitarbeiter garantieren will. Also so kein "Nachhause-Telefonieren" durch irgendwelche untergejubelten Drittanbieter Apps, klassische End-2-EndPoint Secuirty, u.s.w.

https://www.ibm.com/security/mobile/mobile-device-management

IBM Security Products (case study fraud detection)

Dann zeigt IBM weiter noch, dass es auch eine standardisierte Fraud detection (wahrscheinlich generisch erweiterbar) kann! Ich schätze diese Fraud Detection Engine geht wahrscheinlich über Insolvenzregister, KSV, Casinosperre, Standardbonitätabfragen und dubiose exotische Prepaid oder sontige WireCreditCards hinaus und lernt kontinuierlich (à la Virenscanner):

https://www.ibm.com/security/products

nomachine.com

Zu guter letzt fand ich noch einen sicheren Terminal-Server (diesmal nicht IBM, den sich auch mal wer ansehen könnte):

https://www.nomachine.com/product&p=NoMachine%20Enterprise%20Terminal%20Server




Gehe jetzt wieder ins Bett, gute Nacht / guten Morgen.


2021-02-10

Warum ich der Welt grundlegend misstraue?

Die Zeitung "Die Welt" schrieb: "Ein Forschungsteam hat sich den Erfolg der deutschen Kapitalanlage im Ausland gründlich angeschaut. Dabei hat sich gezeigt, dass die Deutschen bei ihrer internationalen Geldanlage ähnlich erfolglos sind wie bei der Anlage ihrer Ersparnisse." "Andere Länder sind mit der Anlage ihres Auslandsvermögens deutlich erfolgreicher. Seit 1975 liegt die jährliche Rendite deutscher Anlagen im Ausland um fünf Prozentpunkte unter den Erträgen, die die USA erwirtschaften, und immer noch drei Prozentpunkte unter der Rendite, die die anderen europäischen Länder im Durchschnitt erwirtschaften." "Deutsche Anlagen im Ausland besser managen Allein im Zeitraum seit der Finanzkrise hätte Deutschland ein zusätzliches Vermögen im Umfang von zwei bis drei Billionen Euro aufbauen können, hätte es sein Geld ähnlich gut angelegt wie Kanada oder Norwegen. Pro Kopf der deutschen Bevölkerung entspricht das 28.000 bis 37.500 Euro! Auf einen Schlag hätten wir ein um 50 Prozent höheres Vermögen." "Was zu der folgenden Frage führt: Woran liegt es? Darüber kann man nur spekulieren. Um uns zu verbessern, sollten wir zwei Dinge tun: weniger im Ausland anlegen und unsere Anlagen im Ausland besser managen."
Web Link: https://www.welt.de/finanzen/plus226059659/Geld-fuer-die-Steuerzahler-25-000-Euro-fuer-alle-unter-65.html Screenshot: https://photos.app.goo.gl/MrvKFzFtgbqoW6vJ8 Äh, wieso muss Deutschland sein Vermögen im Ausland inverstieren? Performance der Börsenleitindezes einiger europäischer Staaten inkl. Schweiz. Wir sehen, der DAX stieg um 254%! Jetzt mal angenommen, die Deutschen hätten ihr Geld in der Schweden oder in der Schweiz angelegt: das wären ja immer noch satte 228% oder 132%. Von Signapur oder den USA rede ich jetzt gar nicht einmal, sondern nur von Europa. Selbst bei Investitionen in den Eurostoxx oder den italienischen Leitindex wäre das noch immer ein kleines Plus von 50%. Und bitte, Italien ist nicht unbedingt das kapitalistischte Land der Welt, oder? Europäisches Land Steigerung von 22.02.2009 bis 10.02.2021: Deutschland 354,19% Schweden 328,13% Schweiz 232,96% Eurostoxx 208,29% Italien 155,45% Griechenland 14,66%


P.S.: Was mich aber wirklich wundert:
Wie in aller Welt konnte Deutschland mit dieser hohen Staatsquote so extrem gut gegenüber der sparsamen liberalen Schweiz performen. Ich vermute, es liegt an den Freihandelsverträgen, die die EU genial aushandelte.

Ich vermute: Da die deutsche Wirtschaft auf Export ausgelegt ist, ist jeder Freihandelsvertrag ein Boost im DAX.
P.P.S.: EINE KLITZEKLEINE FRAGE:

Was hindert eigentlich die Deutschen daran, sich an deutschen Unternehmen zu beteiligen? Ich mein Mtarbeiterbeteiligung ist ein etwas moderneres, aber nicht gerade sehr neues sozialistisches Konzept, das bei so Betrieben, wie der VOEST Alpine, inzwischen sogar [Geschäfsgeheimnis] und [Geschäfsgeheimnis] in Österreich und sogar inzwischen einigen US amerikanischen Unternehmen oder japanischen Unternehmen Gang und Gebe ist. Sind aber alles Industrie- oder IT- Unternehmen. (bis auf Goldman Sachs), aber Nomen est Omen und dort ist immerhin der Sachse vergoldet und nicht Paria.
Welcher Mitarbeiter oder Manager von mittel bis CEO vertraut bitte dem eigenen Unternehmen nicht? Das klingt verdammt nach "Deutscher Bank" oder? Ich kann mir nicht vorstellen, dass ein BMW Mitarbeiter den bayrischen Motorenwerken nicht vertraut oder ein VW Mitarbeiter nicht den Guys in Wolfsburg oder Ingolsstadt. Ich würde sogar T-Systems vertrauen und dort mein Geld investieren!

2021-02-05

No global plan for generic multi-language globalization/localizaion

There is sadley no generic concept for platform and language independent multi language globalization / localization for applications.

Some case studies


Visual Studio WinForms (C#VB)

Globalization / Localization in Windows Forms is implemented via different resource files (.resx).
ResourceManager and Resource accessors are created semi automatically from Visual Studio.

Visual Studio 2019
Resources in .NET


Microsoft and Stockoverflow links about resources and globalization and culture info.

Android Studio (Java, Kotlin)

Globalization / Localization are realised in Android Studio via different language directories beyond the res folder:

Using the Translation Editor inside Resource Manager to build your translation from Android Studio GUI, see: http://blog.androidrich.com/2016/11/translation-editor-in-android-studio.html



Android supports right to left screen orientation too for arab or farsi languages.

Documentation about globalization / localization in android

Razor MVC and Blazor Web

Webpages, that are build with .NET framework and deployed in IIS on windows or Apache on linux (no matter with mod_mono or something else [1]) use language and country prefix directly after FQDN and before path in url to route to different language subpages, e.g.:
https://docs.microsoft.com/en-us/aspnet/core/blazor/globalization-localization
https://docs.microsoft.com/de-at/aspnet/core/blazor/globalization-localization
https://docs.microsoft.com/fr-fr/aspnet/core/blazor/globalization-localization



Multi-language globalization in reality

In reality in the world wide web and on desktop or other applications, there are many different approaches how multi-language and globalization is implemented. Only few use a auto translation API like google.com/translate.

Prospect / outlook for standardized globalization?

I don't know. Lets use the crowd to answer that question!

2021-01-17

n-sphere hypermaps ⇒ cattle breeding

Have you ever noticed the advantage of real n-sphere hypermaps?

No?

That is very sad, because with hypermaps thou would understand, recognize, realize immediately,

  1. that alpine pastures for cattles offer little crop yield for humans;
  2. that mordern technical agricultureof is nearly impossible in hilly and mountainous impassable areas with rocks and small swamps inside and only 2% continuous flat area per hectare.
  3. that cattle breeding in certain climatic alpine mountainous regions has much lower risk as Agricultureof with poor hervests in worse case.
  4. that cattles transforrm & recycle low-calorie vegetarian naural grown food much better than humans or hunter mammals with a short intestine.
  5. that chances of success for cattle and sheep breeding are similarly much higher as profitable modern agriculture at Scottish Highlands in the marsh, around rual areas beside Loch Ness, on Outer Hebrides and on small isles (Inishbofin, Claire Island) near the Irish north-west coast.





2021-01-11

linux: flashing an (iso)image to usb stick

This article contains all main informations to create (rawwrite) a bootable usb stick from an existing iso (loopback) image under linux.

classic way diskdump (dd)

Find correct usb device file 

First we had to find correct linux device file for your plugged/connected usb flash (e.g. lsblk):

  lsblk --list --fs ; lsusb -v ; lshw ; hal-device ; dmesg ; echo "..."

or use that (almost) auto usb devive verifying simple shell script:

get_usb_device() {
    local device_path=$1        # such as /dev/sdc
    for devlink in /dev/disk/by-id/usb*; do
        if [ "$(readlink -f "$devlink")" = "$device_path" ]; then
            # echo "$device_path" is usb device 
            # echo "$(lsblk -no NAME,FSTYPE,SIZE,STATE,OWNER,TYPE,MOUNTPOINT,LABEL,MODEL "$device_path")
            echo Fetching detailed information for usb device "$device_path" by 'hdparm -I "$device_path"'
            echo -en "$(hdparm -I "$device_path") \n\n"
            echo use cache size as base for block size in disk dumnp later 'bs=...'

            return 0
        fi
    done
	
    echo "$device_path" is not an usb device
    return 1
}

  REMOVABLE_DRIVES=""
  for _device in /sys/block/*/device; do
      if echo $(readlink -f "$_device")|egrep -q "usb"; then
          _disk=$(echo "$_device" | cut -f4 -d/)
          REMOVABLE_DRIVES="$REMOVABLE_DRIVES $_disk"
      fi
  done
 
  for _usbdevice in "$REMOVABLE_DRIVES"; do

    if get_usb_device "$_usbdevice"; then
      echo "# use following code to create your bootable usb stick: "
      echo sudo umount -l "$_usbdevice" ; 
      sudo dd if="$HOME"/'path_to_your_image.iso' of="$_usbdevice" bs=4K && sync 
      echo "# correct bs (block size) by cache size of usb device! "
    else
      echo failed verifying usb by executing command: get_usb_device "$_usbdevice" 
    fi
  done

Flash your iso image to usb device file with dd

Finally use linux disk dump (dd) for creating image.

  sudo umount -l  /dev/usb_device_to_flash ; 
  sudo dd if=path_to_your_iso_image of=usb_device_to_flash bs=block_size_based_on_devive_cache && sync ; 
  # default block site always are any factors of 4K

Advanced tools like Usbimager or WoeUSB

Using more advanced graphical tools such as usbimager or WoeUSB to create bootable USB flash stick.


2021-01-01

hard fact reality vs narrative story telling (playing) theater from the point of triggers

Introduction 

The meaning of triggers in this article according to information theory. 

https://pediaa.com/difference-between-semantics-and-pragmatics/

A trigger is an impulse that causes people or programmed machines to take certain actions after a message has been understood in both semantic and pragmatic context. Strong triggers include furthermore the feeling of high priority and generate a strong tendency to act, well as an awareness of the consequences of not acting now.

Some examples for triggers

  1. Weather is stormy and rainy (semantically and pragmatically understood) ⇒  
      (Trgger  (T)   
    ⇒  I have to open my umbrella

  2. Fire breaks out ⇒ 
      (Trgger  (T)   
    ⇒  Trigger fire alarm and call fire department

  3. FED is lowering prime interest rate from 2,25% to 0,5%. ⇒ 
      (Trgger  (T)   
     Let's get a cheap credut (loan) in US$ and 
    make classical leverage invest in Dow Jones & Nasdaq!



Detect hard fact reality vs story telling theater by observing behavior of trigger

When I was in the army long time ago, we learned several emergency commands / orders. One of that was 'AC-Alarm' (Atomic nuclear, biological or chemical are launched, so troops had to immediately Initiate protective suit and emergency measures)



Nobody was ever maling many funny jokes in that training, similiar to fire breaks out ⇒ fire alarm in the examples above. When observing the trigger behavior. everybody recognizes, that this is no playing game and a real dangerous situation. Same story, when people are infected with HIV (AIDS) Virus or (not so deadly) Malaria.

Well, when looking at the Coronavirus, triggers are too soft, negligently, inconsistent.
Remember all DioxinPlutoniumAnthrax incidents in the last 25 years, remember even Creutzfeldt–Jakob disease. triggers were much more hard and serious, even when there was never danger for many people in all that cases.

According the media Coronavirus has already killed hundreds of thousands of alleged dead, but nobody's reacting or triggering heavy casualties for real. People are still playing that game, but nobody takes / triggers that Coronavirus real serious / grievous.

2020-11-02

Snaps, snapd,, Snap Store, snapcraft.io

Tonight in the early morn, when I tried to write(1) an open os based solution(2) to transform almost any modern personal computer or laptop(3) to a simple generic wifi router(4).

Then I unexpectedly found a  community platform, that was still unknown to me:

snapcraft.io

Snaps are there defined as  app packages for desktop, cloud and IoT that are easy to install, secure, cross‐platform and dependency‐free. Snaps are discoverable and installable from the Snap Store, the app store for Linux with an audience of millions, 


I tried first the search functionality of that platform and let's say clearly: 
The layout design looks excellent, the community is well visited, but some functions could be better. Lets look at these 2 examples: 
Searching common phrase file
Searching 1 char only d  
Search results also could be sorted more meaningful & understandable, e.g. 
  1. show all results, where the search phrase  directly corresponds to the package app name /(no matter if sql like (prefix, suffix, substring), sql fulltext match or Levenstein distance.
  2. then show all results, where the search phrase is found in the shown package descripton
  3. at least show all results, that appear like a magical fog or smoke for the user. I know, that your search function is probably not returning total random or bad fuzzy hit results, but I guess the search algorithm searches in fields, which are not shown in search result view.




Snapcraft web site provides at the moment the snap app package search page, a store, tutorials, documentation, developer blog, forum and IOT special bulletin.


Conclusio: Snapcraft has surly more potential, but additional functionality must be added and especially a more clear vision and road-map needs to be specified, followed and permanently filled with life. (Under my point of view, without any additional improvements, vision and road-map the project and the community won't grow up and then after some time, this will remain as small circle of developer project or even become orphaned.)
So far I see this nevertheless as an good opportunity for developers and community to get seen and to receive good jobs offers.

Simply said: Thou must have very soon an idea, where this should go and what exactly you want with  it. If thou don't want to expand and keep this project as a nice and gentle private hobby, then you can keep everything and don't have to change anything. But if you want to expand, become at least a small player for long time, ...