What features are used to describe accents?

Is there a standard set of attributes/features that can be used to describe a person's accent? I'm trying to avoid using things like where a person is from or a predefined list of accents to categorise a person's accent and to instead treat it as a continuum, so something like a list of numbers that tells you what a person sounds like when talking.

reddit.com
u/neuralbeans — 5 days ago
▲ 3 r/MLQuestions+1 crossposts

Best practices when running a benchmark on online models [D]

I'm developing a benchmark for a low resource language and I don't want it to be leaked and used for training when it is being used to get predictions. For locally run models it shouldn't be a problem, but for models that are only accessible via API, it is. Is there an established way to evaluate online models without the input data being lost? Do you trust Google and OpenAI when they say that they do not use your inputs for training when you have a paid account?

reddit.com
u/neuralbeans — 7 days ago

In action genre, what is it called when a disadvantaged character is in a bad situation and then something happens and they become the most dangerous thing on god's green earth?

I think the best execution I've seen of this is in Blade where the protagonist is a half vampire who lost a lot of blood and is too weak to fight and is then given blood to drink and suddenly gets up and starts killing everything in his path. Dragonball Z does this a bunch of times where a character becomes so angry that they transform into a much stronger version of themselves but the character quickly starts struggling again, which is a bit annoying. The Rundown also does it where the protagonist spends the whole movie refusing to use guns and then is in a situation desperate enough to make him change his mind and starts killing bad guys left and right, although it doesn't last very long either.

So what is this trope called and what are some examples where the pay off is properly satisfying and not just a temporary relief?

reddit.com
u/neuralbeans — 20 days ago
▲ 9 r/RNG

Is there a theory on how to make a PRNG or is it alchemy?

I am getting the impression that pseudo random number generators are made by trial and error and that there are no principles on how to deterministically generate a sequence that is consistently almost indistinguishable from sampling from a true uniform distribution. Is this the case?

reddit.com
u/neuralbeans — 21 days ago
▲ 15 r/devops

Best practices for exposing multiple websites in Docker containers on the same Ubuntu server to the web

I have an Ubuntu web server that I'd like to contain multiple websites on. Each website should have its own isolated environment in a Docker container (open to suggestions if Docker is not ideal).

I'm thinking that the public URLs should be like

  • example.com/website1
  • example.com/website2
  • etc

What's the best way to make this connection between the public URL and the Docker container (also open to suggestions for better ways to expose the containers)?

Another question: Would the logs of each website be inside the container or are they supposed to be outside for easy review?

reddit.com
u/neuralbeans — 1 month ago
▲ 21 r/datastructures+1 crossposts

A data structure that maps indexes to values (like an array) but that is only populated once and then deletes values by index in sublinear time

There are algorithms that require having a populated array from which the i^{th} value is repeatedly removed (which changes the indexes of the values after it) until it is empty. An array removes a value in linear time. Is there a data structure that allows for sublinear time arbitrary value removal?

For example:

start: [A, B, C, D, E]
remove 2: [A, B, D, E]
remove 0: [B, D, E]
remove 2: [B, D]
remove 1: [B]
remove 0: []

On average, removing all the items in arbitrary order is a quadratic time operation. Is there something faster?

reddit.com
u/neuralbeans — 1 month ago

Someone guessed the password of a superuser on an Ubuntu server. How to make sure nothing malicious was installed?

The breech should be fixed now but is it possible to check for any DDoS malware installed on the server or some other malicious software? What are the recommended steps now short of reinstalling everything?

reddit.com
u/neuralbeans — 1 month ago

Why cryptographically secure random number generation must be difficult to reverse

CSPRNG algorithms like Blum Blum Shub make use of one way functions to transform one PRNG state into the next. For example, modular squaring of the state (modular square root requires factoring) or modular exponentiation (discrete logarithms are computationally hard).

It seems that the reasoning is, if the random state is compromised (state compromise extension attack), then the attacker would be able to know what the future random numbers will be but not what the previously generated random numbers were. I am not finding any information on why this particular requirement is important. How is it useful to be able to keep past generated random numbers secret when future ones are compromised?

reddit.com
u/neuralbeans — 2 months ago

Practical one way function candidates

A one way function is a function that is fast to compute for any input but slow to invert for any output, which is useful for cryptography. Two commonly used primitives for one way functions are integer factorisation and discrete logarithms.

Can any NP problem be used as a one way function?

Is the problem with most NP problems like subset sum problem that they require a large list of numbers as input, making them impractical for most applications?

reddit.com
u/neuralbeans — 2 months ago

Best practices for long inline comments

Say you have a list with a each item in a separate line and a comment next to the item like this (Python):

[
    item1, # a comment
    item2, # another comment
    item3, # another comment
    item4, # another comment
]

What do you do when a comment becomes too long and needs to be split into several lines?

Would do this?

(A)

[
    item1, # a comment
    item2, # another comment

    # a very very very long
    # comment
    item3,

    item4, # another comment
]

Or this?

(B)

[
    item1, # a comment
    item2, # another comment
    item3, # a very very very
           # long comment
    item4, # another comment
]

Or would you just rewrite the whole list like this:

(C)

[
    # a comment
    item1,

    # another comment
    item2,
    
    # a very very very
    # long comment
    item3,

    # another comment
    item4, 
]

Or something else?

reddit.com
u/neuralbeans — 3 months ago
▲ 37 r/ACDC

What's different about Stiff Upper Lip compared to other Brian Johnson albums?

I like all of Bon Scott's albums but only Stiff Upper Lip from Brian Johnson. What's different about it?

reddit.com
u/neuralbeans — 3 months ago
▲ 21 r/arkham

How on Earth is Joker invincible to Batman's beatings?

Is there an in-universe reason for why Joker just brushes off any amount of punches Batman lands on him throughout the series?

edit: Should have focused on Origins.

reddit.com
u/neuralbeans — 4 months ago

What tool do you use to write speech transcriptions?

I'm looking for a program that performs automatic transcription on a part of a given audio, allows me to fix mistakes in the transcription, retrain the transcription model on the corrected transcription, and then use the improved model to transcribe the next part of the audio. A human in the loop pipeline. Does anyone here have any recommendations?

reddit.com
u/neuralbeans — 4 months ago

Recommendations for speech annotation tools [D]

I'm looking for human-in-the-loop platforms that allow you to automatically transcribe audio followed by manually fixing the transcriptions and fine tuning the model. Is there a local (not an online service) installable platform for doing this?

reddit.com
u/neuralbeans — 4 months ago

Recommendations for data annotation tools

I'm looking for human-in-the-loop platforms that allow you to automatically transcribe audio followed by manually fixing the transcriptions and fine tuning the model. Is there a local (not an online service) installable platform for doing this?

reddit.com
u/neuralbeans — 4 months ago
▲ 4 r/words

Old examples of word blending

Word blending is when **parts** of different words are joined together to form a new word e.g. the 'gate' in Watergate Hotel scandal forming pizzagate and the 'fie' in selfie forming 'carfie' for selfies with your car (as opposed to compound words that are formed by joining two whole words together e.g. toothpaste).

​

Are there older examples of this happening? I'd be very surprised if Shakespeare never did it.

reddit.com
u/neuralbeans — 4 months ago

How are points determined for endgame practice training?

I'm playing mate in 1 endgame practice (https://lichess.org/training/mateIn1) and sometimes I get 1 point, sometimes 2, 3, 4, and sometimes 0, and I don't see what determines the number of points.

u/neuralbeans — 4 months ago

Is there a way in physics to make time speed up instead of slow down?

Time dilation makes an accelerating object experience less time than someone at rest. A practical use for this is keeping something fresh. Is there some way in physics to make an object experience more time instead? A practical use would be to make a computer perform more work in the same amount of time, for example.

reddit.com
u/neuralbeans — 4 months ago