Latest Version - Still seems not to work

Ok, live capture works. Replay seems not to work. Every Replay Download there is just an empty folder created.
using Last Version (09.12.) and Python 3.5.2
Downloading broadcast information. Downloading replay information.  Downloading chunk list.  Dowloading replay XXXXX.ts
gets only an empty folder.
Update:
Still getting this Failure:
Downloading broadcast information. Downloading replay information. Traceback (most recent call last): File "runpy.py", line 184, in _run_module_as_main  "__main__", mod_spec)   File "runpy.py", line 85, in _run_code     exec(code, run_globals)   File "C:\Python35\Scripts\pyriscope.exe\__main__.py", line 9, in <module>   File "c:\python35\lib\site-packages\pyriscope\__main__.py", line 23, in main     processor.process(args)   File "c:\python35\lib\site-packages\pyriscope\processor.py", line 456, in process     access_public['cookies'][2]['Name'], IndexError: list index out of range

Looks like they made some more changes... Here's an update.
processor.py.zip

And they mucked again...
processor.py.zip

processor.py.zip

Thank you. It still seems not to work. Same Failure.

For me, it will only work on urls that look like

https://www.periscope.tv/w/2kk3kjwk3k3k

If it has the username in the url, it won't find the downloads  i.e.

https://www.periscope.tv/username/2kk3kjwk3k3k

Hi, zendesk-thittesdorf.
Please check your fix for this REPLAY:
https://www.periscope.tv/w/1gqGvRlpbeOGB
https://www.periscope.tv/joe/1gqGvRlpbeOGB
I get here "No files to download", though these files exist, of course.

Both links work for me.  I would guess that the installed app isn't patching properly.  You can replace the script directly by putting it in the site-packages folder which for me is /usr/local/lib/python3.5/site-packages/pyriscope

You're absolutely right, it solved the problem, thanks!
And btw - what about adapt your patch to kindred batch script by n3tman (https://github.com/n3tman/periscope.tv) ?

HI i'm already send a patch ti the batch version.
Sincerly

Thanks again @zendesk-thittesdorf ! Your changes have been added to the latest version.


Environment not updated in status bar after running Create Environment if preexisting .venv was selected

Type: Bug

Behaviour
Expected vs. Actual
When creating a new virtual environment with Create Environment, the status bar should update accordingly.
Steps to reproduce:

Create an environment in .venv.
Make sure the extension has selcted it.
Delete the .venv directory.
Run Create Environment to create a new environment using a different Python version.
Notice how the status bar doesn't change.

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.10.4
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Pylance

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

languageServer: "Pylance"

linting
• enabled: false

formatting
• provider: "black"

testing
• autoTestDiscoverOnSaveEnabled: false

experiments
• optInto: ["All"]

Extension version: 2022.17.12871028
VS Code version: Code - Insiders 1.73.0-insider (7ef8e6b87a2a5a25ba1ef946bd1640ca3510956c, 2022-10-14T05:17:07.227Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.75GB (1.08GB free)

Process Argv
C:\Users\brcan\OneDrive - Microsoft\Snippets\snippets.md --crash-reporter-id 2f8216b4-0af9-4bf4-a156-6cdcff01b0ab

Screen Reader
no

VM
0%

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pylantcb52:30590116
pyind367cf:30587848
vscccc:30564267
pyindex848:30577858
nodejswelcome1:30587009

This happens because:

We only run a Python binary once per session.
When .venv directory is deleted, VSCode watcher doesn't fire any event due to limitation of watchers: https://github.com/microsoft/vscode/issues/110923. If it did, we could've force run the binary again.

So I don't think this can be easily tackled without some special casing.

If it did, we could've force run the binary again.

We cannot detect when it's deleted but can detect when it's created again, reopening.

I have verified that the status bar changes. But, does it always create a venv in .venv? I had a .venv already, and it was actually .venv1 that I had active that I deleted during verification.


BULQ-1525 Add email address as AIT field

@nevern02 and @kwoodard22 can you review this please?

Dunno who johnking is, but looks a'ight to me.  Hope that dude likes email.


Spfx AadHttpClient with Azure AD B2B users, error from spfxsinglesignon.aspx - AADSTS70002: Error validating credentials. AADSTS50132: Session unusable due to expired or revoked external refresh token.

Category

[ ] Question
[ ] Typo
[x ] Bug
[ ] Additional article idea

Expected or Desired Behavior
Any type of Azure AD B2B user can successfully call an Azure Function secured with Azure AD using the AadHttpClient.
Observed Behavior
A specific type of Azure AD B2B user is unable to call the Azure Function, an Azure AD B2B user who's email address is<EMAIL_ADDRESS>is met with the following error stack when executing the function call:
Uncaught (in promise) Error: AADSTS70002: Error validating credentials. AADSTS50132: Session unusable due to expired or revoked external refresh token.
Trace ID: f24ff438-dcf0-46a4-884d-33143fbd3300
Correlation ID: 1cc00bbc-bdba-460c-a195-962238092fc9
Timestamp: 2018-09-11 10:32:59Z
at Array. (sp-webpart-workbench-assembly_en-us_f8a0e7244f4ad150f9e12d48ce35aa75.js:981)
at _callBackMappedToRenewStates.(anonymous function)._callBackMappedToRenewStates.(anonymous function) (https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-08-31.007/1.sp-http-adal_58855c41adb591deebd1.js:3:7561)
at AuthenticationContext.handleWindowCallback (VM418 adal.min.js:2)
at parseTokenFromUrl (VM419 spfxsinglesignon.aspx:20)
at onload (VM429 spfxsinglesignon.aspx:31)
Steps to Reproduce
I have used the following article to create a simple webpart to test the spfx AadHttpClient:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial
I have created an Azure Function and secured it using Azure AD by following the steps on this article (note only the function, I have used the spfx webpart from the docs.microsoft.com article):
https://www.vrdmn.com/2018/02/sharepoint-framework-calling-aad.html
In my webpart code I have the following:
private _searchWithAad(): void {     // Log the current operation     console.log("Using _searchWithAad() method");     this.props.context.aadHttpClientFactory       .getClient('09fd7687-d9a4-4dcc-a883-f8cc26451f72')       .then((client: AadHttpClient) => {         return client           .get(https://sqanowdev01funcscratch.azurewebsites.net/api/GetUserDetails?name=${escape(this.state.searchFor)}`,
AadHttpClient.configurations.v1
);
})
.then(response => {
return response.json();
})
.then(json => {
console.log(json);
});
this.props.context.aadHttpClientFactory
  .getClient('https://graph.microsoft.com')
  .then((client: AadHttpClient) => {
    // Search for the users with givenName, surname, or displayName equal to the searchFor value
    return client
      .get(
        `https://graph.microsoft.com/v1.0/users?$select=displayName,mail,userPrincipalName&$filter=(givenName%20eq%20'${escape(this.state.searchFor)}')%20or%20(surname%20eq%20'${escape(this.state.searchFor)}')%20or%20(displayName%20eq%20'${escape(this.state.searchFor)}')`,
        AadHttpClient.configurations.v1
      );
  })
  .then(response => {
    return response.json();
  })
  .then(json => {

    // Prepare the output array
    var users: Array<IUserItem> = new Array<IUserItem>();

    // Log the result in the console for testing purposes
    console.log(json);

    // Map the JSON response to the output array
    json.value.map((item: any) => {
      users.push( {
        displayName: item.displayName,
        mail: item.mail,
        userPrincipalName: item.userPrincipalName,
      });
    });

    // Update the component state accordingly to the result
    this.setState(
      {
        users: users,
      }
    );
  })
  .catch(error => {
    console.error(error);
  });

}
`
My Azure Function code looks like this:
`using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Security.Claims;
public static async Task Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
string result = "";

var claimsList = new Dictionary<string, string>();

//Current user claims
foreach (Claim claim in ClaimsPrincipal.Current.Claims)
{
    string claimType = claim.Type;
    string claimValue = claim.Value;
    result = result + "-" + "Type " + claimType + " Value " + claimValue;
    claimsList.Add(claimType, claimValue);
}

var claimsFound = ClaimsPrincipal.Current.Claims;
var didWeFind = claimsFound.GetType().Name;

return req.CreateResponse(HttpStatusCode.OK, claimsList, JsonMediaTypeFormatter.DefaultMediaType);}

`
When I test this code using the https://.sharepoint.com/sites//_layouts/15/workbench.aspx  I see the following output in the browser console with the following users:

An admin user of the home tenant:
I can see the list of claims returned by the function in the console output.

An organisational account from another tenant who has been added as a Guest user (Azure AD B2B user)
I can see the list of claims returned by the function in the console output.

A user with an email address of<EMAIL_ADDRESS>who has been added as a Guest user (Azure AD B2B user)
I can see the list of claims returned by the function in the console output.

A user with an email address of<EMAIL_ADDRESS>who has been added as a Guest user (Azure AD B2B user, via their Microsoft Account<EMAIL_ADDRESS>and NOT via google federation)
I see the following error:
Uncaught (in promise) Error: AADSTS70002: Error validating credentials. AADSTS50132: Session unusable due to expired or revoked external refresh token.
Trace ID: f24ff438-dcf0-46a4-884d-33143fbd3300
Correlation ID: 1cc00bbc-bdba-460c-a195-962238092fc9
Timestamp: 2018-09-11 10:32:59Z
at Array. (sp-webpart-workbench-assembly_en-us_f8a0e7244f4ad150f9e12d48ce35aa75.js:981)
at _callBackMappedToRenewStates.(anonymous function)._callBackMappedToRenewStates.(anonymous function) (https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-08-31.007/1.sp-http-adal_58855c41adb591deebd1.js:3:7561)
at AuthenticationContext.handleWindowCallback (VM418 adal.min.js:2)
at parseTokenFromUrl (VM419 spfxsinglesignon.aspx:20)
at onload (VM429 spfxsinglesignon.aspx:31)

Submission Guidelines
Thanks for your contribution! Sharing is caring.

As this falls directly under the Azure Active Directory auth topics, we in the SharePoint engineering cannot, unfortunately, solve this and would request to add an entry to AAD StackOverflow which is their location for reported issues. This is clearly not due SPFx, it's around auth structure - https://stackoverflow.com/questions/tagged/azure-active-directory.


Fix repeating tokens

Checks for repeating sub-sequences of token ids. They are just lists of integers so it should be fast enough.
I only tested the math, feel free to change the implementation into verify, I tried to align it to current interfaces.

This should be solved by detecting extremely improbable tokens that was just merged. Thank you for the pr!


Simplify log_2_byte & add test

In my opinion, log_2_byte was a little over complicated. It's easy/faster/simpler to make this a few if conditions.
Also, remove todos which are only related to loading the trusted setup.

Is there any significant speed difference between these? Just wondering if the test and implementation should be swapped.

So I did benchmark it and found it to be almost the exact same. I'm guessing the compiler probably generates the same/similar code for both implementations. I think the one that gets used should be the simpler one.


keras.models.clone_model not working

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
tf 2.10
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
To clone a model using keras.models.clone_model to keep ema weights

Standalone code to reproduce the issue
When cloning a model that inherits from (tf.keras.models.Model), can't use keras.models.clone_model.

Relevant log output
ValueError                                Traceback (most recent call last)
Input In [20], in <cell line: 1>()
----> 1 gan = GAN(generator=generator, discriminator=discriminator)
      5 # Define losses
      6 generator_loss, discriminator_loss = get_loss('nsl')

Input In [19], in AdatGAN.__init__(self, generator, discriminator)
      4 super(AdatGAN, self).__init__()
      5 self.generator = generator
----> 6 self.ema_generator = tf.keras.models.clone_model(self.generator)
      7 self.discriminator = discriminator
      8 self.noise_dim = noise_dim

File ~/anaconda3/envs/tf28/lib/python3.8/site-packages/keras/models/cloning.py:505, in clone_model(model, input_tensors, clone_function)
    501     return _clone_sequential_model(
    502         model, input_tensors=input_tensors, layer_fn=clone_function
    503     )
    504 else:
--> 505     return _clone_functional_model(
    506         model, input_tensors=input_tensors, layer_fn=clone_function
    507     )

File ~/anaconda3/envs/tf28/lib/python3.8/site-packages/keras/models/cloning.py:173, in _clone_functional_model(model, input_tensors, layer_fn)
    167     raise ValueError(
    168         "Expected `model` argument "
    169         "to be a functional `Model` instance, "
    170         f"got a `Sequential` instance instead: {model}"
    171     )
    172 if not model._is_graph_network:
--> 173     raise ValueError(
    174         "Expected `model` argument "
    175         "to be a functional `Model` instance, "
    176         f"but got a subclassed model instead: {model}"
    177     )
    179 new_input_layers = {}  # Cache for created layers.
    180 if input_tensors is not None:
    181     # Make sure that all input tensors come from a Keras layer.

ValueError: Expected `model` argument to be a functional `Model` instance, but got a subclassed model instead: <__main__.Generator object at 0x7efff88591c0>

Hi @milmor,
Subclassed models cannot be cloned, since their internal layer structure is not known. To achieve equivalent functionality as clone_model in the case of a subclassed model, make sure that the model class implements get_config() (and optionally from_config()), and call: new_model = model.__class__.from_config(model.get_config()). Please find the sample code below;
import tensorflow as tf
from tensorflow import keras

class CustomModel(tf.keras.models.Model):
    def __init__(self, hidden_units):
        super(CustomModel, self).__init__()
        self.hidden_units = hidden_units
        self.dense_layers = [keras.layers.Dense(u) for u in hidden_units]

    def call(self, inputs):
        x = inputs
        for layer in self.dense_layers:
            x = layer(x)
        return x

    def get_config(self):
        return {"hidden_units": self.hidden_units}

    @classmethod
    def from_config(cls, config):
        return cls(**config)

model = CustomModel([16, 16, 10])

new_model = model.__class__.from_config(model.get_config())

Thank you!


A question about yelp data set

Hello, I have read your paper and am very interested. The node features of the yelp data set are constructed by the word bag vector of keywords, but I don’t know where the keywords in the data set are. I hope to find the original (with key Word) data set, can you help me？
There are where I can find the current data source:
https://github.com/librahu/HeGAN
https://github.com/Andy-Border/HGSL
https://github.com/dingdanhao110/Conch
https://github.com/librahu/HIN-Datasets-for-Recommendation-and-Network-Embedding
but now I can not find the keyword in business (or feature).....\thanks a lot!

Hello, I have read your paper and am very interested. The node features of the yelp data set are constructed by the word bag vector of keywords, but I don’t know where the keywords in the data set are. I hope to find the original (with key Word) data set, can you help me？ There are where I can find the current data source: https://github.com/librahu/HeGAN https://github.com/Andy-Border/HGSL https://github.com/dingdanhao110/Conch https://github.com/librahu/HIN-Datasets-for-Recommendation-and-Network-Embedding
but now I can not find the keyword in business (or feature).....\thanks a lot!

Hi Huafei,
Thanks for your interest in our work.
I don't know the exact source of the word features. Plus, there exist many versions of the Yelp dataset. However, I assume some of the versions were converted from an old dataset dated back to the data source SemRec. I hope you may find this link helpful
Best regards,
Jianan

Hello, I have read your paper and am very interested. The node features of the yelp data set are constructed by the word bag vector of keywords, but I don’t know where the keywords in the data set are. I hope to find the original (with key Word) data set, can you help me？ There are where I can find the current data source: https://github.com/librahu/HeGAN https://github.com/Andy-Border/HGSL https://github.com/dingdanhao110/Conch https://github.com/librahu/HIN-Datasets-for-Recommendation-and-Network-Embedding
but now I can not find the keyword in business (or feature).....\thanks a lot!

Hi Huafei,
Thanks for your interest in our work.
I don't know the exact source of the word features. Plus, there exist many versions of the Yelp dataset. However, I assume some of the versions were converted from an old dataset dated back to the data source SemRec. I hope you may find this link helpful
Best regards, Jianan

Thank you very much for your help!  I believe it will deepen my understanding of Yelp dataset. My sincere wishes!


Cannot use lookup command despite having a defusal contract

This has happened multiple times by now we have been playing a save with my friends and we had a defusal contract but there were cases where we found the bomb sent smb back to ship and after providing them with the serial nr. he couldn't get the wire order and it said something along the lines of can't use this command, you need to have a defusal contract.

If you use contract commands instead of the interactive contracts, you will probably not have this issue.


error loading module requirements

After installing prerequisites, I tried tp cd ~/media-server-go-native/rtclive and run a go build
I got an error:
go: parsing ../../media-server-go/go.mod: open /home/me/media-server-go/go.mod: no such file or directory

I copied  the go/src/github.com/notedit/media-server-go from its location to  ~/media-server-go and tried again a go build .
Now I get
# pkg-config --cflags  -- gstreamer-1.0 gstreamer-base-1.0 gstreamer-app-1.0 gstreamer-plugins-base-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-plugins-bad-1.0
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
...

and then more similar errors.
What am I doing wrong?

you did not install the gstreamer.
you can find https://github.com/notedit/rtclive/blob/master/.travis.yml


Change the conditional statement to avoid the ineffective maxCount

Fixes #10179.

@hecenjie can you also add a unit test ?

@netty-bot test this please

@hecenjie can you also add a unit test ?

Sure, I'll try it later.

@hecenjie can you also add a unit test ?

I found that maxCount are actually checked in method ChannelOutboundBuffer#nioBuffers(Entry, ByteBuf, ByteBuffer[], int, int), so there is no problem. I still achieve the unit test for this parameter, hope this will be helpful : )

@netty-bot test this please

@hecenjie please fix the check style errors:
07:34:37 [INFO] Starting audit...
07:34:37 [ERROR] /code/transport/src/test/java/io/netty/channel/ChannelOutboundBufferTest.java:126: trailing whitespace [RegexpSingleline]
07:34:37 [ERROR] /code/transport/src/test/java/io/netty/channel/ChannelOutboundBufferTest.java:128:41: '{' is not preceded with whitespace. [WhitespaceAround]
07:34:37 Audit done.

@hecenjie please fix the check style errors:
07:34:37 [INFO] Starting audit...
07:34:37 [ERROR] /code/transport/src/test/java/io/netty/channel/ChannelOutboundBufferTest.java:126: trailing whitespace [RegexpSingleline]
07:34:37 [ERROR] /code/transport/src/test/java/io/netty/channel/ChannelOutboundBufferTest.java:128:41: '{' is not preceded with whitespace. [WhitespaceAround]
07:34:37 Audit done.

done

@netty-bot test this please

@hecenjie can you please update the commit message to be inline with our commit template ?
https://netty.io/wiki/writing-a-commit-message.html

@hecenjie can you please update the commit message to be inline with our commit template ?
https://netty.io/wiki/writing-a-commit-message.html

done

@hecenjie thanks a lot....


Unable to read docx containing pictures linking to internal bookmarks: KeyError: "There is no item named 'word/#MyBookmark' in the archive"

Bug
The document below contains a picture with a hyperlink to an internal bookmark.

Then the hyperlink ends up like this, notice the a:hlinkClick relationship ID:
                <w:drawing>
                    <wp:inline distT="0" distB="0" distL="0" distR="0" wp14:anchorId="2A30E332" wp14:editId="3F2B5F70">
                       (...)
                        <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
                            <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/picture">
                                <pic:pic xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">
                                    <pic:nvPicPr>
                                        <pic:cNvPr id="28" name="Picture 28" descr="(...)">
                                            <a:hlinkClick r:id="rId21"/>
                                        </pic:cNvPr>
                                        <pic:cNvPicPr/>
                                    </pic:nvPicPr>
                                    <pic:blipFill>
                                        (...)
                                    </pic:blipFill>
                                    (...)
                                </pic:pic>
                            </a:graphicData>
                        </a:graphic>
                    </wp:inline>
                </w:drawing>

Now, in word/_rels/document.xml.rels, we get:
    <Relationship Id="rId21" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="#MyBookmark"/>

This item bugs python-docx for me. I'll admit I'm using a 2.5-year-old version of the package, since I needed to modify stuff for my own usecase, so I am not sure whether this has been fixed after that. I was looking for whether this had been solved somehow, and it seems it is very much related to this issue.
Investigation
I see in the pkgreader that the target_mode can be used to identify external targets, and that external targets receive special treatment to avoid such zipfile issues. External targets are recognized in the relationship file for e.g. hyperlinks to web sites, and add a Target attribute to the <Relationship> object.
From what I gather, RT.HYPERLINK elements that have a Target starting with # should be treated specially - like some sort of internal bookmark relationship (or similar).

I'm inclined to think the quick fix (if you're patching your fork) is to add code to _SerializedRelationship.is_external to catch this case and report the relationship as external. docx.opc.oxml.CT_Relationship.target_mode is another possibility, adding something like:
if self.target_ref and self.target_ref.startswith("#"):
    return RTM.EXTERNAL

If you want to study the spec, perhaps there is some mention there or clarification of the criteria for internal/external and a more robust long-term behavior could be proposed.
I suppose an alternative is to add code that distinguishes "internal" hyperlinks from internal "parts" and only loads internal part references. But that sounds like a bigger deal that would invoke a broader scope. If I was going to do that I would rework the whole docx.opc.pkgreader module which would benefit from a broad refactoring (but isn't going to get one from me anytime soon :)
Now that I'm thinking about it, maybe just a try-except-continue around the part loading bit would be a better alternative, since that would also address the NULL target issue. Maybe that could just wrap that blob = phys_reader.blob_for(partname) L114 in your stacktrace and have continue there if it catches a KeyError, which essentially skips trying to load that part.


Entities and Query Results get mixed up

Expected Behavior
I want to name my entity classes SomethingEntity and label them with @NodeEntity("Something"). At the same time, I want to have a query result class Something, with a subset of information for example.
Current Behavior
OGM get's confused in the following case:
Given are two classes, one mapped with @NodeEntity  and one mapped as @QueryResult.
OGM takes the class info and mapping definition from the entity for the query result when the class of the query result has the same name as the primary label of the entity, i.e.
@NodeEntity("Thing")
public class ThingEntity {
	@Id @GeneratedValue
	private Long id;

	private String name;
}

@QueryResult
public class Thing {
	private String notAName;;

	public String getNotAName() {
		return notAName;
	}

	public void setNotAName(String notAName) {
		this.notAName = notAName;
	}
}

Running the following query:
public interface ThingRepository extends Neo4jRepository<ThingEntity, Long> {
	@Query("return 'NOT A NAME!!!' as notAName")
	List<Thing> findAllTheThings();
}

writes in the log: Unable to find property: notAName on class: com.example.entity_qr_mixup.ThingEntity for writing
Possible Solution
Possibly related to the fact that simple class names are used for lookups of class info.
Steps to Reproduce (for bugs)
Reproducer attached:
entity_qr_mixup.zip
Context
How has this issue affected you? - I am sad now.
Your Environment

OGM Version used: 3.1.4
Java Version used: 8 and 11
Neo4J Version used: 3.4.9
Bolt Driver Version used (if applicable): Happens in OGM

Fix with e57dc8cf7be44e11ed466c3b5a6a740975a7ca26, in 3.2 as cdffa25f6e02e0a2182433ff3baa4693d8866029 and also in 3.1 as 6dbbd86238f4df24e936bbb44bb95c4739eeefe4.
There's a test in SDN prepared as well: https://jira.spring.io/browse/DATAGRAPH-1271


Another exception was thrown: type 'String' is not a subtype of type 'int' of 'index'

Index should be only Integer value

Hi @shubhamdtalekar, please provide a minimal, reproducible example and the output of flutter doctor -v as well as flutter run -v.


⚠ Bofrost.be has degraded performance

In b012c21, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1934 ms

Resolved: Bofrost.be performance has improved in aa60a94.


use zstandard library

seems to be a much more maintained library
edit: qlogs compress slightly faster but rlogs take 2x longer!

Yes, and they also have pre-built python3.12 wheels!

@sshane can you try to reduce the compression level step by step and see when rlogs don’t take 2x anymore? I think it uses a newer version of zstd. I only used zstandard with the default level.

I'm confused, the zstd library is so much faster than the other two with the same zstd version (1.5.5), will look into it.
comma@comma-1a8caafe:/data/openpilot$ python test.py
5.219517157995142  # zstd
9.818812099983916  # zstandard
10.366369541501626  # pyzstd

I assumed that a default argument value of threads=0 meant single threaded, but apparently not :upside_down_face: https://github.com/sergey-dryabzhinsky/python-zstd/blob/eba9e633e0bc0e9c9762c985d0433e08405fd097/src/python-zstd.c#L93


Yeah, I think having an option for that is a fair point.

Recommend browser plugin.  This is an n = 1 issue for an n = (m > 1) problem.
Recommend close.

@knappador Tried one browser plugin. Only changes the color of the code samples. Descriptive text stays black on white.
Can you recommend browser plugin (for Firefox?)

No, if there is no available option for your plugin, then what you want is to find the absolute best option for "night mode" where the author is willing to work with you, and then just invert the logic around detection and mapping to create a "bright mode."
Recommend closing.

Leaving open for a while just in case anyone has a better solution.

Recommend closing.  r/firefox and similar communities will have more informative and relevant feedback.

Who is the maintainer of vulkano.rs? Is that you, @knappador?

No, but if I were, I would only have one thing to say.  "Closed, not
Vulkano."
On Thu, Apr 25, 2019, 7:18 AM Nico Orrù<EMAIL_ADDRESS>wrote:

Who is the maintainer of vulkano.rs? Is that you, @knappador
https://github.com/knappador?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vulkano-rs/vulkano/issues/1194#issuecomment-486648346,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4Q4YCZYIPIKRVY34AXYTPSGOPZANCNFSM4HGIFYDQ
.

Anyone has any idea how to contact vulkano.rs's webmaster?

I'm not opposed to adding a javascript toggle for this, but I don't have time to do it myself. Filing an issue or making a PR at https://github.com/vulkano-rs/vulkano-www would be the way forward.

If this is still an issue you are concerned about make an issue at vulkano-www.


Can not commit changes

I can pull from github but when i choose commit and push change it keeps showing git: commiting change.. without any change on github repo

Can you check the console ( CTRL + SHIFT + i) to see if there is any error?

Same issue here. Details:

Mac OS (Big Sur) 11.5.2 (Intel x86_64)
git 2.33.0 (I'm not sure if the plugin is using the git cli or an npm package)
Obsidian 0.2.12
Latest release of the obsidian-git plugin (just installed it via the UI)
The remote is an SSH URL (using a private key), I can git add/commit/push using the CLI or any git UI
GPG signing is enabled in my git config globally: git config --global commit.gpgsign true

This is the error I see in the console:
(Btw Ctrl+Shift+I does nothing on Mac, Cmd+Opt+I bring up the dev console)
Uncaught (in promise) Error: error: cannot run gpg: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object

    at Object.action (eval at <anonymous> (app.js:1), <anonymous>:2752:33)
    at PluginStore.exec (eval at <anonymous> (app.js:1), <anonymous>:2784:33)
    at eval (eval at <anonymous> (app.js:1), <anonymous>:3187:45)
    at new Promise (<anonymous>)
    at GitExecutorChain.handleTaskData (eval at <anonymous> (app.js:1), <anonymous>:3185:16)
    at GitExecutorChain.eval (eval at <anonymous> (app.js:1), <anonymous>:3169:46)
    at Generator.next (<anonymous>)
    at fulfilled (eval at <anonymous> (app.js:1), <anonymous>:3097:58)
    at processTicksAndRejections (internal/process/task_queues.js:93)

So the problem is the GPG signing (works from the git cli or from any git UI), if I disable GPG signing for the repo (git config commit.gpgsign true) it works but I don't want to disable GPG signing.

@jonatan-ivanov Could you please check this workaround and see if it works?

@denolehov This makes perfect sense, and by knowing this, I have another workaround: if you start Obsidian from the terminal where the environment is initialized (PATH), the Obsidian process will see the environment variables finds gpg and commit works: open /Applications/Obsidian.app.


General: Validation with io-ts types

We use io-ts to validate data retrieved from external data sources. This is a great way to perform runtime validation and ensure incoming types match the expected TypeScript definition. However, there are cases where we might want to relax the validation, or only validate a portion of an object.
For example, we are using an io-ts type for the Session object. This object contains entries for several parts of a workspace: filters, computations, visualizations, etc. If we change the type for a Visualization, we don't necessarily want to invalidate the entire Session object. Instead, we probably want to keep the pieces that are valid, and report on the pieces that are not valid.
This issue is about exploring how that can be done. io-ts provides a pretty detailed report of validation errors, so it might be possible to leverage that. We might also consider breaking up the Session type in such a way that we can iteratively validate different parts of a Session.

Should we include discussion of viz config versioning here?


Map endpoint audit fixes

Audited the map endpoint code and compared against the node-db version: https://github.com/nycmeshnet/node-db/blob/master/src/spreadsheet.js#L119
Found a few discrepencies:

Nodes from re-assigned NNs are not being handled correctly
Abandoned sectors should not be included in the output JSON

This PR fixes these issues and closes #164

Why are we using NodeDB as a source of truth? Why not verify against the AppScript directly?

Nodes from re-assigned NNs are not being handled correctly

Can you elaborate?

Today, the map is composed of a JSON payload that depends on both NodeDB and appscript code. NodeDB calls the appscript endpoint to get a list of all installs, links, and sectors and then filters them via the logic I linked above. The audit included both codebases, and we are now roughly compliant with their logic
However, there are definitely some bugs in our system, the display doesn't look right, but that will be tracked via #163 since it is likely broader than just the /mapdata endpoints (e.g. it includes import script related fixes also)

We had a phonecall


Not able to remove "\t" from scraped text in puppeteer

While scraping a table using puppeteer, I came across an issue where one of the data cells contains a lot of space than the actual content.
When checked the webpage, one of the columns (Address) contains "\t\t\t\t\t" in the code before and after the text.
Can someone share how to remove all the "\t" from the text?
Steps to reproduce
Tell us about your environment:

Puppeteer version:2.0.0
Platform / OS version: Windows 10 Pro
Node.js version: 12.13.0

What steps will reproduce the problem?
Please include code that reproduces the issue.

const title = await page.$$eval('table tr th', ths => ths.map((th) => {return th.innerHTML;}));
const data = await page.$$eval('table tr td', tds => tds.map((td) => { return td.innerHTML; }));
for(var i=0; i<data.length; i++) { await console.log(title[i] + ': ' + data[i]); };

What is the expected result?
"Area Name, City Name, State Name"

What happens instead?
Address:
"                                              Area Name, City Name, State Name                             "

I think this is not related with puppeteer. You can replace tabs with a regex .replace(/\t/g,'').


verlok lazyload not add loaded class for background images

By default, the plugin is added loaded class for images after it's loaded, But that's not happening for background images. (The same issue on the plugin demo page).
So my question is how can added class loaded  for background images?

Hey @a7medm7med,
things changed on version 15.
I found a way to manage background images's load/error event, so now background images are now getting the loaded or error class and calling callback_loaded and callback_error.
Take a look at the changelog and to the upgrading guide if you're interested.
Have a nice day.


Can't load Microsoft.AspNetCore.Hosting <IP_ADDRESS>

In the course of trying to help the EF Core team verify that a bug I'd run across was fixed in v1.1, I updated a functioning solution to both EF Core 1.1 and AspNet Core 1.1.
And I really, really, wish I hadn't.
First off, my previously-functioning MVC6 site stopped working, complaining about a version mismatch on Microsoft.Logging.Abstractions (I think it involved not being able to find v1.0.0 of that assembly).
So I figured I'd just revert everything back to where it was before I did the test for the EF Core team. That should fix everything, right?
Wrong.
Now I'm getting the following:

System.IO.FileLoadException was unhandled
Message: An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module.
Additional information: Could not load file or assembly 'Microsoft.AspNetCore.Hosting, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Here's the project.json file for the MVC6 app:
{
  "userSecretsId": "aspnet-ConnellCampaigns-ddb1a50a-eba1-4870-91d4-4d26457f64ce",

  "dependencies": {
    "AutoMapper": "5.1.1",
    "BundlerMinifier.Core": "2.2.296",
    "ConnellData": "1.0.0-*",
    "ConnellDataCore": "1.0.0-*",
    "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0",
    "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0",
    "Microsoft.AspNetCore.Mvc": "1.0.1",
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0",
    "Microsoft.Azure.WebJobs": "1.1.2",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.1",
    "Microsoft.EntityFrameworkCore.SqlServer.Design": "1.0.1",
    "Microsoft.EntityFrameworkCore.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.Extensions.Caching.Memory": "1.0.0",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.WindowsAzure.ConfigurationManager": "3.2.3",
    "Serilog": "2.3.0",
    "Serilog.Extensions.Logging": "1.2.0",
    "Serilog.Sinks.Literate": "2.0.0",
    "Serilog.Sinks.RollingFile": "3.2.0",
    "UploadFramework": "1.0.0-*",
    "WindowsAzure.Storage": "7.2.1"
  },

  "tools": {
    "BundlerMinifier.Core": "2.0.238",
    "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final",
    "Microsoft.Extensions.SecretManager.Tools": "1.0.0-preview2-final",
    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
      "version": "1.0.0-preview2-final",
      "imports": [
        "portable-net45+win8"
      ]
    }
  },

  "frameworks": {
    "net46": {
      "frameworkAssemblies": {
        "System.IO.Compression": "<IP_ADDRESS>"
      },
      "dependencies": {
      }
    }
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },

  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "Areas/**/Views",
      "appsettings.json",
      "web.config"
    ]
  },

  "scripts": {
    "prepublish": [ "bower install", "dotnet bundle" ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  }
}

I'd appreciate help in getting me back to my paying work :). Also advice on how to diagnose this kind of problem in the future (other than never, ever, ever offering to test things :)).

In the bin/<configuration>/<framework>/ folder is a *.deps.json which shows the dependencies your project got from restoring and all the references it has. You can navigate that file to see where the 1.1.0 reference to hosting is coming from.

You might have stray binaries \ app.config in your bin directory. Does wiping the bin directory and rebuilding work?

Thanx, Brennan and Prana, for the quick replies. Brennan, I didn't check out your suggestion because Prana's approach solved the problem. But I'll definitely keep it in mind for the future.
Clearing the bin directory did fix the problem. The app's config file had a lot of references to later versions of assemblies that it shouldn't have contained after I regressed the app. But what confuses me is that I did a "Clean Solution" and Rebuild before asking for help, because I've seen similar problems caused by cruft. I thought "Clean Solution" wiped out the contents of the bin directory...but it didn't in this case (I checked). I had to delete the directory contents manually. Apparently, the behavior of Clean changed somewhere along the way.

I think this is similar to #1824, but for me wiping the bin folder or deleting nuget cache didn't solve the issue.

Nothing works for me. I removed entire project, published again, but still receive the error: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Hosting, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

Solved. It was missing "Microsoft.AspNetCore.Server.Kestrel": "1.1.0", in my project.json file.
In 1.0.1 it was optional, but now it´s required.

I have the same error when publishing to azure web apps,

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.Hosting, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Is using "Microsoft.AspNetCore.Server.Kestrel": "1.1.0" package a good solution for asp.net core 1.0?
here's my project.json:
{
  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },
  "dependencies": {
    "Microsoft.ApplicationInsights.AspNetCore": "1.0.2",
    "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
    "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.0.0",
    "Microsoft.AspNetCore.Authorization": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Mvc": "1.0.1",
    "Microsoft.AspNetCore.Mvc.Core": "1.0.1",
    "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.1",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0",
    "Microsoft.EntityFrameworkCore.Design": "1.0.1",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.1",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview3-final",
    "Microsoft.Extensions.Configuration.Binder": "1.1.0",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.IdentityModel.Protocols.OpenIdConnect": "2.1.0",
    "Microsoft.NETCore.App": "1.0.1",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0",
    "Newtonsoft.Json": "9.0.2-beta1",
    "WindowsAzure.Storage": "7.2.1"
  },
  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },
  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "web.config",
      "appsettings.json",
      "appsettings.*.json",
      "LICENSE.txt"
    ]
  },
  "runtimeOptions": {
    "gcServer": true
  },
  "runtimes": {
    "win10-x64": {},
    "win7-x64": {}
  },
  "scripts": {
    //"prepublish": [ "npm install", "npm recompileapp" ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  },
  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
    "Microsoft.EntityFrameworkCore.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "platform",
      "imports": [
        "portable-net45+win8+dnxcore50",
        "portable-net45+win8"
      ]

    }
  }
}

@guybartal don't mix 1.1 and 1.0 packages, update everything to 1.1.

@Tratcher  I want to, but I need "WindowsAzure.Storage" which is not compatible with 1.1 yet. any recommendations?
why azure web app expecting Microsoft.AspNetCore.Hosting, Version=<IP_ADDRESS> if all my packages are 1.0?

Downgrade your Microsoft.Extensions packages to 1.0 then. Microsoft.Extensions and Microsoft.AspNetCore version together.

@Tratcher
oops,  I missed that somehow,
i've just tried downgrading Microsoft.Extensions packages to 1.0.1  and even 1.0.0 on all packages, but still got the same error (only on azure web app).
here's my current project.json, what am I missing now?:
{
  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },
  "dependencies": {
    "Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
    "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
    "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.0.0",
    "Microsoft.AspNetCore.Authorization": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Mvc": "1.0.0",
    "Microsoft.AspNetCore.Mvc.Core": "1.0.0",
    "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0",
    "Microsoft.Extensions.Configuration.Binder": "1.0.0",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.IdentityModel.Protocols.OpenIdConnect": "2.0.0",
    "Microsoft.NETCore.App": "1.0.0",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0",
    "Newtonsoft.Json": "9.0.1",
    "WindowsAzure.Storage": "7.2.1"
  },
  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },
  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "web.config",
      "appsettings.json",
      "appsettings.*.json",
      "LICENSE.txt"
    ]
  },
  "runtimeOptions": {
    "gcServer": true
  },
  "runtimes": {
    "win10-x64": {},
    "win7-x64": {}
  },
  "scripts": {
    //"prepublish": [ "npm install", "npm recompileapp" ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  },
  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
  }
}

SOLVED!
created new asp.net core app and copy it's project.json missing parts,
I think what fixed it was missing "type": "platform" on "Microsoft.NETCore.App"
thank you for your time @Tratcher !
{

  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.1",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.ApplicationInsights.AspNetCore": "1.0.0",
    "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
    "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.0.0",
    "Microsoft.AspNetCore.Authorization": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Mvc": "1.0.0",
    "Microsoft.AspNetCore.Mvc.Core": "1.0.0",
    "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.AspNetCore.StaticFiles": "1.0.0",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0",
    "Microsoft.Extensions.Configuration.Binder": "1.0.0",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.IdentityModel.Protocols.OpenIdConnect": "2.0.0",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
    "Newtonsoft.Json": "9.0.1",
    "WindowsAzure.Storage": "7.2.1"
  },
  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },
  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "web.config",
      "appsettings.json",
      "appsettings.*.json",
      "LICENSE.txt"
    ]
  },
  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },
  "runtimes": {
    "win10-x64": {},
    "win7-x64": {}
  },
  "scripts": {
    //"prepublish": [ "npm install", "npm recompileapp" ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  },
  "tools": {
    "BundlerMinifier.Core": "2.0.238",
    "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
  }
}

I had the similar problem for Microsoft.AspNetCore.Http.Features package and I fixed it by adding assembly redirect into app.config:
     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.AspNetCore.Http.Features" publicKeyToken="adb9793829ddae60" culture="neutral" />
         <bindingRedirect oldVersion="<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
       </dependentAssembly>
     </assemblyBinding>

Re: hikalkan
I had the same issue with Microsoft.AspNetCore.Http.Features.
I resolved it by Microsoft.VisualStudio.Web.BrowserLink.Loader v14.1.0  with
Microsoft.VisualStudio.Web.BrowserLink v1.0.0
I started using VS 2017 RC. The default template of ASP.NET MVC Core was working initially. This problem occurred to me after upgrading all packages to Core 1.1.0
It seems that the Web.BrowserLink.Loader v14.1.0 (May be other packages)  uses an old reference to old Features 1.0

@zarinbal
It's interesting that there are two packages. And also https://www.nuget.org/packages/Microsoft.VisualStudio.Web.BrowserLink download count is just 131 :)
Does anyone know why there are two packages and which one we should use?

These steps helped me as well:

Clear bin folder
Remove project.lock.json file

For whom still getting the Microsoft.AspNetCore.Http.Features /  Microsoft.AspNetCore.Server.Kestrel[13] error below, on VS 2015.

Try uncheck "Enable Browser Link" at visual studio and set UseBrowserLink() on Startup.cs.

You will need also reference "Microsoft.VisualStudio.Web.BrowserLink.Loader" at project.json.
That's works for me, probably is a Visual Studio issue.

https://github.com/IdentityServer/IdentityServer4/issues/703
Comment out app.AddBrowserLink() works for me!

I had similar issue but it started working by deleting bin folder.
But don't know why it started working. I have my app running initially but when I switched to different app and switch back to the app then it stopped working. Whenever I started debugging and it crashed with the exception at the program.cs said "Can't load Microsoft.AspNetCore.Hosting <IP_ADDRESS>"

I have a new web project created with full .NET framework in Visual Studio 2017 using the setup below:

ASP.NET Core Web Application (.NET Framework) - WebProject1
xUnit Test Project (.NET Core) - IntegrationTest1

Full project source code is available at GitHub.
Further configuration:

Modify XUnitTestProject1 to use net451 using Edit csproj.
Add TestHost.
Run integration test.
Test fail when initiating new TestServerFixture();

The error is as follow:
System.IO.FileLoadException: 'Could not load file or assembly 'Microsoft.AspNetCore.Hosting.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

Anyone has an idea how can I fix it?

@imkheong I had the same issue (targeting net46). I started a new core project, added a unit test project, change both projects to net46 and had to do the following to enable AspNetCore.TestHost: https://github.com/aspnet/Hosting/issues/926

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Create phrases_fr.js

help translate, see example on head and line 10 aso.

Translations are managed via https://www.transifex.com/iancoleman/bip39-website/
Partial translations are not accepted because it poses a risk to end users having only partial knowledge about what they're doing.
See also https://github.com/iancoleman/bip39/issues/36 - User interface in multiple languages


run flutter iOS simulator failed

I am using latest Flutter sable version, I am trying to run flutter on my iOS Simulator, I tried iPhone 11 pro max, and iPhone 8 plus , can't be running and always error
fluter run --verbose

what I got is :
[  +56 ms] Could not build the application for the simulator.
[   +2 ms] Error launching application on iPhone 8 Plus.

throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:509:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#4      _rootRunUnary (dart:async/zone.dart:1134:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#9      Future._completeWithValue (dart:async/future_impl.dart:524:5)
#10     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#11     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#12     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#13     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#14     _rootRunUnary (dart:async/zone.dart:1134:38)
#15     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#22     IosProject.isSwift (package:flutter_tools/src/project.dart)
#23     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#24     _rootRunUnary (dart:async/zone.dart:1134:38)
#25     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#26     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#27     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#28     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#29     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#30     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#31     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#32     IosProject.buildSettings (package:flutter_tools/src/project.dart)
#33     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#34     _rootRunUnary (dart:async/zone.dart:1134:38)
#35     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#36     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#37     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#38     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#39     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#40     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#41     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#42     XcodeProjectInterpreter.getBuildSettings (package:flutter_tools/src/ios/xcodeproj.dart)
#43     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#44     _rootRunUnary (dart:async/zone.dart:1134:38)
#45     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#46     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#47     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#48     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#49     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#50     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#51     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#52     _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart)
#53     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#54     _rootRunUnary (dart:async/zone.dart:1134:38)
#55     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#56     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#57     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#58     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#59     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#60     Future.wait.<anonymous closure> (dart:async/future.dart:400:22)
#61     _rootRunUnary (dart:async/zone.dart:1134:38)
#62     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#63     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#64     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#65     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#66     Future._complete (dart:async/future_impl.dart:514:7)
#67     _BufferingStreamSubscription.asFuture.<anonymous closure> (dart:async/stream_impl.dart:206:14)
#68     _rootRun (dart:async/zone.dart:1122:38)
#69     _CustomZone.run (dart:async/zone.dart:1023:19)
#70     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#71     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:391:13)
#72     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:401:15)
#73     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:285:7)
#74     _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:98:11)
#75     _EventSinkWrapper.close (dart:async/stream_transformers.dart:25:11)
#76     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
#77     _Utf8ConversionSink.close (dart:convert/string_conversion.dart:302:20)
#78     _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:82:18)
#79     _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:143:24)
#80     _rootRun (dart:async/zone.dart:1122:38)
#81     _CustomZone.run (dart:async/zone.dart:1023:19)
#82     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#83     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:391:13)
#84     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:401:15)
#85     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:285:7)
#86     _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:774:19)
#87     _StreamController._closeUnchecked (dart:async/stream_controller.dart:631:7)
#88     _StreamController.close (dart:async/stream_controller.dart:624:5)
#89     _Socket._onData (dart:io-patch/socket_patch.dart:1858:21)
#90     _rootRunUnary (dart:async/zone.dart:1138:13)
#91     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#92     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#93     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:338:11)
#94     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:265:7)
#95     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:766:19)
#96     _StreamController._add (dart:async/stream_controller.dart:642:7)
#97     _StreamController.add (dart:async/stream_controller.dart:588:5)
#98     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1406:35)
#99     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:912:18)
#100    _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#101    _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#102    _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#103    _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

can provide the output of flutter doctor

here is the
flutter doctor --verbose

[✓] Flutter (Channel stable, v1.12.13+hotfix.8-pre.5, on Mac OS X 10.14.6 18G4032, locale en-ID)
    • Flutter version 1.12.13+hotfix.8-pre.5 at /Users/hoomacbuk/flutter
    • Framework revision f139b11009 (13 days ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/hoomacbuk/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2019.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 01FA94F6-1F98-40D7-8DCB-90C310FD8737 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

Hi @harmnot
This isn't the latest stable and latest XCode
[✓] Flutter (Channel stable, v1.12.13+hotfix.8-pre.5, on Mac OS X 10.14.6 18G4032, locale en-ID)
    • Flutter version 1.12.13+hotfix.8-pre.5 at /Users/hoomacbuk/flutter
    • Framework revision f139b11009 (13 days ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

Can you please upgrade to latest stable and  please provide your flutter doctor -v and flutter run --verbose?
Thank you

I want into the folder flutter which I clone and then git pull origin stable,
how to upgrade then from that directory ??? and what is the latest stable version ?
and I can't upgrade the latest Xcode because I am still in Mojave and to upgrade the latest Xcode I must upgrade to Catalina

Hi @harmnot
Please upgrade to latest stable
Execute the following commands
flutter channel stable
flutter upgrade flutter
then  can you please provide your flutter doctor -v and try running the app flutter run --verbose?
Thank you

@TahaTesser  I did ,
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E287, locale en-ID)
    • Flutter version 1.12.13+hotfix.9 at /Users/hoomacbuk/flutter
    • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/hoomacbuk/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) • 04DAB2D7-C4A3-4A80-B354-FA7B79A33376 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)

I think this is issue of flutter,
for more log check here
https://slexy.org/raw/s21WHL8d9L?token=219f2a48abb74cff7d8032259fdf6e181ea20afb6bf21f49bda96e940fbfa25e&ts=1587173789

another error when I create another project
Xcode's output:
↳
    /Users/hoomacbuk/Documents/do-flutter/u/transaction/build/ios/Debug-iphonesimulator/Runner.app: resource fork, Finder information, or similar detritus not allowed
    Command CodeSign failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).

Hi @harmnot
This indicates, you don't have team selected in Signing & Capabilities in XCode
    warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')

Please follow Build and release an iOS app
Thank you


DOC: incorrect section ordering for classes

Issue with current documentation:
On class pages like https://scipy.github.io/devdocs/reference/generated/scipy.interpolate.CubicHermiteSpline.html, the Attributes and Methods sections render after other sections like References, contrary to the guidance at https://numpydoc.readthedocs.io/en/latest/format.html#class-docstring.
This seems like a problem with the doc tooling, as they are in the correct order in the source code:
https://github.com/scipy/scipy/blob/5438adc9d895f331556970e62d3fff91be4a4ea1/scipy/interpolate/_cubic.py#L117-L129
Idea or request for content:
No response
Additional context (e.g. screenshots, GIFs)
discovered by @anushkasuyal in gh-21096

So - it looks like this has been the case "forever": https://docs.scipy.org/doc/scipy-1.5.0/reference/generated/scipy.interpolate.CubicHermiteSpline.html
Although I agree this is maybe not the optimal way to present this information, my interpretation is that the numpydoc section linked above does not prescribe how the docstring sections should be rendered, it only talks about how they should be defined in the source. So we might want to take this up with upstream since I believe this is the result of autodoc/autosummary default settings - see, for example :

https://numpy.org/doc/stable/reference/generated/numpy.ufunc.html#numpy.ufunc
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html#pandas.DataFrame
https://scikit-learn.org/stable/modules/generated/sklearn.cluster.HDBSCAN.html -> note that in this case the methods are presented in detail, not in an autosummary table.

@Carreau do you have any thoughts here?

Purely based on intuition, I'm going to say it's due NumpyDocstring's __str__, and the order in which it iterates over sections.
https://github.com/numpy/numpydoc/blob/54dbc890fdecc4c2e170e208ed2edc05bb62202a/numpydoc/docscrape.py#L547-L569

thanks @Carreau, I'll send a PR over there

Have you tried ? I mean my guess is a shot in the dark, so maybe I'm wrong...

Have you tried ? I mean my guess is a shot in the dark, so maybe I'm wrong...

I haven't checked whether this will fix our docs yet, but I'm pretty confident that it's an improvement regardless. At worst it will rule out one source of the problem.

Upstream fix is in, let's wait and see once the new version of numpydoc comes through.

this is fixed now! thanks for the help all and @anushkasuyal for the original report


Client

Sample client implementation,
WIP.

How do we wish to use this client?

Ideally, to make it easier for a client program to interact with and consume data from TMF APIs.
To that end we would want to do something like this:
catalogs : Vec<Catalog> = client.tmf620().catalog().list();
Whilst this is similar to what platypus does (provides the APIs), it the other end of it.
So we're asking for a client to consume from platypus or any other TMF compliant source.
To make this work we'd need a parent struct, (tmf620 in this case) to provide access to the child structs.

This makes more sense under its own repo rather than embedded into the library crate.

Covered under new repository:
https://github.com/rruckley/tmf-client


Please make dopamine jailbreak for A15 ios 16.3

People can sideload it from the app Scarlet instead of trollstore also.

12 year old behavior, believing without question for which you do not understand

Im saying that when it becomes possible can you make one not to just do all of that work lol. Wtf you mean I dont understand

You have no idea how rare this was. And to think it will happen again? It will take people not caring about public safety for it to happen again. Not all security researchers will release to the public. We got lucky with linus releasing stuff publicly twice.
We need two rare bugs + two tradition kernel bugs for jailbreaks in this day and age. Best of luck hoping 👍🏻

Damn srry


See a76f078


Is anyone think about machine scaling on swarm?

Swarm looks like an amazing tools for deploying apps into cloud, but I have a doubt about how it would integrate with cloud-providers autoscaling.
Is there any integration between swarm and machine for docker-based scaling? Or sort of for each kind of driver?

I'm looking at this myself- luckily, docker already integrates cpu usage, so once that is integrated into the swarm api, it should be possible to see how loaded each type of container is and spawn more.

As @cultureulterior stated above, there is a way to scale above the initial Swarm agents by monitoring CPU and Memory usage on each node. This way when you reach a given threshold (let's say 80% of resources in use throughout the cluster), you create another Swarm agent to accommodate the demand and incoming future containers in the cluster.
The same way, you can tell: "Most of the time my cluster is empty and I'm wasting resources so kill a few node because I don't need them."

@abronan @cultureulterior thanks for your fast answers.
So, that means it is possible to implement auto-scaling feature running on swarm-master, right?
Should this be changed to a FR? Or it should be requested on composer?

I've just done 100-node scaling using compose via swarm. Although it's not auto-scaling, but I think compose would be a good place for this feature?
Anyway, with Global scheduling #601, swarm will have an autoscaling-like feature anyway.

This is probably outside of the scope of Swarm (at least for now).
Swarm and Machine provide the APIs so that anyone can build a feature such as auto-scaling on top of them.


export get_root

I am working on a library that exposes https://github.com/vanruesc/postprocessing as svelte components.  I need access to the root three object, and didn't see any other way to access it.

Testing this locally, the exported get_root() returns undefined whenever I call it in routes or components. What condition did you test it in where it worked for you? Maybe I'm doing something wrong.
@Rich-Harris Is the purpose of the empty object context key to force a unique context for each three instance? Perhaps requiring an ID at the Canvas level (when multiple instances are detected) would allow context to be constructed using strings based on the canvas ID, making it easier to get to with getContext.

@aewing  -  The first thing I did was a quick and dirty edit of the svelte-cubed code in node_modules.  As you mentioned, I was getting undefined.  I would like to understand why.  However - once I forked the repo, linked it, made the modification, and then built it, everything started working as expected.

This would be nice to have. It would also simplify the implementation of the interactivity example in #20, which currently exposes the root via a binding on the Canvas component.

I have figured out a partial workaround to this, for those who don't want to fork the library or wait for something like this to be merged. With some hacking, it's possible to obtain references to the canvas, scene, and camera. I haven't figured out how to find the renderer or controls yet but it's probably doable.

canvas: You can find this using document.querySelector('canvas')
scene: You can find this by injecting your own Object3D into the scene using <Primitive />, and then traversing the object's ancestry all the way up to the root
camera: You can find this by traversing the scene's descendants

I have created a <ThreeProvider> component which does all of the above, and then sets the result as context. So if you put that as the only child under <Canvas>, then all of your components will be able to access the canvas, scene, and camera by doing getThree(). I'm planning on releasing these, along with some other helpers, as a library soon.

I've just published svelte-trois, which may solve this problem for some of you. It gives the ability to get access to the three.js scene, camera, canvas, and more. It also has some simple mouse event / raycasting functionality. You can give it a look here: https://www.npmjs.com/package/svelte-trois

This would be great to have, I'm currently having to bind the SC.Canvas component to a variable, and finding what I want from there

Hey all, have noticed Rich doing the following to get root https://github.com/Rich-Harris/svelte-cubed/blob/4f7a3b2a37aa2879433ed4c321d53edcfb702c99/src/lib/components/objects/Mesh.svelte#L21
Here's the setup function: https://github.com/Rich-Harris/svelte-cubed/blob/4f7a3b2a37aa2879433ed4c321d53edcfb702c99/src/lib/utils/context.js#L15
Could we use this?

What do you mean? they both give you getContext(ROOT);
export function setup(self) {
	const root = getContext(ROOT);

        // other stuff

	return {
		root,
		parent,
		self
	};
}

/** @returns {import('../types/context').RootContext} */
function get_root() {
	return getContext(ROOT);
}


[bug] cheat not loading

Describe the bug
when i click on start cheat a error pops up saying:  couldnt get the engine build number at all!
You must be using corrupted or ancient version of cs!
To Reproduce
tried to re install game (didnt work)
Tried with other versions of oxware but that didnt work too
Operating System
Windows 10

It works fine, you are probably not using a correct version.
Make sure your game is downloaded from steam, and that it is Beta version:


Add list of layers file to spfs run command

This adds support for list of layer references file to spfs run's command line to allow for larger environments (number of layesr) in smaller/shorter command lines.
This changes the EnvSpecItem for live layer files to allow more than one kind of yaml file in environment specifiers. It adds an EnvLayersFile that can contain a list of spfs references: disgests, tags, etc.. This extends and reworks the parsing and enums to support the new file, and moves LiveLayers to their own source code file.
Note: I'm not sure about some of the names I used for enums and entries, and the location of at least one enum. See the TODO: markers in the code, suggestions welcome.
An example layers list file:
# layers.spfs.yaml
api: v0/layerlist
layers:
  - A7USTIBXPXHMD5CYEIIOBMFLM3X77ESVR3WAUXQ7XQQGTHKH7DMQ====
  - spfs/some/tag/to/some/object
  - /path/to/some/live_layer.spfs.yaml
  - 6PJDUUENJYFFDKZWRKHDUXK4FGGZ7FHDYMZ7P4CXORUG6TUMDJ7A====

Note:
I haven't put any checks in to stop references to other layer list files in the code, or any depth limits on them. So it should be possible to put paths to other layer list files in a layer list file, and nest them indefinitely. I haven't tried that. If that's a concern I can add a check or limit.

Todo:

[ ] remove teh spfs from the api verion mapping related types
[ ] decide on references to layer files inside layer files, currently a recursive reference will break spfs run

I needed to update the docs the for spfs/v0/runspec change. So that's done now.


Flask-Ask Python 3.6 Support?

Hello,
I have written a Flask-Ask application and I am deploying it using Zappa.   When I run my tests with ngrok everything works fine.  However when I deploy using Zappa I get the following error while running my tests:
File "/var/task/models.py", line 4, in <module>     from flask_ask import session   File "/var/task/flask_ask/__init__.py", line 9, in <module>     from .core import (   File "/var/task/flask_ask/core.py", line 12, in <module>     from . import verifier, logger   File "/var/task/flask_ask/verifier.py", line 8, in <module>     from OpenSSL import crypto   File "/var/task/OpenSSL/__init__.py", line 8, in <module>     from OpenSSL import rand, crypto, SSL   File "/var/task/OpenSSL/rand.py", line 12, in <module>     from OpenSSL._util import (   File "/var/task/OpenSSL/_util.py", line 6, in <module>     from cryptography.hazmat.bindings.openssl.binding import Binding   File "/var/task/cryptography/hazmat/bindings/openssl/binding.py", line 12, in <module>     from cryptography.hazmat.bindings._openssl import ffi, lib ModuleNotFoundError: No module named 'cryptography.hazmat.bindings._openssl'
I am using python 3.6 and my Flask-Ask version is 0.9.3.  Is there support for Python 3.6 ?

Flask-Ask has works fine in Python 3.6 from my experience and I've hosted (and have clients hosting) apps in Heroku using that runtime version.
Chances are it's an environmental issue when you run in AWS Lambda (which is the purpose of Zappa if I'm not mistaken) since it needs to install dependencies. Double check your requirements.txt file or however you're having the AWS Lambda system setup your Python environment.
You might wan to check if that Lambda instance is properly installing the foreign function interface module (ffi) per this SO answer to a related traceback. Maybe try adding libffi-dev to your requirements.txt since you won't have access to apt.
Ultimately Lambda is just using an underlying EC2 instance, so you could also spin up your own EC2 system using the base Amazon Linux AMI that Lambda runs your code on and make sure things work for you there. See http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html

@s2tu I was mistaken, sorry, it's been awhile since I used Lambda.  I'd still recommend trying to create an instance using their AMI, make sure it works there, and follow their instructions for packaging and deploying a virtualenv.
If that still doesn't work, please let me know.

It might be that when the crypto package was compiled for a zappa dependency called lambda-packages, that it was compiled for 2.7 only.
https://github.com/Miserlou/lambda-packages/tree/master/lambda_packages
IIRC, I submitted the PR for that for that package when lambda only support 2.7
https://github.com/Miserlou/lambda-packages/pull/15

@s2tu I'm going to close this for now as it sounds like an environmental issue.


Apophenia: parachain oracle system

Project Abstract
The main goal of the Apophenia project is to be a trustless oracle chain available to the Dotsama ecosystem.
Apophenia achieves oracle functionality by providing a set of modules that can be used to register and consume data from a variety of external sources. These are organized in the form of feeds.
Essentially, this means:

Registering new feeds (aka. sources)
Consuming data from a registered feeds via XCM or chain events.
A staking / slashing mechanism to ensure the game-theoretic elements of the process

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[ ] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[ ] The software delivered for this grant will be released under an open-source license specified in the application.
[ ] The initial PR contains only one commit (squash and force-push if needed).
[ ] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

cc @FaisalAl-Tameemi

I have read and hereby sign the Contributor License Agreement.

I have read and hereby sign the Contributor License Agreement.

@Noc2 Thanks for the feedback. In regards to alternatives, @a-moreira and I can see that most of the projects under Oracle are inactive. For those that are active, here's a quick comparison:

interBTC: specialized for Bitcoin quotes, we intend to be a generalized oracle solution instead.

DIA: current solution available on Astar as ink! smart contracts. Like Laminar and Chainlink. data is pushed on-chain by centralized (and usually manually verified) offchain services.

Bridgestate: focused on collateralization values of bridges.

Tellor: a full fledged solution which we are ultimately building towards, however, as it stands the consumer parachains need to be EVM compatible, have smart contracts enabled and install a separate pallet to gain oracle functionality. In our case, simply using XCM queries is sufficient to gain full functionality. We intend to use similar game-theoretic and statistical techniques to validate data across different feeds.

Laminar: Data has to be actively pushed from external sources, triggered offchain. Overall it's a pallet to be included. Overall it contains some of the same restrictions as DIA and Chainlink.

pinging @a-moreira & @FaisalAl-Tameemi

I'm closing this due to inactivity. Let me know if I should reopen it.


Aborted (core dumped) in tf.raw_ops.ResourceScatterNdop

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.18.0-dev20240925
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
3.9.13
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
When the type of resource_handle is inconsistent with that of updates,tf.raw_ops.ResourceScatterNdop triggers the crash. As follows:
tf.raw_ops.ResourceScatterNdUpdate
tf.raw_ops.ResourceScatterNdAdd
tf.raw_ops.ResourceScatterNdSub
tf.raw_ops.ResourceScatterNdMax
tf.raw_ops.ResourceScatterNdMin
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

resource_var = tf.Variable(initial_value=tf.zeros([2, 2], dtype=tf.int32), trainable=False)
resource_handle = resource_var.handle

indices = np.array([[2, 1], [1, 2]], dtype=np.int32)
updates = np.array([10, 20], dtype=np.float32)
tf.raw_ops.ResourceScatterNdUpdate(  # crash
    ref=resource_handle,
    indices=indices,
    updates=updates,
    use_locking=True
)

tf.raw_ops.ResourceScatterNdAdd(  # crash
    ref=resource_handle,
    indices=indices,
    updates=updates,
    use_locking=True
)
tf.raw_ops.ResourceScatterNdSub(  # crash
    ref=resource_handle,
    indices=indices,
    updates=updates,
    use_locking=True
)
tf.raw_ops.ResourceScatterNdMax(  # crash
    ref=resource_handle,
    indices=indices,
    updates=updates,
    use_locking=True
)
tf.raw_ops.ResourceScatterNdMin(  # crash
    ref=resource_handle,
    indices=indices,
    updates=updates,
    use_locking=True
)

Relevant log output
2024-09-28 21:06:23.445185: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-09-28 21:06:23.508056: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-09-28 21:06:23.583640: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-09-28 21:06:23.607538: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-09-28 21:06:23.664877: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512_VNNI AVX512_BF16 AVX512_FP16 AVX_VNNI AMX_TILE AMX_INT8 AMX_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-09-28 21:06:31.527466: I tensorflow/core/common_runtime/gpu/gpu_device.cc:2021] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 3114 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:1f:00.0, compute capability: 8.9
2024-09-28 21:06:31.527985: I tensorflow/core/common_runtime/gpu/gpu_device.cc:2021] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 1724 MB memory:  -> device: 1, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:d4:00.0, compute capability: 8.9
2024-09-28 21:06:31.782114: F tensorflow/core/framework/tensor.cc:844] Check failed: dtype() == expected_dtype (3 vs. 1) float expected, got int32
Aborted (core dumped)

I tried running your code on Colab using TensorFlow v2.17.0 and the nightly version. I faced the same issue. Please find gist here for reference.
Thank you!


Suggestion: a possibility to change the cross color

Hi there
Is it possible to add a possibility to change the cross color? It's very very uncomfortable to measure things on black page elements like here http://awesomescreenshot.com/0c34jhy157.
Thanks in advance.

Thanks for the feedback! An updated marker icon which makes it easier to see on dark backgrounds will be available in the next release shortly.

Thank you! I'm also really looking forward to this update.


textDocument/implementation doesn't resolve local classes

Take this annotated example, where implementation is called on the points $^ and returns the corresponding ranges $[[]]
class $Class^A {
public:
  virtual ~A();
  virtual void $Method^doSomething();
};

class $Class[[B]] : A {
public:
  void $Method[[doSomething]]() override {}
};

namespace Other {
class $Class[[C]] : A {
public:
  void $Method[[doSomething]]() override {}
};
} // namespace Other

void foo() {
  class D : A {
  public:
    void doSomething() override {}
  };
}

As can be seen, the implementation(D) in foo  is not returned.
This behaviour appears to happen when everything is defined in the same file, or if the implementations are in their own cpp file.

Type hierarchy has the same issue.

Type hierarchy has the same issue.

Thanks for filing this.
Both textDocument/typeHierarchy(for subclasses) and textDocument/implementation are driven by the index.
Currently the index does not collect local symbols (such as those declared inside a FunctionDecl, BlockDecl,..).
This was done primarily to reduce the size of the index and thus the results are not entirely accurate in such a case.

Thanks for filing this.
Both textDocument/typeHierarchy(for subclasses) and textDocument/implementation are driven by the index.
Currently the index does not collect local symbols (such as those declared inside a FunctionDecl, BlockDecl,..).
This was done primarily to reduce the size of the index and thus the results are not entirely accurate in such a case.

Would it be wise to index just polymorphic classes inside functions, blocks, lambdas etc. There may be a case to index all records, but i feel there could be too much of a penalty there.

Would it be wise to index just polymorphic classes inside functions, blocks, lambdas etc. There may be a case to index all records, but i feel there could be too much of a penalty there.

As discussed offline with @usx95, indexing function-local classes (and its methods) looks like a reasonable fix.
Defining a class inside function body is not a super common pattern, so the increase of memory should not be large.
I think it is worth to try this solution and see how it goes (measuring the size of the index and the performance of the index).

As discussed offline with @usx95, indexing function-local classes (and its methods) looks like a reasonable fix.
Defining a class inside function body is not a super common pattern, so the increase of memory should not be large.
I think it is worth to try this solution and see how it goes (measuring the size of the index and the performance of the index).

Sent https://reviews.llvm.org/D94785 for review.

Sent https://reviews.llvm.org/D94785 for review.

Thanks for fixing this :+1:

Thanks for fixing this :+1:


Migrate to go-acme/lego.

What does this PR do?
Migrate to go-acme.
Fixed:

OVH: Refresh zone after deleting challenge record
hostingde: fix client fails if customer has no access to dns-groups
vscale: getting sub-domain
selectel: getting sub-domain
vscale: fix TXT records clean up
selectel: fix TXT records clean up

Motivation
Applies some bug fixes.
More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes

Add DNS Provider for ClouDNS.net
Add DNS Provider for Oracle Cloud

Is that a successor of github.com/xenolf/lego or a new implementation? I just wonder, there are no credits, its not a fork but it is still the same name.
Does this mean that the ACME implementation is a new one (entirely) ? Thanks

The project migrated from a user account (xenolf) to an organization (go-acme).

https://github.com/xenolf/lego
https://github.com/go-acme/lego


Finale of the JS Capstone Project

The following were implemented in this project.

We used the TVmaze Api  as the base for the  development of our webapp . And we used it to:

Get a list of items with a unique item id (or generate the unique id).
Get detailed information about it

We used the Involvement API to record the different user interactions (likes, comments and reservations).
We  built the following interfaces the home page, comments popup, and the reservations popup
We followed the layout of the wireframes provided.
When the page loads the webapp retrieves data from selected APIs and shows the list of items on the page, when the user clicks on the comment or the reservation button the popup appears with data from the API and when the user enters comments or the reservations, the data is sent to the selected API and later  fetched and displayed on the popup.
When the User clicks on the like button the data is sent to the selected API and later fetched and updates or display the likes.
We have counters in all the interfaces that show:

The number of items (home).
The number of comments (comments popup).
The number of reservations (reservations popup)

We used GitFlow to set up the repository and configured the webpack and also installed Jest to test our Counter Functions
We recorded the video which briefly shows the demo and description of our project, and included the link on our Readme file

Hi @medsonmoombe @yayner2002 @Epaltechs 👋,
Excellent job on this project. Keep it up 🎆
Congratulations! 🎉  on the splendid job 👍
You can now merge this PR and submit the project completion form 🚀 . I wish you all the very best in your next tasks 🥇
Highlights

Follows git workflow.  💯
Codebase looks clean and professional. 💯

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Don't access store directly

Currently, we are access the store directly by passing it through router and yet we are still using connect. In the three locations where we are doing this, it isn't needed, connect is sufficient. It is also considered bad practice because it can lead to potential errors.
Three places:
LoginContainer
VehicleContainer
LocationContainer
Dan Abramov (creator of redux) recommending against it.
https://github.com/reactjs/react-redux/issues/108#issuecomment-182553478

👍


Load balancer

I opened another pull request . https://github.com/apache/phoenix/pull/236
So, closing this one.