assets are not created when layers are in a folder

When I use Adobe Generator, only SVG files are always created without a problem. JPGs, GIFs and PNGs are only created when their layer is not in a folder. Is there a way to fix this?

I would be happy to share the PSD, which I only made to test and demonstrate this issue, but the uploader doesn't support PSDs.
Thanx,
Marcel

@webmarss this was a bug that was introduced in PS 2015.5 and fixed in 2015.5.1.  Updating to the current version of Photoshop will resolve that problem.  Closing this but please re-open if you still see a problem after updating PS.

Thanks for the quick response. The update did the trick :)


cannot move window to rightmost by dragging the top-left corner

I open multiple terminal tabs, and the remaining size of the blank space gets smaller and smaller. See the green part. I know we can drag the blank space to move window further right, but not very further. Because when the mouse reach the rightmost point of the screen, the window will be stretched vertically.
So generally we can pull window further right by dragging the top-left corner, see the red part. But it cannot for the moment.

Unlike the above window terminal, the pure linux GUI terminal has a big space on top to drag the window to left or right, even further.

I search the history issue and found nothing similar to my problem. My version is: 1.17.11461.0

Although we can use shortcut Alt + space + M to move to further right, but it's not natural. Can we do it with mouse dragging ?

More or less, we're tracking this in /dup #5493. Thanks!
FWIW: once you press Alt+shift+m, if you tap an arrow key, you should be able to them move the window with your mouse. Still not natural, but something.


user console command not found

What steps will reproduce the problem?
fresh install - git pull and composer update then yii user/create
What is the expected result?
yii-console knows the command and creates a user
What do you get instead?
command not known
Additional info

Q
A

Version
dev

PHP version
7.4

Operating system
MAC

Fixed. Thanks.


Display the map when read only

How do we achieve this?

I'm also interested in this one. If we set the field to readonly_fields then the map disappears.


query builder does not recognise reciprocal queries as identical

like:

The easiest fix is to put the bits of each AND or OR in alphabetical order in the query description.  The description is what the history code uses to find duplicates.  Would that be an OK fix?

I think so...
Anyone object?
We could also always  put certain "types" first maybe?

We could also always put certain "types" first maybe?

Definitely.  Alphabetical is the quick fix but as long as we have a consistent order it would be fine.
I've changed the code to put things in alphabetical order so you can try it.  I'll update the preview with that change soon.

I don't mind however they are ordered.

Alphabetical makes sense to me. I don't think there's much point in trying to come up with any different order, because which "type" is most important can depend on the specific query and why someone is doing it.

OK, I'll close one.  If we need to change the order later, please open a new issue.


Enrolling local server into Fleet

What version of fleet are you using (fleet version --full)?
fleet - version 2.5.0
branch: 	master
revision: 	8e77f4369a3d49005beebe08f6a7ac453810c586
build date: 	2020-01-26T22:02:00Z
build user: 	zwass
go version: 	go1.13.4
What operating system are you using?
Ubuntu 16.04 LTS
What did you do?
Hello and thanks in advance for any help concerning my issue,
I followed the setup instructions provided to setup a osquery/Fleet server, everything went smoothly until i ran into an issue when enrolling my Fleet/Osquery server as a Fleet host (hope this part is clear) in order to do that i followed the Kolide OsQuery launcher part of this link : https://github.com/kolide/fleet/blob/master/docs/infrastructure/adding-hosts-to-fleet.md
so i typed this command :
./build/launcher
--hostname=localhost:443
--root_directory=$(mktemp -d)
--enroll_secret=MY_ENROLL_SECRET
This successfully enrolled my server as a Fleet host and i was able to run querys on it locally (Great !)
What did you expect to see?
When i rebooted my server i expected to see the local server "coming back up" after a while and being able to query it again but to no avail
What did you see instead?
The host stays in "offline" mode and when i tried to enroll it again, instead of the host coming back up again i get a duplicate with the same informations but this one i'm able to query.
My question :
Regarding this issue, would using the package-builder help or should i run the command as a service (which i guess would make a duplicate each time I reboot the server)
I read the instructions multiple times but i still don't grasp the way im supposed to make it "persistant" as in working automatically each time i reboot this server or LAN hosts i would add later on in my tests.

In order to prevent duplicates, you need to set a consistent directory for --root_directory. Right now your command is creating a new temp directory each time it runs.
In order to get the machine to come back online when it restarts, you need to run osqueryd/Launcher as a service. package-builder can help get it installed as a service.
If you have further questions, please join #kolide on osquery Slack.


Question when iterating through tokens

On line https://github.com/revin/markdown-it-task-lists/blob/master/index.js#L17, why do we start at i === 2? I have a document with a task item that is showing up in state.tokens as token[1] and it is being skipped because of that.

Interesting, do you have an example document I can look at? IIRC that's just a quasi-optimization because isTodoItem() figures that the token structure will always at least be nested as (list item ➡ paragraph ➡ inline), so there's no reason to start at the very first token. Sounds like that assumption may be invalid...?

I'm just literally writing
[x] To do 1

Interesting. Ok I'll take a look. Worst case, it's easy enough to change that 2 to a 0 and guard the index checks in that function. Sorry about this!

Not at all. Thanks for making the plugin in the first place.

Oh, I think I see; markdown-it isn't treating that as a list yet because there's no "bullet" (-, +, etc...)
- [x] To do 1

with the leading hyphen+space gets interpreted as a list, as expected.
Hmm, I'm not sure handling this case should be within this plugin's scope, because something like this:
[x] To do 1
[ ] To do 2
[ ] To do 3

still isn't a proper list in markdown terms (even if it looks like one to human eyes), and would require basically parsing paragraphs to see if they have a quasi-list structure and trying to infer the proper behavior from there. Even markdown-it itself doesn't try to do that, and it's not standard markdown handling at any rate.
Are you in a position to be able to change the inputs you're providing?

So I imagine even using this inline:

We need someone to arrange [ ] music for the event.

Yeah, I wouldn't expect that to work. Basically if GitHub doesn't render it as a list (which I always verify just by doing a gist or even just trying the Preview tab here in a comment), this plugin wouldn't do it. That requires substantially different parsing logic.

totally get it. So do we have to use css to use checkboxes without list markers?

It depends on how you're processing the documents, but if you can inject HTML, you can always do it directly:
<label><input type="checkbox"> To do 1</label>

If you just want to replace any x'd or empty brackets inline in a string, e.g.,
theInputString.replace("[ ]", "<input type='checkbox'>");
theInputString.replace("[x]", "<input type='checkbox' checked>");
theInputString.replace("[X]", "<input type='checkbox' checked>");

etc... but at this point we're not really talking about markdown specifically, just text processing in general.

thanks @revin. I'll close the issue now.


illumos/solaris should use SOCK_CLOEXEC|SOCK_NONBLOCK

Found this was broken on illumos while working on a tokio issue.
Calling the following on illumos will result in EINVAL -- try!(cvt(libc::ioctl(fd.fd, libc::FIOCLEX)));
We support SOCK_CLOEXEC and SOCK_NONBLOCK, although it looks like those currently are not in the libc crate, so I will open a PR there as well to get those added.
That means we can merge this or wait for the libc changes to get merged and bump the libc dependency in this crate.  Either works for me.

libc PR: rust-lang/libc/pull/1594

Thanks for the PR, but unfortunately I don't have the time to maintain this crate any more. If there's a willing contributor I can transfer ownership!

Looks like there is an offer to maintain this crate in #25

Fixed in master


Updated example codes

What problem does this PR solve?
Issue link:#1490
Type of change

[x] Documentation Update

Issues put to rest.


HDFS-17159.Can't decode Identifier HDFS tokens with only the hdfs client jar

Description of PR
It looks like the meta inf file for the BlockTokenIdentifier is in the hadoop-hdfs.jar rather then the hadoop-hdfs-client.jar. This prevents a client from decode identifier because the service loader doesn't find the BlockTokenIdentifier class.
This will result in HDFS-13541 not functioning properly on branch-2.10 as well.
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

Hi @tomscut Could you please help review this when you have time? Thanks a lot～


Add to showcase?

Thanks for putting this together, it makes setting these up super easy!
Just wanted to drop a link to another example, if you wanted to add to the readme: http://wtfismybot.tech/ (https://github.com/phillbaker/wtfismybotstrategy).

Super late picking this up—was about to add it to the showcase but looks like it's down?

Whoops! Sorry for my slow response on this. Should be back up :grinning:

Thanks!


imports compatible with py3

@gtaylor can you take a look?
it would be great if we update pypi.

:+1:


renovatebot(deps): update dependency org.mockito:mockito-core to v2.28.2

This PR contains the following updates:

Package
Update
Change
References

org.mockito:mockito-core
patch
2.28.1 -> 2.28.2
homepage, source

Release Notes

mockito/mockito
v2.28.2
Compare Source
Release notes were automatically generated by Shipkit
2.28.2

2019-05-29 - 1 commit by Tim van der Lippe - published to
No pull requests referenced in commit messages.

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.null seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: nginx 50x.html path

wrong path for 50x.html

后端服务器返回50x时，nginx error 如下：
 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: <IP_ADDRESS>, request: "GET  / HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>"

@wayneliu0019 please help to do the code review

that's right!
Thanks @CheinTian


Persisting user settings data on the filesystem and its appropriate retrieval

Right now the user selections are temporarily persisted in the browser and some parts of it in the user sessions. These different parts are not synced with each other.
We need a way to persist the user settings on the disc and a consistent way to sync it with the browser.

This is completed as part of PR #187

This has similarities with #34


SB is using the same version

https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.7.17/spring-boot-dependencies-2.7.17.pom  <tomcat.version>9.0.82</tomcat.version>

If we want to remove this block it needs to be removed from redhat-camel-spring-boot-bom-generator. If spring-boot has the same version, does the override have any effect?

ops, you are right, I'll remove it there too.
this is the issue, since we are using the same version, and the dependency is not productized, I'd say to clean up our bom, and use the version from spring boot

That makes sense to me!


api quota edit feature

[x] schema changes including
adding quota size "small", "medium", "large" enums in constants
adding "quota_cpu", "quota_memory", "quota_storage" attributes to "cluster_namespace" table
creating "request" table
preparing a script to run against existing cluster_namespace entries

[x] adding request model

adding the basic create, update and delete methods

[x] modifying namespace model

modifying createProjectSet method

so that new cluster_namespace entries will be created with default "small" size for cpu, memory and storage quota

modifying findForProfile method

so that fetched cluster_namespace entries via api will include quota info

adding updateQuota method

[ ] adding api endpoints / modifying controller so that

web client can query for existing edit_quota options with profileId params
GET http://localhost:8100/api/v1/profile/{{profileId}}/quota-edit

web client can submit edit_quota request with profileId params
POST http://localhost:8100/api/v1/profile/{{profileId}}/quota-edit

[x] updating api dependencies

due to big feature update, updated dependencies, snapshot and api docs:
/bot-ignore-length

This draft PR will be broken down to each individual pieces for the efficiency of code review.


feat: support excluded sync resources

What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #611
Special notes for your reviewer:
both pediacluster and clustersyncresources can support excludedSyncResources
Does this PR introduce a user-facing change?:

Support specifying unsynchronized resources by excludedSyncResources

Test cases
Assumes we have the following resources:
NAME              READY   VERSION   APISERVER
cluster-example   False   v1.26.5   https://<IP_ADDRESS>:6443
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl get clustersyncresources
NAME          AGE
global-base   7d18h

Test cases with no syncResourcesRefName
case 1
[root@controller-node-1 ~]# kubectl --cluster cluster-example get StatefulSet -n kube-system
No resources found in kube-system namespace.
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl --cluster cluster-example get deploy -n kube-system
error: the server doesn't have a resource type "deploy"
[root@controller-node-1 ~]# kubectl  get pediacluster cluster-example -oyaml
apiVersion: cluster.clusterpedia.io/v1alpha2
kind: PediaCluster
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"cluster.clusterpedia.io/v1alpha2","kind":"PediaCluster","metadata":{"annotations":{},"name":"cluster-example"},"spec":{"kubeconfig":"==","syncResources":[]}}
  creationTimestamp: "2023-12-01T10:30:42Z"
  finalizers:
  - clusterpedia.io/cluster-synchro-controller
  generation: 9
  name: cluster-example
  resourceVersion: "8284261"
  uid: 5549a01e-1eab-41d7-a18f-6769c149edbc
spec:
  excludedSyncResources:
  - group: apps
    resources:
    - deployments
    versions:
    - v1
  kubeconfig: xxx
  syncResources:
  - group: apps
    resources:
    - deployments
    - '*'
  - group: ""
    resources:
    - pods
  - group: cert-manager.io
    resources:
    - certificates
    versions:
    - v1

case 2
 excludedSyncResources:
  - group: apps
    resources:
    - deployments
    versions:
    - '*'

[root@controller-node-1 ~]# kubectl --cluster cluster-example get deploy -n kube-system
error: the server doesn't have a resource type "deploy"

case 3
[root@controller-node-1 ~]# kubectl --cluster cluster-example get deploy -n kube-system
Error from server (NotFound): Unable to list "apps/v1, Resource=deployments": the server could not find the requested resource (get deployments.apps)
[root@controller-node-1 ~]#

[root@controller-node-1 ~]# kubectl  get pediacluster cluster-example -oyaml

spec:
  excludedSyncResources:
  - group: apps
    resources:
    - deployments
  syncResources:
  - group: apps
    resources:
    - deployments
    - '*'
  - group: ""
    resources:
    - pods
  - group: cert-manager.io
    resources:
    - certificates
    versions:
    - v1

case 4
spec:
  excludedSyncResources:
  - group: apps
    resources:
    - deployments

  syncResources:
  - group: apps
    resources:
    - deployments
    - '*'
  - group: ""
    resources:
    - pods
  - group: cert-manager.io
    resources:
    - certificates
    versions:
    - v1

case 5
[root@controller-node-1 ~]# kubectl  get pediacluster cluster-example -o jsonpath="{.spec.excludedSyncResources}"
[{"group":"apps","resources":["deployments"]}]
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl  get pediacluster cluster-example -o jsonpath="{.spec.syncResources}"
[{"group":"apps","resources":["deployments"]},{"group":"","resources":["pods"]},{"group":"cert-manager.io","resources":["certificates"],"versions":["v1"]}]
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl --cluster cluster-example get deploy -n kube-system
Error from server (NotFound): Unable to list "apps/v1, Resource=deployments": the server could not find the requested resource (get deployments.apps)

Test cases with no syncResourcesRefName
case 6
[root@controller-node-1 ~]# kubectl  get pediacluster cluster-example -o jsonpath="{.spec.syncResourcesRefName}"
global-base
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl get ClusterSyncResources global-base -oyaml
spec:
  syncResources:
  - group: '*'
    resources:
    - pods
  - group: apps
    resources:
    - '*'
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl --cluster cluster-example get ds -n kube-system
CLUSTER           NAME          DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE
cluster-example   calico-node   1         1         1       1            1           kubernetes.io/os=linux   50d
cluster-example   kube-proxy    1         1         1       1            1           kubernetes.io/os=linux   50d
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl  get pediacluster cluster-example -o jsonpath="{.spec.syncResources}"
[{"group":"apps","resources":["deployments"]},{"group":"","resources":["pods"]},{"group":"cert-manager.io","resources":["certificates"],"versions":["v1"]}]
[root@controller-node-1 ~]# kubectl get pediacluster cluster-example  -ojsonpath="{.spec.excludedSyncResources}"

case 7
[root@controller-node-1 ~]# kubectl edit clustersyncresources global-base -oyaml
spec:
  excludedSyncResources:
  - group: apps
    resources:
    - deployments
  syncResources:
  - group: apps
    resources:
    - daemonsets
    - replicaset
[root@controller-node-1 ~]# kubectl --cluster cluster-example  -n kube-system get ds
CLUSTER           NAME          DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE
cluster-example   calico-node   1         1         1       1            1           kubernetes.io/os=linux   50d
cluster-example   kube-proxy    1         1         1       1            1           kubernetes.io/os=linux   50d
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl --cluster cluster-example  -n kube-system get deploy
Error from server (NotFound): Unable to list "apps/v1, Resource=deployments": the server could not find the requested resource (get deployments.apps)
[root@controller-node-1 ~]#
[root@controller-node-1 ~]# kubectl get pediacluster cluster-example  -ojsonpath="{.spec.syncResources}"
[{"group":"apps","resources":["*"]},{"group":"","resources":["pods"]}]

case 1
suppose that pediacluster syncResources configured like this:
[root@qin-dev ~]# kubectl get pediacluster cluster-1  -ojsonpath="{.spec.syncResources}"
[{"excludeResources":["deployments","daemonsets"],"group":"apps","resources":["*"]}]

[root@qin-dev ~]# kubectl get pediacluster cluster-1  -ojsonpath="{.spec.syncAllCustomResources}"
true

test results:

case 2
[root@qin-dev ~]# kubectl get pediacluster cluster-1  -ojsonpath="{.spec.syncResources}"
[{"excludeResources":["deployments","daemonsets"],"group":"*","resources":["*"]}]

test results:
sqlite> select distinct kind from resources;
Prometheus
IPAMBlock
HelmRelease
FelixConfiguration
HelmOperation
BGPConfiguration
KubeControllersConfiguration
HelmRepo
IPPool
ClusterInformation
PrometheusRule
Instrumentation
ReplicaSet
StatefulSet
BlockAffinity
IPAMHandle
IPAMConfig
ServiceMonitor
ControllerRevision
Job
Role
PriorityClass
CSINode
Event
Namespace
PriorityLevelConfiguration
Endpoints
Service
FlowSchema
EndpointSlice
RoleBinding
Lease
ServiceAccount
Node
MutatingWebhookConfiguration
ValidatingWebhookConfiguration
APIService
ClusterRole
ClusterRoleBinding
Pod
ConfigMap
CustomResourceDefinition

@Iceber PTAL, thanks!


Change example to initially create the file and then write over it [userstudy]

Comment why someone would want to do this vs. delete and upload.

Are you talking about the example on the front page, or the one on the cmdlet documentation?

Ref should explain why Write vs. New
Doc sample should demonstrate common scenario and possible use-case


Jazzer junit test engine doesn't write the crash unit test file?

Hi, me again.
So I'm running a Fuzz test through the junit engine and the output tells me:
<snip>
MS: 2 ShuffleBytes-InsertByte-; base unit: 0764e7ddb1c31bca059330ce28666718f0879fa2
0xa,0x3a,0xa,0x4a,
\012:\012J
artifact_prefix='\'; Test unit written to \crash-ba614fa5e4b1a1288b0086415b491891adece8b4
Base64: CjoKSg==
Done 62 runs in 0 second(s)

But I cannot find that file. I'm running in gradle under Intellij's IDEA.
Obviously, I've looked in the root of C: (running on Windows 10). I've also done a search for "crash-". The corpus files appear, but nothing else.

What is the working directory of your tests? The artifact_prefix='\' looks like a bug, but I'm not sure where it's coming from.
Please take a look at https://github.com/CodeIntelligenceTesting/jazzer/issues/521: We use a well-known directory and emit usage information using JUnit primitives, but apparently these are not printed by Gradle.

@fmeum - Any update on this. I am facing the same issue in IntelliJ IDEA. I created the directory as well after referring https://github.com/CodeIntelligenceTesting/jazzer/issues/521
I am getting this but don't see any file
MS: 0 ; base unit:<PHONE_NUMBER>000000000000000000000000000000
artifact_prefix='/'; Test unit written to /crash-da39a3ee5e6b4b0d3255bfef95601890afd80709
Base64:
Done 1 runs in 0 second(s)

I will look into why there are no files. I had problems reproducing this problem, but I will try again.
@ghostpepper108 The exception is expected: data.consumeString(2) may return strings that are shorter than two characters, including the empty string. If you don't expect the rest of your fuzz test to handle them gracefully, you can skip these inputs using JUnit's assumptions or simply by returning early.

maven
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ test ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.example.AutofuzzFuzzTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.258 s - in com.example.AutofuzzFuzzTest
INFO: Loaded 120 hooks from com.code_intelligence.jazzer.runtime.TraceCmpHooks
INFO: Loaded 4 hooks from com.code_intelligence.jazzer.runtime.TraceDivHooks
INFO: Loaded 2 hooks from com.code_intelligence.jazzer.runtime.TraceIndirHooks
INFO: Loaded 4 hooks from com.code_intelligence.jazzer.runtime.NativeLibHooks
INFO: Loaded 8 hooks from com.code_intelligence.jazzer.sanitizers.Deserialization
INFO: Loaded 5 hooks from com.code_intelligence.jazzer.sanitizers.ExpressionLanguageInjection
INFO: Loaded 70 hooks from com.code_intelligence.jazzer.sanitizers.LdapInjection
INFO: Loaded 46 hooks from com.code_intelligence.jazzer.sanitizers.NamingContextLookup
INFO: Loaded 1 hooks from com.code_intelligence.jazzer.sanitizers.OsCommandInjection
INFO: Loaded 48 hooks from com.code_intelligence.jazzer.sanitizers.ReflectiveCall
INFO: Loaded 8 hooks from com.code_intelligence.jazzer.sanitizers.RegexInjection
INFO: Loaded 16 hooks from com.code_intelligence.jazzer.sanitizers.RegexRoadblocks
INFO: Loaded 19 hooks from com.code_intelligence.jazzer.sanitizers.SqlInjection
INFO: Instrumented com.example.AutofuzzFuzzTest (took 357 ms, size +19%)
INFO: Running with entropic power schedule (0xFF, 100).
INFO: Seed:<PHONE_NUMBER>
INFO: Loaded 1 modules   (512 inline 8-bit counters): 512 [0x7f243c99bf70, 0x7f243c99c170),
INFO: Loaded 1 PC tables (512 PCs): 512 [0x7f243c563920,0x7f243c565920),
INFO:        0 files found in /home/$USER/eclipse-workspace/test/.cifuzz-corpus/com.example.AutofuzzFuzzTest
INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
INFO: A corpus is not provided, starting from an empty corpus
#2      INITED cov: 3 ft: 3 corp: 1/1b exec/s: 0 rss: 687Mb
MS: 5 ChangeByte-CrossOver-ChangeBit-ShuffleBytes-InsertByte-; base unit: adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
0x3a,0x8,
:\010
artifact_prefix='/'; Test unit written to /crash-b151f9ef5cd315d2148e6fe8c5e69208eba30aef
Base64: Ogg=
Done 7 runs in 0 second(s)
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1

I allowed to write to / user.
jazzer wrote there only raw data to reproduce the error, without java code

@stephengardiner @ghostpepper108 @freedom1b2830 I tested this again on Windows and can't reproduce the issue. Could one of you share a complete reproducer with me (e.g. as a git repo or an archive)?

@fmeum https://github.com/freedom1b2830/jazzer-todo

Thanks, @freedom1b2830, I was able to reproduce it now and know how to fix it.


Adds time info to tooltip and fixes a couple bugs

This is a continuation of #84, but rebased off the most recent commits so as to avoid merge conflicts. As requested, I refactored the majority of the relevant logic into BreaksPlanner. As I was doing so I also noticed a couple small bugs that I squashed. Not sure if you'd prefer those bugfixes be in a separate PR, I can do that if you like, but I felt they were relevant enough to this feature to be included. See changelog and https://github.com/sxmanton/stretchly/commit/ddc4940dce4cc484dde43dae27ee1478e77128d9, https://github.com/sxmanton/stretchly/commit/034265f9d564c717f184160f7317560aba8e5810 for details

Codecov Report

Merging #92 into master will increase coverage by 0.68%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   87.91%   88.59%   +0.68%
==========================================
  Files           6        6
  Lines          91      114      +23
  Branches       13       18       +5
==========================================
+ Hits           80      101      +21
- Misses         11       13       +2

Impacted Files
Coverage Δ

app/utils/settings.js
82.97% <ø> (ø)
:arrow_up:

app/utils/scheduler.js
100% <100%> (ø)
:arrow_up:

app/utils/utils.js
84.84% <91.3%> (+14.84%)
:arrow_up:

Continue to review full report at Codecov.

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

Great, I'll have a look at the code ;] Just tested on Debian Linux and seems to work fine. What platform are you on?

I'm on Windows 10

So I tested on macOS and tooltip is not being shown. Might be related to https://github.com/electron/electron/issues/3599

hmm, that's unfortunate. I don't have any good way of testing on a mac... I guess I could install a VM.

I'll check tomorrow. Probably just enable dock icon.

can you give me pull rights? I'd like to remove stuff for macOS to make it work. or you can do it by removing app.dock.hide()

I removed it, gave you invite for push access for the future though

So I think we can merge this? All clear for me.

Yeah, if you've tested it on mac and everything seems like it's working right, then I'd say it's good to go.


Cannot add API keys because the env.example has been removed and gpg --decrypt .env.gpg isn't working.

I assumed that you made your env.example file the .env.gpg but I cannot find where I can insert my API-keys to run locally. The readme nor the video cover what to do with the api-keys now.

I updated the readme. read through it and lmk if u have any problems

Thank you for updating the Readme, I'm going to try out running brainrot.js with LM studio and OpenVoice so Brainrot.js can run locally without having to pay for API's


fix: adjust sponsor logo sizes and add new logos

Adjusted sizes of existing sponsor logos for better visual consistency.
Added Menyala and Ruru logos to assets/sponsors directory.
Ensures consistent appearance and updates sponsor list.

LGTM, thanks for your contributions, @interstellardeer !


[0.5pt] Find external API - group task

Find an API to base the development of the webapp around it. The API should allow you to

Get a list of items with a unique item id (or generate the unique id).
For a given item, get detailed information about it.
choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.

Hi @LeslieAine,
Highlights
✔ Descriptive PR
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!
Required Changes ♻

[ ] Kindly note that since there are two people in this project the number of tasks should be 15. Kindly remove all Student C tasks.
[ ] Add the other member to this repository and assign all your tasks according to Student  A and Student B

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @LeslieAine and @TayyabKM
Highlights
✔ Descriptive PR
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!
Required Changes ♻

[ ] Nice work making the change of removing the cards for student C. However, you haven't assigned the cards to yourselves, and also cards where you both will be working in groups.
I've attached a picture t show that it's not done yet. Kindly make the changes, and start your project 👍

View:

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi TEAM,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

No Linters errors 💯
All requirements are complete 💯

Optional suggestions
No optional suggestions :)
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Set custom OVPN_NATDEVICE when using --net=host to custom interface.

There are systems where eth0 does not exist in combination with "--net=host"
For example on an host system with an interface enp0s25 you would use this like so:
docker run --volumes-from ovpn-data --net=host --rm=true -p 1194:1194/udp -e OVPN_NATDEVICE=enp0s25 --cap-add=NET_ADMIN wernerb/openvpn

Thanks!


What is the name of the icon?
[Eg. Portainer]
PowerPanel
What is the website/page of the icon?
[Eg. https://portainer.io]
https://www.cyberpowersystems.com/products/software/power-panel-personal/
Upload the icon here: [Optional]
Upload the icon, MUST be PNG or SVG.
https://static.macupdate.com/products/62583/l/cyberpower-powerpanel-personal-logo.png?v=1592649661

Thanks for the suggestion, I'll add it ASAP!

@0xEmma Added 👍🏻


More detailed event

A decoder such as carbon-pumpfun-decoder that displays the signature of a transaction in an event for easy lookup.

Check the InstructionMetadata and TransactionMetadata types that you have access to inside InstructionProcessorInputType.
Here is a modified version of the pump fun example's instruction processor that uses the context given by the framework to get the signature.
#[async_trait]
impl Processor for PumpfunInstructionProcessor {
    type InputType = InstructionProcessorInputType<PumpfunInstruction>;

    async fn process(
        &mut self,
        data: Self::InputType,
        _metrics: Arc<MetricsCollection>,
    ) -> CarbonResult<()> {
        let (metadata, decoded_instruction, _) = data;

        let pumpfun_instruction: PumpfunInstruction = decoded_instruction.data;

        let signature = metadata.transaction_metadata.signature;

        match pumpfun_instruction {
            PumpfunInstruction::CreateEvent(create_event) => {
                println!("\nNew token created: {:#?}", create_event);
            }
            PumpfunInstruction::TradeEvent(trade_event) => {
                if trade_event.sol_amount > 10 * LAMPORTS_PER_SOL {
                    println!("\nBig trade occured: {:#?}", trade_event);
                }
            }
            PumpfunInstruction::CompleteEvent(complete_event) => {
                println!("\nBonded: {:#?}", complete_event);
            }
            _ => {}
        };

        Ok(())
    }
}


Support multi-targeting via a single project

Use single project to target .NET Framework & Core. SDK-style projects allow multi-targeting which makes this much simpler.
The AsysTech.CredentialManager project will also pack a single package that targets multiple frameworks
Also made CredentialExtensions public as the README suggests its extension method is supposed to be public.

This PR is intended to support the Git Extensions project's conversion to .NET Core 3:
https://github.com/gitextensions/gitextensions/pull/7162
If merged, please bump the version and publish a new package on nuget.org. I suggest delisting the ".Core" version as it's not needed.
Any questions, I'm happy to help.

Thank you @drewnoakes and @RussKie for this PR. I was new to netstandard when I ported, and thought it needs to be in different package. Thank you!

@drewnoakes after merging this I am trying to open the solution in Visual Studio 2019 (Community edition), and its complaining about 'Severity	Code	Description	Project	File	Line	Suppression State
Warning	NU1702	ProjectReference 'C:\Users\adyst\source\repos\AdysTech\CredentialManager\src\AdysTech.CredentialManager\AdysTech.CredentialManager.csproj' was resolved using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This project may not be fully compatible with your project.	CredentialManager.Test	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets	1655`
Can this error be ignored?

@mvadu you're welcome.
Regarding the warning, I assume that warning's coming from the test project, so it won't effect the generated package. I'll try and investigate over the next couple of days.

@mvadu I haven't had time to look into this. Given it's only a reference from the test project and the tests ran for all targets, I don't think there's an actual problem here.

@drewnoakes thank you.. I just realized that with your PR the published NugetPakage name got changed too. Since I am also deprecating previous core only package, I have reverted that change, Also with this PR the project was unsigned (i.e. not using strong name) and I have fixed it with #43. You should be able to consume v2.1.1 on Nuget Package now. https://www.nuget.org/packages/AdysTech.CredentialManager/


Is it R-walk code?

I'm trying to recreate the results of cifar100 and MNIST in r-walk paper, but it doesn't work.
To compare it to your code, i open this Issue.
This repo is based on A-GEM paper(1-epoch setting suggested in GEM) not R-walk.
How do i get the code based on R-walk setting(single/multi-head incremental setting, simple 4-layer Network)?
And there is no reference result(Multi-task learning) in r-walk paper. So, i can't calculate F, I score.
I've already learned one(Multi-task learning). Can I use this?
Well, isn't it unstable?

To reproduce the results of RWalk paper you have to modify the code on your own. This repository provides a reference implementation of RWalk. To run multi-epochs and single-head experiments please edit the code accordingly. Most of the code is already in there, you just need to add flags and make correct function calls. A reference implementation of smaller CNN is also given.

Okay,
Could you tell me more detailed setting?(like epoch, Data augmentation...)
Thank you for your answer.

Please refer to the paper.

Hi, I have a similar question regarding to RWALK and PI. I could not find the details of implementation (e.g. number of epochs for training) in your honorable RWALK paper. I used the codes provided by the authors of PI and I found the performance was slightly worse than reported one. May I ask about more training details please?


Introduce 'mutation testing' for contracts

It's the flaky node.socket errors again :/
hydra-node: ConnectException {ioException = Network.Socket.bind: resource busy (Address already in use), socketPath = "/tmp/end-to-end-inits-and-closes-b35e9a0606b5b997/node.socket", networkMagic = NetworkMagic {unNetworkMagic = 42}}

This error is odd, it seems like it's reusing a temp dir???


Error sending message

Hello, when i send message for 3 or more people ,the sender will find himself sending more than 1 message,
Thanks

Thanks for reporting - this should be fixed in 3.0.10. Please let me know if you're still experiencing this issue.


⚠ Bofrost.at has degraded performance

In e6442a4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1018 ms

Resolved: Bofrost.at performance has improved in 609783f.


Dropdown: Error occurred with keyboard action

Steps
For Dropdown without shorthanded options prop, we cannot move selections with keyboard arrows.
Expected Result
moves focus up & down
Actual Result
Dropdown.js?ac82:598 Uncaught TypeError: Cannot read property 'length' of undefined
    at Dropdown._this.moveSelectionBy (Dropdown.js?ac82:598)
    at HTMLDocument.Dropdown._this.moveSelectionOnKeyDown (Dropdown.js?ac82:213)
Dropdown._this.moveSelectionBy @ Dropdown.js?ac82:598
Dropdown._this.moveSelectionOnKeyDown @ Dropdown.js?ac82:213

Version
0.70.0
Testcase
https://codepen.io/rokoroku/pen/weLWXX

As noted in the Dropdown docs:

Dropdown state is not fully managed when using the subcomponent API.  The shorthand props API fully manages state...

We should fix the error, however, the fix will only prevent the error from being thrown.  We will not attempt to parse children and update the state accordingly.   In the future, we will likely drop all support for children in the Dropdown and require only the use of shorthand props.

I fully agree about drop of support children. BTW, I also have an idea to split Dropdown to multiple components like SearchDropdown and MultipleDropdown.

I've used subcomponent API to use <Dropdown.Divider/>.
If it will be dropped, there should be shorthanded props for dropdown components such as Header, Divider, etc. (Or is there any options exists? it's not documented well.)

It is in progress, see #1724 for the issue/discussion and #1757 for the PR.  Related to this is supporting nested sub menus with shorthand, #1365.


perforce: upgrade packages

Description of changes
p4: 2022.2 -> 2024.1
p4v: 2022.2 -> 2024.2

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[x] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I only have ssh access to a darwin machine, so I haven't been able to test any of the GUI tools.  If anyone can do that, I'd appreciate it.

Result of nixpkgs-review pr 321564 run on x86_64-linux 1

4 packages built:

p4
p4.bin
p4.dev
p4v

Result of nixpkgs-review pr 321564 run on x86_64-linux 1

4 packages built:

p4
p4.bin
p4.dev
p4v


Develop

Can your BLE stack be run without os? Trerefore, some edits must be done, e.g. all includes like os_... may be cut (declaring types and calls). And other control loop may be added, like while (1) { check states and process events } Is it possible in principle?

The current BLE stack requires the mynewt OS. We have discussed making this OS agnostic but not removing the OS entirely from the stack. It is certainly possible in principle though.

On May 11, 2016, at 9:03 AM, Vitya Gnatyuk<EMAIL_ADDRESS>wrote:
Can your BLE stack be run without os? Trerefore, some edits must be done, e.g. all includes like os_... may be cut (declaring types and calls). And other control loop may be added, like while (1) { check states and process events } Is it possible in principle?
You can view, comment on, or merge this pull request online at:
https://github.com/apache/incubator-mynewt-core/pull/49 https://github.com/apache/incubator-mynewt-core/pull/49
Commit Summary
MYNEWT-85: Transmit timing fixes
Add HID service to advertisements for ios/osx
Fix encryption event error
Do not obtain and hold a mbuf just to transmit advertisements.
Fix l2cap-sm thread-safety.
changes to support passkey requests and MITM
BLE Host - use big endian for iBeacon ver fields.
bleprph - increase stack size.
BLE host - swap PIN endianness in TK.
bletiny - compile out tk commands if no security.
BLE host - indicate correct peer addr type in pair
BLE host: Return correct att err for sec issues.
BLE host - fix typo in iocap-pairing tables.
BLE host - Add BLE_GAP_ prefix to passkey actions.
add eventq_poll(), which will poll multiple event queues, with a timeout.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
woops. fix to assign j
Fix compiler error recently introduced.
LL feature configuration for controller moved to nimble_opt.h
Code now asks PHY maximum data pdu payload size
add more documentation of callouts. remove os_callout_init() which was unused, have everything be a callout_func. include os/time.h for eventq_poll()
fix merge conflict
BLE host - bonding.
BLE host - whitespace fix.
BLE host - Validate pair req/rsp at rx time.
BLE host - Ensure pair-req sender is master.
BLE host - remove ble_l2cap_sm_process_status().
newtmgr; add command to reset the system.
newtmgr; add header file for package internal symbols.
bootutil; with nffs use separate tmp file for status storage.
shell; better output alignment with '?'.
newtmgr; add sequence number to request header. Copy it to response.
bootutil; test presence of status file in addition to checking config file.
bootutil; fix return status from boot_read_status().
crc16; moved from fs/nffs to under libs/util.
libs/util; add CRC8-CCITT.
fcb; use actual CRC8 for checksumming.
newtmgr; bugfix: all newtmgr id's were changed to zero.
crc16; add define for suggested seed.
shell newtmgr; add CRC to protocol.
Initialize ev to avoid compiler warning
newtmgr; fix build breakage.
BLE host - unit test for invalid pair-rsp.
BLE host - eddystone advertisements.
update comments, remove trailing whitespace.
BLE Host: Send invalid CID l2cap sig err.
bletiny - Add eddystone URL support.
BLE host - only include eddystone if specified.
add C++ guards, minor coding style updates
we should return success down here as the command worked
BLE host - Set random address HCI command.
BLE host - fix check for sufficient conn resources
apps/blehci: Add application for exposing HCI over UART
Add arduino_101 BSP
BLE host - More specific reasons for disconnect.
This closes #48.
Fix incorrect RAM allocation (was 32K; now 16K)
File Changes
A apps/blehci/pkg.yml https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-0 (29)
A apps/blehci/src/main.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-1 (392)
M apps/bleprph/src/main.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-2 (14)
M apps/bletest/src/bletest_hci.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-3 (6)
M apps/bletest/src/bletest_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-4 (2)
M apps/bletest/src/main.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-5 (37)
M apps/bletiny/src/bletiny_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-6 (9)
M apps/bletiny/src/cmd.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-7 (317)
M apps/bletiny/src/main.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-8 (227)
M apps/bletiny/src/parse.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-9 (67)
M apps/blinky/src/main.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-10 (7)
M fs/nffs/src/nffs_block.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-11 (1)
M fs/nffs/src/nffs_crc.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-12 (2)
M fs/nffs/src/nffs_inode.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-13 (1)
M fs/nffs/src/nffs_misc.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-14 (1)
M fs/nffs/src/nffs_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-15 (1)
M fs/nffs/src/nffs_write.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-16 (1)
A hw/bsp/nrf51-arduino_101/boot-nrf51-arduino_101.ld https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-17 (177)
A hw/bsp/nrf51-arduino_101/include/bsp/bsp.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-18 (48)
A hw/bsp/nrf51-arduino_101/include/bsp/bsp_sysid.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-19 (36)
A hw/bsp/nrf51-arduino_101/include/bsp/cmsis_nvic.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-20 (30)
A hw/bsp/nrf51-arduino_101/nrf51-arduino_101.ld https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-21 (183)
A hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_debug.sh https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-22 (45)
A hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_download.sh https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-23 (103)
A hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-24 (178)
A hw/bsp/nrf51-arduino_101/pkg.yml https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-25 (40)
A hw/bsp/nrf51-arduino_101/src/arch/cortex_m0/gcc_startup_nrf51.s https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-26 (267)
A hw/bsp/nrf51-arduino_101/src/hal_bsp.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-27 (46)
A hw/bsp/nrf51-arduino_101/src/libc_stubs.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-28 (85)
A hw/bsp/nrf51-arduino_101/src/os_bsp.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-29 (141)
A hw/bsp/nrf51-arduino_101/src/sbrk.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-30 (53)
A hw/bsp/nrf51-arduino_101/src/system_nrf51.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-31 (121)
M hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-32 (8)
M hw/hal/include/hal/flash_map.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-33 (10)
M hw/hal/include/hal/hal_adc.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-34 (55)
M hw/hal/include/hal/hal_adc_int.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-35 (33)
M hw/hal/include/hal/hal_cputime.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-36 (139)
M hw/hal/include/hal/hal_dac.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-37 (63)
M hw/hal/include/hal/hal_dac_int.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-38 (47)
M hw/hal/include/hal/hal_flash.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-39 (10)
M hw/hal/include/hal/hal_flash_int.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-40 (18)
M hw/hal/include/hal/hal_gpio.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-41 (19)
M hw/hal/include/hal/hal_i2c.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-42 (57)
M hw/hal/include/hal/hal_i2c_int.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-43 (9)
M hw/hal/include/hal/hal_os_tick.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-44 (15)
M hw/hal/include/hal/hal_pwm.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-45 (47)
M hw/hal/include/hal/hal_pwm_int.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-46 (28)
M hw/hal/include/hal/hal_spi.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-47 (29)
M hw/hal/include/hal/hal_spi_int.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-48 (53)
M hw/hal/include/hal/hal_system.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-49 (11)
M hw/hal/include/hal/hal_uart.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-50 (7)
M hw/mcu/native/src/hal_cputime.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-51 (2)
M libs/bootutil/pkg.yml https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-52 (5)
M libs/bootutil/src/bootutil_misc.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-53 (61)
M libs/bootutil/src/bootutil_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-54 (4)
M libs/bootutil/src/test/boot_test.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-55 (3)
M libs/newtmgr/include/newtmgr/newtmgr.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-56 (14)
M libs/newtmgr/pkg.yml https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-57 (1)
M libs/newtmgr/src/newtmgr.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-58 (18)
M libs/newtmgr/src/newtmgr_os.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-59 (27)
A libs/newtmgr/src/newtmgr_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-60 (31)
M libs/os/include/os/os_callout.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-61 (9)
M libs/os/include/os/os_eventq.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-62 (2)
M libs/os/src/os.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-63 (41)
M libs/os/src/os_callout.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-64 (48)
M libs/os/src/os_eventq.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-65 (108)
M libs/shell/src/shell.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-66 (48)
R libs/util/include/util/crc16.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-67 (1)
A libs/util/include/util/crc8.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-68 (32)
R libs/util/src/crc16.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-69 (2)
A libs/util/src/crc8.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-70 (74)
M net/nimble/controller/include/controller/ble_ll.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-71 (14)
M net/nimble/controller/include/controller/ble_ll_conn.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-72 (6)
M net/nimble/controller/include/controller/ble_phy.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-73 (16)
M net/nimble/controller/src/ble_ll.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-74 (23)
M net/nimble/controller/src/ble_ll_adv.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-75 (83)
M net/nimble/controller/src/ble_ll_conn.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-76 (95)
M net/nimble/controller/src/ble_ll_conn_hci.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-77 (4)
M net/nimble/controller/src/ble_ll_ctrl.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-78 (20)
M net/nimble/controller/src/ble_ll_hci.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-79 (14)
M net/nimble/controller/src/ble_ll_hci_ev.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-80 (2)
M net/nimble/controller/src/ble_ll_rng.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-81 (2)
M net/nimble/controller/src/ble_ll_scan.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-82 (2)
M net/nimble/controller/src/ble_ll_supp_cmd.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-83 (4)
M net/nimble/drivers/nrf51/src/ble_phy.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-84 (82)
M net/nimble/drivers/nrf52/src/ble_phy.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-85 (49)
M net/nimble/host/include/host/ble_att.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-86 (1)
A net/nimble/host/include/host/ble_eddystone.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-87 (56)
M net/nimble/host/include/host/ble_gap.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-88 (63)
M net/nimble/host/include/host/ble_gatt.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-89 (3)
M net/nimble/host/include/host/ble_hs.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-90 (11)
M net/nimble/host/include/host/ble_hs_adv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-91 (2)
M net/nimble/host/include/host/ble_l2cap.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-92 (45)
M net/nimble/host/include/host/host_hci.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-93 (5)
M net/nimble/host/src/ble_att_svr.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-94 (89)
A net/nimble/host/src/ble_eddystone.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-95 (197)
M net/nimble/host/src/ble_gap.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-96 (127)
M net/nimble/host/src/ble_gap_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-97 (12)
M net/nimble/host/src/ble_gatt_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-98 (2)
M net/nimble/host/src/ble_gatts.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-99 (35)
M net/nimble/host/src/ble_hs.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-100 (2)
M net/nimble/host/src/ble_hs_cfg.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-101 (4)
M net/nimble/host/src/ble_hs_conn.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-102 (10)
M net/nimble/host/src/ble_hs_conn_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-103 (2)
M net/nimble/host/src/ble_ibeacon.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-104 (4)
M net/nimble/host/src/ble_l2cap.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-105 (8)
M net/nimble/host/src/ble_l2cap_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-106 (2)
M net/nimble/host/src/ble_l2cap_sig.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-107 (140)
M net/nimble/host/src/ble_l2cap_sig_cmd.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-108 (80)
M net/nimble/host/src/ble_l2cap_sig_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-109 (16)
M net/nimble/host/src/ble_l2cap_sm.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-110 (1147)
M net/nimble/host/src/ble_l2cap_sm_cmd.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-111 (199)
M net/nimble/host/src/ble_l2cap_sm_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-112 (89)
M net/nimble/host/src/host_hci_cmd.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-113 (30)
M net/nimble/host/src/test/ble_gatts_notify_test.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-114 (2)
M net/nimble/host/src/test/ble_l2cap_sm_test.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-115 (992)
M net/nimble/host/src/test/ble_os_test.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-116 (2)
M net/nimble/include/nimble/ble.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-117 (9)
M net/nimble/include/nimble/hci_common.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-118 (9)
M net/nimble/include/nimble/nimble_opt.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-119 (80)
M net/nimble/src/util.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-120 (84)
M sys/fcb/src/fcb_elem_info.c https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-121 (2)
M sys/fcb/src/fcb_priv.h https://github.com/apache/incubator-mynewt-core/pull/49/files#diff-122 (0)
Patch Links:
https://github.com/apache/incubator-mynewt-core/pull/49.patch https://github.com/apache/incubator-mynewt-core/pull/49.patch
https://github.com/apache/incubator-mynewt-core/pull/49.diff https://github.com/apache/incubator-mynewt-core/pull/49.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/apache/incubator-mynewt-core/pull/49

Thank you for that answer. For now, I need to understand, how to accept a connection request from the master in an advertising slave? Your BLE stack may help me. So, I want to clarify, in what chain (shown below) that is processed? I found two:
/ Chain 1 Begin /
[ble_phy.c] ble_phy_isr // interrupt
/ Subchain 1 Begin /
[ble_phy.c] ble_phy_rx_start_isr
[ble_ll.c] ble_ll_rx_start
[ble_ll_adv.c] ble_ll_adv_rx_isr_start
[ble_ll_adv.c] ble_ll_adv_tx_done // maybe here?
/ Subchain 1 End /
/ Subchain 2 Begin /
[ble_phy.c] ble_phy_rx_end_isr
[ble_ll.c] ble_ll_rx_end
[ble_ll_adv.c] ble_ll_adv_rx_isr_end
[ble_ll_adv.c] ble_ll_adv_rx_req // this function is odd, connection request is ignored, in my opinion, but it mentioned in the function header
[ble_ll.c] ble_ll_rx_pdu_in // maybe here?
/ Subchain 2 End /
/ Chain 1 End /
/ Chain 2 Begin /
[ble_ll.c] ble_ll_task // infinite loop
[ble_ll.c] ble_ll_rx_pkt_in
[ble_ll_adv.c] ble_ll_adv_rx_pkt_in
[ble_ll_adv.c] ble_ll_adv_conn_req_rxd
[ble_ll_conn.c] ble_ll_conn_slave_start
[ble_ll_conn.c] ble_ll_conn_created
[ble_ll_conn_hci.c] ble_ll_conn_comp_event_send
[ble_ll_hci.c] ble_ll_hci_event_send
[host_hci.c] ble_hci_transport_ctlr_event_send // maybe here?
/ Chain 2 End /

Vitya:
I am not exactly sure what you are asking. Are you wanting to understand the code flow for an advertiser to accept a connection request? Are you trying to write some code that will process received connection events? Are you trying to use this code as a controller and receive the events over the HCI interface? If you could describe what you are trying to do in more detail I might be able to help more.
FYI, here is slightly more info on the call chains.
The chain on the advertising slave side is this:
ble_phy_isr(): this handles receive start, receive end and transmit end events.
Receive start in advertising state:
ble_phy_rx_start_isr()
ble_ll_rx_start()
ble_ll_adv_rx_isr_start()
The receive isr start function in the advertising state is attempting to determine if the received packet is one that should received or aborted. We abort as early as possible to save unnecessary receive time. If the frame is to be aborted, ble_ll_adv_tx_done() is called. This prods the advertising state machin to emit another advertisement on the next channel or schedule the start of the next advertising event.
Assuming the packet is one we will accept (a CONNECT_REQ in this case):
ble_phy_isr(): process receive end
ble_phy_rx_end_isr()
ble_ll_rx_end()
ble_ll_adv_rx_isr_end()
ble_ll_adv_rx_req()
The advertising receive request function processes scan request and connection request events. Assuming the CONNECT_REQ passes through the appropriate filters, it is handed to the LL task for further processing at task level.
ble_ll_task()
ble_ll_rx_pkt_in()
ble_ll_adv_rx_pkt_in()
ble_ll_adv_conn_req_rxd()
ble_ll_conn_slave_start()
Assuming the packet passes further validations, a connection state machine is started when ble_ll_conn_slave_start() is called. This will then emit a connection complete event using the call chain as you show it.

On May 12, 2016, at 6:07 AM, Vitya Gnatyuk<EMAIL_ADDRESS>wrote:
Thank you for that answer. For now, I need to understand, how to accept a connection request from the master in an advertising slave? Your BLE stack may help me. So, I want to clarify, in what chain (shown below) that is processed? I found two:
/* Chain 1 Begin /
[ble_phy.c] ble_phy_isr // interrupt
/ Subchain 1 Begin /
[ble_phy.c] ble_phy_rx_start_isr
[ble_ll.c] ble_ll_rx_start
[ble_ll_adv.c] ble_ll_adv_rx_isr_start
[ble_ll_adv.c] ble_ll_adv_tx_done // maybe here?
/ Subchain 1 End /
/ Subchain 2 Begin /
[ble_phy.c] ble_phy_rx_end_isr
[ble_ll.c] ble_ll_rx_end
[ble_ll_adv.c] ble_ll_adv_rx_isr_end
[ble_ll_adv.c] ble_ll_adv_rx_req // this function is odd, connection request is ignored, in my opinion, but it mentioned in the function header
[ble_ll.c] ble_ll_rx_pdu_in // maybe here?
/ Subchain 2 End /
/ Chain 1 End */
/* Chain 2 Begin /
[ble_ll.c] ble_ll_task // infinite loop
[ble_ll.c] ble_ll_rx_pkt_in
[ble_ll_adv.c] ble_ll_adv_rx_pkt_in
[ble_ll_adv.c] ble_ll_adv_conn_req_rxd
[ble_ll_conn.c] ble_ll_conn_slave_start
[ble_ll_conn.c] ble_ll_conn_created
[ble_ll_conn_hci.c] ble_ll_conn_comp_event_send
[ble_ll_hci.c] ble_ll_hci_event_send
[host_hci.c] ble_hci_transport_ctlr_event_send // maybe here?
/ Chain 2 End */
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/apache/incubator-mynewt-core/pull/49#issuecomment-218751149

I have a Link Layer (https://github.com/pauloborges/blessed). It can advertise and visible to Android. Then I want to connect to my nRF51 board and transfer data to it in order to upgrade firmware over BLE without using SoftDevice (because it is too large, my employer want that, I go through a test period on programming job). Minimum functionality, no Security, just transferring with respond, Peripheral role. So, I just want to extend that blessed project to be more functional.

Ah, I have seen blessed on github. That is cool that you want to extend it. You should be able to use the nimble code to add functionality; let me know if you find any issues with it. We also encourage folks to contribute to the project so if you are so inclined that would be great.
Let us know if you have more questions…
One more thing: it looks like you were not trying to make any changes with your pull request. Given that, we should move this conversation to the dev list and you should close your pull request.

On May 12, 2016, at 10:52 AM, Vitya Gnatyuk<EMAIL_ADDRESS>wrote:
I have a Link Layer (https://github.com/pauloborges/blessed https://github.com/pauloborges/blessed). It can advertise and visible to Android. Then I want to connect to my nRF51 board and transfer data to it in order to upgrade firmware over BLE without using SoftDevice (because it is too large, my employer want that, I go through a test period on programming job). Minimum functionality, no Security, just transferring with respond, Peripheral role. So, I just want to extend that blessed project to be more functional.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/apache/incubator-mynewt-core/pull/49#issuecomment-218834483

Also, it's worth considering using the mynewt stack and OS.  I understand you want a simpler solution, but if you can #ifdef out the stuff you don't need -- we'll upstream the patch, to allow it to be configurable down to the code size you might need.  I'm not sure how maintained blessed is today.

Ok, thanks. I will try to do this work.
About pull request, I don't have a good understanding of github system. I just wanted to ask. I should close this pull request, or any other changes?

Yes, you should close this pull request. Not sure what other changes you are referring to.
Furthermore, conversations about the stack and os are better held here<EMAIL_ADDRESS><EMAIL_ADDRESS>
On May 16, 2016, at 3:49 AM, Vitya Gnatyuk<EMAIL_ADDRESS>wrote:
Ok, thanks. I will try to do this work.
About pull request, I don't have a good understanding of github system. I just wanted to ask. I should close this pull request, or any other changes?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/apache/incubator-mynewt-core/pull/49#issuecomment-219398655


operator mongodb-enterprise (1.19.1)

This PR has been created by MongoDB Release Automation Tool.
If additional details are needed, please contact any authorized
reviewer from MongoDB.

/hold

/retry

/retest

See comment here about the failing test: https://github.com/k8s-operatorhub/community-operators/issues/2610#issuecomment-1520673134

@mporrato could you take a look at this one? For some reason it is not finding the registry pod. But I think the original problem is that the CSV doesn't become healthy. @mircea-cosbuc have you tested this update locally?

@dmesser @mporrato We did test this update locally (running the whole orange pipeline with the ansible playbooks) , but it only succeeded after setting the environment variable:
export KIND_KUBE_VERSION=v1.24.0

We noticed that by default the orange pipeline will use a version of 1.21.1 which would indeed lead the CSV in a non-healthy state since the minKubeVersion is set to 1.23.0. It is not clear if the 1.12.1 version of kube for the test is set because of the bundle or the CI configuration.

@mircea-cosbuc I just deployed a fix for the CI that should pick up the right k8s version for lemon and orange tests.
I'll close and reopen this PR to let the CI use the fixed GH action.

/merge possible

/merge possible

@mporrato Thank you for following up on this and helping with getting it merged! 🎉


Fix/simplify from/to_timestamp/convert/to_x conversions and codify conversion values

I apologize if I combined a couple of pull requests here......
Three things in this request,
First - modify the Time.from and Time.to_timestamp functions to work properly. The msec variants did not properly multiple the msecs by 1000 so the values were not correct. The secs variants also did not work. The date_test modification clearly is an example of the problem - there are more then 63 seconds between Jan 1st 1971 and Jan 1st 1973.
Second - modified the functions so they, where possible, call down to a single version which does the work (either usecs or secs variant) and then convert the value back to the required type. I think the less places we're actually doing work the better.
Lastly - I also switched out the multiple locations that multiplied by an amount with an set of substitutions that declare what the value is.
Tests added and passed. If more tests desired/required please let me know...

This is great thanks!


Various Rockhounding Problems

It seems like the currently used version of Rockhounding has multiple problems - or at least for me.

Cannot pick fluids in the Fluidpedia.
Besides the UI being broken (which I assume is meant by what the quest says) I also cannot pick any fluid filters in it.
This isn't that big of an issue if you actually don't need more filters than Brine and Water, but I'm not sure about that since I haven't gotten much further because...

The Metal Alloyer seems to be completely non-functional

Here's my setup incase it is an error on my end

In the UI the tooltip where it should say what is needed for a recipe doesn't show and it also just doesn't craft anything, which are likely related issues.

When I first discovered the problem with the Fluidpedia a few days ago I did test updating Rockhounding by hand, which did fix that problem but obviously broke all the custom stuff in this modpack. I haven't tested it for the metal alloyer though.

Looks like you have your server active (blue button on the top left of the UI). That could probably be disabled. Also make sure you have a graduated cylinder in both of your cabinets.

I have also tried it with the server disabled and not attached, but the behaviour was the same.
Both cabinets have a graduated cylinder in them.

Can you show the power station gui and make sure the cabinets are in the correct order?

Because the gif is to big to post it directly: https://imgur.com/a/OfTDlck
I hope this shows all the important stuff.
And yes, I've tried swapping the cabinets around.

You don't have a server paper in your server (I don't recall the exact name of the item)

Does that matter if the server is turned off?
And the alloyer also did not work without a server being attached. Or is the server required for this structure?

Shouldn't matter if the server is turned off, no. It's also not required, in fact I don't recommend over using one tbh.
I do think your cabinets are in the wrong order though, can you send a screenshot of the manual as well?

Ok, yeah no you're right
I tried swapping them around multiple times, but apparently I've always succesfully failed at remembering how I put them up before ;-;
Thanks for the help ^^'

Awesome, no problem.
I'd like to update the mod but really don't feel like fixing everything in the pack that would be broken lol.


Table DataObject

We already have the table data object, should we formalize it as an offering for 2d array style data?

@micahgodbolt, do you want to self assign this? I believe you're doing the work.

@micahgodbolt, do you want to self assign this? I believe you're doing the work.

Majority of table based UIs expect something like the following for data
const header = [{ key: 'name', value: "User's Name" }, {key: 'age', value: "User's Age"}];

const items = [
  { 'name': 'Mickey', 'age': 30}
  { 'name': 'Minney', 'age': 28}
]

An array of headers, either strings or objects with a key and value (and possibly other data regarding sorting, state, visibility)
An array of items, usually an object with key: value pairs where key matches a key in the header data and value is either a string or some function the returns the cell data

In scope

Leverage a SharedMatrix to store the data, and then have a simple getter for header and items in the format above. Getter can take in params like range and columns.
Setters will be a callback that specifies the row/cell edited (onBlur), and we'll update the SharedMatrix and fire an event that the table has changed

Out of scope (for now)

Doing per cell shared strings/coauthoring
Having more refined eventing

Majority of table based UIs expect something like the following for data
const header = [{ key: 'name', value: "User's Name" }, {key: 'age', value: "User's Age"}];

const items = [
  { 'name': 'Mickey', 'age': 30}
  { 'name': 'Minney', 'age': 28}
]

An array of headers, either strings or objects with a key and value (and possibly other data regarding sorting, state, visibility)
An array of items, usually an object with key: value pairs where key matches a key in the header data and value is either a string or some function the returns the cell data

In scope

Leverage a SharedMatrix to store the data, and then have a simple getter for header and items in the format above. Getter can take in params like range and columns.
Setters will be a callback that specifies the row/cell edited (onBlur), and we'll update the SharedMatrix and fire an event that the table has changed

Out of scope (for now)

Doing per cell shared strings/coauthoring
Having more refined eventing


[AMHACK] Response Message missing for the error message generated when the quota is exceeded

Description:
Did not receive any response message for the response code generated (429 ) when the allocated quota reached.
Suggested Labels:
Bug
Affected Product Version:
APIM wum updated - wso2am-<IP_ADDRESS>0928473100.zip
OS, DB, other environment details and versions:
Standalone
Oracle 15.10
JDK - jdk1.8.0_66
DB - H2
Browser - Chrome Version 58.0.3029.96 (64-bit)
Steps to reproduce:

Log in to API admin console
Add a subscription tier with 20 requests per 5 minutes
Create an API and publish it
Invoke the API with more than 20 requests (around 25 requests)

Observations

Response code sent to the client does not contain the response message. (ex: for 429 error code response message should be sent as 'TOO MANY REQUESTS' )

Thread Name: Thread Group 1-2
Sample Start: 2017-11-23 12:42:51 IST
Load time: 7
Connect Time: 1
Latency: 7
Size in bytes: 817
Sent bytes:737
Headers size in bytes: 336
Body size in bytes: 481
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 429
Response message:

Response headers:
HTTP/1.1 429
SOAPAction: urn:getQuote
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST
Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction
Content-Type: text/xml; charset=UTF-8
Date: Thu, 23 Nov 2017 07:12:51 GMT
Transfer-Encoding: chunked
Connection: keep-alive

Reported in EI https://github.com/wso2/product-ei/issues/4668


hk.Conv2DTranspose takes FOREVER to initialize and compile

Not sure if this is a jax thing or dm-haiku... but recently I've been trying to use Conv2DTranspose in my model, and even for very simple case... it takes forever to compile.
here is an example:
import haiku as hk
import jax
from jax import random
import time

def toy_model(x):
  x = hk.Conv2DTranspose(32, 32, stride=16, padding="VALID")(x)
  return x

# Transform the model to be JAX-compatible
toy_model_init = hk.transform(toy_model).init
toy_model_apply = hk.transform(toy_model).apply

# Generate random input and params
key = random.PRNGKey(42)
x = random.normal(key, (1, 8, 8, 128))

# Time the model initialization
start_time = time.time()
params = toy_model_init(key, x)
end_time = time.time()
print(f"initialization Time: {end_time - start_time:.6f} seconds")

# Time the model compilation
start_time = time.time()
compiled_apply = jax.jit(toy_model_apply)
# Warm-up call (this compiles the function)
_ = compiled_apply(params, None, x)
end_time = time.time()
print(f"Compilation Time: {end_time - start_time:.6f} seconds")

# Time the model run
start_time = time.time()
o = compiled_apply(params, None, x)
print("input_shape",x.shape)
print("output_shape",o.shape)
end_time = time.time()
print(f"Run Time: {end_time - start_time:.6f} seconds")

output
initialization Time: 251.865844 seconds
Compilation Time: 255.010969 seconds
input_shape (1, 8, 8, 128)
output_shape (1, 144, 144, 32)
Run Time: 0.000671 seconds

for comparison, in pytorch:
Initialization Time: 0.033582 seconds
input_shape torch.Size([1, 128, 8, 8])
output_shape torch.Size([1, 32, 144, 144])
Run Time: 0.047478 seconds

Google colab notebook replicating the test:
https://colab.research.google.com/drive/15YkOuK0EjqZdBNaXpF2wpYexGqtjZjLr

Ok, this appears to be a lax.conv_transpose issue. I tried running lax.conv_transpose directly and also see same issue.


Failures of firing log hooks can potientially cause performance degradation

We installed a Kafka logger as a log hook in our servers.
During a recent incidence, a sudden increase of traffic overwhelmed the Kafka logger, and resulted in failures of firing the hook, which triggered the following code path: https://github.com/Sirupsen/logrus/blob/master/entry.go#L96-L100
    if err := entry.Logger.Hooks.Fire(level, &entry); err != nil {
        entry.Logger.mu.Lock()
        fmt.Fprintf(os.Stderr, "Failed to fire hook: %v\n", err)
        entry.Logger.mu.Unlock()
    }

Due to the large amount of traffic, the logging to os.Stderr quickly became the bottleneck of the whole service, caused lock contention, and led to more cascading failures.
Is there a better way to log the failures of log hooks? Can you provide an option to disable it?

Did the Kafka logger fail fast? I think it'd be reasonable to circuit break the logging of failing to fire the hook, however, I'd also be concerned about the hooks not failing fast enough (although that should be resolved in the hook, likely not logrus).
WDYT?
cc @zstyblik

Hello @sirupsen,
thank you for cc and apologies for late reply. Unfortunately, I'm not familiar with logrus internals nor the big picture. Also, I can speak only for myself.
As for our hook, we're quite happy with circuit-breaking it inside the hook itself. Which means that errors inside the hook are hidden from logrus, if needed be. But that's my $0.02USD and what works for me doesn't have to work for others.
Cheers.


Overview of existing browsers

Overview of existing browsers

Overview of existing browsers

I decided to make an overview of Edge, FireFox, Google Chrome, Safari, Opera.
It's the most popular web browsers since Microsoft stopped supporting IE and replaced it with Edge.

Name
1st Release
JS engine
Rendering engine

Edge
March 30, 2015
Chakra
EdgeHTML

FireFox
September 23, 2002
SpiderMonkey
Gecko, WebKit

Google Chrome
September 2, 2008
V8
Blink

Safari
January 7, 2003
Nitro
WebKit

Opera
April 1995
V8
Blink

We can see, that the oldest browser is Opera and the newest is Edge.
Edge and Google Chrome have managed to take possession of the majority of the market share while leaving Firefox, Safari, and Opera at the bottom.
Talking about the speed, let's see some diagrams:

This image in full-width - here

Here you can check which of the browsers support different features. For example, flexboxes
Summary
As you can see, according to these diagrams, FireFox uses less memory. But Chrome is much faster than FireFox when loading pages. (probably because Chrome creates new process for each tab).
Also FireFox supports a lot of css and html features.
Edge is a step forward if you compare it with IE, but who knows what Microsoft will do with this browser in future.
Opera is old and stable, but it's not the best at the moment.
Safari is not so good for Windows, but OK for Mac.
So as for me, the best one is Google Chrome :)


effect change to affect people

"before these changes take affect" should be "before these changes take effect"

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

ID: ae96cfcf-0a50-7e13-30c8-43e3730e184f
Version Independent ID: 9d8ed7b7-eec6-1b95-40b8-24a13361f66d
Content: Configure AD FS 2016 and Azure MFA
Content Source: WindowsServerDocs/identity/ad-fs/operations/configure-ad-fs-and-azure-mfa.md
Product: windows-server-threshold
Technology: identity-adfs
GitHub Login: @billmath
Microsoft Alias: billmath

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


⚠ Bofrost.lu has degraded performance

In fd07d33, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: Bofrost.lu performance has improved in d91458d.


How to setup sklearn prediction v2 (MLServer) with gRPC and MultiModelServer ?

/kind question

"sklearn": {
"v1": {
"image": "gcr.io/kfserving/sklearnserver",
"defaultImageVersion": "latest",
"supportedFrameworks": [
"sklearn"
],
"multiModelServer": true
},
"v2": {
"image": "docker.io/seldonio/mlserver",
"defaultImageVersion": "0.2.1",
"supportedFrameworks": [
"sklearn"
],
"multiModelServer": false
}
},

Is it possible to configure sklearn predictor (v2) for multi model serving? I already have v1 version working fine in MML setup (i.e. with InferenceService and TrainedModels) - it does what is suppose to do and I'm happy with it. But I wanted to switch from HTTP/REST interface to the gRPC and for that I need to replace Sklearnserver (v1) with SeldonIO/MLServer (v2). But this does not seem to suport MML prediction right now... Is it any plan to support it in the near future or am I configuring sth wrong here?

@molejnik-mergebit it should work actually, we have not turned on the flag by default but you could try out.

Thank you for the reply. I just found I was using kfserving 0.5.0-rc2. I will update to 0.6.1 and will try again.

It works for me now on kfserving 0.6.1. Worth mentioning (because I didn't see it anywhere in the docs) that the correct setup for MMS with mlserver is as follows:
inferenceservice.yaml  - standard, without storageUri for MMS
trainedmodel.yaml
apiVersion: "serving.kubeflow.org/v1alpha1"
kind: "TrainedModel"
metadata:
  name: "actual-model-name"
spec:
  inferenceService: "proper-inferenceservice-name"
  model:
    storageUri: "gs://bucket-name/some/path"
    framework: "sklearn"
    memory: "128Mi"

Then in your GCP bucket, under bucket-name/some/path you must place 2 files:
model.joblib - actual model file
model-settings.json - settings file under the default name, which includes:
{
    "name": "actual-model-name",
    "implementation": "mlserver_sklearn.SKLearnModel",
    "parameters": {
        "uri": "/mnt/models/actual-model-name/model.joblib"
    }
}

Make sure your model name (actual-model-name in my example) is the same in trainedmodel.yaml and model-settings.json. Make sure you constructed model.parameters.uri in model-settings.json file as in example above, so it contains model name - this is the place where agent container in MMS configuration will download your model.joblib.

Ok, so apparently the inferenceservice.yaml is not "standard". One has to enable proper GRPC port for the whle thing to be available from outside the cluster:
apiVersion: "serving.kubeflow.org/v1beta1"
kind: "InferenceService"
metadata:
  name: "inference-svc-grpc"
spec:
  predictor:
    minReplicas: 1
    sklearn:
      protocolVersion: v2
      name: "predictor-grpc"
      ports:
        - name: h2c
          containerPort: 9000
          protocol: TCP
      resources:
        limits:
          cpu: 1500m
          memory: 2Gi
        requests:
          cpu: 500m
          memory: 2Gi


add ilogtail ci process for static check

polish ilogtail ci process

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.EvanLjp seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Signomial Equality can be violated

in this commit https://github.com/hoburg/d8/commit/685521cdf5d68e7d6a664805b0e78f402e3f554f run D8.py and look at the variables 'hft' and 'dhft' then the constraint on line 805. The signomial equality is violated by roughly 3000%.

@bqpd any thoughts on this? we're seeing it again

This is a weird one, I think your guess is probably better than mine. A good way to debug this might be to plot the EQ / approx at each time step, to check that the approx is accurate?
Note that if the cost is insensitive to the value in question it's not required to converge with our current SP criteria.

Could not reproduce; model does not solve on master or nomialmap. My guess is, as above, that the variable was not important to the cost


Get rid of session.ExecuteBatch

Make Batch behave the same way as Query so it looks like
session.Batch().Query("SELECT * FROM table").Query("SELECT * FROM table").Exec()

This means renaming session.NewBatch -> Batch and removing session.ExecuteBatch

https://issues.apache.org/jira/browse/CASSGO-7


Build Failure

Started by user Admin
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/maven-job
No credentials specified

git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url https://github.com/jenkins-docs/simple-java-maven-app.git # timeout=10
Fetching upstream changes from https://github.com/jenkins-docs/simple-java-maven-app.git
git --version # timeout=10
git fetch --tags --progress -- https://github.com/jenkins-docs/simple-java-maven-app.git +refs/heads/:refs/remotes/origin/
git rev-parse refs/remotes/origin/master^{commit} # timeout=10
git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 0d85b7e1fd39bc6978511f92381aa10534ca4c1b (refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 0d85b7e1fd39bc6978511f92381aa10534ca4c1b
Commit message: "Amend README.md"
git rev-list --no-walk 0d85b7e1fd39bc6978511f92381aa10534ca4c1b # timeout=10
Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip to /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven-3.6.0 on Jenkins
[maven-job] $ /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven-3.6.0/bin/mvn -B -DskipTests clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.mycompany.app:my-app >----------------------
[INFO] Building my-app 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ my-app ---
[INFO] Deleting /var/jenkins_home/workspace/maven-job/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my-app ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/maven-job/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ my-app ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /var/jenkins_home/workspace/maven-job/target/classes
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

Please ignore, there was an issue on the server.


Commands work but search gives console errors

Love the package and sure this is something with my setup but I've tried a number of things and hit the same wall. When you search an indigo bar appears but it doesn't activate and the console fills with errors:

I have alpine installed as a module, it was 3.2 and now 3.9.1 - alpine components work.
Any thoughts?
Thanks.

Hi @PhiloNL  - I'm having the same problem, though I'm using Alpine CDN.
My command (open a modal) does execute when I finish typing and hit enter, but it seems to be trying to execute every letter of the query as I type and throwing Console errors all the while.
Here's (an attempt at uploading) a gif screenshot in action.

Any idea as to where to start to fix this? Happy to provide more information if that would be helpful. Thanks!

I've tested this with 3.9.1 and it works. It might be related to the order, the following works for me:
// blade
@livewireStyles

@livewire('livewire-ui-spotlight')
@livewireScripts

<script src="/app.js"></script>

// app.js
require('../../vendor/wire-elements/modal/resources/js/modal')
import Alpine from 'alpinejs'

window.Alpine = Alpine
Alpine.start()