ViewExpression slice updates

This PR adds the ability to slice by ViewFields and fixes a bug with expressions.
TODO
Figure out why unwinding produces different results:
import fiftyone as fo
from fiftyone import ViewField as F

dataset = fo.Dataset()
sample = fo.Sample(
    filepath="test.png",
    slice_size=5,
    test_list=list(range(10)),
)
dataset.add_sample(sample)

print(dataset.values(F("test_list")[:5], unwind=True))
# [0, 1, 2, 3, 4]

print(dataset.values(F("test_list")[:F("slice_size")], unwind=True))
# [[0, 1, 2, 3, 4]]

Examples
Slicing by ViewFields:
import fiftyone as fo
from fiftyone import ViewField as F

dataset = fo.Dataset()
sample = fo.Sample(
    filepath="test.png",
    slice_size=5,
    test_list=list(range(10)),
)
dataset.add_sample(sample)

print(dataset.values(F("test_list")[:5]))
print(dataset.values(F("test_list")[4:5]))
print(dataset.values(F("test_list")[5:4]))
print(dataset.values(F("test_list")[5:]))
print(dataset.values(F("test_list")[5]))
# [[0, 1, 2, 3, 4]]
# [[4]]
# [[]]
# [[5, 6, 7, 8, 9]]
# [5]

print(dataset.values(F("test_list")[:F("slice_size")]))
print(dataset.values(F("test_list")[F("slice_size")-1:F("slice_size")]))
print(dataset.values(F("test_list")[F("slice_size"):F("slice_size")-1]))
print(dataset.values(F("test_list")[F("slice_size"):]))
print(dataset.values(F("test_list")[F("slice_size")]))
# [[0, 1, 2, 3, 4]]
# [[4]]
# [[]]
# [[5, 6, 7, 8, 9]]
# [5]

Bug fix:
import fiftyone as fo
from fiftyone import ViewField as F
from fiftyone import ViewExpression as E

dataset = fo.Dataset()

sample1 = fo.Sample(
    filepath="file1.png",
    field1=0,
    field2="a",
)

sample2 = fo.Sample(
    filepath="file1.png",
    field1=1,
    field2="a",
)

dataset.add_samples([sample1, sample2])

print(dataset.distinct(E([F("field1"), F("field2")])))

Previously raised:
Traceback (most recent call last):
  File "distinct.py", line 21, in <module>
    print(dataset.distinct(E([F("field1"), F("field2")])))
  File "/home/eric/work/fiftyone/fiftyone/fiftyone/core/collections.py", line 5397, in distinct
    return self._make_and_aggregate(make, field_or_expr)
  File "/home/eric/work/fiftyone/fiftyone/fiftyone/core/collections.py", line 7018, in _make_and_aggregate
    return self.aggregate(make(args))
  File "/home/eric/work/fiftyone/fiftyone/fiftyone/core/collections.py", line 6830, in aggregate
    facet_pipelines = self._build_faceted_pipelines(facet_aggs)
  File "/home/eric/work/fiftyone/fiftyone/fiftyone/core/collections.py", line 6947, in _build_faceted_pipelines
    pipeline=aggregation.to_mongo(self),
  File "/home/eric/work/fiftyone/fiftyone/fiftyone/core/aggregations.py", line 771, in to_mongo
    safe=self._safe,
  File "/home/eric/work/fiftyone/fiftyone/fiftyone/core/aggregations.py", line 1707, in _parse_field_and_expr
    root = "." not in field_name
TypeError: argument of type 'NoneType' is not iterable

As mentioned offline, the TODO in the PR description is a current limitation of view expressions: the return type of expressions is not known at compile-time, so dynamically computed arrays can't be unwound


Added AllTaskDetail screen with test case.

Issue: #329
Description:

Task is to add feature to view task in detail and update progress.

Work Done:

Added UI of detail screen and progress update screen.

Work pending:

Api integration is pending.

Recording:
https://github.com/Real-Dev-Squad/mobile-app/assets/56362412/db145ea8-759f-4efb-b7ff-0c2939b2c687

Issue: #329
Description:
1. Task is to add feature to view task in detail and update progress.

Work Done:
1. Added UI of detail screen and progress update screen.

Work pending:
1. Api integration is pending.

Recording:
23-11-17-22-06-05.mp4

[ ] please fix the update progress form's title. Please check with website.
[ ] Note please : on Task detail page , link should not be N/A
[ ] Is form validated ? If yes please show the error case in video as well.
[ ] Is submit button is disable , if form is empty? please include that in video as well.
[ ] Also check if you submit the progress , your progress count increases or not.
Ref img:


Sort out all package versions PyBaMM / liionpack / Sympy

Error: pip is looking at multiple versions of jellybamm to determine which version is compatible with other requirements
Even I am getting this error, not able to download jellybamm in my PC


Can I input a strange face and output a face of different emotions or poses?

Hi~zo7, as I run command 'python3 face.py generate...', I find I can only get the face of what I have trained (Extend Yale face Dataset B).
How can I input a strange face and get the same face of different emotions or poses? :)

What do you mean by a strange face? You don't input a face to the network, you input the parameters of what you want to draw, i.e. combinations of parameters the network has already seen.

Sorry, I haven't expressed clearly.
I have drawn some faces with the params in the single.yaml files. But I can get the faces of different person only by changing the parameter 'id'. So  the number of faces is limited to the number of data I have trained.
I want ask if it is possible to get a 'happy' face from a neutral face not in the training data? like getting a happy face of myself without training all emotions of my face?
Thanks a lot~

No, this can't do that, it's currently designed to interpolate between known examples, you'd need a different kind of model to do that.


bgset plugin fails on some browsers

The jsfiddle demo for the bgset plugin works in current versions of Safari and Firefox but is initially blocked in Opera and does not seem to work at all in Chrome/Canary, in my testing on OSX. Any advice?

This shouldn't be a problem for you. jsfiddle changed to https, while lorempixel is served through http and therefore blocked. Will need to find fix this.


[Error] ImportDeclaration should appear when the mode is ES6 and in the module context.

I'm being shown this error constantly on save, but I don't see any "Problem" in the console, and have no idea what part of the linting phase is triggering it.

My config
{
    "search.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "*.iml": true,
        "*.log": true,
        "**/.idea": true,
        "**/node_modules": true,
        "**/flow-typed": true,
        "**/dist": true,
        "**/lib": true,
        "**/coverage": true,
        "**/.nyc_output": true,
        "**/tmp": true,
        "**/mocks": true,
        "**/package-lock.json": true,
        "**/mocha.json": true,
        "**/test-results.xml": true
    },
    "editor.formatOnType": true,
    "editor.renderWhitespace": "all",
    "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
    "javascript.validate.enable": false,
    "git.confirmSync": false,
    "files.autoSave": "onWindowChange",
    "files.trimTrailingWhitespace": true,
    "files.insertFinalNewline": true,
    "eslint.autoFixOnSave": true,
    "eslint.options": {
        "envs": [
            "browser",
            "node",
            "jest",
            "mocha"
        ],
        "globals": [
            "expect",
            "sinon",
            "angular",
            "jest",
            "shallow",
            "render",
            "mount"
        ]
    },
    "editor.tabSize": 2,
    "codemetrics.basics.Exclude": [
        "**/*.spec.js",
        "**/*.spec.jsx"
    ],
    "eslint.alwaysShowStatus": true
}

Other extensions & version

When you run eslint in the terminal do you see an exception. Is there something in the Output channel for ESlint in VS Code?

@dbaeumer there is nothing in the output tab (just git stats, nothing related to eslint), is there a way to debug the actual extension to see if its outputting something? Or should it be in the tab?

@GonchuB it should be in the tab. What happens if you run ESLint in a terminal (not in VS Code).

@GonchuB can you please provide a GitHub repository I can clone that demos the behavior with steps to reproduce. Then I can investigate why an error is thrown in this case.

@dbaeumer unfortunately I cannot, as the repo I'm working on is private and couldn't really isolate the issue to reproduce. Was hoping to get some debugging information out of this issue in order to pinpoint the culprit. Will close and reopen if the issue persists and I can isolate.

Although can reproduce in some files, still no output:


Fails with missing settings.json file

Excited to try out the new release, but I'm getting an exception when starting VS trying to save the initial settings.json. Creating the VSColorOutput folder manually allowed it to save and launch properly. Included the exception here
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\phili\AppData\Roaming\VSColorOutput\settings.json'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at BlueOnionSoftware.Settings.Save() at BlueOnionSoftware.Settings.Load() at BlueOnionSoftware.BuildEvents.LoadSettings() at BlueOnionSoftware.BuildEvents..ctor(IServiceProvider serviceProvider) at BlueOnionSoftware.BuildEventsProvider.ConstructBuildEvents(IServiceProvider serviceProvider) at BlueOnionSoftware.OutputClassifierProvider.GetClassifier(ITextBuffer buffer) at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTaggerProvider.<>c__DisplayClass12_0`1.<CreateTagger>b__0(IClassifierProvider provider) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeEligibleFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter, IContentType dataContentType, IContentTypeRegistryService contentTypeRegistryService, Object errorSource)

I remember thinking to myself I better create the directory first...
Fixed. https://github.com/mike-ward/VSColorOutput/releases/tag/v2.0.1-beta2


Backgroundcolor of ActionBar

This resulted in black:
ActionBar:
background_color: (0.746,0.8,0.86,0.8)
This resulted in white:
ActionBar:
background_color: (191,205,219,0.8)
It should be something like light-blue.
According to document:
Background color in the format (r, g, b, a)

Yup, the colors are in that format - (r, g, b, a) in interval <0, 1> for each value, but there's also mentioned that the default background_image is set to some image from atlas. The way it behaves is tinting the image. If the image is dark already, you'll just make it darker.
ActionBar:
    background_image: ''
    background_color: (0.746,0.8,0.86,0.8)


Feature/pdsbss

Summary
Implement blind source separation methods via the proximal splitting algorithm.

Codecov Report
Base: 94.97% // Head: 93.96% // Decreases project coverage by -1.00% :warning:

Coverage data is based on head (7730c66) compared to base (c064281).
Patch coverage: 77.40% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #207      +/-   ##
==========================================
- Coverage   94.97%   93.96%   -1.01%
==========================================
  Files          27       29       +2
  Lines        3424     3631     +207
==========================================
+ Hits         3252     3412     +160
- Misses        172      219      +47

Impacted Files
Coverage Δ

ssspy/bss/iva.py
92.96% <18.18%> (-3.10%)
:arrow_down:

ssspy/linalg/prox.py
78.94% <78.94%> (ø)

ssspy/bss/pdsbss.py
85.02% <85.02%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[v2.12.0] Ensure CI/documentation reflect changes to default admin credentials

Background
Previously, when installing the security plugin demo configuration, the cluster was spun up with the default admin credentials, admin:admin. A change was made in main and backported to 2.x for the 2.12.0 release, which now requires an initial admin password to be passed in via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD. This will break some CI/testing that relies on OpenSearch to come up without setting this environment variable. This tracking issue is to ensure compliance with the new changes.
Coming from: https://github.com/opensearch-project/security/issues/3624
Acceptance Criteria

[ ]  All documentation references to the old default credentials admin:admin are removed
[ ]  Ensure that CI/testing is working with main and 2.x branches

Closing this as complete via: https://github.com/opensearch-project/cross-cluster-replication/pull/1298


Synapse Workspace Sync Automation

Add GitHub workflow and companion PowerShell scripts to facilitate retrieving files from a live Azure Synapse workspace - alleviating the need to manually copy files over from the workspace..
Caveat:
Currently, notebooks are not supported as the saved notebook is being reported by GitHub as invalid. Also, files for OEA packages are not being sync'd.

DID I ASKED FOR THIS?? I WAS IN A FULL BLOWN PSYCHOSIS AT THAT TIME, AND THEN SOMEONE COMPLETLY HACKED MY PC?  SOMEONE ORDERED THIS ATTACK ON ME?????????


Slug is generated based on user language

The slug for e.g. news items is generated based on the title, which is dependent upon the language of the user that creates the news item. We should just always use the english title to generate the slug.

More difficult due to the fact that English titles/headers are not always mandatory. First, #531 should be fixed.


Suggested changes to ID and key requirements for rbd CSI plugin

Currently the CSI rbd plugin requires 2 IDs and its respective keys in secrets. Each ID seems to serve the following purpose,

adminID: Used for create/delete/snapshot operations (IOW, controller service operations)
userID: Used for mount/umount of the rbd image on nodes using the same (IOW, node service operations)

There are a few issues with the same, some of which is related to lack of documentation as stated in #80 but some others need consideration as follows,

Do we need separate ID for the Controller Service and the Node Service? Or, can these be folded into a single ID/key instead of requiring 2?

I can see the following hierarchy of secrets (with some further granularity possible) that maybe used, and the question is, if we need to separate the admin from the mounter as in the following list,

Cluster-wide admin
Per-pool admin
Per-pool user/mounter
Per-image user/mounter

Either-way, the ID and key can move into the secret, rather than mentioning the ID in the StorageClass and the key as a secret in the secret. This makes it easier to configure for a user, than having to do the same in 2 places. IOW, make this similar to a secret in CephFS plugin, where the secret carries both the ID and the key.

Further make the secret a single ID/key pair, such that if required the same can be used as the provisioner and the publisher secret, rather than repeating the pair of user.key within the secret and also repeating the same in the StorageClass

Ideally, if we needed to separate the provisioner secret from the node secret, these should not be placed in the same secret file, as otherwise the nodes get both secrets and that sort of defeats the purpose? I would suggest that we pass the secrets in different files as examples, instead of a single file (and if we choose to do (3) this would be handled automatically)

From the point-of-view of the ceph-rbd CSI, I agree that the current usage of admin vs user doesn't make much sense. The CSI would only need a user w/ caps similar to the following:
ceph auth get-or-create client.{ID} mon 'profile rbd' osd 'profile rbd [pool={pool-name}][, profile ...]'
There isn't currently any need for full Cluster "admin"-level permissions (i.e. ceph.admin) to any RBD operations.
There also isn't any plans in place for per-image permissions. Instead, starting w/ the Ceph Nautilus release, RBD now supports pool namespaces. This allows a storage admin to grant R/W permissions to a user for only a specific namespace within a pool. If a k8s admin wanted to only provide a user (project) with access to a specific namespace, they could create a new StorageClass that points to a different credential secret that it locked down to a specific namespace. Of course the ceph-rbd CSI would also need to add support for a pool_namespace attribute in the StorageClass and add --namespace XYZ CLI arguments to the rbd/rados commands.

@dillaman if we use namespaces, can we still maintain pool level RADOS omaps and keys. Assuming we are removing the csi.volumes and csi.snaps` omaps, we still need to create the other omaps and keys, do those need any privileges that would be missed in this scheme?

@ShyamsundarR Technically you could grant additional access to the default ('') namespace on specific objects like csi.volumes and csi.snaps. It does bring up a good design question of whether or not that would violate the expected isolation between pool namespaces and therefore should the namespace name be encoded in the volume/snap id as well?

@dillaman anything added to the Storage Class that specializes where the volume (image) will land, will need encoding into the volume/snap ID. So, if we decide in the future to add namespace support into the StorageClass then this would need to be added to the returned ID.
Is it not feasible to query and determine which namespace a user has access to in a pool, and use an appropriate namespace in the CLI arguments? Thus, avoiding specifying the same in the Storage Class itself?
Further I assume the namespace "enhancement" is a logical next step post addressing the dual user issue cleanup, right?

@dillaman anything added to the Storage Class that specializes where the volume (image) will land, will need encoding into the volume/snap ID. So, if we decide in the future to add namespace support into the StorageClass then this would need to be added to the returned ID.

Agreed (given the assumption that the CSI driver cannot pull the StorageClass or additional Secret metedata from k8s).

Is it not feasible to query and determine which namespace a user has access to in a pool, and use an appropriate namespace in the CLI arguments? Thus, avoiding specifying the same in the Storage Class itself?

Negative, it's not realistically feasible. You would need to pull their caps from the MONs (which would require high privilege) and then parse out the caps to determine which ones apply to which pool and namespace -- possibly multiple).

Further I assume the namespace "enhancement" is a logical next step post addressing the dual user issue cleanup, right?

Right, it doesn't stall current stateless PR -- but the stateless PR should be able to "gracefully" handle v2 of the encoded vol/snap ID (i.e. not crash upon seeing a v2).

@dillaman require some clarifications/confirmation as I start part of the implementation here, as follows,

We are stating that we do NOT need 2 IDs (adminID and userID) but just a single ID (calling it a adminID) for RBD

We will move the ID/Key configuration to the secret (like the CephFS configuration), where the secret holds both the ID and the Key. Instead of the current ID in the storage class and key in the secret

We are stating that we do NOT need 2 IDs (adminID and userID) but just a single ID (calling it a adminID) for RBD

Correct -- the "admin" vs "user" split doesn't currently make sense (at least for RBD). I'd actually vote for calling it userID since you don't need any administrator-level permissions to create/read/update/delete RBD images.

We will move the ID/Key configuration to the secret (like the CephFS configuration), where the secret holds both the ID and the Key. Instead of the current ID in the storage class and key in the secret

Make sense to me.


Bug: Test-Explorer: test status not sync between terminal and UI

When using xgo e within https://github.com/gin-gonic/gin, the status does not change to green when all tests passed.

PR https://github.com/xhd2015/xgo/pull/213 fixes this:

Gif version:


Updated polish translation

@kad3mlia please review and let us know if this is good to be merged.

thank you @ireun !

@marcelinkaaa can you take a look at the polish translation changes and tell us if this is good to be merged?

Sorry for the delay - all good :+1:

Thank you so much for your translation @ireun

(I know how Polish people must hate him, LOL, just messing with you @ireun )

Hahahha, no problem :D


Dev branch

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

Can someone help me, I really don't know what I need to do for solving it.

Hi @Valdeirsk8 :) your PR was right it was just that your fork was out of sync. Following the instructions in the failed check or running npm run sync-fork could do the trick but this looks otherwise good so I merged it manually.
Thank you!


ModuleNotFoundError: Jupyter Kernel Gateway not found when running Streamlit

I already have Jupyter Kernel Gateway installed and I am able to run the codeinterpreterapi on my local Pycharm smoothly but when I try running the same in  streamlit UI
During Entering a Query when pressing on submit
I have the latest libraries for all installed with Python 3.10
ModuleNotFoundError: Jupyter Kernel Gateway not found, please install it with: pip install jupyter_kernel_gateway to use the LocalBox.
Pls Help @shroominic

I also experience this issue.  I follow the pip install suggestion and I still receive the error.

I guess Windows Support for Streamlit is not present !
You can use Gradio instead

I am having the same issue on Windows. After having looked a little deeper, I found this exception message misleading. The real exception is
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\codeinterpreterapi-5qkoj89i-py3.11\Lib\site-packages\codeboxapi\box\localbox.py", line 156, in astart
    self.jupyter = await asyncio.create_subprocess_exec(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\asyncio\subprocess.py", line 221, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1694, in subprocess_exec
    transport = await self._make_subprocess_transport(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 502, in _make_subprocess_transport
    raise NotImplementedError
NotImplementedError

, but in the exception handler, there is a hard-coded exception raise statement:
raise ModuleNotFoundError(
                "Jupyter Kernel Gateway not found, please install it with:\n"
                "`pip install jupyter_kernel_gateway`\n"
                "to use the LocalBox."
            )

There is an issue #61 on this. It seems that currently Windows is not a supported platform.


feature request: redo timing comparisons in tutorial 5 (densenet) comparing jax with pytorch 2.0

In https://uvadlc-notebooks.readthedocs.io/en/latest/tutorial_notebooks/JAX/tutorial5/Inception_ResNet_DenseNet.html
you claim jax is faster than pytorch 1. Is this still true using torch.compile from pytorch 2?

In first checks, PyTorch 2.0 is a bit faster than PyTorch 1, but doesn't reach the performance of JAX, e.g., on the Transformer models. I noticed that it can give quite some boost in inference, though. Still, PyTorch currently fails to compile the CNNs (some issue in the compilation, both locally and on Colab), so will wait until that is stable and then redo the speed comparisons.


Improving explanations

improving somewhat the explanations about controller rest

thanks for this pull-request, Mattheus.
I’ll read carefully until the weekend, and reach you back (:
On Mon, 9 Jul 2018 at 23:03 Mattheus Cassundé<EMAIL_ADDRESS>wrote:

improving somewhat the explanations about controller rest
You can view, comment on, or merge this pull request online at:
https://github.com/caelum/vraptor4/pull/1131
Commit Summary

added new informations about controller-rest-pt
changed controller-rest page

File Changes

M vraptor-site/content/en/docs/controllers-rest.html
https://github.com/caelum/vraptor4/pull/1131/files#diff-0 (158)
M vraptor-site/content/pt/docs/controllers-rest.html
https://github.com/caelum/vraptor4/pull/1131/files#diff-1 (156)

Patch Links:

https://github.com/caelum/vraptor4/pull/1131.patch
https://github.com/caelum/vraptor4/pull/1131.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/caelum/vraptor4/pull/1131, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABdUvVxp92IrdcINkbReGnrglrRQ4I8qks5uFAuMgaJpZM4VIpT1
.

OK, i keep waiting... It's my first contribution. ;)

merged! congrats on your first contribution (;

Thank you,  let's create some guides? very objectives and simple

sure! any contribution will be very welcome


Updated gyp

This is necessary to support newer compiler (in my case VS2015).
I simply copied the upstream source to the gyp folder but I've excluded the gyp/test folder from the commit.

@nethip @jasonsanjose
I know this will be PITA to review but would be awesome if someone could take a look.
If you think that updating gyp is better done by someone of the Brackets team let me know.
Thank you.

Builds fine on OSX for me. @ficristo are you on Windows? Anybody here to build and smoke test the Linux build? I can do it in the evening, if nobody is available.

@ingorichter I've tested on Windows 7.

Finally I was able to set a VM with Linux.
@nethip @ingorichter Which branch should I test for Linux?

Currently Linux builds are getting spawned from linux-1547

I tested on that branch with an updated gyp and seems to works.
I needed only to remove python2 from this command gypCommand = "bash -c 'python2 gyp/gyp --depth=.'"; in tasks/setup.js.

With the last commit I can create the project on linux too.

@nethip @ingorichter
Now that version 1.7 has been released, is there any chance that you can review my PRs?

LGTM. I would build this branch on VS2010 as well before merging in.
Good job @ficristo . Quite a no of changes actually!

@ficristo I am getting following errors when I am building using VS2013.
2>appshell\appshell_extensions_win.cpp(429): error C2220: warning treated as error - no 'object' file generated
2>appshell\appshell_extensions_win.cpp(429): warning C4996: 'GetVersionExW': was declared deprecated
2>          C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(442) : see declaration of 'GetVersionExW'
2>  resource_util_win.cpp
2>  cef_dark_aero_window.cpp
2>  cef_dark_window.cpp
2>  cef_host_window.cpp
2>appshell\cef_dark_aero_window.cpp(60): error C2220: warning treated as error - no 'object' file generated
2>appshell\cef_dark_aero_window.cpp(60): warning C4996: 'GetVersionExW': was declared deprecated
2>          C:\Program Files (x86)\Windows Kits\8.1\Include\um\sysinfoapi.h(442) : see declaration of 'GetVersionExW'

The GetVersionExW warnings should be fixed by: https://github.com/adobe/brackets-shell/pull/549

Thanks @ficristo

@ficristo After merging your PRs I am getting following linker errors, upon building master.
2>appshell_extensions_win.obj : error LNK2019: unresolved external symbol __imp__IsTextUnicode@12 referenced in function "bool __cdecl GetBufferAsUTF8(struct UTFValidationState &)" (?GetBufferAsUTF8@@YA_NAAUUTFValidationState@@@Z)
2>appshell_extensions_win.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl GetPathToLiveBrowser(void)" (?GetPathToLiveBrowser@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ)
2>cef_registry.obj : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
2>appshell_extensions_win.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExW@20 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl GetPathToLiveBrowser(void)" (?GetPathToLiveBrowser@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ)
2>cef_registry.obj : error LNK2001: unresolved external symbol __imp__RegOpenKeyExW@20
2>appshell_extensions_win.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExW@24 referenced in function "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl GetPathToLiveBrowser(void)" (?GetPathToLiveBrowser@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ)
2>cef_registry.obj : error LNK2001: unresolved external symbol __imp__RegQueryValueExW@24
2>cef_registry.obj : error LNK2019: unresolved external symbol __imp__RegCreateKeyExW@36 referenced in function "bool __cdecl WriteRegistryInt(wchar_t const *,wchar_t const *,int)" (?WriteRegistryInt@@YA_NPB_W0H@Z)
2>cef_registry.obj : error LNK2019: unresolved external symbol __imp__RegSetValueExW@24 referenced in function "bool __cdecl WriteRegistryInt(wchar_t const *,wchar_t const *,int)" (?WriteRegistryInt@@YA_NPB_W0H@Z)
2>Release\Brackets.exe : fatal error LNK1120: 6 unresolved externals

I am on VS 2013.

@nethip what VS version does the build machine use? Do we have a followup issue that addresses the build failure?

@ingorichter Build machine is configured with VS2010. I think we need to build this on VS 2010 and see if works. I can ask RE to fire a build to check if it is building fine.
VS 2015 build is going fine actually. It is just VS2013 that is failing.

@nethip perhaps we should update the build machines to use VS2015. Which Xcode version do we use on the build machines? 7.3?

@ingorichter Sure! We need to inform then RE about it. Mac build machine is configured with 10.9 and XCode 5.0. I think upgrading to VS 2015 is a lot easier. For Mac, the entire system needs to be upgraded. I will ping RE about it.
Regarding the build failure. Really weird! If I manually add advapi32.lib to linker settings in VS 2013, it builds fine.

@ingorichter @ficristo I have raised a PR for this at https://github.com/adobe/brackets-shell/pull/560 let me know if it looks good.


Standalone RAW Conversion in Linux

Hi all!
My name is Antonio. I came across this tool forwarded by Marc Vaudel in this google group entry https://groups.google.com/forum/#!topic/peptide-shaker/Lqe7lYKLcHI (from Peptide Shaker). I think it's great. I am also surprised that you can support the analysis of RAW files as input within a Linux environment, as msconvert from ProteoWizard only supports that in Windows. I can see you make use of an executable called "txic_json.exe", which you call using mono https://github.com/compomics/moFF/blob/master/moff.py.
Would it be possible to extract this conversion functionality as a script by itself, so that RAW files can be converted to mzML or mgf in Linux?
Thank you very much for your help in advance!
Best regards
Antonio

Hi Antonio,
Thanks for using moFF. I hope to release soon  a new version with some intersting filtering option for the matched peaks.
Rearding your question,  I will directly link you to our Thermo Raw parser   a C# program that does the convertion Raw -->  mgf.  The convertion to mzML it should be available soon.  For any question you can contact  @nielshulstaert  he is the developer of our Thermo Raw parser.


read more careful

@rultor release, tag is 0.10.8

@rultor release, tag is 0.10.8

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.10.8

@yegor256 Done! FYI, the full log is here (took me 1min)


empty string answers

this skill is not accounting for empty string responses, it should not unconditionally return True

Thanks, I was sure I added this when you suggested it earlier. Thanks!


Bing Layers Fails Silently

I've found that if using an invalid key for Bing Layers, L.BingLayer will fail silently.
Perhaps the constructor should throw an error if Bing metadata returns with "InvalidCredentials".
I'd be happy to submit a PR if this is something people would be interested in.

Good suggestion.

@arahansen nice, feel free to provide a PR for that :)

@arahansen any news about your patch ?

Merged & published version 1.5.3, thx :)


Merge pull request #405 from opendatalab/alpha

Update package version

:tada: This PR is included in version 1.0.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.2-alpha.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.1.0-online.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.2-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:


Maintenance Plan - Execute SQL Task

I was hoping to find out what windows process this runs under when executed.  Having to adjust some security products to allow the proper execution of this.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3c2d34fe-f942-d98c-23e7-780358f969d3
Version Independent ID: 6d26636a-c4f7-e2dc-b965-8327303ed8ae
Content: Execute T-SQL Statement Task (Maintenance Plan) - SQL Server
Content Source: docs/relational-databases/maintenance-plans/execute-t-sql-statement-task-maintenance-plan.md
Product: sql
Technology: supportability
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@Bill-Mentzer -- Bill, thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@MikeRayMSFT -- Mike, please look into this issue.

@Bill-Mentzer It's under dtexec.exe.  A maintenance plan is essentially an SSIS package (if you look in the Agent job that gets created for the plan, within the step, you'll see that), and dtexec is what runs SSIS packages.

#please-close


Can we track deforestation in the Amazon river basin in near real-time and create a web-map?

Two upper classmen undergraduate students are tired of doing class projects that serve only to appease their professors. They want to build an educational and interactive web-map that will track deforestation in the Amazon river basin in near real-time to raise awareness among laypeople about this social and environmental issue.
They need the following: a continuous source of data that can detect deforestation; automated ways of pulling and processing the data; a tool that supports web-mapping.

Problem : Need right data sources for collection.


Feature/san akel/aoil v2.0 dev

Updates in module atmOcnIntlayer :
resolve https://github.com/GEOS-ESM/GEOSgcm_GridComp/issues/356

@tclune, I recall you said something about the change log. But I don't know what to add ... even in a PR?
If yourself or @mathomp4 give some clues, I will fill in what is needed.
Thank you!

I have added e template ChangeLog.md to the PR so satisfy our new requirement.     Would not hurt if @sanAkel could edit to add content.

@sanAkel I think @tclune and I figured this out. You hadn't updated/merged in the latest main into your branch, and thus it didn't have the CHANGELOG.md that was added after you branched off.
But, the branch was updated by GitHub (clicked a button) and your branch should now have a CHANGELOG.md file. That is what requires an edit.

@sanAkel I think @tclune and I figured this out. You hadn't updated/merged in the latest main into your branch, and thus it didn't have the CHANGELOG.md that was added after you branched off.
But, the branch was updated by GitHub (clicked a button) and your branch should now have a CHANGELOG.md file. That is what requires an edit.

Updated CHANGELOG.md Thanks!


#69 updated resulting pom to Java 8

Raised to resolve #69
Updated the Maven Compiler Plugin config to use Java 1.8 as source and target. Adjusted the configurations of the Maven Enforcer Plugin and the Maven Idea Plugin accordingly.
I ran into some trouble compiling the archetype project. It would refuse to run the install goal during the integration tests (happens on the master branch too, not sure why). Clearing the contents of the archetype.properties file allowed me to build it and generate a project manually. The generated project seemed to have the right values in the pom and builds cleanly on a mvn clean install.
Let's see if Travis builds it alright. Could be an environment problem on my side.

$ jdk_switcher use openjdk7
Switching to OpenJDK7 (java-1.7.0-openjdk-amd64), JAVA_HOME will be set to /usr/lib/jvm/java-7-openjdk-amd64
cache.1
Setting up build cache
$ export CASHER_DIR=$HOME/.casher
0.02s$ Installing caching utilities
0.00s
0.59sattempting to download cache archive
fetching PR.71/cache-linux-precise-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-openjdk7.tgz
fetching PR.71/cache--jdk-openjdk7.tgz
fetching master/cache-linux-precise-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-openjdk7.tgz
fetching master/cache--jdk-openjdk7.tgz
could not download cache
0.00s
0.41sadding /home/travis/.m2 to cache
$ java -Xmx32m -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
$ javac -J-Xmx32m -version
javac 1.7.0_75
install
0.00s$ true
81.92s$ mvn verify

@rombert your Travis configuration seems to be running JDK 1.7, can you update it?

@rombert never mind. I noticed the config file in the repo and managed to get it to pass CI.

Applied in ebbf7e5818cc5eb1da50a7ef8c7bdec46582720e, thanks for the contribution!


Add a quick start for GreptimeCloud

Already have quick start documents for GreptimeCloud.
Maybe designing better user interactions is more important.


[Enhancement] Make sliders convertible into Input Widgets

Sliders are nice, but often there is necessity to inject external values for automated workflows
Thanks

PR #5 addresses this by removing the sliders. you can pull that and experiment away! I also PR's a name change for the node so it would be easier to find in #6

PR #5 addresses this by removing the sliders. you can pull that and experiment away! I also PR's a name change for the node so it would be easier to find in #6

All merged! Thx!


fix for errors in LCL files

This fixes errors made while correcting merge conflicts, it removes duplicate ids in sql.xlf files and fixes a missing ">" in agent.xlf for German (This is required to get localization working)

They were caused by me manually reviewing the lego check-in (they were open for over a week and this would prevent me from creating the lang pack), apparently the merge did not see that those strings were localized and thought they were new strings. Regardless from now on, maybe I should let you know about the changes made to the check in file before merging.

It would be worth investigating a hygiene-type check like we do with the indentation/copyright stuff for the code files that runs during a PR and parses these files to verify things such as them being valid XML and not having duplicate keys.
https://github.com/microsoft/azuredatastudio/blob/release/extensions/scripts/validateGalleries.js is an example of a similar type of thing I added for the gallery files.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.759%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26229

Relevant Lines:
55688

💛  - Coveralls


Fixes issue for inline ES6 export * imports

When supplying --modules=inline --outputLanguage=es6 to the cli, any
imported export * from ... statements were referencing the es5
$traceurRuntime.exportStar function.
closes #1842

@arv i've generated the loop inline using gensym as requested. PTAL

@johnjbarton Can you take a look? I'm out for two weeks.

Yes, I will look on Sunday.

Can we add a test case that fails before and succeeds after this fix?  The code itself looks good.

@johnjbarton I finally figured out how to test export * statements using code generation. PTAL at the new unit test I've added.

@johnjbarton I've got the test to pass without having to convert the expected code output in to a tree and back again. I've also wrapped the long line when creating the InlineES6ModuleTransformer. PTAL

LGTM I'll merge it, Thanks!

I merged this.
@pflannery Sorry about forgetting this.


mic = AKMicrophone() throws error

I have MacOS 10.14.1, Xcode 10.0, and the latest version of AudioKit. I was trying out the microphone analysis (https://audiokit.io/examples/MicrophoneAnalysis/) but I keep on getting an error. I used breakpoints and found that the error is on the line mic = AKMicrophone()
My full error is below:
2018-11-12 08:33:12.710625-0500 iOSTuner[2068:118072] [avae] AVAEInternal.h:70:_AVAE_Check: required condition is false: [AVAudioIONodeImpl.mm:911:SetOutputFormat: (format.sampleRate == hwFormat.sampleRate)] 2018-11-12 08:33:12.717135-0500 iOSTuner[2068:118072] *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate' *** First throw call stack: ( 	0   CoreFoundation                      0x0000000106b1429b __exceptionPreprocess + 331 	1   libobjc.A.dylib                     0x0000000105517735 objc_exception_throw + 48 	2   CoreFoundation                      0x0000000106b14022 +[NSException raise:format:arguments:] + 98 	3   AVFAudio                            0x0000000109b4389c _Z19AVAE_RaiseExceptionP8NSStringz + 156 	4   AVFAudio                            0x0000000109b8095b _Z11_AVAE_CheckPKciS0_S0_b + 323 	5   AVFAudio                            0x0000000109bbd207 _ZN17AVAudioIONodeImpl15SetOutputFormatEmP13AVAudioFormat + 349 	6   AVFAudio                            0x0000000109b547eb _ZN18AVAudioEngineGraph8_ConnectEP19AVAudioNodeImplBaseS1_jjP13AVAudioFormat + 1653 	7   AVFAudio                            0x0000000109bc4f3a _ZN17AVAudioEngineImpl7ConnectEP11AVAudioNodeS1_mmP13AVAudioFormat + 194 	8   AVFAudio                            0x0000000109bc4fa1 -[AVAudioEngine connect:to:format:] + 83 	9   iOSTuner                            0x00000001046b2fe4 $S8AudioKit12AKMicrophoneCACycfc + 916 	10  iOSTuner                            0x00000001046b305f $S8AudioKit12AKMicrophoneCACycfcTo + 15 	11  iOSTuner                            0x00000001044827ff $S8iOSTuner14ViewControllerC11viewDidLoadyyF + 175 	12  iOSTuner                            0x0000000104482a24 $S8iOSTuner14ViewControllerC11viewDidLoadyyFTo + 36 	13  UIKitCore                           0x0000000111074781 -[UIViewController loadViewIfRequired] + 1186 	14  UIKitCore                           0x0000000111074be0 -[UIViewController view] + 27 	15  UIKitCore                           0x0000000111155ee3 -[UIWindow addRootViewControllerViewIfPossible] + 122 	16  UIKitCore                           0x00000001111565fe -[UIWindow _setHidden:forced:] + 294 	17  UIKitCore                           0x000000011116982d -[UIWindow makeKeyAndVisible] + 42 	18  UIKitCore                           0x000000011093f12c -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4595 	19  UIKitCore                           0x0000000110944527 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1623 	20  UIKitCore                           0x00000001111e6e3e __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866 	21  UIKitCore                           0x00000001111e3403 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153 	22  UIKitCore                           0x00000001111e6a7b -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233 	23  UIKitCore                           0x00000001111e7435 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085 	24  UIKitCore                           0x00000001111a4b31 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795 	25  UIKitCore                           0x00000001111a47db -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435 	26  UIKitCore                           0x00000001111e992c __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584 	27  UIKitCore                           0x00000001111ea256 _performActionsWithDelayForTransitionContext + 100 	28  UIKitCore                           0x00000001111e968b -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221 	29  UIKitCore                           0x00000001111e2aa1 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392 	30  UIKitCore                           0x0000000110942d46 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515 	31  UIKitCore                           0x0000000110974856 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357 	32  FrontBoardServices                  0x00000001100dcdda -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448 	33  FrontBoardServices                  0x00000001100e7f43 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271 	34  FrontBoardServices                  0x00000001100e763a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53 	35  libdispatch.dylib                   0x0000000107e1e63e _dispatch_client_callout + 8 	36  libdispatch.dylib                   0x0000000107e21bb4 _dispatch_block_invoke_direct + 301 	37  FrontBoardServices                  0x000000011011c3c8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30 	38  FrontBoardServices                  0x000000011011c080 -[FBSSerialQueue _performNext] + 457 	39  FrontBoardServices                  0x000000011011c660 -[FBSSerialQueue _performNextFromRunLoopSource] + 45 	40  CoreFoundation                      0x0000000106a77b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 	41  CoreFoundation                      0x0000000106a773a3 __CFRunLoopDoSources0 + 243 	42  CoreFoundation                      0x0000000106a71a4f __CFRunLoopRun + 1263 	43  CoreFoundation                      0x0000000106a71221 CFRunLoopRunSpecific + 625 	44  GraphicsServices                    0x000000010bce51dd GSEventRunModal + 62 	45  UIKitCore                           0x0000000110946115 UIApplicationMain + 140 	46  iOSTuner                            0x00000001044846f7 main + 71 	47  libdyld.dylib                       0x0000000107e94551 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
My code is as follows:
`//
//  ViewController.swift
//  iOSTuner
//
//  Created by Jerry Qian on 11/3/18.
//  Copyright © 2018 Jerry Qian. All rights reserved.
//
import UIKit
import AudioKit
class ViewController: UIViewController {
@IBOutlet weak var frequencyLabel: UILabel!

var mic: AKMicrophone!
var tracker: AKFrequencyTracker!
var silence: AKBooster!

override func viewDidLoad() {
    super.viewDidLoad()

    AKSettings.audioInputEnabled = true
    mic = AKMicrophone()
    tracker = AKFrequencyTracker(mic)
    silence = AKBooster(tracker, gain: 0)

}

override func viewDidAppear(_ animated: Bool) {
    super.viewDidAppear(animated)

    AudioKit.output = silence
    do {
        try AudioKit.start()
    } catch {
        AKLog("AudioKit did not start!")
    }

    Timer.scheduledTimer(timeInterval: 0.1,
                         target: self,
                         selector: #selector(ViewController.updateUI),
                         userInfo: nil,
                         repeats: true)

}

@objc func updateUI() {
    frequencyLabel.text = String(format: "%0.1f", tracker.frequency)
}

}`
I don't know what to do, and how to fix it. Any help would be appreciated.

Its probably just a problem with your Mac's microphone set to 48K inside audio midi setup.  We're working to make the mic's sample rate unimportant to AudioKit, but changing it back to 44.1K should make this go away.

I am actually experiencing this same crash on the simulator. I have attached my internal mic's settings:

What about the simulator's hardware settings?

It crashes no matter what I select in the simulator hardware settings.

@mnearents I did faced similar stuff and tried your settings, did not worked.
I then connected a microphone, it worked.

I have the same question


Fixes and updates

hi @shahednasser,
I have created several functions on this PR.
The main goal is to allow more freedom when deploying locally using markdown files. The functions could be extended to other parts of the code yet I wanted to keep it simple to make a point that we probably do not need to rely on selectors
crosspost run  -l
This command goes to a remote location where the blog is already posted. It grabs the HTML and will apply some algorithms to determine the main content div (instead of the --selector approach). It will then merge the src images with the markdown .
i.e whatever => [whatever](https://localcanonicalurl.com/doggoimage.png
The approach is to use text density and specific text tags and try to match the common nearest selector between these.
I have also added a cross configuration between OS in this repo in order to prevent conflict between two different environments (CRLF vs. LF). I use Windows and you probably use macOS.
I have added JSDOC style docs to the function the way you used across the files.  It is worth noting that  I code a little bit differently than this current codebase. If you need me to change anything please let me know.
I have also added a few fixes that were breaking the cli, fixed some eslint complaining and all.  Hope it is okay. Thanks again.
Anything let me know. 👍

@shahednasser Yeah sure. I will add a line to a README.md


Find new home for status-bot

The status bot is currently running on my Raspberry Pi at home, it would be preferable to move it somewhere else, like a public cloud provider.
@harsha5500 Maybe it could run on your Linode instance? Has to be outside kthcloud as otherwise it would go down with it and wouldn't be able to report outages

Sure! I can host it. I will create a user for the cloud and share the ip address for a DNS entry

Sure! I can host it. I will create a user for the cloud and share the ip address for a DNS entry

The status bot doesn't need any access from the outside, it's just pinging and posting to Mastodon and Bluesky, so should be fine!
I have a small shell script which I put in my copy of the status-bot repo on my laptop:
rm -rf __pycache__
scp -P <pi_port> * <pi_host>:/home/pi/kthcloud-status
ssh <pi_host> docker compose -f /home/pi/kthcloud-status/compose.yml up -d --build

Could probably be a cron job fetching github but it was more work 😅

Sure. We can create the script and host it today.


Update os-lib to 0.7.5

Updates com.lihaoyi:os-lib from 0.7.4 to 0.7.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "os-lib" } ]

labels: library-update, semver-patch

+1


UMP UserMessagingPlatform bindings

Android and iOS bindings of the UMP User Messaging Platform SDK for Obtaining Consent with the User Messaging Platform.
EU GDPR
Links / References

https://maven.google.com/web/index.html#com.google.android.ump:user-messaging-platform

https://developers.google.com/admob/ump/ios/download

https://developers.google.com/admob/ump/ios/quick-start

Requested by user (opened issue):
https://github.com/xamarin/XamarinComponents/issues/931

@moljac could you please complete this PR?

@motoko89 Doing my best...

@motoko89
https://www.nuget.org/packages/Xamarin.Google.UserlMessagingPlatform/1.0.0-preview01

I'm not sure how the project structure or the build process is supposed to work for this repo, but I created working bindings for iOS that you are free to use (it's almost exactly the initial objective sharpie output).
https://gist.github.com/GalaxiaGuy/2789acacf494131bc9113f6aee699dd2

@GalaxiaGuy I will try to add it soon

@moljac thank you. Google has published version 1.2.0. Is it possible to pump the version?

@motoko89
https://maven.google.com/web/index.html?q=user-messaging-platform#com.google.android.ump
I don't see 1.2.0

Thanks for your effort and dedication @moljac , are there plans to publish an sample using the nuget in the future?

@nacompllo
I was maintaining AndroidX (Android.Support earlier), GPS-FB and some bindings in XamarinComponents. Please check how many artifacts is that. I simply did not have time to raise my head and do the samples. Though I planned, but that "Day that never comes"(Metallica).
Even worse - I am being moved to new team, so these repos look like will be community driven.

@nacompllo
I've just published cross-platform wrapper (my first dive into multi-targeting) that might be some help:
https://github.com/GalaxiaGuy/GoogleUserMessagingPlatform
I'm currently testing it in an app and everything seems to work fine (after all, there is very little public API so the is not much to the bindings).

@moljac I'm trying to upgrade MobileAds to 7.65.0 but I couldn't get it to work. My app builds but it crashes on boot.
Dyld Error Message:
dyld: Using shared cache: 34E69493-D39D-3CA4-B185-0256E87B00AB
Library not loaded: @rpath/FBLPromises.framework/FBLPromises
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/F5646E29-9774-4CAD-BE04-AE2D3BA6CE54/data/Containers/Bundle/Application/040CC7F3-913A-4713-BC07-2E1B1D8E6902/App.iOS.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
Reason: image not found
I thought this file https://github.com/xamarin/GoogleApisForiOSComponents/blob/master/components.cake follow cocoapods podspec but it somehow doesn't match, even the 7.57.0 podspec doesn't match with what's in the .cake file. Do you know how this file is updated?
The pod also says it needs PromisesObjC and doesn't mention Protobuf but the .cake file and the .csproj is the other way . I tried to build FBLPromises into Static Library too but that also doesn't work.
Maybe @SotoiGhost know?

@GalaxiaGuy Do you have sharpie commandline so I can add it? Please

The exact command I ran was:
sharpie bind -output Binding -sdk iphoneos14.0 -namespace GoogleUserMessagingPlatform -framework GoogleUserMessagingPlatform/Frameworks/Release/UserMessagingPlatform.framework
I think in this case it should probably be something like
sharpie bind -output iOS/source -sdk iphoneos14.0 -namespace GoogleUserMessagingPlatform -framework externals/ios/Pods/GoogleUserMessagingPlatform/Frameworks/Release/UserMessagingPlatform.framework
After running that I did have to tweak the ApiDefinitions.cs file to move the constants into a single class.

@moljac,
Is the name of the Android nuget package correct? It seems to have a stray l between User and Messaging.

Is the name of the Android nuget package correct?

No it is not. Typo. Assembly name and nuget

It seems to have a stray l between User and Messaging.

Right. Seems too much German that night. Proboably diminutive in German 8-P
Now I need to find someone who can delist packages.
OK. Will fix ASAP


Web content discovery lists - inconsistent leading slashes

The issue originally discussed in #760 got unmerged somehow. Git force push maybe? either way, the web wordlists inconsistently set leading slashes, which makes using them annoying.
I'll create another pull request that mimics the changes which went missing shortly.

Original pull request was #791


Three view for collections

Would be cool if nested content could be shown as a three.
Becouse now it is just a list:

Converting this to an idea in discussions — not sure how feasible it is at the moment, but that would definitely make a lot of sense for collections with a lot of nested content 🤙


Installation instructions on the k3s home page result in an error

Environmental Info:
K3s Version:

k3s version v1.24.6+k3s1 (a8e0c66d)
go version go1.18.6
Node(s) CPU architecture, OS, and Version:

Linux k3test 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
Cluster Configuration:

1 server
Describe the bug:

Running the installation instructions presented on the https://k3s.io/ page returns an error at the end. The instructions state:
"This won't take long..."
curl -sfL https://get.k3s.io | sh -
# Check for Ready node, takes ~30 seconds
k3s kubectl get node

Steps To Reproduce:

Run the following commands:
curl -sfL https://get.k3s.io | sh -
# Check for Ready node, takes ~30 seconds
k3s kubectl get node

Expected behavior:

I expected output (or none) from the k3s command without an error message.
Actual behavior:

Running the k3s kubectl get node command outputs the following:
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied

Additional context / logs:

Full output below from a new Debian 11 virtual machine.
mperry@k3test:~$ curl -sfL https://get.k3s.io | sh -
[INFO]  Finding release for channel stable
[INFO]  Using v1.24.6+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.24.6+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.24.6+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating /usr/local/bin/ctr symlink to k3s
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
mperry@k3test:~$ k3s kubectl get node
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
mperry@k3test:~$

It is expected that you would install k3s as root, or make the kubeconfig file readable using the --write-kubeconfig-mode flag. Other options are covered here:
https://docs.k3s.io/cluster-access and at https://docs.k3s.io/installation/configuration

I think it would be helpful to add sudo before the two commands on the home page and/or state the root expectation explicitly. That way the two-line example on the home page works as expected.
I'm completely new to this program and Kubernetes, so when the install script worked when run under my user account, I thought everything was installed and working properly.
I would have found it helpful if the program exited with a message if it wasn't run as root and left me to try again as the root user. That way there would be no misunderstanding on my part.

Closing as complete https://github.com/k3s-io/k3s-io.github.io/pull/9


[WIP] Update insert/upload images flow in editor

What does this PR?
This PR is WIP.
Added image upload placeholder in editor for single image while image is uploading in gallery modal in background. In this way user can keep working in editor and image url auto updates when image upload is successful.
Tasks List:

[ ] Add support for multiple images insertion
[ ] Update image upload gallery modal to show upload progress bar for each uploaded image
[ ] Update image upload gallery modal to show failure/reupload status for failed image

Issue number
fixes #2430
Screenshots/Video
https://user-images.githubusercontent.com/48380998/185762381-715b1334-ebe1-4d52-a29c-1c612637f0b9.mp4

@aliseyalvi suggestion: instead of tracking the selection, pe

rhaps try tracking text inside braces.. for instance in ![](Uploading img_0006.heic...) keep track of Uploading img_0006.heic... text and upon upload complete, replace text with url. In case of failure to find and replace, warn user to add manually from Uploaded images


[Question] How do you access the methods from another plugin

Say you have the FE economy plugin and want to access its api, how would you go about this?
I was trying to access the getAccounts function in FE's api, I have already tried:
org.melonbrew.fe.APi.getAccounts()

var fe = new org.melonbrew.fe.API();
fe.getAccounts();

Ive also tried many combinations using the importPackage and JavaImporter with no success. So any help you could provide would be really appreciated.
FYI: I've also been trying to access stuff from another plugin called commandhelper, no success from either.

It's been a while since I've done plugin devving, but IIRC, you need to get the plugin via the PluginManager, and then (according to the Fe plugin), get the API.

org.bukkit.Bukkit.getPluginManager().getPlugin( 'FE' );
I was messing with this earlier but never got it working

I think the plugin names are case-sensitive. The Fe plugin identifies itself as Fe.

o sorry i had it right in my code but not here.

Instead of doing the whole org.bukkit.Bukkit dance, try doing server.getPluginManager.getPlugin().
And of course, if that still doesn't work, tell us what error you're getting in here.

well i think im getting the plugin but at that point what am i suppost to do now?

Well, you wanted to get to the API and use the call, right?
I mentioned before that if you want to use the plugin's API, you have to call getAPI() on the plugin, and then do whatever you wanted to do with it (e.g. getAccounts()).

\o/
Now just how to use this with commandhelper too..
Thank you for your help!

Be sure to close the issue.


Unable to create Topic with legal characters in the name like .

What happened?
I attempted to create a pubsub topic name with a legal character in it.
and when attempting to reconcile I receive this error:
  - lastTransitionTime: "2023-09-29T12:59:46Z"
    message: 'observe failed: cannot run refresh: refresh failed: Invalid resource
      name: A name must start with a letter or underscore and may contain only letters,
      digits, underscores, and dashes.'
    reason: ReconcileError
    status: "False"
    type: Synced

How can we reproduce it?
create a test topic with . in the name
apiVersion: pubsub.gcp.upbound.io/v1beta1
kind: Topic
metadata:
  name: topic.name
spec:
  forProvider: {}
  providerConfigRef:
    name: providerconfig

Here' is the resource naming rules for pubsub topics:
https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names
What environment did it happen in?

Crossplane Version: 1.13.2
Provider Version: v0.36.0
Kubernetes Version: v1.27.3
Kubernetes Distribution: GKE

Could you please try to use crossplane.io/external-name: https://docs.crossplane.io/v1.13/concepts/managed-resources/#naming-external-resources

@turkenf Yes this works for me as a work around.
Is the metadata.name naming rules global  to crossplane?
I still expect a one to one matching of naming rules between crossplane/provider and the external resource.
adding the annotation adds a nice workaround, but it makes building the resource yaml a little more complicated.

Is the metadata.name naming rules global to crossplane?

Yes.

I still expect a one to one matching of naming rules between crossplane/provider and the external resource.

It is not possible to apply this all cloud resources because some resources are named by the Cloud provider, e.g. vpc.

adding the annotation adds a nice workaround, but it makes building the resource yaml a little more complicated.

Actually this specific one with . is a bug in upjet: https://github.com/upbound/upjet/issues/143.
I am closing this issue, feel free to comment on the relevant issue.


Expose second cli entrypoint to allow exposing subgit as a sub command to plain git

Based on the following blog post, we are able to create custom git commands that the git tool itself can pick up and use. We want to implement this for subgit as well. This will help to bridge the useability as more people know about git and using things like git submodules that we basically want to extend. https://gitbetter.substack.com/p/automate-repetitive-tasks-with-custom
The task is to extend setup.py to include a new entrypoint script that will be named and to be compatible with this git-subcommand feature. Build a package of subgit and test this feature out so that we could possibly call something like git subgit pull for instance
One major issue with this ticket that needs a solution is the redundancy in our name when added to the end of git command. writing git 2 times to run out commands is verbose and redundant. We need to have suggestions or alterations to our name to make this simpler. For instance we could go with git sub or git module or git sg or something completley different. It is within the task to come up with some suggestion, present them to the team and to get an approval and a choice for this command name that we will move forward with.

Solved in e75809e7342a9e06859557a1ed84dfad050bf004 and 80e2337a0946db4c550d3f9800da94b3bafd8af8 which is in release 0.5.1.


Custom formatter

Is there a way to implement a custom formatter?
thanks!

No :) Feel free to open PR to implement that

@piotr-oles v4 had customer formatter https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/tree/v4.1.6 - how come this was removed in v6?

I did a rewrite of the plugin and didn't re-implement this feature :)

I ended up extending the plugin class and adding tapping a hook to print the message I wanted. I don't mind trying a PR if you point me in the right direction (where to change, etc).

Most of the code responsible for formatting is in the src/formatter directory.
You would have to extend formatter options to accept custom function:
// FormatterFactory.ts
type NotConfigurableFormatterType = undefined | 'basic';
type ConfigurableFormatterType = 'codeframe';
+ type CustomFormatterType = Formatter;
- type FormatterType = NotConfigurableFormatterType | ConfigurableFormatterType;
+ type FormatterType = NotConfigurableFormatterType | ConfigurableFormatterType | CustomFormatterType;
// ....
function createFormatter(type?: FormatterType, options?: object): Formatter {
+  // custom formatter type
+  if (typeof type === 'function') {
+    return type;
+  }

  switch (type) {
    case 'basic':
    case undefined:
      return createBasicFormatter();

    case 'codeframe':
      return createCodeFrameFormatter(options);

    default:
      throw new Error(`Unknown "${type}" formatter. Available types are: basic, codeframe.`);
  }
}

There are also other places to update (like options.json, FormatterConfiguration.ts, FormatterOptions.ts).
Then I would like to ask you to write also E2E test. You can modify an existing one or add a new one. Let me know if you need more guidance. :)

Im looking forward to this feature :D. I will give you a hand if needed.

:tada: This issue has been resolved in version 6.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 7.0.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Null Geodesics for Kerr & Schwarzschild Geometry

🐞 What bugs you?
Null-geodesics is the path traced by light rays in 4-D space-time. We aim to calculate null geodesics around non-rotating (Schwarzschild) and rotating (Kerr) massive bodies given the initial conditions.
This feature would support the one of the celebrated phenomenons in GR, gravitational lensing.
🎯 Goal

Null geodesic in Kerr/Schwarzschild space-time
Plotting class for both Kerr and Schwarzschild null geodesics.

💡 Possible solutions
Papers for references :

https://arxiv.org/abs/1601.02063
https://www.aanda.org/articles/aa/abs/2004/36/aa0814/aa0814.html
http://www.math.mcgill.ca/gantumur/math599w17/project-kerr.pdf

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

Some freely available repos related to the issue :

https://github.com/grtrace/grtrace
https://github.com/Varcho/GeneralRelativity

Units c=1,G=1 handling table https://en.wikipedia.org/wiki/Geometrized_unit_system

Don't know if this would help https://github.com/martinberoiz/BHBattle, but it says it uses Kerr Null-geodesic generator.

Related repo : https://github.com/rantonels/starless

A related paper : https://iopscience.iop.org/article/10.1088/0067-0049/207/1/6

https://iopscience.iop.org/article/10.1088/0004-637X/696/2/1616

YNOGK
Paper: https://arxiv.org/pdf/1305.1250.pdf
Code : http://www1.ynao.ac.cn/~yangxl/yxl.html

Hey, i am coming from gsoc page, I'm am from electronics engineering background, with decent coding skills, does this problem idea require extensive physics knowledge?

Willingness to immerse yourself in physics during the community bonding period and first 1-2 weeks would do :)
Regards,
Ritwik

On 22-Feb-2020, at 2:20 PM, Vedant Paranjape<EMAIL_ADDRESS>wrote:

Hey, i am coming from gsoc page, I'm am from electronics engineering background, with decent coding skills, does this problem idea require extensive physics knowledge?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I love physics and maths, i had 70 in maths and physics each in JEEA 2018(Is this irrelevant?).
From coding aspect which tools will i use, i have decent experience in C++ and python !
Regards,
Vedant

Hi @VedantParanjape , Can you please join the chatroom? We can have a detailed description over there!

Yeah okay

As the project is touching the concept of Gravitational lensing , i guess what if we could add an addon feature of determining the existence of dark matter substructure , from gravitational lensing simulations , we could prove the existence of dark matter from it? #newfeature

As the project is touching the concept of Gravitational lensing , i guess what if we could add an addon feature of determining the existence of dark matter substructure , from gravitational lensing simulations , we could prove the existence of dark matter from it? #newfeature

As the project is touching the concept of Gravitational lensing , i guess what if we could add an addon feature of determining the existence of dark matter substructure , from gravitational lensing simulations , we could prove the existence of dark matter from it? #newfeature

As discussed over chats, a detailed (new) issue with relevant links and references(especially pre-existing codes or published research papers) would be highly appreciated. The description here is quite vague. Hope you would understand :)

Actually it is just an idea , so it will require some time to collect detailed info , papers and relevant code for it , if i get it i will surely share it. @ritzvik

This is the main issue for the GSoC 2020 project on Null Geodesics, isn't it?
Now, as far as I understand it, the two main papers noted above are the main codes available presently for generating the Null Geodesics for BH geometries. One is written in C and the other FORTRAN. I understand that the attempt is to reproduce the similar code written in python. One can of course simply translate the codes to python, however, unique features of this language like OOPs are gotta be utilised. So, one class each for a Kerr and a Schwarzschild Geometry.
Generation of a geodesics involves solving some differential equations given the initial conditions. In the available codes, one does it using the the RK5 method while the other first transforms all the variables to be some function of a single parameter. Both of these things can be tried. All the other things mentioned can be started once the geodesics are obtained.
I would like to work on solving the six equations using RK5 or ADI method; by writing the code for it. Then this can be expanded for both of the cases, angular momentum J = 0 or otherwise. Later we can extend it to included other spacetime geometries as well. For instance, one useful extension will be to simulate (2D) how light bends around two colliding BHs, right after the inspiral phase and to see the changes as time progresses. The recent GW observation was of just such a collision taking place head on.
Has somebody initiated work in this direction? The issue dates from last year, surely there would be things completed. If so, can you direct where the progress done is detailed.

@Suyog7130 , as far as your understanding goes, you have gotten the problem and approaches quite correctly. Currently, no significant work has been done on this. I would advise you to start working on it, if and when you are selected for the GSoC

@ritzvik Sure Man.
However, I like the project very much.
It is open source, so anybody can contribute. And I would love to be part of the project.

@Suyog7130 , that's very much appreciated. After you go through the papers thoroughly, discussion could be done in the chatroom.

...Later we can extend it to included other spacetime geometries as well. For instance, one useful extension will be to simulate (2D) how light bends around two colliding BHs, right after the inspiral phase and to see the changes as time progresses. The recent GW observation was of just such a collision taking place head on.

Simulating a binary BH system is an intractable problem for now, because there is no known metric for such systems. But certainly, it is an interesting problem.


Generate 'models.dart' file in seperated mode

Generate a models.dart in seperated mode, like :
lib/modes/models.dart:
library models;
export 'books.dart';
export 'musics.dart';
export 'movies.dart';

It is convenient to import these models class from other locations.

Thanks for this 💙


Hexadecimal meaning

I found decition with "if()" that compare with Hexadecimal numbers. I know that number are recived by the Android. But what it these mean?
0xAA, 0xEF, 0xF1, 0xF2, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF, 0xEF, 0x0F

They are used to identify the type of command


Unexpected error on iPhone

Hello. I started to use the app at the morning and after 2-3 hours "Unexpected error" is strated to occuring constantly in messages (when I try to click "message" in any profile or open existing chat) and when i try to click "Like". Please help.

Hello,
I'm also experiencing the issue.
Whenever I do anything I get the "unexpected error" message and nothing happens.
I tried to delete cache and resintall the app, nothing worked.

Hello!
Let me tell you the story of someone who - this morning - pushed a very simple change in the code (a "- 1" somewhere, just not in the right place), and deployed it without running the tests because they were in a hurry, then proceeded to do a 8 hours walk outside (with the notifications turned off) because the weather was great.
This person was me and I'm really sorry, it should be fixed now. Thanks for you reports!


Netlify builds should wait until the parallel Prow job is finished

Request: Add logic to make Netlify jobs wait until Prow job is complete
Short description:
When there is a new push or PR, both Prow and Netlify jobs are triggered. Netlify jobs are quicker, and will pull the latest-job.txt before the Prow job has had time to update it. We need to have the Netlify job poll Prow to find out when the job is finished. Temporary mitigation could be to add a sleep $x to the Netlify jobs.

Current state:

Netlify jobs do not wait for the latest job to finish.

Desired state:

Netlify waits for the parallel Prow job to finish, and then pulls the latest-job.txt

Tasks:

[x] Implement sleep for temp fix
[ ] Research how to best poll for the Prow job progress
[ ] Implement logic to wait for Prow job

Roughly 19-21 minutes:
Postsubmit / Master branch: http://prow.cncf.ci/?repo=cncf%2Fapisnoop&type=postsubmit
PreSubmit / PRs: http://prow.cncf.ci/?repo=cncf%2Fapisnoop&type=presubmit

Temp added at https://github.com/cncf/apisnoop/commit/66f32943c4132f42343a1fc72ad06818acbad49b

The primary driver here, was netlify PR sites not loading at all and we fixed the majority of these issues by not generating new data every time, only when files under ./data-gen/ were modified.
When we do generate new data, nelify uses the most recent data and requires a second commit or manually triggered netlify job to update to point to the new data.
It's a reasonable compromise for now.


Use ChildProcess to spawn detached processes

As of childprocess v0.5.6, it is possible to check the exit status of a ChildProcess without an error being thrown.

Merged in d9453db. Thanks!


How to install with venv?

I can't work out how to get mkvirtualenv working.

Hi @songproducer - please use the #support channel in the Wagtail Slack for support queries.


NFC: cleanup manifest constructor defaults

motivation: safer code
changes:

remove nil defaults from manfiest constructor
update tests to use the test oriented helpers that set the defaults for testing

ran into this when working on another fix, so brought out as separate PR

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

IMO, these PRs that combine large formatting changes and code changes are very hard to review. I really think we should either leave the formatting alone or do one pass across the entire codebase, neither formatting nor history preservation are more important than being able to do code reviews.

IMO, these PRs that combine large formatting changes and code changes are very hard to review. I really think we should either leave the formatting alone or do one pass across the entire codebase, neither formatting nor history preservation are more important than being able to do code reviews.

in this case its actually not formatting changes that made the PR large. there was a large set of call sites to update. but if there is consensus to do a one-tilme formatting PR across the entire repo, we can do that too.

I don't a single combined formatting PR, but maybe I'd prefer that to happen after the soundness script runs on CI for every PR so that we don't have formatting regressions and a necessity for any follow-up formatting and soundness fixes.

that is a good point. @shahmishal do you think you can help us set up such CI job? basically a job that just runs the Utilities/soundness script


Missing certificate on .pem output

I can get a valid pem using openssl pkcs12 -in path.p12 -out newfile.pem -nodes, which takes a password and returns a pem that contains the private key and the cert.
Probably due to only converting the private key to the pem.
https://github.com/ryanseys/google-p12-pem/blob/master/index.js#L54

I am cleaning up old issues on this repo. If this is still an issue, please re-open.


python27 unreal_engine.exec () error!

ue.exec('test.py')
invalid syntax (, line 1)

Hi, it looks like your report has been truncted/escaped, use triple quotes for pasting python code.
By the way paste the first line of test.py

When I not pass any parameters or pass the sample py,that is still an error
>>> import unreal_engine as ue
>>> ue.exec
invalid syntax (<string>, line 1)

I think something is conflict,and I have modified the python api exec function name, The error disappeared. But ue4 crash.
When Debug run to FUnrealEnginePythonModule::RunFile->fclose(fd) ,Ue4 triggered a breakpoint and crash!
Have someone test  success in Python27?

Hi, does it work with python3 ? (you do not need to install python3, you can take the binary embedded version)

I use Python3.5 to test can be work,But Python2.7 prompt the error above.

Ok, thanks for reporting, maybe i broke something during latest packaging. I'll check it soon

This has been fixed in latest commit, unfortunately a ugly hack has been required as 'exec' (being a reserved builtin keywords) fakes the parser. So on python2 you have to use ue.py_exec(file)

Before this gets widely used could we possibly have the name of the exec function be exec_ instead? The underscore at the end is common convention used elsewhere to get around the reserved keyword issue.

@osstony  ok, i'll add it instead of py_exec


Replace logback dependency with slf4j.

Explicit logback version was causing dependency issues in downstream projects.

Looks fine to me.


Create a new k-info-panel to show link details including its metadata

A new k-info-panel/link_info.kytos component should be created to display link detailed attributes including its metadata. This endpoint returns the data needed, you'll need to filter by the specific link though.
The metadata items should be shown in a table in an accordion.
The picture below tries to illustrate what's expected, it's the part with the label 4) in yellow

Regarding show to display the metadata, since they are a key value pair, and the values could even be a nested JSON, I think if the value is a JSON object then you JSON.stringify it, otherwise if it's a primitive then show it as it is. Here's an actual sample of a link metadata that would exist in production:
"metadata": {
                    "bandwidth": 100,
                    "last_status_is_active": true,
                    "link_name": "some_link",
                    "ownership": {
                        "A": {},
                        "B": {},
                        "C": {}
                    }
                }

@rmotitsuki what do you think? Do you have other suggestion or idea to enhance the UX?


Some fixes

@dvirsky Any chance you can merge this one? Seems correct.

sure, I didn't notice this one

@dvirsky Thanks!


@ missing  in AccessDenied page

dotnet new mvc --auth Individual -o Test
Views/Account/AccessDenied.cshtml

@{
 ViewData["Title"] = "Access denied";
}

ViewData["Title"]

You do not have access to this resource.

Should have been

@ViewData["Title"]

@pranavkm As you're updating templates right now, could you validate this, and move the issue to templates and fix if it's a problem?

Moved to https://github.com/aspnet/templating/issues/183


Enhancement: Introducing Multi-Server Mode and PUB/SUB messaging patterns in NetGear API

Description
This PR introduces robust and powerful Multi-Server Mode & Publish/Subscribe(zmq.PUB/zmq.SUB)  messaging patterns for seamless Live Streaming over the network.

Multi-Server Mode: In this exclusive mode, NetGear API can robustly handle multiple servers at once through exclusive Publish/Subscribe (zmq.PUB/zmq.SUB) messaging pattern thereby providing access to seamless Live Streams across the various device in a network at the same time. Each new Server on the network can be identified on the client's end by using its unique port address. Also, it exhibits a feature where if all the connected servers on the network get disconnected, the client itself automatically exits to save resources.

Publish/Subscribe Messaging Pattern: is another classic pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers. Messages are published without the knowledge of what or if any subscriber of that knowledge exists. A ZMQ.SUB can connect to multiple ZMQ.PUB (publishers). No single publisher overwhelms the subscriber. The messages from both publishers are interleaved. Tip::bulb: This mode is best suited for Live Streaming.

Changes:

Implemented Robust Multi-Server Compatibility support in NetGear.
Implemented new Publish/Subscribe (zmq.PUB/zmq.SUB) patterns for seamless Live Streaming.
Upgraded NetGear ability to handle any number of servers.
Optimized overall real-time performance of NetGear.
Updated ScreenGear to use Threaded Queue Mode by default.
Removed redundant THREADED_QUEUE_MODE flag support from ScreenGear.
Fixed various bugs related to these implementations.

Requirements / Checklist

[x] Read the Contributing Guidelines
[x] Read the FAQ
[x] Comprehended the Wiki Documentation
[x] Updated the source-code documentation accordingly(if required).

Related Issue

#37
Context

NetGear as of now does not support multiple server configuration. Moreover, current configurations only supports blocking mode that either uses a REQ/REP or PAIR/PAIR zmq socket, in which either end would freeze until the other end is connected & start running for added synchronization. Unfortunately, this configuration is non-ideal for live-streaming as synchronization adds to latency in this mode. Therefore with this PR, I introduced  Robust Multi-Server Compatibility support in NetGear and added new Publish/Subscribe (zmq.PUB/zmq.SUB) patterns for seamless Live Streaming, therefore, providing usability to handle any number of servers easily. This PR also fixes various bugs with these implementations and bring some minor updates too.
TODO

[ ] Update Docs
[x] Fix additional bugs

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

hi @abhiTronix this is great document https://github.com/abhiTronix/vidgear/wiki/Multi-Server-Mode-for-NetGear-API. I'm thinking that can Netgear send other data eg: date time, frame type ... go with camera frame. ZMQ  will send them with send multi parts function?

@xamarindevelopervietnam Thanks for checking it out. I was working on other projects so didn't get the time to address you.

hi @abhiTronix this is great document https://github.com/abhiTronix/vidgear/wiki/Multi-Server-Mode-for-NetGear-API. I'm thinking that can Netgear send other data eg: date time, frame type ... go with camera frame. ZMQ will send them with send multi parts function?
Client will received dictionary extra data like this:
extra_data, frame = data;
unique_address = extra_data[unique_address];
frame_type = extra_data[frame_type];

Yes, it is possible to send text with the frame but I left that part as it makes VidGear more complicated & the reason that VidGear is targetted for Video Processing only. I'll rethink about adding it but with a simpler approach.

I think it will be important part. Developer can use the others data to proceed frame from Camera.

@xamarindevelopervietnam I'm super busy on another project. As soon as I'm free from it, I'll get this done.

@xamarindevelopervietnam Kindly test https://github.com/abhiTronix/vidgear/wiki/Multi-Server-Mode-for-NetGear-API#2-advanced-multi-server-mode-implementation-with-custom-message-transfer-and-filter-support , and don't forget to remove filter support as it is not required in our case and revert. Goodluck

great! I hope this enhancement will be merged soon. I will add more enhancement ASAP.

@xamarindevelopervietnam also Remember you can now send any type of data along with frame, for example, dict, list, tuple,string, int etc.

LOVE IT!


Design Recipe Improvements

Design a new recipe model/definition to handle some key recipe improvements such as forking, conditional branches/optional jobs (filters), hard-coded inputs, remove recipe type version, and recipes containing other recipes. The abilities for recipes to contain other recipes and the conditional branch filters are needed for the new trigger rule system.
There are some issues already created that are related to some of these specific recipe improvements.
Also look at the overall efficiency of the queries in the update_recipes message:
Lock recipes
Select recipes with related models
Grab job types and job type revisions to pass to handlers as well (only if needed to create jobs?)
For a group of recipes:
1. Select recipe_job models for the group of recipes
2. Bulk create job models
3. Bulk create recipe_job models
4. For each job, populate job inputs (possibly make this into one query with different update values per job)
Update recipe metrics

Working Notes:
Look at doing one recipe at a time?
RecipeRecipe model - same as RecipeJob model, also rename job_name/recipe_name to node_name?
Message for job grabbing input from parent job(s)
Inputs:

Job ID
Root Superseded Recipe ID
Execution:
grab needed input files

Created a new project (Recipe Redesign) and a number of issues to implement the new recipe capabilities.


BUG: operations with complex numbers sometimes segfault

We've had issues with this for a while.  For example, we don't allow user-defined Monoids with complex dtypes:
https://github.com/metagraph-dev/grblas/blob/28700cfd13c90f5a22173ec7ffeba669e3725771/grblas/operator.py#L1331-L1333 and
https://github.com/metagraph-dev/grblas/blob/28700cfd13c90f5a22173ec7ffeba669e3725771/grblas/tests/test_numpyops.py#L199-L212
With the new PR adding GrB_Scalar support (#163), we have encountered other weird issues: https://github.com/metagraph-dev/grblas/pull/163#discussion_r801003102 and https://github.com/metagraph-dev/grblas/pull/163#discussion_r801002540
I think the next natural step to investigate these is to try to reproduce the segfaults purely in C.
Any additional issues, insights, or requests to get this fixed can be posted here.  Supporting complex numbers is not high on our priorities unless somebody asks for it.

Alright, this appears to have been fixed by https://github.com/GraphBLAS/python-suitesparse-graphblas/pull/41 🤞
No idea why.


The project started very slowly

2017-09-27 15:00:22.677  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService  'taskScheduler'
2017-09-27 15:01:29.578  WARN [taichi-sys-personnel-service,,,] 11500 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2017-09-27 15:01:29.578  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2017-09-27 15:01:30.734  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService
2017-09-27 15:01:32.439  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.i.codec.kryo.CompositeKryoRegistrar  : configured Kryo registration [40, java.io.File] with serializer org.springframework.integration.codec.kryo.FileSerializer
2017-09-27 15:01:33.337  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.b.t.m.w.SpringBootMockServletContext : jolokia: No access restrictor found, access to any MBean is allowed
2017-09-27 15:01:33.342  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.b.t.m.w.SpringBootMockServletContext : jolokia: jolokia:type=Config is already registered. Adding it with jolokia:type=Config,uuid=6beed861-53e2-4a73-8482-9ecf2869c71e, but you should revise your setup in order to either use a qualifier or ensure, that only a single agent gets registered (otherwise history functionality might not work)
2017-09-27 15:01:33.342  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.b.t.m.w.SpringBootMockServletContext : jolokia: Cannot register (legacy) MBean handler for config store with name jmx4perl:type=Config since it already exists. This is the case if another agent has been already started within the same JVM. The registration is skipped.
2017-09-27 15:01:33.342  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.b.t.m.w.SpringBootMockServletContext : jolokia: Jolokia Discovery MBean registration is skipped because there is already one registered.
2017-09-27 15:01:33.472  INFO [taichi-sys-personnel-service,,,] 11500 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase -2147482648
2017-09-27 15:01:33.764  INFO [taichi-sys-personnel-service,,,] 11500 --- [

Hi @javanan your stack trace look related to the spring cloud integration with eureka. I would suggest that you redirect this question there. Thanks.


Env add

I added the example.env file, and also added the string interpolation to access Google Maps