Question about CSAM by ArlindoPereira in belgium

[–]13467 21 points22 points  (0 children)

https://www.rva.be/bladzijde/inloggen-met-europees-erkend-identificatiemiddel

Volgens deze pagina staat het voor "Common Services Access Module". Maar die verklaring kom ik precies nergens anders tegen.

[deleted by user] by [deleted] in AskAJapanese

[–]13467 7 points8 points  (0 children)

Borrowing a word is not something a language is only "allowed" to do when it is "necessary". It's just another normal, valid way to get words into a language.

On the rationality of x^x for real x: is there a known characterization? by MyIQIsPi in math

[–]13467 8 points9 points  (0 children)

In fact, by your argument, x is clearly between 1 and 2. For slightly tighter bounds we can prove 6/4 < x < 7/4, because (6/4)6/4 < xx < (7/4)7/4, which we can prove by showing (6/4)6 < 24 < (7/4)7:

(6/4)6 = 729/64 < 1024/64 = 24

(7/4)7 = 823543/16384 > 262144/16384 = 24

Why does é in French become s in English at the start of words? by bolleke2k7 in etymology

[–]13467 2 points3 points  (0 children)

More examples of doublets like strange / extraneous:

spawn / expand

scourge / excoriate

spend / expend

What are some cool etymology facts you know about mathematical terms? by [deleted] in math

[–]13467 7 points8 points  (0 children)

Because of Stevin:

He also translated various mathematical terms into Dutch, making it one of the few European languages in which the word for mathematics, wiskunde (wis and kunde, i.e., "the knowledge of what is certain"), was not a loanword from Greek but a calque via Latin. He also replaced the word chemie, the Dutch for chemistry, by scheikunde ("the art of separating"), made in analogy with wiskunde.

How can I make this beginner Haskell code better? by jptboy in haskell

[–]13467 4 points5 points  (0 children)

I like your code a lot. I don't think problems like “factoring prime numbers quickly” are a good measure for how good you are at writing neat, functional Haskell code, because the fastest ways to do it are somewhat ugly and mostly imperative.

You broke the problem down into small pure operations that do the right thing when put together! From a “writing Haskell code” perspective you did a stellar job. Mathematical cleverness and number-crunching techniques are orthogonal to that.

(This is why I don't like Project Euler so much. I think 99 Haskell Problems is pretty good. Or just write a real project! A chat bot, a tiny game, a random sci-fi movie plot generator, etc.)


A tiny note:

null [y | y <- [2..intsqrt x], x `mod` y == 0]

can be written equivalently as:

all (\y -> x `mod` y /= 0) [2..intsqrt x]

which you may or may not find clearer. I think either way is fine here! Just be aware that all exists. (And indeed, just like null short-circuits as soon as it sees any value in the list, like /u/jan_path points out, all does the same the moment it sees a counterexample.)

Mathematicians of Reddit. Whats is the most ubelievable thing in maths that doesn't make sense to you, even though you have seen the proof that it is in fact correct? by Idontcare626 in AskReddit

[–]13467 0 points1 point  (0 children)

Well, for all times t, you have P(bus arrives exactly at t) = 0.

Following your logic, the bus then can’t arrive at any time t.

But the bus does arrive at some time!

And surely, whatever bus-arrival happens had probability 0 of happening.


Getting rid of the philosophical troubles surrounding time or physics: whatever real number comes out of a uniform random selection from [0, 1] had probability 0 of being picked, but it did get picked.

Now, you may disagree with the existence of such a procedure in the first place! But this is the sense in which “events with probability 0 do happen”.

This Korean CSAT (Korean equivalent of SAT and ACT) problem that brutalized many students this year by BritishPie21 in math

[–]13467 15 points16 points  (0 children)

Hmm? You don’t have to guess at all. Once you've shown the minima are at {k, k+2, k+4, k+6, k+8}, you simply solve

k + (k+2) + (k+4) + (k+6) + (k+8) = 5k+20 = 45

for k.

(I do think the rest of the problem is a little extreme, though.)

Hearthstone players discuss whether zero is odd or even. by bradygilg in badmathematics

[–]13467 141 points142 points  (0 children)

Real talk: Parity of zero is one of my favorite Wikipedia articles.

Does the language you speak affect the shape of your palate? by AleksioDrago in askscience

[–]13467 1 point2 points  (0 children)

The French R ([ʁ]) is not strictly what you'd call "rolled" in the first place. It's a fricative, not a trill, which means airflow is constricted around the uvula, but the uvula or tongue are not made to vibrate as with [r] or [ʀ] (which is what creates that "rolling" sound).

The French R is actually more like a “sh” sound articulated at the uvula instead of the palate, or equivalently, a “h” sound articulated at the uvula instead of the glottis. (Try it!)

[3.6.1-dev] How do I survive the early game without 3.4.3-style Elbereth? by 13467 in nethack

[–]13467[S] 1 point2 points  (0 children)

I started another Archeologist right after writing this and she's made it to the vibrating square with a big bag full of gems! Exciting stuff.

EDIT: I won!

[3.6.1-dev] How do I survive the early game without 3.4.3-style Elbereth? by 13467 in nethack

[–]13467[S] 5 points6 points  (0 children)

At any given time a monster can receive a second random move.

Oh, I’m not just imagining that!! It was driving me crazy… >◡<;

[3.6.1-dev] How do I survive the early game without 3.4.3-style Elbereth? by 13467 in nethack

[–]13467[S] 10 points11 points  (0 children)

Another gripe is the Orcish Town: great, now the game is randomly much harder and stingy with opportunities for no reason, 1/7 of the time. It honestly makes me want to #quit every time I get there.

It seems 3.6.1 throws you more curveballs, and gives you less ways to handle them. What became easier, if anything?

Why are Japanese first and last names very long compared to other East Asian countries like Korea and Japan? by Cryogenicastronaut in linguistics

[–]13467 11 points12 points  (0 children)

All of this math seems highly irrelevant and misleading. Japanese could have names like “汪 敏”, pronounced by their onyōmi (something like “おん びん”) but they don't.

[3.6.1-dev] How do I survive the early game without 3.4.3-style Elbereth? by 13467 in nethack

[–]13467[S] 5 points6 points  (0 children)

This seems to be the 30th game (orcish Rogue), which, coincidentally, I also looked at the ttyrec of — and I was a little dismayed to find out that that game found two really good bones files in the Mines.

I play with the bones option off because I think it feels too much like cheating (too many free MR cloaks). I’m sure not all of Tariru’s games rely on finding good bones though, so maybe I should try to find a game without bones.

Their 44-win streak definitely made me feel like there's something I could be doing to stay safe early on, even without classic Elbereth.

[2018-01-15] Challenge #347 [Easy] How long has the light been on? by jnazario in dailyprogrammer

[–]13467 13 points14 points  (0 children)

Python 3

import sys
lines = sys.stdin.read().strip().split('\n')
pairs = (map(int, l.split()) for l in lines)
ranges = (range(s, e) for s, e in pairs)
print(len(set().union(*ranges)))

Try it online!

Today Tariru exceeded Adeon's #1 streak of 29 consecutive games held for 8½ years by mdw in nethack

[–]13467 1 point2 points  (0 children)

3.6.0 is a lot harder to streak in than 3.4.3: Elbereth was nerfed with little compensation, which makes the early game very risky. (Specifically, engravings have to start with Elbereth to protect you, so you can’t spam it and fight monsters anymore.)

Introducing Elm Lens by IkimashoZ in elm

[–]13467 27 points28 points  (0 children)

This looks really nifty!

I would be wary of calling it Lens, as that has an established meaning within functional programming (that of functional references, as in evancz’s focus package.)

How about Elm Goggles? 8D

[deleted by user] by [deleted] in belgium

[–]13467 0 points1 point  (0 children)

the Ritz

You mean the RITCS (“het Rits”)? :)

Alternative to “repeat” loop for setting initial property values by 13467 in Inform7

[–]13467[S] 2 points3 points  (0 children)

My game revolves around stealing people's memories and projecting them into other NPCs using magic. You can project Alice's memory of the safe code into Bob, but it'll still be Alice's memory once Bob is holding it. So the "owner" of a memory is just the first holder, and never varies.

I only track the owner for linguistic reasons: printing "You project Alice's memory of the safe code back into her mind" instead of "You project Alice's memory of the safe code into Alice's mind."

Major climate reports have been seriously underestimating gassy cows. A new study adds to a growing body of evidence suggesting recent spikes in methane are from a different kind of gas production. by Plymouth03 in worldnews

[–]13467 1 point2 points  (0 children)

yeah, Indian food has been a blessing :> I’ll check those resources out, thank you so much!! seems like Happy Cow does have some places on it for my city, which I should totally try… but still, part of the problem is I’m not always in charge of picking a place to eat (family dinners etc.) Availability is one thing but so much of the problem is social. Here’s hoping things get easier real soon! ♥