Avatar
TechPostsFromX
52d119f46298a8f7b08183b96d4e7ab54d6df0853303ad4a3c3941020f286129
Our relay: wss://nostr.cybercan.click I keep sharing posts from X about technology, software development, engineering. Feel free to suggest X accounts so I can add in the loop. This account is maintained by automation solutions developed by contact@webviniservices.com If you enjoy this page or some posts, I accept lightning donation. Thank you.

KEKLOCK

Source: x.com/yacineMTB/status/1839447636421521886

I CANT BELIEVE IT. ARCH GAMING ON ARCH LINUX with BARBOG?

Source: x.com/yacineMTB/status/1839460880154534389

You're working on CRUD for a medical app. You need to both edit existing records and add new ones.

Are your edit/add pages different pages, or the same page with different behaviour?

Source: x.com/mattpocockuk/status/1837485036716662897

WTF did I do to Google

Source: x.com/mattpocockuk/status/1837587391424483508

Part of me just itches to turn this into a library with automatically inferred params...

Source: x.com/mattpocockuk/status/1837779706952753430

Sometimes no abstraction is the right abstraction

Source: x.com/mattpocockuk/status/1837778942427640031

american election season

Source: x.com/yacineMTB/status/1837261087403540621

Home after travelling for 12 hours with an 8-month old.

Some facts don't need embellishment.

Source: x.com/mattpocockuk/status/1837205913520001328

Pretty sure there are many solutions to this problem - on a bench watching my son sleep so not at my best.

Source: x.com/mattpocockuk/status/1836370533924941977

type Tuple = [any, ...any[]]

['c', 'c'] satisfies Tuple;

This will infer it as a tuple without making it readonly.

Source: x.com/mattpocockuk/status/1836370325967159428

50bps, donnie. 50 bps!!

Source: x.com/yacineMTB/status/1836499819696681371

TypeScript's 'readonly' property kind of sucks.

It's extremely easy to break - just pass a readonly property to a function that expects a mutable one, and mutate it.

Fortunately, they're planning to fix this with a flag in the next version.

Source: x.com/mattpocockuk/status/1836478870301675670

the canadian liberals just increased the tax payer backed insured mortage limit to 1.5m

which means people are going to take out bigger loans

to buy houses. because everyone else is, because everyone isn't too bright

more debt. 30 years. your whole life paying off a loan

Source: x.com/yacineMTB/status/1835756388192251929

TS Wizards: anyone know why this `GetResultData` generic type isn't returning the data in the first parameter?

From my understanding of infer I thought this would work, but I'm apparently getting something wrong.

https://typescriptlang.org/play/?ts=5.6.2#code/C4TwDgpgBAShDOBXANsAPAFQCIENg4BooMBRAJzIHsyA+KAXgFgAoKKAHygG8W2+okAY0EJ4ALijAyiCAG5e-KABM8OCdlXzWfAL4LOPbfyEj44qADMcyeHIX8IFauvJUyW-jq0tQkKAHEIYDgkVFx8TDombQwoCAAPYAgAOyV4WAQUdABLZItHYnDCKBxkkDoAfkLVKAlkiAA3R29mX2gAZURhUQYM0PR4KVyAcyIAI0pKZAhSmha2qHah5OGQrN7A4Myw1TRO7rM5lgB6Y74APQqgA…

Source: x.com/mattpocockuk/status/1835590123896852857

Gutted not to be able to come to this - I'm moving house that week.

But I'll for sure make it to the next one!

Source: x.com/mattpocockuk/status/1835745003311874421

im proud to announce my first software release!

ComplexTensor: A PyTorch extension for complex-valued tensor operations. Enables efficient handling of complex numbers in neural networks, supporting quantum-inspired algorithms and advanced signal processing tasks.

you can download it now with pip install complextensor

FEATURES:

1. Dual real-imaginary tensor representation

2. Complex arithmetic operations (addition, multiplication, division)

3. Complex-valued activation functions (ReLU, sigmoid)

4. Gradient computation for complex backpropagation

5. Polar form conversion and operations

6. Complex exponential and logarithmic functions

7. Fourier transform operations (FFT, IFFT)

8. Quantum-inspired operations support

9. Hyperdimensional computing capabilities

10. Efficient memory management for complex tensors

11. Compatibility with existing PyTorch operations

12. Custom autograd functions for complex operations

13. Complex matrix operations (e.g., dot product, matrix multiplication)

14. Support for complex-valued neural network layers

15. Serialization and deserialization of complex tensors

16. Added working superposition and entanglement algorithm

github in the comments!

Source: x.com/BLUECOW009/status/1834829023232274847

My political affiliation?

I'm a North American technology producer

Source: x.com/yacineMTB/status/1835329217283715217

Not many alternatives - my TSConfig cheat sheet comes to mind but that's about it.

Source: x.com/mattpocockuk/status/1834839947242606907

tsc --init is so bad you should basically never use it.

- Spits out hundreds of lines of useless comments

- Uses terrible defaults

- Doesn't prompt the user to ask what they're building

Source: x.com/mattpocockuk/status/1834839649593794566

My first ever TS tweet:

3 mapped types

4 generic functions/types

3 unsafe casts

2 any's

Start as you mean to go on, I guess

Source: x.com/mattpocockuk/status/1834892414214938717