Search found 5597 matches

Sun Apr 29, 2018 7:39 pm UTC
Forum: Fictional Science
Topic: Self-Contained Pure Fiction about the Fine Structure Constant
Replies: 12
Views: 6065

Re: Self-Contained Pure Fiction about the Fine Structure Constant

Wow this OP started interesting and then went off the rails surprisingly fast. Everything from numerology to patriarchy to messages from aliens, wowsers. ↶ If you think I'm wrong, the universe is right there, mathematics is right there, prove it chumps. ↶ The experimentally determined value of the f...
Wed Apr 25, 2018 2:44 am UTC
Forum: Computer Science
Topic: Desirable Coding Skills
Replies: 13
Views: 4665

Re: Desirable Coding Skills

You get its integral. ^_^ I can highly recommend 3Blue1Brown's Essence of Calculus series . Each video is short and approachable, and the whole series is only about 4 hours total. It'll give you a really nice intuitive appreciation of what calculus is, what it does, and how and why it's used. (Try t...
Tue Apr 24, 2018 6:31 pm UTC
Forum: Computer Science
Topic: Analysis of the Java RNG
Replies: 4
Views: 3625

Re: Analysis of the Java RNG

Oh duh, yeah, sorry, was assuming that the output was the state. If the output is trimmed from the state, you can def have repeated outputs that still have unique state and thus different successors.
Tue Apr 24, 2018 6:28 pm UTC
Forum: Mathematics
Topic: Curve Filling a Rectangle
Replies: 21
Views: 9558

Re: Curve Filling a Rectangle

aka what madako said, yeah. It's a trivial mapping.
Mon Apr 23, 2018 9:48 pm UTC
Forum: Computer Science
Topic: Analysis of the Java RNG
Replies: 4
Views: 3625

Re: Analysis of the Java RNG

Tub wrote:
But it's extremely unlikely for every value to be picked exactly once.

And, due the way LCGs work, once you *do* repeat a value, you loop the sequence. Anything not hit before the first repeat will never be hit.
Mon Apr 23, 2018 9:45 pm UTC
Forum: Computer Science
Topic: Desirable Coding Skills
Replies: 13
Views: 4665

Re: Desirable Coding Skills

On the Git note, I highly recommend A Plumber's Guide To Git for a solid introduction to what Git is "under the hood", which I've found immensely useful in using it (and unfucking my repos when I do something out of the ordinary).
Sun Apr 22, 2018 6:26 pm UTC
Forum: Gaming
Topic: Games you can't remember the title of.
Replies: 1934
Views: 541611

Re: Games you can't remember the title of.

I also highly recommend playing the revised rules for the Great People expansion; it makes the game play out much better than the Echoes rules of "just shuffle some in" did.
Sun Apr 22, 2018 6:19 pm UTC
Forum: Computer Science
Topic: Desirable Coding Skills
Replies: 13
Views: 4665

Re: Desirable Coding Skills

Useful skills for a job is: get decent at any programming language. "Popular" languages (Java, Python, JS) will give you a wide variety of places to go, less popular ones will restrict where you can work, but they'll appreciate you more. (Imo, C/C++ is a dead end, cut your losses and try a...
Wed Apr 18, 2018 3:43 am UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 56
Views: 18653

Re: An amateur has tried to build a website in raw HTML

Blink forked from WebKit a few years back; they were the same engine before that. Android Browser "uses WebKit" because it hasn't been updated since before the fork; since then we've just shipped Chrome itself on Android.
Sun Apr 15, 2018 3:19 am UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 56
Views: 18653

Re: An amateur has tried to build a website in raw HTML

The Android browser was just Chrome, occasionally forked and then fiddled with, so that by the time it was released in a new Android version it was several versions behind real Chrome, and thus was always missing whatever latest features had been added.
Thu Apr 12, 2018 8:20 am UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 56
Views: 18653

Re: An amateur has tried to build a website in raw HTML

FlatAssembler wrote:
CSS doesn't support conical gradients, and neither does SVG.

Note that conic-gradient() is defined in Images 4, was cleared for shipping by the CSSWG, and is implemented in Chrome now (in nightlies).
Sun Apr 08, 2018 10:27 am UTC
Forum: Books
Topic: Words of Radiance - Brandon Sanderson
Replies: 7
Views: 8715

Re: Words of Radiance - Brandon Sanderson

I also had to reread the two previous books to remember anything about what was going on. (And then the novella in Arcanum Unbound, since that was mentioned as useful reading in the preface...) ^_^ But it was worth it overall; I think I enjoyed the first two books much more this time around. Shallan...
Fri Apr 06, 2018 4:03 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1975: "Right Click"
Replies: 42
Views: 18910

Re: 1975: "Right Click"

This is the Tudor House variation. Good luck!
Fri Apr 06, 2018 2:49 am UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 56
Views: 18653

Re: An amateur has tried to build a website in raw HTML

↶ Putting it in the <head> has the advantage that the browser will load the scripts while it's busy parsing the rest of the page. This is not true - the location of your script has no effect on how it interacts with rest-of-page parsing. In fact, it was common advice to put your JS at the *bottom* ...
Wed Mar 28, 2018 8:15 pm UTC
Forum: Fictional Science
Topic: Accidentally purifying the oceans
Replies: 10
Views: 4448

Re: Accidentally purifying the oceans

I expect the immediate mass-extinction in the oceans, and attendant rotting, would render the atmosphere completely unlivable for most land-based organisms, yeah. (And whatever water-based stuff survived the salinity change would asphyxiate due to the decomposition using up all the oxygen, so more m...
Sun Mar 25, 2018 2:21 am UTC
Forum: The Help Desk
Topic: Backlinks to a specific page on a third party server
Replies: 3
Views: 5233

Re: Backlinks to a specific page on a third party server

In general, there is no way. Sometimes you can get lucky, and a Google search for the url will turn something up, but that's about all you can do as a third party.
Thu Mar 15, 2018 11:09 pm UTC
Forum: Science
Topic: Delicious Martian Salt
Replies: 10
Views: 4769

Re: Delicious Martian Salt

Sure. I'm not up enough on geology to know if our preponderance of sodium chloride over other salts is an incidental or expected sort of outcome, tho.
Thu Mar 15, 2018 8:13 pm UTC
Forum: Science
Topic: Delicious Martian Salt
Replies: 10
Views: 4769

Re: Delicious Martian Salt

Given that Mars once had seas, tho, presumably there are salt deposits somewhere, right? Iirc, the sea is salty due to weathering rocks producing either salts directly, or producing acids and bases which react to produce salts, and that salt just kinda hanging around and concentrating over the megay...
Sun Mar 11, 2018 4:52 am UTC
Forum: The Help Desk
Topic: PyPI [resolved]
Replies: 8
Views: 5880

Re: PyPI [resolved]

I wrote myself a guide to how packages/modules work, and you might find it helpful too https://www.xanthir.com/b4pt0.
Sat Mar 10, 2018 3:04 am UTC
Forum: Gaming
Topic: Board games anyone?
Replies: 962
Views: 243704

Re: Board games anyone?

@rmsgrey, no actual spoilers, but just in case you don't want *any* information about the thing you're talking about: We were really scared of it too and barely used it, having been burned by Season 1's "good stuff", but don't worry - it doesn't hurt. @zohar: I highly recommend...
Thu Mar 01, 2018 10:28 pm UTC
Forum: Gaming
Topic: Board games anyone?
Replies: 962
Views: 243704

Re: Board games anyone?

Finished Pandemic Legacy S2 this last weekend. Some really lucky card drawing in November made it pretty easy - we got thru 3/4 of the goals in the first November game, so the second was a cakewalk. December, then, phew: We'd set things up for a quick exfiltration of the cure, with a supply cent...
Thu Mar 01, 2018 10:11 pm UTC
Forum: Mathematics
Topic: Decitauths
Replies: 16
Views: 6235

Re: Decitauths

jewish_scientist was explicitly talking about the imperial system, in which 10 is not a used conversion ratio. That said, I don't know what the \$10 vs \$6 example is about, because 6/10 isn't a ratio you can express with inches and feet. Maybe trying to illustrate that 10 is a *bad* base to use? I du...
Fri Feb 23, 2018 8:52 pm UTC
Forum: Fictional Science
Topic: Airlock full of water exposed to vacuum
Replies: 10
Views: 5212

Re: Airlock full of water exposed to vacuum

The vacuum temperature in Earth orbit is still super-freezing. We're just close-enough in that at equilibrium water will absorb enough solar radiation to stay liquid. (I think it also still has to be in a large enough body, but I don't know what that limit would be.) So it'll definitely still freeze...
Wed Feb 21, 2018 10:52 pm UTC
Forum: Fictional Science
Topic: Airlock full of water exposed to vacuum
Replies: 10
Views: 5212

Re: Airlock full of water exposed to vacuum

Per this Medium post from a science-y person that seems credible , no, it's definitely not realistic. Water will boil immediately when exposed to the vacuum, and violently so, but it takes a bit to freeze (due to water's huge heat capacity). However, when it boils it goes immediately to vapor, which...
Tue Feb 20, 2018 3:54 am UTC
Forum: Gaming
Topic: Final Fantasy Omnithread - All FF, all the time.
Replies: 1158
Views: 234940

Re: Final Fantasy Omnithread - All FF, all the time.

↶ Thoughts on the seventh game in the series. I like Final Fantasy 7 and all but too much peoples think it's like the best of the series. I personally think FF10 was the best of the series and the only one I finished all the way through. Number seven was decent and had some likeable characters,...
Tue Feb 20, 2018 3:42 am UTC
Forum: Gaming
Topic: Gaming fleeting thoughts
Replies: 707
Views: 142633

Re: Gaming fleeting thoughts

If you disliked Civ 6, the update won't change anything. But I really liked everything the update did.
Tue Feb 20, 2018 3:41 am UTC
Forum: Gaming
Topic: Board games anyone?
Replies: 962
Views: 243704

Re: Board games anyone?

Pandemic Legacy S2: dat October revelation, hoo boy. So hidden in plain sight!
Thu Feb 15, 2018 1:09 am UTC
Forum: Gaming
Topic: Board games anyone?
Replies: 962
Views: 243704

Re: Board games anyone?

@pseudoidiot Yeah, having to get all three supply centers down makes the game *dramatically* harder (but will help you out a ton in the later game, which I suspect is why it's there - you really want to have some cities regularly growing, and getting the [special thing you can do for supply-center c...
Thu Feb 15, 2018 1:05 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1954354

Re: Coding: Fleeting Thoughts

Yeah, a dict just connects keys to values. Values can be anything, keys are anything "hashable" (strings, numbers, tuples of those, and some other things). An array is basically just a dict that only accept integer keys, and only in a certain range - it just connects the numbers 0, 1, 2, e...
Wed Feb 14, 2018 5:53 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1954354

Re: Coding: Fleeting Thoughts

A further error - array indexes are 0 or larger. If you use negative indexes, in Python it doesn't refer to another item to the "left" of the 0th item, it instead starts counting from the *end* - -1 is the last element, -2 is the second from last, etc. If you need arbitrary coordinates, yo...
Fri Feb 02, 2018 4:13 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1954354

Re: Coding: Fleeting Thoughts

If you want vanilla Python, you have to do it by hand: blueprint = [None]*3 for x in range(3): blueprint[x] = [None]*5 for y in range(5): blueprint[x][y] = [0]*3 # or blueprint = [[[0]*3 for _ in range(5)] for _ in range(3)] Done, that'll make a 3x5x3 array filled with zeros. (The initial Nones on t...
Wed Jan 24, 2018 9:20 pm UTC
Forum: The Help Desk
Topic: Best Anti-virus Software of Linux
Replies: 10
Views: 5944

Re: Best Anti-virus Software of Linux

Additional info: AV software is, iirc, the largest single source of Chrome crashes - it's generally very badly coded, and injects itself into other processes and fucks around. Beyond the AV itself fucking things up, the combination of bad code + massively invasive means there have been examples in t...
Wed Jan 17, 2018 4:34 am UTC
Forum: Gaming
Topic: RPG without humans
Replies: 34
Views: 9661

Re: RPG without humans

Magic: the Gathering has had the same experience - the last time they tried to do a no-humans set (Lorwyn/Shadowmoor), sales suffered for it. Mark Rosewater has been very clear that they'll continue putting humans in every world now.
Fri Jan 12, 2018 11:22 pm UTC
Forum: Mathematics
Topic: Lenstra's algorithm for divisors in residue classes
Replies: 2
Views: 3749

Re: Lenstra's algorithm for divisors in residue classes

The two chunks of code are, as far as i can tell, equivalent. I haven't checked the paper to see if your transcription was correct, tho.
Mon Jan 08, 2018 4:35 am UTC
Forum: Gaming
Topic: Board games anyone?
Replies: 962
Views: 243704

Re: Board games anyone?

@plytho
Spoiler:
There'll be a new rules sticker showing up soon - you'll start increasing the number of epidemics as you add more city cards.
Sat Jan 06, 2018 4:52 pm UTC
Forum: Gaming
Topic: Board games anyone?
Replies: 962
Views: 243704

Re: Board games anyone?

Phew, after the disastrous double-failures of March and April, then the skin-of-our-teeth success in May (even with 8 funded events (nearly the entire set) *and* the 4-losses-in-a-row bonus), June and July were nice, easy wins. We breezed thru, never losing any population (in June the plague-removal...
Fri Jan 05, 2018 3:18 am UTC
Forum: Coding
Topic: Logging into this forum using Python
Replies: 2
Views: 4823

Re: Logging into this forum using Python

The problem you're having is that the login process is explicitly designed to not be accessible like this - it uses some CSRF (cross-site request forgery) protection to help guard against someone directly sending data at the form's action url without actually going thru the login page. If you check ...
Wed Jan 03, 2018 8:56 pm UTC
Forum: Gaming
Topic: Doki Doki Literature Club
Replies: 5
Views: 4133

Re: Doki Doki Literature Club

Spoiler:
Yup, her character file is deleted, so you can't restore any file that should contain her.
Wed Jan 03, 2018 12:39 am UTC
Forum: Gaming
Topic: Doki Doki Literature Club
Replies: 5
Views: 4133

Re: Doki Doki Literature Club

Basically, yeah.
Sun Dec 31, 2017 4:18 am UTC
Forum: Science
Topic: How does color charge work?
Replies: 4
Views: 2725

Re: How does color charge work?

↶ So then I thought: imagine we don't know anything about electric charge really. We know that it's some property that a particle can have one of two (nonzero) values of, and that these two values in aggregate add together to zero value. We have no idea what those values actually are, so let's just...

Go to advanced search