Even though I've set recursive DNS instead of ordinary DNS, why does DNS leak test shows two isps in extensive scan?
πŸ‘︎ 8
πŸ’¬︎
πŸ“…︎ Jan 25 2022
🚨︎ report
How to set up a recursive assignment function?

I am trying to assign three variables based on user input (code, quant and ship):

def addRecord():
    code = productCode()
    quant = quantity()
    ship = shipping()

Inside the productCode() function I have:

def productCode():
    x = input("Type the product code for the item you would like to add to your shopping record (0-39) and press Enter.\n\
To go back to the main menu, type END and press Enter.\n")
    if x == "END":
        askForInput() 
    elif isValidCode(x) == True:
        return int(x)
    else:
        print("That is an invalid code.")
        productCode()

If I type a valid number first time (integer from 0-39) there are no issues. However, if I type an invalid input it will return NoneType to the code variable.

Since I can only recurse back to productCode() and not code = productCode(), I can't fix this the second time. Is there any way to fix this so that whatever the first valid input is will be assigned to code?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/rwaldron7
πŸ“…︎ Jan 19 2022
🚨︎ report
ELI5: What does the statement-- "There are recursively enumerable sets that are not recursive" ?

I had come across this statement in the book Godel, Escher, Bach, and while reading it, it stumped me and was holding me back from finishing the chapter. Could you provide a layman's explanation of this statement ? Thanks in advance !

πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/AntonMaren
πŸ“…︎ Dec 12 2021
🚨︎ report
This is why you should set up Pi-Hole. I'm installing unbound right now to make it into a recursive dns and while I was doing it I decided to take 1 last look at the old config. If you have not done this, just do it. That is so many ads, tracking and malicious sites that my family doesn't deal with.
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/BeardedHarley
πŸ“…︎ Jun 27 2021
🚨︎ report
[RST][FF][WIP] THE GOTHAMITE - "CHAPTER 3: PERHAPS TOO CONVENIENT" (Recursive 1934 Batman set in 1934 inspired by The Metropolitan Man)

TL;DR: Rational Batman.

Chapter 1: https://thegothamite.net/chapter-1/

Chapter 2: https://thegothamite.net/chapter-2/

Chapter 3: https://thegothamite.net/chapter-3/

HEY, EVERYONE, HERE'S AN AUTHOR'S NOTE: I AM NOT ALEXANDER WALES. THIS FIC WAS NOT WRITTEN BY HIM, IT'S WRITTEN BY ME. I/IT WAS INSPIRED BY METROPOLITAN MAN, AND THIS IS A (RECURSIVE, UNOFFICIAL) PARAQUEL/SIDEQUEL BASED ON HIS WORK.

I started working on this in the middle of May, after rereadingΒ Alexander Wales' THE METROPOLITAN MANΒ for a second time and thinking "it would be neat to see Batman in this world" (whichΒ manyΒ of the readers on this sub have thought, and expressed...on this sub previously).

I don't think this isΒ strictlyΒ rationalist, but it for sure tries to follow the basic tenets of rationality, while telling a pretty good story.

I didn't want to post here until I had a couple "sandbag" chapters written, because it really is the worst when someone starts a fic and then doesn't complete it, or just leaves it hanging.

This story is ongoing, and incomplete.

Comments and feedback (here or A03, not on thegothamite dot net; comments are turned off the site) are welcome. I have aΒ general, overarchingΒ story in mind, but things aren't really set in stone just yet.

This is theΒ first fanfiction or attempt at rationalist fictionΒ I'veΒ everΒ written, so if you have suggestions for other places I should post this (including other subs and websites),Β please feel freeΒ to let me know (shoutout to u/whats-a-monad for providing some compelling reasons to post this on AO3)

Here’s the blurb:

The year is 1934. Bachelor playboy Bruce Wayne has a secret: by night, he's one of the greatest detectives in human history, and a member of a secret society of people trained in the 'oriental fighting arts' known as the "*Yīnyǐng" or "Ghosts of Gotham." But when sightings and stories of a being with godlike powers start becoming too credible, he starts planning to address this existential crisis on behalf of humanity.

The events of this story start at the same time as THE METROPOLITAN MAN (the exact same time, really), but it is very likely they will continue after that story's terminus.

**Some notes, which may or ma

... keep reading on reddit ➑

πŸ‘︎ 25
πŸ’¬︎
πŸ“…︎ Jun 24 2021
🚨︎ report
Live Synthwave Set Tonight 3/12/21 at 7 p.m. PST [Recursive Resonance] youtube.com/watch?v=rxI0M…
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/Yummybox
πŸ“…︎ Mar 13 2021
🚨︎ report
Is recursive definition of a set a valid definition?

Hi,

I was looking how to proove that two sets are equal. Say set A and set B. Actually i wasbreading a book (math) and there it was two statements x € A and x € B. So by prooving that two statements are equivalent. Which I actually havent found a definition for what does it mean that two statements are equivalent but I am assuming that in the case of a statement with a variable which those statements are, lets call them P(x) and Q(x), equivalence means that same value of x produces the same result for both of the statements. So basically the book book was saying that those statement equivalent means that A and B have the same elements and hence are equal. Now, what confuses me is those statement were about specific x. Now, i thought, if I am allowed to define a set recursively, such as A = {x | x € A } and B = { x| x € B} where those statements are elementhood test. Then by prooving that those statements are equivalent I can say that sets are also equivalent. Because they have the same elementhood test meaning they have the same elements. The only thing i am worried about is is it allowed to define the set recursively, as I did above. I mean set on the left side: A and the same set the right side as a part of the elementhood test. In other words, I am asking whether A = { x | x € A } is a valid definition or am i not allowed to use the same set I am defining within the elementhood test. Or what may be the complications from it. Thanks in advance .

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/gas3872
πŸ“…︎ Nov 13 2020
🚨︎ report
Live Synthwave Set Tonight! 3/12/21 @ 7 p.m. PST [Recursive Resonance] youtu.be/rxI0M0w5_Fc
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/Yummybox
πŸ“…︎ Mar 13 2021
🚨︎ report
Why does recursive function work when I set argument as object (instead of number)?

Leetcode question 938:

Question

When I set the argument as sum = 0, I get the wrong answer:

var rangeSumBST = function(root, low, high) {
    return traverse(root,low,high)
}

function traverse (root, L, H, sum = 0){
    if (!root){
        return sum
    }
    if (root.val >= L && root.val <= H){
        sum += root.val
    }
    traverse(root.left, L, H, sum);
    traverse(root.right, L, H, sum);
    console.log(sum)
    return sum 
}

rangeSumBST([10,5,15,3,7,null,18],7,15);

//RETURNS 10, INCORRECT ANSWER
CONSOLE.LOG:
10
17
10
25
25
10

When I set the argument as an object res = {sum: 0} I get the correct answer:

var rangeSumBST = function (root, low, high) {
    return traverse(root,low,high)
}

function traverse (root, L, H, res = {sum: 0}){
    if (!root){
        return res.sum
    }
    if (root.val >= L && root.val <= H){
        res.sum += root.val
    }
    traverse(root.left, L, H, res)
    traverse(root.right, L, H, res)
    console.log(res.sum)
    return res.sum 
}
rangeSumBST([10,5,15,3,7,null,18],7,15);

//RETURNS 32, CORRECT ANSWER
CONSOLE.LOG:
10
17
17
32
32
32

What is going on here?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/192_168_1_x
πŸ“…︎ Dec 02 2020
🚨︎ report
Live Synthwave Set Tonight @ 8 p.m. PST [Recursive Resonance] youtu.be/4MlFNR_yLQU
πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Mar 22 2021
🚨︎ report
Live Synthwave Set Tonight @ 8 p.m. PST [Recursive Resonance] youtu.be/4MlFNR_yLQU
πŸ‘︎ 4
πŸ’¬︎
πŸ“…︎ Mar 22 2021
🚨︎ report
typecheck.macro - A library/macro for automatically generating validation functions from Typescript types now supports intersection types, circular references/recursive types, detailed error messages, type analysis, maps, sets, and more!

A while back, I made this post asking whether it was automatically possible to generate validation functions for Typescript types. It seems like this is not the case. Libraries like ajv, io-ts, zod, and runtypes exist, but none of them are truly automatic (and there are other issues as well).

About 3 weeks ago, I released typecheck.macro, a compile macro/library for automatically generating validation functions for Typescript types. I've been working on it non-stop since then, and I've added a bunch more features.

The macro supports a fairly large portion of the Typescript type system, so you can automatically generate a validator for most Typescript types. (Look at the README/the bottom of this post for a full list of supported features).

So why use this library/macro? A few reasons:

- It's seamless. You don't need to define your types in a DSL. Just use... Typescript! The macro automatically parses your type declarations and generates validation functions. This removes a lot of mental overhead and makes the overall process way easier since you don't need to worry about issues like, io-ts or runtypes not supporting rest types. (Note: These libraries are also super cool, all comparisons are friendly!)

- It's really really really fast. I did some benchmarking in the original post and some more benchmarking for this post. It turns out when you generate "boolean validators" (validators that only return true/false) this library is consistently 2x - 3x faster than ajv, which is the fastest JSON schema validation library. When you enable error messages, this library is still generally faster than ajv, and it gives waayyy better error messages.

The reason this macro is fast is because it generates optimized code at compile time whereas other libraries don't generate code. (ajv does generate code, but it 1. only does this at runtime 2. can't handle circular references and 3. this library tends to generate less/faster code).

Here's an example of an error message for the following type with this library:

| number

| {

a?: [

`number | { a: [number, Array<number |

... keep reading on reddit ➑

πŸ‘︎ 40
πŸ’¬︎
πŸ‘€︎ u/vanilla-acc
πŸ“…︎ Jun 06 2020
🚨︎ report
This is my set up for round 98. I am trying to do 2 MP for recursive cluster but I can't get past this round. Is there any way I can improve my setup
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Ankh2792
πŸ“…︎ Apr 27 2020
🚨︎ report
'ECC is committed to fully productizing Halo 2, with the intent to eliminate trusted setup in Zcash as early as 2021. This would also set the stage for future support of recursive proofs in support of layer 1 scalability.' electriccoin.co/blog/ecc-…
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/BostonZcash
πŸ“…︎ Sep 01 2020
🚨︎ report
How to set up regular recurring, recursive, incremental, online ZFS filesystem backups using zfsnap

I run Project Trident - basically desktop FreeBSD/TrueOS, explanation here - and wrote a very step-by-step, non-intimidating, accessible tutorial for using zfsnap with it, which was accepted into Trident's official documentation.

The same instructions should work for Linux and other BSDs too, with the following changes:

  1. STEP 2: Read your OS' crontab and cron documentation/man pages. They may work differently
  2. STEP 3: Install zfsnap using your OS' package manager
  3. STEP 8: You may have to use visudo to edit your crontab. If you're not using Lumina desktop environment that Trident ships with then you'll definitely need to use a different text editor at the very least. The documentation in 1) above should tell you how to proceed (or just ask in that OS' subreddit.)

Please note that this guide works for ZFS source filesystems only. The limitations and reasonable expectations are laid out plainly at the beginning.

Hope folks find this helpful.

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/jdrch
πŸ“…︎ Aug 12 2019
🚨︎ report
How to characterize the set of grammars which recursive descent parsers can apply to?

(1) How would you characterize the set of grammars which recursive descent parsers can apply to:

  • no left recursion (both immediate and not)

  • left factored

  • no cycle

  • no epsilon rule

  • ...

(2) Predicative parsers are recursive descent parsers, and recursive descent parsers are not necessarily predicative parsers. Is the set of grammars which predicative parsers can apply to exactly the set of all LL(k) grammars, where k>=0 or just k=1?

The following quote from the dragon book seems to say yes ("any grammar that has disjoint FIRST sets for the production bodies belonging to any nonterminal" is exactly a LL(1) grammar?):

> 2.4.4 Designing a Predictive Parser

> We can generalize the technique introduced informally in Section 2.4.2, to apply to any grammar that has disjoint FIRST sets for the production bodies belonging to any nonterminal.

What differences are between LL(k) parser and predicative parser? Are they the same concept?

(3) How would you characterize the set of grammars which "4.4.4 Nonrecursive Predictive Parsing" in the dragon book can apply to?

Is nonrecursive Predictive Parsing not recursive descent Parsing (and thus is not predicative parsing)?

Should I ask the above questions as how to characterize the set of grammars from which ... parsers can be constructed?

Thanks.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/timlee126
πŸ“…︎ Jul 10 2020
🚨︎ report
Replicating the Recursive XY-Cut Algorithm for document layout to set a custom reading order template
  1. Find the closest object.
  2. Split the objects into blocks.
  3. Ennumerate the blocks to create a custom layout.

Do the same thing to <https://i.stack.imgur.com/yzYIc.png&gt; as done to <https://i.stack.imgur.com/uk5YS.png&gt;.

P.S. I recently started working in ML and am fairly new to building algorithms. Any help would be much appreciated!

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/hrx_D
πŸ“…︎ Nov 26 2019
🚨︎ report
Anyone got a recursive blueprint set up for landfilling?

Playing and extended space island game and want something to do with the millions of landfill I've stockpiled while FTL research goes and absorb all the islands I cleared out. Anyone have a handy dandy blueprint for an automated landfiller?

πŸ‘︎ 12
πŸ’¬︎
πŸ“…︎ Aug 04 2019
🚨︎ report
Recursive Set-MailboxFolderPermission with a GUI

Hi /r/PowerShell,

So in our environment we have a lot of Shared Mailboxes, and quite often mailbox owners come to us with requests like "we have new secretary, please give PublishingEditor access rights to all forders in this mailbox" or "please give this person access to this specific folder and subfolders only".
&nbsp;

We all know, that in Outlook there is no Recursive permission setting, and Exchange 2013 Administration center only has "Full Access" option, so I've made a tool for myself and my team to use, which saves us a lot of time to do all these kind of modifications.
&nbsp;

With the tool you can:

  • Verify existing permissions on a mailbox
  • Verify existing single user permissions on a mailbox
  • Remove existing single user permissions from a mailbox
  • Add permissions to individual folders or full mailbox
  • Grant "Send on Behalf", "Send as Mailbox" and "Full Access" permissions
    &nbsp;

Link on a GitHub: https://github.com/Tristanic1/Set-MailboxFolderPermissionsGUI
&nbsp;

It's my first ever GUI script, so let me know if you have any suggestions or modifications.

πŸ‘︎ 45
πŸ’¬︎
πŸ‘€︎ u/Tristanic
πŸ“…︎ May 17 2019
🚨︎ report
Recursive Mandelbrot Set imgur.com/NGVUy9r
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/kanedaj
πŸ“…︎ Feb 14 2020
🚨︎ report
How to set up regular recurring, recursive, incremental, online ZFS filesystem backups using zfsnap reddit.com/r/DataHoarder/…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/jdrch
πŸ“…︎ Aug 12 2019
🚨︎ report
How to set up regular recurring, recursive, incremental, online ZFS filesystem backups using zfsnap reddit.com/r/DataHoarder/…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/jdrch
πŸ“…︎ Aug 12 2019
🚨︎ report
Can you construct a recursive set (without naive set theory)

Is the set A = {A} a valid set in ZFC? In other set theories?

I know it is in naive set theory, but what about the others?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/Lalaithion42
πŸ“…︎ Jun 01 2016
🚨︎ report
Recursive Kalimos Summoning Quest Theme Deck. Set of 8 Cards.
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/botr0013
πŸ“…︎ Nov 13 2018
🚨︎ report
Question about setting up a recursive DNS server. youtu.be/FnFtWsZ8IP0?t=69…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/pastaMac
πŸ“…︎ Jan 10 2022
🚨︎ report
How to set up regular recurring, recursive, incremental, online ZFS filesystem backups using zfsnap reddit.com/r/DataHoarder/…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/jdrch
πŸ“…︎ Aug 12 2019
🚨︎ report
Recursive set property

I'm having an issue with some schoolwork writing a recursive setter for a validated integer value. Here's the set code I have so far:

((using System;))
((using static System.Console;))
set
{
    int ParseVal;
    if(value &gt;= 1 &amp;&amp; value &lt;= 10 &amp;&amp; int.TryParse(Convert.ToString(value), out ParseVal))
    {
        length = Convert.ToInt32(value);
    } else {
        Write("  The value entered is invalid. Try again: ");
        length = int.Parse(ReadLine());
    }
}

It's part of a public class, set property for private int length.

πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/coggro
πŸ“…︎ Jun 05 2016
🚨︎ report
The Fate of LoneWolf!Naruto [Recursive fic, set in Waffle’s Gardens AU] archiveofourown.org/works…
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/unorganized_shelf
πŸ“…︎ Sep 16 2018
🚨︎ report
`obj.set(obj.get())` leads to mutually equi-recursive types when translated to (some kind of) lambda calculus github.com/sinelaw/infern…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/sinelaw
πŸ“…︎ Nov 19 2015
🚨︎ report
[MS SQL] Recursive CTE - Walking a result set, until the first terminating condition

Suppose I have a table, the purpose of which is to capture the status against an application. An example of the data contained within is:

Id ApplicationId StatusNumber Status StatusDate
1 1 1 Submitted 2018-02-05
2 1 2 Active 2018-02-08
3 1 3 Pending 2018-03-01
4 1 4 Cancelled 2018-03-05
5 1 5 Active 2018-04-01
6 1 6 Cancelled 2018-06-01

My requirement is to calculate the number of days an application has been active for, per stint. Stated more plainly:

  1. Find the records that contain the value of Cancelled in the Status column.
  2. Walk the record set from the bottom to the top, until you encounter an Active value in the Status column - at this point in time, stop the recursion.

Simple in concept. Herewith the script I've done so far.

with base as
(
	select Id
		,ApplicationId
		,StatusNumber
		,ApplicationStatus
		,StatusDate
	from
	(
		values
			(1, 1, 1, convert(nvarchar(16), N'Submitted'), convert(date, '2018-02-05'))
			,(2, 1, 2, convert(nvarchar(16), N'Active'), convert(date, '2018-02-08'))
			,(3, 1, 3, convert(nvarchar(16), N'Pending'), convert(date, '2018-03-01'))
			,(4, 1, 4, convert(nvarchar(16), N'Cancelled'), convert(date, '2018-03-05'))
			,(5, 1, 5, convert(nvarchar(16), N'Active'), convert(date, '2018-04-01'))
			,(6, 1, 6, convert(nvarchar(16), N'Cancelled'), convert(date, '2018-06-01'))
		) as V (Id, ApplicationId, StatusNumber, ApplicationStatus, StatusDate)
)
,recurse as
(
	select Id
		,ApplicationId
		,StatusNumber
		,ApplicationStatus
		,StatusDate
		,cast(null as int) as Duration
		,cast(null as int) as PrevStatusNumber
		,cast(null as nvarchar(16)) as PrevApplicationStatus
		,cast(null as date) as PrevStatusDate
	from base
	where ApplicationStatus = N'Active'

	union all

	select b.Id
		,b.ApplicationId
		,b.StatusNumber
		,b.ApplicationStatus
		,b.StatusDate
		,datediff(day, r.StatusDate, b.StatusDate) as Duration
		,r.StatusNumber as PrevStatusNumber
		,r.ApplicationStatus as PrevApplicationStatus
		,r.StatusDate as PrevStatusDate
	from base as b
	inner join recurse as r on
		b.ApplicationId = r.ApplicationId
		and b.StatusNumber &gt; r.StatusNumber
	where b.ApplicationSt
... keep reading on reddit ➑

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Marrrlllsss
πŸ“…︎ Jun 12 2018
🚨︎ report
`obj.set(obj.get())` leads to mutually equi-recursive types when translated to (some kind of) lambda calculus : compsci reddit.com/r/compsci/comm…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/sinelaw
πŸ“…︎ Nov 19 2015
🚨︎ report
Installing Fulmics failed , set metadata recursive

People on the internet says , that I have to install latest TWRP recovery , but I only have recovery , no OS , and i dont know how to continue . Any ideas ?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/panveduci
πŸ“…︎ Feb 23 2016
🚨︎ report
Need help regarind Policy based routing (set ip next hop recursive)

I have tried reading in google about informations on how ip next hop recursive works and basically on how I understand it, it is used when the next hop address you plan to configure is not directly connected or not an adjacent router. Im about to give up already because I cannot make it work on this GNS3 setup.

http://imgur.com/51KzCtJ

By the way, as far as routing goes, Client router can ping to ISP2's fa0/0 interface IP address. Also I have configured a default route on webserver router to packets back to ISP2 router.

Anyone here have experience in implementing this kind of PBR? What am I doing wrong? Fyi, I am going to implement this on a real network. Thanks!

Edit: Running IOS on VXR and Main router is C7200-adventerprisek9_SNA-M, Version 15.0(1)M

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/mynameiskeeet
πŸ“…︎ Apr 29 2014
🚨︎ report
[Java] Need help writing a recursive method for the union of a set of doubly linked lists

I am trying to write a recursive method for an array of Double linked lists, I have provided the code I have so far.

private static DLLSet recUnion(DLLSet[] sArray, int first, int last){

    DLLSet set1 = new DLLSet();
    DLLSet set2 = new DLLSet();
    if (first&gt;last)
        return set1.union(set2);
    else{
        set1 = set1.union(sArray[first]);
        set2 = set2.union(sArray[last]);
        return recUnion(sArray, first+1, last-1);
    }        
}

The driver routine for the private recursive method is:

public static DLLSet recUnion(DLLSet[] sArray){

return recUnion(sArray,0,sArray.length-1) }

Can someone provide me feedback on it? Also, I am having trouble calling it, do I just call it as is in the main function (set=recUnion(sArray))?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/LaMonsieur
πŸ“…︎ Feb 18 2014
🚨︎ report
[Discrete Math] Need resources for recursive sets & proofs

Having trouble with this subject. Using Rosen’s book, but it’s not clicking (especially tree and dictionary proofs). Anyone recommend some papers, blogs etc.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/CircuitBeast
πŸ“…︎ Nov 22 2017
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.