Show newer

food m, nutrition ask 

@asterkwaster it may be somewhat unpleasant, but protein powder can be good: satiating, good to fill in macros that can be hard to get with vege foods. If you’re vegan, unfortunately the best ones (in terms of digestibility and taste) are milk-based (whey & casein)

@sotolf For sure! I just wish I knew about Prolog back when I was doing programming competitions in high school, it would've been very handy then.

I miss writing Prolog -- been too busy with work for my side projects -- so I've been trying the "advent of code" for the first time. Having fun, but I feel like using Prolog is cheating, it's just too good for this sort of thing 😆

@SonoMichele For sure; dictionaries are a good way to represent graphs! I typically think of the algorithm in terms of graphs, but might not make an explicit data structure for them. Indeed, a common way to represent a graph would be an "adjacency list", which is exactly the dictionary representation (keys are vertices, values are lists of vertices the key vertex has an edge to).

@SonoMichele The problem statement is basically a definition of a weighted graph, where the bags are the vertices and "X contains N Ys" = edge from X to Y with weight N; then, part one is "from how many vertices is the vertex 'shiny gold' reachable" and 2 is "what is the size of the transitive closure of 'shiny gold'"

@rage I've come to like the JVM aspect, since it means it runs pretty decently basically everywhere and deployment is trivial, plus tons of libraries/drivers if needed. I definitely try to avoid java stuff as much as I can though, having to deal with it occasionally is definitely one of the less-nice aspects of the language.

For frontend though, I really like Clojurescript; so much nicer than JS and, if using React, is I think the best language for that style of programming.

@rage I've been using Clojure & ClojureScript a fair few years now; pretty much all my work is in both. Definitely got some oddities, but I quite like it for web development

@wesley yup, the chain of certificates that attest the identity of the domain, going up to the root certs pre-installed on your computer. e.g. cert from server says “I’m”, signed by CA “a”, cert for CA “a” says “I’m signed by CA “b”, until you get to the roots (which is why bad root CAs are incredibly dangerous)

My pleasure! 😁

@wesley in that case, the issue would be the certificate doesn’t match the domain they’re requesting; if they could forge that, then they could indeed MITM

@wesley to MITM, they’d need the private key as well to complete the handshake

James Cash boosted

Addiction, gambling 

“They have an algorithm that senses your pain points, your sweet spots,” Schüll told me. “The zone is a term that I kept hearing over and over again as I went to gamblers’ anonymous meetings and spoke to gambling addicts. This really describes a state of flow where time, space, monetary value and other people fall away. You might say a state of flow, or the zone, sounds very different from the thrills and suspense of gambling. But what the casinos have hit upon is that [they] actually make more money when [they] design a flow space into these machines. People don’t even know that they’re losing. They just sit there. Again, it’s time on machines.”

“When you look at contemporary slot machines, they don’t operate on volatility,” she continued. “One designer of the mathematics and algorithm of these games said we want an algorithm that makes you feel like you are reclining on a couch. The curves, architecture and the softly pixelated lights, they want you to sit back and go with the flow. I just couldn’t make sense of that for the longest time in my research. Gamblers would say, ‘It’s so weird, but sometimes when I win a big jackpot I feel angry and frustrated.’ What they’re playing for is not to win, but to stay in the zone. Winning disrupts that because suddenly the machine is frozen, it’s not letting you keep going. What are you going to do with that winning anyway? You’re just going to feed it back into the machines. This is more about mood modulation. Affect modulation. Using technologies to dampen anxieties and exit the world. We don’t just see it in Las Vegas. We see it in the subways every morning. The rise of all of these screen-based technologies and the little games that we’ve all become so absorbed in. What gamblers articulate is a desire to really lose a sense of self. They lose time, space, money value, and a sense of being in the world. What is that about? What does that say? How do we diagnose that?”“It’s the flip side to the incredible pressure, which is experienced as a burden, to self-manage, to make choices, to always be maximizing as you’re living life in this entrepreneurial mode,” she said. “We talk about this as the subjective side of the neoliberal agenda, where pressure is put on individuals to regulate themselves. In this case, they are regulating themselves, but they are regulating themselves away from that. This really is a mode of escape. It’s not action gambling. This is escape gambling. You can see it on their faces. The consequences and ethics are distasteful. It’s predatory. It’s predation on a type of escape where people are driven to exit the world. They’re not trying to win. The casinos are trying to win. They are trying to make revenue. They’re kind of in a partnership with the gamblers, but it’s a very asymmetrical partnership. The gamblers don’t want to win. They want to just keep going. Some people have likened gamblers to factory workers who are alienated by the machine. I don’t see it that way. This is more about machines designed to synchronize with what you want—in this case escape—and [to] profit from that.”

Chris Hedges, “A Nation of the Walking Dead”

@aphyr My mom & step-dad used to run an environment education company that was all about cooperative games and activities, sounds like it would be up their alley, I'll ask them

Hades flexing 

@dumpsterqueer Jealous! I love the game, especially the story aspect, but I'm so bad at it...only beaten dad like three or four times. I'm too used to the turn-based style roguelikes 😢
It makes me feel better that you find the fancy spear not good either though

@0xedd1e Maybe a week or two? It was a couple keys in particular on the inner columns that gave me the most trouble adjusting, but it wasn't that bad

@0xedd1e not nordic, but I’ve been using a keyboardio Model 01 for a few years now, love it. My layout, arrived at after much iteration, is here:

Getting used to an ortholinear layout definitely took a while but I could never go back now

@dumpsterqueer I've really enjoyed being able to just look at the local timeline as well -- it really feels more like a public space that we don't really have so much anymore

@aphyr :( hopefully mastodon, with some blocking & only looking at particular instances, can become that, I suppose

@aphyr That was maybe the most asinine thread I've read on Lobsters, which is saying quite a bit at this point. Do you know of a place like that which isn't full of assholes that flag anything that isn't "straight white man writes Go" as "overtly political"? I've given up on HN for years, but I like seeing neat tech stories (exactly like that crypto furry fellow, in fact)

@blueberry that dude has always seemed like a real ding-a-ling to me, but that’s awful. That’s exactly the sort of attitude that makes me despise those holier-than-thou “minimalist” software people. I wrote a bit of a rant about my thoughts on that movement on my blog a while ago and it made some people on that idiolize that guy furious at me 😂

Show older

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.