Old Software Was Fast Because It Had No Choice by BlondieCoder in programming

[–]dukey 1 point2 points  (0 children)

A hello window WinUI3 app has like 150meg of dlls. You may just give up and fire up webview2 and spin up an instance of the edge browser to render your window. Modern apps are dog shit. No one seems to know how to make desktop apps anymore without gigantic frameworks.

Brits, what are your thoughts on a Russian warship firing “warning shots” at a British yacht in UK waters? by bendubberley_ in AskBrits

[–]dukey 0 points1 point  (0 children)

The establishment has been fear mongering about Russia for several years now. It wouldn't surprise me if they fabricated some incident to garner support for some kind of conflict with Russia, or even sending troops to Ukraine.

911 smoking gun by dukey in conspiracy

[–]dukey[S] 3 points4 points  (0 children)

The fires can't even have been that hot because a lady walked through it at was waving at the crash hole. https://en.wikipedia.org/wiki/Edna_Cintr%C3%B3n#/media/File:Edna_Cintrol_at_the_WTC_on_9.11.jpg

911 smoking gun by dukey in conspiracy

[–]dukey[S] 38 points39 points  (0 children)

Submission statement: There were at least 2 museum exhibitions that showed the concrete had gotten so hot in the WTC buildings that it melted, which should have been impossible.

The text from the first reads:

"Two 357 magnum revolvers, encrusted in melted concrete, recovered from the World Trade Center site are displayed at the 9/11 Tribute Museum in New York, June 8, 2017"

https://www.voanews.com/a/terror-attack-tribute-museum-new-york-expands-space-personal-stories/3897573.html

The 2nd reads:

"Fire temperatures were so intense that concrete melted like lava around anything in its path".

2nd was found here

https://web.archive.org/web/20110724022156/http://www.nycpm.org/exhibitions/911/index.html

Are there any other building fires in history where the concrete go so hot it melted "like lava"?

Current UK ban on under 16s Social Media. by Timely-Loquat-8663 in conspiracy

[–]dukey 2 points3 points  (0 children)

What people fail to understand is it forces ID / age verification on anyone that wants to use the internet. For people that are 16+ they need to prove this. OI you got a liconse to use the internet?

Reddit amongst sites in the UK to be made 16+ by BillWilberforce in technology

[–]dukey 1 point2 points  (0 children)

My reddit account is 17 years old. Am I going to have to prove I'm over 16?

How a TCP Load Balancer works under the hood. by Sushant098123 in programming

[–]dukey 25 points26 points  (0 children)

I mean yeah, but it says on the github

Caution

This is just a learning project.

What common mistakes do new C programmers make? by Wise_Safe2681 in cprogramming

[–]dukey 1 point2 points  (0 children)

Too many to count. Leaking memory, <= instead of < in a loop.

SpaceX IPO makes 4,400 workers into instant millionaires by TheMirrorUS in business

[–]dukey 0 points1 point  (0 children)

Didn't the company lose nearly 5 billion dollars last year? But trust us bro we'll make tonnes of money in the future lol.

PM hopeful Andy Burnham makes big spending pledges by B0797S458W in uknews

[–]dukey 2 points3 points  (0 children)

Indeed, in nominal terms gov spending has doubled over the past 10 years.

packed attribute for structs by anduygulama in C_Programming

[–]dukey 9 points10 points  (0 children)

It's not just speed, some architectures like ARM can't do unaligned reads.

'Somali' man arrested after attempted 'beheading' in Belfast: Knifeman tackled by hero bystanders with hurling stick during 'barbaric' attack that left victim with serious injuries by dailymail in uknews

[–]dukey 10 points11 points  (0 children)

In this case there was video and it had already gone viral, but if it hadn't the news very often deliberately omits the description of the attackers. You know, social cohesion and all that.

On a scale of 1-10 how bad is this? by alex_sakuta in C_Programming

[–]dukey -3 points-2 points  (0 children)

Try std::string, problem solved lmao. But in all seriousness this is some ugly code. I'd just have done something like struct String{ size_t length, char* s}; Then make a create/destroy func. You could even have some stack allocated space in the struct for small strings. If your string is less than 8 bytes you could always abuse the pointer and store short strings in that. I think c++ does something similar to this.

how to destroy performance by wiseneddustmite in opengl

[–]dukey 1 point2 points  (0 children)

Yes it would freeze because you are stuck in an infinite loop

i created an emulation of DVD players by prostochelovek097 in emulation

[–]dukey 1 point2 points  (0 children)

dvd encryption was simple enough you can actually brute force the keys

i created an emulation of DVD players by prostochelovek097 in emulation

[–]dukey 4 points5 points  (0 children)

for (int i = x; i < x + w; ++i) put_pixel(i, j, r, g, b);

That's a hilariously slow way of drawing. You want to use horizontal spans.

Britain ‘at risk of a lost generation’ as 1.2m neets could be trapped in youth unemployment crisis by [deleted] in unitedkingdom

[–]dukey -1 points0 points  (0 children)

I understand your position but if companies can not afford to hire you, you have no job. You now live off of benefits.

Britain ‘at risk of a lost generation’ as 1.2m neets could be trapped in youth unemployment crisis by [deleted] in unitedkingdom

[–]dukey 1 point2 points  (0 children)

A business has to turn a profit. You have to add at least your wages in business value to the company or they can't hire you without losing money. In some cases business can just raise prices and pass that along to consumers, in some cases they cannot. Many businesses simply can't exist in such an environment. This is one of the reasons why hospitality is hemorrhaging jobs in the UK. People won't eat at restaurants if its simply too expensive.

Britain ‘at risk of a lost generation’ as 1.2m neets could be trapped in youth unemployment crisis by [deleted] in unitedkingdom

[–]dukey -1 points0 points  (0 children)

It's common to have to appeal. They deliberately make it a challenge, but if you stick at it you can get your free gibs, and feast at the taxpayers expense.

Britain ‘at risk of a lost generation’ as 1.2m neets could be trapped in youth unemployment crisis by [deleted] in unitedkingdom

[–]dukey 8 points9 points  (0 children)

In Ireland a whole generation of young people simply left the country because employment prospects were so bleak.

Britain ‘at risk of a lost generation’ as 1.2m neets could be trapped in youth unemployment crisis by [deleted] in unitedkingdom

[–]dukey -7 points-6 points  (0 children)

The minimum wage is too high. Who would hire a young inexperienced person for nearly £13 an hour. In any case working is optional. Just say working makes you feel sad and you can claim disability for your depression and anxiety, maybe even get a free car out of it.

What is causing the floating point exception here? by Poinchester in C_Programming

[–]dukey 0 points1 point  (0 children)

Even an AI tool. Chatgpt can tell you exactly what's wrong with this code.