TF2.0 - why does this keras model learn data which is explicitly avoided in the loss?

I do not understand, how does a trained model learn values not influencing the loss function as given below by a minimal example. I am avoiding the error computation of corrupted data but my model still learns that corrupted data. I want to understand what is happening.
Suppose you have the following data for a function f(x) with input x (4 data points, input is 3-dimensional, output is 2-dimensional)
#%% Import
import numpy as np
import tensorflow as tf

#%% Data
x = np.array([
     [1,1,1]
     ,[1,1,2]
     ,[1,2,1]
     ,[1,2,2]
     ])

x = (x-np.mean(x,axis=0))

f = np.array([
     [5,10]
     ,[6,50]
     ,[4,-30]
     ,[7,-30]
     ])

d_f = 2

Suppose you want to train a keras model on this data, and the data values for f are corrupt in the last two data points in the second dimension. That means, I do NOT trust the number -30 (corrupted data). I still want to train a keras model. For that, I simply build a custom loss function which takes the mean squared error in the first 2 data points ([5,10] and [6,50]) and then only the square error in the last 2 data points ONLY IN THE FIRST COLUMN (from [4,-30] only [4] and from [7,-30] only [7]).
#%% Model with custom loss

model = tf.keras.Sequential([
    tf.keras.layers.Dense(16,activation='softplus')
    ,tf.keras.layers.Dense(16,activation='softplus')
    ,tf.keras.layers.Dense(d_f)
    ])

def myloss(f,f_m):
    f = tf.keras.backend.cast(f,tf.float32)
    ds = (f-f_m)**2
    ok = tf.keras.backend.mean(ds[0:2],axis=-1)
    corrupted = ds[2:,0]
    return tf.keras.backend.concatenate([ok,corrupted])

model.compile(
    optimizer='adam'
    ,loss=myloss
    )

print('Keras - evaluated loss:\n\t%.8f' % model.evaluate(x,f,verbose=0))
f_m = model.predict(x)
ds = (f-f_m)**2
myloss_output = np.concatenate([np.mean(ds[:2],axis=-1),ds[2:,0]])
print('Check f, f_m and myloss_output')
print(f)
print(f_m)
print(myloss_output)
print('Manually computed mean:\n\t%.8f' % np.mean(myloss_output))

My custom function myloss does what it should (mse w.r.t the first two data points and squared error w.r.t. the last two). The evaluation returns the mean over the computations, see code above. Deviations w.r.t. to the number -30 DO NOT APPEAR IN THE OUTPUT OF MYLOSS. The thing I do NOT understand here is that when I train the model, the trained model also approximates -30, although this is not in the output of myloss (see final code below).
1) Why is that?
2) How can I prevent it?
3) How can I train the model with the provided data such that after training I can see, what the model learned by itself for the positions of the corrupted data (-30)?
#%% Train and check predictions

model.fit(x,f,epochs=1500,verbose=2,batch_size=len(x))

# I do not understand, why the components f[2:,1] are ALSO trained, although the custom loss does not contain them
print(f)
print(model.predict(x))

# Output in console
[[  5  10]
 [  6  50]
 [  4 -30]
 [  7 -30]]
[[  4.269913   16.358786 ]
 [  6.6172767  45.615295 ]
 [  4.704413  -35.412888 ]
 [  6.408976  -25.318275 ]]

Sorry, got it, I just forgot about the default shuffle, i.e.,
model.fit(x,f,epochs=1500,verbose=2,batch_size=len(x),shuffle=False)
solves the problem! I will close the issue.


FactSet is not working $data from set property

Describe the bug
i ve been trying for a few hours to get this working.
when using SetProperty to set the array used by FactSets in Adaptive Cards, the key and value entries are not taken into account.
Version
Version:  1.4.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
as I am using a few custom behaviors in nodejs.
OS

macOS
To Reproduce
my situation is identical to this one , the only difference is that i get 'a scope of 'key' wasnt found'
set property dialog.carddataproperties with the array:
[   {     "key": "Assigned to",     "value": "Matt Hidinger"   },   {     "key": "Due date",     "value": "Not set"   } ]
        {             "type": "FactSet",             "facts": [                 {                     "$data": "${dialog.carddataproperties}",                     "title": "${key}:",                     "value": "${value}"                 }             ]         }
The error in Bot Framework Emulator is consistently the same.
valueType:"https://www.botframework.com/schemas/error"
value:"DialogContextError: Error: Error: DialogStateManager.getValue: a scope of 'key' wasn't found. [SendActivity_mpITBn] Error occurred when evaluating 'Attachments=${json(fromFile('.\\adaptivecard-Broken.json'))}'. [__temp__3c036cd87b1042cbbdc81b93d3c81283] Error occurred when evaluating '-```${SendActivity_mpITBn()}```'., Error: Error: DialogStateManager.getValue: a scope of 'key' wasn't found. [SendActivity_mpITBn] Error occurred when evaluating 'Attachments=${json(fromFile('.\\adaptivecard-Broken.json'))}'. [__temp__202e876c26e340e1b1bf93d7ace0e385] Error occurred when evaluating '-```${SendActivity_mpITBn()}```'."

it seems that I am not the only one to have this issue but never solved here
Even more confusing is that , I tried to replicate it the exact sequence in the official designer
https://adaptivecards.io/designer/ and it works.
{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "${dialog.carddata.title}",
            "wrap": true
        },
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "Image",
                            "style": "Person",
                            "url": "${dialog.carddata.creator.profileImage}",
                            "size": "Small"
                        }
                    ],
                    "width": "auto"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "weight": "Bolder",
                            "text": "${dialog.carddata.creator.name}",
                            "wrap": true
                        },
                        {
                            "type": "TextBlock",
                            "spacing": "None",
                            "text": "Created {{DATE(${string(dialog.carddata.createdUtc)}, SHORT)}}",
                            "isSubtle": true,
                            "wrap": true
                        }
                    ],
                    "width": "stretch"
                }
            ]
        },
        {
            "type": "TextBlock",
            "text": "${dialog.carddata.description}",
            "wrap": true
        },
        {
            "type": "FactSet",
            "facts": [
                {
                    "$data": "${dialog.carddata.properties}",
                    "title": "${key}:",
                    "value": "${value}"
                }
            ]
        }
    ],
    "actions": [
        {
            "type": "Action.OpenUrl",
            "title": "View Standards",
            "url": "${dialog.carddata.viewUrl}"
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.2"
}

Data:
{"dialog":{ "carddata" :
{
  "title": "my title",
  "description": "Ok, details and description",
  "creator": {
    "name": "Debugging request",
    "profileImage": "https://www.example.com/growth_96x96.svg"
  },
  "createdUtc": "2017-02-14T06:08:39Z",
  "viewUrl": "https://example.com/wiki",
  "properties": [
    {
      "key": "1.",
      "value": "my first value"
    },
    {
      "key": "2",
      "value": "my second value: this is 2"
    },
    {
      "key": "Assigned to",
      "value": "Matt Hidinger"
    },
    {
      "key": "Due date",
      "value": "Not set"
    }
  ]
}
}}```

is there a difference in the type of a dialog property?
## Expected behavior

I should have a generated adaptive card.
## Screenshots
https://stackoverflow.com/questions/67673769/botframework-composer-use-factset-to-show-multiple-data

## Additional context

<!-- Add any other context about the problem here. -->

Hi @jamalsia I can reproduce and see the same. I'm not sure yet on how to make this work, but obviously some colliding between adaptive expressions and adaptive card templating.
I can (not surprisingly) get the card to work if I avoid the $data templating and just hard coding something like:
    "body": [
        {
            "type": "FactSet",
            "facts": [
                {
                    "title": "mytitle",
                    "value": "myvalue"
                }
            ]
        }
    ],

@boydc2014 Can you take a look at this and see if you have any thoughts/ideas/suggestions?

@jsia9 Is that possible for you to avoid $ in your data's key?
$ in Composer represents a shorthand for a special memory path (dialog.foo) https://docs.microsoft.com/en-us/azure/bot-service/adaptive-dialog/adaptive-dialog-prebuilt-memory-states?view=azure-bot-service-4.0#dialog-scope.
I think for that reason, it complains as not found.

Hi @boydc2014 Adaptive Card templating uses the $. Please see more info here.
Do we need to make changes to resolve this or will/would this be a limitation of using Adaptive Cards within Adaptive Expressions?

Hello @boydc2014 ...is there any update on this?

@boydc2014 could you please follow up on this issue? Do we have updates on this front?

@boydc2014 Could you please provide updates to this issue? Thanks!

@boydc2014, do you  have any updates on this?

@jsia9 It looks like adaptive card templating is not implemented in the SDK.
https://github.com/microsoft/botframework-sdk/issues/6477
Closing this for tracking on that issue/feature request.
Thanks for bringing this to our attention and for your patience.


Set up continuous integration on Travis CI

Travis CI provides a great, free continuous integration service.
This should also be hooked up to Heroku so the tests are run before the server is pushed to Heroku. Right now, it's far too easy to push a broken build.

Resolved in these commits. Continuous integration for this project is located at https://travis-ci.org/pacmacro/pm-server.


Scape & Run: Parasites nodes cannot overwrite biomes with their own.

Quote, re-CurseForge comment;
https://www.curseforge.com/minecraft/mc-mods/reid?comment=20

Scape and Run: Parasite (SRP for short) has a gameplay mechanic where a "node" appears and starts to replace the biome with its own to spread the 'infestation'.
The issue is, when JEID (or REID) is installed it cant override the biomes with its own biome.
also i found issue #175 on JEID's github: https://github.com/DimensionalDevelopment/JustEnoughIDs/issues/175

i didnt know SRP wasnt open-source, but they have a discord where they are discussing issues with the mod.

Dhantry will have to give you permissions to see/use the mod's code for patching and compiling; I was only given permissions to have some of the relevant code available for making the Mixin; however, due to the entire dependency tree for SRP's nodes being needed to compile the mod after putting in the patch, I never got my patch in action at all, so I have not a clue if it works or not.
 Be aware that you should make it a flat (local) repository that is ignored by github in order to respect the devs' wishes as they don't want the code to be publicly available.
This is basically a years-long issue, and I'm glad to see that someone is reviving JEID after DimDev abandoned it.

https://github.com/Vetpetmon/JustEnoughIDs-SRP-fix
This repository has seen activity for once, and I've forwarded it to SRP devs to see if they can get it to compile, because I don't have the source code at all.

I will let you know if my patch works, and if it does, I will make a PR with my patches. However, do realize this can make you unable to compile until you have the source code (with permission).

So long as it works I'll be happy to merge such a PR. I'll reach out to the SRP devs soon & request permission to use their code for compiling purposes.
I was not aware of your fork!

I deliver an update on how the patch is going:
It works, but works horribly. A lot of code on SRP's end would need to be re-written to make patching it easier.
SRP looks for a biome match, but this instanceof [insert biome here] with JEID/REID breaks entirely, causing blocks to only spread the biome, not the biome spreading blocks. additionally, biome changes are not saved onto disk, only memory.

same issue and this issue made modpack impossible


error in swift

'weak' cannot be applied to non-class type '<<error type>>'
while taking @IBOutlet from storyboard into viewController.swift

Hi Bosamiya, could you provide more information (such as screenshots) on this?

Close with doubt


run-pd.sh missing

TASK [make pd start script runnable] **********************************************
fatal: [pibox]: FAILED! => {"changed": false, "msg": "file (/opt/futel/src/pd/run-pd.sh) is absent, cannot continue", "path": "/opt/futel/src/pd/run-pd.sh", "state": "absent"}

whoops!  I'll add it.
It could be omitted from ansible, because supervisor runs pd directly withtout the script...but it wouldn't hurt to have it.

actually, I already removed it from the repo and just forgot to remove it from ansible....so I won't add it, just remove from ansible.


Japanese translation

#1205 needs to be merged prior to this.

there're conflicts. @metalefty , can you have a look ?

Resolved conflicts and force-pushed.


Error with react-native link

When I try to run react-native link @react-native-community/viewpager
I've got this error:
failed to get dependency config
@react-native-community/viewpager: ^1.1.6
react-native-cli: 2.0.1
react-native: 0.59.0

Have you tried it in a new react-native init project with react-native 0.59.5? I just did it again and the linking works for me.
npx react-native init MyApp
cd MyApp
yarn add @react-native-community/viewpager
react-native link @react-native-community/viewpager

Cam you try those steps?

we've got this error on our monorepo setup
https://github.com/entria/entria-fullstack/tree/master/packages/app

Have you tried linking manually?

manual link works
I want understand why react-native link is showing this error

@sibelius have you tried running with --projectRoot flag? I think that may do the trick. We've rewritten that part in v2, but we still need testing in monorepo setups. Looks like we can use Entria for e2e testing, cc @grabbou

@sibelius not sure what is the status of this but if manual setup works and automatic does not for you, I think this is an issue for https://github.com/react-native-community/cli.


The France connect Kit menu is not closed after clicking outside the menu

Steps to Reproduce the Problem

Go to the Plugin manager /France Connect
Enable FranceConnect kit
Connect as a France connect user
Click on the France Connect kit Icon
Expected : The menu is opened but is incorrectly displayed (Please see the attached screenshot)
Click outside the menu

Expected Behavior
The France connect Kit menu is closed >KO
Actual Behavior

The France connect Kit menu is not closed automatically after clicking outside the menu

Environment

Navigator: All Navigators

FranceConnect Kit menu is a feature entirely provided by FranceConnect through integration of an external JavaScript code, its behavior cannot be changed --> Close as won't fix


Device not recognized

Hi,
Thanks for you work. I was searching for a driver to use the Aqara TVOC Air Quality Monitor (AAQS-S01) and found your driver. I installed it on my hub but every time I got only a "Thing" found by Smartthings. I saw another Driver from someone else that was working but there was the TVOC value not implemented.
I compared the fingerprints.yml and the working one did not had the LUMI/ prefix on the IDs. So I downloaded your code, removed the prefix from the fingerprints.yml and installed it on my hub. Added the device and it was not using you driver and I see all the values.
What did I wrong that the driver is working for you, but not form me without this change? My Hub is v2 with FW<PHONE_NUMBER>6.
Best Regards,
Reto

I have the issue with this driver and have the same setup

I have the issue with this driver and have the same setup

Sorry about the slow response.  I am not sure what the issue might be.  Can you link to the other driver you found that worked?  The ID of the fingerprint should not affect the way the device joins at all.  It should only depend on the manufacturer and model reported by the device when it joins.

Strange, I tried multiple times to install your driver as I first expected it to conflict with the smartthings edge drivers active. But even with just your driver active I got only a Thing after discovery.
I then tested https://github.com/DJFliX/smartthings-edge-drivers and with this one I got the device recognized as aqara device.
I only used the dev tools to install your updated driver to my hub and don't know how the public publish works. Could it be that over the invite link I don't get the latest version? It seems that the air quality monitor is the last update you made.

I believe I fixed the issue, I had an outdated version published to my public channel.  You can give this another try (although you might have to uninstall and re install).

Many thanks, I can confirm that it now works.


[REFACTOR] Node Controller Unit Tests

Is your improvement request related to a feature? Please describe
The current unit tests for the node controller are utilizing the testing framework improperly. There is only one "test", which repeatedly sets up data structures and mock clients for the K8s  API and then iterates over a list of test cases (i.e. inputs and outcomes) and executes the same checks for each case. This makes it hard to modify and add new test cases, as existing test cases have to be modified to pass additional checks as well.
In addition to that, this makes the output hard to understand when a test case fails. It also makes it very hard to tell what the test expects as output on each test case.
Describe the solution you'd like

Break up the test cases into individual test functions
Reduce the amount of involved resources in teach test case to a minimum
Extend the test suite to additionally ensure the node controller emits K8s events only in desired situations

Describe alternatives you've considered

Keep the current architecture and add test data for PR#2356 to each test case as well as an additional test case for PR#2356

Break up the test into individual test functions and add a new test function for PR#2356

@m-ildefons remember to add the issue to the current milestone when you are working on it.

:+1: Sorry, I though it had, but it turned out I had just added it to the sprint but not the milestone as well.

The changes are merged.


Searching syntax for mqtt dimming

I use the following syntax to turn on an item via mqtt:
[{"clientId":"habridge","topic":"/test","message":"100"}]
Can you tell me the syntax for the dimming?

Here ya go: https://github.com/bwssytems/ha-bridge#value-passing-controls

Thank you. I do not understand it, unfortunately.
Can you supplement my set for dimming?
[{"ClientId": "habridge", "topic": "/ test", "message": "100"}]

So, replace the number you want to control with ${intensity,percent} That is what the documentation tries to explain. So in your case it is "100" should be "${intensity.percent}"

Wau, that's easy, thank you.
You should show some examples on your site.

There are examples.... If I put every permutation of an example then it would be specific....


Long node import time

Hi,
I'm running a docker image on a comfyui serverless worker with Allor installed. I've set update_frequency=never in config.json. The problem is, during at runtime this node takes too long to import (>30s), which causes the server to timeout. The problem only occurs during cold starts of the worker.
I don't have this issue on my local comfyui portable installation (import time=2.5s).
Do you have any clues on what Allor is trying to do at startup that might take so much time? @Nourepide

Hi, sorry for the long answer, I had some problems.
As I think the fact is that caching occurs at the first launch and it actually goes somewhere in the region of 30 seconds.
Caching happens only once, but as I understand it, the docker container recreates the environment every time, which leads to this result.

Hmm, what types of files is it caching? I'm wondering if I can preinstall or handle those files differently to avoid this issue on startup.


UTM Debian 11.3ARM Never start again when switch netwo

Describe the issue
A clear and concise description of what the issue is. BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
Configuration

UTM Version:
OS Version:
Intel or Apple Silicon?

Crash log
If the app crashed, you need a crash log. To get your crash log, open Console.app, go to Crash Reports, and find the latest entry for either QEMU, QEMUHelper, or qemu-*. Right click and choose Reveal in Finder. Attach the report here.
Debug log
For all issues, including crashes, you should attach a debug log. Open UTM, and open the settings for the VM you wish to launch. Near the top of the QEMU page is Debug Log. Turn it on and save the VM. After you experience the issue, open the VM settings again and select Export Log... and attach it here.
Upload VM
(Optional) If possible, upload the config.plist inside the .utm. If you do not have this, you can upload the entire .utm but note this contains your personal data. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.

VM never start again when I switched network mode. Was on a plane without wifi so switched network mode from Bridged to Emulated and worked only one time.
Now can't start VM with any mode.
UTM 3.1.5
MacOS Monterrey 12.3
Apple Silicon
Don't show any message just black window after:

DEBIAN/GNU LINUX (Selection)
Loading Linux 5.10.0-13-arm64
Loading initial ramdisk ...
debug.airavata.log

Degug log Last two lines :
qemu-aarch64-softmmu: warning: Spice: playback:0 (0x1438c6940): setsockopt failed, Operation not supported on socket
qemu-aarch64-softmmu: warning: Spice: record:0 (0x1438c69f0): setsockopt failed, Operation not supported on socket
Thanks
Hermann


Missing directory name when multiple files with same name in different tab groups

Using 0.174.0 on windows
When opening multiple files of the same name, the directory name is appended to the tab to allow the user to differentiate which version of the file each tab represents.
This behaviour does not appear to work between different editor panes, the attachment below shows 3 .jshintrc files, the ones on the left correctly displaying the folder name (as it has two files called .jshintrc), while the third one in other pane (being the only .jshintrc in its window). If there is only one .jshintrc on each pane then they both do not show the folder name.
(.jshintrc is unrelated to the issue it just happened to be a file I had three of in a repository)

Expected behaviour: folder name should be displayed if tab filename is not unique across all tabs, not just the tabs on that editor pane. This is how sublime behaves.

+1 for fixing this. As is, working with several project with similar structure (or just "index.html") can get complicated.


[Feature]: Added Two-Fer Exercise

This PR adds the Two-Fer exercise

@0xE282B0 The version of gnuCOBOL that we're using on the Linux CI doesn't have the CONCAT Function?

Try CONCATENATE

Like i just said in slack, use STRING

@axtens changed it to STRING


Warning: Invalid DOM property ... (console screenshot attached)

Thanks @saul-atomrigs For reporting this. This is fixed in #2299

Sure, glad to be helpful :)
and thanks for the fix


Multiple active @Sync will always spawn an IllegalStateException

Testing with Errai4.0.0.CR1.
When using client side JPA together with server side data sync, it is not possible to use multiple active @Sync methods.
If I go through the code, I see that ClientSyncWorker uses ClientSyncManager.getInstance(). The problem is that ClientSyncManager does not allow multiple synchronisations because of the syncInProgress logic.
Is there a reason it was designed like this? Thread safety?
Does this mean that we should never have more than one @Sync operation active at all times?

Hi @chvndb,
This behaviour seems like a bug. Please consider opening a JIRA issue for this (we don't use GitHub for issue tracking), or perhaps a pull request if you're feeling ambitious.
Cheers.

Ok, will do when I get the time as I also noticed that defining multiple @Sync on one bean gives code generation issues. Duplicate local variables are defined in the generated Type_factory.

I also noticed strange behaviour for server/client data sync for entities referencing other entities.
E.g. albums made by artists. When I want to retrieve all the albums made by a specific artist, this works fine for the client-side JPA implementation.
However, the ClientSyncManager has issues with this. I dug a little and noticed that the expected entity manager from the ClientSyncManager fails to retrieve this relation correctly and will always think the albums are new entities for the specified user. Therefore, the ClientSyncManager syncs this to the server and the next sync, the same happens. This ends in an endless addition of albums.
Again, I am parking the issue here as I do not have time to create a detailed issue in the Errai issue tracker. Will do so when I get the time.

We are disabling GitHub issues for this project in favour of issue tracking through JIRA.
I have copied your initial description of the problem to this issue. Cheers.


Update elastic-san-scale-targets.md

Some minor correction. For section:
Lower available base storage capacity
Sentence:
The following regions are regions with higher base storage
changed to:
The following regions are regions with lower base storage

@roygara
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Why return React.addons.cloneWithProps(container, ...)

When trying to use this component and passing a ref to props this causes a warning:

Warning: You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.

Changing the render function like so doesn't break anything and gets rid of the warning:
render: function() {
  this.props.style = styles.container

  var container = React.DOM.div(this.props,
    React.DOM.div({style: styles.wrapper},
      React.Children.map(this.props.children, function(child) {
        return React.addons.cloneWithProps(child, {style: styles.child})
      })
    )
  )

  return container
}

Unless there is a way to call .next() and .prev() without having to keep a ref around.

@mikew this issue is resolved in latest version - 2.0.3.


Support xfs filesystem for devmapper snapshoter

What is the problem you're trying to solve
We are seeing lots of messages in dmesg "Buffer I/O error on dev"
[170200.428325] JBD2: Error -5 detected when updating journal superblock for dm-70-8.
[170200.428378] Buffer I/O error on dev dm-25, logical block 0, lost sync page write
[170200.608497] Aborting journal on device dm-70-8.
[170200.663837] Buffer I/O error on dev dm-70, logical block 13139968, lost sync page write
[170200.666923] Buffer I/O error on dev dm-19, logical block 26214384, async page read
[170200.852366] JBD2: Error -5 detected when updating journal superblock for dm-70-8.
[170200.943722] EXT4-fs (dm-70): previous I/O error to superblock detected
[170201.023140] Buffer I/O error on dev dm-70, logical block 0, lost sync page write
[170201.115598] Buffer I/O error on dev dm-70, logical block 0, lost sync page write
[170201.206746] EXT4-fs (dm-70): mounted filesystem with ordered data mode. Opts: (null)
[170201.224364] device-mapper: thin: 253:4: switching pool to write mode
[170201.255387] EXT4-fs (dm-70): mounted filesystem with ordered data mode. Opts: (null)
[170202.725044] Buffer I/O error on dev dm-52, logical block 26214384, async page read
[170211.252524] device-mapper: thin: 253:4: switching pool to out-of-data-space (queue IO) mode
[170217.560136] EXT4-fs error (device dm-38): htree_dirblock_to_tree:915: inode #4853232: block 19407553: comm splunkd: bad entry in directory: rec_len % 4 != 0 - offset=0, inode=13, rec_len=257, name_len=20, size=4096
[170224.447900] EXT4-fs error (device dm-38): htree_dirblock_to_tree:915: inode #4853226: block 19407551: comm splunkd: bad entry in directory: rec_len % 4 != 0 - offset=0, inode=13, rec_len=257, name_len=13, size=4096
[170224.677124] EXT4-fs error (device dm-38): htree_dirblock_to_tree:915: inode #4853232: block 19407553: comm splunkd: bad entry in directory: rec_len % 4 != 0 - offset=0, inode=13, rec_len=257, name_len=20, size=4096
[170225.035239] EXT4-fs error (device dm-38): htree_dirblock_to_tree:915: inode #4853279: block 19407573: comm splunkd: bad entry in directory: rec_len % 4 != 0 - offset=0, inode=13, rec_len=257, name_len=143, size=4096

Describe the solution you'd like
Support xfs file system, we haven't seen issue with docker+devicemapper running xfs (for quite a few years). After recent migration to containerd+devmapper which defaults to ext4, wondering devmapper is causing these IO errors. So wanted to try xfs
https://github.com/containerd/containerd/blob/0bd2a86b1bc81fc16e92459bfbcb178234a4c50d/snapshots/devmapper/snapshotter.go#L43

The change has been merged. The devmapper snapshotter will support xfs from the upcoming 1.6.x release.


ansible install of OVN on v3.11 cluster to bring up networking

Use ansible to install OVN on top of a 3.11 (no cluster network provisioned) install
On any suitable host, clone ovn-kubernetes
cd dist/yaml
edit ovnkube-master.yaml, ovnkube.yaml, sdn-ovs.yaml for the desired
image name.
cd ../ansible
edit hosts for hostname of master
./run-playbook
Signed-off-by: Phil Cameron<EMAIL_ADDRESS>

@rajatchopra @dcbw @squeed PTAL
This is the last piece of ovn on v3.11
@weliang1 has verified that it works.

Can you please remove "WIP" from commit message?

@shettyg done.

@dcbw I think you need a / before the lgtm for it to count. I use this and brew pulp is very convenient for me. I hope you are willing to leave it in.

@dcbw @rajat @squeed PTAL

Is this ready to merge?
@dcbw @rajatchopra @squeed PTAL

LGTM.

LGTM


Windows 10 fullscreen bug

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
When scaling is set to "Application" (which is the only way my game looks good at 150% scaling).
The game gets extremely small when using the fullscreen button.

Dragging it to fullscreen manually does work
Also happens when Custom Window Chrome is enabled.

To Reproduce
Steps to reproduce the behavior:
0. Set windows scaling to 150%

Rightclick on runelite.
Compatibility.
DPI Settings
Set it to Application

Expected behavior
Actually going fully fullscreen.
Screenshots
Screenshot after pressing the fullscreen button.
https://snipboard.io/Q2KiWb.jpg
Environment (please complete the following information):
Windows 10
Additional context
None

duplicate of https://github.com/runelite/runelite/issues/5153


Cannot connect to the server

Hi,
when I run the server.exe, clicking in the icon in the system tray I see 2 http servers. One that starts with my computer name, the other numerical (noth with the same port). No one works in the phone (PC and phone connected with the same wifi), the numerical one loads for indefinite time. I tried also to disable windows firewall but nothing happened.
Any possible solution?
Thanks.

The IP for the interface might be different than what the program detected. One thing you could try is to run ipconfig and use the IPv4 Address for the correct interface (Might be Wireless LAN adapter Wi-Fi in your case)

I think it's much more likely to be a firewall issue. I had the same problem and needed to create an inbound rule in Windows Defender allowing private network access for server.exe.

The IP for the interface might be different than what the program detected. One thing you could try is to run ipconfig and use the IPv4 Address for the correct interface (Might be Wireless LAN adapter Wi-Fi in your case)

This was the issue for me - the app picked up the IP address of a completely different (and virtual!) network interface that was never going to be available to my phone. That one is listed before the wifi interface (in ipconfig /all) that actually connects to my router. A possible improvement to this app, then, might be to try guessing harder about which IP to show - in my case, the correct one shows my router's IP as the "Default Gateway", while that field is blank for the interface and IP it chose to show.


export import inconsistency in custom fields

Environment

Python version:  3.6.8
Nautobot version: 1.2.5

Issue description:
If we export for example VLANs from Nautobot the custom field column names has different name compared to what is expected during import.
my colleagues from time to time need to import several VLANs so they firstly export one VLAN, open the spreadsheet, write data of new VLANs and try to import this. This attempt fails because custom fields are without "cf_" in the export but requires prefix "cf_" during the import.
Example: in the export there is column named "owner" but for import we have to rename it to  "cf_owner".
Second problem during this export/import is inconsistency in status. In export the status starts with capital letter but import expect lowercase letter.
Active -> active
Reserved -> reserved
Steps to Reproduce

Export one VLAN with some custom fields
Change the VLAN vid and name
Try to import VLAN from this spreadsheet

Column names be consistent in export and import.

Import ends with error when used same column names as in export.

Thanks for the report! Same general class of issue as described in #254.

Related to #824.

I have discovered other export/import inconsistencies (see below). Please let me know if these can be handled within this issue or if I should open a new one:

field "rack_number" in export has to be "rack" in import
field "rack_face" in export has to be "face" in import
field "rack_face" has value "Front" in export but in import it has to be "front"


ToolbarItemGroup does not render correctly on iPad

ToolbarItemGroup renders incorrectly on the following Samples:

[ ] Add dynamic entity layer

[ ] Change map view background

I'll close this as a duplicate of swift/issues/3879.


Add query for service account performing remote PowerShell

All of the details for this query are included inline as comments.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: miflower sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


instrumentation-knex doesn't handle errors raised by better-sqlite3

What version of OpenTelemetry are you using?
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.47.1",
"@opentelemetry/exporter-prometheus": "^0.52.1",
"@opentelemetry/exporter-trace-otlp-grpc": "^0.52.1",
"@opentelemetry/sdk-node": "^0.52.0",

What version of Node are you using?
v18.18.2
What did you do?

Instrument any application that uses knex and better-sqlite3 and trigger any SQL error.
What did you expect to see?
A span or trace should be correctly created and emitted.
What did you see instead?
A TypeError: Expected second argument to be a string is thrown instead and the application probably stops. Either way not span gets created.
Additional context

Looking at the stackstrace:
cause: TypeError: Expected second argument to be a string
      at new SqliteError (###/node_modules/better-sqlite3/lib/sqlite-error.js:9:9)
      at Object.cloneErrorWithNewMessage (###/node_modules/@opentelemetry/instrumentation-knex/src/utils.ts:48:25)
      at <anonymous> (###/node_modules/@opentelemetry/instrumentation-knex/src/instrumentation.ts:179:39)
      at async Runner.ensureConnection (###/node_modules/knex/lib/execution/runner.js:318:14)
      at async Runner.run (###/node_modules/knex/lib/execution/runner.js:30:19)
      at async ###/node_modules/knex/lib/execution/batch-insert.js:31:30

The problem seems to be between https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-knex/src/utils.ts#L48 that creates a new instance of the underlying error and https://github.com/WiseLibs/better-sqlite3/blob/master/lib/sqlite-error.js#L9 which requires callers to provide 2 arguments. The 2nd argument (code) is not being passed by the knex instrumenter.

I opened https://github.com/open-telemetry/opentelemetry-js-contrib/pull/2298 to address this! Reviews appreciated :)

@AbhiPrasad thanks for working on the fix, would you mind if I assign you? :slightly_smiling_face:

For sure!


No dark theme

Wish there was a dark version of MDL. Google has specs for it.

Dupe of #328. Currently in V2's development area and will be launching with V2 once it is stable (still a good while.) Dark mode functionality won't be added to V1 as it it too big of an update and V1 is now getting only critical fixes from the core team.
Thank you.


deliver to Hogg a file with 17 labels plus positions

Ideally, RA, Dec, and our 17 labels for all APOGEE stars, for some setting of f and Lambda.
This is high priority!

I would also like RV if that is trivial.


Error in download link of IndicBart model checkpoint and vocabulary files

Dear Authors,
Thanks for sharing the code and model weights for running indicBart experiments. Unfortunately, the download link for checkpoint and vocabulary files was not accessible using the following link:
checkpoint_link: https://storage.googleapis.com/ai4bharat-indicnlg-public/indic-bart-v1/indicbart_model.ckpt
vocab_link: https://storage.googleapis.com/ai4bharat-indicnlg-public/indic-bart-v1/albert-indicunified64k.zip

I am facing the following error upon opening the link mentioned on the readme page:
<Error>
UserProjectAccountProblem
<Message>The project to be billed is associated with a delinquent billing account.</Message>
The billing account for the owning project is disabled in state delinquent
</Error>

Please help with the above issue or kindly share an alternative link.
Thank in advance

Hi @tushar117 you can access the model from the huggingface repo https://huggingface.co/ai4bharat/IndicBART

Hi, @ratishsp, do you know where can I find albert-indicunified64k?


Hero stats endpoint

This replaces the existing publicHeroes endpoint which was not in production use and therefore comes with a semver bump to v11.0.0
Contains data for pro pick/ban/win rates and public pick/win rates in one call.

I don't think we should switch to promises in the context of this, but I disagree with your statement @dartharaknas.

That's the thing.  I feel like callbacks are better understandable and maintainable, but I guess people can have different opinions.

This is a simple example, but I think it illustrates my biggest issue with it. Keep in mind this async library should avoid some of these kinds of issues, though.
asyncCall((err, res) => {
  if (err) handle(err);
  secondCall((err, res) => {
    if (err) handle(err);
    thirdCall((err, res) => {
      if (err) handle(err);
      done(res);
    }
  })
})

vs.
asyncCall()
  .then(res => secondCall())
  .then(res => thirdCall())
  .then(res => done(res))
  .catch(err => handle(err))

This async library is trying to solve what promises do (with some rxjs like functional behavior) before promises became the preferred solution. Plus promises are native now, and if people like async/await (I personally don't for most stuff), that also uses promises.
Regardless though, swapping to use that would be a large undertaking (probably need to happen piecemeal) and wouldn't be a decision to make lightly or during this PR of course.

How do we get all the results of the async calls in scope for the final assembly of the JSON data though using promises?  The async library has utility functions that can take an array/object of async functions, and calls back to a final function which gets the array/object with the results of the async calls.
I agree that nesting too many levels of callbacks is bad, but that's why I added the async library--if I see a function get more than 2 levels deep or so I rewrite it to use the library to flatten the structure.

Promises can do that as well using Promise.all. Here's an example:
Promise.all([call1(), call2(), call3()])
  .then(values => values.map(doSomething))
  .catch(err => handle(err));

Anyways, like I said it seems this async library is a 'how to handle callback hell' before promises became the standard. But I don't see a reason to rewrite it unless you wanted a more 'standard' control flow. Promises are also faster, but we would have to use a library called bluebird which is surprisingly faster than the native implementation. Here are performance benchmarks.


Revert "chore(deps): lock file maintenance (#1852)"

Reverts https://github.com/netlify/cli/pull/1852.
For some reason renovate decided to update all lockfiles to v2.
Looking into it.

Closing this as I'm going to let renovate do it once I figure out how to


Phase 3 Hiring Guidelines and Resources

Describe the task
We need to create a database schema for the hiring and guidelines resources
Expected behavior
Propose a DB schema for the workflow for the issue #1545 and share the URL here

https://docs.google.com/presentation/d/1MJLAli-SMbh01PuwL_CLTdg2ZoqYA7Pow_Ni8kkeHZE/edit?usp=sharing

Looks good 👍


Update Feature: update-helper.js

All Javascript update helper methods

All required functions added. May be re-opened when admin update page improvements will be made.


Ng serve not picking up environmentSource in Git branch

OS: Windows 10
CLI Version: 1.0.0-rc.1
The CLI doesn't seem to be picking up the env set in environmentSource when running 'ng serve' from a Git branch (and reverts to running the in environment set as "dev", as it was in the beta). However, when running from Git master, it works fine. The .angular-cli.json and package.json files are exactly the same. Creating a fresh local branch from master also causes the issue (with no difference other than it being in a new branch), which leads me to think it is an issue with Git branching. Any insight?
Thanks in advance

@Houghruo When running ng serve The build system defaults to the dev environment which uses environment.ts. You can override it by specifying your own environment files.

@sumitarora Yeah, that's fine when I'm in master, it defaults to environmentSource, as you can see below:
"environmentSource": "environments/environment.ts",       "environments": {         "dev": "environments/environment.dev.ts",         "test": "environments/environment.test.ts"       }
However, as soon as I switch to a new branch (fresh from master, absolutely nothing different other than the Git aspect of it), it stops doing that and instead defaults to the "dev" environment (using environment.dev.ts). It's the change in behaviour that's weird. To get around that, I've basically had to do as was done in the beta, as below:
"environmentSource": "environments/environment.ts",       "environments": {         "local": "environments/environment.ts",         "dev": "environments/environment.dev.ts",         "test": "environments/environment.test.ts"       }
Is there anything that comes to mind about this?
Thanks in advance!


User account: GDPR and Export Control Compliancy Checklist

Per user story Qiskit/platypus#258, we will need to review the authentication and authorization service we provide to users via oauth. This might include:

[x] Review data collected
[ ] Review data stored and length of time stored
[ ] Review what to do with data after deletion request
[ ] Scope EULA for Textbook

We should be collecting the following information from our users:
From All Users

Email Address: We need this for account creation, event marketing, nurture etc
Full Name: This is for experience personalisation
Consent for Emails: Self-explanatory
Years of Experience in Quantum:  Demographic information
Department: Demographic information

Specifically Professors

Institution: Our OKRs refer to adoption by university courses
Course Name: Professors teach multiple courses, we need to support this so students know which course they're enrolling

Possible Feature-Based Requirements

Age: If we're going to allow teachers to create their own content, we might need to collect this for COPPA requirements

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


Replace travis with a more flexible vibe.d-written solution

I can dedicate a Xeon server with 32gb of RAM (ECC) with VMWare running on Mac OS X, FreeBSD, Linux (Fedora) and Windows simultaneously each with a high-RAM (4gb) environment open 24/7. All I'd need is a build tester installed on each OS. I'd plan on making one but it wouldn't be up until 2015, so I'll put this on the table for anyone interested.

Written entirely in D code and vibe.d, no configurations at all.
Interfaces with github API, using a timer to query the most recent commit every 10 seconds
When a new commit is found, runs D commands
Reports the logs to a central server API (implemented with mongodb?).
Updates itself using its github repository, dub and shell/powershell commands

The advantage would be persistence of the environment and fast build times. This means it can keep multiple version of DMD, GDC and LDC builds up-to-date on the server.
The central status server would be as follows:

Hosted on the code.dlang.org website with a travis-like page
Shows a table with the build# and logs
Provides a variable bytestream for a no-cache widget at a static address that indicates Fail/Success

Much care would have to be taken to write this in as few lines of codes as possible. The portability of D means the portable build tester also works with projects using C++ / nodejs / etc. on any kind of server
The travis system is embedded in github already, so another (simple) application would be designed to run in travis and proxy through to the real build environment (the central server) and show the linux-version logs (or any OS's failing log) and error code.
Each build tester would need its own repository though, appending -tester to the repo name maybe?

Can we close this for now?

Wow this idea is 4 months old already, sure.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_c957e9ca-7e26-472c-9156-441a1f06912e/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_c957e9ca-7e26-472c-9156-441a1f06912e.git

Docs Build status updates of commit 610cfd1:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-02-22-07-05-33 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-02-22-07-05-33

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Publishing Error: SchemaUpdateMode=synchronize - A Task was canceled

Our App includes round about 500 objects. During the publish process the ouput console shows the following:

Success: The package is created.
[2018-08-31 12:33:58.17] Sending request to "http://[...]:7049/nav/dev/apps?SchemaUpdateMode=synchronize"
[2018-08-31 12:38:58.13] Error: A Task was canceled.

The mysterious thing about it is. It lasts always exact 5 minutes until this error appears.
But the app is published and works fine.
The Event log in the docker machine has no entry for this time period.
Any ideas for it?

Have you published from VsCode with Ctrl F5 or F5?

yes from Vs Code with F5

F5 starts a debugging session. That way publishing it is a bit (a lot actually) different then doing Ctrl F5.
IMO what has happened is that the debugging session timed out.

Ctr+F5 leads to the same error.

I tried to publish it via powershell with the option LogPath. The error message is:
"The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'."

What versions are you using?

Check if your container is "Healthy" before hitting F5.
Restart your docker and container once and try again.

The Container is healthy before I try to publish the app.
I restarted the Container several times :)
I set up the docker with the latest sandbox (microsoft/bcsandbox:de   /  12.3.23590.23945)
When I publish in the powershell command prompt without ErrorLog Parameter, the following message apperas:
WARNING: UnhandledErrorMessage
Publish-NAVApp : The socket connection was aborted. This could be caused by an error processing your message or a
receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was
'10675199.02:48:05.4775807'.
At line:1 char:1

Publish-NAVApp -Path ".......

  + CategoryInfo          : NotSpecified: (:) [Publish-NAVApp], CommunicationException
  + FullyQualifiedErrorId : System.ServiceModel.CommunicationException,Microsoft.Dynamics.Nav.Apps.Management.Cmdlet
 s.PublishNavApp

Now it works. Thanks


feat(travis): create preview tagged packages from preview branch

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update deprecated logging.warn() call

Overview
Related Issue / Discussion
Fixes #641
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Coverage remained the same at 0.0% when pulling 8211c0d3c4586edf5220c43da63f3fdd2ec9e688 on fix_641 into c6a0d7eaa73d3d6ebfb3231fa790c7be5bca9b8a on main.


[SPARK-19211][SQL] Explicitly prevent Insert into View or Create View As Insert

What changes were proposed in this pull request?
Currently we don't explicitly forbid the following behaviors:

The statement CREATE VIEW AS INSERT INTO throws the following exception:

scala> spark.sql("CREATE VIEW testView AS INSERT INTO tab VALUES (1, \"a\")")
org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: at least one column must be specified for the table;
 scala> spark.sql("CREATE VIEW testView(a, b) AS INSERT INTO tab VALUES (1, \"a\")")
org.apache.spark.sql.AnalysisException: The number of columns produced by the SELECT clause (num: `0`) does not match the number of column names specified by CREATE VIEW (num: `2`).;

The statement INSERT INTO view VALUES throws the following exception from checkAnalysis:

scala> spark.sql("INSERT INTO testView VALUES (1, \"a\")")
org.apache.spark.sql.AnalysisException: Inserting into an RDD-based table is not allowed.;;
'InsertIntoTable View (`default`.`testView`, [a#16,b#17]), false, false
+- LocalRelation [col1#14, col2#15]

After this PR, the behavior changes to:
scala> spark.sql("CREATE VIEW testView AS INSERT INTO tab VALUES (1, \"a\")")
org.apache.spark.sql.catalyst.parser.ParseException: Operation not allowed: CREATE VIEW ... AS INSERT INTO;

scala> spark.sql("CREATE VIEW testView(a, b) AS INSERT INTO tab VALUES (1, \"a\")")
org.apache.spark.sql.catalyst.parser.ParseException: Operation not allowed: CREATE VIEW ... AS INSERT INTO;

scala> spark.sql("INSERT INTO testView VALUES (1, \"a\")")
org.apache.spark.sql.AnalysisException: `default`.`testView` is a view, inserting into a view is not allowed;

How was this patch tested?
Add a new test case in SparkSqlParserSuite;
Update the corresponding test case in SQLViewSuite.

Test build #73696 has started for PR 17125 at commit ae28e4b.

Test build #73696 has finished for PR 17125 at commit ae28e4b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73696/
Test PASSed.

cc @gatorsmile @cloud-fan Please have a look at this when you have time, thanks!

Test build #73780 has started for PR 17125 at commit 792cca9.

Test build #73780 has finished for PR 17125 at commit 792cca9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73780/
Test PASSed.

Test build #73857 has started for PR 17125 at commit 57b64ad.

Test build #73857 has finished for PR 17125 at commit 57b64ad.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73857/
Test PASSed.

Test build #73894 has started for PR 17125 at commit 68cee40.

LGTM except 2 questions

Test build #73894 has finished for PR 17125 at commit 68cee40.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73894/
Test PASSed.

Merged build finished. Test PASSed.

Test build #73958 has started for PR 17125 at commit 9af2d7e.

Test build #73958 has finished for PR 17125 at commit 9af2d7e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73958/
Test PASSed.

Test build #73978 has started for PR 17125 at commit 8d4be05.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73978/
Test FAILed.

Merged build finished. Test FAILed.

LGTM, pending tests

retest this please

Test build #73981 has started for PR 17125 at commit 8d4be05.

Test build #73981 has finished for PR 17125 at commit 8d4be05.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73981/
Test PASSed.

LGTM too.

Thanks! Merging to master.


crypto/aes: NewCipher only accept 16 bytes aes key?

use go version - 1.4
According to the doc

NewCipher creates and returns a new cipher.Block. The key argument should be the AES key, either 16, 24, or 32 bytes ...

but in the NewCFBEncrypter and NewCBCEncrypter, just compare the length of iv with block.BlockSize(), the return is a const 16.
Because of the iv must be the same length as the Block's block size, the AES key must be 16 bytes?

You've confused key and IV, they are not the same thing.
key can be 16/24/32 bytes for AES, but IV must be 16-byte to match the
block size.
http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher-block_chaining_.28CBC.29
Working as intended.


Synthesize pasteDelegate; fixes pasting crash on iOS 10

Pull request checklist

[x] All tests pass.
[x] Demo project builds and runs.
[x] I have resolved merge conflicts.
[x] I have followed the coding style.

Contributing guidelines confirmation: 💪😎👊
This fixes issue
Fixes #2176
What's in this pull request?
Synthesizing the pasteDelegate fixes the crash and removes a warning about it in Xcode 9.
cc @chrisballinger (was told by Jessie to include you)

Codecov Report

Merging #2177 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2177   +/-   ##
=======================================
  Coverage   64.05%   64.05%
=======================================
  Files         106      106
  Lines        3488     3488
  Branches      195      195
=======================================
  Hits         2234     2234
  Misses       1165     1165
  Partials       89       89

Impacted Files
Coverage Δ

...ViewController/Views/JSQMessagesComposerTextView.m
72.41% <ø> (ø)
:arrow_up:

Thanks !!!!


Test benchmarking action

Summary
Describe the goal of this PR. Mention any related Issue numbers.
Requirements

[ ] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.

Closing as this was moved to #654. This was done using a fork so that we could reliably test the merge into master behavior on the fork before merging into this repo.


Add code static analysis tools & workflows and bots to raise code quality in KodaDot

There is not enough static analysis in the room, who we should invite for a drink at bar?

[x] CodeClimate
[ ] Coveralls ?
[ ] Codacy
[ ] CodeCov ?
[x] DeepSource --- so far autofixes seems interesting. -- considering getting Starter or Bussines package
[X] DeepScan --- does it do anything at all?

Any suspect from this list seems conscious? https://github.com/kodadot/nft-gallery/security/code-scanning

IMO, we can add Renovate to chek dependencies update
by @roiLeo

Received suggestion we should look on this and add some AI helpers to speed up our stuff!

semgrep
https://semgrep.dev/


The mpd video changed by the server is not applied to the shaka player

Have you read the Tutorials?
Yes I have read it
Have you read the FAQ and checked for duplicate open issues?
Yes I've read FAQ and couldn't find relevant question. Also looked for duplicate open issues and didn't see any.
What version of Shaka Player are you using?
3.2.0
Please ask your question
The server changed the mpd video, but it is not changed. However, when the cache is clear, the mpd video changes normally.
I added the code below, but the results were the same.
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
  <meta http-equiv='expires' content='0'>
  <meta http-equiv='pragma' content='no-cache'>
How can we solve this problem?

Those <meta> tags only indicate how the HTML page itself should be cached.  The server hosting your MPD decides what HTTP response headers to attach to the MPD, and those control how the MPD is cached by the browser.
Are you using a particular CDN or cloud service for hosting, or particular software for a local web server?

Those <meta> tags only indicate how the HTML page itself should be cached. The server hosting your MPD decides what HTTP response headers to attach to the MPD, and those control how the MPD is cached by the browser.
Are you using a particular CDN or cloud service for hosting, or particular software for a local web server?

Thank you for your quick response. I'm using an Apache web server.

Here's what I would recommend you read for configuring Apache: https://httpd.apache.org/docs/2.4/caching.html
Hope that helps!


data-* atributes support and attribute-style directive

I want to report a bug as I presume. Since Angular can deal with attributes with data- prefix by stripping it, I thought it would work as well in Formly. But when I used fieldGroup, an error which didn't make any sense appeared and the form didn't work:
<formly-form data-model="vm.model" data-fields="vm.fields" data-form="vm.form">...

When there is a fieldGroup in the field configuration, this weird error is raised
Syntax Error: Token 'vm' is an unexpected token at column 20 of the expression [options.fieldGroup vm.fields] starting at [vm.fields].

and in HTML I see
<ng-form ... data-model="model vm.model" data-fields="options.fieldGroup vm.fields" data-form="options.form vm.form">

I think this is a bug, since Angular handles attributes with data- prefix well.
Also, is there any reason why formly-form directive is only restricted to element? I think attribute would work as well. Rationale is, in our project we use a convention that directives are specified in attribute form (with data- prefix) and all directives' attributes as well. So if it worked as this also, it would be great:
<div data-formly-form data-model="..." data-field="..">...

This is indeed a bug. fieldGroup uses a formly-form itself and it copies attributes and their values from the parent formly-form (except for attributes like model, and fields). The problem is that it should also account for data-model and data-fields etc. You're welcome to make a PR. Otherwise I'll look at this as soon as I am able...
Should be pretty simple, just need to add the data counterpart to this array

It's not necessarily a blocker for us, if I get a bit of time I will look at it tomorrow (if as you say it's just as easy as extending the array). Thanks.
As for the attribute style directive restriction, is it possible or do you think it'll breaks something?

I don't think that there would be a problem with adding the attribute style to this directive. It's technically more of a "component directive" so it makes more sense as an element, but I'd be find to open it up as an attribute.

Thanks for the PR @redhead! This is available in 6.15.2


Fixes #5843

What kind of change does this PR introduce?
This PR introduces a bugfix

Did you add tests for your changes?
Yes.
If relevant, link to documentation update:
N/A
Summary
Please refer to #5843 for a description of the bug and motivation for the change.
Does this PR introduce a breaking change?
No.

I'm awaiting a review of the CLA by my company. I will sign it when the review is complete.

I have signed the CLA.

@sokra it looks like automation has rejected the current change, but I'm not familiar enough with the state of the project (particularly: code coverage) to know how actionable this rejection is.
Code coverage may have gone down due to the UmdMainTemplatePlugin being directly considered in tests for the first time.
Can you advise?

@sokra friendly ping on this.

@sokra yet another friendly ping.

The CI doesn't like to run correctly...

Thanks


[DISCUSSION] Rename scripts folder to tools

Description

Discussion for this.
In the other 2 repos, we are using tools. This was inspired by TF or Pytorch (see https://github.com/pytorch/pytorch/tree/master/tools)

+1

works for me

+1


Included note about the in-portal storage explorer

It was easy to assume this documentation would also apply to the portal storage explorer but access control is not on parity with general storage browsing.

@crowcoder : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @tamram
Could you review the proposed changes to your article?
Thanks!

@tamram (notification refresh)

My edit might be out-of-date or just wrong. Someone told me that Storage Blob Data Contributor is also a valid role. I'm not sure if that is a new role since I created this PR and I haven't tried it to see if it works.

@crowcoder - Apologies for the long delay on this one, and thanks for your contribution.
The behavior for the Azure portal, standalone Storage Explorer, or in-portal Storage Explorer should be the same, because the checks are happening at a level below the UI. If not, it would be a bug, but I haven't seen behavior that suggests a bug.
The requirements are a bit confusing. You need to have both an Azure Resource Manager role (Reader or above) and an Azure Storage role (e.g., Storage Blob Data Contributor, Storage Blob Data Reader, etc.) to access data in a storage account via one of these UI tools.
The Azure Resource Manager role provides access to the account itself, while the Azure Storage role provides access to its data. You need access to the account itself to be able to view and navigate it via a UI tool.
Let's close this one out, but I'll make a few tweaks to the article and note that the Storage Explorer behavior is the same as portal behavior.

#please-close


Attributes fallthrough should be skipped in functional component

Version
3.0.0-alpha.8
Reproduction link
https://codesandbox.io/s/falling-darkness-pzixr
Steps to reproduce
Open reproduction link
What is expected?
class, style, etc. should not be implicitly applied to the root node of functional component
What is actually happening?
As said in the Attr fallthrough RFC

Functional components have no implicit attrs fallthrough behavior.

but as of alpha.8 attributes fallthrough is not skipped for functional components

@sqal

Functional components have no implicit attrs fallthrough behavior.

That is Vue 2.x behavior, but in alpha.8, attrs fallthrough works for both stateful and functional components.

Implicit fallthrough now works consistently for both stateful and functional components (as long as the component has a single root node).

https://github.com/vuejs/rfcs/blob/attr-fallthrough-2/active-rfcs/0000-attr-fallthrough.md

ouch! I don't know how I missed that :( Sorry false alarm


Update run_py3_core.sh

Now setting $TF_GPU_COUNT in run_py3_core.sh, and this value is passed to --local_test_jobs.

jenkins: retest this please.

jenkins: retest this please.

@parallelo I do want to have this PR merged but it seems "master" CI node is acting weird.

Hmm.  What weirdness are you seeing?  I'll try to figure out what's happening.

[14,199 / 16,028] Executing genrule @jpeg//:simd_x86_64_assemblage23 [for host]; 2650s local ... (19 actions running)

this is not correct

jenkins: retest this please.

CI log shows "Can not find a free GPU". This PR deserves to be studied further. @parallelo might need your help here on this one.

jenkins: retest this please.

jenkins: retest this please

jenkins: retest this please

Close as the PR has been superseded by #46


[WIP] Fix tests and make Travis-CI work

Goal is to have all written tests pass, and to add a Travis-CI file to run CI on 2.x rubies

Currently at 14 failing tests

Hey Bill, I'll be pushing a PR tonight to upgrade the site to Rails 4. I went ahead and fixed and refactored broken tests as part of that process: https://github.com/campuscodefest/ccf/commits/rails4. You might want to hold off until that has been merged back in. There is lots of room for improvement in our test coverage overall...
and thank you very much for digging into this!

Thanks for the update @chadfennell; that's great to hear. I'll hold off on the rest of the tests, and leave this PR hanging out for now.

This has also been rebased to include the Rails 4 upgrade. I'm still seeing two failing tests, both in spec/helpers/comment_mailer_helper.
One might be an actual mismatch between expectations and existing logic. The "sends an emails when email alerts are enabled for everyone" is expecting CommentMailerHelper.get_project_users to return two users. But, CommentMailerHelper.get_project_users will return only the project owner if the project owner has notifications turned on.
The other failing test is frustrating to debug, and I suspect has something to do with the way FactoryGirl handles has_many through relationships, though it also related to CommentMailerHelper.get_project_users. "sends an emails when email alerts are enabled only for commenters" is expecting an array with one user, but CommentMailerHelper.get_project_users is returning an empty array. That array is empty because User.project_notifiable relies on User.commented_projects, which relies on User.project_comments. User.project_comments is being populated with a ProjectComment that has a project_id, but for some reason, calling project on that ProjectComment returns nil.
This is what happens if I throw a binding.pry into that test and do the following:
a_project = project(project_owner, comment_user)
=> #<Project:0x007fb4172c8030>
a_project.comments.first.project
=> #<Project:0x007fb4172c8030>
a_project.comments.first.user
=> #<User:0x007fb4171e01b8>
a_project.comments.first.user.project_comments.first
=> #<ProjectComment:0x007fb4172a4450>
a_project.comments.first.user.project_comments.first.project
=> nil
a_project.comments.first.user.commented_projects
=> []
comment_user
=> #<User:0x007fb4171e01b8>
comment_user.project_comments.first
=> #<ProjectComment:0x007fb4172613d0>
comment_user.project_comments.first.project
=> nil
comment_user.commented_projects
=> []

Woohoo, Travis is working as it should. Tests are running, and failures are real failures.

Awesome!!!!
--
David E H Peterson
pete2786.github.io
Responding via phone.

On Dec 12, 2015, at 14:16, Bill Bushey<EMAIL_ADDRESS>wrote:
Woohoo, Travis is working as it should. Tests are running, and failures are real failures.
—
Reply to this email directly or view it on GitHub.

Bang! Nice.

Ah, yeah, I hadn't rebased the comment refactor. Just pulled down this change and get the same failure. I hope to spend some time on the CCF app later. Thanks for the heads-up!

Going to merge this so we can get travis config in master.


Add support for XQuery module imports and namespace/function declarations

Implements XQuery main modules, namespace declarations, function declarations and module imports. These constructs can be defined via the scala dsl and used in planning QScript. Dependency tracking is used such that only the declarations and imports actually required for a plan are included in the final module sent to marklogic.
As a smoke test, the left shift functions have been converted into function declarations with the intention that the rest of the custom "functions" will be similarly converted in a separate PR.
This PR depends on #1423 so it contains some of the same commits, which can be ignored (i.e. all the changes in quasar.qscript).
The dsl for declaring functions is ok, but a little awkward, hopefully we can improve on this as we use it more, suggestions for improvement welcome!
Here is an example of a plan for select * from /explain/data using the new features
xquery version "1.0-ml";

declare namespace ejson = "http://quasar-analytics.org/ejson";
declare namespace quasar = "http://quasar-analytics.org/quasar";

declare function ejson:array-left-shift($arr as element(ejson:array)) as item()* {
  $arr/child::ejson:array-element/child::node()
};

declare function ejson:map-left-shift($map as element(ejson:map)) as item()* {
  $map/child::ejson:map-entry/child::ejson:map-value/child::node()
};

declare function quasar:left-shift($node as node()) as item()* {
  if (fn:node-name($node) = fn:QName("http://quasar-analytics.org/ejson", "ejson:array")) then ejson:array-left-shift($node) else if (fn:node-name($node) = fn:QName("http://quasar-analytics.org/ejson", "ejson:map")) then ejson:map-left-shift($node) else quasar:node-left-shift($node)
};

declare function quasar:node-left-shift($node as node()*) as item()* {
  $node/child::node()/child::node()
};

for $v1 in ((: Read :)()) let $v2 := $v1, $v3 := quasar:left-shift($v2) return $v3

Fixes #1418

Current coverage is 67.81% (diff: 10.00%)

Merging #1426 into master will decrease coverage by 0.59%

@@             master      #1426   diff @@
==========================================
  Files           266        276    +10
  Lines         13298      13423   +125
  Methods       13017      13148   +131
  Messages          0          0
  Branches        130        131     +1
==========================================
+ Hits           9098       9103     +5
- Misses         4200       4320   +120
  Partials          0          0

Powered by Codecov. Last update 42e9223...8da32dc

@jedesah Ready for another look.


Define a trait for NostrClient abstracting over its functionality

This would improve decoupling from a NostrClient implementation (network) and facilitate testing.

It is meanfull to implement this after issue #17


Await outside async function

I've got this error after running python radiobot.py :
    await ctx.send(f"You need to join a Voice Channel for me to know where to play the stream!")     ^ SyntaxError: 'await' outside async function
I'm noobie with Python, so i don't know hot to solve it

Hey @RogaStr1ke , Sorry i didn't see this until now.
This is the exception that's supposed to happen when the user that your discord app is running with isn't currently sitting in a Voice channel.

Since this isn't a bug i'm going to close this issue.  But if you need more help feel free to open a new one!


some fixes and cleanups to muon code

@AMWMitchell  this should include your fix to the muon plotting (but not the new files in ctapipe-extra)

Thanks, the new files should be added correctly to ctapipe-extra now


"Glossary" of settings, environment variables, rancher startup arguments, and feature flags

We have a lot of undocumented knobs you can tweak for rancher. Many of these are basically one-offs to address some specific problem that a user hit.
Generally, I don't want these to be in the "main" installation documentation because they would just clutter and confuse a normal user, but I'd like to have some place where we could just quickly and easily enumerate overall of these and briefly explain them. This would empower users to solve some of their own problems.

Are you thinking of something like the 'chart options' page, but also applicable to single node installs? https://rancher.com/docs/rancher/v2.x/en/installation/ha/helm-rancher/chart-options/

Closing this issue because it seems to be covered by chart options. https://rancher.com/docs/rancher/v2.x/en/installation/ha/helm-rancher/chart-options/ We can reopen if there is something specific that needs to be added to that page, or to the page about enabling experimental features.


Hawtio cannot connect to remote instance

... also in domain mode

Please remove of fix the "connect" tab

Works with context /hawtio/jolokia


Feature/new interface

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: awarde96:x: jameshawkesYou have signed the CLA already but the status is still pending? Let us recheck it.


refactor: add introductory type hints to flask-oso

Begins to add type hints to flask-oso module

Failure is due to docs diff, leaving for review


Not compatible with MacOS

Due to MacOS Retina display having 4 pixels per value, location values are 2 times larger than they should be on Mac, which leads to the bot clicking in the wrong spot.

Unfortunately, I'm not a python expert nor have the capability to test it on Mac. :(


WIREFRAMES: Build report – create work item

As a user, when I view the build report and am given recommendations, I want to be able to create work items based on those recommendations.
Include:

Toast or inline notification alerting user that the WI(s) have been created
Indicate that the WI(s) are placed in the backlog, with a link to WI(s) in the backlog
Indicate that recommendation has been converted to WI

Create work item screens


Refactor code to use the new OpenXR layer framework and graphicsDevice abstraction (from OpenXR-Toolkit)

This will make everything cleaner and facilitate things like D3D12 support.

Superseded by OpenXR-Toolkit.


Add support for star tv videos.

Hello,
js is not my language, so please be kind :)
I took example from other scrapers, and its a simple regex match to find first m3u8 link.
(I even left french comments intact, heh :D )

Finally I've fixed lint errors.
Integrations test are failing. Can you please instruct me how to debug? Is it possible my code broke those tests?
Also coverage is decreased, I could try to write some basic unit test, don't know where (and how) to start though.

@regseb Would you merge the changes?

Thank you for the proposal. I've added support for embedded YouTube videos (like this one) and integration testing.
Your pull request is published in the new version 5.11.0 (requires Firefox 87+).

That's great! Thank you.


Spring Boot BOM support

Can we add Support for Spring Boot BOM?
So we can define dependencies without specifying the version, and the version will be inferred from Spring Boot BOM.
Can anyone give a pointer, I think I can implement this and send Pull Request.

I'm pretty sure that kind of BOM support would need to be added to bld itself, not just the via the extension.
@gbevin Is that right?

I agree, the BOM support should be added to bld.
I am willing to help to implement this, It should be straightforward, but I will need some guidance.
I am currently working on creating an extension for this BOM support, not only for Spring Boot BOM but BOM in general.
While working on the Extension, I see there are a lot of functionalities that are already available on the bld itself, such as resolving dependencies, downloading artifacts, etc.

I believe there is some support for BOM in bld currently, but I'm not quite sure to the extent.
@gbevin Can you shade some light?

I think there's some implicit support for BOM reading support, not for generating, since a BOM is simply a sub-set of a POM. Integrating it into bld is probably the best approach. All that code is located in https://github.com/rife2/bld/tree/main/src/main/java/rife/bld/dependencies where Xml2MavenPom.java is likely the most interesting.

Thanks, let me take a look at the bld code.
Will close this issue and will send PR so we can continue the discussion.


Show device dashboard url in 'resin device' output

Important Note: this should be merged after https://github.com/resin-io/resin-sdk/pull/226 has been merged and published.
Connects to #395

Hey @emirotin , sorry I missed this ping, yeah I also still think it's a nice little improvement.
This depends on https://github.com/resin-io/resin-sdk/pull/226 which was blocked for a while due to failing sdk tests. I'll rebase the sdk PR since it's gone stale and push this forward again

@emirotin I've updated the SDK PR, but I can see that all open PRs are marked as having their CI tests failing. What is the current state of things with regards to SDK testing? I guess I shouldn't expect the CI tests to go green right?

Well, they should pass most of the times.
For example the tests here https://travis-ci.org/resin-io/resin-sdk/jobs/223362503 fail because the API part is not deployed.
So normally you should expect your tests to become green.

Got it, my PR was correctly failing the tests due to a bug in my code, I'm fixing it and will ping you again for review when it passes the tests.

https://github.com/resin-io/resin-sdk/pull/226 has landed in<EMAIL_ADDRESS>it will be picked up by resin-sdk-preconfigured in new resin-cli installations (or by simply reinstalling it) , so I'm merging this cc @emirotin @pimterry


Thumbnails not working (wrong URLs generated)

After having successfully uploaded my manifest from https://bcl.cnrs.fr/iiif/ALMC3/manifest.json I'm trying to start annotating from the Home tab.
Thumbnails are not displayed properly (blank rectangles in place of thumbnails).
By looking in the developper console of my browser, I see that the URLs that Annonatate has generated for these thumbnails are wrong.
Example of such an erroneous thumbnail URL generated by Annonatate : https://bcl-180.unice.fr:11280/iiif/ALMC3/ALMC_3_0329_Q1881/0/default.jpg/0/default.jpg/0/default.jpg
(notice that there's 3 times repetition of "/0/default.jpg" at the end of the URL)
Whereas the correct URL would be somehting like: https://bcl-180.unice.fr:11280/iiif/ALMC3/ALMC_3_0329_Q1881/full/90,/0/default.jpg

@Pigeo I looked at this issue. What I found is the thumbnail generated for this manifest. What I got is: https://bcl-180.unice.fr:11280/iiif/ALMC3/ALMC_3_0001/full/full/0/default.jpg. When I try to go to that URL in a browser. It never loads. Would you mind linking to the repository with which you are having this problem? Because currently I am unsure of how you are getting this problem.

Hello @dnoneill, thank you for your quick reply! I now realise my initial message was a little bit ambiguous, so let me send you those 2 screenshots attached:

Please compare screenshot 1 and screenshot 2, and I think the issue will be clearer for you.

Also, please note that our IIIF server is currently using a self-signed SSL certificate, that's why your browser is blocking by default the loading of those URLs, for security reasons, because it has flagged our web server as "unsecure" due to this self-signed SSL certificate. Since there's no real risk (it's just about downloading some IIIF pictures - no login / password, no sensitive information transmitted - but the browser doesn't know about that), you just need to tell your browser that you're understanding the risk and willing to continue loading the page. Here is how to do that for most commonly used browsers: https://www.vultr.com/docs/how-to-bypass-the-https-warning-for-self-signed-ssl-tls-certificates/ (it's super easy to do with Firefox or Safari, while Google Chrome makes things more complicated). Once you've done that once, your browser will keep the exception in memory, and you'll be able to load any other URLs on this same server without being blocked again (and thus you'll also be able to use this IIIF server from within Annonatate)

Would you mind linking to the repository with which you are having this problem? Because currently I am unsure of how you are getting this problem

Here it is : https://github.com/pag06/atlas

Hello @dnoneill, thank you for your quick reply! I now realise my initial message was a little bit ambiguous, so let me send you those 2 screenshots attached:

Please compare screenshot 1 and screenshot 2, and I think the issue will be clearer for you.

Also, please note that our IIIF server is currently using a self-signed SSL certificate, that's why your browser is blocking by default the loading of those URLs, for security reasons, because it has flagged our web server as "unsecure" due to this self-signed SSL certificate. Since there's no real risk (it's just about downloading some IIIF pictures - no login / password, no sensitive information transmitted - but the browser doesn't know about that), you just need to tell your browser that you're understanding the risk and willing to continue loading the page. Here is how to do that for most commonly used browsers: https://www.vultr.com/docs/how-to-bypass-the-https-warning-for-self-signed-ssl-tls-certificates/ (it's super easy to do with Firefox or Safari, while Google Chrome makes things more complicated). Once you've done that once, your browser will keep the exception in memory, and you'll be able to load any other URLs on this same server without being blocked again (and thus you'll also be able to use this IIIF server from within Annonatate)

Would you mind linking to the repository with which you are having this problem? Because currently I am unsure of how you are getting this problem

Here it is : https://github.com/pag06/atlas


arbitrary variables in WebIndexPlugin

Would it be possible to inject any kind of variable with WebIndexPlugin?

Yes, we can enable that.

This should be possible with the new templateString attribute in WebIndexPlugin. You just need to use es6 string templates and inject you variables into it.

Closing as we now have this feature. Please re-open if it is not working for you @FredericHeem


Supporting Single Page App for crawler with # in the inputUrl

Is your feature request related to a problem? Please describe.
SO post: https://stackoverflow.microsoft.com/questions/369395
Related Issue: https://github.com/microsoft/accessibility-insights-action/issues/1809
Describe the desired outcome
Crawler should work with SPA, this is a very common use case for Azure Portal Extension.
Describe alternatives you've considered

Additional context

Hi, @lesongjia! We definitely want to enable this scenario. We've created an internal feature for this in our backlog, and will implement it as soon as we are able to do so. I'm closing this, since we try to avoid having the requests in 2 places.
Thanks for using Accessibility Insights!


Telegram notification

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
When I test to send a telegram notification i see this error:
self signed certificate in certificate chain
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.3
💻 Operating System and Arch
Ubuntu 22
🌐 Browser
All
🐋 Docker Version
20.10.24
🟩 NodeJS Version
No response

What network layers are between your uptime-kuma instance and the telegram api? Wifi access page/ other effects spoofing on the route.
Do you have a proxy enabled?

Closing as unreproducible and the user did not respond to questions


[Next] Field type suggestion: flexible field

The field would be one of some specified group of types.  Before entering data, the user selects a field type.
Use case: suppose I have a field that I want to be enterable as Markdown, HTML or WYSIWYG, depending on user preference. With the 'flex' field type I can specify those three field types, then when the user gets to my field, they have a dropdown, tabs, whatever allowing them to switch between these types.
I would see this field as strictly being ONE of the types though and it should not retain data for any field type other than the current one (otherwise it would be too similar to the repeater field). For this reason I would suggest that changing a field's type spawns a confirmation prompt, warning of potential data loss.

well, I can only see a use case for this switching between content editors, for other field types it just won't make sense. But then again, I also don't think that you want to switch between markdown and wysiwyg, because at the point where you consume the data you need to know if you need to parse it as markdown or just use it as it is. I understand your intention but I think there is no valid real life scenario for that and instead will only complicate things.
btw. you should be able to switch in the source mode in the wysiwyg editor.

There is another use case, but it is particular to collection links so
wouldn't necessarily justify an entirely new field type. Numerous times
when modeling my data I have needed a link of one type OR another. I've
been satisfying this need by making fields for both and only filling in one
or the other, but that isn't ideal because it would be possible for someone
who didn't understand the setup to enter both.
The need could also be satisfied with a "limit" parameter on the repeater
field. In my case, I'd be supplying a limit of 1 item and making either
collection link an available option. This does mean the data will be
wrapped in an unnecessary array, but that's not the end of the world.
On Fri, Oct 7, 2016, 12:57 AM Artur<EMAIL_ADDRESS>wrote:

well, I can only see a use case for this switching between content
editors, for other field types it just won't make sense. But then again, I
also don't think that you want to switch between markdown and wysiwyg,
because at the point where you consume the data you need to know if you
need to parse it as markdown or just use it as it is. I understand your
intention but I think there is no valid real life scenario for that and
instead will only complicate things.
btw. you should be able to switch in the source mode in the wysiwyg editor.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/COCOPi/cockpit/issues/475#issuecomment-252176741, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFhG2DEud1M81tDr0n_Gm5T5P-zNTxVMks5qxft5gaJpZM4KQiUp
.

The limit option is a good idea 👍🏻

I'm content with the limit option for now, closing


Github-provided .gitignore causes JSON files to be excluded

First off, thank you for this action!
I have a Github provided .gitignore that included the following:
# Thumbnails
._*

(TBH, I don't know what "thumbnails" are being referred to (maybe for an image gallery?))
This seems to have caused the default Exclude to basically think all files (at least JSON which I had, but I don't think it matters)
##[debug]using baseDir: src/data
##[debug]using glob: **/*.json
##[debug]found file: src/data/basic_team_info.json
##[debug]file matches exclude glob pattern: ._*
skipping due to exclude match: src/data/basic_team_info.json

Commenting out the "offending" .gitignore fixes the problem.
Action configuration that triggered the issue:
  json-yaml-validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: json-yaml-validate
        id: json-yaml-validate
        uses<EMAIL_ADDRESS>        with:
          base_dir: src/data
          comment: true

Happy to create a sample repo (the one that found this is private) if that helps with reproduction.
Thanks!

@untulis Hey! 👋 Glad you are getting good use out of this Action.
I have great news for you, there is an input option in this Action to easily toggle off the usage of .gitignore files for exclusion.

use_gitignore

You can tweak your Action's configuration like so to remove the issue at hand:
  json-yaml-validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: json-yaml-validate
        id: json-yaml-validate
        uses<EMAIL_ADDRESS>        with:
          base_dir: src/data
          comment: true
          use_gitignore: "false" # <--- add this

After disabling your .gitignore file via the input option seen above, you can still have fine-grained control using exclude files that are custom to this Action.
The background of using the .gitignore file by default, was to make it a bit easier for users to ignore files from this Action that are also ignored by version control. That doesn't fit every use case though and that is why you can disable the option via the input option in cases like yours.
Hopefully that helps!


[BUG] - NO MODULE NAMED "KOTAEMON" in Window 10

Description

NO MODULE NAMED "KOTAEMON" in Window 10
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
No response
OS
No response
Additional information
No response

Hi, can you remove the install_dir and reinstall again? And during the install can you share us the logs if error occurs ?

same error。i tried you advice that delete the install_dir and install again.here is logs.

Setting up Miniconda

Downloading Miniconda from https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 85.5M  100 85.5M    0     0  3370k      0  0:00:26  0:00:26 --:--:-- 4179k
Installing Miniconda to C:\Users\admin\Downloads\kotaemon-app\install_dir\conda
Conda is installed at C:\Users\admin\Downloads\kotaemon-app\install_dir\conda
Conda version:
conda 24.7.1

Creating conda environment

Creating conda environment with python=3.10 in C:\Users\admin\Downloads\kotaemon-app\install_dir\env
Channels:

defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done

Package Plan
environment location: C:\Users\admin\Downloads\kotaemon-app\install_dir\env
added / updated specs:
- python=3.10
The following packages will be downloaded:
package                    |            build
---------------------------|-----------------
pip-24.2                   |  py310haa95532_0         2.5 MB
python-3.10.14             |       he1021f5_1        15.9 MB
setuptools-72.1.0          |  py310haa95532_0         2.5 MB
wheel-0.43.0               |  py310haa95532_0         136 KB
------------------------------------------------------------
                                       Total:        21.0 MB

The following NEW packages will be INSTALLED:
bzip2              pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6
ca-certificates    pkgs/main/win-64::ca-certificates-2024.7.2-haa95532_0
libffi             pkgs/main/win-64::libffi-3.4.4-hd77b12b_1
openssl            pkgs/main/win-64::openssl-3.0.14-h827c3e9_0
pip                pkgs/main/win-64::pip-24.2-py310haa95532_0
python             pkgs/main/win-64::python-3.10.14-he1021f5_1
setuptools         pkgs/main/win-64::setuptools-72.1.0-py310haa95532_0
sqlite             pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0
tk                 pkgs/main/win-64::tk-8.6.14-h0416ee5_0
tzdata             pkgs/main/noarch::tzdata-2024a-h04d1e81_0
vc                 pkgs/main/win-64::vc-14.40-h2eaa2aa_0
vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.40.33807-h98bb1dd_0
wheel              pkgs/main/win-64::wheel-0.43.0-py310haa95532_0
xz                 pkgs/main/win-64::xz-5.4.6-h8cc25b3_1
zlib               pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate C:\Users\admin\Downloads\kotaemon-app\install_dir\env

To deactivate an active environment, use

$ conda deactivate
Conda environment created successfully
Activate conda environment at C:\Users\admin\Downloads\kotaemon-app\install_dir\env

Installing Kotaemon

Installing Kotaemon v0.4.3
Collecting<EMAIL_ADDRESS>Cloning https://github.com/Cinnamon/kotaemon.git (to revision v0.4.3) to c:\users\admin\appdata\local\temp\pip-req-build-hxwkjnmz
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
Collecting<EMAIL_ADDRESS>Cloning https://github.com/Cinnamon/kotaemon.git (to revision v0.4.3) to c:\users\admin\appdata\local\temp\pip-req-build-qq_se2ul
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
Collecting<EMAIL_ADDRESS>Cloning https://github.com/Cinnamon/kotaemon.git (to revision v0.4.3) to c:\users\admin\appdata\local\temp\pip-req-build-8qs_z0ri
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
Installation failed. You may need to run the installer again.
Deactivate conda environment at C:\Users\admin\Downloads\kotaemon-app\install_dir\env
请按任意键继续. . .

The second error message show that you have a problem with git. Can you help to install the git by document here https://git-scm.com/download/win .
Remember to add it to your PATH enviroment variable if necessary.

I found some similar issue on another repo and got resolved here https://github.com/stefmolin/Hands-On-Data-Analysis-with-Pandas-2nd-edition/issues/3

@phv2312
seem Windows users are more likely to encounter missing git issue because they are more like non-technical users. Let us consider prompt for git windows installation when needed to make it more user friendly.

after downloading,there is a module named decouple failed to be found.

Setting up Miniconda

Conda is installed at C:\Users\admin\Downloads\kotaemon-app\install_dir\conda
Conda version:
conda 24.7.1

Creating conda environment

Conda environment exists at C:\Users\admin\Downloads\kotaemon-app\install_dir\env
Activate conda environment at C:\Users\admin\Downloads\kotaemon-app\install_dir\env

Installing Kotaemon

Dependencies are already installed

Setting up a local model

Traceback (most recent call last):
File "C:\Users\admin\Downloads\kotaemon-app\scripts\serve_local.py", line 6, in
from decouple import config
ModuleNotFoundError: No module named 'decouple'

after downloading,there is a module named decouple failed to be found.下载后，找不到名为 Decouple 的模块。
Setting up Miniconda 设置 Miniconda
Conda is installed at C:\Users\admin\Downloads\kotaemon-app\install_dir\condaConda 安装在 C：\Users\admin\Downloads\kotaemon-app\install_dir\conda Conda version: Conda 版本： conda 24.7.1 康达 24.7.1
Creating conda environment创建 conda 环境
Conda environment exists at C:\Users\admin\Downloads\kotaemon-app\install_dir\envConda 环境位于 C：\Users\admin\Downloads\kotaemon-app\install_dir\env Activate conda environment at C:\Users\admin\Downloads\kotaemon-app\install_dir\env在 C：\Users\admin\Downloads\kotaemon-app\install_dir\env 激活 conda 环境
Installing Kotaemon 安装 Kotaemon
Dependencies are already installed依赖项已安装
Setting up a local model设置本地模型
Traceback (most recent call last):回溯 （最近调用最后）： File "C:\Users\admin\Downloads\kotaemon-app\scripts\serve_local.py", line 6, in 文件“C：\Users\admin\Downloads\kotaemon-app\scripts\serve_local.py”，第 6 行，在 from decouple import config ModuleNotFoundError: No module named 'decouple'ModuleNotFoundError：没有名为“decouple”的模块

same problem，did you solve it？