Chadburn is not picking up any tasks

Setup:
docker-compose chadburn:
version: "3"
services:
  chadburn:
    image: premoweb/chadburn:latest
    container_name: chadburn
    restart: always
    command: daemon
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro

    networks:
      - traefik

networks:
  traefik:
    external:
      name: traefik-network

docker-compose influxdb
version: '3.7'

services:
  influxdb:
    image: arm64v8/influxdb:2.2
    container_name: influxdb
    restart: always
    labels:
      chadburn.enabled: true
      chadburn.job-exec.backup-influxdb.schedule: "38 8 * * *"
      chadburn.job-exec.backup-influxdb.command: "/backup/backup.sh"
[....]

docker inspect of the container
❯ docker inspect influxdb | jq ".[].Config.Labels"
{
  "chadburn.enabled": "True",
  "chadburn.job-exec.backup-influxdb.command": "/backup/backup.sh",
  "chadburn.job-exec.backup-influxdb.schedule": "38 8 * * *",
  "com.docker.compose.config-hash": "5e307b1e77c4fd6682759977b4a9472868ed6d75fd76d30a7492bc328eb5c14d",
  "com.docker.compose.container-number": "1",
  "com.docker.compose.oneoff": "False",
  "com.docker.compose.project": "influxdb2",
  "com.docker.compose.project.config_files": "docker-compose.yaml",
  "com.docker.compose.project.working_dir": "/opt/influxdb2",
  "com.docker.compose.service": "influxdb",
  "com.docker.compose.version": "1.29.2"
}

Logs of chadburn
Attaching to chadburn
chadburn    | daemon.go:47 ▶ DEBUG Config file: /etc/chadburn.conf not found
chadburn    | scheduler.go:101 ▶ DEBUG Starting scheduler
chadburn    | cron_utils.go:13 ▶ DEBUG start

Do I miss something?

The only thing I see interesting here is the label for chadburn.enabled being "True" and not "true". You may need to wrap your true label with quotes like "true". I'm not actually sure about this.
The only other thing that I can say is that
From the architecture referenced, I'm curious if you are running this on a Raspberry Pi 4?

thats it. It has to be "true" as String and not Boolean.
I'll try the go version of cron definition.
and yes: i'm running on a raspberry pi 4 ;-)

Fingers crossed here that's the problem.

At least using "true" as String triggers Chadburn. but the task is not executed.
And the behavior with the different cron syntaxes is ... unpredictable a least ;-)
Here my log, commented lines are my notes
### added job with 5 field syntax, log messages are fine, there are resgistration and deregistration entries
chadburn    | cron_utils.go:13 ▶ DEBUG added
chadburn    | scheduler.go:89 ▶ NOTICE New job registered "backup-influxdb" - "/backup/backup.sh" - "50 20 * * *" - ID: 4
### here the job should have been executed
### now ich switched to 6 field syntax, there is NO registration entry and job does not get exectued
chadburn    | scheduler.go:94 ▶ NOTICE Job deregistered (will not fire again) "backup-influxdb" - "/backup/backup.sh" - "50 20 * * *" - ID: 4
chadburn    | cron_utils.go:13 ▶ DEBUG removed
### here I disabled chadburn via label on the influx container, a deregistration entry appears, no matching registration
chadburn    | scheduler.go:94 ▶ NOTICE Job deregistered (will not fire again) "backup-influxdb" - "/backup/backup.sh" - "0 58 20 * * *" - ID: 0
chadburn    | cron_utils.go:13 ▶ DEBUG removed

now its working finally.
bugs:

schedule has to be 5 field cron syntax
enable has to be string and not boolean


So apparently memebitchy didn’t get off the internet like they should’ve

What is your question?
Their yt channel https://www.youtube.com/channel/UCMh09vutNZAA6y1ogPqq_9Q
There was a video posted 2 days ago on there, the drama was a month ago.
DEAR GOD, they should change their name to isiah weston chandler at this point.

 He's alr banned from github whats the point of banning him form youtube?

You want to ban memehoovy from youtube bc he posted nsfw in github? He's alr banned from github whats the point of banning him form youtube?

Your question is the same as “amoraltra groomed children on discord so what’s the point of cancelling him on other platforms?”

You want to ban memehoovy from youtube bc he posted nsfw in github? He's alr banned from github whats the point of banning him form youtube?

Your question is the same as “amoraltra groomed children on discord so what’s the point of cancelling him on other platforms?”

Grooming aint the same thing as posting nsfw and he hasn't posted nsfw on his youtube either, so I don't see a reason for banning him on other platforms.

What does this have to do with Psych Engine exactly?

What does this have to do with Psych Engine exactly?

Nothing with psych tho a bit with this repo.

Not a psych engine related issue + burh

if issues for this repo gets closed its gonna be because of issues like this


Escapable blocks of text

allow escapable blocks of text when wrapped in triple backticks or quotes.  Fixes #52

Nice! Thanks for the contribution. Do you mind adding a test with a multiline string? Otherwise should be good

Good idea. I added a test for multiline string.


Object Mapper Unification

I want to start by saying I'm really impressed with this library.
One use case I've discovered to be missing is that the ObjectMapper class that is passed to the client is not used by all serialization/deserialization related functions. The reason for this, is that I'd like to be able to use Java 8 time classes(Instant, ZonedDateTime, etc.) but I run into deserialization issues and am not able to override the ObjectMapper that gets newed up in the function.
I'd be willing to look into the complexity of unifying all of the instances where ObjectMapper is used and allowing a user of the library to specify their own for all serialization work. Before starting the work and opening a PR, I thought I'd ask if there's any thoughts you would have?

Hello, thx for the issue. I remember that I was thinking about this some time ago. It should not be hard to solve it. I will look at it, and provide a solution 🍾 . Thx for the star also 😄

Fix will be provided in 2.4.1. Coming soon... Hope it will help you. If not, do not hesitate and open another issue ideally with steps to reproduce.


doc: net: Add network configuration guide

Add a simple document describing various network related configuration options and how they affect the available resources in the system.

I wonder if it'd make sense to group those settings in separate sections, i.e. one for generic networking configuration, and then separate for sockets, TLS sockets, TCP.

Yes, that sounds like a good plan. Lets first get enough right content, and then fine tune the output.

The list format is not looking good, https://builds.zephyrproject.io/zephyr/pr/67239/docs/connectivity/networking/net_config_guide.html
I will try to figure out better format.

The list format is not looking good, https://builds.zephyrproject.io/zephyr/pr/67239/docs/connectivity/networking/net_config_guide.html I will try to figure out better format.

Try "term list", perhaps https://docs.zephyrproject.org/latest/develop/optimizations/footprint.html#stack-sizes

Try "term list", perhaps https://docs.zephyrproject.org/latest/develop/optimizations/footprint.html#stack-sizes

Indeed, that looks reasonable.

I am assuming you have listed all the Kconfig options in a deliberate order (in order of importance?)

Yes, that is correct. I would like to keep the ordering as it makes more sense here.

Updated according to comments.


Volume mount no longer works after upgrading to v1.12.4

Hi there,
I've been running docker machine for awhile now, and just now, I spun up a new machine on vmware fusion (v7) on OSX (v10.11.6) that prior to a recent upgrade pulling Docker engine 1.12.4, supported the mount on my host of docker run -v /Users/<my user>/project/a/sub/dir/:/var/www/public_html/ ....  Now it only gets one child directory deep and is missing everything deeper within the child directories.  I'd be more than happy to provide any necessary debugging info.  And if someone could point me in the direction where mounts to OSX's hosts are in the code, I'd be happy to try my hand at it.

please provide more

@tronicum can you be specific in what to provide?

did you have any other mounts? which storage module are you using?

No other mounts and here's my docker info
Containers: 2
 Running: 0
 Paused: 0
 Stopped: 2
Images: 246
Server Version: 1.12.4
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 112
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Kernel Version: 4.4.27-boot2docker
Operating System: Boot2Docker 1.12.4 (TCL 7.2); HEAD : 7fc7575 - Thu Oct 27 17:23:17 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.7 MiB
Name: default
ID: REZK:R7HY:C5OH:EETJ:VWD5:OVRA:HVNG:EVBP:NADS:DRAR:HCMF:E4C2
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug mode (client): false
Debug mode (server): true
 File Descriptors: 13
 Goroutines: 24
 System Time: 2016-12-24T21:30:59.722171605Z
 EventsListeners: 0
Username: cpg1111
Registry: https://index.docker.io/v1/
Labels:
 provider=vmwarefusion

you upgraded docker, could the docker.service (systemd) file changed?


Render Distant Zones with Low-Poly / View Distance Control

In large world games, terrains often use a similar chunk-based system that you have chosen for your zones.  However, these games often use a view distance to control how far into the distance the terrain is rendered while also having a secondary distance that controls whether the terrain is represented by some low-poly mesh that isn't splatted and takes on a hue of the distant atmosphere for performance reasons.
It would be neat if TerraBrush provided a way to support such zone features.

Somewhat.
What I was curious is whether you've thought about having the clipmap set to something reasonable for the hardware, lets say 500m and then beyond that to some other distance, lets say 750m or 1000m, you have a very low poly count pre-baked model that takes the place of the tile that doesn't follow clipmap rules but rather is specifically designed to provide horizon mountain effects that aren't shaded but gives the illusion of a farther render distance.

@Naros
I see what you mean!
The clipmap is already pretty configurable so you can do what ever you want with it but I did not think about "beyond" the clipmap.
That could be a cool improvement 🙂

I'll convert this issue to a discussion since it's more a question than a request.


[REQUEST] Can we have a Discord/ Slack group?

Hi, Thanks for building such a beautiful library. I was wondering if we could have a chat community :)

Hey there! I personally don't trust myself to be able to moderate and keep the server up to date, but if other people are able to do it I would love to!

I don't mind starting and moderating a discord centered around pytermgui

We can start with a non-official one, just to talk a bit.

I made a server earlier today, I'll do some sprucing up tomorrow and ping this thread when the link is out!

Here it is!
A project icon is in the works, and will be used later for the server. The server is pretty barebones at the moment but its better than nothing :rocket:


Issues installing PHP-CS-Fixer

Hi,
I'm trying to setup php-cs-fixer globally under a Centos 6.6 server and I'm doing something wrong since I can't get php-cs-fixer at command line in console. This is the steps I've follow to install it:

Run the command: ./composer global require fabpot/php-cs-fixer and that installed some vendors under /root/.composer/vendorwherephp-cs-fixer` is
Add this line at the end of /root/.bash_profile file: export PATH="$PATH:$HOME/.composer/vendor/bin"

What I'm doing wrong? Why I can't execute the command from console?

@paquitodev If any other tools installed via composer works for you, for example phpunit ?

@keradus I don't know why but I just restart my server and all is working now, I'll close the issue

Great to hear!


MINOR: Update node label

After some discussion on why builds were timing out for a month, it seems that this change https://github.com/confluentinc/kafka/commit/fe6a827e20d30af5328d7376a831f9666e0c8110 was incompatible with the jdk image currently used.
Updating the image so builds do not time out.

I think the explanation is that we're triggering a JDK bug. That's worrisome though and we should probably file a JIRA upstream with the JDK version so the contributor can figure out what to do (either have a "known issues" note or fine a workaround).

That's a fair point. I'm struggling to figure out the exact bug but it seems that it was hit on the new java 8 version I tried as well. Not sure why AK was able to handle it fine.

I found that reverting the test here allowed the build to complete. https://github.com/confluentinc/kafka/pull/918/commits/185d187fcdd0224db3ca9101fe4b4b25f0d5457f
I think we still need to update the node label, so I can leave this open, but we don't need to file an issue with the jdk (for now)


Occasional "The profile needs to be authorized" error from session.GetPlayer() and session.getPlayerMap()

Reproduction (basically run the example code provided on README.md):

Create new session with provider
Init session
Call either GetPlayer / GetPlayerMap or both

About half the time I'm getting the error "The profile needs to be authorized" returning from those method calls in 3.
The provider is definitely valid because the other half the time the call returns the player data / map data successfully.
Any ideas?  Is there any more info I could provide?

I've noticed this as well, you can get the error code requiring a person to re-authorize despite giving you a valid set of map objects or player data. You should be able to use it despite the error being thrown.
Not quite sure how to architect this, got any ideas?

Ah I just assumed that because a error was returned that the data part was nil.  I can probably handle this on the client side and just ignore the error if data is not nil.  Maybe as a start it would be helpful add a comment/docstring to highlight of this potential combination of return values.
I'm still a bit new to Go coming from Python - is error type checking a 'thing'?  Could we check that if the data is valid, and the error type is the 'The profile needs to be authorized', then simply log it as a debug/warning message and return nil as error?

@moddyz Something like this:
switch err := err.(type) {
  default:
    // do something
  case *MyErrorType:
    // do something else
}

Nice! Good to know.  Cheers

So, since we've figured out what this error is, it happens every time the client needs to refresh their API endpoint. I've corrected the name of the error, but I'm going to also add a handler for it to automatically refresh.


x.detach() in GNNencoder

I noticed that in encoders.py, at line 83, you use out.append(x.detach()).
This implies that the GNNencoder is detached from the computation graph and, as a result, is not being updated during backpropagation.  Could you clarify if the encoder is supposed to be trainable?

Thank you for pointing that out. You are right, and this line of code was mistakenly added during my experimental probing. Will fix it now.


Overriding $grid-gutter-width

Tried to override the $grid-gutter-width: 30px !default; as pointed out in the documentation on following page: https://getbootstrap.com/docs/4.0/layout/grid/ with sass but didn't work.
Now instead of $grid-gutter-width i used $grid-gutter-width-base which works.
So is the documentation not up to date or am i doing it wrong? :)

You're linking to the 4.0 version of the documentation, that's not the latest version. Maybe that's the cause? Apart from that, $grid-gutter-width should work. I don't know where your $grid-gutter-width-base variable is coming from, can't seem to find it anywhere in Bootstrap?
 Because the !default flag prevents variables to be overridden. (See https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults)

Indeed it was another version of the documentation, my bad.
Apparently when i installed it via NPM it installed the alpha version.
And the alpha version uses $grid-gutter-width-base instead of $grid-gutter-width.
Still thank you for replying so fast :)
On 9 Aug 2018, 22:31 +0200, Martijn Cuppens<EMAIL_ADDRESS>wrote:

You're linking to the 4.0 version of the documentation, that's not the latest version. Maybe that's the cause? Apart from that, $grid-gutter-width should work. I don't know where your $grid-gutter-width-base variable is coming from, can't seem to find it anywhere in Bootstrap?
 Because the !default flag prevents variables to be overridden. (See https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Update README and docs for sync-endpoint related containers

Software and hardware versions
N/A
Problem description
All 4 repositories with the sync-endpoint prefix could use a README refresh and possible documentation overview. For sync-endpoint-containers and sync-endpoint-default-setup this is probably pretty minimal, just adding our ODK header to the readme that links to the issue tracker and wiki, and bringing them in line with the other projects. For the other two this will be a bit larger of a task, and possibly involve a few other files (like README.txt in sync-endpoint)

Also, Jenkins tasks should be created and the typical branch structure should be added

Should we rename aggregate rest interface?

Yes, we should. I didn't do it in the interest of time before the release because it wasn't directly user facing. But IMO at least we should basically have no references to "Aggregate" in our released tools, they should all say "Cloud Endpoint" or some abbreviation thereof.

WIP: tracked here https://github.com/opendatakit/sync-endpoint/pull/5


PrivilegeAssessor shouldn't exclude any directory

PrivilegeAssessor is currently ignoring any path containing bin/ or usr/lib/ (excluding therefore /bin/, /sbin/, /usr/bin/, /usr/lib, but strange enough not /usr/sbin/ or /lib/), but the misuse of SUID is higher to happen on executables in one of the ignored paths than someone else.
If crafting a malicious image with a SUID in it, I'd rather try to hide it under /usr/bin or so than placing somewhere else, where someone looking at the root-filesystem might find it strange.
I therefore wouldn't ignore any path. The corresponding checkpoint (CIS-DI-0008) can be ignored with --ignore CIS-DI-0008. Even if getting the issue reported, it's only INFO level!
The next step would be making the paths to be ignored configurable.

@Silvanoc
Sorry for the late reply.
And, Thank you for the suggestion.
I will check the files containing following paths.
"bin/", "bin/", "usr/lib/", "usr/sbin/", "usr/bin/", "usr/local/bin/", "usr/local/sbin/", "usr/local/lib/"

@Silvanoc Sorry for the late reply, and Thank you for the suggestion.
You're right. I will show all suid and guid permissions files.

@Silvanoc
I change it!
Please update v0.1.3.

Please update v0.1.3.

@tomoyamachi it should be v0.2.1, I'd correct that comment just in case someone else has a look at it.


Add webflux-jetty module and refactor tests

The purpose of tests refactoring is to avoid duplicated tests suite and create a basic contract for all WebServerModule implementation. The basic test suite can now be updated or changed and all the implementations (netty, jetty, tomcat, undertow) will run it automatically.
The only method new WebServerModule needs to implement in the tests is getWebServerModule, standard tests suite will be run against that.
Also, it is possible to extend the basic suite on the level of individual tests or override original tests (see how netty ignores Declare 2 routes blocks test).

Thanks!


Compressed address

I am using createpubkey.h in my personal project and it works great and saved me tons of work i must say, however do you have any plan to support compressed address from compressed public key? the header will then complete in its true sense thank you for the hard work you put into this and saving me from mine.

I hadn't thought of this. We can achieve this by changing like 5  lines in walletImportFormat.h.
Take a look at this answer and we can work through it together if you like?
https://bitcoin.stackexchange.com/questions/3059/what-is-a-compressed-bitcoin-key/3839#3839

I hadn't thought of this. We can achieve this by changing like 5 lines in walletImportFormat.h.
Take a look at this answer and we can work through it together if you like?
https://bitcoin.stackexchange.com/questions/3059/what-is-a-compressed-bitcoin-key/3839#3839

I have actually tested ripemd160()

I hadn't thought of this. We can achieve this by changing like 5 lines in walletImportFormat.h.
Take a look at this answer and we can work through it together if you like?
https://bitcoin.stackexchange.com/questions/3059/what-is-a-compressed-bitcoin-key/3839#3839

I have

I ha

I hadn't thought of this. We can achieve this by changing like 5 lines in walletImportFormat.h.
Take a look at this answer and we can work through it together if you like?
https://bitcoin.stackexchange.com/questions/3059/what-is-a-compressed-bitcoin-key/3839#3839

I have actually tested ripemd160(sha256(pubkey)) which gives correct results however i did not implement the last two steps which gives the bytes checksum to encode base58 this last step can be implement directly in the base58 header which does last step by hashing and encoding and sorry by mistake issue was closed and reopened

Cool, you can change 5 lines in walletImportFormat.h to achieve this.
We need to change:
size_t combinedKeySize to account for the longer address, also the first SHA256 to include that extra byte (34).
Then finally writing address should range from 0 to 33, and saving the checksum for bytes 34 to 38.
Have a go! Let me know how it works out. If you like you could make these changes in a separate function in walletImportFormat.h - create_compressed_wif and submit this as a pull request, this contribution would be awesome!


Runtime config / schema validation

Some users (typically users who don't yet use TypeScript) are running into problems due to misconfigurations of their Contentlayer config (especially in regards to the content schema). Additionally to the safety provided by TypeScript, we should also implement a runtime validation step to avoid undefined runtime errors.
Technical notes
Ideally we should figure out a way how to derive Zod-like validation logic based on the existing TypeScript definitions. We could also investigate to use TS+ for this.
Related issues

https://github.com/contentlayerdev/contentlayer/issues/193

👍 As an end user of contentlayer I would certainly prefer well-known and tested zod schemas over defineDocumentType. And it would provide richer validation opportunities indeed.

+1 if you could generate zod schemas then we can just infer types from that and we'd also be able to insert the schemas in the .input and .output of trpc routers:

https://trpc.io/docs/output-validation
https://trpc.io/docs/procedures#with-zod

+1 for zod


License?

Hi all, is there a license attached to this project?

must have missed it, license was in metadata.json (Apache 2.0).


please add more features between discussions / conversations reached by(#\n).

please add more features between discussions / conversations reached by(#\n).

Originally posted by @djibal in https://github.com/dji-7/dji7.github.io/discussions/14

How set relative functionality between 2. [depository] included in (conversation) and (discussion).

User for current acount:@djibal/@dji7/gibbs/(dibal/innersource) open features requests.
How set relative functionality between depositories included in conversation and discussion.

Fr#18


[0.6/vk] fix support for writing descriptor arrays

Follow-up to #3411
Fixes https://github.com/gfx-rs/wgpu/issues/991

bors r=cwfitzgerald


Issue79

https://github.com/gidoichi/ical-converter/issues/79

https://github.com/gidoichi/ical-converter/pull/81/commits/6fb2bddbbdfca197b5e82e0083a218bf8890bf68

https://github.com/gidoichi/ical-converter/issues/80

https://github.com/gidoichi/ical-converter/pull/81/commits/edc828dde486365b201f58e8a00904dd1105c770

remove debug code:

https://github.com/gidoichi/ical-converter/pull/81/commits/575525e6118607a5a465cf04dfc05516901e6aec https://github.com/gidoichi/ical-converter/pull/81/commits/28b7afc1f32e65e932579b8731fda5966c952545

[ ] add tests

The latest version of 2Do sets startDate: 0 when no schedule is set on the app.
X-2DOAPP-METADATA;SHARE-SCOPE=GLOBAL:<2Do Meta>%7B%22uid%22%3A%22cc03f6f4fe
 fc4fb69a9e0d8d16c98f0d%22%2C%22parentuid%22%3A%22%22%2C%22outlookuid%22%3A
 %22%22%2C%22tags%22%3A%22%22%2C%22locations%22%3A%22%22%2C%22actionValue%2
 2%3A%22%22%2C%22actionType%22%3A-1%2C%22RUID%22%3A%22%22%2C%22RecurrenceFr
 om%22%3A1%2C%22RecurrenceType%22%3A0%2C%22RecurrenceValue%22%3A0%2C%22Recu
 rrenceEndType%22%3A0%2C%22RecurrenceEndRepetitions%22%3A0%2C%22RecurrenceE
 ndRepetitionsOrig%22%3A0%2C%22RecurrenceEndDate%22%3A0%2C%22RecurrenceEndD
 ateLocal%22%3A0%2C%22StartDayDelay%22%3A0%2C%22TaskType%22%3A0%2C%22isExpa
 ndedToShowChildProjects%22%3A0%2C%22IsStarred%22%3A0%2C%22DisplayOrder%22%
 3A0%2C%22TaskDuration%22%3A0%2C%22DueTime%22%3A-1%2C%22startDate%22%3A0%2C
 %22StartDateLocal%22%3A0%7D</2Do Meta>


[Bug] out-of-bounds error for spike_triggered_phase of sliced signals

Describe the bug
When slicing an analogsignal there might be a gap between the last sample point and t_stop from as much as 1/sampling_rate.
In the spike_triggered_phase() function, spike times are related to the nearest sample point in the analogsignal. When a spike, however, falls into the gap between the last sample point and t_stop it might be rounded so that the function tries to get an item that is just outside of the analogsignal slice.
To Reproduce
asig = neo.AnalogSignal(np.arange(20)*pq.dimensionless,
                        sampling_rate=1*pq.Hz,
                        t_start=0*pq.s)
hilbert = elephant.signal_processing.hilbert(asig)

st = neo.SpikeTrain(np.array([1,4,5,8,9.5,12,17])*pq.s,
                    t_stop=20*pq.s)

hilbert_slice = hilbert.time_slice(0*pq.s, 10*pq.s)
st_slice = st.time_slice(0*pq.s, 10*pq.s)

phases, magnitude, time = elephant.phase_analysis.spike_triggered_phase(
                hilbert_slice, st_slice, interpolate=False)

~/anaconda3/envs/ewsk/lib/python3.7/site-packages/elephant/phase_analysis.py in spike_triggered_phase(hilbert_transform, spiketrains, interpolate)
    141             # positive if spike time is later than sample point
    142             print(spike_i, ind_at_spike_j)
--> 143             dv = spiketrain[sttimeind[spike_i]] - times[ind_at_spike_j]
    144
    145             # Make sure ind_at_spike is to the left of the spike time

~/anaconda3/envs/ewsk/lib/python3.7/site-packages/quantities/quantity.py in __getitem__(self, key)
    372     @with_doc(np.ndarray.__getitem__)
    373     def __getitem__(self, key):
--> 374         ret = super(Quantity, self).__getitem__(key)
    375         if isinstance(ret, Quantity):
    376             return ret

IndexError: index 10 is out of bounds for axis 0 with size 10

A quick fix would be to simply check for this specific case with an if-statement and if necessary reduce the index by 1.
Or is there a more elegant solution?

A quick fix would be to simply check for this specific case with an if-statement and if necessary reduce the index by 1.

Such a fix indicates the wrong logic in the first place.
I'm wondering why we do the rounding... it looks wrong. Shouldn't be there something similar to what we're doing in binning https://github.com/NeuralEnsemble/elephant/blob/a6a085466f1d821cb9ef83c34db05a0f32e8f166/elephant/conversion.py#L822-L830?


[text-to-speech] INVALID_ARGUMENT: Empty language code.

[REQUIRED] Step 2: Describe your configuration

Extension name: text-to-speech
Extension version: 0.1.3
Configuration values (redact info where appropriate):

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:

installed the extension with the configurations in the image attached.
then added a document to the "script" collection.
There is no other extensions installed or other functions
I also tried enabling and disabling per document overrides.

Expected result
I expect to find the audio file generated in the specified folder
Actual result
nothing happens, I also saw the logs for the extension's cloud function and found there is an error as follows
Error: 3 INVALID_ARGUMENT: Empty language code.
at callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:192:76)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
at /workspace/node_modules/@grpc/grpc-js/build/src/resolving-call.js:94:78
at processTicksAndRejections (node:internal/process/task_queues:78:11)
here is a screenshot of the error

Related to: https://github.com/GoogleCloudPlatform/firebase-extensions/issues/99


[Play] - Randomization of team avatars on leaderboard

Issue:
Solves the issue of the team avatar values being regenerated and randomized every time the screen is resized. Github: https://github.com/rightoneducation/righton-app/issues/652
Previous PR: https://github.com/rightoneducation/righton-app/pull/656
I had to create a new branch due to merge errors.
Resolution:
Originally the team avatars were being set at a random value which would regenerate each time the component was re-rendering, including when the screen would be resized. I took it outside of the component function and used a useRef hook so that it is randomized only once and then stored and returned. It is only regenerated when the teams or teamId also changes.
To deal with the runtime errors when the player is not in last place, I made a few adjustments. The function maps over the team array and if the current element is the current team, it is assigned the teamAvatar accordingly, if not, it is assigned a randomized number.
Leaderboard.tsx - this is where the team avatars values are being generated
Preview:
https://github.com/rightoneducation/righton-app/assets/79948102/4d8331e1-dc84-410a-b935-75b2f2f5a8f8
Video of the problem ^^^
https://github.com/rightoneducation/righton-app/assets/79948102/1af9d34e-5cfc-4548-b9b6-0094c1c5eeb7
Video of the solution^^^

Nice - looks good!


Repl keeps printing WARNING: Atom.jl: unrecognized message validatepath.

I was having this issue in a fully-updated Atom. I googled it and saw that several people had had the issue and resolved it by updating atom. But that didn't work for me. I tried installing JuliaPro-Juno-<IP_ADDRESS> and that fixed it for a few days but now (after clicking OK to a "rebuild native version of package") it's back, on both Atom and JuliaPro. It's not impossible that it's an old manually-created symlink to a bad version of something, but I don't think I would have done that without using the version in the filename at least.
The dev console has the following errors:
IntersectionObserver.observe(target): target element is not a descendant of root.

The REPL has:
WARNING: Atom.jl: unrecognised message changemodule.
WARNING: Atom.jl: unrecognised message changemodule.
WARNING: Atom.jl: unrecognised message validatepath.
WARNING: Atom.jl: unrecognised message validatepath.
WARNING: Atom.jl: unrecognised message validatepath. ... x20 or so, and more appear every time I switch focus from or to the REPL
Here's my versioninfo in JuliaPro:
julia> versioninfo()
Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)
I tried updating my node version following the instructions at https://solarianprogrammer.com/2016/04/29/how-to-upgrade-nodejs-mac-os-x/ and it doesn't help:
chema$ node -v
v10.2.1
I tried uninstalling and reinstalling the julia-client in various ways and none of it helped.
My atom was at version 1.23.1 but it's now updated to 1.27.2 x64 and still broken.
I'm at wits' end on this.

I just removed both Atom and JuliaPro. When I reinstalled JuliaPro it worked fine, until I updated atom from version 1.23 to 1.27; then it started having the same problem again.
For now, I'll just use it and make sure not to update.

Yoiu'll get those WARNING: Atom.jl: unrecognised message changemodule. messages whenever your version of Atom.jl is too old for the julia-client version your running. That should obviously never happen with JuliaPro, but on a normal Juno install you'll need to Pkg.update() whenever you update the Atom packages.


Login details missing from the piviv source UI

Bug description
The login details (as in your account) seems to be missing in the new version. When I remove the settings file (which only contain my login info so not the default setting file) the check by login also seems to fail which otherwise succeed.
Steps to reproduce
Check all sources
Go to the piviv source
See if you can find the login details for your account
Expected behavior
Being able to see it i the UI again instead of only inside my files
System information
Windows 10 with the latest version of grabber

It would seem that the UI does not allow to input your username and password for some reason. The consumer key and secret are properly filled, but since you can't enter your credentials it can't succeed.


BUG : read_csv() twice decodes stream on URL file #10424

As described in #10424 , reading non-utf-8 csv files from URL leads to decoding problems, i.e. a decoding may first be made in io.common.get_filepath_or_buffer() when file is URL.
Modification done makes this function read stream from URL without decoding (this is done later, at the same place as for local files).
It's also used by io.common.read_stata(), io.common.read_json() and io.common.read_msgpack(). Similar problems  reading stata and msgpack URL files may also be solved using this modification.
Thanks for reviewing.

needs some tests
u can download s small file and use a file:////url
for json/msgpack create a file encode and access like the above

@BotoKopo can you add some tests and update

@BotoKopo closing. pls update if you would like to update with some tests


Not storing token in storage correctly

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.22.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.1.2
Public or Confidential Client?
Confidential
Description
Stored token information is different in 2 separate packages with the same library version.
Error Message
No response
Msal Logs
No response
MSAL Configuration
{
     auth: {
      clientId: 'f6154650-169f-4b7a-998f-5b9cec24177e',
      authority: 'https://thrivepasslogin.b2clogin.com/tfp/thrivepasslogin.onmicrosoft.com/B2C_1_susi',
    },
    cache: {
      cacheLocation: BrowserCacheLocation.SessionStorage,
      storeAuthStateInCookie: false
    }
}

Relevant Code Snippets
Same as in your sample.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular13-rxjs7-sample-app

Reproduction Steps
Same as in your sample.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular13-rxjs7-sample-app
Expected Behavior
Should be storing the token like this

But storing them like this

Identity Provider
Azure B2C Basic Policy
Browsers Affected (Select all that apply)
Edge
Regression
No response
Source
Internal (Microsoft)

@rahulraajtanwar I think you are looking at the temporary auth artifacts that msal is caching. If you have configured your msal with cacheLocation: "localStorage", durable cache entries will be stored in local storage (your 1st screenshot). msal also caches some temporary entries, and they will be in the session storage (or memory storage if you specify it in configuration). Checkout the caching doc for more.

Closing let us resolved. Let us know if you have further questions.


test: add themeFilePath test

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Poster Session 2016-04-06

A digital poster session will be held on Wednesday April 6th, from 9am to noon.  Each TA will have approximately 1.5 hours to present. Digital poster sessions should be treated as a normal poster session, with the added flexibility of having videos/demos. Dr. Ghanadan recommends that each “talk” last for about 15 minutes so that attendees have time to walk around and engage with all of the SIMPLEX performers.

The “poster”

Should include a brief overview/tutorial of the effort, what the current state of the art is, what is the goal of the effort, what are the challenges faced, and what is the impact

Should include work done and progress made under SIMPLEX

Could include descriptive examples showcasing the work done – especially work done with collaborators or demonstrations of new algorithms

Could include descriptions and demos of new tools

Could include videos

And other items you would like to share pertaining to SIMPLEX

The afternoon of Wednesday April 6th will be a workshop – those asked to speak at the workshop will be contacted separately. If you wish to present at the workshop, please let me know.

Done.


Adjust sampling rate of Envoy stats

Is there a way to adjust the percentage of stats that are generated/pushed to a stats listener using the envoy.dog_statsd stats sink? Similar to how you can specify the sampling method and rate for tracing.

I'm not sure what adjusting a % of the stats that are emitted actually means in practice. You can use the stats flush_interval to control the flush rate though.


Is there a way to Autoplay on the subsequent movies?

It looks like on the mobile devices Android and iOS and unlike Windows desktop browser, when I initiate a YouTube video the user is expected to press manually the play button presented on top of the player.
Is there a way to circumvent this limitation on subsequent playback?
I cannot pre-build a playlist of movies because my playlists have mixed media by design, which the PlayersController need to schedule for the correct sequencing.  The user also can go forward and backwards into the playlists switching from a movie to a slideshow to etc....
I am managing to keep a single instance of plyr is there a way to feed it the next video id without requiring user intervention?
I somewhat understand the limitation imposed on the first movie for security / UX issues.
is the limitations built in the YouTube API you must be using?
I am currently using the following code to play movies feel free to suggest otherwise..
 // 20160804
  PlayVideoByID(VideoID) {
    setTimeout(() => {     // timeout to circumvent some recent/current race condition at startup.
      // -- setup NEW sourceS
      if (typeof this.Player !== 'undefined')
        // if (this.Player !== null)
        this.Player.source(
          {
            type: 'video',
            title: 'Example title',
            sources: [
              {
                src: VideoID,
                type: 'youtube'
              }
            ]
          });
    }, 1000);
  }

Thank you.
Update:
I have posted to the youtube-ifram-api which I believe you must be using.  The plyr doc still points to the deprecated page for embeds.
http://stackoverflow.com/questions/42217929/is-there-way-to-autoplay-on-the-subsequent-movies-youtube

It should be possible to loads content of mixed sources and use the ended event to detect when you need to load the new source. Due to the browser autoplay restrictions you mention (which is worse by now) you probably want to avoid autoplay or mute the audio. There is no other feasible way around it. I think you should then be able to run the code that handles the whole "queue" of videos, but you may need to create your own click handler or something.
This has everything to do with html5 media and browsers. Plyr is just a layer on top and doesn't set these restrictions, so I'm closing the issue. If you have further questions please go to the slack channel: https://bit.ly/plyr-chat


fix: decrease SlashFractionDoubleSign to 2%

Closes #2628

Codecov Report

Merging #2630 (354e9a0) into main (44be82a) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #2630   +/-   ##
=======================================
  Coverage   20.63%   20.63%
=======================================
  Files         133      133
  Lines       15346    15346
=======================================
  Hits         3166     3166
  Misses      11877    11877
  Partials      303      303

Files
Coverage Δ

app/default_overrides.go
15.71% <0.00%> (ø)


Fix compiler warning and code style.

Resolves #1593.

Codecov Report

Merging #1605 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1605      +/-   ##
==========================================
- Coverage   69.41%   69.38%   -0.04%
==========================================
  Files         159      159
  Lines       20260    20262       +2
  Branches     2488     2488
==========================================
- Hits        14064    14059       -5
+ Misses       5293     5292       -1
- Partials      903      911       +8

Impacted Files
Coverage Δ

src/core/net/ip6.cpp
54.11% <0%> (-9.42%)
:arrow_down:

src/core/net/netif.cpp
56.97% <0%> (-4.07%)
:arrow_down:

src/core/thread/link_quality.cpp
86.81% <0%> (-2.2%)
:arrow_down:

src/core/thread/mle_router.cpp
77.61% <0%> (-1.34%)
:arrow_down:

src/core/thread/topology.hpp
89.02% <0%> (-1.22%)
:arrow_down:

src/core/mac/mac.cpp
79.53% <0%> (-0.94%)
:arrow_down:

src/core/mac/mac_frame.cpp
86.26% <0%> (-0.49%)
:arrow_down:

src/core/thread/mle.cpp
81.41% <0%> (-0.43%)
:arrow_down:

src/core/api/thread_api.cpp
43.92% <0%> (ø)
:arrow_up:

src/core/thread/mesh_forwarder.cpp
79.06% <0%> (+0.36%)
:arrow_up:

... and 8 more

Continue to review full report at Codecov.

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

Thanks for the review.
.travis/script.sh actually contains all the scripts for performing the build checks.


I can't upload configuration files with ubxload utility

Hi all , I am trying to upload the configuration file (successfully saved with the ubxsave utility) to my F9P GPS , via the ubxload utility , but without success .
The command I send is :
ubxload --port COM6 --baudrate 9600 --timeout 0.05 --infile lks.ubx --verbosity 1
After about 1 minute of waiting , the utility returns me this error :
Something went wrong 'str' object has no attribute 'identity' (ad infinitum)
I then tried with the GUI , and it loads correctly . I do not know where I am going wrong . Thanks for any help .

Hi @DavideLentini
Sorry you're having difficulty.
I've just tried running ubxsave and ubxload using one of my own ZED-F9P devices and it does appear to be working OK:
➜  ~ ubxsave -P /dev/tty.usbmodem2101

Saving configuration from /dev/tty.usbmodem2101 to ubxconfig-20231127115043.ubx ...
Press Ctrl-C to terminate early.
Configuration successfully saved.
14 CFG-VALSET messages saved to ubxconfig-20231127115043.ubx

➜  ~ ubxload -P /dev/tty.usbmodem2101 -I ubxconfig-20231127115043.ubx

Loading configuration from ubxconfig-20231127115043.ubx to /dev/tty.usbmodem2101 ...
Press Ctrl-C to terminate early.

Configuration successfully loaded.
14 CFG-VALSET messages sent and acknowledged.

I can review the *.ubx file created using PyGPSClient (remembering to set the Msg Mode parameter to 'SET' first):

Try running it without the timeout argument and see if that makes any difference. Failing that, could you send me a copy of the *.ubx file that ubxsave has generated?

@semuadmin
Thanks , unfortunately I tried again without the timeout argument but the result is still the same , I share you attached the configuration file I am trying to use . The error traceback , is not very detailed , only the sentence I quoted initially appears to me . Thanks
ubxconfig-20231127160334.zip

Ok that's very odd. Your saved ubx loads fine into my F9P...
Loading configuration from ubxconfig-20231127160334.ubx to /dev/tty.usbmodem2101 ...
Press Ctrl-C to terminate early.

Configuration successfully loaded.
14 CFG-VALSET messages sent and acknowledged.

One thing I did notice, however, is that if I attempt to upload the same configuration twice, the device is unresponsive (the command just hangs). But if I power-cycle the device, it works fine again. Is there anything in your configuration that might be blocking UBX command inputs on the serial port?

Hello , here I am again .
I tried resetting the F9P to factory settings , and indeed , the ubxload worked , I tried again a second time , and it did not work anymore , so I speculate that there is some setting in my configuration , which makes it difficult to do the operation

And also , is there a command for save the configuration in the ROM after load it with ubxload ?

Hi @DavideLentini
Unfortunately I'm not able to recreate the exact error you were getting with your F9P.
I suspect the issue may simply be related to I/O bandwidth constraints on your device's UART port, though I'm still not clear why that would cause the specific error you've encountered. Have you tried using a faster baud rate? If you're intending to run at a high navigation solution rate, you might want to consider using a faster UART baud rate than 9600 - ideally 38,400 or higher (an F9P can comfortably go up to 230,400 if your client can handle it).
Re. your question around saving to ROM, the ubxload utility deliberately only saves to volatile RAM for safety reasons (to avoid any possibility of a user inadvertantly 'bricking' a device). You can use PyGPSClient's 'Save Configuration to Non-Volatile Memory' preset  - which utilises a UBX CFG-CFG command - to save to non-volatile memory.

Closing for now as unable to reproduce - but happy to revisit.

Just noting I'm having the exact same issue. I've got the F9R, and the only changes I made were (I think) upping rate to 10HZ and enabling UBX/suppressing NMEA, and setting the baudrate to 115200 . If I run ubxload once, all is fine. If I run it again, it hangs, and a restart is needed. I'm using 115200 baudrate ... and that sent me down the right path. On a fresh device, I'm guessing the device is set up to autobaud or something, and running ubxload ... works fine. But once I've run it once, it's now expecting 115200, and the same ubxload ... command fails. Changing it to ubxload --baudrate 115200 ... then works fine, and I can run it repeatedly.
My advice, to catch this sort of error, might be to add some basic check in UBXLoader that serial is working as expected - if not, there might be a baudrate issue, and you could warn the user of this. The current behaviour of hanging forever is also not really desirable, especially given the timeout argument. The trick here, I think, is specifying the write_timeout argument when you setup the Serial stream ... it's caught me out before, as you expect the timeout argument to be, well, a normal timeout = )

But once I've run it once, it's now expecting 115200, and the same ubxload ... command fails. Changing it to ubxload --baudrate 115200 ... then works fine, and I can run it repeatedly.

I may be misunderstanding the issue here but I would consider that normal and expected behaviour. If you apply a configuration which changes the baud rate on the port you're connected to, then you will need to use that new baud rate if you use ubxload again on the same port.
UBX devices don't 'autobaud' - if you don't use the correct baud rate for that port, the device will simply ignore you.

I may be misunderstanding the issue here but I would consider that normal and expected behaviour

Correct. It's just a gotcha, and detecting this and warning users might be nice. It caught me, and it possibly caught the OP, and it possibly caught you when you had the same issue running it multiple times.
That said, it doesn't seem to be the complete fix for me, and things seems to hang after ubxload, even with (automated) device power cycling in between. (It wasn't write_timeout, it's timing out on read.) Oh well, I think I'll just assume it's persisted in non-volatile memory. If it's not, I'll create a manual script someone can run, that follows ubxload with a persist to non-volatile. Just looking for that command now in pygps now.

As an aside, you can also use the gnssstreamer cli utility to apply a configuration from a binary file, e.g.
'''shell
gnssstreamer --port /dev/ttyACM0 --baudrate 38400 --cliinput 5 --input f9pconfig.ubx --verbosity 2
'''
... but you'll still get the same issue if you change the baud rate in an active UART port.


Could not resolve resource "/subscriptions/..." in vs code logic app resource

Describe the Bug with repro steps
unable to deploy the standard logic apps from visual studio code. getting Error status in Azure resources in VS code

What type of Logic App Is this happening in?
Standard (VSCode)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos

Browser
Edge
Additional context
No response

Hi @SuryaMeda thanks for raising this issue. This is a known issue, and the Backend team is working on fixing it.  I know the PR is already merged and we are just waiting for the fix to make it to the release cycle.
I will close it and mark it as duplicate for this one https://github.com/Azure/LogicAppsUX/issues/4929. And I will update the issue once the deployment is fixed.


doc/tutorial/call-module-code: recap the directory structure from the previous step?

What version of Go are you using (go version)?

$ go version go1.15.2 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/etienne/Library/Caches/go-build"
GOENV="/Users/etienne/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/etienne/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/etienne/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/etienne/Desktop/greetings/hello/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sb/6q_vnpy53xn95mr4kj7h9lvc0000gq/T/go-build921607341=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I followed the guidelines for learning Go on the official website.
I first did this part which is not a problem (https://golang.org/doc/tutorial/create-module) but in the second part (https://golang.org/doc/tutorial/call-module-code), the build command from the hello directory doesn't work.
I tried again just copying and pasting the provided code but nothing changes.
Here is my go.mod file in the hello directory.
module hello

go 1.15

replace example.com/greetings => ../greetings

Here is my structure

What did you expect to see?

$ go build
go: found example.com/greetings in example.com/greetings v0.0.0-00010101000000-000000000000

What did you see instead?

$ go build
hello.go:6:2<EMAIL_ADDRESS>replacement directory ../greetings does not exist

going up from hello ../ you're in the greetings directory, then you try to go down a level into a directory that does not exist greetings
see https://github.com/golang/go/wiki/Questions for the appropriate places to ask questions

The go command is working as designed here, but that tutorial is fairly new — perhaps it could be adjusted to make this sort of mistake less likely.
(CC @stevetraut)

Thanks, folks. I'll take a look.

Hm. Step one in https://golang.org/doc/tutorial/call-module-code has the following, which is intended to cd up from where you were in the preceding topic (greetings) and create a hello directory at the same level as greetings. Maybe that first step needs to reestablish context from the preceding topic.
cd ..
mkdir hello
cd hello

Hi everyone, thank you for taking the time to read my concern.
For more precision, I really followed the tutorial step by step and I executed the build command from the greetings/hello directory (the return I put in my original message), seeing that it didn't work I also tried (out of curiosity) from the root folder but as I imagined it didn't work any more.
I don't know if this helps you any more...

This is an old issue however I had the same issue so here is what I found to be the answer.
You need to make a parent directory for both greetings and hello, like so;

I made a GreetingsProject folder and then had a hello folder and a greetings folder.  The "require" from the mod file in the file was auto generated by the command.  If you look at the replace you can see they are going up one directory to find a folder named greetings.

So, to clarify, this statement from https://golang.org/doc/tutorial/call-module-code doesn't make it clear that you might be in the greetings folder?
"For example, if your current directory in the command prompt is the greetings directory, you could use the following commands:"
Could you suggest wording that might make it clear?

@stevetraut
hi, for go 1.16, i tried "https://golang.google.cn/doc/tutorial/call-module-code", got  same error
under hello dir, use "go mod tidy", then "go build"
this works for me, hope it works for you

@hjctop1 @bcetienne See if the changes in this CL address your issues. They're due to be published before too long.
https://go-review.googlesource.com/c/website/+/297531/7/_content/doc/tutorial/call-module-code.html

I'm using go 1.16 on linux . Running go get example.com/greetings with the replace directive (example.com/greetings => ../greetings) added in my go.mod file automatically added the require directive ( require example.com/greetings v0.0.0-00010101000000-000000000000 ). I hope this helps 😄


I have problem

Masternode status whatchdog_expired please help

no have error and masternode succesful start but masternode status watchdog-expired

Have you installed sentinel?


Menu in beaker object interface

Issue #3532. Please, check.

the triangle for the menu should point down, not right.
the display should update after you make a change.
i tried delete, and it deleted all the properties, not just the one i selected.
i tried rename, and it renamed correctly, but it deleted all the other properties.

1 and 2 seem fixed, thanks
but 3 and 4 are still a problem...

still needs to focus on text field when the rename dialog opens, and fix color of the menu in default theme (should be green matching the language menu in cells in nonadvanced mode).

spot [5:21 PM]
ah
[5:21]
these changes for the beaker object should not apply the the output container
[5:21]
i did not intend for output containers to have menus
[5:21]
only the beaker object
[5:21]
i guess it should be another kind of container

great.  a few remaining details:

remove the "beaker object menu" tooltip
bring up to date with master
the triangle is wrong. it is narrower than the one in the language menu:

the text does not highlight and the cursor does not change to the finger in a large enough area.  if you point between the triangle and the text, or below the triangle, then it does not activate.  it should be active in the whole area around.


Usage of "Choose an option" in Android

In an Android phone if you get your NFC device close to your mobile. It prompts an action sheet that gives the user the option to choose which application he wants to open it with.
Can your plugin do this? Is there any thing I can do to make it happened?
Thank you in advanced.

You could get your payload informations with this plugin and do what you want after. For example, display a modalWindow with your payloads info inside and some href or other. It depend what are the option and action that you want to use.

@marioshtika When there are multiple apps that can handle NFC tags, Android will present the user with a list.
One strategy is to do something make your tags unique. You can use a mime type and restricting filtering to just your tags. This doesn't work as well with a generic app that scans multiple tags.

Hello @don and thank you for your response.
How can I use a mime type and restricting filtering to just my tags.
Can this be done in a cordova project?
Can this be done through your plugin?
Or should this be done through the android project?
Thank you in advance.

You can do this with Cordova, but you need to edit the [AndroidManifest.xml](Launching your Android Application when Scanning a Tag) to specify which tags launch your app. In your app, you need to use nfc.addMimeTypeListener to handle the tag that launched the app. The intent filter can filter on mime-type, plain-text, or a URL. See the Android NFC docs for additional details. You'll need to figure out which NDEF type to use for your tags. You can make up a new mime type or use a url.


Make game_handler.py work with zulip-terminal

Make zulip_bots.zulip_bots.terminal.py work with game_handler.py
Add conf info for tictactoe and connect_four bots
Fixes #315

Test for bots.baremetrics.test_baremetrics is failing on travic-ci but passes on my local computer.
I check tests via ./tools/test-bots.

@amanagr We can probably make this try to support multiple emails somehow, perhaps by having a pseudocommand like "/menu" that presents more options.

I have found an easy fix for 2-player games, since we don't have any games which support more than two players at one, this fix shouldn't be a problem( atleast for testing purposes ).
Here is a demo:
Enter your message:
start game
join -cp
move 1
move 2 -cp
...

I will update the documentation if you approve of this fix.
@showell

I don't really understand what you mean by adding a pseudo command like "/menu", if can explain it, I can work on implementing it too.

Don't worry about "/menu" yet, because I like the direction of your workaround.  I'm not sure exactly what "-cp" stands for, but I get the gist of what you're doing.  Essentially, we want some way for the sender to take on the role of the second player.  One thing that happens in the email world is that most email systems let you put something "+test" after your name in the email, so that people can associate multiple email addresses (from the "outside" perpsective) with a single actual email account.
I'm wondering if there's a more elegant/obvious way to express this for the game player.

I think this fix will easily allow multiplayer support in zulip-terminal.
Demo:
start game
join -p a
join -p b
move 1
move 2 -p a
move 3 -p b
...

I think this is what you were trying to say.

Closing since they changes here are easy to write or get back to when we want to do this.


Improve TaskRun workspaces documentation

Changes
This commit contains similar changes for the TaskRun section as what was done for the PipelineRun section in https://github.com/tektoncd/pipeline/pull/2521

We did not provide a full example of a TaskRun definition under "Examples of TaskRun definition using Workspaces". This commit add a full example of a TaskRun definition.

Examples of how to use different volume sources already exists under "Specifying VolumeSources in Workspaces", add a link to that section instead of having the same examples under the TaskRun section.

A few broken links in the table-of-contents are fixed.

/kind documentation

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

This PR cannot be merged: expecting exactly one kind/ label

This was unexpected. The PR had a kind-label, but with the syntax slash-kind, and that is the syntax used in other PRs. And the "Info"-section describes other label-syntax than is used in other PRs

check-pr-has-kind-label — This PR has exactly one kind/ label

This check is green

tekton-robot added the kind/documentation label

And the tekton-robot correctly added a label.

/ok-to-test

/cc @sbwsg

This PR cannot be merged: expecting exactly one kind/ label

This was unexpected. The PR had a kind-label, but with the syntax slash-kind, and that is the syntax used in other PRs. And the "Info"-section describes other label-syntax than is used in other PRs

check-pr-has-kind-label — This PR has exactly one kind/ label

This check is green

tekton-robot added the kind/documentation label

And the tekton-robot correctly added a label.

The check for the label is run on the "sync", "pull_request" and add/remove label events. When the events are processed the PR does not yet have a label, so it posts the comment and sets the check to not-passed. In parallel the "kind" bot adds the label, triggers the check again, and sets the check to passed.
We don't have a mechanism in place to delete the old comment once that happens. That would require us to have a memory of what the comment was, or perhaps add some invisible metadata into the comment, so we can delete it.
Would you mind filing an issue on plumbing for this?

/lgtm


Update Ui.png

Codecov Report

Merging #18 (906160d) into master (3e8c827) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Clear command

Added clear command and test as suggested in issue #1810

Thanks for your contribution @0xfedcafe !!!


Says the world files are corrupted.

when i used a terraria  world from <IP_ADDRESS>  Says the world files are corrupted.

Please know, the site version of TEdit is still pre-1.4.4.


WANT TO CREATE ADMIN DASHBOARD

Hello @Hardikchandra , Go for it
All the Best

@Trisha-tech  sure,  I have started working  on it.

Please assign me this issue under GSSoc'24.

it has been too long, since the issue is not resolved.
I would like to work in this issue under GSSOC'24.
I have relevant skills to implement solution efficiently


update: chore: retry update to bison 3.8.2

This is modelled on changes suggested in a previous PR for updating: https://github.com/conda-forge/bison-feedstock/pull/30
Namely, these commits:

https://github.com/conda-forge/bison-feedstock/pull/30/commits/17ef34812174f968d85c0c6b759b43f02f038de9
https://github.com/AnacondaRecipes/bison-feedstock/commit/f7e9cdf6231ee2072a1de5d7c736b20de459e843
https://github.com/conda-forge/bison-feedstock/pull/30/commits/859f59cec935af0e15ccd8d22656c7b08142d673

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin please rerender

Not sure who has write access here? Just the maintainers or all previous contributors?
In any case. This is a really easy to review update pull request. So if anybody wants to review (and if possible merge), that would be great. I'll just ping the people with contributions: @langmm @jjhelmus @ocefpaf @nehaljwani @jakirkham @isuruf @beckermr @mariusvniekerk

Thanks for the quick resolution @mariusvniekerk!


Fix NPE from Cloud Sdk directory field validation

Fixes #337.
configureValidationJob also depends on the dirTextBox field that's triggering the NPE, but configureValidationJob checks if the field is initialized currently, so no more problem.

lgtm, but could you add a comment with the above (createContents() may set the dirTextField, triggering validation).


Doesn't work with mason

I've installed tsserver with Mason plugin. Lsp server works as usual but fidget doesn't work with it...

No issues for me. Must be your config

Doesn't for for me either with pyright, installed via Mason.
Does anybody have a solution?

Can one of you share a config to reproduce the issue? I've not used mason before/am not sure what might be causing this issue.

@j-hui: Me. I have confidence that I have the simplest form of mason's config. Simply remove the content of the function function (server_name) and put your LSP setup code in it. (I just like the idea of importing them from other files)
  use {
    'neovim/nvim-lspconfig',
    requires = {
      'williamboman/mason.nvim',
      'williamboman/mason-lspconfig.nvim',
    },
    config = function ()
      -- ensure this order.
      require('mason').setup()
      require('mason-lspconfig').setup({
        ensure_installed = {
          'bashls',
            'dockerls',
          'sumneko_lua',
            'vimls',
          'tsserver',
            'eslint',
            'graphql',
            'jsonls',
            'cssls',
            'cssmodules_ls',
            'html',
          'clangd',
            'cmake',
          'diagnosticls',
          'pyright',
        },
      })
      require('mason-lspconfig').setup_handlers {
        -- fallback handler.
        function (server_name)
          local has_config, config = pcall(require, 'lsp_config.'..server_name)
          if not has_config then
            require('lspconfig')[server_name].setup(require('lsp_config.default'))
            return
          end
          require('lspconfig')[server_name].setup(config)
        end,
      }
    end
  }

If it helps, you can also have a look at my nvim config in my dotfiles. I'm having the same issue, the plugin was working fine until I started using Mason.

For everyone, cannot reproduce. I was able to reproduce that but, trying to debug, saw that I had arkav/lualine-lsp that was like owning that vim.lsp.handlers["$/progress"] function. Disabling that plugin makes everything work as expected.

FYI, folke/noice.nvim has a built-in view='mini', which can achieve basically the same effect and it works with mason.nvim. Not saying that this is a better approach but that providing a workaround for those who don't want to wait.

@rensftw It's possible that what you see is the result of mini from noice.nvim.

I just don't get it, I've tried to fiddle with it and it seems that the progress handler is setup correctly (it wraps the nvim runtime progress handler and then run fidget handler after), however, it doesn't seem to get triggered at all e.g. in rust-analyzer, while it works fine for the lua language server, but only if you try a big project such as telescope.nvim ... at this stage I can't understand whether rust-analyzer is broken and not triggering the handler or what else? I've installed the lua server with mason too, but maybe now is built in neovim too? I'm not sure

Actually, I figured out what the problem was: some of the servers weren't configured correctly, you need to make sure to add the default capabilities and cmp ones if you use that too (have a look at kickstart.nvim as it's a good example of how is down): after doing that I managed to get all the supported servers working with fidget.nvim

@j-hui still doesn't work for me with Mason...


docs: added logo nest commander

Happy Hacktoberfest! 😻

Remember to add the hacktoberfest-accepted label  👀


The example code ExampleSpec does not compile with Scala 3 RC1/RC2

The example code from the front page of https://www.scalatest.org/:
import collection.mutable.Stack
import org.scalatest._
import flatspec._
import matchers._

class ExampleSpec extends AnyFlatSpec with should.Matchers {

  "A Stack" should "pop values in last-in-first-out order" in {
    val stack = new Stack[Int]
    stack.push(1)
    stack.push(2)
    stack.pop() should be (2)
    stack.pop() should be (1)
  }

  it should "throw NoSuchElementException if an empty stack is popped" in {
    val emptyStack = new Stack[Int]
    a [NoSuchElementException] should be thrownBy {
      emptyStack.pop()
    }
  }
}

Does not compile with Scala 3 RC1 and RC2 (ScalaTest 3.2.6 and 3.2.7 respectively). The errors:
[error] -- [E008] Not Found Error: ...\ExampleSpec.scala:11:16
[error] 11 |    stack.pop() should be (2)
[error]    |    ^^^^^^^^^^^^^^^^^^
[error]    |value should is not a member of Int, but could be made available as an extension method.
[error]    |
[error]    |The following import might make progress towards fixing the problem:
[error]    |
[error]    |  import org.scalactic.Prettifier.default
[error]    |
[error] -- [E006] Not Found Error: ...\ExampleSpec.scala:11:23
[error] 11 |    stack.pop() should be (2)
[error]    |                       ^^
[error]    |                       Not found: be
[error] -- [E008] Not Found Error: ...\ExampleSpec.scala:12:16
[error] 12 |    stack.pop() should be (1)
[error]    |    ^^^^^^^^^^^^^^^^^^
[error]    |value should is not a member of Int, but could be made available as an extension method.
[error]    |
[error]    |The following import might make progress towards fixing the problem:
[error]    |
[error]    |  import org.scalactic.Prettifier.default
[error]    |
[error] -- [E006] Not Found Error: ...\ExampleSpec.scala:12:23
[error] 12 |    stack.pop() should be (1)
[error]    |                       ^^
[error]    |                       Not found: be
[error] -- [E006] Not Found Error: ...\ExampleSpec.scala:17:4
[error] 17 |    a [NoSuchElementException] should be thrownBy {
[error]    |    ^
[error]    |    Not found: a

Full example is available here: https://scastie.scala-lang.org/7k0DQ8Z1SVWmKCeT4BaIyw

Same thing happens in 3.0.0-RC2. Investigating...

Ah, you need to drop the .withDottyCompat's from your build file.
scalaVersion := "3.0.0-RC1"
libraryDependencies += ("org.scalatest" %% "scalatest" % "3.2.6") // .withDottyCompat(scalaVersion.value)
turbo := true
useSuperShell := false


Fix IllegalStateException: for NotificationRemovalService

MOB-2837
Crash details:
java.lang.IllegalStateException: Not allowed to start service Intent { com.glia.widgets.core.notification.NotificationRemovalService }: app is in background

Example from Sentry is here.
This happens if an app is in the background for 60+ seconds and NotificationRemovalService is attempted to be started.
What was solved?
I came to conclusion that there is no need in NotificationRemovalService at all, since some time ago we have added the notificationManager.cancel(NotificationFactory.CALL_NOTIFICATION_ID) call before starting the service. Hopefully, I am not missing anything.
Release notes:

[ ] Feature
[ ] Ignore
[x] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[ ] Tests updated? Added? Unit, acceptance, snapshots?
[ ] Logging for future troubleshooting of client issues added?

Release note:
Fix IllegalStateException: for NotificationRemovalService

Have you tried to kill the app during the engagement?

Have you tried to kill the app during the engagement?

@DavDo Indeed, this is the case which we need the service for. Notification is not removed if app is killed. So this approach is not appropriate. Thank you.


mhost: init at 0.3.0

Motivation for this change
packages mhost, a modern tool for DNS lookups.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Thank you @SuperSandro2000, I was just about to commit those changes.


Vendor.bundle.js

1) I created a brand new angular project:
ng new ngTest
2) then in the file "app.module.ts" I imported the following:
import { DxButtonModule } from 'devextreme-angular/ui/button';
import { DxTextAreaModule } from 'devextreme-angular/ui/text-area';
import { DxSelectBoxModule } from 'devextreme-angular/ui/select-box';
import { DxDateBoxModule } from 'devextreme-angular/ui/date-box';
import { DxDropDownBoxModule } from 'devextreme-angular/ui/drop-down-box';
import { DxMenuModule } from 'devextreme-angular/ui/menu';
import { DxPopupModule } from 'devextreme-angular/ui/popup';
import { DxTextBoxModule } from 'devextreme-angular/ui/text-box';
import { DxCheckBoxModule } from 'devextreme-angular/ui/check-box';
import { DxDataGridModule } from 'devextreme-angular/ui/data-grid';
import { DxLoadPanelModule } from 'devextreme-angular/ui/load-panel';
import { DxTemplateModule } from 'devextreme-angular/core/template';
import { DxPopoverModule } from 'devextreme-angular/ui/popover';
import { DxValidatorModule } from 'devextreme-angular/ui/validator';
import { DxValidationSummaryModule } from 'devextreme-angular/ui/validation-summary';
import { DxTreeListModule } from 'devextreme-angular/ui/tree-list';
3) I added them to:
@NgModule({
declarations: [
AppComponent
],
imports: [ ....
4) I run the follow: ng build --prod --aot
5) in the dist folder the vendor.xxxxxxxx.bundle.js is 2078 KB
note: if I zip this file it will be: 537KB
Question: Are you planning to minify this big file size?

Same Problem!!!
I tried also tree shaking. and there was no significant changes in the Vendor.js file

You are getting the correct bundle size. DevExtreme modules you are using are of 1.14 MB in size and 305 KB if zipped. devextreme-angular modules are of 371 KB in size and 30 KB if zipped. Plus, jQuery is of 85 KB in size and 30 if zipped. Plus, jszip , which is also our dependency, is of 45 KB in size and 13 KB if zipped. You can check this using the webpack-bundle-analyzer plugin. This is how much our code occupies. If you don't use certain of our modules that you included, remove them to decrease the bundle size.

Have almost same situation, on Angular 4 I have almost the same size of vendor.js file. But for Angular 5 it's 2 times more.

@Prontsevich , what our modules did you import?

@GoshaFighten, we used:
DxDataGridModule,
DxPopupModule,
DxButtonModule,
DxTextBoxModule,
DxNumberBoxModule,
DxDateBoxModule,
DxMenuModule,
DxSelectBoxModule,
DxValidatorModule,
DxRadioGroupModule,
DxValidationGroupModule

Hello @Prontsevich ! Thanks for the detailed report. I can reproduce the issue only if short paths are used. The issue doesn't occur on my side with long paths. Would you please elaborate on this and send us the example you're using for testing?

Hello @dxvladislavvolkov ! Sorry, but I can't send my project :( But we use short path , for example:
import { DxDateBoxModule, DxDataGridModule, DxButtonModule, DxCheckBoxModule } from 'devextreme-angular';

This problem is related to the new version of angular cli. For more information, you can see this issue. As a workaround, you can use long paths to modules. For example:
import { DxButtonModule } from 'devextreme-angular/ui/button';
import { DxDateBoxModule } from 'devextreme-angular/ui/date-box';
import { DxDataGridModule } from 'devextreme-angular/ui/data-grid';
import { DxCheckBoxModule } from 'devextreme-angular/ui/check-box';

This issue is closed because of being inactive. If you need further assistance, leave a comment here.


List numbered and unnumbered bullets all missing in HTML

Everything looks like without a bullet?

Yes, that's in the stylesheet Pierre wrote!
ol, ul {
  list-style: none; }

I'm disabling that.

Cool, let me just confirm the bullet styling are as they should be.


Error when calling Couch views

It's likely this is user error, but I haven't figured it out yet. I'm getting this error when trying to access a CouchDB view I created.
TypeError: Object #<Object> has no method 'view'
    at /Users/richardmarr/Projects/web-app/node_modules/resourceful/lib/resourceful/engines/couchdb/view.js:87:14
    at EventEmitter.<anonymous> (/Users/richardmarr/Projects/web-app/node_modules/resourceful/lib/resourceful/resource.js:498:17)
    at EventEmitter.g (events.js:143:14)
    at EventEmitter.emit (events.js:64:17)
    at Function.emit (/Users/richardmarr/Projects/web-app/node_modules/resourceful/lib/resourceful/core.js:159:33)
    at /Users/richardmarr/Projects/web-app/node_modules/resourceful/lib/resourceful/resource.js:513:10
    at /Users/richardmarr/Projects/web-app/node_modules/resourceful/lib/resourceful/engines/couchdb/index.js:167:9
    at /Users/richardmarr/Projects/web-app/node_modules/resourceful/node_modules/cradle/lib/cradle.js:415:29
    at IncomingMessage.<anonymous> (/Users/richardmarr/Projects/web-app/node_modules/resourceful/node_modules/cradle/lib/cradle.js:253:72)
    at IncomingMessage.emit (events.js:81:20)

The view creation code looks like this:
User.filter( 'byTwitterId', {map:function(doc){
	if ( doc.resource == "User" && doc.auth && doc.auth.twitter ) emit( doc.auth.twitter.id, doc);
}});

...and the view lookup code looks like this:
User.byTwitterId({key:id},function(){})

In the scope of this error the that variable (view.js line 87) which has no method 'view' appears to be the global context, i.e. its properties are things like process and setTimeout. Changing that to R so that it references the specific Resource seems to make the error go away.
I'm guessing it was written this way for a reason, so my question is probably what could I have done to knock the that variable out of orbit.

Can you post the code which includes that and R?


afpacket corss compile failed.

The afpacket's example cross compile failed. Using the afpacket example: https://raw.githubusercontent.com/google/gopacket/master/examples/afpacket/afpacket.go
go build afpacket.go works fine, but GOOS=linux GOARM=7 GOARCH=arm go build afpacket.go failed with following error:
# github.com/google/gopacket/afpacket
../.go/src/github.com/google/gopacket/afpacket/options.go:176:19: undefined: pageSize
../.go/src/github.com/google/gopacket/afpacket/options.go:177:85: undefined: pageSize
# github.com/google/gopacket/pcap
../.go/src/github.com/google/gopacket/pcap/pcap.go:30:22: undefined: pcapErrorNotActivated
../.go/src/github.com/google/gopacket/pcap/pcap.go:52:17: undefined: pcapTPtr
../.go/src/github.com/google/gopacket/pcap/pcap.go:64:10: undefined: pcapPkthdr

any news how to fix this?

I am also getting this issue when trying to static build:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0
same errors:
# github.com/google/gopacket/afpacket
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/afpacket/options.go:176:19: undefined: pageSize
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/afpacket/options.go:177:85: undefined: pageSize
# github.com/google/gopacket/pcap
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:30:22: undefined: pcapErrorNotActivated
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:52:17: undefined: pcapTPtr
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:64:10: undefined: pcapPkthdr
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:103:6: undefined: pcapBpfProgram
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:110:7: undefined: pcapPkthdr
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:268:33: undefined: pcapErrorActivated
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:269:33: undefined: pcapWarningPromisc
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:270:33: undefined: pcapErrorNoSuchDevice
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:271:33: undefined: pcapErrorDenied
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:748:14: undefined: pcapTPtr
../../go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:271:33: too many errors


Add actor avatar

On the left of the action icon, showing the actor avatar (using actor.avatar_url) would be awesome.

@questbeat is this project abandoned?


Fix/bug fix

In the provided changes, modifications have been made to the CSS code for styling and animations. Here's a description of the changes:

Styling Adjustments:

The color property for the text in the body has been changed from #657085 to #2cbdc2.

Changes in .wrapper .dynamic-text:

The line-height property has been adjusted from 0px to 100px, ensuring proper spacing between lines of text.
The font size for .dynamic-text li has been changed from 25px to 50px.

Animation Changes:

The slideup animation has been replaced with a new slideright animation for the .dynamic-text li elements. The animation moves the text from right to left (right: 0 to right: -100%) over a duration of 30 seconds using a linear timing function. The animation repeats indefinitely (infinite).

@keyframes Adjustments:

The keyframes for slideright have been modified to ensure the text moves offscreen to the left (right: -100%) at the end of the animation.

The text effect disappears after a while (the quotes) , bug SWOC S4

@Hacxmr plz mention the issue link as well. Thank you

@TeeWrath  Here's the link - https://github.com/The-MindSpace/MindSpace-Web/issues/2

@Hacxmr Thanks for contribution

@TeeWrath You're Welcome and your appreciation is truly valued


Configuration variable precedence

Where should configuration changes for the RSessionContext configurables path, cmd and env go? I tried c.RSessionContext.env in jupyter_notebook_config.py but that seemed to be ignored.

Yes, sorry. That is how I intended config to function, but since this extension isn't a NotebookApp it doesn't read the config file. If I merge #7 then all of this goes away. Otherwise I'll probably use the tornado settings mechanism to read the config. I'll make a choice shortly.

Hi Ryan perfect, thank you. I'm working with @cmd-ntrf on some of the same systems and we're using his modifications now and it is indeed working for us. I think the only configurable he has left is RSessionContext.cmd. Feel free to close this if you want.

The config is now auto-detected directly from R which is what rserver does.


Update the urlllib3 package dependency to make it compatible with v2

All Submissions:

[x] Contributions should target the dev branch. Did you create your branch from dev?
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

[x] Does your submission pass tests?
[x] Have you installed pre-commit with pip3 install pre-commit and set up hooks with pre-commit install?

Changes to Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?

I believe it won't work, since ^1.26.4 is equal to >=1.26.4,<2.0.0
Instead, it should be urllib3 = ">=1.26.14,<3"

I believe it won't work, since ^1.26.4 is equal to >=1.26.4,<2.0.0
Instead, it should be urllib3 = ">=1.26.14,<3"

我相信这是行不通的，因为^1.26.4等于>=1.26.4,<2.0.0
相反，它应该是urllib3 = ">=1.26.14,<3"

It's truly what I committed. urllib3 = ">=1.26.14,<3

To enable installation of v2+, this dependency should be changed to ">1.26.4,<3", do you want to do it or should I take over?

To enable installation of v2+, this dependency should be changed to ">1.26.4,<3", do you want to do it or should I take over?

Oh, my apologies, I finally understand where I went wrong. I have submitted the latest PR, and it would be my honor to contribute code to qdrant.


Work around negative_impls that allows unsound overlapping Unpin impls

See https://github.com/taiki-e/pin-project/issues/340#issuecomment-2432146009 for details of the workaround.
(Btw, lifetime to workaround trivial_bounds is still needed.)
Fixes #340

(Btw, lifetime to workaround trivial_bounds is still needed.)

Yeah, the other approach, but not worth changing your code for at the moment, would have been to emit for<'__trivial> Type<…> : Bounds…. That avoids the "trivially false" errors, much like I did over #340 with my for<'never> str : Sized.
This is more of an FYI should the current "unconstrained lifetime" be to become an error in some future version of Rust, again, not suggesting that you change the current "floating" '__pin design


Add custom headers option to CLI

When used as a library, OASGraph allows to define custom headers to be sent in every HTTP request to the wrapped REST(-like) API, as described in the [options]{https://github.com/strongloop/oasgraph/tree/master/packages/oasgraph#options}.
However, this feature is not available when using OASGraph via CLI. A new headers option should allow users to define custom headers to send, for example, authentication tokens. This was also brought up in issue #88.

Any news on this? This would be a very useful feature, especially since many REST APIs require headers to be sent with every request for authentication.

@gtamas the problem we’re facing is we don’t know how to expose the option. It is easy to create flags for binary options but difficult to do so for more complex options such as this one or customResolvers.
Should it point to a file? What should the file contain and in what format? These are all questions that are up in the air.
Another thing to consider is that, while the whole topic is a bit grey, we intended the CLI to be a simple wrapper for the library. We wanted people to use the CLI to get a taste for the library, but not use it for production per say. While this view can change, I say this just to point out that in the past, we did not set out to ensure that the CLI had the same feature set as the library. I think we should start rethinking this strategy as we start getting more users and have a better idea of how people want to use OtG.

@Alan-Cha
OK I see, thanks for the explanation.
As for the headers flag, I think it should be just a simple mechanism, like a  CLI flag called --header which allows you to define a HTTP header in the usual way (headerName: value). It should be possible to repeat this flag, so one can define as many headers as he / she wishes.
Another option is to use only a single --headers flag whose value is a JSON string: {"headerName": "value", "header2Name": "value2" }
Regarding viewers, I don't think I can use them. Authentication in my case requires sending certain headers with each request. I think currently there is no built-in viewer for this, right?

@gtamas The first method you proposed, is this a fairly common interface design? Forgive me for not being more knowledgeable. I think it's definitely nicer than providing a JSON object, whether it be directly in the command line or through a file.

I'm not sure what your authentication needs are but I think our viewers can at least handle simple cases such as using basic authentication or API keys.

@Alan-Cha
I think it's common, yes. For example this is how cURL works and several command-line parser libs support this as well (e.g: yargs, commander, optimist etc ). Also specifying the header's value in this form is quite common.
By the way, you could add support defining query string parameters the same way. Like --qs foo:1 --qs bar: 2
Viewers: ok thx. Unfortunately that's not gonna work in my case. I need to send custom things like sessionToken, username etc. Anyway,I already solved this. I used OtG as a lib instead of CLI.

@gtamas Thank you so much for the insight! I will look into adding this feature then. Glad to hear that you were still able to solve your authentication problem!


Research about .env vs dev.env

I like having a special folder for this, let's call it config or env.

And let's use app.env as usual.


Modify style by number example to have more meaningful data

@VictorVelarde a quick fix for the viewport vs global classification of features in the style by numbers example as discussed here: https://github.com/CartoDB/carto-vl/issues/1166

@VictorVelarde looking a little closer, doesn't seem like the StDev example is showing above and below the mean... I haven't used it much myself (really at all yet!!) but is that syntax right? should there be more to the syntax?

Regarding to the viewportStandardDev, it also LGTM. The logic should be ok, but it would be great if you could have a look at this small test: https://github.com/CartoDB/carto-vl/blob/5a51cff7e91eeebbcb2ddf8d349de9a35be52800/test/unit/renderer/viz/expressions/classification/classifier.test.js#L223
standardDev methods have another interesting parameter (classSize), but it is optional. It defaults to 1.0 (standard deviation), but sometimes it could be interesting to use 0.5 stdDevs or even 0.25.
Another comment. If we are changing viewportQuantiles for globalQuantiles, we should probably adapt the rest of the viewport methods (viewportEqIntervals, viewportStandardDev) to their corresponding global versions

@VictorVelarde yep! i changed all of them...

i think the biggest issue with the example, is that it isn't the best data for these different classification methods. when we made them at first, we didn't have classification method for polygons so... before merging this, let me try out some other datasets that demonstrate this better! for example, st dev more informative in this map

Much better example. That one also works well with 5 buckets for stDev

@VictorVelarde ok! I adjusted the example and I think it is a lot better/more informative now.
I did the following:

found a better dataset (percent of pop with higher edu by US County)
re-symbolized each styling method
made the names of linear and buckets viz objects more meaningful to the example (interpolate and manual)
re-organized the order of them in the radio-button selector

Maps:

Great job @makella I have checked them both locally and they look much better now!
IMO it's ready to be merged
Maybe we could add a pair of links in the color-schemes 'box', to the CARTOColors and ColorBrewer if you find it useful too, like:
CARTOColors more?

@VictorVelarde thanks for looking through!
ok, added the links for CC and CB (actually, for CB, I could link directly to the scheme that is used in the map which is nice).
tell me what you think

ok, think i'll merge this!
thanks @VictorVelarde


Extending interface with Omit<T, K> helper returns TypeError: Cannot read property 'parent' of undefined

I would like to override an interface property and I was trying that using Omit
import * as s3 from '@aws-cdk/aws-s3';

export interface SecureBucketProps extends Omit<s3.BucketProps,'encryption'> {
  readonly encryption: s3.BucketEncryption.KMS | s3.BucketEncryption.KMS_MANAGED;
}

I get the following error when building with jsii:

[ERROR] jsii/compiler - Error during type model analysis: TypeError: Cannot read property 'parent' of undefined

Initially I was doing simply:
export interface SecureBucketProps extends s3.BucketProps {
  readonly encryption: s3.BucketEncryption.KMS | s3.BucketEncryption.KMS_MANAGED;
}

but that is not possible and give me this error instead:

[ERROR] jsii/compiler - Type model errors prevented the JSII assembly from being created
lib/index.ts:3:1 - error TS9999: JSII: Interface declares same member as inherited interface: encryption

Any ideas on how to go around it?
Thank you
General Information

JSII Version: 1.5.0 (build 46538f8), typescript 3.8.3
Platform:     macOS Darwin Kernel Version 18.2.0

If you haven't found the TypeScript limitations page, you may find it useful: https://github.com/aws/jsii/blob/master/docs/typescript-restrictions.md
It seems like your current issue is due to the use of Omit<T,K>. JSII does not support Generics aside from Arrays or Promises. As you note, directly extending and type-narrowing doesn't work either.
AFAIK, the only options are to redefine the interface for jsii compatibility, or to not use jsii.

Thanks for clarifying that @GriffinMB
I will close this issue as it's working as expected.

Hi @GriffinMB , have you seen the new covariant return for c#?  Can it be a solution for this problem too? I have created a feature request in a new issue to see if we can remove some of that limitation already.
https://github.com/aws/jsii/issues/2314
Thanks


Setup prod / preprod for auditing

This adds the relevant secrets to our prod/preprod environments. The secrets already exist in the our shared namespace and are in use by CAS3, so we can use the same ones.

@richpjames They're stored in the Cloud Platform as Kubenetes secrets, which get added manually by the team, in the same way as HMPPS Auth secrets etc


Add Flipper as suggestion for Feature Toggle

Include Flipper as suggestion for Feature Toggle library.

Hey @duduribeiro, thanks for the PR 👍 This isn't meant to be a comprehensive list of gems, just the concepts.

perfect @ankane =)..
thanks for the reply!


Webpage not showing anything other than wind wheel

Hi team,
I have started windmill project with default configuration but webpage not showing anything , other that wind wheel (I followed ReadMe to install and run with default airflow )
Here is the logs from terminal

Serving Flask app 'windmill.http.api.endpoints' (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: off
[2021-08-25 22:08:45,836] {_internal.py:225} WARNING -  * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
[2021-08-25 22:08:45,836] {_internal.py:225} INFO -  * Running on http://<IP_ADDRESS>:8000/ (Press CTRL+C to quit)
[2021-08-25 22:09:10,858] {_internal.py:225} INFO - <IP_ADDRESS> - - [25/Aug/2021 22:09:10] "GET / HTTP/1.1" 200 -
[2021-08-25 22:09:10,887] {_internal.py:225} INFO - <IP_ADDRESS> - - [25/Aug/2021 22:09:10] "GET /App.40f70a3e.js HTTP/1.1" 200 -
[2021-08-25 22:09:11,254] {_internal.py:225} INFO - <IP_ADDRESS> - - [25/Aug/2021 22:09:11] "GET /favicon.ea4855f9.ico HTTP/1.1" 200 -

Can someone help here?

Issue has been resolved with updating code to latest package structure of the Airflow


Refactored logic in autoupdate.py concerning wsgi network connection …

…variables. Fixed #1929."

The variable has nothing to do with wsgi. Wsgi is a specific protocol, but in this function the server is connected using normal http. But you can name it as you like, and therefore merge this pull request if you like it

Hm. Then the settings var is also wrong. Suggestions?

I have no suggestions. The current code is ok for me. If you want to search for another name, then please add an issue