Paul Reilly

855 posts

Paul Reilly banner
Paul Reilly

Paul Reilly

@CompoundAssign

Hammerer, picker, strummer and concatenator of strings.

Katılım Ağustos 2023
128 Takip Edilen37 Takipçiler
Paul Reilly
Paul Reilly@CompoundAssign·
@graykevinb It depends on access patterns and/or cost of equality comparisons in the case of searching. Here's search of Object structs with a string key and string value. The comparisons add up:
Paul Reilly tweet media
English
0
0
0
206
Kevin Gray
Kevin Gray@graykevinb·
"Hashmaps are fast" Ohh no they are not! Hash math is incredibly expensive. Avoid them if you can. Sometimes O(n) can be cheaper than O(1). Sometimes O(n^2) is faster than O(1). Time complexity only matters if you size of n is big enough for it to matter.
English
44
8
424
35.8K
Paul Reilly
Paul Reilly@CompoundAssign·
@realcezarc @ctatedev Are you unpacking libraries not built in to the language distribution in that LoC count?
English
1
0
1
230
Cezar
Cezar@realcezarc·
@ctatedev In the year of our lord, 2026, there are only 3 languages worth to think about: Python, Rust and C++
Cezar tweet media
English
12
0
34
8.1K
Chris Tate
Chris Tate@ctatedev·
Introducing Zero The programming language for agents. I wanted a systems language that was faster, smaller, and easier for agents to use and repair. Explicit capabilities. JSON diagnostics. Typed safe fixes. Made for agents on day zero.
Chris Tate tweet media
English
287
165
2.2K
963.3K
Paul Reilly
Paul Reilly@CompoundAssign·
@Newsforce I remember the book, The Sugar Blues, noting that (increased) reports of mental illness approximated the progress of the sugar trade. There are some interesting notes in this paper too: sci-hub.st/10.1192/bjp.18…
English
0
0
2
267
NewsForce
NewsForce@Newsforce·
🚨DID THIS STUDENT RESEARCHER JUST SOLVE SCHIZOPHRENIA? A young woman is going viral after breaking down her research paper claiming modern psychiatry has been focusing on the wrong part of the brain for decades. She argues schizophrenia isn’t primarily a dopamine disorder, but a “leaky thalamus” — the brain’s sensory filter — that fails to block out irrelevant information, causing the brain to hallucinate and create its own reality to fill in the gaps. Her theory also suggests antipsychotics only mask symptoms, questions Big Pharma’s funding priorities, and even links the same mechanism to ADHD. She questions why the thalamus has been so neglected in psychiatric research.
English
257
1.3K
6.4K
298K
Paul Reilly
Paul Reilly@CompoundAssign·
@gvanrossum No need to personally criticise a speaker at a technical conference of all places.
English
0
0
1
1.5K
Guido van Rossum
Guido van Rossum@gvanrossum·
PyCon US has started! So far I am very disappointed in the first keynote -- it's just a product pitch and the speaker isn't that engaging. Sorry.
English
65
88
2.1K
688.3K
Paul Reilly
Paul Reilly@CompoundAssign·
@cpp_akira C++ should focus on language features and improvements.
English
0
0
0
295
Akira Takahashi
Akira Takahashi@cpp_akira·
std::simdは2012年に設計されたものを長い時間をかけて標準化したものだけど、競合ライブラリはさらに先を行っていて全然ちがう設計をとっているという話。 C++26で出荷された「誰も求めていなかった」SIMDライブラリ lucisqr.substack.com/p/c26-shipped-…
日本語
1
36
125
18.8K
Rune
Rune@KinderheimRune·
@CompoundAssign @jonatanpallesen We have no evidence of that. Russia will still be more powerful than Estonia regardless of how much AI and automation you’ll do.
English
1
0
0
76
Jonatan Pallesen
Jonatan Pallesen@jonatanpallesen·
Manchester is clearly already gone. It's later than what many people think. People over 40 are irrelevant for the demographic future of places. The newest generation is 35% British, so that is the maximum for the future of Manchester, even if (unlikely) mass immigration was fully halted right now. Large-scale remigration is the only possible way to conserve this city as a British city.
Ave Europa@AveEuropae

There is no way to sugarcoat this. If this trend isn’t stopped and reversed, Manchester will be unrecognisable within a few decades. Some will now argue that people can assimilate. The issue is that, at a certain point, there may no longer be anything left to assimilate into.

English
37
172
1.6K
77.2K
Paul Reilly
Paul Reilly@CompoundAssign·
@KinderheimRune @jonatanpallesen Consider the AI/automation revolution. Massive reduction in the number of people required to run a society. We should be getting ahead of that curve because there's a potential for societal collapse and complete dependence on foreign tech if we do not.
English
1
0
1
80
Rune
Rune@KinderheimRune·
@jonatanpallesen “Large-scale remigration is the only possible way to conserve this city as a British city..” And the city would most likely in the process be another irrelevant ghost town. UK would not get better losing 25% of its population and dropping down to only having 50 million people.
English
14
0
10
3.2K
Real Media
Real Media@RealMediaGB·
BREAKING: Filton defence barrister Rajiv Menon KC has won his appeal against prosecution. This is believed to be the first time in legal history that a barrister has faced prosecution over a closing speech in a criminal trial, and the procedure being used was without precedent. Read more at realmedia.press/barrister-wins…
Real Media tweet media
English
19
357
786
36.8K
Paul Reilly
Paul Reilly@CompoundAssign·
@sudox7 For individual ints/objects, but when using the typed array module or NumPy (which you would when using 1M ints) it's effectively the same memory footprint.
English
0
0
2
656
SudoX7
SudoX7@sudox7·
something that bothers me every time I think about it: a Python integer takes 28 bytes of memory. a C int takes 4. it's not a Python bug. it's the price of dynamic typing. every Python object carries a reference count, a type pointer, and size metadata. a million integers in Python costs 28MB same in C costs 4MB.
SudoX7 tweet media
English
56
46
694
95.7K
Paul Reilly
Paul Reilly@CompoundAssign·
@Lady_FanAccount Suing artists for using samples creatively needs to stop. At the very least awards should be capped at something sensible like 5%... 100% is ridiculous.
English
1
0
2
496
Ladytron Fan Account
Ladytron Fan Account@Lady_FanAccount·
"Bitter Sweet Symphony" uses a sample of a 1965 orchestral version of The Last Time by the Rolling Stones (arranged by Andrew Loog Oldham). After the success of the track, former Stones manager Allen Klein sued and forced The Verve to cede 100% of the copyright to Mick Jagger and Keith Richards. For 22 years the band did not earn a penny from the biggest hit of their career. In 2019 alone, Jagger and Richards generously returned all credits and royalties to Richard Ashcroft. The name of the song turned out to be very literal... bittersweet.
English
130
553
4.3K
609.2K
Seva Gribov
Seva Gribov@principo·
@Galaxia0xFF It's always dangerous to be ignorant and don't know how the standard library works.
Seva Gribov tweet media
English
3
0
49
1.8K
Galaxia
Galaxia@Galaxia0xFF·
how three languages handle a missing value C will kill you silently C++ will kill you politely Rust won't let you write the code at all production bugs disagree on which is best
Galaxia tweet media
English
32
6
358
52.9K
💥₿💥 🚜🫒🕊️
💥₿💥 🚜🫒🕊️@UKbitcoinHODL·
@Jcastweet The hatred for those with learning difficulties too Jez. Makes me angry 😡 Many adults with learning problems derive such immense value from so called ‘low pay’ work. These policies aimed at putting them out of a job (and onto full time welfare) are disgraceful
English
8
0
46
1.9K
Jez Casey
Jez Casey@Jcastweet·
Some of the replies to this make me incredibly concerned about the levels of anger against small and mid sized business owners who let’s face it employ over 60% of the uk work force. The lack of understanding around basic economics is woeful.
Peter McCormack 🏴‍☠️🇬🇧🇮🇪@PeterMcCormack

A minimum wage of £15 would end my coffee shop, it would have to close, as would many other businesses. I’ll explain for the economically illiterate. Staff costs are currently half our costs, a £15 minimum wage is actually more than £15 an hour for the company, because you have to add: - 12.07% holiday - Sick pay - Maternity pay if and when required - National insurance - Pension contributions These costs would mean the shop loses money because remember, energy costs are up, rates are up, regulations are up. Now you can pass these costs onto the consumer - that would mean charging a lot more for coffee, people won’t pay it. The likes of Starbucks and Costa can, because they have economies of scale. The independent doesn’t. Now the little socialist will say well this is your fault, if you can’t run a business that can afford to pay its staff properly, but the little socialist has never run a business and does not understand the dynamics. Now I could pay some staff off and fill those hours myself or reduce us to one staff member during certain periods - but this proves the point that a minimum wage costs jobs. There was a time when these jobs were done by kids, perhaps on the weekend, paid a lower wage, no holiday and no silly employment rights. Perhaps they were even paid cash. The dynamic worked and small businesses like this could operate. It was also a great first job. Sadly now it isn’t worth employing entitlement youngsters at this level of pay. So alas, I don’t need the stress, the business would close, a number of jobs would be lost. Economics is about understanding these dynamics, no vibes. The cost of living is not solved through passing on inflation to the business, it is solved by ending high inflation and creating prosperity. This is what socialists don’t understand, they can’t create prosperity, they can only destroy it.

English
191
189
2.2K
52.2K
Paul Reilly
Paul Reilly@CompoundAssign·
@GergelyOrosz It's tedious, I don't want to read or watch any AI content unless it's clearly stated up front. It's mind theft.
English
0
0
0
98
Gergely Orosz
Gergely Orosz@GergelyOrosz·
The beauty of the post is that the text smells AI-generated entirely, with the instruction to make it lowercase I’m getting to the point that I don’t trust anonymous accounts w even a hint of AI-written content on the internet. A good chance it’s all made up, even if believable
Grady Booch@Grady_Booch

Thoughts and prayers.

English
81
11
551
47.6K
Craig Lawrence
Craig Lawrence@clawrence·
@MilesSm03562554 It is clearly not all being used by plants. The concentration in the atmosphere has been increasing.
Craig Lawrence tweet media
English
5
1
54
518
Craig Lawrence
Craig Lawrence@clawrence·
I see many posts talking about how 'resource intensive' wind and solar are. Check my math, but the world extracts, processes, transports, and burns 100 million barrels of oil a day, about 14 million metric tons worth. My best estimate of the weight of all the wind turbine blades installed ON EARTH today (caveat, used Claude to help estimate, check my math) is 20 million metric tons. So, 1.5 days worth of global oil consumption. AND THEY LAST FOR 20+ YEARS. Don't let people scare you with big numbers. There is nothing on earth more resource intensive than the oil and gas indsutry. It's just that when we burn oil and gas, the waste ends up mostly in the atmosphere (and your lungs), not in a landfill. As if that is somehow better?
Craig Lawrence tweet media
English
168
458
1.5K
41.1K
George Saoulidis
George Saoulidis@georgecursor·
@mr_r0b0t You guys are talking nonsense. I'm using it right now and it stops, breaks down. It's dumb
English
2
0
1
1.4K
mr-r0b0t
mr-r0b0t@mr_r0b0t·
Be me: Sign up for DeepSeek API because everyone is saying how reasonably priced it is. Load up $50, let’s see. 30 minutes in, here’s where we’re at using V4-Pro
mr-r0b0t tweet media
English
208
109
4.8K
530.1K
Anon Opin.
Anon Opin.@anon_opin·
There's not been a single song ever written that sounded great using metric distances and weights. Imperial all the way, the world needs to change or at least go to a half and half hybrid system like in the UK
English
63
3
80
30.4K
Paul Reilly
Paul Reilly@CompoundAssign·
@gregthwuen @CEOofFuggy GNOME is part of the new Linux user experience for many due Ubuntu momentum, so non, current and former users do get to have an opinion on how they handle that. I'm a former user, now on KDE.
English
1
0
1
41
Gregor
Gregor@gregthwuen·
@CEOofFuggy why do I always see posts about GNOME from people who aren't even using it? GNOME is not a commercial product and community funding is finally working for them. so why would they care about market share? don't use it if you don't like the project's direction. KDE is also great.
English
1
0
2
916
Fuggy
Fuggy@CEOofFuggy·
Maybe GNOME should take this as a sign... No, it's the users that are wrong
Fuggy tweet media
English
114
34
961
64.4K
Paul Reilly
Paul Reilly@CompoundAssign·
@valigo @suspendfunc Countries on 'The List' like Iran, Syria, Libya, Russia, North Korea, Iraq etc, face[d] sanctions/subterfuge so it's difficult separating self-harm from the results of external pressure. The more pressure there is, inc fomenting war, the more a government needs to be defensive.
English
0
0
0
31
Valentin Ignatev
Valentin Ignatev@valigo·
@suspendfunc We grew up on USSR ruins, and we have parents and grandparents who actually lived through it. Our generational trauma is enough to see how stupid western champagne socialists are. And we also observe irl how Russia is trying to return USSR and what it does to our lives. So, no.
English
2
0
7
146
Valentin Ignatev
Valentin Ignatev@valigo·
One of the best outcomes of globalized twitter is seeing how western commie larpers get cooked by people whose countries went through actual communism. I understand that economy is tough, but commie dictatorship (there can't be communism without dictatorship) is not an answer!
English
8
2
74
2.4K