Add TypeScript definitions

This adds TypeScript definitions so people can use this library with TypeScript projects :)

@wesselvanderlinden thank you, I just released https://github.com/rmariuzzo/Lang.js/releases/tag/v1.1.13

@rmariuzzo nice, thanks!


Definition conflict with VUE VNode

Hi, I have used tsx-dom in my project, and also, I have import VUE.
When I build my project, error occured:
TS2322: Type '{ children: Element; class: string; }' is not assignable to type 'ElementAttrs<HTMLAttributes>'.
  Property 'children' does not exist on type 'ElementAttrs<HTMLAttributes>'.

Have you have any idea about this issue?

Hey, sorry, this somehow slipped past me. I don't think there is a way to use multiple jsx/tsx libaries in the same project.

Fine, I will careful use that, hhhh


sdk changes for fetch and submit action

Please test it locally using npm link to ensure e2e working.


ARROW-4527: [Packaging][Linux] Use LLVM 7

We use https://apt.llvm.org/ for Debian strech and Ubuntu Xenial for Gandiva packages.
If users who don't use Gandiva packages, they don't need to enable the LLVM APT repository.

CI result: https://github.com/kou/crossbow/branches/all?query=build-60

Thanks @kou !


Copying review text files to bin dir

Documentation does not state this has to be done manually. Either documentation should add a step to copy the review files or the code change could be added to the code base.
Module: 05
Lab/Demo: 01
Fixes # .
Changes proposed in this pull request:

Copy reviews to ouput dir.

Not actually required for lab to work


Setting up a Federation + Lightning Gateway

I have followed all the instructions in your setup documentation
guide
All ran smoothly until e executed the following cli command using the invite code specified in the Guardian UI
sudo docker-compose -f gateway/docker-compose.yaml exec gatewayd gateway-cli connect-fed {fed**********}
I receive the following error: Error: Bad status returned 401 Unauthorized
I have also tried accessing via the gateway URL and although I see the login screen, the password is not accepted (I did not change this from the default during initial setup)
Hope someone can give me some pointers please.

--password needs to be provided for the cli, also need to provide the address.
@me todo: better error here

Hi and thanks for getting back to me @Kodylow, I don't quite understand your reply, could you please provide an example for me?

for the gateway cli you also have to provide --password "your-password" as an argument for authentication.
For the other problem of not being able to get into the gateway-ui please shoot me a message on discord @kodylow and happy to hop on and debug it with you, someone else had a similar issue a while ago think it's a deployment problem though. If I can id it with you I can update the docs for it.


Support to config operation log root dir both for kyuubi server and engine sides

Why are the changes needed?

Support to config operation log root dir with kyuubi configuration both for server and engine sides.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #1160 (71794bd) into master (22e6432) will increase coverage by 0.01%.
The diff coverage is 88.46%.

:exclamation: Current head 71794bd differs from pull request most recent head 44fccfe. Consider uploading reports for the commit 44fccfe to get more accurate results

@@             Coverage Diff              @@
##             master    #1160      +/-   ##
============================================
+ Coverage     79.25%   79.27%   +0.01%
  Complexity      101      101
============================================
  Files           182      182
  Lines          6653     6668      +15
  Branches        785      786       +1
============================================
+ Hits           5273     5286      +13
  Misses          925      925
- Partials        455      457       +2

Impacted Files
Coverage Δ

...ubi/engine/spark/operation/PlanOnlyStatement.scala
0.00% <0.00%> (ø)

...la/org/apache/kyuubi/session/AbstractSession.scala
96.51% <ø> (+1.10%)
:arrow_up:

...org/apache/kyuubi/operation/log/OperationLog.scala
94.44% <84.61%> (-1.21%)
:arrow_down:

...uubi/engine/spark/operation/ExecuteStatement.scala
88.88% <100.00%> (ø)

...kyuubi/engine/spark/session/SparkSessionImpl.scala
100.00% <100.00%> (ø)

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
95.31% <100.00%> (+0.07%)
:arrow_up:

...org/apache/kyuubi/operation/ExecuteStatement.scala
82.79% <100.00%> (ø)

.../org/apache/kyuubi/session/KyuubiSessionImpl.scala
89.58% <100.00%> (ø)

.../scala/org/apache/kyuubi/server/KyuubiServer.scala
53.48% <0.00%> (-2.33%)
:arrow_down:

...pache/kyuubi/sql/KyuubiQueryStagePreparation.scala
80.39% <0.00%> (-0.99%)
:arrow_down:

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 22e6432...44fccfe. Read the comment docs.

thanks for your review, merged to master


Await call to Process in NancyHost

pinging @damianh :smile:

No, don't do this, it will serialize (sequential-ize) handling of requests.

:confounded:

The way it is currently setup though you have an unobserved task which may randomly blow up the appdomain?

@grumpydev not on .net 4.5 unless you...
<configuration>
    <runtime>
        <ThrowUnobservedTaskExceptions enabled="true"/>
    </runtime>
</configuration>

There is also some good exception handling coverage. https://github.com/NancyFx/Nancy/blob/master/src/Nancy.Hosting.Self/NancyHost.cs#L412-L430
Though this https://github.com/NancyFx/Nancy/blob/master/src/Nancy.Hosting.Self/NancyHost.cs#L429 could be wrapped in a try-catch as it reaches out to external code.

Still feels wrong to me having a method marked as async and returning a Task but ignoring it :/

Yeah a Task.Run(() => Process(context)); would be more aesthetic.


⚠ Jenkins Plugins Artifactory has degraded performance

In e574b86, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1250 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 61a3f1f after 16 minutes.


Use DI in reveng: part 1

This is purely a code change. It does not modify existing behavior of reveng.
It is also an incremental change. There are more places to use DI, but enabling DI there will require more significant restructuring.

As discussed in person wtih @lajones, we will have an API/design meeting to review whether to make incremental changes such as this PR or to do a bigger overhaul of reverse engineering.

Updated this PR after discussing changes with @lajones.
Providers beware - this changes provider APIs for reveng.

Looks good to me. But I'd like @ErikEJ to take a look as well - to see how it affects his provider. In particular he'll have to provide an implementation of CodeGeneratorHelperFactory.

Ok. @ErikEJ I will squash and rebase before merging later this afternoon unless you see major problems in these changes.

LGTM :shipit: - but unable to give it a try currently due to https://github.com/aspnet/EntityFramework/issues/2889

Heads up @ErikEJ  (and other provider writers), the CodeGeneratorHelperFactory is mostly a temporary fix for DI, and will likely change soon as we considering larger changes to code gen.


Pubsub with NATS leafnode subscription not working

I have configured 2 NATS servers. One of them is configured as leafnode and connected to the other one.
I have created a stream on the leafnode that contains one subject
streamname: configuration
subjectname: mytenantid.configuration
I have implemented a REST endpoint that subscribes to this subject. This subscription is working as it should. When I puplish something to the subject, I receive it in the REST callback.
In the second scenario the subscription is not working.
In this scenario I have created the stream and subject on the main NATS instance
streamname: configuration
subjectname: mytenantid.configuration
on the leafnode I created a stream that is sourced from this stream in the main instance
~ # nats s add --source configuration
? Stream Name configuration
? Storage file
? Replication 1
? Retention Policy Limits
? Discard Policy Old
? Stream Messages Limit -1
? Total Stream Size -1
? Message TTL -1
? Max Message Size -1
? Duplicate tracking time window 2m0s
? Allow message Roll-ups No
? Allow message deletion Yes
? Allow purging subjects or the entire stream Yes
? Adjust source "configuration" start Yes
? configuration Source Start Sequence 0
? configuration Source UTC Time Stamp (YYYY:MM:DD HH:MM:SS)
? configuration Source Filter source by subject mytenantid.configuration
? Import "configuration" from a different JetStream domain Yes
? configuration Source foreign JetStream domain name cloud
? configuration Source foreign JetStream domain delivery prefix
now I can publish something to the subject in the main instance and will receive it in a subscriber on the leaf node. This works perfectly fine when I am using the nats cli. But when I try to subscribe with DAPR I receive the error:
error occurred while beginning pubsub for component failed to subscribe to topic mytenantid.configuration: nats: no stream matches subject: %!s(MISSING)"
With the nats cli I can see that the stream and the subject is available on the leaf node.
component yaml is attached
pubsub.txt

@Jarema any chance you can get someone to take a look at this? :)

@j4nsp I guess this is about publisher not publishing to proper domain (being cloud).
Will look into the code.

Closed via https://github.com/dapr/components-contrib/pull/2400. Thanks @Jarema


1.3.1 Release

Don't merge this until I do the release.
I will do the release once #57, #61, and #63 are merged.

Release done.


highlight.styl - color: color-link;

I was linting a part of theme's css output and voila:
Expected (<color> | inherit) but found 'color-link'

It's the undefined (typo? $link-color?) variable in highlight.styl (Line 91)

It seems color-link is an old variable name. $link-color should be used.

.gist related styles are removed.


cudnn7.0 not supported even installed -R7 branch?

/home/clp001/torch/install/bin/luajit: ...torch/install/share/lua/5.1/cudnn/
SpatialConvolution.lua:42:attempt to perform arithmetic on field 'groups' (a nil value)

I am using 1080ti and have -R7 branch installed in my machine. However, it breaks like this.

Solved

I am having the same problem as well. @Naruto-Sasuke  how u solve it?

https://github.com/phillipi/pix2pix/pull/140

@KewJieLong

Sovled, thanks


support tracking updated aggregated states

This close #446
Please write user-readable short description of the changes:

Add expanded aggregated state (tracking changes/ updated .etc)
Unified versioned serialize and deserialize of aggregator
Refactor retract aggregated result implementation
Remove some useless implementation in Aggregator

Summary,

Always highly recommended move the refactor part to a different PR especially the current one is critical enough, that will make the PR / review process way more efficient
I didn't see the importance / necessity of breaking prepareBlockAndFill into 3 pieces so far. If we really do need, a separate PR will be way clearer.
We may be able to clean up duplicate semantics like AggregateStateType vs TrackingUpdatesType
We may be able to clean up no_more_keys in this PR or in future PR
Avoid template as much as possible unless it has real benefits and we will be blowing our binary size / compile time quickly and also harder to maintain / debug. Simple / direct code is usually better.
Prefer writeVar for serde since they save disk / network bandwidth and fast as well. Avoid using writeText since they are slow and big.
Let's start to comment more as much as possible. Current code base is kinda of slowly out of control regarding what each function does, what they mean. A bit too many branches / conditions to understand. Without documentation / comments, it will be very hard for different people to pick up.

Summary,

Always highly recommended move the refactor part to a different PR especially the current one is critical enough, that will make the PR / review process way more efficient
I didn't see the importance / necessity of breaking prepareBlockAndFill into 3 pieces so far. If we really do need, a separate PR will be way clearer.
We may be able to clean up duplicate semantics like AggregateStateType vs TrackingUpdatesType
We may be able to clean up no_more_keys in this PR or in future PR
Avoid template as much as possible unless it has real benefits and we will be blowing our binary size / compile time quickly and also harder to maintain / debug. Simple / direct code is usually better.
Prefer writeVar for serde since they save disk / network bandwidth and fast as well. Avoid using writeText since they are slow and big.
Let's start to comment more as much as possible. Current code base is kinda of slowly out of control regarding what each function does, what they mean. A bit too many branches / conditions to understand. Without documentation / comments, it will be very hard for different people to pick up.

Thanks, these are great suggestions.
I'm so sorry, i've separated part of the implementation, but it's still too big, I will separate the refactor parts in next PR


control_cellname_length

fixes https://github.com/gdsfactory/gdsfactory/issues/2907

I think this is not really advisable. This could create duplicate names, and it would be very much not obvious why or where that happens. What's the motivation for this?
It will still be shortened on writing.
As well as this doesn't catch
c.name = ...

i agree with @sebastian-goeldi ... let the @cell decorator and/or save_layout_options take care of it...


Update idLibrary.md

added text regarding the turning off by default of the full body scan.

Is this associated with a code PR?

Is this associated with a code PR?

code pr: https://github.com/prebid/Prebid.js/pull/6140

part of 4.21

part of 4.21


The benchmark workflow fails to create comments when the author of pull request is not me

The fix is too complicated.


refactor(ui): WorkflowsToolbar component from class to functional

Partial Fixes for #9810
Motivation
Use newer, modern functional components compatible with hooks instead of legacy class-based components
Modifications

class fo functional

this.props -> arguments
methods -> inner functions

Delete loadWorkflows() from WorkflowsToolBar props

Beacause ListWatch() update workflows when workflows was performed action

getNumberSelected() -> WorkflowsToolbar's local variable numberSelected

This function get the number of selected workflows from calling props. However it gets called multiple times each rendering.
So, when they are updated, we can get the number of selected workflows from numberSelected once without multiple function call.

using popup and notifications with useContext

delete renderActions

move rendering Action buttons element toWorkflowsToolBars rendering
local variable

actionButtons -> delete
actions -> local variable in useMemo
disabled -> local variable in useMemo
groupActions -> variable groupAction in WorkflowsToolbar

using useMemo with dependency  props.selectedWorkflows

modify name in WorkflowsGroupAction and variable

interface WorkflowsGroupAction -> WorkflowsOperation

Beacuse I think it is ambiguous what 'group' means 'workflows' or 'Action'
WorkflowsOperation is similar with WorkflowOperation

groupIsDisabled -> isDisabled

I think 'disabled' is more related with "operation" not "group",
Also, isDiabled -> actionIsDiabled in WorkflowsToolBarProps

className -> delete

It is same action.title

groupAction -> workflowsAction

modify function performActionOnSelectedWorfklows

async/await -> delete

await keyword use in popup that check action
popup move to workflowsAction

This function is called only when action are performed in the selected workflow.

Verification
Pure refactor, no real semantic changes
Tested in Local environment

Screenshot below, Action of delete workflows

Screenshot below, Action of resubmit workflows

Screenshot below, action button when workflows running

The renames and re-ordering took a bit for me to wrap my head around, so I waited a bit to finish the review until I was fully recovered 😅 . It definitely made more sense when I was feeling better! And the namings were definitely confusing before your changes too

Thanks for detailed advice!!
The most difficult in refactoring is obviously naming value and parameter... 😂

The most difficult in refactoring is obviously naming value and parameter... 😂

"There are only two hard things in Computer Science: cache invalidation and naming things." -- Phil Karlton
naming is indeed a hard thing, no joke 😉


Increase time out on voting system

Users get kicked out of the system pretty quickly. We need them to go over the manifesto so we need this time out increased by at least 20min if that's possible.
Both on mobile & computer.

The current timeout is 1 day, but i think that happened because we were upgrading the server

On mobile too?


Study the usage of pidfd to implement VM ID via API

          Study the usage of `pidfd` to implement VM ID via API

Originally posted by @vilvo in https://github.com/tiiuae/vmd/pull/24#discussion_r1145953192

Given the know issues with Linux PIDs http://catern.com/process.html for VM IDs,
study pidfd usage - https://lwn.net/Articles/794707/

Summary of the problem space
In our API we need a method of identifying a virtual machine. The ID should preferably be an integer which is passed as part of a path vm/info/{id}. We prefer a stateless approach where we don't store any extra state on the host or have persistently stored identifiers. A VmId will be valid for the lifecycle of the VM.
Process ID's or PIDs have problems summarized in http://catern.com/process.html more broadly. What is of specific interest to us is how to uniquely identify processes (representing virtual machines) on the system, which in turn relates to the following statement in the linked article:
Rather than use secure identifiers for processes (such as a file descriptor), global process identifiers (pids) separate names from authority, making it possible to confuse one process for another.
Furthermore using file descriptors as identifiers doesn't work because a child process could inherit it's parent's file descriptor.
Proposed solution
In the linked article the proposed solution is a rather new kernel feature called pidfd.
This solution should give us the required identifier and is thus proposed as the solution for creating a VmId in the vmd system.

Rust standard library has an unstable nightly feature for working with pidfd's https://doc.rust-lang.org/std/os/linux/process/struct.PidFd.html


decomp_dbg cannot load function

Ghidra Version: Git 7737364

Try:
FUN_f1061880.xml.log
$ decomp_dbg
[decomp]> restore FUN_f1061880.xml
FUN_f1061880.xml successfully loaded: Intel/AMD 64-bit x86
[decomp]> load function FUN_f1061880
Execution error: Unknown function name: FUN_f1061880

Seems like that function is inside a namespace/class, doing load function PGConfigurationDescriptor::FUN_f1061880 loads it successfully.

Thanks for the hint.


feat: include a reference to the updated OpenAPI schema for 2.3

With the release of the PACT API 2.3 we will begin to maintain OpenAPI schema's at https://github.com/wbcsd/pact-openapi .
As a first step, these schemas have been constructed by combining the schemas from the conformance-testing tool with the schemas in the demo code at https://github.com/wbcsd/demo-endpoint.  Also included are the descriptions and sample values from the Technical Specification: https://wbcsd.github.io/tr/2024/data-exchange-protocol-20241010/
Starting version 3.0 we will work the other way around and generate the data model descriptions in the Technical Specification from the OpenAPI schema.
As these schema’s will be the single source of truth, it makes sense to refer to them from the pact-api-testbed as well. So for 2.3, the pact-api-testbed would use schema: https://wbcsd.github.io/pact-openapi/pact-openapi-2.3.0.yaml
NB: Referring to the schema at runtime wil require the https://github.com/wbcsd/pact-openapi to be accessible. If that would often not be the case, we could also opt for including it in the package build step.

Looking great, @mill6-plat6aux! Also thanks for fixing the path-parameter code in the lupinus library.


Testing the new esp-wifi-config

@maximkulkin
Hi Maxim,
I was testing today the new esp-wifi-config. I pulled the new version and compiled and flashed a sonoff_s20 firmware on a Wemos D1 mini.
I did an observation and wanted to ask you. After a few seconds when Wifi has become unavailable, the esp8266 device reboots. Was that intentional?
scandone
no Test1 found, reconnect after 1s
reconnect
scandone
no Test1 found, reconnect after 1s
>>> wifi_config: Connecting to Test1
>>> wifi_config: Disconnected from WiFi network
scandone
del if0
usl
sul 0 0

ets Jan  8 2013,rst cause:2, boot mode:(3,0)

load 0x40100000, len 2292, room 16

0x40100000: _stext at ??:?

tail 4
chksum 0x57
load 0x3ffe8000, len 772, room 4
tail 0
chksum 0x0b
csum 0x0b

rBoot v1.4.0 -<EMAIL_ADDRESS>Flash Size:   8 Mbit
Flash Mode:   DOUT
Flash Speed:  40 MHz
rBoot Option: Big flash
rBoot Option: RTC data

Booting rom 0.
pp_task_hdl : 3ffefff0, prio:14, stack:512
pm_task_hdl : 3ffef8e0, prio:1, stack:176
frc2_timer_task_hdl:0x3fff3f50, prio:12, stack:200

ESP-Open-SDK ver: 0.0.1 compiled @ Mar 27 2019 05:46:02
phy ver: 273, pp ver: 8.3

>>> wifi_config: Initializing WiFi config
>>> wifi_config: Connecting to Test1
mode : sta(38:2b:78:03:69:d1)
add if0
scandone
no Test1 found, reconnect after 1s
reconnect
scandone
no Test1 found, reconnect after 1s
reconnect
scandone
no Test1 found, reconnect after 1s
reconnect
>>> wifi_config: Connecting to Test1
scandone
>>> wifi_config: Disconnected from WiFi network
>>> wifi_config: Starting AP mode
mode : sta(38:2b:78:03:69:d1) + softAP(3a:2b:78:03:69:d1)
add if1
bcn 100
Function called without core lock
>>> wifi_config: Starting DHCP server
>>> wifi_config: Starting WiFi scan
scandone
>>> wifi_config: Starting DNS server
>>> wifi_config: Starting HTTP server

Yes. This is a workaround for old style API where client code provides only on_wifi_ready callback and a) there is no way to notify of disconnects; b) it’ dangerous to call on_wifi_ready() again (when connection is restored) as it might cause client code to spawn another set of server tasks which might not work at all.. If you use wifi_config_init2(), it won’t reboot.


Update Composer dependencies (2022-02-26-00-07)

Visual regression test passed!
View the visual regression test report


Nepal New change in the Map

Hi Guys,
Nepal has included additional locations into their maps. Will possible to include them into json files. Thanks

https://myrepublica.nagariknetwork.com/uploads/media/Nepalwithlipiyadhura_20200509204543.jpg
https://myrepublica.nagariknetwork.com/news/ndia-began-construction-of-controversial-road-12-years-ago-nepal-is-unaware/
Regards,
Jayanthan

Hello @JayanthanSivaloganthan, this repository has the latest updates. 👉  https://github.com/Acesmndr/nepal-geojson


Mapnik identifier bugfix (with regression test)

CartoCSS like this
#layer ['mapnik::geometry_type'=2]{
  line-color: #4CC8A3;
  line-width: 1.5;
  line-opacity: 1;
}

breaks because tangram doesn't provide mapnik's identifier at runtime, which basically deactivates the rendering of the layer.
This bugfix detects mapnik's identifiers and throws an exception to avoid detecting the problem at tangram's runtime instead of at tangram-cartocss's runtime.
Regression test added too.

Validated with @rochoa, dale neno!

I've just added a new test to check that spaces before the quotes and, also, " instead of '.


Custom css section does not change monospace font

Here's what I'm seeing in textboxes:
.rgh-monospace-textareas #merge_title_field,
.rgh-monospace-textareas #commit-summary-input,
.rgh-monospace-textareas textarea {
	font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
}

So I copied the rule to the "Custom CSS" text area in the extension's options page, replacing the font with the monospace font I'm using for my overall github theme and other extensions. But it has no effect. I'd use another method to inject this but RGH's stylesheet takes precedence over my inline styles. I'm sure I'll work it out on my own but just thought I'd let you know

Yeah we don’t decide the order of injection, you’ll have to use important or increase the specificity of the selector, for example by or ending :root on every line

Yeah we don’t decide the order of injection, you’ll have to use important or increase the specificity of the selector, for example by or ending :root on every line


Feat/jetson tx2

I updated your code to make it work on a jetson-TX2 which is compatible with:

CUDA 10.2
TensorRT 8.2.1
C++14

@all-contributors please add @ltetrel for code


Update crates.io package

Bump the crates.io package version to 0.1.1.
Reason:
I'm aware that you can install packages via git (cargo install --git https://github.com/solokeys/solo2-cli), however this has the disadvantage that those packages are not tracked via cargo-update etc., so it's pretty easy to end up with an outdated/broken version without noticing it.

Done, thanks for the reminder.


ops: align versions in monorepo

https://github.com/rilldata/rill/issues/5592

lets make them 0.51.0 as the next release would be cut from this branch.

Given 1) we're not publishing any of our packages to npm, 2) we have our own way of managing code versions via git tags, and 3) we're not consuming any version anywhere.... what if we removed the version fields altogether?
Rather:
* We could add `"private": true` to our package.json files to be more explicit that they're not published to `npm`.

* We could cite `web-common` in our `devDependencies` like: `"web-common": "workspace:*"`, which seems to be a standard practice in monorepos.

Thoughts?

@ericpgreen2 That sounds great to me! It helps reduce the complexity of version maintenance across different workspaces and during the release process. I also tried update version: "0.0.0" for each workspace in the project, in an attempt to explicitly "lock" the version value in package.json.
One issue here is, when specifying "web-common": "workspace:*", it would crash by the following error:

Not quite an expert over here, so I tried replace "workspace:*" with "*" to resolve the issue.
Here is the reference I got: https://stackoverflow.com/a/79135939
How would you like this?
cc: @himadrisingh I'm following @ericpgreen2 's suggestion which looks a good approach to reduce complexity. I also updated the version in the entry package.json to 0.51.0 regarding your suggestion :)


Update to ThingTalk 2.0

This is the first PR that updates to the latest version of Genie Toolkit, ThingTalk, and genienlp. It's a big update.
It is not finished yet, I'll keep updating. What's missing:

[x] tests don't pass yet
[x] compatibility with 1.0 clients is not tested and might be incomplete
[x] the calls to the ThingTalk library from browser code (Commandpedia, Train Almond) have not been tested
[x] docker builds have not been tested
[x] removing the exact match / BTrie code that is now duplicate with Genie

Pull Request Test Coverage Report for Build 3011

170 of 223 (76.23%)  changed or added relevant lines in 28 files are covered.
49 unchanged lines in 16 files lost coverage.
Overall coverage remained the same at 66.627%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

almond/engine.js
2
3
66.67%

scripts/generate-cheatsheet.js
2
3
66.67%

routes/my_conversation.js
3
5
60.0%

util/dataset.js
19
21
90.48%

routes/thingpedia_translate.js
0
3
0.0%

util/thingpedia-client.js
17
20
85.0%

scripts/migrate-dataset.js
4
9
44.44%

nlp/admin.js
1
8
12.5%

util/compat.js
4
11
36.36%

routes/thingpedia_api.js
27
36
75.0%

Files with Coverage Reduction
New Missed Lines
%

training/tasks/update-dataset.js
1
96.0%

util/example_names.js
1
64.29%

util/import_device.js
1
78.38%

util/location-linking.js
1
72.97%

util/thingpedia-client.js
1
75.08%

util/validation.js
1
67.29%

nlp/nlu.js
2
67.71%

routes/mturk.js
2
88.66%

training/lib/dataset_generator.js
2
90.3%

scripts/migrate-dataset.js
3
32.26%

Totals

Change from base Build 2993:
0%

Covered Lines:
6874

Relevant Lines:
9675

💛  - Coveralls

Pull Request Test Coverage Report for Build 3011

170 of 223 (76.23%)  changed or added relevant lines in 28 files are covered.
49 unchanged lines in 16 files lost coverage.
Overall coverage remained the same at 66.627%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

almond/engine.js
2
3
66.67%

scripts/generate-cheatsheet.js
2
3
66.67%

routes/my_conversation.js
3
5
60.0%

util/dataset.js
19
21
90.48%

routes/thingpedia_translate.js
0
3
0.0%

util/thingpedia-client.js
17
20
85.0%

scripts/migrate-dataset.js
4
9
44.44%

nlp/admin.js
1
8
12.5%

util/compat.js
4
11
36.36%

routes/thingpedia_api.js
27
36
75.0%

Files with Coverage Reduction
New Missed Lines
%

training/tasks/update-dataset.js
1
96.0%

util/example_names.js
1
64.29%

util/import_device.js
1
78.38%

util/location-linking.js
1
72.97%

util/thingpedia-client.js
1
75.08%

util/validation.js
1
67.29%

nlp/nlu.js
2
67.71%

routes/mturk.js
2
88.66%

training/lib/dataset_generator.js
2
90.3%

scripts/migrate-dataset.js
3
32.26%

Totals

Change from base Build 2993:
0%

Covered Lines:
6874

Relevant Lines:
9675

💛  - Coveralls


CSVW validation

Find a validator for hand-written CSVW schema.

In development https://github.com/sebneu/csvw-parser


refactor(oxlint): lint/mod.rs -> lint.rs

Merge activity

Oct 21, 11:06 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Update cats-effect, cats-effect-laws to 3.3.0

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws

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

Applied Migrations

github:typelevel/cats-effect/v3_0_0?sha=v3.0.0
github:typelevel/cats-effect/v3_3_0?sha=series/3.x

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, early-semver-major, semver-spec-major, scalafix-migrations

Superseded by #194.


Set uart baud_rate to 921600 does not work with UART_SCLK_REF_TICK (IDFGH-2772)

Module or chip used: ESP32-WROOM-32
IDF version: v4.2-dev-432-gc65b67115a52
Build System: CMake
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System: Linux
Power Supply: USB
Test using examples/peripherals/uart/uart_echo and change baud_rate and source_clk settings as below:
.baud_rate = 921600,
.source_clk = UART_SCLK_REF_TICK,
Build and run the application, the output shows garbage message.
In this test, CONFIG_PM_ENABLE is not set.
Below tests for reference:
Test Fail: .baud_rate = 921600 && .source_clk = UART_SCLK_REF_TICK (show garbage messages)
Test OK: .baud_rate = 115200 && .source_clk = UART_SCLK_REF_TICK
Test OK: .baud_rate = 921600 && .source_clk = UART_SCLK_APB
TEST OK: .baud_rate = 115200 && .source_clk = UART_SCLK_APB
PS. My main intention was to test CONFIG_PM_ENABLE with different source_clk and baud_rate.
But I hit this issue even when CONFIG_PM_ENABLE is disabled.

Hi,
When using ref_tick (1M) as the UART source clock (SCLK), the baud rate cannot reach 921600. Better not to exceed 115200
thanks !!

Hi @koobest,
Thanks.
So that means I cannot use baud_rate = 921600 and enable CONFIG_PM_ENABLE at the same time, is my understanding correct?

Hello, will 115200 baud uart work with UART_SCLK_REF_TICK running at 1MHz?


Prevent actions that affect roles and privileges during rolling upgrade

DROP TABLE/VIEW, RENAME TABLE (includes views), SWAP TABLE all touch user/roles privileges, so they must be rejected during a rolling upgrade from < 5.6.0 to >= 5.6.0, since there is a
UsersMetadata/UserPrivilegesMedata -> RolesMedatada involved, and the nodes < 5.6.0, cannot read RolesMetadata.

We could even be smarter inside RoleManagerDDLModifier and throw the exception only when needed -> when privileges are affected...

We could even be smarter inside RoleManagerDDLModifier and throw the exception only when needed -> when privileges are affected...

Of course, just followed the easy path :( sorry, I will move them and check conditionally only if there is a modification involved.


OnBackButtonPressed doesnt work in android 14

Trying to prevent the popup from closing -
protected override bool OnBackButtonPressed()
{
	return true;
}

A normal maui page works fine. So not sure if this NuGet implementation needs updating - https://vladislavantonyuk.github.io/articles/Migrate-the-deprecated-OnBackPressed-function-in-.NET-MAUI-Android-application/

Havnt got much free time atm, but someone is able to take a look, this may work -
Changing the code here - https://github.com/LuckyDucko/Mopups/blob/44b6af75795a974c45e69587be04b5c684f09db6/Mopups/Mopups.Maui/Hosting/AppHostBuilderExtensions.cs#L24C20-L24C103
to -
lifecycle.AddAndroid(d =>
{
    d.OnBackPressed(activity =>
    {
        activity.OnBackPressedDispatcher.OnBackPressed();
        Droid.Implementation.AndroidMopups.SendBackPressed();
    });
});


[T4A5][W15-A2] Gng Jia Hui

Do take note of all the things pointed out by the bot.

Some comments added. Feel free to add more comment if you have any questions. Once you are done, you may close the PR after reading comments.


How do i add a Song via Source Code?

Describe your problem here.
I am trying to do an easter egg in my engine "Verse Engine" which uses Psych Engine 0.7.1h as a base, but i cannot add a song at all, even adding the week itself to assets/weeks and putting it on the list does not work - do i need to edit something on the source folder?
Are you modding a build from source or with Lua?
Source
What is your build target?
HTML5/Browser
Did you edit anything in this build? If so, mention or summarize your changes.
Editing Donate in StoryMenuState.HX to play the song im talking about.

Nobody responded in 3 weeks so im remaking the issue


Webview doesn't work anymore with XCode 9 / iOS 11.0 Emulator

Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?

iOS 11.0

Please, provide the following version numbers that your issue occurs with:

CLI: 3.2.1
Cross-platform modules: 3.2.0
Runtime(s): 3.2.0
Plugin(s):
"moment": "^2.18.1",
"nativescript-facebook": "^2.0.1",
"nativescript-sqlite": "^1.1.7",
"nativescript-theme-core": "~1.0.2",
"tns-core-modules": "^3.2.0"
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"lazy": "1.0.11",
"nativescript-dev-sass": "^1.2.0",
"nativescript-dev-typescript": "~0.5.0",
"node-sass": "*",
"tslint": "^5.4.3",
"typescript": "~2.2.1"

Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
After installing XCode 9 and using the IPhone X / iOS 11.0 emulator, the login doesn't work anymore. After clicking on my login button, I immediately get the "canceled" Error Message.
Is there any code involved?

provide a code example to recreate the problem
(EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.

<Page
    xmlns="http://schemas.nativescript.org/tns.xsd" actionBarHidden="true"
    xmlns:Facebook="nativescript-facebook" loaded="loaded" class="page">
    <GridLayout rows="*,auto,*" class="loginBtnContainer">
        <GridLayout rows="auto" columns="auto,*" row="1">
            <Button class="fbBtn" row="0" col="0" style="horizontal-align: center;" isEnabled="false">

            </Button>
            <Button tap="login" class="fbBtn" id="fbLoginButton" row="0" col="1">

            </Button>
        </GridLayout>
        <ActivityIndicator busy="false" row="1" style.zIndex="99" id="activityIndicator"/>
    </GridLayout>
</Page>

exports.login = () => {
    requestReadPermissions( ['public_profile', 'email', 'user_birthday', 'user_photos', 'user_about_me'], (err: Error, loginResponse: LoginResponse) => {
        if (err) {
            console.log(err.message);
            return;
        }

        console.log("Token received, making the request to own server now");
   }
}

Hi @Emtschikay ,
According to FB SDK 'canceled' error is thrown when the login is canceled by the user https://developers.facebook.com/docs/reference/ios/current/class/FBSDKLoginManagerLoginResult/. However, I was unable to reproduce it using the app in the demo folder of the repository. Would you try it on your side? Do any modifications necessary to reproduce the issue if needed and send it over so we can further exam it.
Thanks.

Closing due to inactivity - @Emtschikay do let me know if you are still experiencing this issue and provide the information requested by @zbranzov


Fix openssl option name (outkey -> keyout)

Thank you for your contribution! Please give our developers some time to review and accept it.
@ascheibal @alstiefel Looks like this is a pretty straightforward fix for the wrong option name.


InspectorPS - Add $ModuleConfig as a Param for Powershell collection

$ModuleConfig is used in the powershell collection to pass a value to @ModuleConfig when executing [Inspector].[InspectorDataCollection] e.g.
EXEC [$LoggingDb].[Inspector].[InspectorDataCollection] @ModuleConfig = $ModuleConfig
The param should be a data type of string and behave as follows:

No value passed -Set $ModuleConfig to NULL (as a string with no apostrophe encapsulation.

If a value is passed - Set $ModuleConfig to the string value passed but encapsulate in apostrophes e.g Default would become 'Default'.

Validation on $ModuleConfig is already taken care of to ensure that the module config exists in the Inspector ModuleConfig table , when this is null the moduleconfig will be auto determined (within SQL) on a server by server basis.

Sounds good, want to give it a go yourself? You have the blueprints there

Yeah I will give this a go :)


Gaining items.

Is it possible to have investigators in MoM gain items with an event actually showing an image of the item?

It's on my to do list

Closed as duplicate of #63


Accumulated changes for MCN

When complete, should help close #132

Closing this PR - moving work from fork to upstream repo branch


Create CODE-OF-CONDUCT.md

This is a requested document for the repos going to the MBO. It follows a standard format.

@Trueblueaddie - I think I'll hold off merging this, until we resolve the discussions in https://github.com/input-output-hk/ouroboros-network/pull/4133 (and I'm leaning more and more towards just linking to a since CoC hosted by IOG).

That makes a lot of sense @JaredCorduan

resolved by #3139


Add highlight-outset, highlight-clip

This is to make it much nicer for presentations, by allowing code to be aligned, with the default
highlight-inset: 0.32em,

and with
highlight-inset: 0em,
highlight-outset: 0.32em,

Also, clip with
highlight-inset: 0em,
highlight-outset: 0.32em,
highlight-clip: true,

and
#show raw: set text(font: "CaskaydiaCove NF")

Test code
#import "@preview/touying:0.5.5": *
#import "codly.typ": *
#import "@preview/codly-languages:0.1.3": *
#import themes.simple: *

#show: codly-init.with()
#show: simple-theme.with(
  aspect-ratio: "16-9",
  config-common(preamble: {
    codly(
      languages: codly-languages,

      // Comment this on/off
      // /*
      highlight-inset: 0em,
      highlight-outset: 0.32em,
      // */

      highlight-clip: false,

    )
  }),
)

#show raw: set text(font: "CaskaydiaCove NF")

= Title

== First Slide

#for (slide, hi) in (
  (line: 3, start: 8, end: 18),
  (line: 2, start: 8, end: 8),
  (line: 3, start: 22, end: 32),
).enumerate(start: 1) {
  codly(highlights: (hi,))
  only(slide)[
    ```ocaml
let rec fib n =
  if n < 2
  then 1
  else fib (n - 1) + fib (n - 2);;
    ```
    See how the code block contents change when flicking between slides.
  ]
}

#centered-slide[Thank you]

Sorry for only reviewing this now, I was first on a business trip and then I did not have the bandwidth, will take a look at it now.


The UI does not show up as an option to download in HACS

Checklist

[X] I have updated to the latest available Home Assistant version.
[X] I have cleared the cache of my browser.
[X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing
The UI does not show up as an option to download in HACS. When trying to add the link as a custom repository, each option (integration, Lovelace, Theme) etc.. throws an error
Describe the behavior you expected
To be able to find it in HACS
Steps to reproduce the issue
Go to HACS
Use the search bar to search for rounded ui
Tried to create custom repository
What version of Home Assistant Core has the issue?
2024.7.0
What was the last working version of Home Assistant Core?
na
In which browser are you experiencing the issue with?
Chrome - latest
Which operating system are you using to run this browser?
MacOS - latest
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response

I have the same issue - lovelace-rounded doesn't show up in HACS.

Problem is, that the theme is not green lighted for 2024.07.*
https://github.com/lovelace-rounded/ui/blob/main/hacs.json
Seeing the commit rate i assume, that this project is dead.


[Enhancement] add column rename cases to db sync and table sync

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
No response
Solution
basic case 1:

create ccr job on db or table
create table and insert data
rename a column
insert data
check data in upstream and downstream are same
check columns name in upstream and downstream are same.

base case 2:
add materialized view and rename column used by materialized view.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

pick


Singledispatch entrypoints

I was playing with how we could set up functions in a modular fashion without having to add a function in the corresponding class. cattrs mentions the use of single dispatch functions for their structure and unstructure functions. We can do the same for functions like plot(), where the plot function should be seen as a module, and not as part of the class itself.
I have combined this functionality with the entry_points function to show that a user or plugin package could in theory also add functionality. For example, a user comes with a specific entry point for plotting a specific package, other than the default way that we normally do.

Python 3.9 seems to fail, because the arguments for entry_points are wrong.
I wonder if we should still support this version of python: https://scientific-python.org/specs/spec-0000/

I wonder if we should still support this version of python: https://scientific-python.org/specs/spec-0000/

I figured we'd want to support 3.9 until EOL in Oct next year (https://devguide.python.org/versions/) but as a matter of personal preference I'd much rather take your source's advice and drop it earlier, if only so we can use 3.10 features like pattern matching

If we keep 3.9 supported, we might come in conflict with the latest versions of numpy and xarray.  I think that's why these packages support only a small subset of python versions.

True. I didn't realize numpy had already dropped 3.9. I say we just follow them?

Somewhat similar discussion: https://github.com/modflowpy/flopy/issues/1470
I don't know if @jlarsen-usgs still has plans for a flopy/modflowapi plugin architecture, more recently he has indicated modflowapi will stay separate from flopy.
But the entrypoints plugin approach seems applicable to the core flopy framework too, if we want the same "engine" to drive not only mf6 but other programs. This would of course expand the scope of this work — maybe wisest to design/build for mf6 initially, then consider extending it to other programs later.


Where do we find appropriate stem cells for dal09?

Trying to bring up a director in dal09 with the documentation and templates from this repository. After a few problems that I can work around, I hit the following:
Command 'deploy' failed:
  creating stemcell (light-bosh-stemcell-3232.4-softlayer-esxi-ubuntu-trusty-go_agent 3232.4):
    CPI 'create_stemcell' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Did not find stemcell with ID '1129495'","ok_to_retry":false}

The image ID matches the information in stemcell.MF.
I'm unable to bring up a director in softlayer with the information currently available in the repository. Where does one find the list of available stemcells for softlayer that are publicly available?

@sykesm
Could you please post me the yaml file used to bring up director? Thanks!

@sykesm
Here is a log for your reference:
Deployment manifest: '/root/workspaces/deployer/bosh-init-6/sl-bosh-v3.yml'
Deployment state: '/root/workspaces/deployer/bosh-init-6/sl-bosh-v3-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:02)
Downloading release 'bosh-softlayer-cpi'... Finished (00:00:08)
Validating release 'bosh-softlayer-cpi'... Finished (00:00:03)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:14)
Started installing CPI
Compiling package 'golang_1.5.3/7d56aca2e7cc0f1e28c0852a9f8c91f0170eed5b'... Finished (00:00:21)
Compiling package 'bosh_softlayer_cpi/dc9ac158cdd14dd7921a307e038b007c2078aa48'... Finished (00:00:10)
Installing packages... Finished (00:00:03)
Rendering job templates... Finished (00:00:00)
Installing job 'softlayer_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:36)
Starting registry... Finished (00:00:00)
Uploading stemcell 'light-bosh-stemcell-3232.4-softlayer-esxi-ubuntu-trusty-go_agent/3232.4'... Finished (00:00:01)
Started deploying
Creating VM for instance 'bosh/0' from stemcell '1129495'... Finished (00:08:39)
Waiting for the agent on VM '20351023' to be ready... Finished (00:00:45)
Creating disk... Finished (00:04:10)
Attaching disk '11591141' to VM '20351023'... Finished (00:01:17)
Rendering job templates... Finished (00:00:03)
Compiling package 'libpq/09c8f60b87c9bd41b37b0f62159c9d77163f52b8'... Finished (00:00:35)
Compiling package 'postgres/55dbf1828bbb8e5fcd7dc7550cfb73de89312458'... Finished (00:04:03)
Compiling package 'genisoimage/008d332ba1471bccf9d9aeb64c258fdd4bf76201'... Finished (00:00:31)
Compiling package 's3cli/46a8902dea5b853b9cc2a8ff570503d0201c4f4f'... Finished (00:00:01)
Compiling package 'powerdns/256336d00b1689138490c385c03ad3a8f54b4a9e'... Finished (00:00:02)
Compiling package 'mysql/b7e73acc0bfe05f1c6cbfd97bf92d39b0d3155d5'... Finished (00:00:42)
Compiling package 'nginx/1d356bbd17ed8c349fd1053093222d78559687ec'... Finished (00:01:02)
Compiling package 'ruby/030e3d4eafd00b10bbfa879bcf44fba62139205e'... Finished (00:02:52)
Compiling package 'golang_1.5.3/7d56aca2e7cc0f1e28c0852a9f8c91f0170eed5b'... Finished (00:00:25)
Compiling package 'director/099c19f03d39e0aca6a28b336f50da4952b70cdc'... Finished (00:02:25)
Compiling package 'nats/6a31c7bb0d5ffa2a9f43c7fd7193193438e20e92'... Finished (00:00:13)
Compiling package 'health_monitor/4c4f257a58778faf38d38d71516f95a002846e34'... Finished (00:01:52)
Compiling package 'bosh_softlayer_cpi/dc9ac158cdd14dd7921a307e038b007c2078aa48'... Finished (00:00:15)
Updating instance 'bosh/0'... Finished (00:00:20)
Waiting for instance 'bosh/0' to be running... Finished (00:00:11)
Running the post-start scripts 'bosh/0'... Finished (00:00:00)
Finished deploying (00:30:32)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

It's most likely that your account has no permission to access that "public" image template. So seems "public" images are still not visible to everyone, I opened a SL ticket to confirm if other accounts can or can't access the public images created by my account.

The light-bosh-stemcell-3215-softlayer-esxi-ubuntu-trusty-go_agent.tgz stem cell works but light-bosh-stemcell-3232.4-softlayer-esxi-ubuntu-trusty-go_agent.tgz does not. I don't believe it's something on my end.
Also, I'd like to reiterate my question:

Where does one find the list of available stemcells for softlayer that are publicly available?

Thanks.

Looking at the stemcell resource on your concourse pipeline, I tried to use these:
    url: https://s3.amazonaws.com/bosh-softlayer-cpi-stemcells/light-bosh-stemcell-3215-softlayer-esxi-ubuntu-trusty-go_agent.tgz
    sha1: b64fe3fb56f1cc0ddb4212c39a94839c9379f82e
    # url: https://s3.amazonaws.com/bosh-softlayer-cpi-stemcells/light-bosh-stemcell-3232-softlayer-esxi-ubuntu-trusty-go_agent.tgz
    # sha1: f669d9f70ad25f89e22742831ae7eab83f890e6e
    # url: https://s3.amazonaws.com/bosh-softlayer-cpi-stemcells/light-bosh-stemcell-3232.2-softlayer-esxi-ubuntu-trusty-go_agent.tgz
    # sha1: 10fce43a2438cb5b8786adc8a24c1b84ec83ac3d
    # url: https://s3.amazonaws.com/bosh-softlayer-cpi-stemcells/light-bosh-stemcell-3232.3-softlayer-esxi-ubuntu-trusty-go_agent.tgz
    # sha1: c5ed6027e6b62dd286af8fdcb79d1ac3e64f0345
    # url: https://s3.amazonaws.com/bosh-softlayer-cpi-stemcells/light-bosh-stemcell-3232.4-softlayer-esxi-ubuntu-trusty-go_agent.tgz
    # sha1: 032fa7fc561b4e0b2ae427bb1219f72d5687fd65

Only the 3215 version (uncommented) works - all others fail to resolve the image ID.

I think the reason why 3215 can work for you is that we ever shared the account to Michael for 3215 image. But we don't want to do that every time when a user wants to use our images, so we started making "public image" from 3232.4, but seems the public images still can't be accessed by other accounts, I am talking with Softlayer support on this issue. After this issue is solved, we will work with BOSH community to publish our stemcells on bosh.io, then the user can see what images can be used on Softlayer.

@sykesm Worked with SL support to try to know where is wrong, I think I got the idea, the problem should be in the CPI code, currently, we use getBlockDeviceTemplateGroups to identify an existing image template, but this function should only work for private images. I think a proper way is to change to use getStatus instead. @sykesm, Need your help to confirm if getStatus can work for your account, could you please try to run the following curl command to see if you can get the correct result? Thanks
curl -v<EMAIL_ADDRESS>Please let us know if the above command works for you. Thanks.

It appears to work:
{
  "accountId": 278444,
  "createDate": "2016-05-19T07:48:21-05:00",
  "id": 1129495,
  "name": "light-bosh-stemcell-3232.4-softlayer-esxi-ubuntu-trusty-go_agent",
  "note": "Public_light_stemcell_3232.4",
  "parentId": null,
  "publicFlag": 1,
  "statusId": 1,
  "summary": "Public_light_stemcell_3232.4",
  "transactionId": null,
  "userRecordId": 247176,
  "accountReferences": [],
  "globalIdentifier": "2741a10e-dee0-4504-baf0-0f5f1558e16f"
}

Opened bug 120778955

@sykesm we are also working on pushing stemcells on bosh.io where all stemcells are published.
/cc @cppforlife since I believe he needs to update bosh.io for SL stemcells.

Submitted PR125 to make cpi support to query public images.

I am closing this. W.r.t. to list of public stem cells. Look for them soon on bosh.io. @ccppforlife has to do some work to make them visible and it's on his todo list.


demo(rating): add rating demo

Add demo for rating component

So this does most of the work necessary for adding the rating demo...except for the rating component actually working in the demo!
Anyone have an idea what's going on?
Edit: I figured it out, we aren't loading a set of font icons.

needs rebasing

Made the changes.
What shall we do about the glyphicons?

Updated with Font Awesome usage - I recommend if there are no other issues, for this to be merged.
We probably should update for it to be icon library agnostic for the long term, but this gets us a working demo.

Blocked on #318

@wesleycho it looks like this one got unblocked (we use utf-8 chars as stars). Do you want to re-base this one or is it easier to just re-create this PR from scratch?

I'll rebase and tweak appropriately

Alright, this now good to review/merge again


Search: Search results button

What I've only noticed now, is that a "Search Datasets" button snugged his way into the design ;-)
In the original design I've only put a search field as I don't think a button "Search datasets" is needed, as people are used to just press enter as on Google search for ex.
In my opinion the Search Datasets Button could be removed.
Status quo

Original Design

LGTM 👍


MD029 doesn't allow nested unordered lists

The rule fails with something like the following:
1. Item number one
2. Item number two
    - This is an item underneath item number two
    - Same with this
        - This is an item under "Same with this"
3. Item number three

And gives:
MD029 Ordered list item prefix

Oops, wrong library lol


Ignore all events except for X.app

The documentation mentions it's possible to ignore all events with the following command:
defaults write org.p0deje.Maccy ignoreEvents true # default is false
Is it also possible to ignore all events except for one app? As in, I want to ignore all events except for events from Xcode.app

It's not possible, but it seems like an interesting advanced feature that can be added to Maccy.

Awesome. Perhaps something as regex is an option to keep it flexible?

Please explain how exactly would you use it.

As a senior iOS developer myself I'll gladly contribute/review where I can

Ok, that sounds like a possible implementation. However, I am curious to learn how would you use it in the real world? Do you have a use case? Can you tell me what apps would you use with Maccy and why having copies from other apps would be inconvenient?

Mainly peace of mind, for me personally I would really only like to have clipboard history as a fallback for when I'm working with text or code and somehow lost something; so I'd only whitelist my commonly used text editors such as xcode and vscode. Then I also don't have to remember setting up/updating Maccy when I start using new apps, especially if it's work related and can contain sensitive data

I would be glad to merge PR adding this, I think the way to implement this would be to use the existing "Ignore" preferences pane with "Applications", but add an additional checkbox saying "Ignore all applications except listed". Enabling this checkbox would essentially invert the logic of ignoring apps (https://github.com/p0deje/Maccy/blob/master/Maccy/Clipboard.swift#L148-L150) and only save copies from these apps.

This feature will be available in the next version

That's awesome @p0deje 👍 will test it soon 🙌


Add SSL tunnel support

This PR introduces support for SSL termination proxies (such as stunnel and Google Cloud MySQL). SSL is offloaded at the proxy. This form of SSL support does not follow the MySQL SSL protocol hence there's a slight change in the SSL flow.
Likely, follow-up code that negotiates SSL capabilities requires a change as capability negotiation should not consider SSL anymore. From a MySQL protocol perspective, the client should behave as if it would not support SSL, otherwise the driver could enter SSL-over-SSL which isn't a good idea.
The second commit adds support for TCP NoDelay and KeepAlive since both options seem required for GCP MySQL.
Related ticket: GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#164

Thx, target version is 0.8.2.RELEASE. And I will find a way for integrate GCP in tests.

Thanks. Probably the easiest way to test it locally is adding a stunnel proxy in front of the server.


Uncaught Error: ENOENT: no such file or directory, stat '~/Desktop/project/var/mail'

[Enter steps to reproduce:]

...
...

Atom: 1.39.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.5
Thrown From: remote-ftp package 2.2.2
Stack Trace
Uncaught Error: ENOENT: no such file or directory, stat '/Users/elliotalderson/Desktop/project/var/mail'
At fs.js:143

Error: ENOENT: no such file or directory, stat '/Users/elliotalderson/Desktop/project/var/mail'
    at fs.statSync (fs.js:953:3)
    at Object.fs.statSync (ELECTRON_ASAR.js:295:16)
    at localFilePrepare (/packages/remote-ftp/lib/helpers.js:109:22)
    at traverseTree (/packages/remote-ftp/lib/helpers.js:141:19)
    at ConnectorSFTP.put (/packages/remote-ftp/lib/connectors/sftp.js:621:9)
    at /packages/remote-ftp/lib/client.js:748:24)
    at Client._next (/packages/remote-ftp/lib/client.js:650:39)
    at Client._enqueue (/packages/remote-ftp/lib/client.js:661:56)
    at /packages/remote-ftp/lib/client.js:747:12)
    at Client.onceConnected (/packages/remote-ftp/lib/client.js:397:17)
    at Client.upload (/packages/remote-ftp/lib/client.js:746:10)
    at /packages/remote-ftp/lib/client.js:109:18

Commands
     -0:58.7.0 pane:close (div.name)
     -0:47.7.0 remote-ftp:toggle (div.tool-panel.tree-view)
     -0:35.8.0 remote-ftp:disconnect (li.directory.entry.list-nested-item.project-root.expanded.selected)
  2x -0:18.5.0 core:backspace (input.hidden-input)
     -0:16.7.0 core:save (input.hidden-input)
  3x -0:09.6.0 editor:newline (input.hidden-input)
  3x -0:08.7.0 core:move-up (input.hidden-input)
  6x -0:05.7.0 core:backspace (input.hidden-input)

Non-Core Packages
laravel 0.7.1
remote-ftp 2.2.2

Duplicated of #1135


Update README.md

Will read the paper later.
Question: why not cite our survey (if you know it and think it is useful)? lol

😂 Sorry for my oversight, I just found your survey today and I will be citing the paper in the next version of arxiv.

haha, just kidding
I will take some time to read this paper later :)
(since I need to make sure the categorization is correct)

Thank you for your hard work! A very comprehensive and useful survey, i like it :)


How to Download AudioCaps

Hi,
Thanks so much for this great and impressive resource!
I am relatively new to the field of audio captioning, so apologies if my question is basic :)
I was wondering if you have a piece of code to download the relevant files?
Or do I need to download the entire AudioSet data? If so, can you please point me to a code that does that reliably?
Thanks in advance,
Felix

Hi Felix,
Although you can download the entire AudioSet data and filter out the necessary parts through the youtube_ids (take a look at the test, val, train csvs released), you can similarly download the select audios through the youtube_ids as well.
As per the last question, this link may be of good use.
Chris

Thanks you!


object detection api tflite export_tflite_ssd_graph  error

when i ran above SSD model
xport CONFIG_FILE=~/ssd_mobilenet_v1_0.75_depth_quantized_300x300_coco14_sync_2018_07_03/pipeline.config
export CHECKPOINT_PATH=~/ssd_mobilenet_v1_0.75_depth_quantized_300x300_coco14_sync_2018_07_03/model.ckpt
python object_detection/export_tflite_ssd_graph.py \

— pipeline_config_path=$CONFIG_FILE \

— trained_checkpoint_prefix=$CHECKPOINT_PATH \

— output_directory=$OUTPUT_DIR \

— add_postprocessing_op=true

/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
OMP: Warning #181: OMP_PROC_BIND: ignored because KMP_AFFINITY has been defined
2018–07–19 15:44:19.888752: I tensorflow/core/common_runtime/process_util.cc:63] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
2018–07–19 15:44:22.853028: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key BoxPredictor_0/BoxEncodingPredictor/act_quant/max not found in checkpoint
Traceback (most recent call last):
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1322, in _do_call
return fn(*args)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Key BoxPredictor_0/BoxEncodingPredictor/act_quant/max not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, …, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device=”/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “object_detection/export_tflite_ssd_graph.py”, line 137, in
tf.app.run(main)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/platform/app.py”, line 126, in run
_sys.exit(main(argv))
File “object_detection/export_tflite_ssd_graph.py”, line 133, in main
FLAGS.max_classes_per_detection)
File “/home/ubuntu/models/research/object_detection/export_tflite_ssd_graph_lib.py”, line 261, in export_tflite_graph
initializer_nodes=’’)
File “/home/ubuntu/models/research/object_detection/exporter.py”, line 72, in freeze_graph_with_def_protos
saver.restore(sess, input_checkpoint)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/training/saver.py”, line 1802, in restore
{self.saver_def.filename_tensor_name: save_path})
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 900, in run
run_metadata_ptr)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1135, in _run
feed_dict_tensor, options, run_metadata)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1316, in _do_run
run_metadata)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key BoxPredictor_0/BoxEncodingPredictor/act_quant/max not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, …, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device=”/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
Caused by op ‘save/RestoreV2’, defined at:
File “object_detection/export_tflite_ssd_graph.py”, line 137, in
tf.app.run(main)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/platform/app.py”, line 126, in run
_sys.exit(main(argv))
File “object_detection/export_tflite_ssd_graph.py”, line 133, in main
FLAGS.max_classes_per_detection)
File “/home/ubuntu/models/research/object_detection/export_tflite_ssd_graph_lib.py”, line 261, in export_tflite_graph
initializer_nodes=’’)
File “/home/ubuntu/models/research/object_detection/exporter.py”, line 67, in freeze_graph_with_def_protos
tf.import_graph_def(input_graph_def, name=’’)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py”, line 432, in new_func
return func(*args, **kwargs)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/importer.py”, line 513, in import_graph_def
_ProcessNewOps(graph)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/importer.py”, line 303, in _ProcessNewOps
for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py”, line 3540, in _add_new_tf_operations
for c_op in c_api_util.new_tf_operations(self)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py”, line 3540, in
for c_op in c_api_util.new_tf_operations(self)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py”, line 3428, in _create_op_from_tf_operation
ret = Operation(c_op, self)
File “/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py”, line 1718, in init
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access
NotFoundError (see above for traceback): Key BoxPredictor_0/BoxEncodingPredictor/act_quant/max not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, …, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device=”/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Thanks. This checkpoint link will be updated today.
Please start with this checkpoint meanwhile:
https://storage.googleapis.com/download.tensorflow.org/models/tflite/ssd_mobilenet_v1_0.75_depth_300x300_quant_pets_2018_06_29.zip

The checkpoints have been updated in the detection model zoo.


Abrupt Stop when no food nearby

When all the food in a area is eaten, the bot just waits until more food spawns assuming no other players are coming towards the bot.

Correct: #20. Firedrake made this less likely to occur, but I'm working on an even better fix.


User Interface Enhancement

Create an intuitive and user-friendly interface for the trust marketplace.
Requirements

Design order submission forms
Create trade history views
Implement trust score displays
Add confidence level indicators

Acceptance Criteria

[ ] UI is responsive and intuitive
[ ] All core features are accessible
[ ] Trade history is easily viewable
[ ] Trust scores and confidence levels are clearly displayed

We might want this on the @ai16z/website


[Subtask] Add the relational entity store Garbage Collector

Describe the subtask
Currently, soft deletion is used for data processing under the relational entity store, so we need to create the processor like KvGarbageCollector to delete the useless reocrds.
Parent issue
#1811

I'll work on this issue. @xloya

@YxAc
Do you have time to work on this?

@YxAc Do you have time to work on this?

I will work on this on the recent weekend. @yuqi1129


Duplicate sites support

Duplicate sites are monomer sites with the same name. The following becomes valid PySB with this PR:
Monomer('A', ['a', 'a'])

One can then reference the sites using a tuple, with one entry
for each of the sites, for example:
A(a=(1, 2))   # Example 1

Note that this is distinct from multiple bonds to the same site:
A(a=[1,2])    # Example 2

In example 1, there are two sites, each named A, one with bond 1
and one with bond 2. In example 2, there is one site called A with
two bonds, 1 and 2.
The syntax is similar in both cases so users will have to be careful to
check their syntax matches their use case.
Note that the data types are checked, so that expressing a
(state, bond) tuple is still valid, noting that states must be strings:
A(a=('p', 1))

Most of the refactoring in this PR in core.py is to pull out the
site and state checking logic into separate functions, so that it
can be applied to check each site in a tuple of duplicate sites.
This includes _handle_site_instance within _as_graph
and _site_instance_concrete; these are mostly refactors rather
than new code. Likewise with _check_bond, is_state_bond_tuple,
and _check_state_bond_tuple.
Modifications outside core.py:

pysb/bng.py modified to support import of duplicate sites
from netfiles, and to use the model's name as a file stem (L61-64)
to aid debugging.
generator/bng.py modified to export models with duplicate
sites to BioNetGen. This is straightforward: we just loop
over each duplicate site and export them individually
importers/bngl.py modified to import BNGL models with
duplicate sites. A couple of other modifications have snuck in,
to make unit tests pass on new models with duplicate sites:

Model name is now set based on the .bngl filename
to make it more meaningful than just pysb (line 43)
ln (natural log) now supported in BNGL import (line 64)
Support for constant expressions import marked as
Constant in BNGXML (lines 178-185)
Support for BNG observables with same name as monomers,
which is illegal in PySB (lines 196-199)

simulator/bng.py modified to support using model name's
in the BNG output file
pysb/tests/test_core.py unit tests for duplicate sites
pysb/tests/test_importers.py update import tests
to support duplicate sites

Closes: #59

Coverage increased (+0.07%) to 79.365% when pulling cc86b8f0b5709681000802e0d00cad24727b6b2d on alubbock:duplicate_sites into 470945e9c9f27a5c7b8c24cc4204d7e0533f3266 on pysb:master.

Coverage increased (+0.07%) to 79.365% when pulling cc86b8f0b5709681000802e0d00cad24727b6b2d on alubbock:duplicate_sites into 470945e9c9f27a5c7b8c24cc4204d7e0533f3266 on pysb:master.

I've updated the PR message with further details. Please let me know if anything requires further clarification.
I checked with @lh64 regarding multiple bonds, and he thinks they're useful enough to keep. He gave the following example (using BNGL):

Say we wanted to build a 2D lattice out of Monomers X and A, where each X is bound to 4 As but each A is bound to 2 Xs. With multiple bonds we could write something like ‘X(a!1!2!3!4).A(x!1!5).A(x!2!6).A(x!3!7).A(x!4!8).X(a!5!9!10!11)....’

One issue, as you point out, is that the proposed syntax (Option 1) for duplicate sites in PySB A(a=(1,2)) is close to the syntax for multiple bonds A(a=[1,2]). This comes down to a stylistic choice between brevity (which I went for) versus explicitness.

Option 2: consider sites with certain suffixes to be equivalent: A(a_1=1, a_2=2). As @lh64, this could also be confusing and is a little too "magic" for my taste.
Option 3: use an explicit keyword: A(DupSite(a=1), DupSite(a=2)). Internally, we could convert to the tuple representation that I've already added (and bar direct use of tuples in sites, except for (state, bond) pairs), and just convert back to the above syntax for printing/export etc.

Happy to hear thoughts and suggestions on this.

Thanks for the extra details, I'll have another look at this today.
Regarding syntax:
For Leonard's example, wouldn't you get the equivalent system with monomers X(a,a,a,a) and A(x,x), putting one bond on each duplicate site rather than multi-bonds on the single sites? This is what I meant about knowing the bond multiplicity structure ahead of time.
I wonder if set instead of list for multi-bonds would have helped us out here. More semantically accurate I think (bond numbers at one site would need to be unique) and harder to confuse with tuple or list. Now that would be a breaking change, though. Of course dropping support for multi-bonds entirely, even if they can reasonably be replaced by duplicate sites, is also a breaking change.

Hi @jmuhlich. You're right that X(a,a,a,a) and A(x,x) can, in theory, be used to build an equivalent system as multiple bonds. The issue is really one of symmetry and efficiency. With all of those identical sites BNG ends up having to do a lot of additional pattern matching and calculating of symmetry factors, etc., that can really bog the network generation down, to the point where it becomes impossible in some cases. Using multiple bonds really simplifies the problem by removing these symmetry factors, which is why I think we should retain the functionality, even if it's not commonly used right now. I've run into this problem before in various contexts (I was helping someone in John Tyson's lab at one point with something related to this) so I could probably dig up an example to illustrate the point if you like. Just let me know.

This design fails to distinguish between (in BNG syntax) A(a~p!1) and A(a~p, a!1) (both would be A(a=('p', 1)) in the proposed PySB syntax). Is this a problem? Swapping the order to put the bond first does produce the expected duplicate-site pattern, but this seems error-prone. Are there other legal/useful BNGL patterns that can't be expressed?
As a further test, I imported the following bngl into PySB and the two rules ended up being identical.
begin model
begin parameters
  P   1
end parameters

begin molecule types
  A(a~p,a~p)
  B(b)
end molecule types

begin reaction rules
  r_1_site:  A(a~p!1).B(b!1) -> 0    P
  r_2_sites:  A(a~p,a!1).B(b!1) -> 0    P
end reaction rules

end model

I also found that get_half_bonds_in_pattern doesn't handle nested (state,bond) tuples in a duplicate site context (e.g. it returns an empty list for A(a=('u', ('u', 1)))), but I can address that in an actual code review once we work out this design issue.

Maybe we want to add some new class to wrap duplicate site bonds/states. Something along the lines of option 3 above, but on the pattern not the monomer declaration. I don't have a good name, so just as a point for discussion:
A(a=DuplicateSites('p', 1))  # A(a~p, a!1)
A(a=DuplicateSites(1, 'p'))  # A(a!1, a~p)
A(a=('p', 1))  # A(a~p!1)

Given the problems you've highlighted, an explicit duplicate sites qualifier seems appropriate. Does MultiSite seems a reasonable name for the class? Slightly shorter.

@jmuhlich I've gone with MultiSite for now, but that can be renamed if needed.

Just to throw more of a wrench into the discussion, all components in BNGL can have states and bonds associated with them. So something like A(a~p!1, a~u!2) is legal syntax. Would that be written in the proposed PySB syntax as A(a=MultiSite(('p',1), ('u',2)))?
Also, how about DupSite as a name? Or even just Dup?

Yes, A(a=MultiSite(('p',1), ('u',2))) works (just tried it).
DupSite seems suitable, I'd lean towards that. Dup seems more ambiguous.

It looks like some of the changes brought in with the merge from master in 72b85e17085865ed745c429931915d367f085c79 are showing up in the final diff for some reason. I think you should rebase this against master one last time to make sure everything is resolved properly.

One other thought: Should we normalize a MultiSite with one value to just the naked value? A(x=MultiSite(1)) seems confusing.

Even worse is MultiSite(('u',1)). Without looking very carefully that's easy to confuse with MultiSite('u', 1).

Thanks for the feedback. I'll rebase and see if that cleans things up. Couple of quick questions:

Should we normalise, or reject, supplying a single site to MultiSite, as per your examples? Reject might be cleaner, and less likely to lead to unexpected behaviour.
How do you feel about the name DupSite instead of MultiSite? Keeps us closer to BNG naming convention, and MultiSite might get confused with multiple bonds.

@jmuhlich OK, I'm nearly ready to push. One issue with '%.17g' as a format specifier is it often gives roundoff errors:
>>> '%.17g' % 0.3
'0.29999999999999999'

>>> '%.17g' % 3.14
'3.1400000000000001'

Our current Parameter printing also matches %.16g:
>>> Parameter('pi', math.pi)
Parameter('pi', 3.141592653589793)

>>> '%.16g' % (math.pi)
'3.141592653589793'

I'd suggest we standardise on %.16g across the codebase (BNG, Kappa, PySB flat etc.). Thoughts?

I tested that precision for model parameters can make huge variations. I added an option to my scripts to let the user choose it. Now, I decided to use %.6e as default. Another reason to allow configurable was BioNetFit. It writes parameters with %.6g format (I believe... Need to double-check).

I agree that raising rather than normalizing is better. It's in line with how all of our other constructors operate, too.
"Duplicate" sort of has a negative connotation in my mind, like it's a mistake or something, whereas "multiple" is value-neutral. Actually, the entity being modeled here isn't even a site after all -- it's state(s). What about StateList or DuplicateSiteStates something like that? Either way, let's avoid using an abbreviation in the name, and users can alias it if they prefer a shorter name (e.g. from pysb import DuplicateSiteStates as DS).
%.17g is absolutely required to round-trip the full precision of a 64-bit float. "If an IEEE 754 double-precision number is converted to a decimal string with at least 17 significant digits, and then converted back to double-precision representation, the final result must match the original number." - https://people.eecs.berkeley.edu/~wkahan/ieee754status/IEEE754.PDF / https://en.wikipedia.org/wiki/Double-precision_floating-point_format . The rounding "error" you are seeing isn't an error and it's nothing to worry about, it's just the reality of converting between base-10 and base-2 representations. For example, 0.3 can't be represented exactly in base-2 but 0.29999999999999999 converted to base-2 gets you as close as possible. The big-picture solution might be to find a nice way to use fraction.Rational or sympy.Rational for nominal parameter values.

Raising it is
I'm not sure about encouraging aliasing for core constructs - it lowers readability when sharing models. For that reason I'd prefer something short. How about MultiState?
As @glucksfall points out, switch to %.17g might cause subtle reproducibility issues with existing models. How about adding a switch (environment variable, e.g. PYSB_HIGH_PRECISION=True) to enable %.17g parameter format, but keep the current setup for now? Then make high precision the default in PySB 2.0, since it's a breaking change.

:+1: for Multistate.
Why is the float precision change for the BNG generator even in here? Is it required to support a new BNG example model?

@jmuhlich wrote:

Why is the float precision change for the BNG generator even in here? Is it required to support a new BNG example model?

It's required to get one of the BNG importer unit tests to pass when round-tripping a BNG model with duplicate sites (sorry, multi-states!). But it's probably best to make that test an expected failure, and deal with this precision change as a separate issue and PR.

Let's do expected failure for now to get this merged, then plan how to resolve it. I don't think an environment variable is the way to go, but we can hash it out separately.


regex in sample.yaml does not work

Describe the bug
When I test an example in the directory "samples/hello_world", I changed the regex in sample.yaml file. For example, change as follows:

   - "Hello World! (.*)"

   - "intel shanghai! (.*)"

this means the regex does not match the character string which should be print in main.c, after I run the sanitycheck tool, it passed without report errors.
This situation also happened when I changed the samples/hello_world/src/main.c  without changed the sample.yaml.
To Reproduce
Steps to reproduce the behavior:

open samples/hello_world/sample.yaml
change as follows:

   - "Hello World! (.*)"

   - "intel shanghai! (.*)"

sanitycheck -p qemu_x86 -T samples/hello_world/

Steven Wang is busy these days，please others help to take a look at this problem, thanks.

introduced in 7ec57b4666c6b724ce4b349fab10884a6fb05929 <-- @wentongwu

Upgrade to high. This may let code get merged which actually breaks the build.


MonAst with CentOS 7 e PHP 5.4

pear install HTTP_Client
WARNING: "pear/HTTP_Client" is deprecated in favor of "pear/HTTP_Request2"
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
WARNING: "pear/HTTP_Request" is deprecated in favor of "pear/HTTP_Request2"
WARNING: "pear/Net_URL" is deprecated in favor of "pear/Net_URL2"
pear/Net_Socket requires PEAR Installer (version >= 1.10.1), installed version is 1.9.4
pear/HTTP_Request requires package "pear/Net_Socket" (version >= 1.0.7)
pear/HTTP_Client requires package "pear/HTTP_Request" (version >= 1.4.0)
No valid packages found
install failed

try to run:
pear channel-update pear.php.net
and install deps again.


Add a Cloud Storage Server gateway interface

I only dabble a little in C# now and then, so it might not necessarily be advisable to let me write a library for CloudFS for the Cloud Storage Server:
http://barebonescms.com/documentation/cloud_storage_server/
It's a self-hosted cloud storage API.  Having it be mountable as a drive letter in Windows sounds like an interesting use for it.
The system more or less meets your criteria for inclusion minus the .NET library bit.  I could author a .NET library if you point me at your favorite SDK(s) that you liked/enjoyed integrating with the most within CloudFS/DokanCloudFS.  However, you are probably better situated to write it since you know your own system and a library would have to be written anyway.

From just a short look into the URL you quoted I get the impression that Barebones CMS does not quite fall inside the parameters supported by CloudFS because there is no publicly accessible hosted service.
I totally understand the appeal of integrating a self hosted storage into Windows - however it would be very difficult for me to develop against such a service when I can't run tests or debug in a live environment.
If you would like to contribute a CloudFS gateway I recommend that you implement an async gateway (all existing gateways but the File gateway are async) and stay within the Microsoft provided System.* assemblies of .NET 4.6.1 as much as possible - Newtonsoft.Json being one notable exception.
Due to the fairly comprehensive suite of unit tests implemented in CloudFS it is actually pretty straightforward to implement a gateway and ensure that it works correctly. For the access library to Barebones CMS it might help to look at the SwiftClient library used in the hubiC gateway.

The Cloud Storage Server is its own self-contained product written in PHP.  I just put the documentation for it on the Barebones CMS website out of laziness.  Maybe I should have linked to the GitHub repo instead:
https://github.com/cubiclesoft/cloud-storage-server
And the PHP SDK for it which I forgot to link to in my original request:
https://github.com/cubiclesoft/cloud-backup/blob/master/support/sdk_cloud_storage_server_files.php
Sorry for any confusion there.
Cloud Storage Server can be run from localhost on a command-line on a development machine where it emits fairly detailed information.  The only requirement is that PHP (with SQLite support enabled) has to be available on the same machine.  No Apache required as it provides its own web server written in PHP.  If you don't have PHP installed, there are multiple options.  I prefer portable apps when operating under Windows so I also made this repo:
https://github.com/cubiclesoft/portable-apache-maria-db-php-for-windows
If I get some time and you haven't beat me to it, I'll see what I can put together.  I'm familiar with Newtonsoft.Json and have used it in several C# projects.  It's a pretty nice library.  I'm not sure about whether or not I stuck to System.* assemblies though.  On my other projects, I mostly copy-pasta'ed my way to functional libraries.  At the moment, I'm plodding my way through an extensive project list for the year.


Deprecate vf-fix-meta

Once fontmake is able to build STAT/name tables for families, the script introduced in #57 will be deprecated.

We have the builder to fix STAT tables, and this script is no more.


Funny and revealing hallucinations

While building a GUI, I stumbled across some funny and revealing hallucinations. The GUI contains a microphone mode. While saying nothing or something completely different, I'm often getting transcription snippets like this one:
"Untertitel im Auftrag des ZDF, 2020"
ZDF is a German television channel. Looks like the model was trained with data from it... :D
Is there a way to fix this?
If anyone is interested, I attached the code. Completely made with GPT4o:
Main.zip

This is a problem in whisper itself, it happens in all language due to issues in the training data, the solution is to use the vad filter

@AgatheBauer You should probably read the discussions on the whisper repository, it's a known glitch

You can reduce hallucinations by tuning parameters such as logprob_threshold, no_speech_threshold, compression_ratio_threshold, etc.

Thanks at all for clarifying this!


Reconsider Prettier

Prettier was removed here
https://github.com/UKHomeOffice/govuk-react/pull/89
Unfortunately I didn't note down why I removed it and can't remember why. I have a feeling that some auto fix rules were conflicting, though perhaps this works better now anyway,.
Maybe we should give it another go, mainly to stop comments like this.

Prettier has now been re-introduced.  Closing


obsolete/merge Okamoto syndrome

close #6335
merge
MONDO:0011499 Okamoto syndrome
with
MONDO:0014700 Neurodevelopmental disorder-craniofacial dysmorphism-cardiac defect-hip dysplasia syndrome due to a point mutation (aka Au-Klein syndrome, which is OMIM's pref name)
@twhetzel I assigned you to review this PR, and I made you a video on 'Review Merge PR' in this folder
Note, there are a couple other videos in that folder that may be helpful to watch:

Merge terms in Mondo Part 1
Merge terms in Mondo Part 2

@twhetzel I am still reviewing your comments, I'll try to finish this tomorrow

@twhetzel I finished commenting on your comments. Let me know if you have further questions. I'm traveling all week but I may be able to jump on a call later in the week if needed.

I'll rename it to do not merge


fix: move builtfilter to be over git+ssh

builtfilter is a private repo, thus ssh is more reliable to provide access. Is there a CI or other location that expects this to be over "github:"?

Closing as OBE.


Add Requirements.txt

the file requirements.txt is currently empty which will create issue for the developer trying to setup this project

Closing this issue!
Thanks @AryanGupta0007


Update LegView- extract RouteSummary as separate composable

#296  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ksharma-xyz and the rest of your teammates on  Graphite


Search engine slowness

Type: Bug
Search engine is too much slow.
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

Have you read the advice at https://github.com/microsoft/vscode/wiki/Search-Issues yet?

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


[6.4.x] BPMSPL-252: [GSS-RFE] Ability to check duplicate of ReleaseId (GroupId, ArtifactId and Version) with existing projects. Updates following QE feedback.

See https://issues.jboss.org/browse/BPMSPL-252
(cherry picked from commit 84904dd066fa98e9168509233a45e562b02c6ad8)
Corollary of https://github.com/droolsjbpm/kie-wb-common/pull/263

+1

Merged into 6.4.x


Add appveyor support

Build script works fine, everything gets setup and run properly. Just need to turn on appveyor for master.
Currently only testing on Python 2.7 + Win32 and Python 3.4 + Win64.
Right now I'm seeing an error on Python 2.7 + Win32 in a dask.distributed test (test log). Not sure if it's periodic, a python 2.7 + windows bug, or a python + Win32 bug. Would be easier to figure out if I had access to a windows machine.
Fixes #371.

To the extent that I can judge this looks good to me.  The failing test is known to cause intermittent failures.

You might want to configure configure a github webhook to an appveyor account that has push rights to the dask github repo and then select "Let me select individual events." then "Pull requests" & "Push" events on the github webhooks configuration. This way you will get both travis and appveyor green ticks on the pull requests.

@jcrist what needs to be done to finish this?

Need to activate appveyor on the branch, and possibly figure out if that windows error is consistent. I think the yaml is good though.

For scikit-learn I created a github account named sklearn-ci, gave it push right to the scikit-learn repo and used that to configure the appveyor process. This way you can give the password to that account to several people if they need to do some admin with it (to get a bus factor > 1).

Appveyor seems to be too slow right now for practical use. Last build took 45 minutes from push (with nothing else in the queue), while tests only take 1-2 min to run on my machine. Closing this for now.

@jcrist do you still have your branch somewhere? It would be nice to test this again.

Sure, I can start it back up today and see if things have changed. What's the turnaround time on appveyor for xray?

Appveyor build start up almost immediately, but they aren't run concurrently like on Travis. So it's roughly 5 minutes for the first test to pass, about another 5 minutes for the second. (I run two builds on Appveyor.) It's pretty reasonable, though. It's nice to just have the tests running automatically, even if sometime I'll merge PRs after the Travis tests but before Appveyor finishes.

The Appveyor $19/mo offers a "super fast build environment" but only one concurrent job. http://www.appveyor.com/pricing

I believe they now offer that "super fast build environment" for free for
open source projects. In the past, they had an extremely slow build only
for open source stuff.
On Thu, Sep 24, 2015 at 10:47 AM, Blake Griffith<EMAIL_ADDRESS>wrote:

The Appveyor $19/mo offers a "super fast build environment" but only one
concurrent job. http://www.appveyor.com/pricing
—
Reply to this email directly or view it on GitHub
https://github.com/blaze/dask/pull/383#issuecomment-143001439.

@shoyer Do you have a link to that? DyND has "super fast" Appveyor (and it is really fast, even if it is just one at a time), but we pay.

http://www.appveyor.com/blog/2015/06/23/new-oss-build-environment-and-xamarin-support
On Thu, Sep 24, 2015 at 12:09 PM, Irwin Zaid<EMAIL_ADDRESS>wrote:

@shoyer Do you have a link to that? DyND has "super fast" Appveyor (and it is really fast, even if it is just one at a time), but we pay.
Reply to this email directly or view it on GitHub:
https://github.com/blaze/dask/pull/383#issuecomment-143007672


A lot of info/warn “scanned from multiple locations” when running standard Java appengine app on local machine

   [INFO] GCLOUD: 2018-11-10 09:29:59.763:WARN:oeja.AnnotationParser:qtp1335050193-20: javax.jdo.spi.JDOImplHelper scanned from multiple locations:
    jar:file:///D:/Temp/endpoints-v2-backend/target/echo-j8-1.0-SNAPSHOT/WEB-INF/lib/jdo2-api-2.3-eb.jar!/javax/jdo/spi/JDOImplHelper.class,
    jar:file:///D:/Temp/endpoints-v2-backend/target/echo-j8-1.0-SNAPSHOT/WEB-INF/lib/endpoints-management-control-appengine-all-1.0.10.jar!/javax/jdo/spi/JDOImplHelper.class

For more details:
https://stackoverflow.com/questions/53240103/gcloud-throws-a-lot-of-info-warn-scanned-from-multiple-locations-when-running

I too am getting similar warnings, though I am not using Cloud Endpoints.
I started getting these warnings only recently, without any library/configuration change that could account for this sudden change. Running the development server locally seems to be fine, but I am too scared to deploy to a production environment.
I have played around with versions of appengine-api-1.0-sdk and appengine-api-labs (these are the ones reporting conflicting files) but that doesn't seem to make any difference.
Here's a sample:
com.google.appengine.tools.appstats.StatsProtos scanned from multiple locations:
    jar:file:///C:/Users/hsjawanda/Code/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/quiz/WEB-INF/lib/appengine-api-labs-1.9.49.jar!/com/google/appengine/tools/appstats/StatsProtos.class,
    jar:file:///C:/Users/hsjawanda/Code/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/quiz/WEB-INF/lib/appengine-api-1.0-sdk-1.9.68.jar!/com/google/appengine/tools/appstats/StatsProtos.class

I am getting similar log and slowing down the development.
 GCLOUD: 2019-03-28 12:06:13.677:WARN:oeja.AnnotationParser:qtp226710952-19: org.apache.commons.collections.list.PredicatedList scanned from multiple locations: jar:file:///C:/java/qpsample/target/qpsample-1.0-SNAPSHOT/WEB-INF/lib/commons-collections-3.2.1.jar!/org/apache/commons/collections/list/PredicatedList.class, jar:file:///C:/java/qpsample/target/qpsample-1.0-SNAPSHOT/WEB-INF/lib/ipp-v3-java-devkit-5.0.2-jar-with-dependencies.jar!/org/apache/commons/collections/list/PredicatedList.class

+1
example:
2019-07-29 12:24:25.076:WARN:oeja.AnnotationParser:qtp2094411587-15: com.google.api.Distribution$BucketOptions$LinearOrBuilder scanned from multiple locations: jar:file:///home/user/src/Intellij/selknam/selknam/target/mypry-1.0-SNAPSHOT/WEB-INF/lib/endpoints-management-protos-1.0.11.jar!/com/google/api/Distribution$BucketOptions$LinearOrBuilder.class, jar:file:///home/user/src/Intellij/selknam/selknam/target/mypry-1.0-SNAPSHOT/WEB-INF/lib/proto-google-common-protos-1.0.0.jar!/com/google/api/Distribution$BucketOptions$LinearOrBuilder.class


Telemetry (Init and runtime)

Added telemetry for subsystem init
Added runtime telemetry for cover + cover target


Avoid generating duplicated symbols when patch method

Introduced a symbol cache to avoid symbols being re-generated.
Before:

After:

Fixes #1173

Now it's ready for review.

/azp run

Thanks @hez2010 for this change.


SML3 - Wario Land - Game loads, but cannot start game

The game will load the start screen, but cannot proceed to game selection.

Fixed this bug. Will work with the next release.


fix: move usage of React Context out of core package

fixes #3542

@DamianOsipiuk fyi

:tada: This PR is included in version 4.0.0-beta.8 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Also throw error when mutatienummer is 0

Hi! Thanks for the nice library!
When using it I encountered a bug, if you add a mutatie with a description of more than 200 chars, the api returns a mutatie number of 0, which is invalid, and it does not create a mutatie in eboekhouden. However this library does not throw an error, which caused me a few hours of debugging time.
This 200 char limit is also stated in the api documentation: https://cdn.e-boekhouden.nl/handleiding/Documentation_soap_english.pdf
Maybe some validator might be nice, but for now I think this would be a nice improvement.
Thanks again!

Thanks Pieter. Well spotted!
I will merge the PR now but will push to Pypi tomorrow. Maybe I should set up actions to automate this :-)

Might be good to actually also test it :D I just assumed it works, because it was so simple


WIP: Preview go chaincode support

What this PR does / why we need it:
This PR introduces a preview of support for go chaincode for FPC. We integrate the ego compile in the FPC build pipeline to compile go code to be executed within an Intel SGX enclave. This allows to build and package go chaincode as private chaincode.
The initial code base and design for this PR are contributed by @ricc-zappoli.
Which issue(s) this PR fixes:

Closes #632
Special notes for your reviewer:
Does this PR introduce a user-facing changes and/or breaks backward compatability?:

If you follow the readme to set up the FPC dev environment, you get an error when you run the make on the root directory
make[3]: ego-go: Command not found
make[3]: *** [../../../ecc_go/build.mk:21: ecc] Error 127
make[3]: Leaving directory '/project/src/github.com/hyperledger/fabric-private-chaincode/samples/chaincode/auction-go'
make[2]: *** [Makefile:12: build] Error 2
make[2]: Leaving directory '/project/src/github.com/hyperledger/fabric-private-chaincode/samples/chaincode'
make[1]: *** [Makefile:12: build] Error 2
make[1]: Leaving directory '/project/src/github.com/hyperledger/fabric-private-chaincode/samples'
make: *** [Makefile:22: build] Error 2

because you need e-go to already be installed

make[3]: ego-go: Command not found

the fpc dev image in this PR already comes with ego installed. So you need "re-build" the dev image, a pull won't work at this point.