@mcc@mastodon.social
@mcc@mastodon.social avatar

mcc

@mcc@mastodon.social

glitch girl

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

My account on "framagit" has just been disabled because I have not used it in one year. I do not even remember what that is. It sounds like something Yosemite Sam would say.

mcc,
@mcc@mastodon.social avatar

I think I signed up for it to file an issue on a single repository.

mcc, to random
@mcc@mastodon.social avatar

Irene Pepperberg's theory is that parrots do not learn words by hearing the word in proximity to an event, rather they learn words by hearing flock members use a word during an interaction with another flock member https://mastodon.social/@JoeKozinski/112394735459907294

lovegame, to random
@lovegame@mastodon.social avatar

🐈 naming things is often called "the easiest problem in computer science" because you can just call it x or i or whatever

mcc,
@mcc@mastodon.social avatar

@demofox @lovegame Subtract one

mcc, to random
@mcc@mastodon.social avatar

I follow a style of giving all my collections plural names so that I can type things like "for sprite in sprites" without name collisions. However this then created a large problem when I wound up with, for sensible reasons, a collection named "sprite_data". This lead to the very uncomfortable existence of a singular variable named "sprite_datum"

mcc, to random
@mcc@mastodon.social avatar

Weird Internet trick: Quickly get a list of IPs used by GoogleBot by searching for "what is my IP" and reviewing the page previews for the pages GoogleBot fetched from whatismyip.com, which of course include its own IP

mcc, to random
@mcc@mastodon.social avatar

I love Nine Inch Nails, and I love the Revolting Cocks, but I've never listened to, like, any Ministry. I wonder if I should. One problem is it's hard to know where to get started, there is a lot of it

mcc,
@mcc@mastodon.social avatar

@zalasur "Ministry is one of those bands where if you start with a random album it will be a solid choice no matter what" a strong data point in favor of this was i got like five different "well if you listen to just one album, listen to…" albums in responses to my question lol

GottaLaff, to random
@GottaLaff@mastodon.social avatar

I warned you 👉🏼💥Katie Phang:

NEW: has now moved for a mistrial.

Todd Blanche: We move for a mistrial based on the testimony this morning, the guardrails were thrown aside, that testimony was so unduly prejudicial to Trump and the charges in this case and the testimony about the incident in 2006 is way different from the stories she was pedaling in 2016,

mcc,
@mcc@mastodon.social avatar

@GottaLaff Question, aren't witnesses deposed before being called to testify on the stand? If there was anything in the testimony the defense would object to, why didn't it occur in the depositions?

mcc, to random
@mcc@mastodon.social avatar

It's so annoying how domain names are like 4x as expensive now as they were in 2004

mcc,
@mcc@mastodon.social avatar

@jason I dunno if I'm convinced inflation is a real thing. Certainly VPS providers have only gotten cheaper over the same period.

mcc, to random
@mcc@mastodon.social avatar

Say I am developing an Android app. I have the source, I built it myself.

It has a problem where occasionally Android pops up a box saying "[App] isn't responding. * Close app * Wait".

I would like to know what the app is doing when this occurs— stack traces, 1 second of profiling, something.

I expect if I tap "Close app", it should drop something useful in the logcat. I've nabbed a logcat within 120 seconds however and see nothing involving "crash" or "ANR".

What should I do to debug this?

mcc,
@mcc@mastodon.social avatar

Unfortunately I cannot get this to happen on demand, so running with adb connected is not an option. I can only make it happen by using the app regularly for a couple days, if I do this I get the hang once every 12 to 48 hours. So I need something I can do in pure-mobile mode, something like the "Stackshots" from iOS would be perfect.

It seems like since I built the app myself, I ought to have more options than if this were just something I'd downloaded…!

mcc,
@mcc@mastodon.social avatar

@swiftcoder Everything would be perfect if I could just instruct it to copy my ANR traces to a known location on /sdcard! :( I wonder, if Firebase can make that work, whether I could write my own apk to make that work.

mcc,
@mcc@mastodon.social avatar

@JosJuice Often it un-wedges itself if I wait 30-60 seconds, so no, my attempts at this have not been successful. It doesn't help that this happens at true random, so sometimes I'm not even at home when it happens.

mcc,
@mcc@mastodon.social avatar

@JosJuice Wouldn't I need to run in that mode for hours to get the log I need, though? Hm. I guess I could turn it on once the event begins, but the chances of the app being oomkilled while I'm in Settings are high…

mcc,
@mcc@mastodon.social avatar

@JosJuice Thanks. I'll consider it, although at present I am using a $35 phone I got at walmart while my real phone is in repair, so… I dunno if it can be described as a "modern device".

mcc,
@mcc@mastodon.social avatar

Okay so @swiftcoder has just informed me about Android's /data/anr directory, which sounds like exactly what I'm looking for, and does in fact contain files matching known ANR events. Unfortunately, this phone denies ADB permissions to read those files!

…BUT, adb bugreport does copy, in the FS/data/anr subdirectory, the files, so I now have what I need. Thanks y'all

mcc,
@mcc@mastodon.social avatar

@aaryte I was able to list the files in that directory, but shell cat or pull gave me denied permissions when I tried to read them. I was eventually able to get them off with adb bugreport however.

mcc, to random
@mcc@mastodon.social avatar

Proposal for a sci fi story: In 2063 someone enters an abandoned former loft apartment outside Oakland and discovers a giant 3D-printed rack in which are a lattice of 40,000 Rabbit R1 devices which someone in the late 2020s bought up cheap used after the product failed, jailbroke, interlinked, and converted into a distributed computing platform for ___________ (you fill in the blank) https://merveilles.town/@oppen/112400145087243432

mcc, to random
@mcc@mastodon.social avatar

Toronto local news, 2024-05-06

mcc,
@mcc@mastodon.social avatar

@aerique @stig This channel is always like this and it's on in like, every single restaurant or bar in toronto

The weirdest thing about it is that in the USA, Al Gore tried to start a channel with exactly this format around 2005 and it failed miserably. It was called Current TV and eventually their cable contracts got bought out by Al Jazeera. But the local news version of the same concept succeeded in toronto

mcc,
@mcc@mastodon.social avatar

@flyingsaceur S&P UP 8.40

lukiss, to random
@lukiss@sonomu.club avatar

( // #Unicode #TruchetTiles #SuperCollider
q=[
[[" ","│"," "],["╮","╰","┬"],["╰","┬","╯"]],
[["╭","╯","◦"],["┴","┬","─"],[" ","│"," "]],
[["o","│"," "],["─","╯","╭"],[" ","╭","╯"]],
[[" ","╰","╮"],["╮"," ","╰"],["╰","╮"," "]],
[["╭","┴","╮"],["┤","°","╰"],["╰","╮","◯"]],
[["╭","┴","╮"],["┤","O","├"],["╰","┬","╯"]],
];
8.do{
t=q.pyramid(3).scramble;
t[0].size.do{|l|
t.size.do{|n|t[0].size.do{|i|t[n][l][i].post}};
Post.nl
}
});

mcc,
@mcc@mastodon.social avatar

@lukiss Gorgeous

mcc, to random
@mcc@mastodon.social avatar

For the last two years I've been semi-daily posting "What I'm Listening to Today" links here. Mastodon has some problems with threads containing hundreds of posts, so I re-create the thread once a year.

If you'd like to see, here's my "year two" thread: https://mastodon.social/@mcc/110266770603341546

Or, alternately, every song from year two in the least practical format possible: A 301-song, 38-hour YouTube playlist (note: video #1 contains flashing):

https://www.youtube.com/playlist?list=PLLIjft6ja7DM_kacOW8zo2vtr-aWpTNX6

And here's the thread for "year three":

mcc,
@mcc@mastodon.social avatar

What I'm listening to today: "Musica Ricercata no.7", György Ligeti as performed by Grégoire Blanc

This is from a set of twelve piano pieces composed in 1953 by Hungarian composer György Ligeti, as arranged for analog synthesizer and dual theremins in December 2023 by Blanc. (The mood is enormous, the future that 1981 promised us.) Ligeti would go on to write the "Monolith music" from 2001. Grégoire Blanc would go on to do his laundry

https://www.youtube.com/watch?v=IRQiiPDXTGo

mcc, to random
@mcc@mastodon.social avatar

YOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

mcc,
@mcc@mastodon.social avatar

Current status: Added semitransparent shadows and I really like how they look. This'll look great once I have a better tile texture.

A very satisfying moment was when I realized you can cheaply darken an RGB565 pixel by just saying screen[idx] = (screen[idx] >> 1) & 0b0111101111101111;. Is this SIMD lol

  • All
  • Subscribed
  • Moderated
  • Favorites
  • cubers
  • kavyap
  • DreamBathrooms
  • everett
  • magazineikmin
  • hgfsjryuu7
  • osvaldo12
  • thenastyranch
  • Youngstown
  • slotface
  • rosin
  • khanakhh
  • vwfavf
  • PowerRangers
  • anitta
  • tester
  • ethstaker
  • modclub
  • cisconetworking
  • InstantRegret
  • ngwrru68w68
  • tacticalgear
  • Durango
  • normalnudes
  • Leos
  • mdbf
  • GTA5RPClips
  • provamag3
  • All magazines