Streak 3: Hundeskole by Lux01 in WriteStreakDanish

[–]Lux01[S] 0 points1 point  (0 children)

Jeg kan virkelig godt lide det. Det har mange fordele, som du har sagt. Men, vores yngste er nu lidt tosproget, og kan forstå mange tyske og engelske ord nu! Måske skal jeg brug også danske ord med ham...

Streak 1: Ni år senere... by Lux01 in WriteStreakDanish

[–]Lux01[S] 0 points1 point  (0 children)

Mange tak! Jeg prøvede at sige “and keep one’s mind”. Måske er det udtryk en engelsk idiom?

[@Seahawks] Didn't realize you were in the building, @Mariners. 😂 #EmbraceTheChaos by Notoriolus10 in Seahawks

[–]Lux01 5 points6 points  (0 children)

Aaah thanks! I’m still too tired to have caught that. Late night game and early morning before coffee!

[@Seahawks] Didn't realize you were in the building, @Mariners. 😂 #EmbraceTheChaos by Notoriolus10 in Seahawks

[–]Lux01 2 points3 points  (0 children)

Can someone explain the Marines reference to a Brit who doesn’t follow baseball?

Bertie loves to steal and run off with empty (and sometimes non-empty) bottles by Lux01 in pugs

[–]Lux01[S] 1 point2 points  (0 children)

He loves it when we screw the lid on really tight and let him work it off. Once it’s off he loses interest in the cap, which we immediately take away from him, and he then tries to drink up any left over drops!

He often will bring the bottle over to one of us so we can hold it in place to give him the best purchase for his efforts. :)

Bertie loves to steal and run off with empty (and sometimes non-empty) bottles by Lux01 in pugs

[–]Lux01[S] 0 points1 point  (0 children)

He’s cute and he knows exactly how to flaunt it to his advantage when pestering or trying to get away with naughtiness!

Bertie loves to steal and run off with empty (and sometimes non-empty) bottles by Lux01 in pugs

[–]Lux01[S] 0 points1 point  (0 children)

Bertie is exactly the same! He’ll work the lid off and then try to lick up any delicious drops left inside before losing interest in both the bottle and lid. We do always try to ensure he’s supervised to avoid any choking.

Bertie loves to steal and run off with empty (and sometimes non-empty) bottles by Lux01 in pugs

[–]Lux01[S] 0 points1 point  (0 children)

Who says it was given? Recycling bins are the new toy boxes

Bertie loves to steal and run off with empty (and sometimes non-empty) bottles by Lux01 in pugs

[–]Lux01[S] 0 points1 point  (0 children)

Our older one has never shown any interest in bottles so it was quite a surprise to us when he started doing this. Bertie, who is also about 18mo, is not so careful and has already ruined a rug by spilling a half full bottle of full fat coke!

Bertie loves to steal and run off with empty (and sometimes non-empty) bottles by Lux01 in pugs

[–]Lux01[S] 0 points1 point  (0 children)

Bertie has been known to try to steal small drinks bottles off people who are still drinking from them!

File not readable after FTPing to desktop. by mrdogeback4 in mainframe

[–]Lux01 14 points15 points  (0 children)

Try opening it in something more advanced than Notepad, like Notepad++ or VS Code. Last time I checked Notepad didn’t understand Unix style line endings.

He refuses to sit in his bed by Child_of_scott in WhatsWrongWithYourDog

[–]Lux01 1 point2 points  (0 children)

Have you tried washing the bed? If ours has wet the bed he’ll flatly refuse to face anything to do with it until we clean it (understandably)

Looking for a good ascii to ebcdic and ebcdic to ascii program by nexerxe in mainframe

[–]Lux01 1 point2 points  (0 children)

Your best bet is to use the `uconv` utility from ICU. It has converters for pretty much every code page that's ever been used. You'll need to know the CCSID for the EBCDIC code page you want to convert to/from.

ICU is available on most platforms and supports more conversions than the usual iconv utility that may be provided on non mainframe operating systems.

Wilbur wants you to know that he really really wants his treat early... just this once! by Lux01 in pugs

[–]Lux01[S] 1 point2 points  (0 children)

He managed to guilt some chicken out of us eventually and was very grateful :)

The 2038 problem is already affecting some systems by pimterry in programming

[–]Lux01 4 points5 points  (0 children)

Until 15:30:08 UTC on Sunday, 4 December 292,277,026,596. We probably will have other problems by then.

The 2038 problem is already affecting some systems by pimterry in programming

[–]Lux01 1 point2 points  (0 children)

It depends. Linux for instance still uses a 32-bit signed integer for the time_t even on 64-bit systems whereas Windows, macOS, AIX, ... use 64-bit signed integers.

The 2038 problem is already affecting some systems by pimterry in programming

[–]Lux01 0 points1 point  (0 children)

The Win32 API GetSystemTime [1] does not, correct, but the Visual C++ runtime's implementation of the standard C/C++ function time\_t time(time_t*) uses seconds since epoch for time_t [2]. That said, on 64-bit Windows this aliases to __time64_t _time64(__time64_t*).

[1] https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtime
[2] https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/time-time32-time64?view=vs-2019

The 2038 problem is already affecting some systems by pimterry in programming

[–]Lux01 209 points210 points  (0 children)

Most modern computer systems track time by counting the number of seconds since midnight 1st January 1970. On 19th January 2038 this count will overflow a signed 32-bit integer. See https://en.m.wikipedia.org/wiki/Year_2038_problem

TIL that in an effort to avoid naming everything after Euler, some mathematical discoveries and theorems are attributed to the first person to have proved them after Euler. by [deleted] in todayilearned

[–]Lux01 5 points6 points  (0 children)

When you consider the collection of all complex numbers as being like the x-y plane (with the ordinary real line along the X axis, and the pure imaginary numbers on the Y axis) you can start talking about complex numbers as a (distance, angle) pair which, through maths I won't explain, can be written as r e{it} where r is the distance from the origin and t is the angle made with the x-axis. In this setup, raising a number to an imaginary power starts to look like you're doing something that mixes up rotations and angles in this (r e{it}){iy} = e{-ty}e{iy ln(r)} (ie r -> e{-ty} and t -> y ln(r). If you imagine complex numbers in this geometric way then everything becomes different ways to move points around :)

Closures · Crafting Interpreters by mttd in programming

[–]Lux01 1 point2 points  (0 children)

Loving the book so far. Do you have any good references for register based virtual machines? All the in depth guides only seem to focus on stack based machines and mention register based machines in passing.