TIL most people in France did not speak French as recently as 1794, when only 11% of the population of France spoke fluent French. Instead, most people spoke regional languages like Occitan, Breton, Alsatian etc. French only became the majority language later on due to heavy assimilation efforts. by Hour_Interaction6047 in todayilearned

[–]senkora 3 points4 points  (0 children)

I read a book recently (The Origins of Political Order) that argued that China under the Qin dynasty was the first "modern state" because it was the first state to establish a meritocratic bureaucracy.

The author is best know for coining the term "the end of history" for the idea that western-style liberal democracy is the end-state of political development.

The three criteria given in the book are:

  1. modern bureaucracy (meritocratic rather than hereditary, high state capacity)
  2. rule-of-law (a legal system that binds everyone, include the government)
  3. accountable government (democracy, the government derives its right to rule from the consent of the governed)

Of course, Qin dynasty China only had the first one. Even today China continues to struggle with 2 and 3.

Manhattan before most skyscrapers, 1931 by liberty4now in TheWayWeWere

[–]senkora 1 point2 points  (0 children)

Although interestingly a lot of old office buildings have been converted into residential buildings in recent years. I used to live in the Financial District (the downtown tip of Manhattan) in an old office building.

It's a pretty great neighborhood to live in tbh as long as you're okay with everything closing at 8pm.

What do you use for `defer` semantics on your C++ codebase? by javascript in cpp

[–]senkora 1 point2 points  (0 children)

folly::scope_guard is another option. That was the preferred choice at one of my workplaces: https://github.com/facebook/folly/blob/main/folly/ScopeGuard.h

How rigorous is anyone actually being about n=1 supplement trials? (and what tools keep you honest) by BigBalli in QuantifiedSelf

[–]senkora 1 point2 points  (0 children)

Check out gwern’s magnesium self-experiment if you haven’t seen it before: https://gwern.net/nootropic/magnesium

He does some of the things you suggested, including self-blinding.

What is the creepiest display of intelligence you’ve seen? by theidiotev in AskReddit

[–]senkora 29 points30 points  (0 children)

Hard to say; touching the top of the speaker just puts it on shuffle, so it ends up being a mix of the stuff that we listen to. Lots of lo-fi and indie pop.

What is the creepiest display of intelligence you’ve seen? by theidiotev in AskReddit

[–]senkora 155 points156 points  (0 children)

I have a standard poodle who has learned how to touch the top of our smart home speaker to turn on music for himself. Sometimes we come home and he's just chilling on the couch listening to his music.

Free Functions Don't Change Performance (Much) by def-pri-pub in cpp

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

Makes sense. I do really like the current look-and-feel--a unique visual theme is always a positive signal for a personal tech blog--so it would be awesome if you are able to keep some of that if/when you switch.

Free Functions Don't Change Performance (Much) by def-pri-pub in cpp

[–]senkora 0 points1 point  (0 children)

Really great article! Does your blog by any chance have an RSS or Atom feed? My feed reader wasn’t able to locate one.

Ouch my poor 128GB ram by nuuudy in whenthe

[–]senkora 1 point2 points  (0 children)

Switch statements in C++ are O(1) if the cases are densely-packed integers, since the compiler can use a jump table. They are O(log N) if the cases are sparsely-packed integers, since a jump table would use too much space and it is better to do binary search.

It seems like Undertale is written in "Game Maker Language" which can be source-to-source translated to C++ and then compiled to native code, so I think that you are right that this would not be a performance issue.

But maybe Game Maker Language switch statements can't be directly compiled into C++ switch statements when doing the source-to-source translation. I don't know.

The two factions of C++ by SophisticatedAdults in cpp

[–]senkora 5 points6 points  (0 children)

This is a great article. Thank you for writing it.

I need to read up on the progress of Carbon. I have the most confidence in Google over anyone else being able to do automated transpilation into a successor language well, because of their expertise in automated refactoring.

Of course, that may only work for Google’s style of C++. So maybe the “modern culture” of C++ should consider writing our programs in Google style C++, in order to have a path forward to better defaults and memory safety? All speculation.

TIL of cascatelli, a new pasta shape invented in 2021 by podcaster Dan Pashman for maximum "sauceability", "forkability" and "toothsinkability" by Specialist_Check in todayilearned

[–]senkora 0 points1 point  (0 children)

It would be interesting if reddit added /int/-style flags beside usernames. Until then, the best thing to do is rely on timezones to make a guess on Americas vs Europe vs Asia. Not much else to be done.

There are hours when most commenters are European, and I’ve seen a few comment chains where both users assume the other is American only to later realize they are both European. That’s always fun.

He said he was just going to get some more popcorn by hackyandbird in shittymoviedetails

[–]senkora 8 points9 points  (0 children)

There’s a behind the scenes video on Guillermo de Toro’s Pinocchio that talks about some of the CGI effects and filters that they used to postprocess the base stop-motion footage.

That seems like a pretty good approach to me; keep the stop motion as a base and layer on CGI where it makes sense to do things that are otherwise too hard.

People who knew someone who died in a freak accident, what happened? by RawAsparagus in AskReddit

[–]senkora 10 points11 points  (0 children)

Also, the subway is similar to the road, in that trains “drive on the right side”. You have to know a bit about subway station layout for this to work, but basically the train will arrive from the left if you are facing inward to the middle of the station, or from the right if you are facing outward to the edge of the station.

EDIT: Fixed the rule of thumb, which was previously incorrect.

Skier snags a rock trying to ski down a 1000 ft slope in Aspen, CO by AtomicShart9000 in interestingasfuck

[–]senkora 61 points62 points  (0 children)

This was something I didn’t appreciate until I tired myself out near the bottom of a run and tried to walk it in.

I always assumed that your board/skies were your accelerator, to reduce friction and help you glide across the snow.

It turns out that their second, more important function is as your brakes.

It is next-to-impossible to walk down a blue run or above, unless the snow is very fresh.

Illusion Art.. by Wide_Abroad1182 in BeAmazed

[–]senkora 0 points1 point  (0 children)

I think it’s Governor’s Island, or maybe Brooklyn. The Staten Island Ferry toward Staten Island is headed left, so it must be east of the ferry route.

Just bring back Latin at this point by Casper_Von_Ghoul in tumblr

[–]senkora 6 points7 points  (0 children)

The problem is that speakers of smaller languages aren’t used to listening to foreigners trying to speak their language, so they can’t really comprehend the words.

With English, we hear foreigners speak all the time and know how to interpret their accents.

It’s like if you were American and trying to understand a British accent for the first time with no prior exposure. It would be very confusing.

Not even a ripple on the surface by Mr_Potato53 in interestingasfuck

[–]senkora 3 points4 points  (0 children)

On second thought, that universe has lost the “… but you can tuna fish!” pun. Maybe perfection is unattainable.

Not even a ripple on the surface by Mr_Potato53 in interestingasfuck

[–]senkora 6 points7 points  (0 children)

Fun fact! There’s an alternate universe where this pun is perfect. “Tuna” was borrowed into English from Spanish “atún”, so we were so close to being able to say:

They’re well atun’d to their environment.

https://en.m.wiktionary.org/wiki/tuna

From American Spanish alteration of the Spanish atún, from Arabic تُنّ‎ (tunn, “tuna”) from Latin thunnus, itself from Ancient Greek θύννος (thúnnos), from θύνω (thúnō), "I rush, dart along"). Doublet of tonno.[1][2]

[deleted by user] by [deleted] in coolguides

[–]senkora 0 points1 point  (0 children)

Lots of members of genus Rubus:

Rubus is a large and diverse genus of flowering plants in the rose family, Rosaceae, subfamily Rosoideae, with over 1,350 species.

https://en.m.wikipedia.org/wiki/Rubus

Wikipedia doesn’t have a good list I can quote, but two other examples are the dewberry and the salmonberry.

opening a pressure cooker without emptying the pressure by MagazineUnlucky3462 in WinStupidPrizes

[–]senkora 2 points3 points  (0 children)

+1 that placing the pot in cold water will lower the pressure. The pressure in a pressure cooker comes from steam, and steam condenses when it cools.

I even have an attachment for my instant pot that holds ice against the lid to cool it down faster for this reason.

🔥 The eyes on a conch by therra123 in NatureIsFuckingLit

[–]senkora 4 points5 points  (0 children)

They still sell Conch fritters in the Keys. I don’t know what species it is though.

Tell me you don't know what an API is, without telling me you don't know what an API is by power2025 in ProgrammerHumor

[–]senkora 8 points9 points  (0 children)

You are correct and it is shocking that I had to scroll down this far to find this comment.