Lurker > Sahuagin

LurkerFAQs, Active DB, DB1, DB2, DB3, Database 4 ( 07.23.2018-12.31.2018 ), DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Board List
Page List: 1, 2, 3, 4, 5, 6, 7, 8 ... 9
TopicExplain how law and morality aren't the same thing?
Sahuagin
10/24/18 11:47:34 PM
#28
something can be immoral without it being illegal and vice-versa. they're not even kind of the same.

cheating on an exam is not illegal, but it is immoral.
slavery has been legal, though it was immoral.
drinking alcohol (really I guess, producing, selling, or purchasing alcohol) has been illegal, though it is not immoral.
etc.

a good example of an immoral law in Canada at the moment is that it is currently *illegal* to carry *any item whatsoever* for purposes of self-defence. (you can defend yourself, but you can't carry an object with intent to use it for self-defence.)
---
TopicHey buddy, it's 45 degrees outside. Why are you wearing shorts?
Sahuagin
10/24/18 11:24:59 PM
#26
that's +7C. when working outside, the limit for shorts was about -4C. anything below that and my legs start to noticeably sting and ache.
---
TopicSo, how are pineapples profitable?
Sahuagin
10/23/18 11:03:00 PM
#21
pipebomb_phil posted...
I feel like I'm missing something.

you're probably missing the huge amount of land area that's devoted to farming.

pick a city (in a temperate climate) and look it up on google maps sattelite mode, zoom out, and then scroll to what surrounds the city. the never ending patchwork-quilt of green and brown squares and rectangles are farms.

(won't work everywhere. desert areas will just have never ending desert. super-urban areas will just have never ending city. mountainous areas will just have never ending wilderness. etc.)
---
TopicWhat are your last five played steam games?
Sahuagin
10/23/18 8:55:46 PM
#44
Factorio (554 hours)
Dragon Quest XI (168 hours)
Dark Souls 3 (342 hours)
Dirt Rally (2 hours)
Dirt 4 (133 hours)

Lokarin posted...
I'm told Rimworld is just Dwarf Fortress with graphics... is that true?

sort of, but not entirely. DF is like off-the-scale complex for one thing, pretty much in a class by itself. other than that, DF allows you to dig underground, with

otherwise, they do sort of have a similar idea where you only have indirect control of your characters. you set up rules and hope that if your colonists follow those rules, they'll do things you want them to do and not get themselves killed. (not 100% sure how well that applies to DF.)
---
Topicexcel question
Sahuagin
10/20/18 12:08:18 AM
#8
wait, though if you're using putty then you want to send it through SSH or something

there might be some kind of escape sequence that represents F9

https://unix.stackexchange.com/questions/53581/sending-function-keys-f1-f12-over-ssh

seems to say it would be ^[[20~ but I'm not sure. depends which protocol you're using.
---
Topicexcel question
Sahuagin
10/20/18 12:05:16 AM
#7
you can send key presses to the active window using the .NET SendKeys class

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys?view=netframework-4.7.2

it's a wrapper around the win32 SendInput function, which would be a lot harder to use

https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendinput

you'd have to be in something like C#, VB.NET, or maybe PowerShell to use SendKeys.

SendInput would be easiest to call from win32 C++, but you could also call from C# and VB.NET, and maybe from VBA, but it wouldn't be easy.
---
TopicWhy is this board still linked to the poll?
Sahuagin
10/19/18 9:46:01 PM
#4
the battle thing is now separate from the daily poll
---
TopicShould chili have beans?
Sahuagin
10/19/18 9:42:41 PM
#27
what does the chili consist of if it doesn't have beans?
---
TopicBest video game in the last 10 years?
Sahuagin
10/19/18 2:03:12 AM
#17
Dark Souls 1 or 3 or Factorio

also maybe Death Road to Canada

I want to say Shenzhen I/O but I guess I can't really call it the best game, but it's definitely Top 5 or Top 10

Skyrim does not deserve mention except maybe as the most poorly designed yet still popular game
---
Topicjust got skyrim, what are your favorite mods
Sahuagin
10/17/18 10:58:18 PM
#5
haven't played in a while but SkyUI is the main one.

couple others were I think
better sorting
unofficial patch
lighter potions because 0.5 pounds per potion is ridiculous

from the look of it though there are a lot of good ones out there that I've never tried
---
TopicChoose a superpower.
Sahuagin
10/17/18 10:47:22 PM
#68
Zeus posted...
aging is a clear limit because there's no probability involved in aging.

you'd age, but you might also live a very long time. most/all age-related things you die of have % chances of occurring and are extremely probability based (cancer, heart disease, alzhiemers, etc.).

(technically nothing is probability based, and its just our inability to have full knowledge of the situation that forces us to understand it in terms of probability, but if we're allowing for a luck super-power in the first place, then we've already decided to ignore that issue.)

(I guess you basically say this later in your post.)
---
TopicYou're playing a strategy game where every faction is good at something...
Sahuagin
10/17/18 9:30:37 PM
#9
Lokarin posted...
How do you capitalize on this advantage?

in a strategy game, it would be something like to identify your enemy's weakness and use your limited advantage to your... advantage.

but really, I think such a race is the worst one to choose. it reminds me of picking Mario in SMB2. He's not the fastest, strongest, highest jumper, or longest jumper, he's just average at everything. which is pretty terrible.
---
TopicChoose a superpower.
Sahuagin
10/17/18 9:26:45 PM
#66
darkknight109 posted...
That sounds like it's extending beyond luck, though. For instance, if I tried to code a video game, it would be shit. I haven't coded in almost 15 years and even then my coding skills were on the level of writing macros in excel or super simple functions in C++ or Matlab - I simply do not have the technical knowhow to do anything related to video game design. In fact, you literally would not be able to play any game I made, because I don't even know how to make an executable file.

So that leaves one of two possibilities - either my jumbled mess of code somehow becomes wildly popular, in which case I'm flat-out altering the material properties of the universe because it's making people think that something objectively terrible is fun and entertaining, or I reach a level of omnipotence such that slapping my hand on the keyboard like a frightened chimp miraculously produces code that is not only functional, but completely fantastic.

you could still learn, and super-powered luck would help tremendously. every time you tried to do anything, you'd make the most beneficial possible decisions. what makes learning hard is when you struggle and struggle to find the answer to your question and can't find anything. with enough luck, every time you should get stuck you'd stumble into the right answer immediately. the only way it wouldn't help is if you have problems learning in the first place, or procrastinating and not doing anything even though you could. but that would be a problem with any super power.
---
TopicChoose a superpower.
Sahuagin
10/17/18 9:11:53 PM
#64
Zeus posted...
I thought you were implying that you'd actually learn the material rather than just get it right.

it depends how far it's taken. a moderate amount of luck would make learning (really everything) easier. but perfect luck would make learning unnecessary.
---
TopicChoose a superpower.
Sahuagin
10/17/18 10:41:41 AM
#57
Zeus posted...
Or you could just guess right each time.

is that not what I said
---
Topicyoutube is down
Sahuagin
10/16/18 10:06:59 PM
#32
LinkPizza posted...
I think it's back... maybe...

Edit: NVM... But it seems to be doing better...

all the videos I had open and playable are now dead, so I don't think so
---
Topicyoutube is down
Sahuagin
10/16/18 10:02:12 PM
#26
I can watch some videos but everything else on the video page is disabled.
---
TopicChoose a superpower.
Sahuagin
10/16/18 9:57:46 PM
#49
darkknight109 posted...
Luck - even extremely good luck - is no substitute for skill.

super-power levels of luck would be. like a lot of these, it depends how far you take it, but you could learn almost anything extremely easily because every time you do something risky or chance-based, the outcome is positive. taken far enough it would almost be like omniscience because every guess would be right.
---
TopicChoose a superpower.
Sahuagin
10/16/18 9:39:05 PM
#47
keyblader1985 posted...
Waterbending/bloodbending.


yeah k, I've never read/watched whatever that's from ("Avatar") but that's kind of what I'm talking about.

but this could be an insanely powerful ability without even stretching it very far. a hydrokinetic would almost automatically be more powerful than magneto right off the bat. it does depend what you can do with it though. maybe letting you make shields, platforms, and letting you "hold" things with water would be taking it too far.

I wonder if this is why iceman is considered an omega-level mutant (reading about it, doesn't seem to be)
---
TopicChoose a superpower.
Sahuagin
10/16/18 9:12:15 PM
#45
I was thinking about this recently how I would LOVE hydrokenesis. you'd be basically the world's greatest plumber for starters and could unclog any drain or stop any leak.

thinking about it, it would be pretty devastatingly offensive as well, (all this depends exactly how it works of course). you'd be like Magneto, but manipulating something that everyone is made of.

not to mention other things like using water pressure to your advantage or creating breathable areas underwater. really it could be one of the best super powers ever, and I'm a little surprised I've never seen it before.
---
TopicCan anyone help me with this c++ program?
Sahuagin
10/14/18 12:20:09 PM
#12
rather than return 0 in the while loop, which will exit the program since it's in the main function, instead decrement n and then you will count down to zero.

main function then looks something like:

int main() {
...int n;

...cout << "Enter a positive integer: ";
...cin >> n;

...while (n >= 0) {
......if (Prime(n) == 0)
.........cout << n << " is a prime number.";
......else
.........cout << n << " is not a prime number.";
......n -= 1;
...}
}


you might have to change it to have a separate counter that counts up to n if you really need it to count up to the number instead of down to zero.

if you haven't implemented primes and you're supposed to then you're missing a part of the assignment.
---
TopicITT: old shit that still makes you laugh
Sahuagin
10/13/18 3:02:35 AM
#94
TopicFavorite Mel Brooks film?
Sahuagin
10/12/18 12:17:57 AM
#13
I've seen Spaceballs, Blazing Saddles, and Young Frankenstein. I think I enjoy Spaceballs the most, and now that I remember things like Ludicrous Speed, and radar Jaming it definitely gets my vote.

Blazing Saddles is good, but something about the pacing of the dialogue I find annoying. everything is said at such a slow pace for some reason.

Young Frankenstein I think might actually be my favorite, but I think I'd like it a lot more if I watched the original Frankenstein first, which I assume it's parodying.

(both Blazing Saddles and Young Frankenstein get huge points for having Gene Wilder).
---
Topichow many glasses of water do you drink a day you fatass
Sahuagin
10/11/18 10:44:46 PM
#47
for the taste just keep a jug of water in the fridge. there are those brita filter jugs you can get, which I have, but I suspect that the filter does almost nothing, and the part that does really help is (I think) that the chlorine evaporates while it sits in the fridge, as well as the water getting really cold, so then it tastes great when you drink it later.

(I think Brita wants you to think it's the filter, but even after going through the filter it still tastes terrible. it's only after waiting hours or a day that the water starts to taste great.)
---
TopicCool function I wrote
Sahuagin
10/11/18 10:05:02 PM
#26
Yellow posted...
It isn't a parallel to C++ pointers like I thought it was.

it is, I think. (I'm not a huge expert on C++ and haven't used it in a long time so I could get something wrong here.)

using ref/out basically adds a single level of indirection. so an int becomes an int "reference/pointer". or an object reference, which is already a "reference/pointer", gets a second level of indirection (a pointer to a pointer/reference to a reference). "passing by reference" basically means "add another level of indirection so that you can manipulate the source too". but a C# reference variable already is a reference, so passing it by reference just means you want to also possibly change the reference instead of the object. (tricky semantics where we're passing a reference by value, or passing a reference by reference, which is different from passing a value by value or by reference.)

it would work the same way in C++. in C++ if you want the function to possibly modify your Object, pass an Object* instead (or Object&). if you want it to possibly modify your Object*, pass an Object** instead.

in C#, you can't really have a value typed object, except with "structs" (which confusingly work nothing like C structs). a value-typed object would work like an int. in C++ saying Object o; allocates an Object sized chunk of memory *right there*. no pointer or anything, you have an object existing right there in the function. that's C++. to do that in C# you'd need a struct. (but you don't want big things to work like that anyway. only use structs for small things; basically they are user-primitives.)

(in C++ 'struct' means something like "exactly the same as class except with different default visibility (everything public by default)". in C# it means "this is a value type, not a reference type".)
---
TopicIs this possible to do in excell or Google docs spread sheet (help please).
Sahuagin
10/11/18 9:30:47 PM
#11
it seems like it's a pain to use conditional formatting, but you can use a conditional formatting formula like this:

=AND(A1="APPLE",COUNTIF($A$1:A1, "APPLE")=3)

so, highlight this cell if it contains "APPLE" and if the count of occurrences of "APPLE" from the top of the column to this cell is 3. A1 is written relative so that when you copy the conditional format to other cells, it refers to the particular cell and not A1.

but copying the conditional format is extremely tedious unless there's a better way I don't know about. pasting it as a range doesn't seem to work because it applies the conditional format to the range, when you want a different one per cell. Also this is like n^2 efficiency when it could just be linear.

VBA or interop would be a lot easier.
---
TopicNuclear power...
Sahuagin
10/10/18 11:40:46 PM
#27
Mead posted...
We have an endless supply of energy from the sun, we just need to get better at harnessing it

this, at least somewhat, though from what I've heard china is beating everyone to it.
---
TopicAwesome, just got a fucking traffic ticket
Sahuagin
10/10/18 10:08:32 PM
#11
MannerSaurus posted...
the middle of the night, and I rolled from 1st gear at like a 1-4MPH idle instead of coming to a complete stop

k yeah I wondered. "blowing a stop sign" sounds a lot worse than that.
---
TopicAwesome, just got a fucking traffic ticket
Sahuagin
10/10/18 9:54:11 PM
#7
MannerSaurus posted...
For blowing a stop sign and then speeding. Fair, next.

I dunno if I can say this nicely, but I think I would expect you to take a little more care than that when driving.
---
TopicMouse control via glasses/eye movement.
Sahuagin
10/10/18 9:07:22 PM
#11
TopicIs this just a Canadian thing, or do other people do it too?
Sahuagin
10/10/18 9:03:23 PM
#42
Lokarin posted...
In Canada it's Coke... even if you're ordering Pepsi, it's Coke.

it depends what you mean here. soft drinks in general are "pop" not "coke", but that's not really what you said anyway.

it's true that if you don't know whether a place is sponsored by Coke or Pepsi, then you'd just ask for a "Coke" if you wanted a cola. But then, I'd assume you'd ask for what you personally prefer. no one who preferred pepsi would default to asking for coke.
---
Topici've had around 1200mg of caffeine in the past ~2 hours.
Sahuagin
10/10/18 1:06:30 AM
#40
helIy posted...
Sahuagin posted...
I guess because it was all at once and fast absorbed?

yeah.

is "caffeine powder" that you're referring to the same thing as "powdered caffeine"? as little as 2 teaspoons of powdered caffeine can be fatal. so then yeah, be careful.
---
Topici've had around 1200mg of caffeine in the past ~2 hours.
Sahuagin
10/10/18 12:03:58 AM
#38
helIy posted...
they aren't lying about caffeine supplements though. i absolutely did fuck up with caffeine powder. but as it is, it looks like i'm going to be fine.

how did you 'fuck up'? after everything I've now read about this, 1200mg is nothing. it's a lot of caffeine, but that was the point wasn't it? it's nowhere even close to anything approaching dangerous amounts. I guess because it was all at once and fast absorbed?
---
Topici've had around 1200mg of caffeine in the past ~2 hours.
Sahuagin
10/09/18 11:55:45 PM
#36
SunWuKung420 posted...
Sahuagin posted...
does it say that? I don't see that anwhere


SunWuKung420 posted...
Caffeine overdose can result in a state of central nervous system over-stimulation called caffeine intoxication (DSM-IV 305.90). This syndrome typically occurs only after ingestion of large amounts of caffeine, well over the amounts found in typical caffeinated beverages and caffeine tablets (e.g., more than 400500 mg at a time).

you're misreading it. it means that a regular drink has 400-500mg, and to OD you need to (repeatedly) consume well over the amounts in those kinds of beverages.
---
Topici've had around 1200mg of caffeine in the past ~2 hours.
Sahuagin
10/09/18 11:52:14 PM
#32
SunWuKung420 posted...
So fix wikipedia. It says 500-600 mg at once is OD levels. 1200mg in 2 hours is a lot in a short window, and can be dangerous for unhealthy people. Helly spent a lot of time in the hospital recently. He told us all about his balls.

does it say that? I don't see that anywhere, but I see this:

The LD50 of caffeine in humans is dependent on individual sensitivity, but is estimated to be 150200 milligrams per kilogram of body mass (75100 cups of coffee for a 70 kilogram adult).


I guess you're misreading this sentence:
This syndrome (caffeine intoxication) typically occurs only after ingestion of large amounts of caffeine, well over the amounts found in typical caffeinated beverages and caffeine tablets (e.g., more than 400500 mg at a time).

so, in other words, to get caffeine intoxication/OD requires consuming well over the 400-500mg that is found in typical caffeinated beverages.
---
Topici've had around 1200mg of caffeine in the past ~2 hours.
Sahuagin
10/09/18 11:37:40 PM
#29
SunWuKung420 posted...
I already said that

k, but you didn't explain it very well. at first I thought you were mocking Dr Foxx in that post.

SunWuKung420 posted...
the OD level is 500-600mg

if a cup of coffee can have 200mg, how is the overdose level 600mg if not less? if I drink 3 cups of coffee I'm ODing on caffiene?
---
Topici've had around 1200mg of caffeine in the past ~2 hours.
Sahuagin
10/09/18 11:34:20 PM
#26
just a guess but sun probably googled it too hastily and misread
qo0TMzR

...milligrams, of caffeine per eight-ounce cup...
---
TopicI wish the flu vaccines didn't make your arm feel like it's been punched.
Sahuagin
10/09/18 10:36:49 PM
#38
Sahuagin posted...
holding it underhand and everything

thinking about this I guess it's actually overhand? I dunno, a stabbing motion like the psycho scene anyway.
---
TopicI wish the flu vaccines didn't make your arm feel like it's been punched.
Sahuagin
10/08/18 11:07:28 PM
#25
captpackrat posted...
Depends a lot on the person giving the shot. Some people are so smooth I don't feel a thing. Some do indeed feel like being punched.

this. the last time I had one, she literally stabbed it into my shoulder, holding it underhand and everything. was bruised pretty badly and hurt a lot for a week or two.
---
TopicIs this just a Canadian thing, or do other people do it too?
Sahuagin
10/08/18 10:03:47 PM
#18
Ogurisama posted...
Nightengale posted...
Lokarin posted...
We call all mac and cheese "kraft dinner"

idk about that, KD to me has always been the boxed stuff with the weird orange powder in it. i would not call a homemade mac and cheese KD

although i dont really know of any other brands of the boxed stuff

This, i have never heard anyone call home made mac and cheese kraft dinner

these
---
Topicfavorite scene from a movie?
Sahuagin
10/08/18 3:07:36 AM
#21
VideoboysaysCube posted...
When the T-rex breaks out of the paddock.

yes, good one
---
Topicfavorite scene from a movie?
Sahuagin
10/07/18 10:55:29 PM
#9
the terminator shooting the minigun and grenades out the office window of cyberdyne

(noticed the title says "favorite" but the post says "best". that I think is candidate for the best scene of all time, but I don't think I'd say it was my favorite.)
---
TopicThe TV show "Alias" looks cool. Anyone seen it?
Sahuagin
10/07/18 10:44:44 PM
#10
can't remember how much of it I watched. it was really good at first. then one season kind of started with a weirdly arbitrary setup and I got bored quick. can't remember the details. I expect the season would have eventually gotten interesting, but not soon enough.
---
TopicYour favourite horror game series?
Sahuagin
10/07/18 10:42:09 PM
#27
Doom if it counts (Doom 3 must at least count)
---
TopicRate this flea market DVD haul
Sahuagin
10/07/18 10:40:45 PM
#3
TopicAnnoying search bar on the top of every FAQ now -- How do I get rid of it?
Sahuagin
10/07/18 10:38:56 PM
#6
you can hide it using the console with this command:

$("#faq_header_wrap").hide();

you'd need to put it in a userscript to not have to do that everytime though
---
TopicWhat is your Favourite SLEEPING POSITION???
Sahuagin
10/07/18 2:39:09 PM
#6
fetal but it wrecks my back so I have to do something more like whatever "yearner" is

XqE6mD6
---
Topichave you ever eaten fruit that was...
Sahuagin
10/07/18 1:53:50 PM
#12
I've picked and eaten blackberries, raspberries, and cherries. strawberries too I think although I don't know if I picked them right off the plant but had someone else do it for me. for the cherries, I was sitting right in the tree.
---
TopicCool function I wrote
Sahuagin
10/07/18 1:51:05 PM
#24
Yellow posted...
The usefulness of our ref and in are lost on me currently. I will copy and paste this topic into a text file and read it before this topic purges. Although, Sahuagin you're using ref in the one case where you need to, since strings automatically copy themselves when passed, I noticed that.

ref in the ValidateAndClean method allows me to get a different string back than the one I passed in. I use it for validating phone numbers and things like that. so maybe the user typed a super messy string "1 11 - 4 3 2 1 ". I scan it just for numeric digits and make sure there are 7 of them, and then return the cleaned string which includes a hyphen "111-4321". using the ref parameter, your external variable can be modified by the function, allowing you to get back a different string.

var phoneNumber = PhoneNumberBox.Text; // "1 11 - 4 3 2 1 "
ValidateAndClean(ref phoneNumber); "111-4321"

not sure if you know this already but it's worth explaining. in C# there are value types and reference types. when you say int x = 5;, since int is a value type, you are creating an int sized space of memory and placing an int sized 5 value into that memory.

but strings and objects aren't value types they are reference types. when you say string str = "this is a string"; you are allocating a <string length> chunk of memory off to the side, storing the string in it, but then for the variable you are allocating a memory address sized space of memory (32 or 64 bits), and storing the memory address of the chunk of memory where the string lives into the variable. when you pass a string as a parameter, you are passing the memory address by value. when you use a ref string parameter, you are saying that a value might come up out of the function back into my variable and overwrite the memory address in my string variable with a different memory address (that points at a different string than before).

the same is true for objects. so a ref List<T> parameter means that you can get back a different List<T> memory address than the one you passed in, allowing the function to overwrite the memory address you have on the outside, changing the List<T> that you're working on to a different one. (the old list still exists in memory, you just lose that one reference you had to it. once all references to an object are gone, it is free to be cleaned up by the garbage collector.)

(also a technical thing with strings is that there is "string interning". so if you say string str1 = "asdf"; string str2 = "asdf";, the space for "asdf" is only created once rather than duplicating the space, and both variables hold the same memory address.)
---
TopicAnyone else struggle with the classics?
Sahuagin
10/07/18 1:45:31 AM
#11
depends on the game, but generally you have to play it for a while (hours or maybe a day or two) to regain the necessary amount of accuracy.
---
Board List
Page List: 1, 2, 3, 4, 5, 6, 7, 8 ... 9