Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

i mean, i dont smoke. but from what i see of other peopes attempt, it sure looks to be

Adbot
ADBOT LOVES YOU

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

what other life goals are np hard?

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Raluek posted:

is it np, or is it hard, op?

i just can’t get hard for smoking

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

OldAlias posted:

smoking being “benign” in the short term and non intoxicating, a break from work, easy social crutch, &c make it harder to quit than it would be otherwise. i mean it sucks and it can rly wrap it’s tentacles around your brain but it was still easier to quit than opes or smth on a willpower and subjective misery standpoint

quitting smoking isn’t at all np hard it’s just hard

what about “opes” then? np hard?

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

hbag posted:

what is "np hard" anyway

it’s computer lingo for “almost impossible”

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

OldAlias posted:

cig cravings as some variation of the halting problem

can you expand upon this?

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

hbag posted:

how it's calculated, mainly

it’s kind of a feeling thing. you count how many nested loops you have and then say “this feels like O(n log n) or whatever

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Cybernetic Vermin posted:

people go something like:

f(x,y) \in O(g(x,y)) iff there exists c and m such that f(x,y) < m*g(x) for all x>c and y>c

issue is that this program is then in O(x+y):

code:
int f(int x, int y) {
    if(x==0) {
        return prime_factors(y);
    }
    else {
        return x;
    }
}
since picking c>0 immediately makes the prime factorization disappear.

wow, sounds like picking c>0 is a great trick to speed up your code

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

i like that this thread is about the time complexity of anti smoking

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

i just thought of a constant time traveling salesman algorithm

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Achmed Jones posted:

this thread is confusing and i don't like it

this thread is very yospos

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

git apologist posted:

i remember when smoking in bars was banned in nz and one weekend clubs were like smokey mysterious cool kids zones and the next they were revolting miasmas of fart, sweat, vomit, and piss aromas

i dont remember that.

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

well-read undead posted:

same thing happened here, ruined bars for me. the smoke haze did a lot of heavy lifting for the atmosphere

wait a second, these aren’t sexy, mysterious strangers, they’re a bunch of drunk, depressed burnouts

e: sorry, i shouldn’t sign my posts

same thing happened here and it made bars a lot better for me. the smoke haze smelled terrible and stuck to my hair and clothes so i'd have to go home and shower before bed and throw my clothes in the washing machine or i could still smell the cigarettes in my bedroom the next morning

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:


you know what you need to do.

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

shitface posted:

he probably just wanted a smoke

that’s just, like, your opinion, man

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

echinopsis posted:

some posters in this forum don’t even have a page 2 (or more 🫣) of probes


what in the ever loving gently caress

its messed up

Adbot
ADBOT LOVES YOU

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Achmed Jones posted:

oh hey the title is about whether quitting smoking is _np_ hard. now things are much less confusing

congrats on learning to read

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply