[Python] Can I train each layers separately?

For example, in the /mxnet/example/minist/mlp.py,
data = mx.symbol.Variable('data')
fc1 = mx.symbol.FullyConnected(data = data, name='fc1', num_hidden=128)
act1 = mx.symbol.Activation(data = fc1, name='relu1', act_type="relu")
fc2 = mx.symbol.FullyConnected(data = act1, name = 'fc2', num_hidden = 64)
act2 = mx.symbol.Activation(data = fc2, name='relu2', act_type="relu")
fc3 = mx.symbol.FullyConnected(data = act2, name='fc3', num_hidden=10)
mlp = mx.symbol.Softmax(data = fc3, name = 'mlp')

it has three hidden layer. Is it possbile to train the hidden layers using some unlabeled data, and then using some labeled ones to fine-tune the whole net?
Maybe it is similar with this issue: Is it possible to parallize differen layers on different GPUs (https://github.com/dmlc/mxnet/issues/338)? But I'm not sure how to do it in my code. Thanks.

There is also a related discussion on adding attributes to symbols (#267). One reason is to support this kind of manipulation (e.g. Readonly or Frozen attribute to some symbols). While there is no specific plan for adding that feature yet. Currently I think what you can do is to hack into model.py and manually skip updating the gradients corresponding to the symbols that you want to skip, around here: https://github.com/dmlc/mxnet/blob/master/python/mxnet/model.py#L312

Next PR will contain BlockGradientOp, which can be used to block gradient
backprop
On Wed, Oct 21, 2015 at 07:35 Chiyuan Zhang<EMAIL_ADDRESS>wrote:

There is also a related discussion on adding attributes to symbols (#267
https://github.com/dmlc/mxnet/issues/267). One reason is to support
this kind of manipulation (e.g. Readonly or Frozen attribute to some
symbols). While there is no specific plan for adding that feature yet.
Currently I think what you can do is to hack into model.py and manually
skip updating the gradients corresponding to the symbols that you want to
skip, around here:
https://github.com/dmlc/mxnet/blob/master/python/mxnet/model.py#L312
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/344#issuecomment-149897565.

BlockGrad is already in master. Though I feel it a bit hacky way to do this as in order to block gradient, one need to change the network architecture by inserting that block-gradient operator into the layers.


A few issues with controls on this module

Hi, first I love the concept of this module so thanks for making it !
I am using FVTT 11.307 with DnD 5e system 2.3.1 and am hosting on Forge.
I believe your module conflicts with the Elevated Vision module. When both of them are enabled :

After making a door peekable, left-clicking on that door actually peeks through the keyhole and doesn't open it anymore. I believe it's supposed to be peeked through only on CTRL Right-Click as mentioned in your instructions.
If I enable the door to be swingable or slidable, scrolling the mouse is typically used to zoom out/in so there is a conflict with opening the door.

In general and outside this conflict, it would be nice to have configurable hotkeys for this module, as for example mouse scrolling is typically used for zooming in and out of the canvas.
Thanks a lot for looking into this!

Thanks for the bug report. I will look into the compatibility issues for the next update and also add the key bindings.
Regarding your second point with the scrolling control of swinging/sliding doors: The module should disable canvas scrolling while hovering a door control, if that is not the case for you there is probably another compatibility issue besides Elevated Vision.

Good to know, I'll run find the culprit for the scrolling issue and let you know if I find another module that could be conflicting.

I have added key support with v1.1.0. Solving the bug will take bit longer, i am currently waiting for the developer of the Elevated Vision module to reply.

Super quick note: I was having the same issue with the scroll wheel. For me, it ended up being "Zoom/Pan Options" https://github.com/shemetz/ZoomPanOptions

Thank you, i will look into it, maybe i can do something to improve compatibility.

I have just released v2.0.7 which should (if Zoom/Pan options truly was the compatibility issue) solve the problem with the mouse wheel. When hovering a door control the canvas should no longer zoom and the door should be moved instead.

I can no longer replicate any control bugs with any of the modules i tested it with. Unless i hear otherwise, i will assume this issue to be solved and close it soon


Fix compilation errors from include names

I needed to make these changes to get a fresh clone to build. Thought I'd push them back for you.

thanks a lot richard, i assume you are compiling on linux wheras those case errors went unseen by the msys32 compiler environment on windows. so good catch! thx again for sharing back.


Right-clicking on extension in statusbar and then "Manage extension" yields an "e.replace is not a function" error when using custom titlebar

Issue Type: Bug
This happens on every extension that has an item in the statusbar (might be obvious as the "Manage extension" menu item is a VSCode feature but worthy of pointing out nonetheless).
Interestingly, in the Insider's version, this error is not thrown, but nothing happens. There's not even an error in the dev console.
I'm expecting to go to the extension's homepage to review its available settings for example. I believe that was the behavior before, but I can't tell in which version was this Manage Extension menu item still working.
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.89GB (8.20GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (60)

Extension
Author (truncated)
Version

better-comments
aar
1.2.6

Bookmarks
ale
9.0.3

project-manager
ale
8.0.0

copy-relative-path
ale
0.0.2

vscode-intelephense-client
bme
0.8.8

better-phpunit
cal
0.8.1

better-whitespace
chm
1.0.1

gitignore
cod
0.5.0

bracket-pair-colorizer
Coe
1.0.59

vscode-svgviewer
css
1.4.4

vscode-markdownlint
Dav
0.19.0

vscode-quick-select
dba
0.2.6

vscode-faker
dee
1.3.0

githistory
don
0.4.2

jquerysnippets
don
0.0.1

ghlink
dt
1.0.2

gitlens
eam
8.5.4

vscode-html-css
ecm
0.2.0

EditorConfig
Edi
0.12.4

pull-request-monitor
eri
1.6.1

php-debug
fel
1.12.3

vsc-travis-ci-status
fel
1.1.0

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.0.15

gc-excelviewer
Gra
2.1.25

vscode-auto-open-markdown-preview
hnw
0.0.4

crane
Hvy
0.3.8

output-colorizer
IBM
0.1.2

autofilename
Jer
0.1.3

vscode-random
jre
1.3.2

vscode-github
Kni
0.30.0

expand-region
let
0.1.2

vs-color-picker
lih
0.7.0

php-namespace-resolver
Meh
1.1.0

dotenv
mik
1.0.1

vscode-todo-parser
min
1.9.1

vscode-duplicate
mrm
1.2.1

sublime-keybindings
ms-
4.0.0

color-highlight
nau
2.3.0

php-docblocker
nei
1.6.0

snippet-creator
nik
0.0.4

laravel-blade
one
1.18.0

laravel5-snippets
one
1.4.0

vscode-php-getters-setters
php
1.2.3

material-icon-theme
PKi
3.5.2

polacode
pnp
0.2.2

vscode-css-peek
pra
2.1.0

view-in-browser
qin
0.0.5

java
red
0.29.0

LiveServer
rit
5.1.1

vscode-format
rya
0.0.6

code-settings-sync
Sha
3.0.0

gitconfig
sid
1.0.1

selectline-statusbar
tom
0.0.2

vscode-input-sequence
tom
0.2.0

vscode-java-debug
vsc
0.11.0

vscode-maven
vsc
0.10.0

better-align
wwm
1.1.6

licenser
ymo
1.1.2

markdown-all-in-one
yzh
1.6.0

(1 theme extensions excluded)

I am able to use the Manage Extension menu item to open a editor tab for the extension and see all the extension details both in Stable (1.25.1) and in the latest Insiders.
Can you tell us which extension did you try? I used https://marketplace.visualstudio.com/items?itemName=ramyaraoa.show-offset

This issue also happens on my side with your extension (show-offset), but here's those I've also tried :

GitHub Pull Request Monitor
TODO Parser
Travis CI Status

I'm guessing that if it doesn't happen on your side, my installation is somewhat affected - be it an extension that hooks the Manage Extension or something else that I'm not aware on.
I'll try to see if this happen on my Linux partition, I'll get back here soon enough.

I'll try to see if this happen on my Linux partition, I'll get back here soon enough.

This issue is not present on a very similar installation on my Linux Mint boot image.
I hate saying "very similar" though, I'll edit this message once I'll be able to test the exact same configuration on another machine.

@ramya-rao-a I think I found the culprit : I turned off the "window.titleBarStyle": "custom" setting and realized that the Manage Extension now works as supposed to.
Tried this in Insiders too (latest version as I'm writing this update) and the same happens : works without custom titleBar, fails (with no error in insiders) with custom titleBar.
Can you test it with "window.titleBarStyle": "custom" to see if you get this issue on your machine too?
Here's a log of the dev console's output in version 1.25.1 (I tried to click on manage extension twice) :
manageExtensionConsoleLog.log - in the case that this could help.

Good catch @V-ed, I can confirm that the Manage Extension menu option doesnt work when that setting is set to custom.

@bpasero In changing this I noticed that there is differing behavior between the custom context menu service and the native context menu service with regards to handling getActionsContext. In the native service, this isn't called until the action is run and passes the event into the handler. In the custom service, the handler is called on creation of the menu as it takes a context, not a function. Should the custom menu be updated to take the handler instead? I don't see anything in the code base that is actually passing a handler that uses the event, so I don't know if there is any value in passing it along. It seems the context menu handler just appends the event to the context object.
export interface IContextMenuDelegate {
        ...
	getActionsContext?(event?: IEvent): any;
        ...
}

Native handling
	private runAction(actionRunner: IActionRunner, actionToRun: IAction, delegate: IContextMenuDelegate, event: IEvent): void {
		/* __GDPR__
			"workbenchActionExecuted" : {
				"id" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
				"from": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
			}
		*/
		this.telemetryService.publicLog('workbenchActionExecuted', { id: actionToRun.id, from: 'contextMenu' });

		const context = delegate.getActionsContext ? delegate.getActionsContext(event) : event;
		const res = actionRunner.run(actionToRun, context) || TPromise.as(null);

		res.done(null, e => this.notificationService.error(e));
	}

Custom handling
					const menu = new Menu(container, actions, {
						actionItemProvider: delegate.getActionItem,
						context: delegate.getActionsContext ? delegate.getActionsContext() : null,
						actionRunner,
						getKeyBinding: delegate.getKeyBinding
					});

@sbatten yeah I think the important bit is to pass the context along to the action that gets executed, but I am not sure the event is used anywhere. My guess would be that it is maybe (or was maybe) used to find out what keys are pressed or what mouse button was used when invoking the action. We might have used this at one point but no longer and if so should maybe remove the event altogether.

@sbatten @bpasero August or July recovery?

I think we can move this to August given it only reproduces with the custom titlebar enabled.

The issue is closed but is related to #52854


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

HTML, CSS, Git, and JavaScript sections visible in the browser website.


Update profile before joining room

For the somewhat rare case of people bridging irc <--> matrix <--> discord. When the discord bridge joins the user to the matrix room it doesn't always have a display name set, so the IRC bridge picks up the user ID, leading to IRC users not having a clue who is speaking.
Blocking the join on a successful profile update would seem reasonable to me.

To show how bad the situation is in those (very rare) cases:

Can anyone try #25 ?

Appears to be resolved by https://github.com/Half-Shot/matrix-appservice-discord/pull/8


CLN: clean scripts folder from unused files and scripts

Removing a few outdated scripts which we are not going to use.

@tacaswell, any opinion about these old files?


Update tAPIr website

[ ] New photos / videos to support latest version of plugin.
[ ] Embed github roadmap  / milestones.

Yes, we need to update the site once ready! let's discuss what to display


#37, Support sample- or test-only repositories

skip a few targets when src directory does not exist

/cc Universe triage team

@davidfowl ping

Yeah it seems to match the other existing conditions in the file. :shipit:


Fall back to HTTP on mesos state fetch error

At present, dcos-metrics will poll using https whenever an IAM option is supplied in its config parameters. Otherwise it will use HTTP. This is normally fine, because Mesos will serve a 307 redirect to HTTP when the SSL_DOWNGRADE is enabled, and dcos-metrics respects the redirect,
However, it's possible for Mesos to get itself into a state where the SSL handshake fails. In this case, metrics crashes with the message "Get https://leader.mesos:5050/state: EOF".
In this PR we introduce a fallback - if any error occurs during an attempt to get state with HTTPS, we fall back to HTTP instead.
ping @amitaekbote

I could not figure out how to replicate the SSL handshake error from mesos to test this. Suggestions very welcome!

Verified that this fix causes metric to work while upgrading from  disabled->permissive mode

This seems to be one of the last "beta2 blockers". On the one hand we have a code freeze today, on the other hand this does not appear to be shippable yet. @philipnrmn @klueska it seems like we need to make a call here.

@jgehrcke I'm not sure why this is a beta blocker. This simply helps to stop one of our integration tests from failing.
I will need to make a final 1.10 PR when #114 gets merged, I expect this to go in then.

I'm not sure why this is a beta blocker

It's good if it's not :-) Thanks for clarification. I inferred that from a JIRA ticket that linked me to this PR. That JIRA ticket has fixVersion 1.10, and the beta2 label. Now I have a hard time remembering which JIRA ticket specifically that was.

It was likely https://jira.mesosphere.com/browse/DCOS_OSS-1542; I removed the beta2 label from that ticket.

The regression test will come in a separate PR.


Empassioned plea

Not an issue as such... But please could I make an empassioned plea to release fix #76. Going through the upgrade process for Kong 1.4.0 I was severely disappointed to find that this fix had not made it in there. I know it's nothing critical, but in a local environment where we have log level set to debug, the verbosity of the logging without this fix drowns out pretty much everything else and makes life more miserable than it needs to be...

@onematchfox - Our apologies that the fix didn't make it into 1.4. We've drafted a release PR and will make sure the library version is bumped in Kong as well.

@onematchfox thanks for the nudge, that was indeed an oversight that we missed bumping this. Released minutes ago.

@gszr @Tieske Thanks so much!


Handling submitting tool output back to the agent

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

When a function is called by an agent, the response needs to be submitted to the agent in another invocation

This creates problems in a workflow which automatically executes the invocation of the next agent as the next step

Handling function calls to submit the tool output back to the agent without needing another invocation will solve the issue

Acknowledgements

[X] My issue title is concise and descriptive.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

Yeah! I also want to see this in SuperAgent, execute actions is amazing but information should flow back to prompt to be use. If i'm not confuse, it's possible using workflows, but i think should be possible just defining tool and return value from there ( in terms of javascript/typescript )

Yeah! I also want to see this in SuperAgent, execute actions is amazing but information should flow back to prompt to be use. If i'm not confuse, it's possible using workflows, but i think should be possible just defining tool and return value from there ( in terms of javascript/typescript )

I agree with you. I will add a way for this.

I was wondering about how to do it and i reach 2 thoughts:

The way of "Custom Tools" works nowdays it's great, and i don't think that should be removed. It's very usefull in terms of API first service, I didn't see this kind of implementation allowing developer to use "tools" on your own code anywhere else. That's good and should not be removed;

We should implement additional something like "Actions" ( just giving another cool name LoL ) which actually is an openAPI spec ( similar how Dify does ) and this will capable developers using Superagent to call endpoints specified in that OpenAPI Specs and receive external data. I think about this because that operation could run inside *Superagent backend, this will enable to use information received from external api as data inside methods and use that data to generate an rich output;

Tips about it:
I already tested dify implementation and it's quite good, but for some pieces sounds like beginner yet, we could have here some like some pattern to receive response from external API's and i also suggest to always require an field with "message" to give generative context about how that request perform. ( eg. if request about get wether succeed should return in response.message "weather acquisition is ok and data is available" - i miss that kind of response context in dify implementation and that make output generation not good enouth. )
Check that part of Dify, it's most similar that i could find.

What did you think about this approach @homanp ? and you @lynchian ?

I was wondering about how to do it and i reach 2 thoughts:

The way of "Custom Tools" works nowdays it's great, and i don't think that should be removed. It's very usefull in terms of API first service, I didn't see this kind of implementation allowing developer to use "tools" on your own code anywhere else. That's good and should not be removed;
We should implement additional something like "Actions" ( just giving another cool name LoL ) which actually is an openAPI spec ( similar how Dify does ) and this will capable developers using Superagent to call endpoints specified in that OpenAPI Specs and receive external data. I think about this because that operation could run inside *Superagent backend, this will enable to use information received from external api as data inside methods and use that data to generate an rich output;

Tips about it: I already tested dify implementation and it's quite good, but for some pieces sounds like beginner yet, we could have here some like some pattern to receive response from external API's and i also suggest to always require an field with "message" to give generative context about how that request perform. ( eg. if request about get wether succeed should return in response.message "weather acquisition is ok and data is available" - i miss that kind of response context in dify implementation and that make output generation not good enouth. )
Check that part of Dify, it's most similar that i could find.

What did you think about this approach @homanp ? and you @lynchian ?

So you wan to add openapi spec tool calling? Sure we can do that. Would you be willing to make a contribution here? Also that wouldn't really solve the problem for this usecase. But I have a solution for that.

For a direct example of implementation, this is how OpenAI Assistants do it :
https://github.com/openai/openai-python/blob/e41abf7b7dbc1e744d167f748e55d4dedfc0dca7/src/openai/resources/beta/threads/runs/runs.py#L314

@elisalimli let's implement this.

@lynchian @joaomirandas
We don't think this would really work with workflows that has multiple agents.
Let's say a workflow has:

Agent 1
Agent 2 (this agent has a custom function calling)
Agent 3

If we run this workflow, and agent 2 decides to call the given custom function, what we will do here? We can not move on to the next agent or stop responding. Because if we stop, we will lost the agent 1's response.
Nevertheless, we do want to support this feature. But for /agents endpoint only.
@lynchian @joaomirandas What are your takes on this?


Flag records that become invalid with respect to their current workflow state

In a similar way to how we automatically invalidate metadata records following specific change scenarios, we must deal with cases in which a metadata record in some workflow state (and which has therefore undergone workflow rules validation to enter that state) would now no longer be valid for that state if workflow validation were run again. This might occur if, for example, the JSON schema defining the rules for that state is changed.
The problem is that unlike with metadata invalidation - which is easy to automate since there are a specific set of internal triggers and it won't lead to any inconsistencies in the database - workflow validation might have external dependencies (e.g. vocabulary service lookups), so we cannot necessarily trigger automatic flagging of records in all scenarios in which workflow rules might suddenly be violated. The best approach would be to run a background process which periodically validates a record against the rules for the workflow state that it is currently in, and flag the record if that validation fails.

Hmm. Metadata validation might also have external dependencies (vocab lookups), so we need to also consider a background process for periodically re-validating metadata - in addition to the automatic invalidation already in place. Consider, however, that vocab dependencies might be linked explicitly with metadata records (see #26), and if internal vocabularies are automatically synced with their external dependencies (see #29) then we have the automatic trigger we need.
The bottom line is that we must explicitly declare all scenarios in which either metadata invalidation or workflow flagging are required, and determine whether - in each case - automatic triggering is possible. If there are any cases in which we cannot devise a mechanism to respond automatically to some external change that requires re-validation of either metadata or workflow rules, then a background process is probably necessary.


Ignored default sqlite database of Django

Reasons for making this change:
Ignore default SQLite database created by Django framework for development and test purposes.
Links to documentation supporting these rule changes:

Supporting that file name is correct: https://docs.djangoproject.com/en/2.0/intro/tutorial02/#database-setup
Supporting that this file should be ignored: https://devcenter.heroku.com/articles/gitignore

If this is a new template:

Link to application or project’s homepage: Not a new template

@jtogrul thanks!


Plugin my_anime_list, URL JSON result maxed at 300 entries.

Expected behaviour:
For the Plugin: my_anime_list to return the requested categories, preferably with less traffic overhead.
Actual behaviour:
The URL JSON result returns the first 300 results of ALL categories in order of status id.
This is a limitation of the JSON url used and not a bug in the flexget plugin code.
Steps to reproduce:

Step 1: Have more than 300 listed anime on the site, in any given category.
Step 2: Request a category that is sorted last in the JSON result, like "plan_to_watch".
Step 3: If you have more than 300 anime listed as "Completed" or "Dropped", the JSON result would never load the "plan_to_watch" entries.

Config:
my_anime_list:
  username: <removed>
  status:
    - watching
    - plan_to_watch

Log:

(click to expand)
na

Additional information:
The JSON source used in the plugin, only gives the first 300 results from MAL. (https://myanimelist.net/animelist/flexget/load.json)
This is not an issue if you use "watching" as they are sorted first in the JSON reply, but "plan_to_watch" that many use is sorted last, after categories like "completed" and "dropped".
Solutions:
It's possible to specify what result you want in the URL but only for a single status id.
If it merged multiple status specific JSON results, it would probably require less traffic than the current parameterless "load.JSON", as most users just want status "1" & "6".
Ex. Status 6 is "plan_to_watch" only: https://myanimelist.net/animelist/flexget/load.json?status=6
It's also possible to offset the result by a given amount, but would require merging large lists until an empty result is given "[]".
Ex. JSON results from 300->600: https://myanimelist.net/animelist/flexget/load.json?offset=300
Alternative solution:
From what i read, Load.JSON is an internal tool for loading lists and is not meant to be used as an API.
There is a new API, but it appears to require an authorization token to use and it's in beta:
API auth: https://myanimelist.net/apiconfig
API doc.: https://myanimelist.net/apiconfig/references/api/v2

TBF, it's an input, API would be overkill since we're just reading. So much so that the plugin used to scrape the webpage before being rewritten to use the JSON 😅.
Good info with the parameters though, if there's no PR until later in the week I might give it a go :)

@MisjahDK could you please test the changes on #3425 ?

Yes, i will be able to test it this weekend, thanks @BrutuZ.

@BrutuZ, it's working as expected.
Sorry it took so long, i'm not experienced with Github, not sure what would have been the easiest way or even if i could test it on 3.3.9 stable pip install, i figured out how to get flexget-dev, but i guess it's not in that yet, i ended up grabbing "flexget-BrutuZ" and switching to mal_paging to get the new version of the plugin.

Good to hear it worked.
The change isn't implemented yet, it's still an Open Pull Request. It should go live up to 24h after approval, but that can take a while, depends on the team members availability.
Easiest way to test in my opinion would've been navigating to the virtual-env of your install and overwriting that one file. But as you found out, there's more than one way to peel that egg, so whichever one works for you should be fine 😝.


Dup events

fix for duplicated entities and events in same span
I think fixes https://github.com/clulab/eidos/issues/147

The test case is forthcoming.  Should it only check for EventMentions with duplicate IDs?

not id's prob... I guess events with the same label and span? if they have the same label and span, but diff triggers are we considering them to be duplicates? @MihaiSurdeanu

Events should be considered duplicates if:

They have the same spam.
They have the same label.
They have the same arguments (so it's a recursive function).

The trigger doesn't matter.

(The trigger doesn't matter because it's captured in the event label already.)

I checked out this branch and tested it locally, it definitely resolves #147 thanks!

great!
On Fri, Mar 2, 2018 at 2:24 PM, Benjamin M. Gyori<EMAIL_ADDRESS>wrote:

I checked out this branch and tested it locally, it definitely resolves
#147 https://github.com/clulab/eidos/issues/147 thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/pull/152#issuecomment-370056762, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFIniVfITfNOtsUB5xvJNapje6myALb2ks5tabiLgaJpZM4SaYl3
.


Add support for additional CC value metadata

Fixes: #221

Coverage increased (+0.06%) to 44.965% when pulling 300178b52dd30d6fa05dcbdf256f3aaac544d60e on value-meta into a93e54bd0e29b559b58116c5e08c9c9ae9b0a701 on master.


Delete flash.rb

@andyli You’re usually the flash updater. Any reason to keep this?

@andyli You’re usually the flash updater. Any reason to keep this?

Yes, the flash pkg is actually linked elsewhere on adobes site. Will take a look at it once at a computer

https://jamfnation.jamfsoftware.com/viewProduct.html?id=41&view=info

My point is (emphasis mine):

This page and the download links will be decommissioned on March 1st, 2016.

So I don’t see a case to keep this around.

Ah I see, will check out what autopkg is using at some point soon.
https://github.com/autopkg/recipes/tree/master/AdobeFlashPlayer
Hold off on the deletion until resolved, please, it's a popular Cask AFAIK

Although I've been updating the formula, I am just doing that for completeness when updating the flash-player formula, which is used by some of my TravisCI builds. However, I do think that there could be many people using the flash formula, so it should be updated instead of be removed.
Following the steps in https://get.adobe.com/flashplayer/otherversions/, the download url of the Mac NPAPI flash plug-in is https://admdownload.adobe.com/bin/live/AdobeFlashPlayer_20_a_install.dmg
It should be safe to use since the same domain is used in the pepper-flash formula.

Updated installer URL (and even got an appcast)
https://github.com/caskroom/homebrew-cask/pull/18887


Update Bartiq demo to work with version 0.6.0

This PR contains changes necessary for Baritq demo to work with Bartiq 0.6.0, which we plan to release soon.

@mpharrigan – could you please make another PR to fix qref==0.7.0 and bartiq==0.6.0 to avoid issues with future releases?

Since I can't bump the dependencies without simultaneously fixing the notebook, I pushed the dependency bump into this PR. PTAL

looks like a real test failure in the bartiq notebook

Yes, sorry for that.
It should be fixed now!

Thanks @mpharrigan 🎉


Make ActionInterface use ServerRequestInterface

Although ActionHandler deals exclusively with ServerRequestInterface
instead of RequestInterface, ActionInterface used just
RequestInterface. This made it impossible for actions to use the
helpful features that ServerRequestInterface offers.
In particular, this bug actually rendered the example Action code in
the docs incorrect, because the variable $request (of type
RequestInterface) was passed as a parameter to input(), which expected
ServerRequestInterface.

@bvisness Not sure I'd say it's impossible. It's still possible, albeit not necessarily ideal, to do this:
public function __invoke(
RequestInterface $request, ResponseInterface $response)
{
    if (!$request instanceof ServerRequestInterface) {
        // Throw some sort of error or some such here
    }
}

Changing this signature would be a breaking change. If we decide to release it, the above approach can be used in the interim.

@elazar ActionInterface is new in 3.0.0-alpha1, so shouldn't we be free to make breaking changes like this? (Besides, with 3.0.0-alpha1 released just earlier today, I might be the only one actually using it for anything...)

:+1:

I don't know of any situation where Equip would be used with client requests, so this makes perfect sense. If it ends up being a problem for people, we can change it.


CGMClassic model files downloaded via ign-fuel-tools API out of sync with the model files at https://app.ignitionrobotics.org/fuel/models

A bad reference to texture file(Carts_Wheels_Diffuse.png) in CGMClassic.mtl seems to have been corrected in the latest model file available at https://app.ignitionrobotics.org/OpenRobotics/fuel/models/CGMClassic.
However, when pulled from ign-fuel-tools API, the older version of the file is downloaded. I have not verified the versions of other model files but the API might be referring to stale model versions.

How are you pulling the file? Did you check if the URL you're using is asking for a specific version? Did you delete the old model from the fuel cache in ~/.ignition/fuel?

Yes, fuel cache was cleared from ~/.ignition/fuel.
I am pulling via the download script in the example directory via recommended usage:
./download -t model -o OpenRobotics -n CGMClassic

We have tried pulling directly from https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models as such here. However, this gives a CGMClassic model version having a bad reference to the texture file(Carts_Wheels_Diffuse.png) in CGMClassic.mtl.
The error message we get following this is,
[Wrn] [FuelModelDatabase.cc:248] URI not supported by Fuel [Carts_Wheels_Diffuse]
[Wrn] [SystemPaths.cc:464] File or path does not exist [""] [Carts_Wheels_Diffuse]

This has however been corrected in the model version file located at https://app.ignitionrobotics.org/OpenRobotics/fuel/models/CGMClassic.
What is the ignition recommended URL/ method to pull the latest versions of fuel models?

I see that https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/CGMClassic/2/CGMClassic.zip seems to have reference to the latest model version.
If possible, can you please point me to resources stating how these urls are updated with new releases? Also, do you recommend updating these URLs in our code manually or is there a ignition preferred way of pulling the latest fuel models?

What is the ignition recommended URL/ method to pull the latest versions of fuel models?

I recommend you use the ign fuel download command line tool like explained here: https://ignitionrobotics.org/api/fuel_tools/4.0/cmdline.html
i.e.
ign fuel download -u https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/CGMClassic -v 4

can you please point me to resources stating how these urls are updated with new releases?

Each model is uploaded separately by the model owner. They're not tied to releases. There's no fixed schedule to update the models in the OpenRobotics org, they're updated as needed.

I'll close this for now since there doesn't seem to be a bug on ign-fuel-tools. If you have more usage questions, feel free to post them at https://answers.gazebosim.org/ :v:


Any plan to involve VQA

As I've tried out DeepSeek (model version 1), I found it quite good in VQA, just wanna ask if your team has any plan on similar demo on HuggingFace like first version. Thnaks!

If you mean the second generation DeepSeek-VL, yes it's on the way.


Sample in error are not sent to ElasticSearch

Hello!
It seems that when a sample fails, the sample results are never sent to ElasticSearch. I tried with the "info" mode and the "debug" mode.
I used some JMS Publisher samples for my tests. The successfull ones are inserted in ES, but not the others (when I used an incorrect connection for example).

Issue opened with a wrong account, it can be deleted totally.


Gallery page navbar is not good

Hey, the gallery page navbar is not looking good. You can see below
I want to change this navbar please assign it to me

Please assign me this issue under gssoc23'

I want to work on it and fix the navbar of gallery page. Please assign this to me under GSSoC'23 label.
Thankyou!!

@SubhamB2003 assigned.


Categories - The subtitle under "Members must categorize all expenses" contains "undefined"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.4-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com
Go to workspace settings > Categories.
Click Settings.

Expected Result:
The subtitle under "Members must categorize all expenses" will not contain "undefined".
Actual Result:
The subtitle under "Members must categorize all expenses" contains "undefined".
"Require a category on every expense in order to export to undefined."
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/43996225/468cfd62-208b-4aba-8cb3-fa3536e5f7bc

View all open jobs on GitHub

@zanyrenney FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@Krishna2323 I think we should use categories.requiresCategory ("Members must categorize all expenses") if there is no connection. What do you think? Seems like it makes sense to me.

we just need to remove the subtitle if there is no connection.

Perfect, this is fine. Thanks! I'll assign you

This was CPed and the PR is pending validation in staging

okay thanks @allgandalf

https://www.upwork.com/jobs/~01bb053c1f7f26c8bd

payment summary
@Krishna2323 requires payment (Needs manual offer from BZ) - paid $250 via Upwork
@allgandalf requires payment (Needs manual offer from BZ) - paid $250 via Upwork

payments complete, and regression test requested!


Linkets search not pulling new tickets

Hello,
We use Linkets in Zendesk and we have multiple users that are trying to link tickets in Zendesk and the app is not finding the tickets. The tickets both exist in the system but I cannot  link them together from either ticket because the search function is not pulling them. Another user is also experiencing this error.
Please let me know what we can do.
Thank you,
Justin Mack

Any update? We're still running into instances where we search for a created ticket but the search doesn't work.

Sorry to hear you're having an issue. Linkets is built on the Zendesk search API and tickets API. Sometimes linked tickets don't display immediately because the tickets haven't been re-indexed yet within Zendesk's search infrastructure. Sometimes there is an error updating the ticket via the API, but the error isn't displayed in the UI.
As a front-end app, it is difficult to debug issues without being able to "inspect" it when the issue occurs. If you're willing, you can use the 'Console' tab of Chrome Developer Tools to look for the cause of the error. If you can provide me with some more information, I can try to reproduce and fix the issue.
If there are no errors in Chrome's console, it's possible that the issue is with Zendesk search itself or that the tickets have not been indexed by the search infrastructure yet.


@datasync and @delta

What should be done about this?
@datasync will have _version(through #1771) and eventually _lastUpdatedAt
At this point it becomes really confusing as to which means what (@delta vs @datasync). Having one annotation would surely serve to simplify things. Plus since datasync is going to have a _lastUpdatedAt and not rely on updatedAt and createdAt anymore, I think it makes even more sense to decouple @datasync from @versioned as well.
what do you guys think?

Isn't @datasync a shorthand for
@delta
@versioned

?

@datasync will have _version(through #1771) and eventually _lastUpdatedAt
Do you meant this to be other way around. _version will be eventual?
I see us (including myself) being confused..
I will try to show how we can sort out annotations:
Generic versioning (@versioned) that might stay in the platform but not going to be used anymore for datasync.
@datasync -> adds sync queries and __lastUpdatedAt
If you configure conflicts in code you will also get __version
This is aligned with what we said and agreed before so let's maybe close this issue if we are on the same page

Generic versioning (@versioned) that might stay in the platform but not going to be used anymore for datasyn (lastUpdatedAt vs __lastUpdatedAt)
@datasync -> adds sync queries and __lastUpdatedAt
If you configure conflicts in code you will also get __version

+💯 exactly what I wanted to say, thanks
@machi1990 sorry for confusing you


None.get issue

 Issue by vincenzo
Thursday Nov 09, 2017 at 18:08 GMT
Originally opened as https://github.com/graphcool/prisma/issues/1231

Background
I used to have a functional version of my service, which code I had checked into my local repo. This service had Role as a type, with an N:M relationship with the User type. A permission query exploiting this relationship was also in place.
Once I had all that working, I wanted to try to turn Role into an enum, after reading some docs. After removing all references to the old Role type, I managed to deploy the new version successfully (local). However, I had missed that currently there is a limitation that affects my use case, so I resolved to revert back to my original functional service, which used to deploy just fine.
The issue
It's at this point that the bug appeared. Deploying (even with --dry-run) that same version of the service gives now this error:
There are issues with the new service definition:

  Global
    ✖ None.get

Debug output
$ DEBUG="*" gc deploy -t local --force
  config CWD /vagrant/data/IELTSRO +0ms
  config HOME /home/vagrant +2ms
  config definitionDir /vagrant/data/IELTSRO +2ms
  config definitionPath /vagrant/data/IELTSRO/graphcool.yml +0ms
  config homepath /home/vagrant/.graphcoolrc +0ms
  config localRCPath /vagrant/data/IELTSRO/.graphcoolrc +0ms
  config globalRCPath /home/vagrant/.graphcoolrc +0ms
  cli command id deploy +0ms
  cli:plugincache Got plugin from cache +0ms
  cli:plugincache /home/vagrant/.cache/graphcool/plugins.json +0ms
  cli:plugincache Got plugin from cache +1ms
  cli:plugincache /home/vagrant/.cache/graphcool/plugins.json +0ms
  plugins findCommand graphcool-cli-core +0ms
  plugin requiring command +0ms
  cli-engine:plugins:manager requiring /home/vagrant/.nvm/versions/node/v8.2.0/lib/node_modules/graphcool/node_modules/graphcool-cli-core +0ms
  cli-engine:plugins:manager required +270ms
  plugin required command +272ms
  deploy run +0ms
  client choosing clusterEndpoint http://localhost:60000/system +0ms
  client Sending query +1ms
  client
  client       query ($projectId: ID!){
  client         viewer {
  client           project(id: $projectId) {
  client             ...RemoteProject
  client           }
  client         }
  client       }
  client
  client   fragment RemoteProject on Project {
  client     id
  client     name
  client     schema
  client     alias
  client     region
  client     isEjected
  client     projectDefinitionWithFileContent
  client   }
  client
  client        +1ms
  client { projectId: 'cj9r952d8000j014991vnmbew' } +0ms
  deploy bundling +123ms
  bundler /vagrant/data/IELTSRO/.build/build.zip +0ms
Bundling functions...  bundler added files [ '.envrc',
  '.git/',
  '.graphcoolrc',
  'graphcool.yml',
  'node_modules/',
  'package-lock.json',
  'README.md',
  'package.json',
  'src/',
  'types.graphql',
  '.build/build.zip',
  '.build/dist/',
  '.git/HEAD',
  '.git/FETCH_HEAD',
  '.git/COMMIT_EDITMSG',
  '.git/config',
  '.git/ORIG_HEAD',
  '.git/branches/',
  '.git/description',
  '.git/index',
  '.git/hooks/',
  '.git/info/',
  '.git/logs/',
  '.git/objects/',
  '.git/refs/',
  'node_modules/.bin/',
  'node_modules/@types/',
  'node_modules/apollo-fetch/',
  'node_modules/apollo-link/',
  'node_modules/apollo-link-http/',
  'node_modules/bcryptjs/',
  'node_modules/cross-fetch/',
  'node_modules/apollo-utilities/',
  'node_modules/deprecated-decorator/',
  'node_modules/encoding/',
  'node_modules/graphcool-lib/',
  'node_modules/graphql/',
  'node_modules/graphql-request/',
  'node_modules/graphql-tools/',
  'node_modules/is-stream/',
  'node_modules/iconv-lite/',
  'node_modules/isomorphic-fetch/',
  'node_modules/iterall/',
  'node_modules/node-fetch/',
  'node_modules/package-lock.json',
  'node_modules/source-map/',
  'node_modules/source-map-support/',
  'node_modules/uuid/',
  'node_modules/validator/',
  'node_modules/whatwg-fetch/',
  'node_modules/zen-observable-ts/',
  'src/email-password/',
  'src/permissions/',
  '.git/info/exclude',
  '.git/hooks/commit-msg.sample',
  '.git/hooks/pre-applypatch.sample',
  '.git/hooks/applypatch-msg.sample',
  '.git/hooks/post-update.sample',
  '.git/hooks/pre-commit.sample',
  '.git/hooks/pre-push.sample',
  '.git/hooks/pre-rebase.sample',
  '.git/hooks/update.sample',
  '.git/hooks/prepare-commit-msg.sample',
  '.git/logs/HEAD',
  '.git/logs/refs/',
  '.git/refs/heads/',
  '.git/refs/remotes/',
  '.git/refs/tags/',
  '.git/objects/00/',
  '.git/objects/01/',
  '.git/objects/02/',
  '.git/objects/03/',
  '.git/objects/04/',
  '.git/objects/05/',
  '.git/objects/07/',
  '.git/objects/06/',
  '.git/objects/08/',
  '.git/objects/09/',
  '.git/objects/0b/',
  '.git/objects/0c/',
  '.git/objects/0e/',
  '.git/objects/0a/',
  '.git/objects/0f/',
  '.git/objects/0d/',
  '.git/objects/11/',
  '.git/objects/12/',
  '.git/objects/10/',
  '.git/objects/13/',
  '.git/objects/14/',
  '.git/objects/16/',
  '.git/objects/15/',
  '.git/objects/17/',
  '.git/objects/19/',
  '.git/objects/1c/',
  '.git/objects/1d/',
  '.git/objects/1b/',
  '.git/objects/1e/',
  '.git/objects/1a/',
  '.git/objects/1f/',
  '.git/objects/23/',
  ... 1932 more items ] +2s
  ts-builder starting compile [ '/vagrant/data/IELTSRO/src/email-password/signup.ts',
  '/vagrant/data/IELTSRO/src/email-password/authenticate.ts',
  '/vagrant/data/IELTSRO/src/email-password/loggedInUser.ts' ] +3ms
  ts-builder created program +396ms
  ts-builder emitted +382ms
  bundler converted files [ '/vagrant/data/IELTSRO/src/email-password/signup.ts',
  '/vagrant/data/IELTSRO/src/email-password/authenticate.ts',
  '/vagrant/data/IELTSRO/src/email-password/loggedInUser.ts' ] +1ms
  bundler createdFiles [ '/vagrant/data/IELTSRO/.build/dist/src/email-password/signup.js',
  '/vagrant/data/IELTSRO/.build/dist/src/email-password/authenticate.js',
  '/vagrant/data/IELTSRO/.build/dist/src/email-password/loggedInUser.js' ] +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/ src/ +68ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/ src/email-password/ +1ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/byline.js src/email-password/byline.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/authenticate-dev.js src/email-password/authenticate-dev.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/authenticate.js src/email-password/authenticate.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/authenticate-lambda.js src/email-password/authenticate-lambda.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/loggedInUser-dev.js src/email-password/loggedInUser-dev.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/loggedInUser.js src/email-password/loggedInUser.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/loggedInUser-lambda.js src/email-password/loggedInUser-lambda.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/signup-lambda.js src/email-password/signup-lambda.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/signup-dev.js src/email-password/signup-dev.js +0ms
  bundler adding /vagrant/data/IELTSRO/.build/dist/src/email-password/signup.js src/email-password/signup.js +0ms
  bundler added build files [ 'src/',
  'src/email-password/',
  'src/email-password/byline.js',
  'src/email-password/authenticate-dev.js',
  'src/email-password/authenticate.js',
  'src/email-password/authenticate-lambda.js',
  'src/email-password/loggedInUser-dev.js',
  'src/email-password/loggedInUser.js',
  'src/email-password/loggedInUser-lambda.js',
  'src/email-password/signup-lambda.js',
  'src/email-password/signup-dev.js',
  'src/email-password/signup.js' ] +0ms
  client choosing clusterEndpoint http://localhost:60000/system +7s
  client Sending query +0ms
  client
  client       mutation getUrl($projectId: String!) {
  client         getTemporaryDeployUrl(
  client           input: {
  client           projectId: $projectId
  client         }
  client       ) {
  client           url
  client         }
  client       }
  client      +0ms
  client { projectId: 'cj9r952d8000j014991vnmbew' } +1ms
  bundler uploading to http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m +4s
  bundler {
  bundler   "success" : true
  bundler } +554ms
  bundler bundled 7807 +0ms
 7.8s
  deploy bundled +2ms
Deploying to local with target local locally...  client
  client
  client Sending service definition: +671ms
  client {
  client   "modules": [
  client     {
  client       "name": "",
  client       "content": "types: ./types.graphql\nfunctions:\n  signup:\n    type: resolver\n    schema: src/email-password/signup.graphql\n    handler:\n      code: src/email-password/signup.ts\n  authenticate:\n    type: resolver\n    schema: src/email-password/authenticate.graphql\n    handler:\n      code: src/email-password/authenticate.ts\n  loggedInUser:\n    type: resolver\n    schema: src/email-password/loggedInUser.graphql\n    handler:\n      code: src/email-password/loggedInUser.ts\npermissions:\n  - operation: File.read\n  - operation: File.create\n  - operation: File.update\n  - operation: File.delete\n  - operation: Ielts.create\n    authenticated: true\n    query: './src/permissions/Ielts.graphql:create'\n  - operation: Ielts.update\n  - operation: Ielts.delete\n  - operation: Ielts.read\n  - operation: Role.read\n  - operation: Role.create\n  - operation: Role.update\n  - operation: Role.delete\n  - operation: User.read\n  - operation: User.create\n  - operation: User.update\n  - operation: User.delete\n  - operation: UserOnRole.*\nrootTokens: []\n",
  client       "files": {
  client         "./types.graphql": "type File @model {\n  contentType: String!\n  createdAt: DateTime!\n  dsadsa: Float!\n  id: ID! @isUnique # read-only (managed by Graphcool)\n  name: String!\n  secret: String! @isUnique\n  size: Int!\n  updatedAt: DateTime!\n  url: String! @isUnique\n}\n\ntype Ielts @model {\n  city: String!\n  country: String!\n  id: ID! @isUnique # read-only (managed by Graphcool)\n  minAcademic: Float\n  minBandScore: Float!\n  minGeneral: Float\n  organisation: String!\n  state: String!\n  website: String!\n}\n\ntype Role @model {\n  id: ID! @isUnique # read-only (managed by Graphcool)\n  name: String! @isUnique\n  users: [User!]! @relation(name: \"UserOnRole\")\n}\n\ntype User @model {\n  createdAt: DateTime! # read-only (managed by Graphcool)\n  email: String @isUnique\n  id: ID! @isUnique # read-only (managed by Graphcool)\n  name: String! @isUnique\n  password: String\n  roles: [Role!]! @relation(name: \"UserOnRole\")\n  updatedAt: DateTime! # read-only (managed by Graphcool)\n}",
  client         "./src/permissions/Ielts.graphql": "query create {\n  SomeRoleExists(filter: {users_some: {id: $user_id}, name: \"Editor\"})\n}",
  client         "src/email-password/signup.graphql": "type SignupUserPayload {\n  id: ID!\n  token: String!\n}\n\nextend type Mutation {\n  signupUser(email: String!, password: String!, name: String!): SignupUserPayload\n}",
  client         "src/email-password/authenticate.graphql": "type AuthenticateUserPayload {\n  id: ID!\n  token: String!\n}\n\nextend type Mutation {\n  authenticateUser(email: String!, password: String!): AuthenticateUserPayload\n}\n",
  client         "src/email-password/loggedInUser.graphql": "type LoggedInUserPayload {\n  id: ID!\n}\n\nextend type Query {\n  # return user data if request contains valid authentication token\n  loggedInUser: LoggedInUserPayload\n}\n"
  client       },
  client       "externalFiles": {
  client         "src/email-password/signup.ts": {
  client           "url": "http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m",
  client           "lambdaHandler": "src/email-password/signup-lambda.handle",
  client           "devHandler": "src/email-password/signup-dev.js"
  client         },
  client         "src/email-password/authenticate.ts": {
  client           "url": "http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m",
  client           "lambdaHandler": "src/email-password/authenticate-lambda.handle",
  client           "devHandler": "src/email-password/authenticate-dev.js"
  client         },
  client         "src/email-password/loggedInUser.ts": {
  client           "url": "http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m",
  client           "lambdaHandler": "src/email-password/loggedInUser-lambda.handle",
  client           "devHandler": "src/email-password/loggedInUser-dev.js"
  client         }
  client       }
  client     }
  client   ]
  client } +14ms
  client choosing clusterEndpoint http://localhost:60000/system +4ms
  client Sending query +2ms
  client       mutation($projectId: String!, $force: Boolean, $isDryRun: Boolean!, $config: String!) {
  client         push(input: {
  client           projectId: $projectId
  client           force: $force
  client           isDryRun: $isDryRun
  client           config: $config
  client           version: 1
  client         }) {
  client           migrationMessages {
  client             type
  client             action
  client             name
  client             description
  client             subDescriptions {
  client               type
  client               action
  client               name
  client               description
  client             }
  client           }
  client           errors {
  client             description
  client             type
  client             field
  client           }
  client           project {
  client             id
  client             name
  client             alias
  client             projectDefinitionWithFileContent
  client           }
  client         }
  client       }
  client      +0ms
  client { projectId: 'cj9r952d8000j014991vnmbew',
  client   force: true,
  client   isDryRun: false,
  client   config: '{"modules":[{"name":"","content":"types: ./types.graphql\\nfunctions:\\n  signup:\\n    type: resolver\\n    schema: src/email-password/signup.graphql\\n    handler:\\n      code: src/email-password/signup.ts\\n  authenticate:\\n    type: resolver\\n    schema: src/email-password/authenticate.graphql\\n    handler:\\n      code: src/email-password/authenticate.ts\\n  loggedInUser:\\n    type: resolver\\n    schema: src/email-password/loggedInUser.graphql\\n    handler:\\n      code: src/email-password/loggedInUser.ts\\npermissions:\\n  - operation: File.read\\n  - operation: File.create\\n  - operation: File.update\\n  - operation: File.delete\\n  - operation: Ielts.create\\n    authenticated: true\\n    query: \'./src/permissions/Ielts.graphql:create\'\\n  - operation: Ielts.update\\n  - operation: Ielts.delete\\n  - operation: Ielts.read\\n  - operation: Role.read\\n  - operation: Role.create\\n  - operation: Role.update\\n  - operation: Role.delete\\n  - operation: User.read\\n  - operation: User.create\\n  - operation: User.update\\n  - operation: User.delete\\n  - operation: UserOnRole.*\\nrootTokens: []\\n","files":{"./types.graphql":"type File @model {\\n  contentType: String!\\n  createdAt: DateTime!\\n  dsadsa: Float!\\n  id: ID! @isUnique # read-only (managed by Graphcool)\\n  name: String!\\n  secret: String! @isUnique\\n  size: Int!\\n  updatedAt: DateTime!\\n  url: String! @isUnique\\n}\\n\\ntype Ielts @model {\\n  city: String!\\n  country: String!\\n  id: ID! @isUnique # read-only (managed by Graphcool)\\n  minAcademic: Float\\n  minBandScore: Float!\\n  minGeneral: Float\\n  organisation: String!\\n  state: String!\\n  website: String!\\n}\\n\\ntype Role @model {\\n  id: ID! @isUnique # read-only (managed by Graphcool)\\n  name: String! @isUnique\\n  users: [User!]! @relation(name: \\"UserOnRole\\")\\n}\\n\\ntype User @model {\\n  createdAt: DateTime! # read-only (managed by Graphcool)\\n  email: String @isUnique\\n  id: ID! @isUnique # read-only (managed by Graphcool)\\n  name: String! @isUnique\\n  password: String\\n  roles: [Role!]! @relation(name: \\"UserOnRole\\")\\n  updatedAt: DateTime! # read-only (managed by Graphcool)\\n}","./src/permissions/Ielts.graphql":"query create {\\n  SomeRoleExists(filter: {users_some: {id: $user_id}, name: \\"Editor\\"})\\n}","src/email-password/signup.graphql":"type SignupUserPayload {\\n  id: ID!\\n  token: String!\\n}\\n\\nextend type Mutation {\\n  signupUser(email: String!, password: String!, name: String!): SignupUserPayload\\n}","src/email-password/authenticate.graphql":"type AuthenticateUserPayload {\\n  id: ID!\\n  token: String!\\n}\\n\\nextend type Mutation {\\n  authenticateUser(email: String!, password: String!): AuthenticateUserPayload\\n}\\n","src/email-password/loggedInUser.graphql":"type LoggedInUserPayload {\\n  id: ID!\\n}\\n\\nextend type Query {\\n  # return user data if request contains valid authentication token\\n  loggedInUser: LoggedInUserPayload\\n}\\n"},"externalFiles":{"src/email-password/signup.ts":{"url":"http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m","lambdaHandler":"src/email-password/signup-lambda.handle","devHandler":"src/email-password/signup-dev.js"},"src/email-password/authenticate.ts":{"url":"http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m","lambdaHandler":"src/email-password/authenticate-lambda.handle","devHandler":"src/email-password/authenticate-dev.js"},"src/email-password/loggedInUser.ts":{"url":"http://localhost:60050/functions/files/cj9r952d8000j014991vnmbew/cj9ss1hkm000z0187uwhgd44m","lambdaHandler":"src/email-password/loggedInUser-lambda.handle","devHandler":"src/email-password/loggedInUser-dev.js"}}}]}' } +22ms
  client undefined +201ms
 247ms
There are issues with the new service definition:

  Global
    ✖ None.get

Types, before and after
Original working types.graphql:
type File @model {
  contentType: String!
  createdAt: DateTime!
  dsadsa: Float!
  id: ID! @isUnique # read-only (managed by Graphcool)
  name: String!
  secret: String! @isUnique
  size: Int!
  updatedAt: DateTime!
  url: String! @isUnique
}

type Role @model {
  id: ID! @isUnique # read-only (managed by Graphcool)
  name: String! @isUnique
  users: [User!]! @relation(name: "UserOnRole")
}

type User @model {
  createdAt: DateTime! # read-only (managed by Graphcool)
  email: String @isUnique
  id: ID! @isUnique # read-only (managed by Graphcool)
  name: String! @isUnique
  password: String
  roles: [Role!]! @relation(name: "UserOnRole")
  updatedAt: DateTime! # read-only (managed by Graphcool)
}

Types modified with Role as enum:
type File @model {
  contentType: String!
  createdAt: DateTime!
  dsadsa: Float!
  id: ID! @isUnique # read-only (managed by Graphcool)
  name: String!
  secret: String! @isUnique
  size: Int!
  updatedAt: DateTime!
  url: String! @isUnique
}

type Ielts @model {
  city: String!
  country: String!
  id: ID! @isUnique # read-only (managed by Graphcool)
  minAcademic: Float
  minBandScore: Float!
  minGeneral: Float
  organisation: String!
  state: String!
  website: String!
}

enum Role {
  EDITOR,
  CONTRIBUTOR
}

type User @model {
  createdAt: DateTime! # read-only (managed by Graphcool)
  email: String @isUnique
  id: ID! @isUnique # read-only (managed by Graphcool)
  name: String! @isUnique
  password: String
  roles: [Role!]
  updatedAt: DateTime! # read-only (managed by Graphcool)
}

Diff between the two
diff --git a/types.graphql b/types.graphql
index a0faa06..830cb7d 100644
--- a/types.graphql
+++ b/types.graphql
@@ -22,10 +22,9 @@ type Ielts @model {
   website: String!
 }

-type Role @model {
-  id: ID! @isUnique # read-only (managed by Graphcool)
-  name: String! @isUnique
-  users: [User!]! @relation(name: "UserOnRole")
+enum Role {
+  EDITOR,
+  CONTRIBUTOR
 }

 type User @model {
@@ -34,6 +33,6 @@ type User @model {
   id: ID! @isUnique # read-only (managed by Graphcool)
   name: String! @isUnique
   password: String
-  roles: [Role!]! @relation(name: "UserOnRole")
+  roles: [Role!]
   updatedAt: DateTime! # read-only (managed by Graphcool)
 }
\ No newline at end of file

I got the same error when changing a property from type String to a custom type with a relation.
Before: education: String
After: education: Education @relation(...)
Then I stepped back and first deleted education and deployed, then add the same property with the new type, then it was successful. So it seems like the issue is changeing the type in one deploy.

I'm receiving this error as well. Changing anything in my models and then deploying results in this error. I must first remove the model, deploy, then add the model back in with the changes and deploy again.


Release sdk/resourcemanager/batch/armbatch v0.1.0

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run prepare-pipelines

/azp run go - armbatch - ci

/check-enforcer override

/check-enforcer override


⚠ Bofrost.de has degraded performance

In 97c9384, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1127 ms

Resolved: Bofrost.de performance has improved in 0723d98 after 18 minutes.


TextSelection doesn't support TextAffinities for non-collapsed selection

TextSelection has a single affinity property, and according to its docs, it only applies when collapsed:

If the text range is collapsed and has more than one visual location (e.g., occurs at a line break), which of the two locations to use when painting the caret.

I think that this may be an oversight and a source of bugs, especially when using a keyboard.  For example, these selections are different, but Flutter has no way to distinguish between the two:

extent TextAffinity.downstream
extent TextAffinity.upstream
Flutter treats them both as:

This text wra|ps because it's
|too long.

This text wra|ps because it's |
too long.

Why does it matter?
When using keyboard shortcuts that jump to the beginning/end of a line, it's important to know what line the base and extent are on.  Consider doing cmd-shift-right (expand to end of line) in my example in the table above.  If the extent is upstream, the selection shouldn't change.  If it's downstream, it should select to the end fo the field.  Always assuming one or the other affinity won't always make sense.
Related
https://github.com/flutter/flutter/pull/87973/files#r685632915
https://github.com/flutter/flutter/pull/85653

I also don't have an iPad unfortunately, but we should check that at some point.
I agree with you about Mac not needing affinity for non-collapsed selections after playing around with it.  I even tried some tricky stuff like selecting from the start of one line to the previous line, then trying to cmd-shift-right to jump to the end of the line.  It doesn't do anything, because it seems that Mac is assuming that the base is upstream.
Maybe we can also make some explicit assumptions about the affinity of the base/extent when not collapsed.


How was wordlist.bin file trained?

Can I use pytorch lm.pt instead of wordlist.bin?

@Wickky flair pos model was trained over in-house data of ~7gb and then the words were extracted based on their tags and were visualized over scattertext and then the chunk of words that comes under infrequent list were added along with the frequent list. And every day almost I update the list to match up an effective recommendation and spell-checker.

Could you please give details steps and implementation of this spell checker?
Is it rule-based?
Could you guide me if I want to build one in my own language?

@Wickky this is not rule-based because in Hindi, its a lot complicated than basing it on rules. I had to stick with data-driven. In which language are you trying to build one?

I would like to build in Burmese Language. It is a morphological rich language.
I have tried an encoder decoder with attention mechanism as in machine translation tasks. But I didn't get the results as I excepted. Do you have any ideas to build one?


Dispatch by shared memory

This PR makes serializedPlantree and serializedQueryDispatchDesc dispatched by shared memory instead of interconnect, so that they can be sent only once to writer QE, and synced inbetween reader QEs and writer QE on a segment through DSM. It has been discussed in https://github.com/orgs/cloudberrydb/discussions/243.
Implementation Outline

this PR mainly use polling on reader QE to wait shared plan get's dispatched from writer QE. this is the same mechanism as shared snapshot synchronization. to circumvent this we may need something special (e.g., signal) because seems current synchronization mechanisms (barrier, SharedLatch) cannot satisfy our requirement.
to properly reclaim DSM segments for a query, a reference count is calculated on writer QE. and the last reader QE who reads it will reclaim the DSM. this is the same as parallel (GpInsertParallelDSMHash).
to isolate states in each user connections, a shmem HTAB is used. also same as parallel.

Prerequisites
This feature is only enabled when: 1) current query is not an extended query (cursor, or Bind messages, etc.), and 2) there exists a gang in which all QEs are writer QE (notably, writer QE and writer gang are two different concepts).
Prerequisite 1
prerequisite 1 is a hard limit due to the way extended query (equery for short) works. during equery, there's always a live writer gang in which everyone's a writer QE (gang W). first a command set gp_write_shared_snapshot=true will be dispatched to gang W to force a shared snapshot sync, then the actual gang will be created in which everyone's reader (gang R) and the actual query gets dispatched to it. Immediately you can find out that when the actual query get's dispatched, no writer QE receives the plan (because all writer QEs are in gang W), so there's no one be responsible for shared query plan synchronization.
Prerequisite 2
prerequisite 2 is a tradeoff. Consider the following query plan:

In this plan, seg0 in slice1 is a writer that should receives full query text. but in slice2, seg0 is a reader that should receive slimQueryText (a slimQueryText is a query text w/o query plan and ddesc), and seg1 and seg2 are writer QEs. this means when dispatching to gang2, seg0 should receives slim query text (because the full plan can be synced to it from seg0 in slice1 which is a writer), but seg1 and seg2 should receives full query text. this poses challenges because on QD side, the current interface of cdb dispatcher limits all dispatches happens on a per-gang basis (cdbdisp_dispatchToGang) and plan cannot be changed from seg to seg in a gang. for the same reason, the reference count of a DSM segment cannot be dispatched from QD directly because it may be different from QE to QE, even they're in the same gang (consider a plan that have singleton reader).
We can surely workaround this by bringing more thorough refactor to cdb/dispatcher interfaces. but I don't think that's worth it though surely this's debatable.
Other Caveats
Updatable Views
It may seem that the following invariant holds for any given query:

For any segment that a plan touches, there's always a writer QE exists on that segment.

This is indeed true for many common queries, but unfortunately not all of them. Below is a counterexample:

InitPlan
If there's aInitPlan at the root of a plan, there could be two set of writer gang created and two rounds of dispatching happens for the same query:

this is why we limit "same root" during reference calculation (https://github.com/Ray-Eldath/cloudberrydb/blob/dispatch-by-shmem/organized-and-unlogged/src/backend/utils/time/sharedqueryplan.c#L119-L121). Note that a InitPlan doesn't necessarily have to be at the root. It could be deep down the plan tree as well:

Possible Outcome
All in all, though many requirements need to be meet for this feature to take effects, it is still very much turned on in most common queries (see tests for example). This is good news. On the bad side, I doubt whether this PR can make any noticeable performance improvements at all. On qd, we cannot completely get rid of libpq connections for now, and query dispatch is already pipelined to hide interconnect cost anyway. In the long run, if we are to "decentralize" QE by reassigning tasks (such as creating reader QEs, keepalive, etc.) to writer QE, this feature is a very good pathfinder and also a mandatory requisite. But if that's not the case, I doubt whether this feature alone worths the risk.

else if (Gp_role == GP_ROLE_EXECUTE)
	{
		if (Gp_is_writer)
		{
			addSharedSnapshot("Writer qExec", gp_session_id);
		}
		else
		{
			/*
			 * NOTE: This assumes that the Slot has already been
			 *       allocated by the writer.  Need to make sure we
			 *       always allocate the writer qExec first.
			 */
			lookupSharedSnapshot("Reader qExec", "Writer qExec", gp_session_id);
		}
	}

can reuse SharedSnapshot logic and code ?

On the bad side, I doubt whether this PR can make any noticeable performance improvements at all. On qd, we cannot completely get rid of libpq connections for now, and query dispatch is already pipelined to hide interconnect cost anyway. In the long run, if we are to "decentralize" QE by reassigning tasks (such as creating reader QEs, keepalive, etc.) to writer QE, this feature is a very good pathfinder and also a mandatory requisite. But if that's not the case, I doubt whether this feature alone worths the risk.

Agree,  we have a long way to go, but this PR is a good start!  Thanks for your work and rich description.

else if (Gp_role == GP_ROLE_EXECUTE)
	{
		if (Gp_is_writer)
		{
			addSharedSnapshot("Writer qExec", gp_session_id);
		}
		else
		{
			/*
			 * NOTE: This assumes that the Slot has already been
			 *       allocated by the writer.  Need to make sure we
			 *       always allocate the writer qExec first.
			 */
			lookupSharedSnapshot("Reader qExec", "Writer qExec", gp_session_id);
		}
	}

can reuse SharedSnapshot logic and code ?

the original implementation was to use SharedSnapShot, but I quickly gave it up. SharedSnapshot served for a totally different purpose and its lifetime is tied to a transaction not a query. when dtxcontext is AUTO_COMMIT_IMPLICIT, txn lifetime is query lifetime, but when you explicitly use txn with BEGIN stmt etc., they're different. we can of course make this work but I didn't go down that path.
also I can never figure out why they use a array to store slots discriminated by gp_session_id. use ShmemSharedHTAB as this PR and parallel can lead to a far simpler implementation. Do you have a theory on this? @yjhjstz

the original implementation was to use SharedSnapShot, but I quickly gave it up. SharedSnapshot served for a totally different purpose and its lifetime is tied to a transaction not a query. when dtxcontext is AUTO_COMMIT_IMPLICIT, txn lifetime is query lifetime, but when you explicitly use txn with BEGIN stmt etc., they're different. we can of course make this work but I didn't go down that path. I can try again if you think that's better.

I found they have the same logical except lifetime.

Close the PR since no response for a long time.


add justfile for local dev

It'd be nice to have a justfile that runs tests, linting, etc. so its easy to contribute

We don't use just anywhere else in cloud-custodian projects. I don't know how I feel about forcing folks to need yet another tool .. probably just getting some niceties setup in setup.py / pyproject.toml is sufficient.

Makefile is more standard in cloud-custodian, albeit I ❤ just but its hard to justify 😉  since its not a standard tool, its getting close though to easy, one notable gap towards that it still needs to make its way into Debian/ubuntu upstream package universe though.

@wwitzel3 Could we document a few more things on this:

tftest is useful for when you need to attach a debugger to the golang parts
Maybe just something about developing in a mix-language environment.    I find it easiest to spin up two vscodes or intellij instances instead of trying to get it all work in one


Keep orirginal image

Hi,
great development so far!
I'm planning to use Lychee as a photo viewer, but it should also keep a backup of my photos. I would expect to get the original photo when using the 'Full Photo' button, but the files differ:
Original: 4,8M
Full Photo Download: 4,6M

Please keep an uncompressed copy of the uploaded photos (same md5sum), or make the compression of the big version configurable.
I am using c0c924fc13c3b675de06167a95fcbd803b0e4148
Thanks!

Lychee rotates the original photo when it's a jpeg containing a EXIF orientation. We need to do this to show the photo consistent across browsers. PHP removes the metadata in this step and there seems no easy way to keep them. You can install ImageMagick on your system which does a better job and only rotates the photo without recreating it.

Thank you for the great work! I am new to Lychee and I really love it.
If at all possible I would second this request. I need those files untouched. How about an additional "orig" dictionary in the uploads folder? Then I could mount a dedicated harddrive in the folder.
From my limited perspective (sorry, if I am too bold): Lychee could upload to "orig" then save the first converted version in the already established folder structure.
I also think that would be a first step to later support RAW much later on. Raw could end up in this "orig" folder and all further processing is done in JPEG form with the current folders.
Thanks again!

That could be an option in the settings, but not everyone wants to keep a copy of the original image (either because they have it in a photo library or because disk usage matters).
RAW images support could be added quite easily if imagick is available, DNG/NEF/NRW/CR2/RAW formats are supported (but not supported by GD).

This issue will be closed because I'm not actively working on Lychee anymore. The repository of Lychee will stay available, but the main development continues under the Lychee Organisation. A fork maintained by the community. Important issues have been migrated. Feel free to re-add your issue(s) when necessary.


SPIKE: Find out what is cost to deploy container security to ROSA in CloudGuard CSPM

Describe the issue
Olena wants to find out the potential cost increase to enable container security to ROSA in CloudGuard CSPM
Additional context

If the cost increased substantially, might as well, use RHACS (Red Hat Advanced Cluster Security) for same user experience that Private Cloud Community were already familiar with.

Currently, we saw warning that our assets are exceeding our subscription for 100 assets but checkpoint had suppressed the checking and allow us to continue although the warning is still displayed.

The current posted price (w/o IAM Safety) in aws marketplace for Dom9 compliance & Network Security, 100 Assets are 2,235 per month, 21,450 per year.

Workload Protection is a feature in CheckPoint CSPM which is enabled, but the Container Security Module which does the image scanning needs to be onboard our environments to it.

More details for CSPM in Aws Marketplace as follow:
https://aws.amazon.com/marketplace/pp/prodview-inkqducmpnbok

Definition of done

Get understanding of what services are included in the current contract content - Compliance, Network Security & IAM Safety.  Is container security part of compliance module?
Team up with Julian as he is already discussing fees with CheckPoint Jason G or Chris B, add this to Julian's current discussions.  Get a quote for enabling this.  Would there be any additional cost required to enable Container Security for k8 cluster in ROSA.
Julian to discuss with Olena how to pay for this.

Checking w/ Chris B. whether CloudGuard CSPM works for ROSA (RedHat Openshift Service AWS).

RHACS is Now Supported on Red Hat Openshift Service on AWS (ROSA) and Azure Red Hat Openshift (ARO) Services.   https://cloud.redhat.com/blog/red-hat-accelerates-kubernetes-security-innovations

The presentation (work document) is ready and will present to Julian S. and Nick C.


more language benchmarks

With PR https://github.com/RasaHQ/rasa_nlu/pull/1095 we have an embedding + crf pipeline which can do intent and entity recognition in any language.
If you are currently testing this and are willing to share your results, please do so!
Benchmarks together with datasets are especially welcome.
We expect performance to vary:

some languages will need a custom tokenizer (see https://github.com/RasaHQ/rasa_nlu/pull/1115)
morphologically rich languages will probably work less well.

So far, I've heard of people in the community using this pipeline for:

[ ] arabic
[ ] persian
[ ] hebrew
[ ] mandarin
[ ] japanese
[ ] bengali (see this post )
[ ] lithuanian
[ ] russian

and I'm sure there are many more. Please let us know!

I will take a look on the NER CRF for Bengali/Hindi. this is a very useful feature

I apply the feature [WIP]New feature: component count_vectors_featurizercan usetokens provide by tokenizers provided by @howl-anderson first. Here is my pipeline setting.
`language: "zh"
pipeline:

name: "tokenizer_jieba"
name: "intent_featurizer_count_vectors"
name: "intent_classifier_tensorflow_embedding"
My training dataset isdemo-rasa_zh_medical.jsonfromRasa_NLU_Chi.  And the performance is not very well.  Here is my test cases.  ['北京', '天气', '如何']
{'intent_ranking': [{'confidence': 0.9747257828712463, 'name': 'movie.search'}, {'confidence': 0.013274772092700005, 'name': 'other'}, {'confidence': -0.09033790230751038, 'name': 'movie.recommend'}, {'confidence': -0.1267366111278534, 'name': 'weather'}, {'confidence': -0.31307536363601685, 'name': 'movie.filter'}], 'intent': {'confidence': 0.9747257828712463, 'name': 'movie.search'}, 'entities': [], 'text': '北京天气如何'}

北京的天气怎么样
['北京', '的', '天气', '怎么样']
{'intent_ranking': [{'confidence': 0.9731086492538452, 'name': 'weather'}, {'confidence': 0.014019887894392014, 'name': 'other'}, {'confidence': -0.07188774645328522, 'name': 'movie.search'}, {'confidence': -0.19051238894462585, 'name': 'movie.recommend'}, {'confidence': -0.19962245225906372, 'name': 'movie.filter'}], 'intent': {'confidence': 0.9731086492538452, 'name': 'weather'}, 'entities': [], 'text': '北京的天气怎么样'}

今天天气如何
['今天天气', '如何']
{'intent_ranking': [{'confidence': 0.9747257828712463, 'name': 'movie.search'}, {'confidence': 0.013274772092700005, 'name': 'other'}, {'confidence': -0.09033790230751038, 'name': 'movie.recommend'}, {'confidence': -0.1267366111278534, 'name': 'weather'}, {'confidence': -0.31307536363601685, 'name': 'movie.filter'}], 'intent': {'confidence': 0.9747257828712463, 'name': 'movie.search'}, 'entities': [], 'text': '今天天气如何'}

今天天津的天气如何啊
['今天', '天津', '的', '天气', '如何', '啊']
{'intent_ranking': [{'confidence': 0.9874239563941956, 'name': 'weather'}, {'confidence': -0.06193627044558525, 'name': 'other'}, {'confidence': -0.10760164260864258, 'name': 'movie.search'}, {'confidence': -0.14756201207637787, 'name': 'movie.recommend'}, {'confidence': -0.2833463251590729, 'name': 'movie.filter'}], 'intent': {'confidence': 0.9874239563941956, 'name': 'weather'}, 'entities': [], 'text': '今天天津的天气如何啊'}

北京的天气如何
['北京', '的', '天气', '如何']
{'intent_ranking': [{'confidence': 0.9747257828712463, 'name': 'movie.search'}, {'confidence': 0.013274772092700005, 'name': 'other'}, {'confidence': -0.09033790230751038, 'name': 'movie.recommend'}, {'confidence': -0.1267366111278534, 'name': 'weather'}, {'confidence': -0.31307536363601685, 'name': 'movie.filter'}], 'intent': {'confidence': 0.9747257828712463, 'name': 'movie.search'}, 'entities': [], 'text': '北京的天气如何'}

As you can see, when the input sentence is exactly same as it in the dataset, the classifier can do it job very well. However, when I change some word, the classifier classify it totally wrong.  As far as I am concerned, thecount_vectors_featurizer` may just extract some shallow features. Maybe we should use some word vectors represent the word which are more capable to provide inner features.

@geekboood when I change some word - do you mean, the classifier never saw this word during training?

@Ghostvv Probably. You mean this classifier isn't designed for classifying some sentences which contains some words that the classifier never saw them?

@Ghostvv Could I pass more features to the embedding_intent_classifier, such as name entity and parse tree?

@Ghostvv Also, the old pipeline performs better. Here is the setting.
language: "zh"

pipeline:
- name: "nlp_mitie"
  model: "data/total_word_feature_extractor_zh.dat"
- name: "tokenizer_jieba"
- name: "ner_mitie"
- name: "ner_synonyms"
- name: "intent_entity_featurizer_regex"
- name: "intent_featurizer_mitie"
- name: "intent_classifier_sklearn"

北京的天气怎么样
{'entities': [{'start': 0, 'entity': 'location', 'extractor': 'ner_mitie', 'end': 2, 'confidence': None, 'value': '北京'}], 'intent_ranking': [{'name': 'weather', 'confidence': 0.73685717906111781}, {'name': 'movie.recommend', 'confidence': 0.079560079601130859}, {'name': 'movie.search', 'confidence': 0.067201055818077352}, {'name': 'movie.filter', 'confidence': 0.058952587054810698}, {'name': 'other', 'confidence': 0.057429098464862917}], 'intent': {'name': 'weather', 'confidence': 0.73685717906111781}, 'text': '北京的天气怎么样'}
>
今天天气如何
{'entities': [{'start': 0, 'entity': 'date_relative', 'extractor': 'ner_mitie', 'end': 4, 'confidence': None, 'value': '今天天气'}], 'intent_ranking': [{'name': 'weather', 'confidence': 0.85739979078626116}, {'name': 'movie.recommend', 'confidence': 0.048164508418653974}, {'name': 'movie.filter', 'confidence': 0.040367227568456697}, {'name': 'other', 'confidence': 0.029673993993817607}, {'name': 'movie.search', 'confidence': 0.024394479232810646}], 'intent': {'name': 'weather', 'confidence': 0.85739979078626116}, 'text': '今天天气如何'}
>
今天天津的天气如何啊
{'entities': [{'start': 0, 'entity': 'date_relative', 'extractor': 'ner_mitie', 'end': 2, 'confidence': None, 'value': '今天'}, {'start': 2, 'entity': 'location', 'extractor': 'ner_mitie', 'end': 4, 'confidence': None, 'value': '天津'}], 'intent_ranking': [{'name': 'weather', 'confidence': 0.73687145718610414}, {'name': 'movie.recommend', 'confidence': 0.083727992347842381}, {'name': 'movie.search', 'confidence': 0.068220347303949214}, {'name': 'other', 'confidence': 0.058831686730290357}, {'name': 'movie.filter', 'confidence': 0.052348516431814048}], 'intent': {'name': 'weather', 'confidence': 0.73687145718610414}, 'text': '今天天津的天气如何啊'}
>
北京的天气如何
{'entities': [{'start': 0, 'entity': 'location', 'extractor': 'ner_mitie', 'end': 2, 'confidence': None, 'value': '北京'}], 'intent_ranking': [{'name': 'weather', 'confidence': 0.7399888132057717}, {'name': 'movie.filter', 'confidence': 0.094004024297399458}, {'name': 'movie.recommend', 'confidence': 0.063420885821614453}, {'name': 'movie.search', 'confidence': 0.061949089608442351}, {'name': 'other', 'confidence': 0.040637187066771885}], 'intent': {'name': 'weather', 'confidence': 0.7399888132057717}, 'text': '北京的天气如何'}
>

@geekboood You mean this classifier isn't designed for classifying some sentences which contains some words that the classifier never saw them? - if it contains only some words, it is fine if they are not critical. Otherwise, it cannot learn something it never saw during training, because it doesn't have preloaded word vectors.
Yes, you can pass more features, but you need to add your custom featurizer to the pipeline.
The performance depends on your training data and how well the word vectors are related to your domain.

@Ghostvv How could I add some word vectors?

@geekboood you could add word vectors as features if you use "intent_featurizer_mitie" instead of "intent_featurizer_count_vectors". However, I'm not sure if it will produce better results.

@Ghostvv Thank you so much! I change the intent_featurizer_count_vectors to intent_featurizer_mitie and the result is so much better!

@geekboood embedding_intent_classifier has OOV issue, it can not using anything that don't seen during the training. Models based on pre-trained vector (e.g. MITIE, SpaCy) don't have such serious OOV issue, it should have better performance in a small training set.

@howl-anderson It seems like that. By the way, could we transplant a NER module based on NN? Such as a ID-CNN-CRF module? I think it will work better than the mitie_entity_extractor module.

@geekboood Good idea! There are may be a potential issue: DNN-based NER-extractors (e.g. ID-CNN-CRF as you said) can have a better performance then MITIE-based extractor in a large corpus, but when apply to small corpus which very common to RASA NLU application, it maybe (just a guess, I am not pretty sure) will happen: those DNN models that trained from scratch have a poor performance then those pre-trained models such as MITIE, SpaCy. Also it seems SpaCy v2 already using NN to training NER extractor. Currently SpaCy v2 not support Chinese language, but I am working on it, see https://github.com/howl-anderson/Chinese_models_for_SpaCy


Add Xresources-based theme

I use Xresources to configure themes. This PR adds themes called xresources-light and xresources-dark, provided that xrdb is found and xrdb -query returns the necessary colors.
This is a bit suboptimal for light theme (which I use), because light themes don't need as much shading as C-o and C-p currently do. But solarized-light also has this issue.

Thanks for the contribution! - I've done a short review, let me know what you think or if you need help.

Done. I've:

add an option called use_xresources, as you suggested;
changed the method to fail with more verbose errors in case something goes wrong;
moved the invocation of the method from on_mount to the constructor. I'm not sure if there's a more suitable place for it, but it works.

Oops, my Emacs has auto-formatted the table in the README. I hope you don't mind.

Thanks! I'll try to review this this week.

Thank you - I've made a few minor changes. Moved stuff into a new module to keep it separate from the App, an simplified the code a bit.
Would you mind giving it a quick test? If it looks good to you I will merge.

Thanks.
The current version fails with:
  File "/home/pavel/00-Scratch/posting/src/posting/xresources.py", line 36, in load_xresources_themes
    missing_colors = set(XRDB_MAPPING.values()) - supplied_colors.keys()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'list'

The point of list(itertools.chain(*self.XRDB_MAPPING.values())) vas to flatten that list. I'll make a new PR with a fix.


Fabric

Hello,
I was looking over this project, which is really awesome, and was wondering if the Brigadier module allows for Fabric MC support.
Thanks in advance,

o/
The brigadier module is pretty bare-bones and generic, and does not allow for richer features that are platform-native. While it should work anywhere that uses Brigadier (providing you provide a LampBrigadier implementation), Fabric may benefit from having its own module in the future.

o/ The brigadier module is pretty bare-bones and generic, and does not allow for richer features that are platform-native. While it should work anywhere that uses Brigadier (providing you provide a LampBrigadier implementation), Fabric may benefit from having its own module in the future.

That would be awesome.

This should pend v4.

Implemented in https://github.com/Revxrsal/Lamp/commit/cf67dbde550c4f5858196c4e97fa55c61d3c214d.


helpers.isWebpackDevServer() always returns false (Win 10)

[x ] bug report

What is the current behavior?
helpers.isWebpackDevServer always returns false (when used inside webpack config for anything other than src/index.html page).

To test, add the following line to webpack.common.js then run "npm run server:dev" and then "npm run build:dev" to watch the output.
console.log('DEBUG: helpers.isWebpackDevServer() = ' + helpers.isWebpackDevServer());
I presume it's intended for use by the HtmlWebpackPlugin and the src/index.html page, but if you want to use it elsewhere it breaks.  As it's quite a handy function, I am also using it for setting a few other conditional variables inside my webpack config.

What is the expected behavior?

Expected helpers.isWebpackDevServer() to return TRUE when running "npm run server:dev"
Expected helpers.isWebpackDevServer() to return FALSE when running "npm run build:dev"

Please tell us about your environment:
Windows 10, command line.

Possible solution:
Why not do a simple indexOf?  e.g.

function isWebpackDevServer() {
	var returnValue = false;
	if (process.argv.length > 1)
		returnValue = (process.argv[1].toLowerCase().indexOf('webpack-dev-server') != -1);
	return returnValue;
}

I might be missing something, but this seems to cover all bases

I'm getting the same issue on Windows 7

It's not only related  to  windows 10. I have tested on win7, and it's work the same.
It's actually expected behavior: 'webpack-dev-server' string  transform to the path like
'D:\angular2-webpack-starter\node_modules\webpack-dev-server\bin\webpack-dev-server.js', and it's according to documentation:
https://nodejs.org/docs/latest/api/process.html#process_process_argv.


The partitioning feature fails with a memory exceeded error

I experienced a memory exceeded error while trying to generate a partitioned output, while working on a client's table with a size of 2GB. The Cloud Function was already cranked up all the way to 8GB memory. A potential fix can be to not use pandas dataframe, but just use INSERT and SELECT.

Fixed and released in vReleased in v1.2.1.


Add flare endpoint to diagnose

What does this PR do?
Add the flare endpoint to diagnose

Motivation

We want to have the information if the customer can send a flare with no issue
Additional Notes

Since the server is expecting a post request but we dont want to post a flare, we will make a head request and check for a redirection to see if the request went well.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

launch datadog-agent diagnose -v and see if the flare endpoint is in the list

/merge


Add newlines to ssh keys for nodetemplates

Problem:
When parsing nodetemplates initially new lines are dropped from the end
of ssh keys
Solution:
Add them back before writing them out for docker-machine usage
This is norman parsing the initial request so there isn't a good way to just not drop them as it would affect all other parsing.
https://github.com/rancher/rancher/issues/23511

LGTM


Show average score and number of comments

In app details show average score and the number of comments.

See branch feature/avg_rating

deployed


Remove Send impl for GlutinCompositorProxy

It's a workaround for the lack of https://github.com/tomaka/glutin/issues/235.

Wrong repo.


Fix tile rate restriction calculation in tiler

When calculating the minimum number of tiles needed
to code a valid bitstream, the rate restriction did
not return valid results. This uses the Rust log2()
function instead of an integer logarithm, and rounds
the result up rather than to the nearest integer.

Coverage remained the same at 75.579% when pulling 44649f9d1467f4f81a1b707acea0e5fc9af4d9f3 on rzumer:auto-tiles into 1a2d2dcb660602e281977e86662cf1d8dbfb2d41 on xiph:master.

Thanks for fixing this!


large-v3-turbo benchmark

Any benchmark with the new released large-v3-turbo model?

@asr-lord did you made any test?


Do not write SHP files that are over 2gb

The ShapeWriter can produce shp files that are over 2gb (int.MaxValue bytes). Unfortunately, ArcGis Pro (and possibly other tools), cannot actually correctly read such large files.
I had some shapefiles that I created that had produced slightly more than 2gb of shape data, and I originally thought it was some sort of arcgis bug that my 300,000 row shapefile was stopping at 269,861 rows. Apparently that was the cut off point where my file was over the 2gb limit. While my dbf was small enough to show the rows, the remaining feature polygons could not be read.
If the SHP length field exceeds int.MaxValue an invalid operation exception should be thrown as the file is likely unusable.

Thanks for pointing that out. We will address the issue as soon as a free time slot becomes available.

There is a 2 GB size limit for any shapefile component file, which translates to a maximum of roughly 70 million point features. The actual number of line or polygon features you can store in a shapefile depends on the number of vertices in each line or polygon (a vertex is equivalent to a point).
— Esri Documentation


move date to its own js

Codecov Report

Merging #287 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #287   +/-   ##
=======================================
  Coverage   98.92%   98.92%
=======================================
  Files           6        6
  Lines          93       93
  Branches       18       18
=======================================
  Hits           92       92
  Misses          1        1

Impacted Files
Coverage Δ

lib/objectDecider.js
100% <ø> (ø)
:arrow_up:

lib/dateCatcher.js
100% <100%> (ø)
:arrow_up:

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 f3be521...116995f. Read the comment docs.


Cordova compiling

Are these the steps performed when compiling an APK?

Prepare webpack & other framework7 related stuff
Download cordova plugins
Compile cordova
Delete cordova generated files and directories (index.html, www, etc.)
Launch APK using default emulator

I've added 2 plugins to cordova and every time i run "npm run android" the plugins are being downloaded.
Currently I'm looking at the browser-sync cordova plugin but if generated files under /node_modules/cordova/bin are always deleted, there'll be no files to watch.
I find it hard to test using an actual device for the native functions. Do we an alternative?
Thanks

That is how the design works currently. Feel free to propose a better one :-)

Impossible to test on device or even with emulator. Every plugin downloaded every time. Weird..


Embed boostrap nodes at build time

See https://github.com/status-im/js-waku/pull/528#discussion_r807105889

Superseded by #517


Deprecate Advisor.use_cdms_auth

Description of change
This deprecates the field Advisor.use_cdms_auth which we don't use anymore.
Please ignore the branch name :-/
Checklist

[x] Has a new newsfragment been created? Check changelog/README.rst for instructions
[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[ ] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

@reupen 👍 true!


Don't serialize contained fields of unsaved cards into URL

This fixes CS-5819 issue around viewing a contained field in an unsaved card

The behaviour I experience now is this. Clicking on one of the fields "embedded contains" card pops a new card on the stack in isolated mode. But I can continue typing to edit that field
https://github.com/cardstack/boxel/assets/8165111/24728b6b-b64f-42e3-8e4e-bc105bd79976

The behaviour I experience now is this. Clicking on one of the fields "embedded contains" card pops a new card on the stack in isolated mode. But I can continue typing to edit that field. This only happens when I create a new card. Not when I edit an existing card.
Screen.Recording.2023-07-29.at.9.40.47.PM.mov

Oh wow, that’s weird. I wonder if it is a separate issue? I can check it out tho.

The behaviour I experience now is this. Clicking on one of the fields "embedded contains" card pops a new card on the stack in isolated mode. But I can continue typing to edit that field. This only happens when I create a new card. Not when I edit an existing card.
Screen.Recording.2023-07-29.at.9.40.47.PM.mov

Oh wow, that’s weird. I wonder if it is a separate issue? I can check it out tho.

Yea I think perhaps this can sit in another ticket. https://linear.app/cardstack/issue/CS-5820/when-creating-a-new-card-with-nested-contains-field-isolated-mode-can

The behaviour I experience now is this. Clicking on one of the fields "embedded contains" card pops a new card on the stack in isolated mode. But I can continue typing to edit that field. This only happens when I create a new card. Not when I edit an existing card.
Screen.Recording.2023-07-29.at.9.40.47.PM.mov

Oh wow, that’s weird. I wonder if it is a separate issue? I can check it out tho.

Yea I think perhaps this can sit in another ticket. https://linear.app/cardstack/issue/CS-5820/when-creating-a-new-card-with-nested-contains-field-isolated-mode-can

cool, i'll look into that one when I free up from the auto save work (if no one gets to it before me)