Combinatorics question: maximal number of subdivisions
Let n be an even integer. How many different ways can I choose subsets of the set {1,2...,n}
SFDX Pull error: Entity of type 'ListView' named XXX cannot be found While trying to pull changes from a scratch org (sfdx force:source:pull, tried with and without -f), I'm getting this error:     Entity of type 'ListView' named 'Note_Relation__c.My_Notes' cannot be found.   I do have a custom object Note_Relation__c, and it exists both locally and in the scratch org.  However, it's not an object that is normally accessed directly.  It has no tab, and should have no list views.  Nonetheless, I've checked the object's list view (via prefix, e.g., /a0D in both Classic and LEX view), and I can find no list views at all.  I've also tried adding an entry to .forceignore:  force-app/main/default/objects/Note_Relation__c/listViews/My_Notes.listView   This has no effect either.  At this point, I'm stuck with a bunch of config changes in a scratch org that I cannot pull.  I can find no references to this error message with scratch orgs.  Has anyone seen this issue?  Edit to clarify: I tried the .forceignore line based on what I think the file name should be; I have no force-app/main/default/objects/Note_Relation__c/listViews directory locally.  Edit 2: Workaround:  I found a workaround that doesn't make sense to me, but it works.  I'm not adding it as an answer yet because I'm not sure what's happening.  The workaround is to add the following line to .forceignore  Note_Relation__c.My_Notes   Even though this isn't a DX filepath, it's the name from the error message, and it seems to work. I have recently installed ubuntu 11.10. But when i try to install a software it tries to 'updating cache' but after a while, it stops, showing:                            Failed to download repository information                           Check your internet connection   so, now i am totally unable to install any software in my ubuntu.  Please,let me know how to solve the problem. How to get the file name and a line number of a function call? Restore Python installation to default plus apt package dependencies Are Constitution changes retroactive when calculating max HP? Lets say I'm a fighter that just leveled up to level 4, and decide to bring my Constitution up from 16 to 18. How many hit points do I have?  Level 1 = 10 (base) + 3 (Con mod) = 13.  Level 2 = 10 + 6 (average HP per fighter level) + 3 (Con mod) x 2 = 22  Level 3 = 10 + 6 (average) x 2 + 3 (Con mod) x 3 = 31  Level 4 = 10 + 6 (avg) x 3 + 3 (Con mod) x 3 (3 level-ups) + 4 (increased Con mod, which is now 4) x 1 = 41?  OR  Level 4 = 10 + 6 (avg) x 3 + 4 x 4 (4 times current Con mod) = 44?  If it's the first option, it's simply better to level Constitution up at earlier levels. I want to find questions within the C++ tag but with zero answers. How can I do that? Is it possible to "hack" a MacBook so as to be able to install macOS Mojave? How to Create Bootable Windows 10 image in Debian? Pseudocode but originally developed for Windows 7 iso file but applied for Windows 8 in the thread  but it does not work with Windows 10 iso  # https://rwmj.wordpress.com/2010/11/04/customizing-a-windows-7-install-iso/ # https://unix.stackexchange.com/a/312477/16920 $ dd if=../en_windows_10_x64_dvd.iso \     of=boot.img bs=2048 count=8 skip=734  $ mkisofs -o ../new-win.iso -b boot.img -no-emul-boot -c BOOT.CAT \     -iso-level 2 -udf \     -J -l -D -N -joliet-long -relaxed-filenames .   Unsuccessful output when run on Windows 10 image  dd if=/home/masi/Downloads/en_windows_10_multiple_editions_version_1511_x64_dvd.iso of=/home/masi/Downloads/boot.img bs=2048 count=8 skip=734 8+0 records in 8+0 records out 16384 bytes (16 kB) copied, 0.000392973 s, 41.7 MB/s    Some of the following fields have changed for the iso file used in dd   bs=2048 count=8  skip=734   How can you study which field values you can use for Windows 10 iso?  OS: Debian 8.5 64 bit Hardware: Asus Zenbook UX303UA Linux kernel: 4.6 of backports Related threads: ,  Motivation: I need Windows 10 to use Canon P-150 duplex scanner, but when I started my Windows, I got Error 0xC0000428 because Windows update has again broken things there and I use Windows otherwise so rarely; and I have no spare Windows left to make bootable media Difference between the i386 download and the amd64? What is the difference between standard i386 download and the amd64 download of Ubuntu 11.04? I am currently running the i386 on an amd machine, would my system work better with the amd64 download instead? (my machine was running Windows 7 64bit, but I neglected to look at that prior to installing Ubuntu). Extracting Data Between two Characters in Excel I have the following format in Excel and I am trying to extract the data between the characters:  First Last &lt;flastname@xxxx.com&gt;   I need to extract the email address between &lt; and > into its own cell  Thanks! biblatex and autonum don't work together How to change the snapping increment in different units? I would like to know how to change the increments used for snapping transforms.  This would be useful in a number of situations but my problem now is that when I change the units it does not scale the snapping increments to match.  So when holding down ctrl the cube snaps from here:    To here:    I would like it to snap to the 1 foot grid, or possibly any other amount I find useful.  It would also be nice to be able to change the rotation snap as well. What are good initial weights in a neural network? Today, comparing processors is obviously not just looking at the frequency and the number of cores.  When choosing a new PC, how do you compare processors? Is there some resource, like a site or something that does (not necessarily super-precise) processor comparisons?  Thanks. This post is the continuation of another post related to a . Basically, at this point I'm interested in a robust way to discover the periodicity/seasonality of a generic time series affected by a lot of noise. From a developer point of view, I would like a simple interface such as:  unsigned int discover_period(vector&lt;double&gt; v);  Where v is the array containing the samples, and the return value is the period of the signal. The main point is that, again, I can't make any assumption regarding the analyzed signal. I already tried an approach based on the signal autocorrelation (detecting the peaks of a correlogram), but it's not robust as I would like. This is the announcement post of the Stack Exchange Data Explorer. Its answers were meant to iron out the initial glitches 6 to 8 years ago.  If you have found a bug or need support  today with any of SEDEs features, please ask a new question and tag it with   What does it do? Allows you to run arbitrary SQL queries on the data dumps, and share those queries with your friends. Technical details It is hosted on the Stack Exchange infrastructure , the database is hosted on the same SQL Server version all other sites are hosted on. You can use most of the TSQL commands, even create temporary objects (but not User Defined Functions). The controls used are jQuery based, the grid is  . All query results are cached, so sharing a link to a query will not result in the server going in to a tailspin. The query edit control is a slightly modified  control, I also am considering bespin cause the inter iframe communication is nasty complicated. It gives up nice syntax highlighting for queries. Parameters There is support for parameterized queries, to get it to work name your params like ##this##. For example have a . Query name and description A query can have a name and description, to name it lead with a comment, to describe it continue commenting, for example: -- This is my query name  -- This is my description -- I can span multiple lines  SELECT 1  Anonymous users can initially name a query, but can not change the names of any existing queries. Tutorial There's a  which helps you getting started in writing your own SQL queries. Logging in You can use your openid provider to log in, at the moment once logged in we will track the list of queries you execute (giving you basic history support) Also if there are any params named UserId they will be populated automatically if your EmailHash matches the one on the site being queried. Magic columns If you alias an id column with as [Post Link] it will automatically create a link in the result set to the parent site. Similarly if you alias an id column with as [User Link] it will display a link to the user page. select top 10 * from Posts will show you how tags are done. (Magic columns for images is planned) example (most controversial posts:  ) So what are you waiting for, check it out at  Any feedback would be greatly appreciated. I hope to have the login section working fairly soon and allow voting on the best queries and commenting. Featured Queries At the moment, admins have permission to feature interesting queries on this page , I am looking for better ways to manage the huge query list that is building up. I would like to define a theorem environment with custom layout. In particular, I want the body of the theorem to be indented, like this  Text body. Text body. Text body.  Theorem 1 (Pythagoras).     Let a,b,c the sides of a rectangular triangle.     Without loss of generality, we assume that  a&lt;b&lt;c .     Then, the following equality holds:            a^2 + b^2 = c^2  More text. And even more text.   This is similar to the quote environment, I believe.  How can I do this?  Preferably, I would like to use the existing \newtheorem command, but that's not mandatory. How do I use Drush 8 site aliases in Drush 9? I understand that the entrance pupil is the image of the aperture as seen from the front of the lens. However, is the size of the entrance pupil the same as the size of the effective aperture? In other words, if I measure the size of the entrance pupil by looking at it, will that be equivalent to the focal length of the lens divided by the f-number (with the focus set to infinity)? I know that sometimes this is hard to estimate because of the shape of the aperture blades, but I was wondering whether pupil and aperture can be quite different (perhaps at very low magnification). I've downloaded the daily Ubuntu 12.04 iso.  I currently have windows 7 x64 operating system installed.  How can I make a bootable usb from the Ubuntu iso?