### 101 What is your preferred style for naming variables in R? [closed]

medriscoll 12/07/2018. 8 answers, 0 views r coding-style naming-conventions
Which conventions for naming variables and functions do you favor in R code? As far as I can tell, there are several different conventions, all of which coexist in cacophonous harmony: 1. Use of period separator, e.g. stock.prices <- c(12.01,...

### 6 Statistical mechanical perspective of entropy in this computer simulation

Brian Yeh 12/07/2018. 5 answers, 587 views gravity entropy
I've scoured the internet for a clear answer on entropy and I see contradictory answers everywhere so I'm going to refine my question here. Please read carefully as the question is not as it seems at first. The formation of...

### 16 How to compare parts of files by hash?

sinned 12/06/2018. 7 answers, 2.751 views bash hashing
I have one successfully downloaded file and another failed download (only the first 100 MB of a large file) which I suspect is the same file. To verify this, I'd like to check their hashes, but since I only have...

### 3 54V 5A DC thru “regular” coax “TV” cable for use as a “poor man's” solar power cable?

David 12/06/2018. 8 answers, 2.606 views power dc
In the effort of saving money without having to buy expensive solar cables (and because I have a lot of extra coax cable lying around doing nothing), I would like to use a piece of coax cable (that looks like...

### 45 “As we travel the universe…”

Arnauld 12/05/2018. 20 answers, 4.860 views code-challenge approximation
You'll be given the name of one of the 20 biggest objects in the Solar System. Your task is to return an approximation of its radius, expressed in kilometers. This is a code-challenge where your score consists of the length...

### 3 Did the Buddha according to the suttas mean anything else by the word “self” beyond simply the aspect of control/power?

Angus 12/04/2018. 5 answers, 177 views philosophy sutras self
It looks like according to [the Anatta-lakkhana Sutta][1] one aspect that is considered "self" by the Buddha is power or control. Why did he use the word "self" instead of just "complete control/power"? Was/is there more to it than just...

### 19 Is there any specific law outlawing private nuclear weapons?

user23860 12/04/2018. 8 answers, 11.014 views weapons
I am not asking about any indirect or circumstantial restriction. Is there any law in any country preventing me from owning a nuclear weapon there? Is it a plutonium license or something specific to nuclear weapons?

### 48 Do I need to convey to foreign recruiters that the education I received from a Catholic university was in no way religious?

Streltsov 11/26/2018. 7 answers, 12.494 views resume education france
I am french and attended a private university in France for my college education. I currently have a Masters in Computer Science from this university and also worked there for two years as an adjunct lecturer after my degree. I...

### 13 What conditions would make having them sunken into the ground the predominant way of building large structures?

dot_Sp0T 11/21/2018. 13 answers, 4.232 views geology engineering
As he neared the outskirts of the city the canyons of multi-storey buildings lined with coffee- and tea-houses gave way to the large squat shapes of factories, storage-halls and other industry. If it weren’t for the ramps leading below...

### 4 What gas can I use to incapacitate pesky heroes?

kingledion 11/16/2018. 8 answers, 2.397 views science-based gas poisons
Supposing I have a room currently occupied by Jedi Knights, or some other force that I can't defeat with battle droids and brute strength. I wish to incapacitate the occupants of this room with a gas, which I will pump...

### 16 Largest and Smallest Possible Number

Vedant Kandoi 11/15/2018. 10 answers, 2.191 views code-golf
Task Given an array of non-negative numbers, output the largest and smallest possible number that can be formed by joining them. Rules Input,Output can be in any convenient format. The array may have at most 1 decimal number. Examples input:[22,33,44,55.55,33]...

### 78 Why is the consensus that WW2 started on September 1, 1939 and not July 7, 1937?

Matas Vaitkevicius 11/08/2018. 7 answers, 26.142 views world-war-two europe asia sino-japanese-war
Looking at Wikipedia, dates given are 1 September 1939 – 2 September 1945, which end in the defeat of Japan. However why is the starting date when Germany invaded Poland and not when the Japanese invaded China in the Sino-Japanese...

### 46 My kid's first story

Ali_Habeeb 11/08/2018. 10 answers, 8.621 views creative-writing children young-author
So, my 11-year son has just written his first literature work yesterday: A short fantasy story about werewolves in a forest chased by a group of courageous men. Half-full of mistakes of all kinds, still it seems that he is...

### 10 Aliens performing successful medical procedure on humans at first contact?

Tanzanite Dragoness 11/04/2018. 10 answers, 3.149 views aliens xenobiology medicine
So, humans have finally figured out how to build a solar-system crossing ship. On the way to the first exo-planet to be colonized, an accident happens, and a few people wind up floating through space, injured. Aliens find the person(s)...

### 130 Should I simply ignore it if authors assume that I'm male in their response to my review of their article?

Rebecca J. Stones 11/02/2018. 22 answers, 33.249 views peer-review gender
I received a response about a manuscript I reviewed earlier, and the authors write about the reviewer (i.e., me) and his concerns. As a woman, I'm not so keen on this. Obviously this isn't intentionally insulting or anything like that---it's...

### 36 Is it possible to make a ROM converter?

Jack Kasbrack 11/01/2018. 5 answers, 4.011 views emulation nes compilers turbografx-16
Based on my understanding, an emulator is necessary because the machine with the emulator on it (say Windows), doesn't execute the same machine code as the target platform (6502, for example). So what an emulator does is it interprets the...

### 25 English equivalent for Polish phrase meaning doing something fast and poor quality [closed]

The meaning of Polish 'doing something on knees' or 'on a knee' is completely different than English: https://www.macmillandictionary.com/dictionary/british/on-your-knees It is rather a metaphor to a student who instead of doing his homework properly at the home, he did it in...

### 66 The first McDonald's restaurant on Mars

Philipp 10/29/2018. 11 answers, 11.649 views economy food mars infrastructure
The McDonald's fast food company is the world's largest restaurant chain which prides itself with offering (almost) the same standardized menu all around the globe... ...this globe. When humanity colonizes Mars, how large would the population of the colony need...

### 51 Examples of harmless mistakes (on purpose) in submitted papers [closed]

Some paper reviewers feel the pressure to criticize something in order to appear competent. Sometimes they feel this pressure due to huge blank form fields for criticism in the reviewing system. As a consequence, they sometimes criticize wrongfully. Fully recovering...

### 20 Puzzling quotes from astronauts about earth size

Lambda 10/28/2018. 6 answers, 6.945 views the-moon observational-astronomy moonlanding
I have no doubt that we have been to the moon. This question has nothing to do with a moon landing hoax. But, there are two quotes from two different astronauts regarding the size of the earth as viewed from...

### 4 Losing Knowledge

Is it plausible to create a world in which the people who live inside it developed technologies like the ones we had in WW2, but after their progress came to a halt they forgot their knowledge. Meaning that they still...

### 49 Is it true that bananas are radioactive?

Is it true that bananas are radioactive, and if you eat too many it can kill you? If yes then how many bananas are good to eat at once.

### 36 Can there be a theocracy that also practices religious tolerance?

Noellektrae 10/24/2018. 19 answers, 7.308 views culture politics government religion
My main character is one of 5 deities that make up the "Terram faith" The country she resides in is a theocracy of that faith; with a king and queen appointed by high priests and priestesses. The issue I'm having...

### 31 Why would precursors create devices that can survive and still work after hundreds of years? [closed]

Euphoric 10/24/2018. 16 answers, 4.041 views reality-check technology
In many stories, there are precursor artifacts that often have miraculous powers. Often, those artifacts are hundreds, if not thousands of years old. But, looking at our own technology, most of our devices wouldn't last more than a few decades....

### 6 What does “That was like three seconds” mean?

helen 10/22/2018. 6 answers, 4.289 views meaning-in-context spoken-english
I was watching the movie "Eternal sunshine of the spotless mind" when I heard the phrase "That was like three seconds" from Kate Winslet. You can find this phrase at 01:14:25. She and Jim Carrey were kidding and playing. She...

### 23 How much alteration would be needed for the Cuban Missile Crisis to go nuclear? [closed]

Robert Paul 10/20/2018. 7 answers, 5.497 views warfare alternate-history nuclear
My story takes place centuries in the future, in the year 2567. Over 600 years ago, during 1962, an all out nuclear war broke out. Most modern day historians believe it to have occurred in autumn, but whatever happened, it...

### 17 Searching with mandatory filters

feelerino 10/19/2018. 8 answers, 1.596 views search filter default
I'm having trouble designing a search box with two mandatory filters/categories before the user hit the "go" button. So far, the best solution I could come up with was this one: I've presented the following solution to my client, but...

### 3 Automation Testing 2nd Interviews: How technical should you be?

fypnlp 10/18/2018. 6 answers, 171 views automated-testing test-automation-framework
Hi I would really appreciate some feedback. Over the past year, I've learned: Protractor Seleninium webdriver Appium Postman Rest api Java JS My CV is great. The 1st round of interviews I can get through no problem. Second round...that's my...

### 20 Word similar to 'insidious' or 'pernicious', with a non-negative connotation

Araucaria 10/15/2018. 16 answers, 5.026 views single-word-requests
I'm looking to describe an effect caused by using a particular construction in English, and the fact that it affects the listener and the whole of their thought processes without the listener being aware of it. The words insidious or...

### 7 Python 2d array boolean reduction

DnRng 10/15/2018. 5 answers, 371 views python arrays reduction
I've got a 2D array comprised of boolean values (True,False). I'd like to consolidate the array to a 1D based on a logical function of the contents. e.g. Input: [[True, True, False], [False, False, False], [True, True, True]] Output (logical...

### 93 Just started a postdoc, but it went REALLY bad, REALLY fast. Stay or go?

FEN88 10/12/2018. 14 answers, 27.720 views postdocs quitting
I just started my 2-yr postdoc, but things have gone sour really fast. So, I really need some career advice as to what to do. Over several months, I did the interviews with the supervisor and the lab and things...

### 17 Car prices haven't changed in 20 years, no inflation?

Lassie Fair 10/11/2018. 9 answers, 8.959 views inflation price united-states manufacturing
I notice that there seems to be little or no change in car prices over the last 20 years and they seem to be unaffected by inflation. For example, a Toyota Camry sold for about \$23,000 +/- \$2,000 (MSRP) around...

### 18 Converting a number from Zeckendorf Representation to Decimal

About Zeckendorf Representations/Base Fibonacci Numbers This is a number system which uses Fibonacci numbers as its base. The numbers consist of 0 and 1's and each 1 means that the number contains the corresponding Fibonacci number, and 0 means it...

### 55 Asking a professor to teach better

In my mathematics program, one of the qual prep courses is being taught by a professor who, put bluntly, is not putting in the effort. He is essentially reading from the book (which I don’t particularly like but it’s a...

### 19 What to do about the NPC massacre?

In my campaign, everything is constantly going badly. The Source has been destroyed, devastating the local region. The main hardhold was shelled with white phosphorous. Almost all of the NPCs (including NPCs that players invented for their playbooks) are dead....

### -1 Failed to resolve: firebase-database-15.0.0

connecting firebase real-time database with assistant when adding the dependencies of firebase database this error is showing: Failed to resolve: firebase-database-15.0.0 this also happened with authentication My android studio version 3.2 build September 18

### 62 Logged out of Facebook on all devices on a sudden. Should I be worried about being hacked?

A while ago, I was opening Facebook app on Android and then I got the message "Session expired. Please log in again.". I then tried logging in with my current password and was success to log in my account. Before,...

### 22 Periodically replacing values in a list

Riley 09/25/2018. 8 answers, 1.903 views python list replace
Suppose I have the following list in Python: my_list = [10] * 95 Given n, I want to replace any other m elements with zero in my list, while keeping the next n elements. For example, if n = 3...

### 116 Is there any technical reason why, in programming, the default date format is YYYYMMDD and not something else?

lucaswxp 09/24/2018. 14 answers, 32.993 views sql engineering rdbms date-format
Is there any engineering reason why is it like that? I was wondering in the case of a RDBMS that it had something to do with performance, since a "YEAR" is more specific than a "MONTH", for instance: you only...

### 1 Chatter from steering rack in a specific condition

Dacid Salin 09/23/2018. 0 answers, 23 views suspension power-steering audi a4
2008 Audi A4 2.0T. Specific condition is when I back into my driveway, I'm driving down the street, turn the wheel to the left and line the car up. Then shift to reverse and cut the wheels right and start...

### 1 Previewing an animation, without building BVH

jspr 09/21/2018. 0 answers, 24 views cycles rendering
I am working on a scene in Cycles where neon lights are flashing. The materials are animated: using a mixshader to switch between a Emmission and Transparent node. I want to preview the animation in 50% size and 32 samples,...

### 3 Nebula View from the surface of a planet

Moin 09/20/2018. 1 answers, 146 views planets nebula
I'm aware this question has been been answered in some detail and form, but I'd like to know this. How spectacular would a nebula look like from the surface of, let's say, a Super-earth like planet? There's more mass (correct...

### 61 Can I publish a paper which 1) proposes an idea and 2) proves that the idea doesn't work?

RYN 09/20/2018. 11 answers, 12.302 views publishability negative-results
I wonder if is it okay for a researcher to suggest a new technique in a field of research and prove that this new suggested technique is a bad suggestion and gives no or negative gain and publish his work...

### How does an IIR system affect magnitude and phase of a sinusoidal signal

Consider an IIR system with impulse response $h[n]=\left( \frac{1}{\sqrt{3}} \right)^n u[n]$. If I apply $x[n]=\cos(n \frac{\pi}{2} + \varphi)$ at the input, how can I determine the change in magnitude and phase of the output signal, i.e. what is $A$ and...

### 5 How did multiply instructions work in the various 68ks?

Wilson 09/19/2018. 2 answers, 310 views m68k
pndc says about the 68000: the [...] MULU/MULS instructions are very slow, taking about 70 cycles. The exact number of cycles is data-dependent because the microcode uses an iterative algorithm.) So, (assuming that pndc is correct and the 68000 is...

### 84 Can I use NDA materials to force my employer to pay my salary if I haven't signed NDA agreement? [closed]

wasd 09/18/2018. 11 answers, 27.275 views salary termination non-disclosure-agreement asia
I've been working with this company for a quite some time, we don't have any formal agreement, I haven't signed anything. At the same time among our clients were some really big and well known companies, who gave us some...

### Priority highlighting

Godoy 09/18/2018. 2 answers, 58 views syntax-highlighting highlight
In my code, something like #include <whatever> is highlighted: #include (which belongs to the group 'cInclude') in pink; and <whatever> (belonging to the group 'cIncluded') in red. (Edit: whatever is any word.) Also, to highlight the word vector according to...

st1 09/18/2018. 9 answers, 10.644 views mathematics coursework emotional-responses
I'm an undergraduate studying math and I'm taking a graduate math class for the first time this semester. I've taken the undergraduate prerequisites, but it's still very challenging, which I was expecting. I'm starting to get overwhelmed by the content...

### 1 Company seats registration flow - looking for alternatives/opinions

Shushi 09/17/2018. 5 answers, 108 views registration signup-signon
I'm trying to verify whether the company seats registration flow I built makes sense or not and I'd like to hear about other ways/options/flow. As a part of my SaaS product, I want companies to be able to purchase one...

### 25 Why do apps with phone verification send the user a message, rather than have the user send one to them?

George Green 09/17/2018. 6 answers, 5.121 views mobile multi-factor
Many apps allow the user to authenticate with their phone number, by having the user enter it, and then sending an SMS with a code to be entered into the app. Very few (if any that I can find still...