pow's mnesia cache with dynamic nodes (containers in kubernetes)
thanks for the awesome work on your library, [@danschultzer](/u/danschultzer) :slight\_smile: i’m planning to use pow in my next project, which will rely on distributed nodes which will dynamically scale up and down. they will discover one another using libcluster’s dns-based discovery mechanism.

it is not immediately…
[@sensiblearts](/u/sensiblearts) has been working on a guide for libcluster setup (that will be put up on [powauth.com](http://powauth.com)). here’s a way to handle it: <https://github.com/pow-auth/pow_site/issues/10#issuecomment-533845299>

i’ve tested it locally with a k8s cluster, and it worked perfectly scaling up and down. if you push t…
loopback basically applies user policy as a computer policy.
merge vs replace is how the policy gets applied.
merge mode
in this mode, when the user logs on, the user's list of gpos is typically gathered by using the getgpolist function. the getgpolist function is then called again by using the computer's location in active directory. the list of gpos for the computer is then added to the end of the gpos for the user. this causes the computer's gpos to have higher precedence than the user's gpos. in this example, the list of gpos for the computer is added to the user's list.
replace mode
in this mode, the user's list of gpos is not gathered. only the list of gpos based on the computer object is used. [image] dueck456:

is there an easy way to detect when new code is flashed to the device so i can reinitialize the retained variables?

below is a link to a post by [@rickkas7](/u/rickkas7) about storing retained data in a struct.

[image] dueck456:

saving a know value to eeprom jumps to mind

there is … hi [@petridis\_panagiotis](/community/forums/u/petridis_panagiotis),

how can i find the ip and port of my database hosted in mongo atlas?

regarding the ports, you may find the [troubleshoot connection issues](https://docs.atlas.mongodb.com/troubleshoot-connection/#attempting-to-connect-to-a-cluster-from-behind-a-firewall) documentation useful, more specifically the following:

atlas clusters operate on port 27017 . you must be able to reach this port to… i checked in with the dns team on this one and we’re actually in the process of changing jump\_start to move to a newer system for scanning dns records which the ui uses already.

if you want to try it (the api is not documented yet), you can do this by creating the zone with jump\_start: false and th… A couple of notes to get started:



> 
> .apply(literal\_eval)
> 
> 
> 


Wouldn't this be better as `map`?



> 
> I then re-create the Dask DF:
> 
> 
> ddf = dd.from\_pandas(ddf\_out, npartitions=nCores)
> 
> 
> 


`ddf_out` was already a dask dataframe, I don't know why you had to do this.



> 
> The columns in result seem to match those in metadir.
> 
> 
> 


The value of `result.columns` is taken from the meta you provided, no computing happens until you ask for it (dask is lazy in most operations). Does the ValueError exception not provide further information?


Here is a full example



```
x = ({'F9_07_PZ_COMP_DIRECT': '0',
  'F9_07_PZ_DIRTRSTKEY_NAME': 'DEBRA MEALY',
  'F9_07_PZ_COMP_OTHER': '0',
  'F9_07_PZ_COMP_RELATED': '0',
  'F9_07_PZ_TITLE': 'CHAIR PERSON',
  'F9_07_PZ_AVE_HOURS_WEEK': '1.00',
  'F9_07_PC_TRUSTEE_INDIVIDUAL': 'X'},
 {'F9_07_PZ_COMP_DIRECT': '0',
  'F9_07_PZ_DIRTRSTKEY_NAME': 'HELEN GORDON',
  'F9_07_PZ_COMP_OTHER': '0',
  'F9_07_PZ_COMP_RELATED': '0',
  'F9_07_PZ_TITLE': 'VICE CHAIR',
  'F9_07_PZ_AVE_HOURS_WEEK': '1.00',
  'F9_07_PC_TRUSTEE_INDIVIDUAL': 'X'})
df = pd.DataFrame({'a': x})
d = dd.from_pandas(df, 1)
meta = pd.DataFrame(columns=['F9_07_PZ_COMP_DIRECT', 
       'F9_07_PZ_DIRTRSTKEY_NAME',
       'F9_07_PZ_COMP_OTHER', 'F9_07_PZ_COMP_RELATED', 'F9_07_PZ_TITLE',
       'F9_07_PZ_AVE_HOURS_WEEK', 'F9_07_PC_TRUSTEE_INDIVIDUAL'], dtype="O")
d.map_partitions(lambda df: df.a.apply(pd.Series), meta=meta).compute()

```

How did I know what `meta` to use? I applied the function to the pandas dataframe - you might use a small piece of the dataframe to do this.


Some additional notes:


* it is an anti-pattern to load the data with pandas, pass to dask workers and then gather the whole result back to a pandas (in memory) dataframe, you are very unlikely to see a speedup this way and may incur a lot of overhead. You are better off loading with something like `dd.read_csv`, and aggregating or writing with dask functions too. Only `compute()` on something that will be small or not return anything (because it involves writing the output). The official examples do not use from\_pandas.
* string and dict processing are python methods, and so hold the interpreter lock (GIL) of any python function: threads will not actually run in parallel. To get parallelism, you need to run in processes, which is most easily achieved using <https://docs.dask.org/en/latest/setup/single-distributed.html>
* the distributed scheduler also gives you access to the dashboard, which has a lot of useful information to diagnose how your system is running. You can also configure a lot about its behaviour, in case you have firewall rules you need to obey. [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) and [sessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) both extend [Storage](https://developer.mozilla.org/en-US/docs/Web/API/Storage). There is no difference between them except for the intended "non-persistence" of `sessionStorage`.


That is, the data stored in `localStorage` persists until explicitly deleted. Changes made are saved and available for all current and future visits to the site.


For `sessionStorage`, changes are only available per tab. Changes made are saved and available for the current page **in that tab** until it is closed. Once it is closed, the stored data is deleted. is this the sort of output you want?

library(tidyverse)

library(lubridate)

westdata <- tibble::tribble(

~category, ~order.date, ~speed,

"stationary", "2010-05-06", 3,

"supplies", "2011-05-06", 5,

"technology", "2014-05-06", 3,

"supplies", "2013-05-06", 2,

… I've had great success with [wsdl2php](https://github.com/jbarciauskas/wsdl2php). It will automatically create wrapper classes for all objects and methods used in your web service. Over the years, I've had several versions of DW -- some were more stable than others.  I can honestly say, the FTP has never been a big problem for me.   If it ever becomes glitchy, I close DW and clear my cache or restore preferences as that fixes most  problems. 

**[Unusual behavior in Dreamweaver? Try restoring preferences.](https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html "https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html")** 

I mainly work with dynamic sites but I don't have more than 2,000 files per site folder.    Each site folder resides on my primary hard drive within my local testing server's default web directory (htdocs or www).   

![CC-testingServer1.jpg](/legacyfs/online/1550323_CC-testingServer1.jpg)

I use Ctrl+Shift+U to upload an open document to server.  To be quite honest, it happens so fast, I don't even see the background process panel.    If I'm uploading many files, I expand my files panel so I can compare contents of local site with remote server to ensure that the last modified timestamps are consistent.

![CC-FilesPanel-expanded.jpg](/legacyfs/online/1550322_CC-FilesPanel-expanded.jpg)

Finally, I had to turn off Real-Time backups and anti-virus scanning while I work.  When those processes were running in the background, everything came to a crawl. 

Hope this helps.



 Nancy O'Shea, ACP  

Alt-Web Design & Publishing that's exactly what it is. the ports you use for hdd's and so on. the pcie lanes are shared between them so if you use the m.2 slot, you lose the ports that share the lanes. 

it's only 2 and you still have 4 more :)

love my aorus pro wifi btw. snazzy board that works well and looks good doing it