bleistift2

joined 9 months ago
[–] bleistift2@sopuli.xyz 19 points 1 day ago* (last edited 1 day ago) (8 children)

Without the Google Search deal, Firefox will have less resources to build a competent browser.

Firefox has neglected their browser for years, pursuing vanity features like pocket instead of implementing web standards.

[–] bleistift2@sopuli.xyz 4 points 1 day ago* (last edited 1 day ago) (1 children)

That sounds like you ran into problems when deserializing a number value from JSON, which then got slightly changed due to floating point shenanigans. That’s technically not JSON’s fault. JSON numbers aren’t IEEE754. They’re just numbers. It’s only the deserializers that usually choose to represent JSON numbers as floating point values.

Quoting https://www.rfc-editor.org/rfc/rfc8259#page-7

A number is represented in base 10 using decimal digits. It contains an integer component that may be prefixed with an optional minus sign, which may be followed by a fraction part and/or an exponent part. […]

A fraction part is a decimal point followed by one or more digits.

Numeric values that cannot be represented in the grammar below (such as Infinity and NaN) are not permitted.

This specification allows implementations to set limits on the range and precision of numbers accepted. Since software that implements IEEE 754 binary64 (double precision) numbers [IEEE754] is generally available and widely used, good interoperability can be achieved by implementations that expect no more precision or range than these provide, in the sense that implementations will approximate JSON numbers within the expected precision. A JSON number such as 1E400 or 3.141592653589793238462643383279 may indicate potential interoperability problems, since it suggests that the software that created it expects receiving software to have greater capabilities for numeric magnitude and precision than is widely available.

[–] bleistift2@sopuli.xyz 3 points 2 days ago (1 children)

It’s funny that I can’t tell if you last played 3 months ago, 1 year ago or 2 years ago.

[–] bleistift2@sopuli.xyz 15 points 2 days ago

Sure, but have you ever wasted hours of your life checking the documentation for the exact string of case-sensitive letters that force LaTeX not to yeet your image 45 pages further into the document, because that’s THE MOST PERFECT PLACE to put it?

[–] bleistift2@sopuli.xyz 4 points 5 days ago

Distance travelled is not the only metric by which you can judge a route. Others include:

  • Traffic
  • Traffic lights or other stops, since it’s nicer to drive uninterrupted.
  • What turns you need to make (2 left turns over 6 lanes of traffic? Pass)
  • Familiarity
  • Road condition
  • The view
[–] bleistift2@sopuli.xyz 0 points 1 week ago (1 children)

Would you mind sharing the source of that quote? I’m curious about the ‘relative position […] sums to zero’—relative to what? Suppose the mass is completely contained in the ‘upper right quadrant’ in 3D space (I’m lacking the language skill to express that accurately). Then I can’t find a definition that wouldn’t cause the sum to be positive.

[–] bleistift2@sopuli.xyz 4 points 1 week ago

Depends on your jurisdiction. In Germany, the bar for murder is one of [1]:

  • an [inner] desire to kill
  • killing for sexual reasons
  • greed
  • “other despicable motivations”

and one of:

  • cruelty
  • insidiousness
  • using “tools dangerous for public safety”
  • the motivation to conceal or enable another crime.

In my layman’s understanding, pressing the button checks the ‘insidious’ box, since it is not at all expectable by the victim.

As for the first set of conditions, it would probably be down to a court ruling if the person checked the ‘desire to kill’ box (as I understand it, they wouldn’t) or the ‘other despicable motivations’ box – is killing for no reason a despicable reason?

[1] https://www.gesetze-im-internet.de/stgb/__211.html

[–] bleistift2@sopuli.xyz -1 points 1 week ago

Now is the time for Ukraine to just ignore the US

I’m not sure if Europe is willing enough to pick up the slack. Not sucking Don’s dick might mean having to concede to Russia.

[–] bleistift2@sopuli.xyz 0 points 1 week ago (2 children)

Thanks. I couldn’t come up with a reason why the material would be relevant, so I thought there must be some context or other meaning of “vinyl fence” that I was missing.

[–] bleistift2@sopuli.xyz 0 points 1 week ago* (last edited 1 week ago) (4 children)

There is too little information in that comment for me to be able to provide a meaningful response with the given context.

Edit: I don’t know why the material matters, but I think it was a wire mesh with some sort of plastic in between.

[–] bleistift2@sopuli.xyz 0 points 1 week ago (6 children)

First time I got to use a fire extinguisher was when a neighbor a few houses down the street thought it was a good idea to burn moss in his driveway with a blowtorch after it hadn’t rained in weeks.

That was the second time that neighbor’s neighbor’s hedge caught fire. He then replaced it with a fence.

[–] bleistift2@sopuli.xyz 3 points 2 weeks ago

Replacing Jupiter with an equally massive black hole shouldn’t make a difference. We’d only have one bright dot less in the night sky.

 

I’m using two keyboard layouts, German (QWERTZ) and German (neo).

I’d like to be able to switch between these two using the Super+Space shortcut. However, that only works for switching from QWERTZ to neo. When the current layout is neo, Super+Space does nothing.

On the other hand, when I’m in neo, Shift+Space does switch the layout, but it’s not supposed to.

How can I fix these two issues?

These are my keyboard settings from the system settings UI:

System:
  Kernel: 5.15.0-133-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
    tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
 
172
submitted 2 months ago* (last edited 2 months ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
 

[Meme transcription:]

– Hey, why is the shell prompt on the production server red now?
– Earlier: me@prod:~$ docker container remove --force the-application

Protip: If you’re used to shutting down your computer via the CLI, make it a habit to use an alias like off.

This way you will never, ever turn off a remote server by accidentally using throwing poweroff at a residual SSH connection.

458
IEEE 754 (cdn.fosstodon.org)
 

cross-posted from: https://lemmy.ml/post/24332731

~~Stolen~~ Cross-posted from here: https://fosstodon.org/@foo/113731569632505985

 

Meme-Transkription:

Paneel 1: Ein freundlicher, Anzug tragender Mitarbeiter. Er ist als Skulpturenverkäufer gekennzeichnet und sagt: „Also wir haben Ritter, traurige Engel, zufällige Raubtiere, eine Justizia, den Kopf von irgendeinem zufälligen Typen, am Boden liegende Menschen, Menschen ohne Kopf und Insekten.

Paneel 2: Das „Shut up and take my money”-Meme aus Futurama. Frys Kopf wurde durch das Umbrella-Logo aus Resident-Evil ersetzt.

 

Wollt ihr euch alt fühlen?

Resident Evil läuft gerade im Fernsehen.

Auf Kabel 1.

63
Title (lemmy.blahaj.zone)
 
 
 
264
submitted 2 months ago* (last edited 2 months ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
 
 
 

Image transcription: A lengthy source code comment. The details are irrelevant. Github Copilot autocompletes: “This is a bit of a hack, but it works.”

view more: next ›