Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BL
Posts
22
Comments
756
Joined
2 yr. ago

  • Engineers now: We built an airport, 9 years behind schedule and at 233% the cost.

    We are rebuilding a train station at (currently) 366% the planned cost and an estimated delivery time of 200% the original estimate, into rock that might swell when in contact with water and heave the station out of the ground, in order to decrease the station’s capacity by 17%

  • In Germany there are also two words, “Doktor” (the academic title) and “Arzt” (a medical professional). If your “Arzt” hasn’t published a dissertation, you technically shouldn’t be calling them “Doctor”, but “Herr“/“Frau” <surname>. Very few people care about this distinction, though.

  • For comparison: In 2022, 25% of Germans were members of the Roman-Catholic church, 23% were protestants. About 4% were other Christians. In Between 2019 and 2021, 3–7% were Muslims (depending on the survey). All other denominations sum to less than 1%, leaving some 40% without confession.

    https://de.wikipedia.org/wiki/Religionen_in_Deutschland

    Note that these numbers are from different censuses in different years, and all are rounded, so they don’t add up to 100%.

  • Using someone else’s philosophy on life to help guide your own defeats the purpose of experiencing said life.

    This sounds a lot like “You don’t get to tell me not to touch the hot stove! I want to experience the burn!” – What’s wrong with listening to other’s look on life and see if and how that can benefit you?

  • For fuck’s sake. Are you telling me Americans, of all people Americans, are now too stupid to kill?

    What’s with these crazy new execution methods? Just shoot the guy. It’s not like you didn’t have a hundred thousand cops trained to kill on sight.

  • I actually dread the day that augmented reality becomes so unobtrusive that it becomes as ubiquitous as smart phones. I guarantee that this means less funding for garbage disposal, since you can just block the garbage on the streets. It would mean even less compassion for the homeless, since you can just disable them in your view. It would mean a filter even the pedestrians you see: You’re a racist? Block all non-whites.

  • What you’re showing here is an extra processing step, but I wouldn’t call that manual.

    Yes, it’s not manual by the dictionary definition, but it is an extra step. This is another meaning of manual in my particular bubble [Edit: that I didn’t think to specify].

    But a much better idea would be to use sensors -j to get json output, intended for machine reading, and pass that to jq.

    This is my initial point, exactly. Dealing with objects is way easier than using the ‘default’ line-wise processing. Only Powershell made that the default, while in Linux you need to hope that utilities have an option to toggle it on – and then also have jq installed to process the objects.

    I look forward to seeing how you would do this in PS. As I said previously, I don’t know it at all, so I’m not sure what you’re comparing this to.

    [Edit, since I forgot to answer your main point:] I don’t program in PS. I don’t like the verbosity. But I do think MS has a point in pushing objects as the prime unit in processing instead of lines.

  • For instance: Get the temperature of the “Composite” sensor from this output:

     
        
    $ sensors
    k10temp-pci-00c3
    Adapter: PCI adapter
    Tctl:         +37.1°C  
    
    BAT1-acpi-0
    Adapter: ACPI interface
    in0:          16.07 V  
    curr1:         1.80 A  
    
    amdgpu-pci-0500
    Adapter: PCI adapter
    vddgfx:        1.46 V  
    vddnb:       918.00 mV 
    edge:         +35.0°C  
    slowPPT:     1000.00 uW 
    
    nvme-pci-0200
    Adapter: PCI adapter
    Composite:    +28.9°C  (low  =  -5.2°C, high = +79.8°C)
                           (crit = +84.8°C)
    
    acpitz-acpi-0
    Adapter: ACPI interface
    temp1:        +37.0°C  (crit = +120.0°C)
    
      

    Without a cryptic awk incantation that only wizards can understand, that would be:

    sensors | grep Composite | grep -Po 'Composite:.*?C' | grep -Eo '[[:digit:]]{1,2}\.[[:digit:]]'

  • Article 82, paragraph 1 of the GDPR:

    Any person who has suffered material or non-material damage as a result of an infringement of this Regulation shall have the right to receive compensation from the controller or processor for the damage suffered.

    Paragraph 2:

    Any controller involved in processing shall be liable for the damage caused by processing which infringes this Regulation

    Article 24, paragraph 1:

    **[T]he controller shall **implement appropriate technical and organisational measures to ensure and to be able to demonstrate that processing is performed in accordance with this Regulation.

    Article 5, paragraph 1f:

    Personal data shall be: […] processed in a manner that ensures appropriate security of the personal data, including protection against unauthorised or unlawful processing and against accidental loss,

    Article 83, paragraphs 2 and 5:

    Each supervisory authority shall ensure that the imposition of administrative fines pursuant to this Article in respect of infringements of this Regulation referred to in paragraphs 4, 5 and 6 shall in each individual case be effective, proportionate and dissuasive.

    Infringements of the following provisions shall, in accordance with paragraph 2, be subject to administrative fines up to 20 000 000 EUR, or in the case of an undertaking, up to 4 % of the total worldwide annual turnover of the preceding financial year, whichever is higher:

    (a) the basic principles for processing, including conditions for consent, pursuant to Articles 5, 6, 7 and 9;

    Article 4, paragraph 7:

    ‘controller’ means the natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of personal data

    (All quotes are excepts, emphasis mine

    https://gdpr-info.eu/

  • Don’t you think immediately getting the property you’re interested in from an object is easier and more readable than first grepping some output to get the line you want and then removing the leading and trailing garbage on that line manually?

    I thing PS scripting would be much more fun if the words weren’t so annoyingly long.

  • it’s possibe your virtualisation software has a vulnerability

    If you’re that paranoid I don’t know why you’re running an executable whose source code you haven’t checked in the first place.