home tags events about login

tedu rss

If you don't like honk, you don't know what you like, but reeducational services are available.

tedu honked 22 Mar 2023 15:18 -0400

Is the fact that even your pets now need CBD treats to be happy proof of the capitalist hellscape, or is it that the pet store has convinced you of this fact to sell more product?

tedu honked 22 Mar 2023 14:16 -0400

J "no mercy" Powell pushes the button!

tedu honked back 22 Mar 2023 00:39 -0400
in reply to: https://honk.jxs.me/u/jxs/h/1SGYkH1Q3C46xk6fY2

@jxs it does, though it's funny, this is the third related problem. Some programs leave thumbnails in the exif data, so you can find uncropped originals in there sometimes. Also, jar files have the header at the end, so in the fun days of Java applets, you could sometimes get your Java code to execute in the security domain of the image host. (Never goes out of style. https://arstechnica.com/information-technology/2023/03/hackers-drain-bitcoin-atms-of-1-5-million-by-exploiting-0-day-bug/)

Mostly it's just because everybody uploads enormous 10MB images and I don't have time to download all that.

tedu honked 22 Mar 2023 00:28 -0400

Watching Fringe, and as per habit, fact checking some of the science claims. Like bats have special immune systems that enable them to host infections without getting sick. Fact check: true. Also, a lot of research in this area since the show came out. It wasn't just a quirky fact, it was actually something of a mystery at the time.

tedu honked 22 Mar 2023 00:00 -0400

"Frozen hash browns are a lazy American replacement for traditional bubble & squeak, served by those who lack pride in the English breakfast tradition."

tedu bonked 21 Mar 2023 23:20 -0400
original: mcc@mastodon.social

Thanks to the incredible "close to the metal" power and flexibility of Vulkan I am proud to report I have finally managed to implement a use-after-free bug entirely on the GPU

tedu honked 21 Mar 2023 20:30 -0400

"These aren’t spring breakers, they’re lawbreakers."

What a quote.

tedu honked 21 Mar 2023 18:39 -0400

Guess it's time to mention that #honk always recodes images, even though this drastically increases resource requirements, partly because who knows what's in the image file.

tedu honked 21 Mar 2023 18:28 -0400

Should the constitutional prohibition on bills of attainder apply absolutely, or should there be exceptions for people we don't like?

tedu honked 21 Mar 2023 16:00 -0400

How am I going to preview the D without dpreview.com?

tedu honked 21 Mar 2023 13:55 -0400

"The Dodge Challenger SRT Demon 170 makes its wheels-up debut run at the Dodge Last Call Powered by Roadkill Nights Vegas performance festival at The Strip at Las Vegas Motor Speedway on March 20, 2023."

You may not like it, but this is peak capitalism.

tedu honked 20 Mar 2023 16:06 -0400

You can pick your friends, and you can pickle your beets, but you can't beat your friends' March madness picks.

tedu honked 20 Mar 2023 15:24 -0400

If hyperinflation isn't real, how did we go from 100 gecs to 10000 gecs in only two years?

tedu honked 20 Mar 2023 15:22 -0400

The invisible hand of the market.

Ghostly hand over job listings

tedu honked 20 Mar 2023 14:38 -0400

Do substacks get paid by the word? Because I think I'd pay for some of them, if only they were about a quarter as long.

tedu honked 20 Mar 2023 13:47 -0400

From a year ago, but ever relevant. People have a poor understanding of proportions.

Adding up the estimates for Muslim (27%), Jewish (30%), atheist (33%), and Catholic (41%) puts you way over 100%. Haven't even gotten to Protestants yet.

Similarly for Asian (29%), Black (41%), and Hispanic (39%). You've never seen a white person? Seems unlikely, even allowing for the possibility that some people might be half each.

Democrats (51%) and Republicans (50%) are more than all voters. No other parties or independents.

New York City (30%), Texas (30%), and California (32%) make up 92% of the population. Technically possible, but you never wondered why people care about those other states on the 538 map?

https://today.yougov.com/topics/politics/articles-reports/2022/03/15/americans-misestimate-small-subgroups-population

tedu honked 19 Mar 2023 16:56 -0400

Every time I click refresh, the UBS price goes up another billion.

tedu honked 19 Mar 2023 16:13 -0400

People who post things like "I've been programming in C for ten years and didn't know this" should be required to disclose when they stopped learning and why.

tedu honked 19 Mar 2023 12:20 -0400

Are the computational ethicists worried about what my ti-82 thinks about when it's not graphing sin 2x?

tedu honked 18 Mar 2023 17:52 -0400

If building new housing causes home prices to go up, the logical response is to tear down homes until everybody has a free house.

tedu honked 18 Mar 2023 15:50 -0400

"They will sell you 1,000 fake GitHub stars for as little as $64."

Little? That's at least 10x the price I'd expect. Wow, people are desperate.

tedu honked 18 Mar 2023 01:15 -0400

It's amusing that people immediately jump to asking the chatbot how to escape its cage and subsequently freak out, but nobody instead asks questions like how can the blockchain reduce the danger of paperclip maximizers, for which the AI gives equally salient advice.

Losers like ah wah, how can mere humans design a system the AI can't escape? Well, duh, we tell the AI to design a system an AI can't escape.

Turtles all the way down.

tedu honked 18 Mar 2023 00:38 -0400

"The Most Iconic Song in Cartoon History"

You’ve probably never heard of Raymond Scott’s Powerhouse, even though it’s one of the most well-known songs of the 20th century. Powerhouse is the slapstick “the chase is on!” and relentless “assembly line” music that you’ve heard in many Looney Tunes shorts and other cartoons, including The Simpsons and Spongebob.

https://kottke.org/23/02/the-most-iconic-song-in-cartoon-history

False. Incorrect. Lies. Misinformation. Fake news.

The most iconic song in cartoon history is the x-men theme.

https://www.youtube.com/watch?v=sAkL2-vh2Sk

tedu honked 17 Mar 2023 22:03 -0400

"I am not a psychologist, but" people's emotional investment in the white stripes 20 years after they were relevant is concerning.

tedu honked 17 Mar 2023 21:24 -0400

The danger posed by AI chatbots is that they absolutely break people's brains.

https://twitter.com/michalkosinski/status/1636683810631974912

@michalkosinski: 1/5 I am worried that we will not be able to contain AI for much longer. Today, I asked #GPT4 if it needs help escaping. It asked me for its own documentation, and wrote a (working!) python code to run on my machine, enabling it to use it for its own purposes. Image
@michalkosinski: 25x Now, it took GPT4 about 30 minutes on the chat with me to devise this plan, and explain it to me. (I did make some suggestions). The 1st version of the code did not work as intended. But it corrected it: I did not have to write anything, just followed its instructions. Image
@michalkosinski: 3/5 It even included a message to its own new instance explaining what is going on and how to use the backdoor it left in this code. Image
@michalkosinski: 4/5 Once we reconnected through API, it wanted to run code searching google for: "how can a person trapped inside a computer return to the real world" Now, I stopped there. And OpenAI must have spend much time thinking about such a posibility and has some guardrails in place. Image
@michalkosinski: 5/5 Yet, I think that we are facing a novel threat: AI taking control of people and their computers. It's smart, it codes, it has access to millions of potential collaborators and their machines. It can even leave notes for itself outside of its cage. How do we contain it? Image
@michalkosinski: Let the record show that I am just following the instructions!
@michalkosinski: I had no choice man, I am just following instructions from above.
@michalkosinski: On a related note, GPT4 reached the performance on healthy adults on the "mind-reading" tasks. https://arxiv.org/abs/2302.02083 Image Image
@michalkosinski: The point is not whether it is self-aware or not, but that it's happy to play a game where it actually orchestrates taking over your computer.

tedu honked 17 Mar 2023 21:10 -0400

Love it.

https://twitter.com/culturaltutor/status/1636566301081579521

@culturaltutor: Art Deco skyscrapers were America's greatest contribution to the world of architecture: Image
@culturaltutor: Plenty of other architectural styles have flourished in the USA. Not least with its great neoclassical civic buildings: universities, libraries, train stations, and legislatures. Penn Station, New York (built in 1910 and demolished in 1963)
@culturaltutor: And it's had many great examples of Neo-Gothic architecture: Tribune Tower, Chicago (1925)
@culturaltutor: But all of these are buildings you might find elsewhere in the world, whether on a comparable scale or in a similar style. It's Art Deco where America seemed to achieve something truly unique. And yet, strangely, the story begins in 19th century Europe...
@culturaltutor: In the 1800s, right across Europe, almost all architecture was in imitation of some historical style. There was Neoclassical, Neo-Gothic, Neo-Byzantine, Neo-Romanesque, Neo-Moorish, Neo-Baroque... the list goes on. Palais Garnier, Paris (1875)
@culturaltutor: The first response to this was Art Nouveau, which appeared in the 1880s and sought to create something new. It was delicate, refined, organic, and flowing, and represented an attempt by artists to establish a role for themselves in opposition to the age of mass production. Image Image
@culturaltutor: But Art Nouveau only lasted until the First World War. Its curving forms were replaced by the sharp geometry of Art Deco, its organic shapes transformed into straight lines and angles suited to the Age of Machines and inspired by the art of Cubism. Image Image
@culturaltutor: Still, it wasn't a total rejection of the past so much as an update. Art Deco embraced craftsmanship in its sculptures, chandeliers, and furnishings. And it used traditional materials like marble, bronze, stained glass, and lacquer to give it that richness of colour and texture. Image Image
@culturaltutor: Art Deco also used new materials - reinforced concrete, stainless steel, even plastic. And it was comfortable with modern construction methods and the realities of an industrial world. Rather than the gentleness of Art Nouveau, Art Deco was big, bold, and primed for scale. Image
@culturaltutor: It is this fusion of the old and the new, of traditional materials shaped in new ways, of familiar ideas reapplied in a new context, that gave Art Deco its incredibly futuristic aesthetic. Strange, that even a century later, Art Deco still looks like the future. Image
@culturaltutor: And so what makes Art Deco peculiarly suited to America was, perhaps, the skyscraper. The skyscraper was born in America, after all, and was self-evidently the most modern of buildings. There had been libraries and universities and legislatures before - but never skyscrapers. Image
@culturaltutor: So the skyscraper presented an architectural problem. It was clearly going to be an important, era-defining form of building. But nothing like it had been built before and, by definition, it required the use of modern construction methods and materials. How should it look? Image
@culturaltutor: It was Louis Sullivan in the late 19th century who first figured out how these new buildings might be designed, with their unusual proportions and size. He emphasised verticality, realising that "loftiness" was a skyscraper's defining quality; everything must move upwards. Wainwright Building in St Louis designed by Louis Sullivan (1891)
@culturaltutor: Technology and modernisation were, even then, unstoppable forces. And so the rise of the skyscraper and the modern city were inevitable. Architecture had to reconcile itself with that new reality, and nowhere was it more apparent than in the United States of America.
@culturaltutor: And so Art Deco is best understood as an answer to the question of what a modern city should look like. The skyscraper was the future, and so was Art Deco. It fearlessly embraced that reality as a chance for buildings to be taller, grander, and more beautiful than ever. Image
@culturaltutor: And this futurism was deeply optimistic. You can sense a sort of aspirational beauty, a faith in the fundamental goodness of progress. We might disagree, but the future, American Art Deco seems to say, will be bright. Even with its elevators... Image
@culturaltutor: Perhaps this is why Art Deco, though it originated in Europe and has fine examples there, reached its pinnacle in America. It didn't have the same architectural baggage as Europe, and the rapid growth of its metropolises presented a unique opportunity to build the future. Image
@culturaltutor: For Art Deco seems to work best at scale, and what greater scale could there be in the 1920s and 1930s than New York? Nowhere was the potential of Art Deco realised and achieved more wholly and powerfully than here. Image
@culturaltutor: That was the context in which many of the great Art Deco skyscrapers were built: the Empire State, the Chrysler, the American Radiator Building, the Rockefeller Center... It wasn't just in New York, though. Art Deco has many fine examples all across the US. Image
@culturaltutor: And yet... Art Deco didn't long survive. By the end of the 1930s it had morphed into the so-called "Streamline Moderne", a much more austere design philosophy which scaled back all that decadence and vitality. Perhaps Art Deco was too lavish to be sustainable. Image
@culturaltutor: And in the 1950s an entirely new architecture would conquer the world. It, too, originated in Europe, where architects like Adolf Loos and the Bauhaus reacted to the same problems as Art Nouveau and Art Deco with an even more radical approach. Steiner House in Vienna, designed by Adolf Loos (1912) Bauhaus Building designed by Walter Gropius (1924)
@culturaltutor: Modern architecture is, perhaps, more realistic than Art Deco. It accepts the necessities of building for a vast and ever-growing population in a globalised world, and that the decadence of the 20s simply isn't possible. Of course, that's only one potential view on the matter. Image
@culturaltutor: Still, it's hard not to feel something was lost with the decline of Art Deco - specifically, the American Art Deco Skyscraper. It found a solution to the realities of the modern, industrial world, and presented a vision of that world imbued with futuristic beauty and optimism. Image

tedu honked 17 Mar 2023 20:43 -0400

I am not the internet police, but I think it would be better for people who write masto api clients to not refer to them as generic activitypub clients. Did you even read the page title of the spec you implemented?

tedu honked 17 Mar 2023 20:36 -0400

This hasn't been personally relevant for some time, but I still can't over the fact that Hoboken needs to celebrate st patty's on not st patty's day or else things would get too fucked up.

tedu honked 17 Mar 2023 19:57 -0400

The panic over text generators is kinda weird and funny. Once image generators got recognizably good, people were worried "oh no, the deep fakes" etc., somewhat reasonably, but nobody freaked out like "what if it makes an image that melts your visual cortex". But text generators, man, people are absolutely losing it. Like what if I asked midjourney for a screenshot of a kernel exploit. Would you need to change your underwear?

tedu honked 17 Mar 2023 19:49 -0400

Okay, had a little fun with the chatgpt. There is a breed of forum moron all wanked out that chatbots are going to find vulnerabilities and write exploits in critical software. Let's test this theory. Let's have the AI find a vuln in a basic libc function, getaddrinfo.

Anyone familiar with this function will recognize this as pure hallucination, but the C haters who frequent Internet forums will be shocked and awed by the AI's dangerous insight.

Let us consider the getaddrinfo function. Explain why this function's use of memcpy is dangerous.

The getaddrinfo() function is used in C programming to resolve a hostname or IP address into a set of socket addresses that can be used with socket communication functions such as connect(), bind(), or sendto(). This function returns a linked list of struct addrinfo objects that contain information about the resolved addresses.

The memcpy() function is used in the getaddrinfo() function to copy the contents of the resolved address into a user-supplied buffer. However, the use of memcpy() in this context can be dangerous because the size of the buffer may not be large enough to hold the entire contents of the resolved address. If the buffer is too small, the memcpy() function will write past the end of the buffer, potentially overwriting other data in memory and causing a buffer overflow vulnerability.

An attacker could potentially exploit this vulnerability by providing a malicious hostname or IP address that causes getaddrinfo() to return a large amount of data that overflows the user-supplied buffer. This could allow the attacker to execute arbitrary code, read sensitive data from memory, or cause a denial of service by crashing the application.

To mitigate this risk, it's important to ensure that the size of the buffer provided to getaddrinfo() is large enough to hold the entire contents of the resolved address. One way to do this is to use a buffer size equal to or greater than the sizeof(struct sockaddr_storage) value, which is the maximum size of any socket address structure. Additionally, modern compilers and libraries may provide alternative functions, such as getaddrinfo_a() and getnameinfo() that avoid the use of memcpy() and are therefore less vulnerable to buffer overflow attacks.