Uncaught TypeError: undefined is not a function

[Enter steps to reproduce below:]

...
...

Atom Version: 0.165.0
System: Mac OS X 10.10.1
Thrown From: minimap package, v3.5.6
Stack Trace
Uncaught TypeError: undefined is not a function
At /Users/yoshuawuyts/src/yw/dotfiles/.atom/packages/minimap/lib/mixins/view-management.coffee:85

TypeError: undefined is not a function
  at /Users/yoshuawuyts/src/yw/dotfiles/.atom/packages/minimap/lib/mixins/view-management.coffee:85:7
  at atom-workspace.attachedCallback (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/workspace-view.js:94:18)
  at atom-workspace.handler (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:110:34)
  at atom-workspace.jQuery.event.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-workspace.elemData.handle (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
  at TextEditorView.jQuery.fn.trigger (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
  at TextEditorView.module.exports.TextEditorView.afterAttach (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/text-editor-view.js:180:19)
  at callAttachHooks (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:342:67)
  at atom-pane-axis.PaneAxisElement.childAdded (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/pane-axis-element.js:54:14)
  at Emitter.module.exports.Emitter.emit (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at PaneAxis.module.exports.PaneAxis.addChild (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/pane-axis.js:124:27)
  at PaneAxis.module.exports.PaneAxis.insertChildAfter (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/pane-axis.js:174:19)
  at Pane.module.exports.Pane.split (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/pane.js:658:23)
  at Pane.module.exports.Pane.splitRight (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/pane.js:626:19)
  at atom-pane.atom.commands.add.pane:split-right (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/pane-element.js:226:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
  at Ipc.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/window-event-handler.js:65:30)
  at Ipc.emit (events.js:107:17)
  at process.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:22:29)
  at process.emit (events.js:110:17)

Commands
     -0:40.0 core:backspace (input.hidden-input)
     -0:39.1 core:move-right (input.hidden-input)
  2x -0:38.3 core:backspace (input.hidden-input)
     -0:36.5 docblockr:parse-enter (input.hidden-input)
     -0:36.5 editor:newline (input.hidden-input)
     -0:34.0 core:move-right (input.hidden-input)
     -0:33.1 core:move-left (input.hidden-input)
     -0:28.0 editor:select-to-end-of-line (input.hidden-input)
     -0:22.0 editor:delete-line (input.hidden-input)
     -0:19.1 docblockr:parse-enter (input.hidden-input)
     -0:19.1 editor:newline (input.hidden-input)
  6x -0:18.5 core:move-up (input.hidden-input)
     -0:13.3 editor:delete-line (input.hidden-input)
  3x -0:10.2 core:undo (input.hidden-input)
     -0:06.4 core:save (input.hidden-input)
     -0:00.0 pane:split-right (input.hidden-input)

Config
{
  "core": {
    "themes": [
      "spacegray-eighties-ui",
      "tomorrow-night-eighties"
    ],
    "useReactEditor": true,
    "audioBeep": false
  },
  "minimap": {
    "plugins": {
      "highlight-selected": true
    }
  }
}

Installed Packages
# User
atom-alignment, v0.9.3
atom-jsfmt, v0.6.0
autoclose-html, v0.13.0
autocomplete-plus, v1.1.0
color-picker, v1.4.0
cucumber, v0.4.1
docblockr, v0.5.8
editorconfig, v0.3.0
highlight-selected, v0.7.0
http-status-codes, v1.0.2
language-docker, v1.1.2
language-glsl, v0.2.2
language-go, v0.21.0
language-ini, v1.3.0
language-jade, v0.3.0
language-restructuredtext, v0.2.0
language-viml, v0.2.0
linter, v0.10.0
minimap, v3.5.6
minimap-color-highlight, v3.1.0
minimap-highlight-selected, v3.1.0
spacegray-eighties-ui, v0.7.0
tomorrow-night-eighties, v0.3.0
travis-ci-status, v0.11.1
vim-mode, v0.29.0

# Dev
No dev packages

/cc @atom/core

duplicate, apologies.


response 204 securepubads.g.something

I try implement vast tag and put code on live site but I get GET securepubads.g.something 204
Some type error I never saw it in my life ads show on Desktop site but when visit from mobile this is what I get

Hi,
Were you able to reproduce the behavior running your ad tag against the IMA VSI? Can you share the ad tag you were using when the issue occurred? Can you also share a screenshot of the error message logged in the console by the plugin?

Hi,
I’m closing this issue because it has been inactive for more than a month. Please reopen if you still encounter this issue with the latest stable version
Thank you!


[android] Fix spelling of intrinsic in AArch64 test.

In between #19478 was written and merged, b45ca04 changed the spelling
of the intrinsics, so the old code wasn't working. This fixes the
spelling.
Broken in
https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-16.04-android-arm64/2875/

@swift-ci please smoke test

Thanks for being diligent here.

I should have checked earlier, in any case. Thanks for the approval! I will fix as soon as the test pass.


update logger form nats-io's to dapr's

Description
update logger form nats-io's to dapr's
Issue reference
https://github.com/dapr/components-contrib/issues/448
Please reference the issue this PR will close: #448
Checklist
don't need to change the doc and test.

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Hey @abserari, please do the following:

Make sure you are using Go 1.15
Run go mod tidy and push the changes

ArideMacBook-Air:~ abser$ go version
go version go1.15.1 darwin/amd64

To pull this version into Dapr, run go get -u github.com/dapr/components-contrib@master

To pull this version into Dapr, run go get -u github.com/dapr/components-contrib@master

Great！ I just need it


Deploy all branches to S3 or similar

This would make it easier to review changes

Cool, I have this running now automatically for all pull requests, thanks to Heroku's review branch feature.


initial commit qca port

This PR is to start a discussion about my work on a port on QCA. I have the problem, that I need Qt5 environment and how to find it on the users machine. I don't want to make a dependency to qt5 in the CONTROL file, because it is a huge download and very time consuming.
Also on my machine I can just test it under Windows 10 and my Qt5 installation. So for now only msvc and msvc_64 is supported.
I'm open for any hints and critics - I'm still learning CMake.
Thanks for your help till now
Alex

Hi @gnome71, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Unfortunately we really need to have this build against our managed version of Qt. This is to enable static linking scenarios where I have multiple components using Qt; if I want to static link qca and qca_other into my program, I need them to both be built against the same copy of Qt, otherwise, the symbols from the two different qt versions will conflict and I won't be able to link my program.
I totally agree that the current qt5 is a really big dependency -- we should do more work in the future to try to break it up into smaller pieces that can be modularly built. Also, remember that you only need to build it once and you can share it among all of your projects :). The layout is designed to be completely relocatable, so you CAN zip it up and move it between machines to reduce startup costs as well.
Other than that, your approach here looks pretty solid. I'll test it out once you fix the issue @Orvid picked out above.

I changed the cmake file locations according to the issue @Orvid mentioned in his review. Also I added the build dependency to qt5 in the CONTROL file. So there is no need to search for qt on the users machine, nor has the user to set any env. variables.
Have a nice weekend!
Alex

Looks pretty good! There are four paths that catch my attention though:

certs\
mkspecs\
debug\certs\
debug\mkspecs\

certs\ has rootcerts.pem in it, mkspecs\ has a .prf file. Are these important and are they in the right place? I feel like the pem is probably not needed, but I don't know much about .prf files.
(Side note: the command tree /f D:\src\vcpkg\packages\qca_x64-windows is very nice to get an overview of the final package)

According to:  https://www.openssl.org/docs/faq.html#USER16
it is up to developers or admins to maintain CAs.
Thats what the QCA Maintainers do with the rootcerts.pem file. According to the README the certs are converted from the Mozilla sources. But its quite outdated.
So my plan is to download a recent version maintained by the CURL developers and comment this in the portfile. So that everyone interested can follow the steps taken.
The portfile now builds the files mentioned by  @ras0219-msft in subdirs of PACKAGE/share/qca/ - where they fit better, I think.

Alternatively, it might be viable to retrieve the cert-data from mozilla's main mirror and generate at build time. It would also mean that it can be versioned and we can bump the package version when it's updated: https://raw.githubusercontent.com/mozilla/gecko-dev/master/security/nss/lib/ckfw/builtins/certdata.txt
An even better solution might be to still do what I mentioned above but have it as a separate port so that it can be versioned independently. If going that route, it would likely be better to version directly off of nss: https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_27_2_RTM/src/

By now I'm not able to make an extra port for nss because it seems quite complicated for me. It uses the mozilla-build environment and I've not used that before.
By now I'm downloading https://raw.githubusercontent.com/mozilla/gecko-dev/master/security/nss/lib/ckfw/builtins/certdata.txt (like @Orvid mentioned) and process this file before building the library.

Thanks for working through this!
In the future, it would probably be best to separate out the .pem into it's own port, or perhaps even remove it entirely. Since the master CA list is somewhat volatile and security sensitive, it's more difficult to handle appropriately compared to normal software -- a user that wants to lock down all their software dependency versions will still probably want to update their CA list.

I would prefer to remove it too. I will contact the library maintainers to clarify that and maybe remove it on the next version bump.
Thanks for your guidance, it was a great experience for me to participate the first time on such a cool project. Keep up your good work!!


Bump manifest from v2 to v3

What problem does this feature solve?
Manifest version 2 is deprecated, and support will be removed in 2023. We can see The transition of Chrome extensions to Manifest V3 for more details

Dupe of #1917

Exactly. Thank you for your aply, and I hope that can merge main soon.🙏🏻


Fix bitbucket publish description

In accordance with the specified requirement, we needed to replicate the functionality found in GitHub for modifying the PR title and description. As there was no existing functionality for this in Bitbucket, I undertook the task and successfully achieved the goal by leveraging the REST API. I have now implemented this functionality, and it is working flawlessly.

@sarbjitsinghgrewal I added a few changes and approved, will merge after I complete the testing


Update linkify

Updates linkify to newest version (4.1.3).
Note the import for linkify changed - instead of linkify/string, there is a package linkity-string
To test:

In a project in the local cluster
Create a secret and add a description of test https://www.rancher.com
From the secrets list, click on the secret just created
Verify that the description renders as a banner and that the text has been linkified, i.e:

Note: This PR is based off of the PR to update caniuselite

@mantis-toboggan-md Updated to ensure detected links open in a new tab

Rebased - needs a re-approval


Decompose client-side script into multiple files.

Redesign according to modern JavaScript style - use OOP best practices, e.g. module pattern, requirejs, etc? Release version should be merged into single file.

I think this would be a great improvement!
Per my comment on #48, I think a UMD wrapper in particular would be helpful to make this library compatible with modern JS tools, namely module loaders/bundlers like RequireJS, Browserify, Webpack, jspm, etc. (see https://webpack.github.io/docs/comparison.html).


Add ASCII-art title screen

The original ASCII art mushroom cloud is an option: https://github.com/Xyaneon/WMD-Weapons-of-Mass-Domination-Original/blob/761871b11afca0eab9721209af7ec073749a2dea/WMDGAMEV1P6.CPP#L441-L464


Function calling feature

When will function calling feature be supported?

Do you mean providing the SDK?

When will llama3 and OpenAI API-compatible function callng or tool calling be supported?


ROUTER/DEALER pattern?

I'm curious if mongos impelements the ROUTER/DEALER connection design pattern? Can I use existing design patterns in mongos to emulate this? If not is there any plans to implement this?
http://zeromq.org/sandbox:dealer

I guess its called PIPELINE in nanomsg. After reviewing the code if it does not exist I will try to add it.

Was this ever implemented?

This is the REQ/REP pattern mangos and nanomsg combined with devices.  If you want more control than round robin balancing you will need to implement the logic yourself.
Sent from my iPhone

On Dec 18, 2016, at 9:26 AM, mbarkhau<EMAIL_ADDRESS>wrote:
Was this ever implemented?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[Tx Builder] Long labels resulting in ugly presentation

Description
A bit of an edge case but scenarios like this one shown in the screenshot below can cause some visual issues on the tx builder app
Steps to reproduce

Go to tx builder app and use this contract for testing 0x49d4450977E2c95362C13D3a31a09311E0Ea26A6
Choose the method shown in the screenshot

Expected result
Component showing '...' if the input is too long.
Obtained result
Component can't handle that many chars for a label.
Screenshots

Updated the issue as it might have looked that I was referencing the re-order component and what I meant was doing the same for the labels as well.
Cheers!


Mergify

Author the user story for this feature
As a Flank developer, I want to automatically merge pull requests so I can have less work in progress.
Additional context
Setup https://doc.mergify.io/#

https://github.com/Flank/flank/commit/fc1f162096ccf167933f1763452e090a32d327df

running into this issue: https://github.com/Mergifyio/mergify-engine/issues/722

@piotradamczyk5 Maybe you can take a look at this? I'd like to automatically merge Flank pull requests to master once the branch protection settings are met.

https://github.com/aws/aws-cdk/blob/master/.mergify.yml has an example configuration used by the AWS CDK project. We might be able to learn something.

@piotradamczyk5 Maybe you can take a look at this? I'd like to automatically merge Flank pull requests to master once the branch protection settings are met.

Yeah I could take a look into it

Hey @bootstraponline
I have checked configuration and documentation and I think that your config is enough because mergify works correctly with GitHub protected branch rules 👍
If you are already using the GitHub Branch Protection system. You can just use:

pull_request_rules:
  - name: automatic merge when GitHub branch protection passes on master
    conditions:
      - base=master
    actions:
      merge:
        method: merge

I would just consider adding options:
merge:
  strict: true
  strict_method: rebase
  method: squash

For making rebase before the merge as described here

Great! Do you want to submit a PR with those options?

Great! Do you want to submit a PR with those options?

I submitted these changes and also added option to post a comment when PR title is bad


added docs Xdebug Setup VSCODE

could you add a link to the file you created?

could you add a link to the file you created?

@faradey Fixed


[DOR-219][AO] validate arrival date is equal or after entry date

Some issues with this as discussed with Sam, let me know if you want steps to recreate/more info/screenshots etc.
I used today's date as the entry date and mostly tested on the mandatory page

Error persists even when overridden ie you can have it displaying both at once.

An edge case hopefully but if we input an invalid date and leave the other fields blank we only get the errors for those two first (name and time). Once we fill them in it will then present us with the date error (Sam explained how some of this was set up so appreciate this might be a bit more complicated than it sounds to fix - if genuine technical constraint we can raise it with design but ideally we'd want to see all 3x errors)

The new error doesn't show up in the correct order, if we enter something invalid for time it will show as:

Error summary links to field but doesn't highlight/allow user to enter text

There has been a knock on impact to our existing error message where it's incorrect to tell them the date should be 6 months either side - there are some comments on the story itself but basically we should be good to change this to just have "Date of arrival must be before [6 months from today]"

Some issues with this as discussed with Sam, let me know if you want steps to recreate/more info/screenshots etc.
I used today's date as the entry date and mostly tested on the mandatory page

Error persists even when overridden ie you can have it displaying both at once.

An edge case hopefully but if we input an invalid date and leave the other fields blank we only get the errors for those two first (name and time). Once we fill them in it will then present us with the date error (Sam explained how some of this was set up so appreciate this might be a bit more complicated than it sounds to fix - if genuine technical constraint we can raise it with design but ideally we'd want to see all 3x errors)

The new error doesn't show up in the correct order, if we enter something invalid for time it will show as:

Error summary links to field but doesn't highlight/allow user to enter text

There has been a knock on impact to our existing error message where it's incorrect to tell them the date should be 6 months either side - there are some comments on the story itself but basically we should be good to change this to just have "Date of arrival must be before [6 months from today]"


Add Class key to Includes hashtable

The PSRepositoryInfo object has an Includes hashtable with keys for the types of commands and resources in a module.
Please add a Class key for classes defined in the root module or ScriptsToProcess script that can be exported into the user's session.
Name                           Value
----                           -----
Function                       {}
RoleCapability                 {}
Command                        {}
DscResource                    {}
Workflow                       {}
Cmdlet                         {}

@juneb PowerShellGet needs to work on PS 3.0 or newer. Classes feature got added in PS 5.0.

If there are no classes defined in the script or module, the value Classes value would be null. This shouldn't create any problems for older versions of PowerShell.

@juneb Could you please update the issue with more details as mentioned in the issue template?

Sure. It's a feature request, not a bug. :)
Expected Behavior
If my module or script defines classes, I would like them to be discoverable before installing or importing, such as in the Includes hash table. Currently, the Includes hash table has keys for functions and DSCResources, but not for classes.
Current Behavior
PS C:\ps-test> (Find-Module PoshRsJob -RequiredVersion <IP_ADDRESS>).Includes

Name                           Value
----                           -----
Function                       {Get-RSJob, Receive-RSJob, Remove-RSJob, Start-RSJob...}
RoleCapability                 {}
Command                        {Get-RSJob, Receive-RSJob, Remove-RSJob, Start-RSJob...}
DscResource                    {}
Workflow                       {}
Cmdlet                         {}

Possible Solution
Add a Class key to the Includes hash table:
PS C:\ps-test> (Find-Module PoshRsJob -RequiredVersion <IP_ADDRESS>).Includes

Name                           Value
----                           -----
Function                       {Get-RSJob, Receive-RSJob, Remove-RSJob, Start-RSJob...}
RoleCapability                 {}
Command                        {Get-RSJob, Receive-RSJob, Remove-RSJob, Start-RSJob...}
DscResource                    {}
Workflow                       {}
Cmdlet                         {}
Class                            {V2UsingVariable, RSRunspacePool, RSJob}

Environment:
PS C:\Program Files\PowerShell\<IP_ADDRESS>> $psversiontable

Name                           Value
----                           -----
PSRemotingProtocolVersion      2.3
PSVersion                      6.0.0-alpha
GitCommitId                    v6.0.0-alpha.14
BuildVersion                   <IP_ADDRESS>
CLRVersion
SerializationVersion           <IP_ADDRESS>
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSEdition                      Core
WSManStackVersion              3.0

@juneb I'd like to take a stab at implementing this but am running into some roadblocks with the multiple ways a class can be defined. I found your article about finding classes in modules but it seems to have some limitations. Do you know how to get the list of exported classes when it's defined in ScriptsToProcess or NestedModules? If not we may need to wait until PowerShell/PowerShell#6293 is complete.


Threaded resource loader looses textures

Godot version
4.0.dev (f581f21dd61a8fb581b80d07755cdf60c95d146d)
System information
Windows 10 - Ryzen 7 - 4070ti
Issue description
When using the threaded resource loader, textures on materials are lost.
This is the scene being loaded in the IDE:

This is the result in runtime:

Steps to reproduce
Use code such as the following to load a scene:
func _load_scene(p_scene_path):
	var new_scene : PackedScene
	if ResourceLoader.has_cached(p_scene_path):
		# Load cached scene
		new_scene = ResourceLoader.load(p_scene_path)
	else:
		# Start the loading in a thread
		ResourceLoader.load_threaded_request(p_scene_path)

		# Loop waiting for the scene to load
		while true:
			var progress := []
			var res := ResourceLoader.load_threaded_get_status(p_scene_path, progress)
			if res != ResourceLoader.THREAD_LOAD_IN_PROGRESS:
				break;

			_progress_bar = progress[0]
			await get_tree().create_timer(0.1).timeout

		# Get the loaded scene
		new_scene = ResourceLoader.load_threaded_get(p_scene_path)

	$CanvasLayer.visible = false
	add_child(new_scene.instantiate())

Now create a scene to load that has a material with a texture.
Minimal reproduction project
TestResourceLoader.zip

From my own investigation so far my theory is that the textures loaded from a thread only get their RID reserved in the rendering server. The method calls that actually setup the texture are added to the command queue of the rendering server thread (/main thread).
When the material is loaded it may be having issues accessing vital information about the texture as the queued commands haven't been run yet.
Could be barking up the wrong tree though, still trying to get my head around the threading changes :)

May be a different issue, and it's 2D instead of 3D, but when I used the threaded resource loader, it loses materials. For instance, my creatures' shadows no longer had a multiply material, and tiles in the tilesets no longer have their custom materials as well.

I can confirm, running the same project in 4.0.3 using threaded loading results in normal colors. But running it in 4.1.dev3 results in all the colors disappearing from all objects.

May be a different issue, and it's 2D instead of 3D, but when I used the threaded resource loader, it lost materials. For instance, my creatures' shadows no longer had a multiply material, and tiles in the tilesets no longer have their custom materials as well.

Yeah, I'm noticing this with a dev build I built yesterday.
Without threaded loading (or just running directly from the editor):

With threaded loading:

@Anixias this would likely effect 2D too so not surprised
@FeralBytes yes this is on master from a few days ago and it is indeed a regression from the threaded resource loader. @RandomShaper was going to look into it as soon as he has some time.
@sketchyfun the editor also turns threaded loading off hence it working in the editor so that makes total sense.

Confirmed fixed by #77692


Is i2v model training in the plan?

CogvideoX supports i2v, this model is quite popular

Thanks for reaching out! See https://github.com/hao-ai-lab/FastVideo/issues/102.


Issue 50896: Fix population of ancestors when samples are in different containers

Rationale
The code to populate the ancestors table was chunking up the updates by sample type and container but the logic is flawed and picks up only the samples in the container where the sample type is defined.
This adds an upgrade script to rerun the populate task with repaired logic. Since there are currently no additional upgrade scripts on develop, this seems safe to do at this juncture.
Related Pull Requests

#5508

Changes

Fix logic for chunking up the ancestor table inserts
Add upgrade script to repopulate the ancestor tables

Does that mean there is a test gap for cross folder scenarios? Thought I had done plenty of that in manual testing..

This bug is specifically about the upgrade that is creating the initial entries in this table. Any edits to sample or source lineage will create the requisite ancestor table entries.  We don't have automated testing for upgrade scenarios, but this client scenario of having all data in subfolders is one we should keep in mind for manual testing (I've added it to the client scenarios doc).


Extract data from processor .data and pass to .image

Hello, I'm trying to extract some data from a processor in the .data case and pass it along to the .image case. For example, I have following code:
struct  CustomProcessor: ImageProcessor {

    let identifier: String

    func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? {
        switch item {
        case .image(let image):
            // want to use metadata here
            // do something
            return image
        case .data:
            // I want to extract some metadata from the image here
           let src = CGImageSourceCreateWithData(data as CFData, nil)

           // how can I use this in the .image case when we pass back the data to the DefaultImageProcessor?
           let metadata = CGImageSourceCopyMetadataAtIndex(src!, 0, nil)

            return (DefaultImageProcessor.default |> self).process(item: item, options: options)
        }
    }
}

Any help would be appreciated!

I am not sure if it is an abusing of ImageProcessor, but how about these code?
struct MetaDataProcessor: ImageProcessor {
    let metaData: MetaData // can be an int, or anything else you can customize.
    var identifier: String {  /* It is better to return a value can be identified by the metaData.  */  }

    func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? {
        switch item {
        case .image(let image):
            // You now have the correct metaData here.
            return image
        case .data:
            // You can even leave empty, this case won't be called.
            return UIImage()
        }
    }
}

struct CustomProcessor: ImageProcessor {

    let identifier: String

    func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? {
        switch item {
        case .image(let image):
            return image
        case .data:
           let src = CGImageSourceCreateWithData(data as CFData, nil)
           let metadata = CGImageSourceCopyMetadataAtIndex(src!, 0, nil)
           let next = MetaDataProcessor(metaData: metadata)
           return (DefaultImageProcessor.default |> next).process(item: item, options: options)
        }
    }
}

And in the use case, make sure you set the CustomProcessor as the first of the .processor option.

Thank you so much @onevcat!


Show a placeholder when there are no visible routes

Please describe the feature that you want to propose
When there are no visible routes in the canvas, either because they don't exist or all are hidden, it would be convenient to show a placeholder to explain to the user why nothing is visible in the canvas
No defined routes

No visible routes

Notes
Here's the implementation in kaoto v1

heyy is the issue still open ? I would like to contribute ?

Hi @bilalshaikh292 😃 , did you have the chance to take a look into this?

yes Sure I will Give this a try

Thanks @bilalshaikh292 for your interest in this issue 💪 , since we're approaching an upcoming release, we need to have this implemented a bit sooner than expected, sorry for that.
In any case, you're always welcome to contribute to any issue that is interesting to you.
Implementing it here: https://github.com/KaotoIO/kaoto-next/pull/681

Hi @bilalshaikh292, no worries at all, thanks once again for your interest :smile:


Add $_FILE to the list of superglobals that need to be validated/sanitized

I noticed while working on #294 that $_FILE isn't included. It definitely should receive validation, and though the sanitization might be somewhat different it is still needed. (Actually, we might want to consider creating a similar sniff that requires files to be uploaded using WordPress-provided functions, to avoid arbitrary file upload.)

:+1:


Not requesting SLS (Old 274)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:08
Secondary password is not requested upon login.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:13
Added check to see if auth_extra_at is either NULL or old.  Also nullified it on logout.  Resolves issue #488464 (274).
ÔåÆ <<cset 43936b3843b0>>
ALawrence66 - 2015-02-25T22:26:44.214360+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:13
Allowed the auth_extra_at timestamp to be nullified.  Refs issue #488464 (274).
ÔåÆ <<cset 44a0e3c98e70>>
ALawrence66 - 2015-02-25T22:22:38.315706+00:00


Parser can't handle various keywords

I have a data set that has a tag named "duration". I can select * fine:
SELECT * FROM request

shows duration just fine. But I can't ask for it:
SELECT duration FROM request

Server returned error: error parsing query: found DURATION, expected identifier, string, number, bool at line 1, char 8

If that's not a valid tag it should not allow me to create a bazillion points with it. :)

@djMax duration is a keyword.  You need to surround it with double-quotes in this case.
SELECT "duration" FROM request

See: https://docs.influxdata.com/influxdb/v0.10/query_language/data_exploration/

Ah - single quote didn't work but indeed double quote does. Thanks.


Error: Invalid or corrupt jarfile minecraft_server.1.17.1.jar

Unsure whether this is a me issue, or one with the image for the latest jar update - I manage everything through Portainer.
Vanilla server - runs fine in 1.17 - have tested with setting VERSION to 1.17 and it boots up OK. However when using VERSION of LATEST, I get the following error:
[init] Starting the Minecraft server...,
Error: Invalid or corrupt jarfile minecraft_server.1.17.1.jar,
2021-07-09T19:58:34.438Z	WARN	mc-server-runner	sub-process failed	{"exitCode": 1},
2021-07-09T19:58:34.439Z	INFO	mc-server-runner	Done

It will then be stuck in an infinite loop of the start up script re-running and entering into the same issue.
The container health check comes back as unhealthy. I have tried re-deploying the container too do that a new image is rebuilt and the same happens every time. As it works with 1.17, but not with 1.17.1, and I keep everything the same and just restarted the container to upgrade earlier, I can't see what it is that I would be missing.
Any ideas / suggestions would be much appreciated!

Did you double check by creating a new container with a fresh data volume? 1.17.1 starts fine for me, so you simply have a corrupted file. Delete it and let the container re-download it.

Great thanks - my misunderstanding that redeploying the container and creating a new image wouldn't automatically create a new volume. Thanks for your help! Expected it would be a me issue, learn something new every day.

One final thing - the new volume obviously doesn't contain the data files of the old volume (world data etc.). Is this something I need to move across myself from old to new volume?

The suggestion of a new container+volume was just for sanity testing. I'd recommend keeping your existing data volume and just delete the corrupted minecraft_server.1.17.1.jar file.

Thanks! All sorted.


[#517] Issues running RC check against R15 branch - Pipeline Trigger 4.13

Addresses # 517
Description
This PR adds a pipeline trigger to concatenate the execution of the 02.A. Deploy skill bots and 02.B. Run skill test scenarios pipelines in main and releases branches.
Detailed Changes

Updated the runTestScenarios yaml adding configuration for a pipeline trigger.
Updated the default value for the DEPLOYBOTRESOURCESGUID variable to match the current pipeline name.

Testing
These images show the 02.B pipeline successfully triggered after the 02.A finishes its execution, both in main and in one of the releases branches.

Promoted to MS in PR# 541


GSoC feedback on the pvlib contribution process

This issue is for the 2024 cohort of GSoC students to document challenges related to contributing to pvlib.
The aim is to learn about the challenges that new contributors face, and hopefully be able to make changes to make the process easier.
2024 GSoC students: @echedey-ls, @ioannissifnaios, @dacoex
Mentors: @kandersolar, @AdamRJensen

I prefer [unitless] but I don't think we've made a consensus choice.
@pvlib/pvlib-core your vote? [unitless], [-] or nothing?


Icon lambda is off when no font found

All changes pushed, however it still looks incorrect when looking at the README. Let's wait a couple of days, maybe GitHub caches the images.

Works now.


chore(release): release

Release

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


Eventbrite infra update

Couple of tweaks to make sure the service works.
The terraform work was because we're using v3 of the wellcometrust/terraform-modules.
The router was to allow the request to go through to v2.

Merging as it's in prod and don't want further deploys to keep changing our infra.


Remove bottom border from last running session in running session list

Small visual improvement:
Before

After

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

Thanks for the PR :) The line was actually an intentional part of the design, but I don't have a strong preference, @josevalim?

I am fine either way.

:D


Include sprockets-es6

Now that sprockets-es6 has support for sprockets 3, see this PR, I believe we can add it to pah and take advance of es-next features today. It's also good to remember that with es6 you can still write the old syntax. I.e: var, function etc. So any existing script in es5 just works.
This issue is not related with any effort to create a development workflow like #487, it's just to enhance the syntax.
//cc @Helabs/developers

@marcioj I have some questions about it:

This will work with all the bourbon family?
This will change the way we need to write js to our app? I mean, beside the manifest I need to do some other stuff before add a new JS file
You are using this on a app today? If not, what you think about using this before we add to pah?

This will work with all the bourbon family?

Yes

This will change the way we need to write js to our app? I mean, beside the manifest I need to do some other stuff before add a new JS file

Yes. The javascripts won't be evaluated in a global scope since they will use es6 modules. Instead you will need to require what you want. To make things simple I believe I will add something like this:
app/assets/javascripts/application.js
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .

$(document).on('page:load ready', function() {
  require('main.js')['default'];
});

app/assets/javascripts/main.es6
import otherStuff from './other_file'

export default function() {
  // main entry point put your scripts here, import other things using `import` etc
 otherStuff();
}

I intend to just make the files ending with .es6 be processed in this way.  To make it clear that they are transpiled. Creating files ending with .js will work in the same way as today.

You are using this on a app today? If not, what you think about using this before we add to pah?

Make sense, I have not used it yet. If someone start a new project before me and want to use this, ping me.

Closing, since we are not using this on a real app.
Later we can comeback to this issue.


[flutter_tools] _CastError parsing plugin yaml

on stable/3.7.1
command flutter --no-color pub get
_CastError: type 'Null' is not a subtype of type 'String' in type cast
at new Plugin._fromLegacyYaml(plugins.dart:198)
at new Plugin.fromYaml(plugins.dart:88)
at _pluginFromPackage(flutter_plugins.dart:63)
at findPlugins(flutter_plugins.dart:88)
at <asynchronous gap>(async)
at PackagesGetCommand.usageValues(packages.dart:102)
at <asynchronous gap>(async)
at FlutterCommand.verifyThenRunCommand(flutter_command.dart:1423)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1257)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:283)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:229)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:64)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:91)
at <asynchronous gap>(async)

This was already handled upstream in https://github.com/flutter/flutter/commit/38630b6bd140cea671e576ad83019caf158a0d8c#diff-db5a205513447a97758d6449b90986cf2722a3ecf521f19b9aafda1935c690f5R190


How to correct the align of columns

Thanks for your great plugin.
When I have this class:
.twocolumns  {
columns: 2 12em;
}
I get this result:

What can I do to align the columns correct?

Hi @merlinuwe! Thanks for reporting that issue.
Unfortunately I'm not maintaining this project anymore.
But feel free to PR if you wanted to fix this by yourself :)


Add some Migration tests

This PR add some unit tests cases of Migration module.
I noticed that the create_if_not_exists function has the 'backward' tests, is it worth doing the 'forward' tests?

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Comparing deck.gl rendering vs maptiler

url:
https://api.maptiler.com/tiles/terrain-quantized-mesh/13/3090/5737.terrain?key=...
bounds:
-112.08251953125,
36.0791015625,
-112.1044921875,
36.057128906249986
x, y, level = 3090, 5737, 13

import numpy as np
self =GeographicTilingScheme()
class GeographicTilingScheme:
    def __init__(self):
        self._numberOfLevelZeroTilesX = 2
        self._numberOfLevelZeroTilesY = 1
        self._rectangle = (-np.pi, -np.pi/2, np.pi, np.pi/2)

    def getNumberOfXTilesAtLevel(self, level):
        """
        Gets the total number of tiles in the X direction at a specified level-of-detail

         @param {Number} level The level-of-detail.
         @returns {Number} The number of tiles in the X direction at the given level.

        """
        return self._numberOfLevelZeroTilesX << level

    def getNumberOfYTilesAtLevel(self, level):
        """
        Gets the total number of tiles in the Y direction at a specified level-of-detail.

         @param {Number} level The level-of-detail.
         @returns {Number} The number of tiles in the Y direction at the given level.

        """
        return self._numberOfLevelZeroTilesY << level

    def tileXYToRectangle(self, x, y, level):
        rectangle = self._rectangle

        xTiles = self.getNumberOfXTilesAtLevel(level)
        yTiles = self.getNumberOfYTilesAtLevel(level)

        width = rectangle[2] - rectangle[0]
        xTileWidth = width / xTiles
        west = x * xTileWidth + rectangle[0]
        east = (x + 1) * xTileWidth + rectangle[0]

        height = rectangle[3] - rectangle[1]
        yTileHeight = height / yTiles
        north = rectangle[3] - y * yTileHeight
        south = rectangle[3] - (y + 1) * yTileHeight

        return np.array([east, south, west, north])

    def tileXYToNativeRectangle(self, x, y, level):
        """
        Converts tile x, y coordinates and level to a rectangle expressed in the native coordinates
        of the tiling scheme.

        Args:
            - x: The integer x coordinate of the tile.
            - y: The integer y coordinate of the tile.
            - level: level The tile level-of-detail.  Zero is the least detailed.
        """
        return np.degrees(self.tileXYToRectangle(x, y, level))

from shapely.geometry import box
bounds = list(np.degrees(self.tileXYToRectangle(x, y, level)))
bounds[1] = np.abs(bounds[1])
bounds[3] = np.abs(bounds[3])

print(bounds)
g = box(bounds[0], bounds[3], bounds[2], bounds[1])
from keplergl_cli import Visualize
g.exterior.coords
Visualize(g)
type(g)
g.exterior.coords
box(*np.degrees(self.tileXYToRectangle(x, y, level)))

It turned out that the entire issue was using the wrong ordering for axes. Rasterio and imageio load rows/columns into different orders.
Fixed in https://github.com/kylebarron/pymartini/commit/4bf075882c17500c22a97ed3d16285d7d54fd1dc


http://scratch.mit.edu/projects/101290903/

Can't get main cat sprite to show up; only thing happening with this sprite in code is position being set to 0, 0 and showing.
http://scratch.mit.edu/projects/101290903/
http://phosphorus.github.io/#101290903
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Also, color effect doesn't seem to be working

Color effect not coded yet, only ghost effect.


Json support with 'null' value and missing fields

Goals
Like some many people I would like to store under Realm some json sent by servers. I don't have control of these servers. I can not change the json. Most of the time they send only fields with values to reduce the network bandwidth or sets the value to 'null'.
Expected results

Ignore missing fields
Ignore null values

Actual results
Generate exceptions:
RealmTest[86832:5424687] *** Terminating app due to uncaught exception 'RLMException', reason: 'Invalid value '<null>' for property 'value2Null''

RealmTest[86832:5424687] *** Terminating app due to uncaught exception 'RLMException', reason: 'Invalid value '<null>' for property 'value3Optional''

Steps to reproduce
1 Define RMLObject:
@interface DataFromServer : RLMObject
@property NSString *value1;
@property NSString *value2Null;
@property NSString *value3Optional;
@end

2 Load this json and store on Realm:
 {
    "value1": "XXXXXX",
     "value2Null": null,
}

Version of Realm/Xcode/OSX
0.90.5/6.1.1/10.10.1
I use cocoapod

@TofPlay, we're sketching out building some APIs that would make that sort of object mapping a lot easier -- for example, https://github.com/realm/realm-cocoa/issues/1063, https://github.com/realm/realm-cocoa/issues/694, and https://github.com/realm/realm-cocoa/pull/1272. In short, it's on our radar as something we need to address, but in the meantime, you'll need to remove those null values yourself before passing them into Realm (and also perhaps take advantage of Realm's support for defaultValues).

@segiddins I talked with my boss and without a real support to integrate json we will move towards an alternative. Tell us when you have a more mature version of it reassess Realm.

Have you taken a look at Realm-JSON yet? It's a third party framework that a lot of people have reported success using. (There are also some other old standbys such as Mantle and RestKit that do more general object mapping).

Yes. We also evaluate this components. Is not fully compatible with json, the design is pretty bad (with 1/3 of the code I was able to do the same) and it's add an overload. The solution is not to add a layer on a layer to patch Realm. The proper solution is that Realm supports concepts of null properties and autoresized missing values.

We agree about nullable properties and we're actually working on adding those into the core database. As for missing properties, that's exactly what the defaultProperties are used for.

A missing property conceptually is not exactly the same as to set the property with a default value. When a server sent a json with a missing property this means that the property is not used at all. Set a default value means we will used the property with a default value. Missing and default value are different concepts.
Let us know when nullable properties will be supported and we will evaluate Realm.

I use Realm extensively in our application currently and working around this limitation is not that big of a hassle. You can just wrap values that are optional in the JSON (i.e. null or missing) in a custom RLMObject subtype, such as OptionalDate, which encapsulates the NSDate value but can actually be null in Realm as it inherits from RLMObject.
This doesn't really add any overhead to speak of and is a reasonable solution for the time being. I would strongly encourage @TofPlay not to stop using Realm just because of this. This is just my opinion, but using Realm has saved me insane amounts of time and headache.

Has there been any update on this?

A little here https://github.com/realm/realm-cocoa/issues/628#issuecomment-66784833. We should have null support for strings very soon. We will be running a quick beta test so be sure to checkout/follow that thread


DSP- 7976/7977 implement dispatcher / interface of statistics calculation module.

looks good

LTGM

Good to go.


Encourage the library authors to publish an Ivy distribution.

Like it is said, will you consider moving to Ivy?

There is a fork by @hschmidtchen that now supports Ivy: https://github.com/hschmidtchen/ngx-quill-upload-ivy


KS-19 not needed

ED Has recently added the SON-9/KS-19 to the Core Game. Thus, having it in the HighDigitSAMs mod won't help.

Removed by PR 47


openssh*: 9.4p1 -> 9.5p1

Description of changes
Changelog: https://www.openssh.com/releasenotes.html

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

The test seems to be flaky on Hydra recently, maybe related?
server_localhost_only: output:
Test "localhost-only" failed with error: "command `ss -nlt | grep '<IP_ADDRESS>:22'` failed (exit code 1)"

cleanup

When updating from nixos-23.05 to nixos-23.11, I found that commit 2d99e37a9b78efe8aefdc77d2c7e6cb50896e70a (bumping openssh from 9.4p1 to 9.5p1) causes significant slowness with X11 forwarding over SSH.
With 9.4p1, X11 forwarding over SSH seemed mostly instant (as if I was just using an X11 application on my local machine), while with 9.5p1, X11 forwarding is unbearably slow (as if I was using an X11 forwarding to a machine on the other side of the world, over a very slow link).  When testing this, I was SSH'ing to the same machine on my local network.
I need to check the release notes for 9.5p1, and possibly the commit history to see if anything pops out.  But I wanted to leave a comment in case anyone else noticed this and was experiencing a similar slowness.


Impossible to modify parameters that are not dict with automate_training

When using the CLI ivadomed_automate_training, 4 parameters cannot be changed in the hyperparameter file: gpu, command, log_directory, model_name, and debugging. The script assumes that the parameters changed will be dictionaries due to this line, and the parameters mentioned above are not dictionaries.
This issue should be fixed. All parameters should have the option to be modified with ivadomed_automate_training.
see comment

Right, I actually noticed that issue when I was trying to write tests for automate_training.py. I can take a look after I've finished?

Yes, absolutely! Thank you @ahill187

Just taking a look at the automate_training.py, from my preliminary understanding, it creates combinations of the different hyperparameters, and then runs training on all the different options? Since the code uses the gpu_ids list to do parallel processing, I'm not sure it makes sense for that one to be a hyperparameter?

Just taking a look at the automate_training.py, from my preliminary understanding, it creates combinations of the different hyperparameters, and then runs training on all the different options? Since the code uses the gpu_ids list to do parallel processing, I'm not sure it makes sense for that one to be a hyperparameter?

Yep, absolutely! But maybe, we would want to have different model names or maybe specific gpus according to other hyperparameters. This is not a pressing issue since the 4 parameters that can't be changed with automate_training are not crucial (or typically used for hyperparametrisation). It would be cleaner to not have this restriction and let it in the hands of the user to choose what parameters should be changed in the config file.

Yep, absolutely! But maybe, we would want to have different model names or maybe specific gpus according to other hyperparameters. This is not a pressing issue since the 4 parameters that can't be changed with automate_training are not crucial (or typically used for hyperparametrisation). It would be cleaner to not have this restriction and let it in the hands of the user to choose what parameters should be changed in the config file.

Ah okay. I also have a question about the intended function of multi_params. So suppose the initial_config is this:
      {
          "training_parameters": {
              "batch_size": 18,
              "loss": {"name": "DiceLoss"}
          },
          "default_model":     {
              "name": "Unet",
              "depth": 3
          }
      }

And our hyperparameters file is this:
      {
        "training_parameters": {
          "batch_size": [2, 64],
          "loss": [
            {"name": "DiceLoss"},
            {"name": "FocalLoss"}
          ],
        },
        "default_model": {"depth": [2, 3]}
      }

If we selected multi_params, does that apply to all the categories, or just within a category, i.e., should it be:
    batch_size = 2, loss = DiceLoss, depth = 2
    batch_size = 64, loss = FocalLoss, depth = 2
    batch_size = 2, loss = DiceLoss, depth = 3
    batch_size = 64, loss = FocalLoss, depth = 3

or
    batch_size = 2, loss = DiceLoss, depth = 2
    batch_size = 64, loss = FocalLoss, depth = 3

?

Ah okay. I also have a question about the intended function of multi_params. So suppose the initial_config is this:
      {
          "training_parameters": {
              "batch_size": 18,
              "loss": {"name": "DiceLoss"}
          },
          "default_model":     {
              "name": "Unet",
              "depth": 3
          }
      }

And our hyperparameters file is this:
      {
        "training_parameters": {
          "batch_size": [2, 64],
          "loss": [
            {"name": "DiceLoss"},
            {"name": "FocalLoss"}
          ],
        },
        "default_model": {"depth": [2, 3]}
      }

If we selected multi_params, does that apply to all the categories, or just within a category, i.e., should it be:
    batch_size = 2, loss = DiceLoss, depth = 2
    batch_size = 64, loss = FocalLoss, depth = 2
    batch_size = 2, loss = DiceLoss, depth = 3
    batch_size = 64, loss = FocalLoss, depth = 3

or
    batch_size = 2, loss = DiceLoss, depth = 2
    batch_size = 64, loss = FocalLoss, depth = 3

?

Yes, good question. It would be the second option: a list of two items, will generate 2 configuration files. Let me know if there would be a way to make this clearer. I agree the description is not super intuitive.

Yes, good question. It would be the second option: a list of two items, will generate 2 configuration files. Let me know if there would be a way to make this clearer. I agree the description is not super intuitive.

Okay perfect thank you! Just wanted to make sure I had the intended functionality correct before refactoring :) I'm going to add more of an explanation to the docstrings, and also some tests to test the different options. Thanks for your help!!

Okay perfect thank you! Just wanted to make sure I had the intended functionality correct before refactoring :) I'm going to add more of an explanation to the docstrings, and also some tests to test the different options. Thanks for your help!!


Add a command to download image config only

Connects to https://github.com/resin-io/hq/issues/774.
Support should be available in the SDK once https://github.com/resin-io/resin-sdk/pull/313 is done.

This isn't necessary, as the CLI can generate that same config all by itself with resin config generate (and we're discussing other changes around that anyway). Closing for now.


Enhance structure and add listing option

This pull request fixes some double future resolve problems introduced in the previous and adds 2 new functions:

The ability to optionally bind after a check, to allow checking for existence without having to supply a password (required to validate if a supplied LDAP account exists when associating an application entity to an LDAP account)
The ability to retrieve a listing of ldap accounts in the supplied dn, which makes it possible to search the directory (required for client-sided autocomplete/typeahead)

Are you sure this change is correct? It seems like this PR converts this login/account package into an LDAP search package?! The primary objective of this package should be the ability to log-in using LDAP and not to search for users...
I was trying to migrate the package to Meteor 1.3, because out-of-the-box it wouldn't work anymore with the searchBeforeBind functionality, where it was possible to use the username and search a field in LDAP for the username, to retrieve the DN in order to authenticate.
Additionally the "new" functionality is not documented at all...

@ilfrich thank you for the feedback. The changes should make it possible to:

authenticate before a "searchBeforeBind" which would be required in a registry that does not allow anonymous searches
check for existence without binding
list without binding

The latter two dont require you to supply a password as they basically execute a searchBeforeBind action without the consequential binding. Considering the scope of the library to me it made sense to add this enhancement as it provides a lot more flexibility at very low additional cost of complexity.
Now I changed it in order to fill a gap on my end and made a pull request to share. It could be that I missed something during the testing of the adjustments since the lib does not incluse a regression set. If so, please do share the problem and if possible a fix.
It would be valuable to adjust the docs with the added features and include some form of regression testing. If my proposed changes caused you any trouble I appologize. The setup works in my application with the whole feature set used, except for anonymous searching.
Kind regards,
Chris

@cmkramer Anonymous search is precisely what I need. Imagine your users use their email address to authenticate, but the dn is a different string, which even the user doesn't know (just a technical unique identifier). In this scenario, you need to search using the email to retrieve the LDAP record and then extract the dn from that record in order to bind.
Additionally I don't think this package should provide the following 2 features:

check for existence without binding
list without binding

Searching an LDAP / AD is a different task, which should be handled in a different package in order to keep it focused. Other accounts packages follow the same guidelines (e.g. accounts-facebook).

@ilfrich oh don't get me wrong. By saying "except anonymous search" I mean I don't use it in the application I use the library for. It doesn't mean that I believe it should not be included as a functionality. So if that would be broken it needs fixing.
The other part I can't say. It's not up to me to decide the vision and scoping behind this package. Could be that you're right, I just prefer to avoid having to basically write the same code again for another dependency, which returns a slightly different result.
Concerning the testing, you'd probably need a mock for the ldap server to at least unit test the setup. It could include an integration test with a standard open ldap testing server, yet that would probably not cover the whole nine yards.

Oh and concerning your described scenario on the anonymous search. The ldap I'm using only allows what you describe through an authenticated user. So basically the application has its own credentials for ldap, which allow it to query in order to avoid anyone or any application connected to the network to be able to query ldap.
Result is that you "bindBeforeFind" with the application credentials and "bindAfterFind" with the user supplied credentials in case of a proper login.


Bugfix: mask password fields

Add masked marshalling option which masks passwords and private keys when printing the config to console. Added MarshallerBuilder and UnmarshallerBuilder to for easier switching between media types and validating and non validating marshalling and unmarshalling.
Continue to port java.nio.file.Files static function invocations to FilesDelegate .

Codecov Report

Merging #436 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master    #436      +/-   ##
===========================================
+ Coverage      99.7%   99.7%   +<.01%
- Complexity     1008    1034      +26
===========================================
  Files           159     164       +5
  Lines          3366    3433      +67
  Branches        184     188       +4
===========================================
+ Hits           3356    3423      +67
  Partials         10      10

Impacted Files
Coverage Δ
Complexity Δ

...um/tessera/config/util/jaxb/MarshallerBuilder.java
100% <100%> (ø)
8 <8> (?)

...rum/tessera/config/util/XmlProcessingCallback.java
100% <100%> (ø)
1 <1> (?)

...com/quorum/tessera/config/util/jaxb/MediaType.java
100% <100%> (ø)
3 <3> (?)

...rum/tessera/config/migration/LegacyCliAdapter.java
100% <100%> (ø)
19 <0> (ø)
:arrow_down:

.../tessera/config/util/jaxb/UnmarshallerBuilder.java
100% <100%> (ø)
8 <8> (?)

...ain/java/com/quorum/tessera/jaxb/JaxbCallback.java
100% <100%> (ø)
1 <1> (?)

...main/java/com/quorum/tessera/io/FilesDelegate.java
100% <100%> (ø)
9 <1> (+1)
:arrow_up:

.../java/com/quorum/tessera/config/util/JaxbUtil.java
100% <100%> (ø)
14 <9> (+4)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fced27a...dc0db6a. Read the comment docs.


Improve error message when from dicts input is incorrect

The changeset is nice and small. Looks reasonable! Accepted => :heavy_check_mark:


Environment variables [8581]

Moved from overview to its own section.

Build status:

Build status:

Build status:

Build status:

Build status:


Modified free_list.allocateEligible so that it will allocate the value of toAllocate

It seemed apparant that allocateEligible should request 'max' bytes from the parent, otherwise a bigger subsequent allocation that takes the returned memory from the root may slice an array too large. I tested this by creating a class that was 24 bytes, allocating and then deallocating a number of them (4 at a time) on a free_list (with minSize 24, maxSize 108) on top of a mallocator, then switching to allocating a class that used the max, which caused a crash.

Sorry, I missed this for a while. Could you please rebase and clean up the unrelated commits? Thanks!

In the meantime the branch has been merged in the mainline, any chance you could retarget the PR as a PR for phobos?

I should be able to make the change, but in that case I want you to make it clear what you intend the code to do in the case that max == unbounded and how hasTolerance is supposed to factor into this.
Clearly, when min and max are finite, but differ, then an allocation request withing those bounds should allocate a buffer with max size, so that if the memory it put onto the free_list it can then be popped off and used interchangably by an allocation that requires a larger size, but is also in the allocator's bounds. Outside of those bounds, the allocation to forwarded to the parent allocator. However, the alocation mearly uses 'bytes', in the case that hasTolerance is true, yet I am not certain how you intend allocation to behave when the bounds are 'unchecked' and reliant on an owning allocator, as per the documentaion.

Totally missed this. Apologies! Could you please redo this PR against phobos?


Debug gmaps

Issue
Issue number - #192
PR type
resolve bugs/ improve code quality

Pull Request Test Coverage Report for Build 518

0 of 0   changed or added relevant lines in 0 files are covered.
17 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.3%) to 60.739%

Files with Coverage Reduction
New Missed Lines
%

file:/home/travis/build/AY1920S1-CS2103T-T10-4/main/src/main/java/seedu/address/logic/internal/gmaps/ClosestLocation.java
1
98.11%

file:/home/travis/build/AY1920S1-CS2103T-T10-4/main/src/main/java/seedu/address/websocket/util/UrlUtil.java
3
96.67%

file:/home/travis/build/AY1920S1-CS2103T-T10-4/main/src/main/java/seedu/address/model/GmapsModelManager.java
4
83.33%

file:/home/travis/build/AY1920S1-CS2103T-T10-4/main/src/main/java/seedu/address/websocket/Cache.java
9
49.24%

Totals

Change from base Build 517:
0.3%

Covered Lines:
4293

Relevant Lines:
7068

💛  - Coveralls


If Github is inaccessible, we don't timeout in timely manner

v0.25.0-rc1
Tried to connect to my Github enterprise account for authorization in Rancher.  The Enterprise VM was down so it didn't connect and now I can't get back into my account.  It eventually gave me a error page:

Expected:
The wait for the error page was forever, and at some point it should stop trying to log in and allow me back into the UI.

The UI should time out now.  Please retest.

Version - master 3/8
Verified fixed


Miflora not working (not getting sensor data)

Home Assistant release (hass --version):
0.58.0
Python release (python3 --version):
Python 3.5.3
Component/platform:
RPi 2 Stretch - venv
with CSR Bluetooth 4.0 dongle
Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Description of problem:
Does read miflora device at all.
Updating miflora sensor took longer than the scheduled update interval 0:00:30
12:16 helpers/entity_component.py (WARNING)
using miflora https://github.com/open-homeautomation/miflora/
works.
I have tired changing the timeout however I am not sure that behaves correctly.
Expected:
returns values for the sensor
Problem-relevant configuration.yaml entries and steps to reproduce:
  - platform: miflora
    mac: xx:xx:xx:xx:xx
    name: Ben the Flower
    force_update: false
    #imeout : 300
    median: 3
    retries : 10
    monitored_conditions:
      - moisture
      - light
      - temperature
      - conductivity
      - battery

Additional info:

platform: bluetooth_le_tracker worked on my system without problem

this maybe a repeat of https://github.com/home-assistant/home-assistant/issues/3458 however I not sure gatttool seems to working fine for me

Works fine for me on dev with the default configuration.
2017-11-25 16:58:06 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2017-11-25 16:58:06 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.mi_flora_moisture, old_state=None, new_state=<state sensor.mi_flora_moisture=unknown; unit_of_measurement=%, friendly_name=Mi Flora Moisture @ 2017-11-25T16:58:06.670874+01:00>>
2017-11-25 16:58:06 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.mi_flora_light_intensity, old_state=None, new_state=<state sensor.mi_flora_light_intensity=unknown; unit_of_measurement=lux, friendly_name=Mi Flora Light intensity @ 2017-11-25T16:58:06.671482+01:00>>

Can you check if your sensor is detected?
$ bluetoothctl
[NEW] Controller A3:A3:A0:B4:B4:B4 localhost.localdomain [default]
[NEW] Device C4:C5:E4:32:45:A4 Flower mate
Agent registered
[CHG] Device C4:C5:E4:32:45:A4 RSSI: -52

Yeap
$ bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:0D pimund [default]
scan on
[NEW] Device C4:7C:8D:65:BD:4C Flower care
[CHG] Device C4:7C:8D:65:BD:4C RSSI: -88
(I have tired moving it closer no luck)
Also note the device is running firmware 3.1.8

Have you tried to disable the Bluetooth LE tracker? Also, keep in mind that it can take a while till the Mi Flora sensors are populated.

I have no differnce and it been up for days now. Is there a way of getting more debug info. All I get is
Updating miflora sensor took longer than the scheduled update interval 0:00:30

I get the same error message since 0.58 but if I look at my influxdb values still come in rather frequently.

I have seen this problem in recent updates. With hassio afer a restart of bluetooth container I get data for a while until it gets stuck again

As reference: https://community.home-assistant.io/t/hass-io-xiaomi-sensor-show-nothing/34695

Miflora python modules just been released to 0.2 which may help fix this due to the backend change.

So  upgrading to 0.2 worked.
I had to alter miflora.py with simple modifications and I had to hard code gatttool location.
I don't have hass installed from git so I can't set up a pull request. Also dealing with a pull request is prob more work than just fixing the code. :)
I wait for a proper fix but this should fix it :)

Any chance the fix would go into next HA release?

I just added a pull request to get the new version number in.
@tactmaster
I cannot hard-code the path to gatttool as this might vary on different operating systems. If gatttool is installed via your normal package manager I would expect it to be on the PATH somewhere.


[wizard] add an account breaks when the target aws environment does not have StackSets enabled (which is not necessary in add single account

Is your feature request related to a problem? Please describe.
[wizard] add an account breaks when the target aws environment does not have StackSets enabled (which is not necessary in add single account
Describe the solution you'd like
When I use the wizard to add a single account that does not have StackSet enabled (which is typical for a newly minted aws account detached in an organization), I will not be able to proceed.
Describe alternatives you've considered
This should just work out of the box.
Additional context
Add any other context or screenshots about the feature request here.
Community Engagement
Help us prioritize this request and express your support by adding a 👍 reaction to the original issue. This will assist both the community and the maintainers in addressing this request.
Please avoid leaving "+1" or "me too" comments as they create extra noise for issue followers and do not assist in prioritizing the request. If you are considering working on this issue or have already submitted a pull request, kindly leave a comment.

fixed in https://github.com/noqdev/iambic/pull/478


presenting ActionSheet when a toast is displayed crash the app

Short description of the problem:
Presenting ActionSheet when a toast is displayed crash the app
What behavior are you expecting?
The ActionSheet should not be crashed, and the toast should be automatically closed
Steps to reproduce:
use this code :
import { ActionSheetController , NavController, ToastController} from 'ionic-angular';
import {Component} from '@angular/core';

@Component({
  template: `
    <ion-header>
    <ion-navbar hideBackButton>
        <ion-title>Credits</ion-title>
    </ion-navbar>
</ion-header>

<ion-content padding class="has-header components-demo cards-bg social-cards">

  <button block (click)="openMenu()">
    Action sheet
  </button>

  <button block (click)="showToast('bottom')">Toast Bottom</button>
</ion-content>`,
})
export class CreditsMain {
  constructor(public nav: NavController,  private toastController : ToastController, private actionSheetController : ActionSheetController) { }

  showToast(position: string) {
    let toast = this.toastController.create({
      message: 'Mmmm, buttered toast',
      duration: 2000,
      position: position
    });

    toast.present();
  }

  openMenu() {
    let actionSheet = this.actionSheetController.create({
      title: 'Albums',
      buttons: [
        {
          text: 'Delete',
          role: 'destructive',
          icon: 'trash',
          handler: () => {}
        },
        {
          text: 'Cancel',
          role: 'cancel', // will always sort to be on the bottom
          icon: 'close',
          handler: () => {}
        }
      ]
    });

    actionSheet.present();
  }

}

open the toast, and then the ActionSheet
the app is crashed :

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
browser_adapter.js:84 EXCEPTION: Error in ./AppRoot class AppRoot_Host - inline template:0:0
browser_adapter.js:84 ORIGINAL EXCEPTION: Expression has changed after it was checked. Previous value: 'false'. Current value: 'true'
Which Ionic Version? 1.x or 2.x
ionic 2 beta 11
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.3.0
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
OS:
Node Version: v4.4.6
NB : probably related to https://github.com/driftyco/ionic/issues/7449, but we should be able to present a toast and let the ability to the user to continue using the app (that can have 'permanent' popover/modal/actionsheet buttons)..

Hello! Thanks for opening an issue with us! This has actually already been fixed on another branch and will be in the beta.12 release. Thanks for using Ionic!


[FEATURE] Support for slack deploy hook

Description of the problem being solved

Running slack deploy --experiment=bolt  requires a hook for deployment. Is this on the roadmap?
(.venv) .venv ❯ slack deploy --experiment=bolt
Check .../logs/slack-debug-20240425.log for full error logs

🚫 A `deploy` hook was not found in the `slack.json` file (sdk_hook_not_found)

Suggestion:

Provide a command or script to run with the deploy command by adding a new hook.
The app will be re-installed to the selected team before invoking this hook.
Both SLACK_APP_TOKEN and SLACK_BOT_TOKEN environment variables will be provided.

About slack deploy: https://api.slack.com/automation/deploy

Hey @jota12x 👋 Nice find with the --experiment bolt! At this time we only have a recommended deploy strategy for apps built with the Deno SDK / Deno Hooks, which is deploying to the Run on Slack infrastructure.
The deploy hook gives you a way to set or override this strategy with a script or command of your own that can setup production settings however you'd like. This can be something like pushing to a remote branch for Heroku deployment.
Right now we don't have immediate plans to support Python as an additional hosted runtimes, but if this changes then this default deploy hook will be updated while project-specific overrides will be preferred! We'll share updates about these changes too.
Since we don't have immediate plans for this deploy hook I'll go ahead and close this issue, but I hope this is helpful. Of course, feel free to follow up with any additional questions!


Compiled tensorflow-gpu 1.40.0-rc1

It would be very helpful if you could provide a compiled dll of tensorflow-gpu 1.40.0-rc1 (for windows atleast) with AVX2 support along with the cpu version there.

We added the Microsoft.ML.TensorFlow.Redist as dependency for cross-platform.


error

L 04/23/2019 - 21:53:41: [SM] Call stack trace:
L 04/23/2019 - 21:53:41: [SM]   [0] GetClientEyeAngles
L 04/23/2019 - 21:53:41: [SM]   [1] Line 49, C:\Users\User\Desktop\scripts\minecraft.sp::Hook_EntitySound
L 04/23/2019 - 21:53:41: [SM] Exception reported: Invalid client index 536
L 04/23/2019 - 21:53:41: [SM] Blaming: minecraft.smx
L 04/23/2019 - 21:53:41: [SM] Call stack trace:
L 04/23/2019 - 21:53:41: [SM]   [0] GetClientEyeAngles
L 04/23/2019 - 21:53:41: [SM]   [1] Line 49, C:\Users\User\Desktop\scripts\minecraft.sp::Hook_EntitySound
L 04/23/2019 - 21:53:42: [SM] Exception reported: Invalid client index 533
L 04/23/2019 - 21:53:42: [SM] Blaming: minecraft.smx
L 04/23/2019 - 21:53:42: [SM] Call stack trace:
L 04/23/2019 - 21:53:42: [SM]   [0] GetClientEyeAngles
L 04/23/2019 - 21:53:42: [SM]   [1] Line 49, C:\Users\User\Desktop\scripts\minecraft.sp::Hook_EntitySound
L 04/23/2019 - 21:53:42: [SM] Exception reported: Invalid client index 536
L 04/23/2019 - 21:53:42: [SM] Blaming: minecraft.smx
L 04/23/2019 - 21:53:42: [SM] Call stack trace:
L 04/23/2019 - 21:53:42: [SM]   [0] GetClientEyeAngles
L 04/23/2019 - 21:53:42: [SM]   [1] Line 49, C:\Users\User\Desktop\scripts\minecraft.sp::Hook_EntitySound
L 04/23/2019 - 21:53:43: [SM] Exception reported: Invalid client index 533
L 04/23/2019 - 21:53:43: [SM] Blaming: minecraft.smx
L 04/23/2019 - 21:53:43: [SM] Call stack trace:
L 04/23/2019 - 21:53:43: [SM]   [0] GetClientEyeAngles
L 04/23/2019 - 21:53:43: [SM]   [1] Line 49, C:\Users\User\Desktop\scripts\minecraft.sp::Hook_EntitySound
L 04/23/2019 - 21:53:43: [SM] Exception reported: Invalid client index 536
and spam spam

Fixed within the latest commit

Will wood doors be added in the future?

Doors are something i cant make because player is unable to walk between two blocks. Player is to wide for them. This is fixable by making blocks larger. But in this case player won't be able to jump on the block.
So, doors can be made but they will be useless.


Installation error for Apex

WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option / --install-option. Consider using --config-settings for more flexibility.
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Processing c:\users\haose\github\mplug-owl-main\apex
Running command python setup.py egg_info
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\haose\Github\mPLUG-Owl-main\apex\setup.py", line 130, in
_, bare_metal_version = get_cuda_bare_metal_version(CUDA_HOME)
File "C:\Users\haose\Github\mPLUG-Owl-main\apex\setup.py", line 17, in get_cuda_bare_metal_version
raw_output = subprocess.check_output([cuda_dir + "/bin/nvcc", "-V"], universal_newlines=True)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
torch.version  = 2.0.0+cu117
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: 'C:\Users\haose\anaconda3\envs\owl\python.exe' -c '
exec(compile('"'"''"'"''"'"'
This is  -- a caller that pip uses to run setup.py

- It imports setuptools before invoking setup.py, to enable projects that directly
import from distutils.core to work with newer packaging standards.
- It provides a clear error message when setuptools is not installed.
- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so
setuptools doesn'"'"'t think the script is -c. This avoids the following warning:
manifest_maker: standard file '"'"'-c'"'"' not found".
- It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
file = %r
sys.argv[0] = file
if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\Users\haose\Github\mPLUG-Owl-main\apex\setup.py'"'"',), "", "exec"))' egg_info --egg-base 'C:\Users\haose\AppData\Local\Temp\pip-pip-egg-info-h58h_b5f'
cwd: C:\Users\haose\Github\mPLUG-Owl-main\apex
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Hi, all! Just quick notice about our latest version of mPLUG-Owl which remove the dependency of apex! And it is more easy to use


Missing the Output JSON file ...

This question might sound silly, but I am able to use TwitterScraper successfully (with the command twitterscraper “” --output=tweets.json”. but I am unable to retrieve my json file (Logging shows that data is being collected:  Example :
INFO: Got 137 tweets (20 new).
INFO: Got 157 tweets (20 new).
INFO: Got 177 tweets (19 new).
INFO: Got 196 tweets (19 new).
¸INFO: Got 215 tweets (17 new).
INFO: Got 232 tweets (20 new).
INFO: Got 252 tweets (19 new).
)
Specifying the exact path /Users/blahblah/tweets.JSON did not make a difference.
What am I missing? Thanks for your help in advance,

Hi @GeekByFreak , Could you try to output with the command "twitterscraper -o filename query"
with the latest version (install either from github or from pypi).

Thanks @taspinar. Just did that.
bash-3.2$ twitterscraper -o tweets.JSON "weather"
INFO: Running iteration no 1, query is 'weather'
INFO: Querying weather
INFO: Got 0 tweets (20 new).
INFO: Got 20 tweets (20 new).
INFO: Got 40 tweets (18 new).
INFO: Got 58 tweets (19 new).
INFO: Got 77 tweets (20 new).
^Z
[4]+  Stopped                 twitterscraper -o tweets.JSON "weather"
bash-3.2$ ls
But still no .JSON file... :-<

uhm from that log you pressed Ctrl+Z which on a normal unix system suspends the process so the process never ends nor continues and you will not get any JSON file. Press Ctrl+C instead to save everything it scraped until then!

@adtac is this connected to your issue?

@sils Nope, @GeekByFreak is suspending the process. So the program never got to the file write phase. (BTW, the Ctrl-C issue happens only when multiprocessing is involved - so it doesn't happen for commands with limits.)
@GeekByFreak try running fg. This will resume the suspended process. And in the future, you should probably use Ctrl-C :)

I feel silly now :-( :-p. Thank you all for your quick help!


assert() or ASSERT()?

Right now, I'm using a custom ASSERT() defined in common.h.
But if everyone prefers using the standard assert(), we could change it to that everywhere.

What’s the reason to have your own assert()?

For Slidescape, mainly so it would trigger my own fatal error procedure I've been using (panic()) and it gives me control over setting breakpoints and the like. But it seems the normal assert() also does the job well enough.

If it does, I'd propose to change it. (I'm now working on getting a proper python wrapper, so starting to revisit all this...)

Ok, agreed.

I tried to make the change, but now when I use the regular assert() I can't get the debugger to break on failed assertions anymore (currently using CLion on Windows). Because I rely on breaking on assertion failures for debugging, I think I should leave the current ASSERT() in place until I know how to fix this.


[PECO-1117] Allow legacy codepath for parameterized queries to be used.

We need to allow for parameterized queries to be used in a legacy matter.

Please sign your DCO. It's easy to do it now before you have more commits later.

Closing as we implemented this in #267 with tests.


Deployment

I love the set up but I was wondering where can I deploy a node server like this one ?

🤔 digital ocean, linode, heroku, amazon web services those are the big fishes

Thanks


Exception with HA 2023.5.2

Getting the following error after updating to 2023.5.2:
2023-05-08 13:30:30.796 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.eventdate, topic: 'homeassistant/sensor/BCFF4D81C70A/eventDate/state' with payload: b'Mon, 08 May 2023 18:30:30 GMT'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state
    numerical_value = int(value)
ValueError: invalid literal for int() with base 10: 'Mon, 08 May 2023 18:30:30 GMT'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests
    entity.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state
    raise ValueError(
ValueError: Sensor sensor.eventdate has device class None, state class measurement unit timestamp and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: Mon, 08 May 2023 18:30:30 GMT (<class 'str'>)

Confirmed I see this on 2023.5.2 😒 Trying to figure out what they changed that broke this.

I think it might be because of this change: https://github.com/home-assistant/core/pull/85605

Found at least 5 other reports of add-ons hitting this. Nothing I can do at this point but wait for a new HA release that fixes it.

Published this change, now I just have to figure out how to get HomeAssistant to recreate the sensor with the new type. I've nuked my old sensor but somehow the discovery message didn't get published on startup. Gotta mess around with this more tomorrow.

Progress? Now I get this error:

ValueError: Sensor sensor.eventdate has a unit of measurement and thus indicating it has a numeric value; however, it has the non-numeric device class: timestamp

So maybe I have to get rid of the unit of measurement and this will be solved.


Functional tests 03 06 2022

:bricks: (fs): Add /fs directory structure
:bento: (certs): Add CA certificates needed for WiFi download
:truck: (firmware): Update /fs/usr/os path where needed
:chart_with_upwards_trend: (tracking): Add /fs/usr/share/reboots tracking file
:bento: (wav): Add Für Elise wav file
:wrench: (bootloader): Add /fs/etc/bootloader-reboots_limit configuration
:wrench: (bootloader): Add /fs/etc/bootloader-battery_hysteresis configuration
:wrench: (bootloader): Add /fs/sys/bootloader_version
:truck: (config): Update Configs into /fs/etc path
:truck: (sys): Update bootloader-version path
:wrench: (bootloader): Add /fs/usr/share/factory_reset_counter
:truck: (usr): Update factory_reset_counter path
:bento: (vid): Add animation-face vid files
:truck: (videos): Update videos path
:wrench: (sys): Add os-version + update path
:bento: (img): Add robot-emotions img files
:bento: (img): Add pictos img files
:bento: (img): Add battery img files
:bento: (img): Add logo img files
:truck: (img): Update image paths
:alien: (boost sml): Update new Boost SML features
:art: (sml): Upgrade sm.is function
:art: (rc): Update IsBleConnected on checking sm state
:white_check_mark: (tests): Update tests
:sparkles: Add Working behavior
:art: Add Working state
:white_check_mark: (tests): Add Working tests & update existing tests
:truck: (images): Change image to neutral 2 (true neutral)
:truck: (behavior): Update neutral 2 path

closing as v1.0.1 has been released


Problem loading menu dialog

Hi!  I'm using your save system and I'm having the same problem. I'm creating a visual novel. When I save the game progress in the dialogue menu, nothing happens when loading this save. Moreover, saving works fine in all other cases, portraits, say dialogue and backgrounds are loaded, but there is no dialogue menu. help me please!!!!!

Sorry for the late response. Can you send a version of the project with the custom assets removed, as well as instructions on replicating the bug?

I'm not very good at this, but I hope I can help...I didn't quite understand what you mean, sorry.
Here is the version (I hope this is what you need) and the errors that occur (which don’t seem to relate to the problem, but I hope it helps)
And this is what loading in the elections looks like...


Vinardo FF

Hi,
When I'm trying to use the vinardo ff, it gives following error:
ERROR: Cannot score the pose. Affinity maps were not initialized.
My command: ~/vina_1.2.0_linux_x86_64 --ligand ligand.pdbqt --receptor protein.pdbqt --center_x 15.495 --center_y 2.367 --center_z 15.477 --size_x 20 --size_y 20 --size_z 20  --out vina.pdbqt --score_only --scoring vinardo
Same command works for vina scoring function.
Any help would be appreaciated!
Beset,
Lin

i was just going to post the same. it doesnt work for me either

Hi Lin and ccbiozhaw,
Sorry small bug. The issue was fixed in the last PR #13. You can now git pull the new version.
Tell me if you have any issues.
Jerome.

Hi Jerome,
Could you update the binary as well? I was using that for my calculations...
Thanks!
Best,
Lin

Hi Lin,
I just updated the linux binary at https://github.com/ccsb-scripps/AutoDock-Vina/releases/tag/v1.2.0

Thanks!


Support high-performance network plugin

In addition to weave (which is the default). Possible candidates are:

calico
canal
kube-router

This still needs more research in order to chose a single network provider as an alternative to weave. Intermediate notes, to be edited if needed:

informal benchmarking with iperf on packet.net, but the results are difficult to compare without better CPU utilization metrics: https://gist.github.com/SpComb/4b5b74f0bc0217b7a9e05d0530bd3a6c

kube-proxy + VXLAN (Weave fastdp with trusted subnets, and also the default flannel VXLAN backend) is very sensitive to Linux softirq contention, and iperf throughput is severely limited by single-core performance...

enabling Linux RPS on the phsical network interface has a significant impact on total throughput by balancing the softirq load across multiple cores

Weave is the only network implementation that I'm aware of which is suitable for multi-region deployments using public IP addresses across untrusted networks

Weave ipsec has very high CPU overhead (unsurprising)
The weave-npc is limited in terms of functionality

https://github.com/weaveworks/weave/issues/2624 no egress policy support
https://github.com/weaveworks/weave/issues/3168 no ipBlock support (rules using ipBlock are handled as empty pod selectors instead, matching all inter-pod traffic)

Uses its own IPAM :frowning_face:

more complex than the kube podCIDR allocation
problematic in terms of node removal and cleaning up addresses

kube-router is equivalent to calico in terms of the resulting network topology

only differs in local bridge vs p2p links for pods
much simpler/cleaner implementation than calico (go-bgp vs confd + bird): https://github.com/cloudnativelabs/kube-router/blob/master/app/controllers/network_routes_controller.go
more limited in terms of configuration options

not going to work on e.g. DigitalOcean because it cannot be forced to use IPIP tunneling for nodes on the same subnet

the NPC seems to be full-featured
kube-proxy --proxy-mode=ipvs presumably means that there is no advantage to using the kube-router IPVS service proxy anymore

unless some of the advanced features like DSR from pods make sense, although I'm a little skeptical about those...

Not affected by the same IP-IP tunnel source address weakness as flannel (https://github.com/coreos/flannel/issues/961#issuecomment-372704073)
The external BGP integration is not flexible enough to support all usecases

e.g. announcing service externalIPs without announcing podCIDRs

although that usecase might be better served by https://github.com/google/metallb

flannel is the reference design

the default VXLAN backend is mostly equivalent to weave fastdp across trusted subnets in terms of performance
no NPC (see canal)
the IP-IP backend has slightly less overhead than the default VXLAN backend

but it's insecure if used with public IPs: https://github.com/coreos/flannel/issues/961

has an experimental IPSec backend which would be worth testing

Calico seems to be the most mature

the Kubernetes API datastore mode is still "beta"

but I doubt that hosting etcd for calico would be worth the effort

The confd + bird implementation seems like a pile of hacks compared to the go-BGP implementation in kube-router

But it works...

The calico NPC is probably the most advanced

Also the most complex rule structure
Uses explicit rules to whitelist IP-IP packets (ref flannel's source-address insecurity)

Equivalent perf with IP-IP tunneling compared to kube-router or flannel (no surprise)
The canal implementation also seems more complex than expected, but there may be a reason for that

still uses the calico CNI plugin instead of the flannel CNI plugin

TODO: further evaluate calico, or flannel + canal, in more detail


feat(src/useRetain): useRetain: useMemo but with a callback to check …

useRetain: useMemo but with a callback to check that factory fn can be invoked

Also, why is there changes to yarn.lock?

I just run yarn installl. Which version node do you have?

16, but dependencies are maintained via dependabot.
Besides from that I was asking not about origin, but unrelated changes in pr.
You should remove lockfile changes from pr

:tada: This PR is included in version 15.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


i can´t sign in to any accounts

Type: Bug
I was able to log in before, but now I can't.
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
AMD Ryzen 7 2700 Eight-Core Processor           (16 x 3194)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.93GB (11.08GB free)

Process Argv
--crash-reporter-id 6ef9d14b-2a6f-4ef2-8551-ed824d50d67e

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

LiveServer
rit
5.7.9

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixhidewlkth:30730051
hidesbindicator:30760978
pythongtdpathcf:30739705

Can you follow these steps so that we can get more information on what's going on?

Trigger the sign in
Wait for the issue to happen...
Open the Output pane (ctrl+shift+u I think on Windows)
drop in this issue he contents of the following:

GitHub Authentication Output channel

how can i remove github account from vscode?
Enviado do Outlookhttp://aka.ms/weboutlook

De: Tyler James Leonhardt @.>
Enviado: terça-feira, 6 de junho de 2023 22:10
Para: microsoft/vscode @.>
Cc: yamadabruno @.>; Author @.>
Assunto: Re: [microsoft/vscode] i can´t sign in to any accounts (Issue #184451)
Can you follow these steps so that we can get more information on what's going on?

Trigger the sign in
Wait for the issue to happen...
Open the Output pane (ctrl+shift+u I think on Windows)
drop in this issue he contents of the following:
*   GitHub Authentication Output channel

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/184451#issuecomment-1579522524, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A56IXZLOWLEULWQLOTXYETLXJ6TGRANCNFSM6AAAAAAY5AE4XA.
You are receiving this because you authored the thread.Message ID: @.***>

I thought you were having issues signing in?
In any case, this is how you sign out of VS Code:

i can´t signed more

What are you trying to sign in to?

github

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Fix file endings

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


 Please check the following references to get details.

http://stackoverflow.com/a/5272612/1677041
http://stackoverflow.com/a/14259595/1677041

For our case, this issue makes our product crashed when presenting a UIAlertController object, it causes a recursive call between method shouldAutorotate and supportedInterfaceOrientations.
YES, the UINavigationController is used in inner UIKit, the category will affect its inner logic of UIKit as the Objective-C language is dynamic.
I didn't dig it into so much, but inheriting and/or KVO(not KVC) on UINavigaionController are the prefer choice.

Resolved with this.

thank you ,I will fix this bug


Feature request: Ability to hide Role/Job configuration

Hello! I saw this plugin today and hoped it would do exactly what it does, and I'm very appreciate of that. Thank you for this! I've been experimenting with addings tags/text to people above their heads to remind me of certain things and it seems to work for that. However, it's a bit of a pain to scroll past all the empty job/role entries to get down to the custom ones, so I was wondering if we could have a toggle to hide the job/role entries (and optionally the custom ones, for people who don't want to use those)?

New UI in <IP_ADDRESS> should address your concerns, give it a spin!