Question: Why does generating a probability not give a definite number?

What is wrong?
 I don't understand the mechanisms behind Brain.js and I'm new to machine learning but I'm interested to know is this only for Brainjs? or for every neural network? doesn't a fix data set produce a definite probability of output ?
How important is this (1-5)?

2
Other Comments
Thank you for your time and attention

You'll have to be more descriptive.  Can you include a code sample?
A recurrent network does give a definite probability because it's dialect is exactly what it was given, but feedforwars and timestep will not because as you state, they are probabilities.
Have you ever heard a weather man say: "It will be exactly 72.5555555556 degrees tomorrow"?  No.  Because he is estimating using similar (likely much more sophisticated) software.  Nobody knows the future, but they can guess pretty good.
To further the point, take a camera and take a picture, now take a picture of that picture, can you tell the difference between the original and the picture?  It is a very good copy, which is essentially what the network is doing.  It is measuring error against what it was input.  Internally it will really never know what it was actually given, it only measures how close it was.
With 32 bit floating point accuracy, there is nearly an infinite gap between 0 and 1 to the computer.
To even further the point.  Make a sculpture of a lion out of clay, try your hardest to make it perfect.  Is it a lion?  Sure.  Is it an exact copy?  No.  Now make the sculpture of the sculpture, each time it degrades in quality.    Each time the sculpture looses something, precision.

Hi Robert,
Thank you for your prompt reply.
Here is the code example:
const network = new brain.NeuralNetwork();
network.train([
{input: [1,2], output: [1]}, // Team 2 wins
{input: [1,3], output: [1]}, // Team 3 wins
{input: [2,3], output: [0]}, // Team 2 wins
{input: [2,4], output: [1]}, // Team 4 wins
{input: [1,2], output: [0]}, // Team 1 wins
{input: [1,3], output: [0]}, // Team 1 wins
{input: [2,4], output: [0]}, // Team 2 wins
{input: [1,5], output: [0]}, // Team 1 wins
]);
const output = network.run([1,4]);
console.log(Prob : ${Output});
If there are a fixed number of cases, then the probability of team 4 winning against team 1 should remain constant?
I have some other minor questions I'm hoping you could provide some insight into and possibly clear up my misunderstanding:

How come if I run [1,5] that is in the training set of data, the probability is not = 1 , isn't the only case of only  [1,5] given? My guess is that because 'Team 1' has been implicated in other I/Os .. then what if its a separate case with different variables?
Does running the output multiple times make the process of retrieving faster? E.g. if I run 'const output = network.run([1,4])', many times, will it make its process of retrieval of the result faster?
In a recurrent neural network, why does more iterations make it more accurate when the process is the same when theres no new I/O to the training data, is it because of its property of being a LSTM?

The output is heavily related to "probability".

Here is the code example:

What does your training data mean?  I'm not sure I interpret it correctly.

How come if I run [1,5] that is in the training set of data, the probability is not = 1

I think the net doesn't understand your training data.

Does running the output multiple times make the process of retrieving faster?

No.

In a recurrent neural network, why does more iterations make it more accurate

A feed forward net simply learns differently than a feed forward.  As well the output error is (in the case of a LSTM network) measured differently.


Fixed a regression

Fixed an issue where null is sometimes passed by reference and can't be assigned a new value. See #2485.

Thanks a lot!


fluentd auto restart with process finished code=6

I use fluentd as log collection service. At the beginning, I just write log received to hdfs. It works fine and stable. But when I wanna copy received log and forward to another fluentd. It becomes unstable.
...
2013-05-30 13:36:21 +0800 [info]: process finished code=6
...
2013-05-30 13:40:03 +0800 [info]: process finished code=6
...
2013-05-30 13:41:11 +0800 [info]: process finished code=6
2013-05-30 13:41:11 +0800 [info]: starting fluentd-0.10.33
2013-05-30 13:41:11 +0800 [info]: reading config file path=" .... "
2013-05-30 13:41:11 +0800 [info]: using configuration file
...

It seems that fluentd auto restart in several minutes.
Here is my configuration with fluentd 0.10.33.
Thxs for any advice!
  <source>
    type forward
    port 24225
    bind <IP_ADDRESS>
  </source>
  <match applog.**>
    type copy
    <store>
      type forest
      subtype webhdfs
      remove_prefix applog
      <template>
        host <IP_ADDRESS>
        port 50070
        username hadoop
        path /applog/${tag}/%Y%m%d/%H.log
        flush_interval 60s
        read_timeout 100
        field_separator TAB
        output_include_time false
        output_include_tag false
        output_data_type attr:all
      </template>
      <case dw.**>
        path /applog/${tag}/%Y%m%d/%H_%M.log
        flush_interval 30s
      </case>
    </store>

    # copy log and forward to another fluentd
    <store>
      type forward
      flush_interval 1s
      heartbeat_interval 60s
      <server>
        name app10-001
        host <IP_ADDRESS>
        port 24227
        weight 100
      </server>
    </store>

  </match>

I am consistently hitting this issue (process finished code=6). This is probably caused by something I'm doing in my plugin code (add use_grpc true to the plugin config to turn on). However, when I run fluentd with the same config outside of the service framework (even with --daemon), it does not crash. The crashes only happen while run via init/systemd.
Please let me know how I can help debug this.

Please paste your fluentd / plugin versions and configuation to reproduce the problem.

Thank you for responding. Here are the fluentd and plugin versions:
fluentd (0.12.20)
fluent-plugin-google-cloud (0.5.3.grpc.alpha.1)

Unfortunately, the easiest way to reproduce would be to run https://dl.google.com/cloudagents/install-logging-agent.sh on a Google Compute Engine VM, then /opt/google-fluentd/embedded/bin/gem install --pre fluent-plugin-google-cloud, then edit /etc/google-fluentd/google-fluentd.conf and add use_grpc true right under type google_cloud. Running the plugin requires certain authorization that can only be obtained from a Google Cloud project.
I'd be happy to give you ssh access to a running VM that demonstrates this issue.

@igorpeshansky

I'd be happy to give you ssh access to a running VM that demonstrates this issue.

So this problem is hard to reproduce on vanilla Ubuntu or CentOS?
If so, I want to use your environment for debugging.

Thank you for responding.
The problem for me appears only when using the Google Cloud output plugin with my latest changes enabled. I suspect the code is doing something nasty, causing fluentd/ruby to quit, but there is no indication of what that is. It may be possible to reproduce outside of Google Cloud, but it would be difficult to obtain the necessary credentials that would work on a standalone instance. Easier to use the existing VM.
Do you have a Google account? If so, please email it to me off-thread (to<EMAIL_ADDRESS>or my GitHub email) and I'll add you to the project and respond with connection instructions. Otherwise, please email me an ssh key and I'll add it to the instance.


Change format of pull export

Wondering if there's any way to get spaces instead of line breaks in the entries of the pull report. I'm trying to process them and it would be easier to handle entries that were one line each.

That's not currently possible, no, but a regex will pick them out:
#!/usr/bin/env ruby
open('CAIAH.bib').read.scan(/((^|\n)@.*?\n})/m).each{|ref|
  next if ref[0] =~ /^@comment/
  puts ref[0].strip.gsub("\n", ' ')
}

Yeah, I'm currently handling it with some grep and sed.
Another thing that has come up for me is that inside file multiple files don't get their own lines. If that's not doable either, feel free to close.

Is having multiple file fields compatible with Jabref? I took the file field encoding from there.

About the only thing I can find on the internal format of the .bib file is this, and it doesn't really address the file field, probably because that's not a standard field.
But I wasn't thinking of multiple fields, just having a line break in between the different files (also not addressed on that page):
`
file = {Yoffe - 2015 - A Campus Rape Ruling, Reversed.html:/Users/user/Documents/Zotero data/storage/3JXSQ8Q8/Yoffe - 2015 - A Campus Rape Ruling, Reversed.html:;
Yoffe - 2015 - A Campus Rape Ruling, Reversed.pdf:/Users/user/Documents/Zotero data/storage/5T8A2NZ4/Yoffe - 2015 - A Campus Rape Ruling, Reversed.pdf:application/pdf}
`
instead of
file = {Yoffe - 2015 - A Campus Rape Ruling, Reversed.html:/Users/user/Documents/Zotero data/storage/3JXSQ8Q8/Yoffe - 2015 - A Campus Rape Ruling, Reversed.html:;Yoffe - 2015 - A Campus Rape Ruling, Reversed.pdf:/Users/user/Documents/Zotero data/storage/5T8A2NZ4/Yoffe - 2015 - A Campus Rape Ruling, Reversed.pdf:application/pdf}
with an extra line in that first example for effect.

Upon a regular Zotero export to bibtex, there isn't anything after that semicolon. However, I think I just confirmed a bug:
In the entry above, the html file has no filetype, where it should be text/html after the colon and before the semicolon. Zotero's usual method includes it.

can you right-click that reference and select "send better bibtex report"? If you post the resulting ID here, I can investigate.
I don't understand "there isn't anything after that semicolon"?

ID: E753Z86E
Though none of the html attachments get reported with a filetype, it appears from running this:
curl -s -stdout 'http://localhost:23119/better-bibtex/library?library.biblatex' | grep text/html
What I meant was that the two file refs are separated by a semicolon and not by anything else, like a line break. Both your export and Zotero's do that same thing.

Can you try https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.64-circle-2543.xpi ? That should fix the latter problem.

I'm not diametrically opposed to adding a line break, but breaking jabref
compatibility would be undesirable. I just don't know what jabref would do
with the linebreak. It doesn't export it itself, and jabref doesn't have a
formal spec, so I'm loathe to go beyond it. Perhaps you could check with
the jabref devs to see what their take on this is?

Yep, that seems to do it. Now all the files in my library have filetypes in the export. Thanks!
I'll have a look into the other item.


delete

Never mind, looks like this isn't an issue on Linux, only Windows. Still likely worth an update though...

The new electron has issues on the Raspberry Pi. Mainly CPU issues.
Due to the fact that in this project electron is nog loading any remote sites, the risk is less severe than described.
That being said, I agree we need to switch do the new version. But this can only be done when electron solves their issues on the RaspPi platform.
Fyi: the develop branch does run the latest electron version, so we can test the most recent version and hopefully incorporate it the next master branch.


Include libraries from SolidHack

The recent SolidHack competition has a list of great new apps and libraries.

Sure @KaiHuebner will consider adding the good, and practically useful libraries from there

Hey @KaiHuebner I've included some of the noteworthy apps/libraries from the SolidHack submissions.
Please LMK if you see any other Interesting library/app I'm missing here, or better open a PR :-)


Polars and arrow-odbc

Hey @pacman82 thanks for your job you have done a incredible work here, please did you have some articles or examples of how to integrate this crate with polars? I had find some posts talking about this crate with polars but no single one example how to do it.
See ya!

Hello @lpj145 , thank you for the kind words. As far as I know the Python binding of Polars are integrating with the Python bindings of this crate. See: https://docs.pola.rs/py-polars/html/reference/api/polars.read_database.html. These bindings are maintained by the Polars developers.
The Polars Rust crate has now direct support. People have converted it in the past still: https://github.com/pacman82/odbc-api/discussions/536#discussioncomment-8807348
Also arrow2 has direct ODBC bindings, which like arrow-odbc are build on top of odbc-api and use bulk fetches. However I would not recommend using them. They are more a result of a one day hack and unmaintained.
If this occurs more often I could also expose the C-Interface in the Rust crate, to save one marshaling step. Which arrow implementation does Polars use these days? Is it arrow2 or something else?

Polars uses https://crates.io/crates/polars-arrow I think it is his own implementation, by the way it's is a fork from arrow2.

Given that arrows main selling point is that it can share binary representations the community is weirdly insistent of marshaling the meta-information into all kinds of formats 😅 . The C-Representation is good enough. I wish we could just use that as the canonical representation and just wrap it into some binary identical safe types.

Hey Markus, big fan of your work here. Just want to say hi 🙂
I once made a attempt to update the odbc-api version used by arrow2, but only realized later that the project itself went archived and merged into the official arrow project 😂. Nevertheless I learned a lot by studying your code. Thanks a lot for all the work you have done!

Hello @ugoa , thank you, you are welcome! I learn a lot myself through these projects. I did not realize myself until now arrow2 and the official arrow merged. Yet I think it is a good thing to not split the community to granular.


Lenovo IP Flex 5 Chrome 14IAU7 - Debian. No sound device. Driver in use: snd_hda_intel

Describe the bug
No sound device. No Hardware Output Devices Available in Audio Mixer
Boardname
Taeko
Logs
debug-logs.tar.gz

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] (rev 01)
DeviceName: Multimedia audio controller
...
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
I've read of solutions that blacklist snd_hda_intel, or that start pulseaudio with snd_sof_pci_intel_tgl. Haven't seen a preferred implementation for Debian.

just checking
assuming your ran WeirdTreeThing's audio script
did you notice if the kernel was updated successfully?
are you using a kernel 6.4 or above?
you might want to look here: https://github.com/WeirdTreeThing/chromebook-linux-audio/issues/148

just a newbie offering advice that worked for me

Yes, ran audio script without errors
uname -a
Linux debian 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

Most of the advice I've read suggest a kernel 6.4 or higher.
(and i confess I'm a Noob-all-over-again trying Linux after many years)
$ uname -a
Linux debianhp14g5 6.6.0-chrultrabook #2 SMP PREEMPT_DYNAMIC Sat Nov  4 08:20:02 EDT 2023 x86_64 GNU/Linux
HP Chromebook 14 G5 Intel Celeron N3350/4GB/16GB (ApolloLake/SNAPPY)
Debian 12

I blacklisted snd_hda_intel. But, now no kernel module is in use.
To blacklist in Debian:
Create a file '/etc/modprobe.d/snd_hda_intel-blacklist.conf' containing 'blacklist snd_hda_intel'.
Run 'depmod -ae' as root
Recreate your initrd with 'update-initramfs -u'

lspci -knn
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] (rev 01)
DeviceName: Multimedia audio controller
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

Haven't seen a preferred implementation for Debian.

Using kernel 6.6 or newer is the preferred solution, since that's when my patch landed that selects the correct driver automatically.

Thank you! I reversed the blacklist, then full-upgrade from Bookworm to Trixie. Sound Works now.


Output for oc get clusterserviceclasses is no longer user friendly

The output for 'oc get clusterservicesclasses' is just a list of hashes that does not tell me anything useful.
The output of the prior 'oc get serviceclasses' was well formatted and very helpful.  Is this a known issue or a planned changed?  Please see attached photos:
OC version 3.7.0.alpha

Current OC version v3.7.0-rc.0+782e4ab-102-dirty

or use svcat as kubectl plugin or library to oc command.
see:
https://github.com/kubernetes-incubator/service-catalog/tree/v0.1.21/cmd/svcat
https://github.com/kubernetes-incubator/service-catalog/tree/v0.1.21/pkg/svcat

I think that https://github.com/kubernetes-incubator/service-catalog/pull/2091  (not yet merged) actually addresses the problem and brings back friendly names in the output of Kubernetes commands.


Publish to docker.pkg.github.com fails

werf build-and-publish --stages-storage :local -i docker.pkg.github.com/dev/playground-api/api --tag-git-branch build

Gives:
unsupported status code 404; body: 404 page not found

Closing in favor of https://github.com/flant/werf/issues/2199


Required status checks on PRs in multi-project repos

We set the main branch to require a successful build before a PR can be merged. This is best practice.
In multi-project repos there are multiple build jobs, one per project. But a PR only kicks off a build of the project affected by the PR (which is smart to save time).
Given a multi-project repo with projects Lib, DK and GB: If we require "Build Lib", "Build DK" and "Build GB": Then a PR for a change in DK will never meet requirements (as Lib and GB does not build).
There is no single job in the workflow that will indicate success or failure of the builds.
Any ideas on how to get around this?

I think this requires us to make a Pull Request Status Check job in the PullRequestHandler or like.

A PR Status Check job would make it a lot easier.
Also for set up, currently the names for the builds are different depending on whether projects are used or not. With a dedicated job, it would be easier to know what to require. When setting the required checks, you must search for the name. When searching for you get current and historic names of jobs run. A single job that hopefully never changes name  would help a lot.

I will mark this with in Preview when it is available in preview.


Can't init, get blinkreaction/drupal-mysql:5.5 tcp erro

Pulling db (blinkreaction/drupal-mysql:5.5)...
ERROR: read tcp <IP_ADDRESS>:34944-><IP_ADDRESS>:443: read: connection reset by peer
Is this because the repo is down perhaps?

This looks to be a random issue with hub.docker.com. I'm able to pull this image without issues.
Such issues are often regional and are gone within 24h.


Add a diagnostic source event that fires when a route is matched

Usually more information becomes available about a request once route is matched. This event should allow diagnostic systems to enlighten the typical "begin request" metadata to include more information about the matched route and more importantly the selected endpoint and associated metadata.

cc @lmolkova @SergeyKanzhelev
I'd expect open telemetry to use this to determine what type of request is being routed instead of the specific MVC event:
https://github.com/open-telemetry/opentelemetry-dotnet/blob/3538e05f0eed9df008d30e82a70bef11bd579bb5/src/OpenTelemetry.Collector.AspNetCore/Implementation/HttpInListener.cs#L108-L137
You could also imagine crawling through the endpoint metadata to light up more information about the request (like the gRPC method or controller method that got selected).

once route is matched

What's a route :trollface:

Man this broke a bunch of tests 😂

@davidfowl Is this PR what you refer to here: https://github.com/grpc/grpc-dotnet/pull/341#discussion_r298665014
So would the idea be that a diagnostic framework could listen for this event, get the endpoint, then inspect the endpoint metadata to figure out that it is a gRPC/MVC/SignalR request?

@aspnet-hello triage https://dev.azure.com/dnceng/public/_build/results?buildId=244354

This comment was made automatically. If there is a problem contact<EMAIL_ADDRESS>I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2705

Hmm preview7 or 8...

7


[BUG]: A possible leak when dlsym fails

Describe the bug
When dlsym fails, close wrong pointer of shared library as pointer mismatch
iLogtail Running Environment
Please provide the following information:

ilogtail version:

dlopen with mPluginAdapterPtr : https://github.com/alibaba/ilogtail/blob/main/core/plugin/LogtailRuntimePlugin.cpp#L98
dlclose with mPluginBasePtr when add symbol fails : https://github.com/alibaba/ilogtail/blob/main/core/plugin/LogtailRuntimePlugin.cpp#L109

Yaml configuration:

ilogtail.LOG:

logtail_plugin.LOG:

Thanks a lot for helping to find this bug. The code in this place is not the main working mode for ilogtail, so it will not be executed and will not cause a big risk of leakage.
Is it possible for you to submit a PR to fix this bug? Thanks.

Sure, I will submit a PR this weekend

Thanks for your contributing.

Thanks for your contributing. Could you  contact with me for further discussion?


callback for config reader

I need custom the reader on the load metodh

This would be especially helpful when all you need is the raw data.
reader->setReadDataOnly(true)

@b3ni can you please have a look at my comment. I can't merge it like this.


Problem with Docker compose

Hi to all,
I'm following the Readme to install all the stuff but I'm quite new to Docker. I have a warning on the postgres install and then on connecting related to the port of the database. In the specific I have this:
giampaolo@rbbox:~/dev/bottledwater-pg$ docker-compose up -d zookeeper kafka schema-registry postgres
WARNING: The POSTGRES_PORT_5432_TCP_ADDR variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_PORT_5432_TCP_PORT variable is not set. Defaulting to a blank string.
bottledwaterpg_zookeeper_1 is up-to-date
bottledwaterpg_postgres_1 is up-to-date
bottledwaterpg_kafka_1 is up-to-date
bottledwaterpg_schema-registry_1 is up-to-date
giampaolo@rbbox:~/dev/bottledwater-pg$ docker-compose run --rm postgres psqlWARNING: The POSTGRES_PORT_5432_TCP_ADDR variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_PORT_5432_TCP_PORT variable is not set. Defaulting to a blank string.
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

How/when do I configure those variables? There's no mention in the Readme.
Before doing compose up, I did
export POSTGRES_PORT_5432_TCP_PORT=5432
export  POSTGRES_PORT_5432_TCP_ADDR=<IP_ADDRESS>

but this command
 docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
returned me
/bottledwaterpg_schema-registry_1 - <IP_ADDRESS>
/bottledwaterpg_kafka_1 - <IP_ADDRESS>
/bottledwaterpg_zookeeper_1 - <IP_ADDRESS>
/bottledwaterpg_postgres_1 - <IP_ADDRESS>

So I do not understand if during compose-up the env variables are used or not, and if I have to change them after compose-up. With proper indications, I would be glad to submit a PR with more details in the Readme file for future newcomers.
Thanks in advance.

@giampaolotrapasso : you are running wrong docker command to connect to your database, in fact there is no such container named postgres running.
Try docker exec -it bottledwaterpg_postgres_1 bash and you would be in your postgres contain
This basically is sort of ssh'ing to running postgres, you can read more here https://docs.docker.com/engine/reference/commandline/exec/.

@indyaah: no problem. Finally I got all the stuff working. Next week I'll document it into a gist the exact steps I did. I'm sure I did not all things right but probably you can address me to my blind spots.

Hi @giampaolotrapasso I'm facing the same issue. Can you guide me with this?

disclaimer 1: I'm a docker newbie. This is a dirty workaround I did.
disclaimer 2: I'm just pasting things from history to give you a quick reply YMMV, meanwhile I'll do a PR or a gist.
This is my docker-compose.yaml, double check diffs:
# N.B. assumes you have set the environment variable
# KAFKA_ADVERTISED_HOST_NAME, in the environment of the host where you are
# running docker-compose, to the IP address of the Docker host.
#
# You can determine the Docker host IP with a command like:
#
#   docker run --rm debian:latest ip route | awk '/^default via / { print $3 }'

zookeeper:
  image: confluent/zookeeper
  hostname: zookeeper
  ports:
    - '2181:2181'
kafka:
  image: confluent/kafka:<IP_ADDRESS>-cp1
  hostname: kafka
  links:
    - zookeeper
  environment:
    KAFKA_LOG_CLEANUP_POLICY:
    KAFKA_ADVERTISED_HOST_NAME:
    KAFKA_AUTO_CREATE_TOPICS_ENABLE:
  ports:
    - '9092:9092'
schema-registry:
  image: confluent/schema-registry
  hostname: schema-registry
  links:
    - zookeeper
    - kafka
  ports:
    - '48081:8081'
  environment:
    SCHEMA_REGISTRY_AVRO_COMPATIBILITY_LEVEL: none
postgres:
  build: ./tmp
  dockerfile: Dockerfile.postgres
  hostname: postgres
  ports:
    - '45432:5432'
  environment:
    POSTGRES_PORT_5432_TCP_PORT: 5432
bottledwater-json:
  build: ./tmp
  dockerfile: Dockerfile.client
  hostname: bottledwater
  links:
    - postgres
    - kafka
  command: --output-format=json --allow-unkeyed
bottledwater-avro:
  build: ./tmp
  dockerfile: Dockerfile.client
  hostname: bottledwater
  links:
    - postgres
    - kafka
    - schema-registry
  command: --output-format=avro --allow-unkeyed
psql:
  image: postgres:9.5
  links:
    - postgres
  command: 'sh -c ''exec psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U postgres'''
topiclist:
  image: confluent/tools
  links:
    - zookeeper
    - kafka
  entrypoint: ['/usr/bin/kafka-topics']
kafka-avro-console-consumer:
  image: confluent/tools
  links:
    - zookeeper
    - kafka
    - schema-registry
  entrypoint: ['/usr/bin/kafka-avro-console-consumer']
kafka-tools:
  image: confluent/tools
  links:
    - zookeeper
    - kafka
  entrypoint: /usr/bin/confluent-tools
```

add to your `.profile` and refresh shell enviroment
```bash
export POSTGRES_PORT_5432_TCP_PORT=5432
export POSTGRES_PORT_5432_TCP_ADDR=<IP_ADDRESS>
export SCHEMA_REGISTRY_PORT_8081_TCP_ADDR=<IP_ADDRESS>
export SCHEMA_REGISTRY_PORT_8081_TCP_PORT=8081
export KAFKA_PORT_9092_TCP_ADDR=<IP_ADDRESS>
export KAFKA_PORT_9092_TCP_PORT=9092
```
_This is the part where I need to study docker-compose, I do not want to cable IPs._

Run
`docker-compose up -d  postgres``

on another terminal run
`docker-compose run --rm  psql``
and install extensions as readme.

run
`docker-compose up -d zookeeper`

then run
`docker-compose up  kafka-tools`

then run
`docker-compose up -d schema-registry`

then run
`docker-compose up -d kafka`

Now you should run

radicalbit@rbbox:~/dev/bottledwater-pg$ docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)

and having something like that, pay attention to IPs, they should be coherent with the `.profile`.

/bottledwaterpg_kafka-tools_1 -
/bottledwaterpg_schema-registry_1 - <IP_ADDRESS>
/bottledwaterpg_kafka_1 - <IP_ADDRESS>
/bottledwaterpg_zookeeper_1 - <IP_ADDRESS>
/bottledwaterpg_postgres_1 - <IP_ADDRESS>

Now you can run

` docker-compose up -d bottledwater-avro`

and on a different terminal

`docker-compose run --rm kafka-avro-console-consumer --from-beginning --topic test --zookeeper <IP_ADDRESS>:2181 --property schema.registry.url=http://<IP_ADDRESS>:8081`
_putting env variable in the compose file would simplify line command parametters_

Do CUD operations on the test table and you should see action on the consumer terminal.

@alwaysanirudh: ah addition. You can run almost everything with a single compose up. I'm reading about version 2 of compose file format. I will do a gist with that version.

Hi @giampaolotrapasso @alwaysanirudh, sorry that you've been having trouble with this, and for a very belated reply.  In theory you shouldn't need to set those environment variables manually (POSTGRES_PORT_5432_TCP_PORT etc), Docker should automatically configure them.
I think you may be using a newer version of Docker and/or Docker Compose than we have previously tested with.  Docker made some changes to inter-container networking and we may need to update the Docker setup to work properly for newer versions.  Could you paste the output of docker version and docker-compose version?  Here are mine for comparison:
$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:16:54 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:16:54 UTC 2015
 OS/Arch:      linux/amd64

$ docker-compose version
docker-compose version: 1.4.2
docker-py version: 1.3.1
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013

Hi @samstokes, these are my settings.
[Giampaolo - 2016-06-08 21:11:13] ~/> docker version
Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:44:17 2016
 OS/Arch:      darwin/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
[Giampaolo - 2016-06-08 21:11:18] ~/> docker-compose version
docker-compose version 1.7.1, build 0a9ab35
docker-py version: 1.8.1
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014
[Giampaolo - 2016-06-08 21:11:24] ~/>

I've managed to make work bottledwater-pg with a slightly modified version of docker-compose.yamlfile that you can find in my fork.

Hi @giampaolotrapasso @alwaysanirudh, I merged some changes to master (#88) that should make the build work better with newer versions of Docker and Docker Compose.  I think it should resolve the problems you were seeing.  Do you still see these issues after updating to the latest master?


Refactor/warnings

Description
Removing various warnings flashing by when runnign ng serve or ng test
What's included?

Refactoring warnings that appear when running tests or serve

Test Steps

[ ] npm run serve
[ ] View console to see waay less warnings

General Tests for Every PR

[ ] npm run serve:prod still works.
[ ] npm run tslint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build:lib still works.

Screenshots or link to StackBlitz/Plunker

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

v4.1.0
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.1.0-develop.1 :tada:
The release is available on:

v4.1.0-develop.1
GitHub release

Your semantic-release bot :package::rocket:


Fix the body is not closed when the response failure

[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any changes that may affect Istio users.

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test integ-multicluster-k8s-tests_istio

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

@wzshiming: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test integ-multicluster-k8s-tests_istio

release-notes_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test release-notes_istio

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

/retest

@wzshiming: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test integ-multicluster-k8s-tests_istio

release-notes_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test release-notes_istio

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

/release-notes-none

@morvencao  Hi, this PR needs release-notes-none

/test release-notes_istio

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test release-notes_istio

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

/test release-notes_istio

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test release-notes_istio

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

/test release-notes_istio

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
21cee35b000aa4b20407244b824cc292dbfb9b4d
link
/test release-notes_istio

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

Rebase to fix test failed https://storage.googleapis.com/istio-prow/pr-logs/pull/istio_istio/31798/release-notes_istio/1377107914166112256/build-log.txt
reference #31804


Bot couldn't send messages and I get a Failed to spawn ngrokResponse code 502 (Bad Gateway)

Hi there,
I tried following the instructions here as I am developing with Python:
https://docs.microsoft.com/en-us/azure/bot-service/python/bot-builder-python-quickstart?view=azure-bot-service-4.0
I get the bot listening on my port  (9002) but localhost:9002 comes with this error:
Error response
Error code: 501
Message: Unsupported method ('GET').
I added the endpoint of the bot at this URL: http://localhost:9002/api/messages
Error code explanation: HTTPStatus.NOT_IMPLEMENTED - Server does not support this operation.
I also tried setting up ngrok and I use the ngrok http 80 and edited the Emulator settings to the path of ngrok.exe
This is how the bot emulator interface looks like:

Can anyone help me out please?
Thanks,
Ana

Hi @anamariakantar ,
Can you try contacting your bot without setting up ngrok, as it shouldn't be necessary if you are trying to contact a locally running bot.
 See if the breakpoint is hit and if you can step through the code to see if an exception is being thrown that results in the 501.

Hi @tonyanziano ,
Thanks a lot for your reply. I tried debugging in the __handle_message_activity and it doesn't hit the breakpoint. I also tried stepping in the code and I get a key error at http.server - I am not sure why.
I also tried downloading the python samples from github and loaded the echobot with state, which works fine, so I am not sure what's going on. The code for this one uses botbuilder instead of botframework so that might explain some things?
I with my oo programming knowledge was better to figure out the issue. :(

Hello, @anamariakantar , did you ever find a solution or are you still having this problem?

Closing due to inactivity


readme: add --color flag to git diff command

address issue in #3

This is just an example though.

Do you mean that the --color flag is not mandatory?

all flags are optional. But to work with diff-so-fancy we actually need colour. Thanks.


New page on reporting errors upstream

Link to it from the normal reporting errors page.

Great, thanks!


Backward compat: Add support for labeled module references

Port of https://github.com/haskell/haddock/pull/1315

:sparkles:


Metrics via cadvisor broken

Requires upgrade to OpenShift 1.3.0-alpha.3 once it's released.

Fixed.


Add an credential definition based on any existing/published schema from the same ledger as the tenant

So this would be adding a cred def without having to make yourself (the tenant) a copy of a schema and then make the cred def based on that schema?

Ok, we could probably pretty easily have a separate "create cred def" that takes a schema rather than the only method in the UI now which is to create a def from one of the schemas in your list of strored schemas.
Though I think the UX around creating and managing your cred defs is pretty confusing right now so would wrap this up in whatever re-think of that is needed,

Yes, the UX should be reviewed and updated. I agree with you that cred def is a "tricky" concept.
For now, we could just input the schema id (as on the ledger) by hand, if it is not picked from the list of ids stored in the wallet.

This feature is already implemented , according @swcurran


[WIP] feat/mock: allow apps to provide initialisation options to force use of mock routing

Coverage decreased (-0.04%) to 92.831% when pulling 640b5e395cc9ead196a1a58495c51674df3301fb on bochaco:mock-flag into 55c55301be890e8845cb335f686e6a79df224de2 on maidsafe:master.

Coverage decreased (-0.04%) to 92.831% when pulling 640b5e395cc9ead196a1a58495c51674df3301fb on bochaco:mock-flag into 55c55301be890e8845cb335f686e6a79df224de2 on maidsafe:master.


fix precommit issues

fix precommit issues

Codecov Report

Merging #3170 (2d02cc7) into main (01eb19c) will increase coverage by 0.11%.
The diff coverage is 96.11%.

@@            Coverage Diff             @@
##             main    #3170      +/-   ##
==========================================
+ Coverage   82.20%   82.31%   +0.11%
==========================================
  Files          54       54
  Lines        6000     6060      +60
==========================================
+ Hits         4932     4988      +56
- Misses       1068     1072       +4

Impacted Files
Coverage Δ

flax/training/checkpoints.py
68.29% <75.00%> (+0.07%)
:arrow_up:

flax/linen/recurrent.py
97.27% <96.87%> (-0.53%)
:arrow_down:

flax/linen/transforms.py
94.14% <100.00%> (ø)

flax/training/orbax_utils.py
66.66% <100.00%> (+1.28%)
:arrow_up:

... and 1 file with indirect coverage changes


python37Packages.shodan: 1.14.0 -> 1.17.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-shodan/versions.
meta.description for python37Packages.shodan is: '"Python library and command-line utility for Shodan"'.
meta.homepage for python37Packages.shodan is: '"https://github.com/achillean/shodan-python"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.17.0 with grep in /nix/store/ml9d088ac6qp5z1wsg5n4i0vr3fm0my7-python3.7-shodan-1.17.0

directory tree listing: https://gist.github.com/0dd08aec93f1a0a87d2ed78a96f9c573

du listing: https://gist.github.com/d2341ae1f3ac47ee9b365fe8a686d1ec

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.shodan
python37Packages.shodan

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ml9d088ac6qp5z1wsg5n4i0vr3fm0my7-python3.7-shodan-1.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.shodan https://github.com/r-ryantm/nixpkgs/archive/b73bf95fbf308913bf095b8e45858810a69729a7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ml9d088ac6qp5z1wsg5n4i0vr3fm0my7-python3.7-shodan-1.17.0
ls -la /nix/store/ml9d088ac6qp5z1wsg5n4i0vr3fm0my7-python3.7-shodan-1.17.0/bin

cc @lihop for testing.

should be closed in favor of #70017, leaving open so @r-ryantm doesn't attempt to rebuild


feat: add CONTAINER_APP_REPLICA_NAME in spans #18136

What does this PR do?

Add CONTAINER_APP_REPLICA_NAME env variable to spans for Azure

Motivation

This information is useful to find which container has an issue or is impacted
Issue 18136

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I'm actually going to hold off on merging this. While I do think that it would solve the issue with non-distribution metrics (each payload would contain a unique set of tags), there's an unintended side effect where metric cardinality would blow up as new containers spin up/down. I'm not sure how much of a problem this is yet, but we'll look into it.


Important thing regarding deb files

Hey I have important question.
Do you have copy of this files :
vapoursynth_48-1_amd64.deb
imagemagick_7.0.9-8-1_amd64.deb
Issue is that bintray is now gone and we cant access this files anymore.

Apparently the original creator totally abandoned this project, it can no longer be downloaded from his page.
Fortunately, I managed to save those two files since they are the most important pieces.
https://drive.google.com/file/d/1K2_tBgRLb_kYR-2AYJEGuUt4r9V6Gkeq/view?usp=sharing
https://drive.google.com/file/d/1aoT3kzeVYqSlhAeTY7OdbuUvBlHaVucj/view?usp=sharing


Add usage data config file to usage prototype gitignore

Closing in favour of https://github.com/alphagov/govuk-prototype-kit/pull/1690


[stable/nginx-ingress] Deploy the default backend in the namespace nginx is watching

Nginx will not see the default backend service if it is deployed in a
different namespace than the one nginx is watching.
See https://github.com/kubernetes/ingress-nginx/blob/3751159e27d70b258782542ecec90fd22b05a400/pkg/ingress/controller/controller.go#L458

/cc @mgoodness

Helm seemed to have trouble when deploying to multiple namespaces.Closing this issue and will open a PR against nginx-ingress.
Workaround: Create the default backend manually instead of letting the chart create it, and set controller.defaultBackendService


Add gen-erl into test's path

Fix erlang tests

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Thanks!!


Help with integration test intermittent i18n error

This is most likely something that I do, but I can't seem to figure out why.
Environment

Ember Version: 2.8
Ember CLI Version: 2.8
Ember CP Validations Version: 3.5.4

Steps to Reproduce
I'm not sure how to reproduce this, but on integration test of a component where I use ember-cp-vallidations, I intermittently get the following error:
TypeError: i18n.exists is not a function
    at Class.getDescriptionFor (http://localhost:4200/assets/supervision.js:26345:26)
    at Class.superWrapper [as getDescriptionFor] (http://localhost:4200/assets/vendor.js:43091:22)
    at Class.createErrorMessage (http://localhost:4200/assets/vendor.js:277282:44)
    at Class.validate (http://localhost:4200/assets/vendor.js:274280:55)
    at http://localhost:4200/assets/vendor.js:275820:26
    at http://localhost:4200/assets/vendor.js:275914:17
    at Array.map (<anonymous>)
    at generateValidationResultsFor (http://localhost:4200/assets/vendor.js:275891:23)
    at Class.<anonymous> (http://localhost:4200/assets/vendor.js:275819:31)
    at Class.<anonymous> (http://localhost:4200/assets/vendor.js:275160:19)

The integration test looks something like this:
test('it raises an error when user select specific and nothing is selected', function(assert) {
    this.setProperties({
        data,
        component: null
    });

    this.render(hbs`{{multi-policy-selector registeredAs=component data=data}}`);

    this.$('[data-test-select-button-value]').eq(1).click();

    assert.ok(this.$('.error-message .alert-danger').hasClass('hidden'), 'Error message is not shown');

    // Test that if nothing is provided, error message shows.
    run(() => this.get('component').isValid());
    assert.ok(!this.$('.error-message .alert-danger').hasClass('hidden'), 'Error message is now shown');

    const filters = Ember.A([
        Ember.Object.create({ id: null, name: 'foo' }),
        Ember.Object.create({ id: '1', name: 'foo/bar/bar' })
    ]);

    // Test that if we save something, error message is hidden again.
    run(() => this.get('component').send('save', filters));
    assert.ok(this.$('.error-message .alert-danger').hasClass('hidden'), 'Error message is not shown');
});

I think the bit that causes this issue is run(() => this.get('component').isValid());, and this isValid() is basically this in the component:
isValid() {
    const isValid = this.get('validations.isValid');
    this.set('_hasError', !isValid);
    return isValid;
},

I'm not 100% sure but this looks like something is failing within the ember-cp-validations. I'm trying to figure this out but not sure where to start. Is there any idea about this error message?
Appreciate the help! 😄

This is no longer an issue. Thank you!


[ROCm] fixed gpu_kernel_tiling_test on RowReductionCorrectShmemUsage's fusion part

LLVM upstream has updated the fusion part, the original one doesn't correct.
@cheshire
Thanks

Hi @i-chaochen Can you please check @cheshire's comments and keep us posted ? Thank you!

Hi @i-chaochen Can you please check @cheshire's comments and keep us posted ? Thank you!

I have answered @cheshire question.

Apologies, the conversation above still seems unresolved?

Since this one takes too long and there are other tests within gpu_kernel_tiling_test need to be fixed, I think it's best to close this one and we push a new PR to XLA to fix all in gpu_kernel_tiling_test.cc at once.


'by_chanels' normalization issue between different splits

Hi Illarion,
Thanks for the beautiful code.
I have a question regarding the 'by_chanels' normalization on the CIFAR-10 test set. It seems like, when preprocessing the CIFAR-10 test set, you are computing the means of test set instead of training set since the CifarDataSet objects compute the individual mean of different splits(train/val/test). However, would it be correct that the preprocessing statistics has to come only from the training set?
(Reference: http://cs231n.github.io/neural-networks-2/, 'common pitfalls' paragraph)
Correct me if I misread your code.
Again, thanks for your work and It is a great implementation of DenseNet.

Hi,
Yes, you must be right. I'll try to fix it, but I don't know exactly when I have free time.
Thank you for reporting the issue.

@ikhlestov Thanks for your reply.
It's just several lines of code. I can update the code with a PR if you don't mind.

It will be cool. I'll try to test it on some of my servers.


Don't validate images when using OLM

Signed-off-by: Kevin Earls<EMAIL_ADDRESS>A couple of minor fixes here.  First, skip the two test cases that validate that we are using the correct jaeger-operator and elasticsearch-operator images when using OLM, as it's currently a bit difficult or at least cumbersome to know this ahead of time.  Also, while I originally added these as a sanity check, I'm not sure we really need them any longer.
Also, don't call os.Exit() when a test fails and we're in debug mode.  This is not working as I had thought it would, and I need to come up with another approach for this.

@jpkrohling @objectiser Please review


iOS plugin

In the future it would be nice to see plugin for swift and maybe objective-C.

There is now a plugin to export Lottie animations. Lottie is an animation library for iOS, Android and web. You can read more about it here: https://www.keyshapeapp.com/blog/open-edit-and-export-lottie-animations-in-keyshape
Here’s instructions how to use Lottie in iOS / macOS: https://github.com/airbnb/lottie-ios
Do you think that solves this issue?

I will give it a try. I need to work on an animation for a Holiday card
1st.
Happy Holidays,
David Mermelstein
Shaping Connected Experiences
Linkedin http://www.linkedin.com/in/merms |<PHONE_NUMBER>
“Before jumping right into solving a problem, we should step back and
invest time and effort to improve our understanding of it.”

Albert Einstein

On Mon, Dec 18, 2017 at 3:45 AM, Pixofield<EMAIL_ADDRESS>wrote:

There is now a plugin to export Lottie animations. Lottie is an animation
library for iOS, Android and web. You can read more about it here:
https://www.keyshapeapp.com/blog/open-edit-and-export-
lottie-animations-in-keyshape
Here’s instructions how to use Lottie in iOS / macOS:
https://github.com/airbnb/lottie-ios
Do you think that solves this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Pixofield/keyshape-plugins/issues/1#issuecomment-352375508,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVgFNe3r9oswTwWqK7ReDIUd-q9hy90ks5tBjRGgaJpZM4QzYrd
.

ᐧ


Python interpreter not found on conda/win32

Describe the bug
Using Anaconda on Windows 10, nox skips all sessions that explicitly specify a python version using the session decorator, e.g. @nox.session(python="3.6"), even though a python interpreter of the correct version is present in the path:
(base) C:\dev\mytest>where python
C:\ProgramData\Anaconda3\python.exe

(base) C:\dev\mytest>python --version
Python 3.6.5 :: Anaconda, Inc.

How to reproduce
Create a noxfile.py with at least one session that explicitly specifies the python version, e.g.
import nox

@nox.session(python="3.6")
def with_version36(session):
    print("With python 3.6")

@nox.session(python="3.7")
def with_version37(session):
    print("With python 3.7")

@nox.session(python="3.7")
def without_version(session):
    print("Without python version")

Install Anaconda, open Anaconda Prompt, install nox, navigate to the directory containing the noxfile, and run nox:
(base) C:\>pip install nox
...
Successfully installed colorlog-3.2.0 nox-2019.5.30

(base) C:\>cd C:\dev\mytest

(base) C:\dev\mytest>nox
nox > Running session with_version36
nox > Session with_version36 skipped: Python interpreter 3.6 not found
nox > Running session with_version37
nox > Session with_version37 skipped: Python interpreter 3.7 not found
nox > Running session without_version
nox > Creating virtualenv using python.exe in .nox\without_version
Without python version
...

Checking the location of the interpreter reveals that there is a python 3.6 in the path:
(base) C:\dev\mytest>where python
C:\ProgramData\Anaconda3\python.exe

(base) C:\dev\mytest>python --version
Python 3.6.5 :: Anaconda, Inc.

I also tried it out in another 3.7-conda environment, even matrioshka'd inside a pipenv environment, with the same results.
Expected behavior
I expected both sessions with_version36 and without_version to run.
I think the python interpreter of the correct version should be discoverable on conda, too.
Is nox perhaps looking for python binaries by name (expecting python3.exe, python36.exe and so on), instead of finding all interpreters in the path and then checking --version?

Yes, nox looks for binaries by name. I usually end up install all the Python versions from python.org, even if I don't use them for my project development environment, since nox usually finds those.

Thanks for the workaround @tswast! What are the chances of a change like this being accepted to nox (searching by name first, but also in path, if by-name match not found, check --version on binaries without version number)? I would be willing to contribute a PR. :) Would probably need some hints on how to unit test this, though.
Context of my use case: I am in the process of creating a machine-learning-related library where I want to keep the bar low for contributions (hence nox ;) ). I expect contributions particularly from Windows users, where, in the ML realm, Anaconda rules supreme. I was hoping to be able to hide much of the complexity of setting up a dev environment for my library behind pipenv and nox.

Hrm. Nox tries to find interpreters (by name) in your PATH first, failing that on Windows it uses the Python launcher (py.exe) as implemented here.
If the Conda interpreter is in your path as python3.6.exe I'm not sure why it's not finding that.

If the Conda interpreter is in your path as python3.6.exe I'm not sure why it's not finding that.

In my experience with conda, they only add a python binary, not a versioned name.

@schuderer You might want to use the conda venv_backend I want to add in https://github.com/theacodes/nox/pull/217
It uses a different way to find Python interpreters, namely by passing the python=version_num parameter to conda create.

In my experience with conda, they only add a python binary, not a versioned name.

Oh h*ck.
We could add a final case to our resolver that looks for python.exe and checks its version if y'all wanted.

@schuderer You might want to use the venv_backend="conda" I want to add in #217
It uses a different way to find Python interpreters, namely by passing the python=version_num parameter to conda create.

Thanks, that looks neat! Unfortunately for me, while this is useful for cases where you know beforehand that the contributor running nox is using conda, this is (if I understand the PR correctly) not the case if you want to keep it the noxfile as independent as possible.
For this use case, @theacodes' suggestion would fit the bill IMO:

We could add a final case to our resolver that looks for python.exe and checks its version if y'all wanted.

Update: I tried py.exe -3.6 and Anaconda3 does not seem to make a py.exe available (command not found). So to me it looks like Thea's suggestion would solve this (for me 😁 ).

I also stared long and hard at Continuum, but they didn't flinch. In other words, not bundling python launcher (py) with Anaconda appears to be a conscious decision, and Continuum won't budge: ContinuumIO/anaconda-issues/issues/149
So, while Anaconda adding py would have been the best solution, it doesn't seem to be very realistic, and nox being able to version-check a python interpreter in the PATH would be the next best solution IMO.


/away sets you as offline

Shouldn't it mark you with a yellow dot or something, to show you're away and not offline?
Would also be useful with a /busy command, where the dot would turn red and you won't get any notifications, etc.

A pale, or slightly transparent white dot might fit the color scheme nicely too.


How do I ignore warnings when at the top of a module file?

I asked the same question in the flake8-docstrings repo, but I have since switched to ruff so curious if this is possible.
I use sphinx and at the top of my py files I have this:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
my-module
=========
Some notes about my module
"""

These warning are incorrect in the this context:
1 blank line required between summary line and descriptionFlake8(D205)
First line should end with a periodFlake8(D400)
I can't put a blank line above ======= because that breaks the headings and I also don't want to put a period after my heading. How can I ignore in just these cases?
EDIT
So looking here: https://stackoverflow.com/questions/7877522/how-do-i-disable-missing-docstring-warnings-at-a-file-level-in-pylint
It seems with pylint I could have disabled C0114, how do I do that with the rust project.toml?

You can ignore rules using
https://github.com/Siecje/htmd/blob/b8702ebabaa33cf91200488a89ce32b75a2ea449/pyproject.toml#L48-L50
or ignore rules for a specific file using.
https://github.com/Siecje/htmd/blob/b8702ebabaa33cf91200488a89ce32b75a2ea449/pyproject.toml#L72-L74

Yeah I'd suggest taking a look at https://docs.astral.sh/ruff/configuration/. You can either use per-file ignores to ignore in certain files, or disable the rules entirely.


[Enhancement] Reduce memory copies and fix some clang-tidy warnings

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

run starrocks_be_unittest


CC2652R Flashed but wont pair

Hi, fantastic to see router firmware for the CC2652, however, after flashing i am unable to pair it with my CC2531 coordinator (ZAigbee2mqtt) Nothing appears in the logs of Zigbee2mqtt.
How could I troubleshoot this?
Thanks :)

Did you click the button your CC2652 and wait 20 seconds after that?
If that doesn't work sniff the traffic while trying to join: https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

Did you click the button your CC2652 and wait 20 seconds after that?
If that doesn't work sniff the traffic while trying to join: https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

Reflashed and clicked (I think I was missing the single click after flashing) and it has now paired, thanks :)

Reflashed and clicked (I think I was missing the single click after flashing) and it has now paired, thanks :)

Which button was that @jimmyeao ?

The button on the stick, I use this one https://electrolama.com/projects/zig-a-zig-ah/


fix clipboard

The clipboard was mostly there but I fixed some bugs that it works.
Also fixed a related crash with drag and drop, but that support is lacking.
Also did some refactoring in preparation for some further work I need to do to this interface.

Hmm.

Open gedit
Open gnome-calculator
Copy answer from gnome-calculator
Attempt to paste into gedit

Yeah it's still broken, but it used to segfault when you did that before.
This will be my next project after I get wl_shell to work correctly and fix some other stuff with the surfaces.

Ah, cool.


ci: add codecov

Fixes #73

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0967e9f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master     #74   +/-   ##
========================================
  Coverage          ?   41.7%
========================================
  Files             ?      19
  Lines             ?    8339
  Branches          ?       0
========================================
  Hits              ?    3478
  Misses            ?    4470
  Partials          ?     391

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 0967e9f...9d9eb63. Read the comment docs.

the amount of output is pretty customizable -- you shoudl have access as repo owner -- it can also be controlled via a yml config file in the repo


migrating material-ui v4 to mui v5

Signed-off-by: Aditya Chatterjee<EMAIL_ADDRESS>Description
Changes in this PR are breaking, @sudo-NithishKarthik could you please take a look at what is going wrong here.
This PR fixes #
Notes for Reviewers
DO NOT MERGE
PR CONTAINS BREAKING CHANGES.
Signed commits

[ ] Yes, I signed my commits.

Codecov Report

Merging #5303 (7d18dc9) into master (9db8b7d) will decrease coverage by 4.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5303      +/-   ##
==========================================
- Coverage   17.35%   13.03%   -4.32%
==========================================
  Files         107      107
  Lines        9864     9864
==========================================
- Hits         1712     1286     -426
- Misses       7731     8302     +571
+ Partials      421      276     -145

Flag
Coverage Δ

gointegrationtests
?

unittests
13.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-58.95%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.88% <0.00%> (-55.19%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
1.14% <0.00%> (-55.18%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
1.92% <0.00%> (-48.08%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
2.15% <0.00%> (-44.61%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.26% <0.00%> (-36.96%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.03% <0.00%> (-23.03%)
:arrow_down:

mesheryctl/internal/cli/root/system/dashboard.go
1.70% <0.00%> (-9.41%)
:arrow_down:

mesheryctl/pkg/utils/healthcheck.go
8.82% <0.00%> (-4.42%)
:arrow_down:

Continue to review full report at Codecov.

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

@Abhishek-kumar09 this is only for the Docker desktop extension, doesn't affect Meshery UI

Oh I see it now. Thanks @warunicorn19


(feat) Implement gallery looping

To enable gallery looping set the loop option
baguetteBox.run('.gallery', {
    loop: true
});

Clicking last image gives bounce because it is mention in show(index,gallery) baguttebox.js... instead use the below code in show(index.gallery) function  -> if index is less than 0 - showfirstimage and if index is greater than array length - showlastimage instead of bouncing..
function show(index, gallery) {
if (!isOverlayVisible && index >= 0 && index < gallery.length) {
prepareOverlay(gallery, options);
showOverlay(index);
return true;
}
if (index < 0) {
if (options.animation) {
showLastImage();
}
return false;
}
if (index >= imagesElements.length) {
if (options.animation) {
showFirstImage(0);
}
return false;
}
currentIndex = index;
loadImage(currentIndex, function() {
preloadNext(currentIndex);
preloadPrev(currentIndex);
});
updateOffset();
if(options.onChange) {
options.onChange(currentIndex, imagesElements.length);
}
return true;
}

@kavithakavithap your code doesn't make sense. I've tested it on several devices and it works fine.
I'm waiting for more people to confirm that.

@kavithakavithap your code doesn't make sense. I've tested my solution on several devices and it works fine. Make sure you enable the looping with loop: true.
I'm waiting for more people to confirm that.

Adding loop: true has had no effect. Do I need a newer version of baguetteBox? I am using version 1.8.1.

@mountaineer25 you need to clone the repository and check out to the branch gallery-looping. This feature is not released yet.

I've tested this and it works, but the effect is not as nice as I would have hoped. When moving from the last image to the first the "image roll" very quickly rolls back through all the images to the first one. Sort of like quick rewind. And vice versa in the other direction. It would be nicer if the animation went directly to the first/last image without moving through every image in between.

So the looping is some kind of 'rewind' effect?
If the gallery had 4 images for example, ideally it should function something like this:
click image 1
then repeated right arrow key click or swipe:
image 2 displays
image 3 displays
image 4 displays
image 1 displays
image 2 displays
image 3 displays
image 4 displays
image 1 displays
image 2 displays
image 3 displays
image 4 displays
no rewinding effect just a round and round we go 1 2 3 4 1 2 3 4 even increments.

@ketonik as mentioned in my previous comment, that's currently not possible.

2>feimos, that deserves unhappy face 😢
So is not possible now but is there some magic you have to make possible soon?

Here is one called colorbox, this all can do continuous cycling 123,123, maybe can check his code and get some clues to make work same in Baguettebox?
http://www.jacklmoore.com/colorbox/example1/
loop	true	If false, will disable the ability to loop back to the beginning of the group when on the last element.
http://www.jacklmoore.com/colorbox/

Sorry, to implement that I'd have to rewrite a significant part of the script, the current logic underneath does not support it what basically means creating v2. I'm very busy now and can't address it anytime soon.
This pull request is the most I could do for the time being.

Is this something that will be released soon? Or does anyone know a workaround?

easy work around is just add all the photos again below with anchor tags a few times. This won't slow your page as it's just links. and as you add nothing in the a tags, they'll be invisible as they have 0 height 0 width.

`


look for introgression signals

probably pushing it but pattersons f3 seems to be pciking up sweeps. Why?


QUIC server doesn't listen on my localhost

Hey guys,
When I run my QUIC server it doesn't listen on my google chrome browser. I already enabled the QUIC flag in my chrome and make my localhost as an https using Nginx. but in the program side terminal, it successfully listens to the address. How to listen to QUIC server on my browser.

...? No replay.?


doc: refactor useClientEffect$ to useBrowserVisibleTask$

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
refactored the deprecated useClientEffect$ to useBrowserVisibleTask$ in tutorial and additional places in the docs.
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Hi @kerbelp 👋
Thanks a lot for this docs updates 🙏  just recognized that there are some conflicts. would you mind to resolve them? thanks once again 🎉

Hi @zanettin, I resolved the conflicts :)


arch/risc-v: remove macro test for ipi function

Remove the check on RISCV_IPI in riscv_ipi_send/clear and let build fail if RISCV_IPI is not defined.
Fixup: 4f63ca1418 ("arch/risc-v: unfiy IPI access)
This fixed https://github.com/apache/nuttx/pull/12178#discussion_r1581985451

Ok, this change catches one place which forget to modify in original patch:
====================================================================================
Configuration/Tool: star64/nsh
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
In file included from chip/jh7110_irq.c:35:
/github/workspace/sources/nuttx/arch/risc-v/src/common/riscv_ipi.h: In function 'riscv_ipi_send':
Error: /github/workspace/sources/nuttx/arch/risc-v/src/common/riscv_ipi.h:37:26: error: 'RISCV_IPI' undeclared (first use in this function)
   37 |   putreg32(1, (uintptr_t)RISCV_IPI + (4 * cpu));
      |                          ^~~~~~~~~

jh7110_irq

Yes, it is a surprise for me. I think the original patch just forgot to add the definition. I will try to fix them.

OK, after some searching, it seems I need to implement sbi_ipi_send for bl808 and jh7110, the only support S-mode.

Close this PR and favor the new PR  #12250 implement of sbi_ipi_send


[question] Can I use your gitbook in a project I'm working on?

I'm working on a project of compiling some learning resources for Swift and I stumbled up your gitbook I was wondering if I could include it in my git repo. Also what License is this under? I would like to be able to give you proper credit.

Hi, Yes, you are more than welcome to use it. I just updated the repo to include the MIT license, so you're free to use it.
The code was working under Swift v1.x so there might need to be changes to make it compatible with v2.
Thanks for asking.

No problem!


Interactive tutorial for HTML/CSS

What does this PR do?
Add resource
For resources
Description
It is a website called Frontend Mentor where anyone can learn HTML or CSS by solving challenges.
Why is this valuable (or not)?
It is valuable since it gives a person practical knowledge about the way around the programming language and also the solved challenges can be used as a valuable addition to their professional experience.
How do we know it's really free?
Most of the challenges are free which I feel is sufficient.
For book lists, is it a book? For course lists, is it a course? etc.
It is a link to a website.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

the challenge I clicked on was not free.
it's more of a website than an interactive tutorial


Escape schema for postgres

If the name chosen for a schema contains certain characters, it must be
surrounded in quotes. This ensures those quotes are added when choosing the
schema by setting the search_path.

@apechimp could you please also add a test which would fail without your changes?

Sure thing! Apologies for not following the contribution guidelines!

:)
Seems like such things gettting forgotten fast, I should point out such things out more in the readme. I'm going to clean the readme up anyway, before v0.10.x appears.
I'm currently also working on the documentation, to make it easier in the future to dive into the project.
http://db-migrate.readthedocs.org/en/latest/Developers/contributing/

Test added!

ok everything is fine now :)


[AVM Module Issue]: Change @allowed values in "kind" to lowercase to match actual values

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/web/serverfarm
(Optional) Module Version
No response
Description
Current values allowed are using upper-case letters, which is causing a modify to happen at every run.
@description('Optional. Kind of server OS.')
@allowed([
 'App'
 'Elastic'
 'FunctionApp'
 'Windows'
 'Linux'
])
param kind string = 'App'

What-if output:
 ~ Microsoft.Web/serverfarms/asp-xxx-xxx [2022-09-01]
   ~ kind:                                 "linux" => "Linux"

The allowed decorator is case-sensitive, so values must be fixed in the module
@description('Optional. Kind of server OS.')
@allowed([
  'app'
  'elastic'
  'functionapp'
  'windows'
  'linux'
])
param kind string = 'app'

It's not causing a functional issue, it's just kind of annoying always seeing this in every pipeline run.
(Optional) Correlation Id
No response

Hi @sajense Thanks for opening the issue. It makes sense. In order to be backward compatible, we can lowercase it inside module itself.


Community testing

Per discussion on the Community Development meeting, here is an initial pass at a pre-release testing info document. Feedback very much welcome.

I admit I'm not really sure how useful the discussion category approach is for collection test feedback.
In general there are two goals for this pre-release testing:

Getting a release signal, i.e. how well does the release work and did anybody even test it.
I suspect it will be pretty hard to extract some solid metrics from from free from discussion entries. Something like the system from Jenkins would probably be much more useful here, maybe also in connection with some weekly release channel. But I admit somebody would have to sit down and build such a system first.
Finding bugs.
Those should e reported as actual bugs and some information where to do this would be useful. The OKD GitHub? The component GitHub? Redhat JIRA? I don't know for sure myself. Also, this is only useful if somebody actually sits down to triage and fix those bugs. I guess this comes down to the question of how much resources the OKD project actually has and if RedHat engineers are willing to investigate OKD bugs (which are probably also Openshift bugs).

It seems that all UPI "pre-release" install/tests are excluded by this procedure as "./openshift-install create cluster"only allows IPI install
Is there another "procedure" for testing UPI installed clusters ?
Thx


Project Page - When we create project validation not showing message for project title

Describe the bug

only project title get red border its message is not showing like company field

https://www.berrycast.com/conversations/8daaf0ef-c561-5cf4-a3e9-ba50a7c0d137

https://www.berrycast.com/conversations/a37d427e-ae82-5a25-80c1-e720113ea4e2


remove atla specific code

This PR removes ATLA specific code. An accompanying PR in ATLA will add the necessary code there.
It also:

removes self.parser_fields from the parser - this doesn't appear to be used any more
moves the identifier setting in the entry build to the top, I introduced a bug where the identifier was not being set (because of unnecessary cacheing).

@geekscruff merge at will!


[SYSTEMML-445] Major refactoring of the GPU Memory Manager

Several bugfixes found during recent experiments with ResNet200.
Added align_memory eviction policy
Added GPU usage documentation
Refactored the GPU Memory Manager into distinct components

@nakul02 Can you please review this PR? This PR only deals with refactoring during the recent ResNet200 experiments and doesnot contain LSTM or Batch Normalization kernel. Once this PR is in, it will simplify the LSTM PR.

Can an Admin verify this patch?

Thanks @nakul02 ... I will merge. We can reuse our templatized reduction in a differen PR.


Quick start ipynb: Text inconsistent with code cell.

It looks to me as if the variable run that is referenced in the test, should really be the variable state. Maybe the name has been changed in the past without changing the line of text? (Alternatively, I might just not understand what's going on there and where the variable run is supposed to come from.)

You're right - Thanks!


STUCK window after monitors removed/changed

Version: 1.0.82
Platform: win32 10.0.17763
Plugins: none
When I'm working on my laptop on a dock, then remove the laptop from the dock and move elsewhere the entire program locks up. I'm left with a fully black "Terminus" screen that does not respond to resize/close commands - and as far as I can tell it does not function any longer either. Task manager must be used to force the program closed.  No issues after re-opening.

I have seen the same issue with both Terminus and VSCode on Window 10 version 1803 Build 17134.706
There is a workaround. Pressing Alt-Space then selecting move from the menu that appears allows you to use the cursor keys to move the window back onto the current desktop/monitor.

this work around is not working for me. I get the arrows to move it, but the window will not move from that screen.


[Feature]: Symlink of current of Java should be JAVA_HOME

1. Your usage scenarios?
I want to point my Java IDE (IntelliJ) to a specific JAVA_HOME directory.
´C:\Users\koppor.version-fox\cache\java\currentis a very good directory for that. However, the symlink points to the sub directorybin of the current JDK (´C:\Users\koppor.version-fox\cache\java\currentpoints toC:\Users\koppor.version-fox\cache\java\v-21.0.2+13\java-21.0.2+13\bin` in my example)
2. What is your expected outcome?

´C:\Users\koppor.version-fox\cache\java\currentpoints toC:\Users\koppor.version-fox\cache\java\v-21.0.2+13\java-21.0.2+13`
The PATH has C:\Users\koppor\.version-fox\cache\java\v-21.0.2+13\java-21.0.2+13\bin (instead of without bin

This way, one can point the IDE to the path ...current... without worrying the IDE not re-evaluating JAVA_HOME environment variable when switching JDKs.

I think, that could also solve the issue Error: could not find java.dll
C:\Users\koppor\.version-fox\cache\java\v-21.0.2+13\java-21.0.2+13\bin>java.exe
Usage: java [options] <mainclass> [args...]
           (to execute a class)
   or  java [options] -jar <jarfile> [args...]
...
C:\Users\koppor\.version-fox\temp\1719957600-73328\java\current>java
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

C:\Users\koppor\.version-fox\temp\1719957600-73328\java\current>cd C:\Users\koppor\.version-fox\cache\java\current

C:\Users\koppor\.version-fox\cache\java\current>java
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

Refs https://github.com/version-fox/vfox/issues/305 (asking for a static JDK folder)
Refs https://github.com/version-fox/vfox-java/issues/16 advertisting fixes for 0.5.3. I will try to update my vfox.


Introduce CSS standard

This takes the work that @Scotchester and @cfarm did and adds a little bit of meat to it. It is still incomplete, but hopefully gives us a good starting point.
Review
@Scotchester @cfarm

One general comment: please add semantic line breaks throughout. After that, :+1:

:golf:


Updating Agones version to 1.7

Terraform 0.12.6 and above should be used. Tested with Terraform 0.13.
Fixed destroy.sh script to work with Helm 3.

Since 1.8 comes out next Tuesday, should we just jump ahead to 1.8?
Also, now we're on helm 3, can we remove the whole destroy.sh entirely?

We can now push this to 1.8 :smile:

That's true, will update this PR after testing.

Just met this issue:
https://github.com/hashicorp/terraform-provider-helm/issues/509
It seems that they are connected with files left after switching from Helm2 to Helm3 terraform configs.

This version was tested and ready for Review. Note that agones-tf was used as directory name due to aforementioned bug in Helm Terraform provider.

Performing a test terraform apply right now after rebasing on latest master.


Current Update breaks, rust Repl not outputing result.

Describe the bug
A clear and concise description of what the bug is.
Initially, I'm facing an issue where sniprun is not able to load imported modules from Cargo.toml After disabling and renabling, I faced the following bug:
E5108: Error executing lua ...afidegnum/.local/share/nvim/lazy/sniprun/lua/sniprun.lua:125: invalid key: cterfg
stack traceback:
	[C]: in function 'nvim_set_hl'
	...afidegnum/.local/share/nvim/lazy/sniprun/lua/sniprun.lua:125: in function 'highlight'
	...afidegnum/.local/share/nvim/lazy/sniprun/lua/sniprun.lua:138: in function 'setup_highlights'
	...afidegnum/.local/share/nvim/lazy/sniprun/lua/sniprun.lua:192: in function 'start'
	...afidegnum/.local/share/nvim/lazy/sniprun/lua/sniprun.lua:196: in function 'notify'
	...afidegnum/.local/share/nvim/lazy/sniprun/lua/sniprun.lua:291: in function 'info'
	[string ":lua"]:1: in main chunk

Can you please assist in the cause of the bug?
this is my current sniprun configuration:
  {
    "michaelb/sniprun",
    event = "VeryLazy",
    ft = { "python", "lua", "rust" },
    build = "sh install.sh",
    opts = {
      -- selected_interpreters = { "Python3_fifo" },
      -- repl_enable = { "Python3_fifo" },
      live_display = { "VirtualTextOk", "TerminalOk" },
      display = { "VirtualTextOk", "NvimNotifyErr" },
      live_mode_toggle = "enable",
      inline_messages = true,
      -- selected_interpreters = { "Python3_fifo" },
      selected_interpreters = {
        "Python3_original",
        "Lua_nvim",
        "GFM_original",
        "Rust_original",
        "JS_TS_deno",
        "Go_original",
        "C_original",
      },
      repl_enable = { "Python3_fifo" },
      interpreter_options = {
        Rust_original = {
          compiler = "rustc",
        },
      },
      snipruncolors = {
        SniprunVirtualTextOk = { bg = "#66eeff", fg = "#000000", ctermbg = "Cyan", cterfg = "Black" },
        SniprunFloatingWinOk = { fg = "#66eeff", ctermfg = "Cyan" },
        SniprunVirtualTextErr = { bg = "#881515", fg = "#000000", ctermbg = "DarkRed", cterfg = "Black" },
        SniprunFloatingWinErr = { fg = "#881515", ctermfg = "DarkRed" },
      },
    },

    config = function(_, opts)
      require("sniprun").setup(opts)
      -- TODO: patch to use Kitty.lua
      -- local sd = require "sniprun.display"
      -- sd.term_close = function() end
      -- sd.term_open = function() end
      -- sd.write_to_term = function(message, ok) end
    end,
    cmd = "SnipRun",
    keys = {
      { "<leader>Tx", "<Plug>SnipRun", desc = "SnipRun Line" },
      { "<leader>To", "<Plug>SnipRunOperator", desc = "SnipRun Operator" },
      { "<leader>TQ", "<Plug>SnipReset", desc = "SnipRun Reset" },
      { "<leader>TX", "<Plug>SnipReplMemoryClean", desc = "SnipRun Clean" },
      { "<leader>TI", "<Plug>SnipInfo", desc = "SnipRun Info" },
      { "<leader>Tq", "<Plug>SnipClose", desc = "SnipRun Close" },
      {
        "<leader>Ts",
        function()
          require("sniprun").run("v")
        end,
        mode = { "v" },
        desc = "Selection",
      },
    },
  },

Hi @afidegnum , sorry about that
This is due to a bad example in the documentation for snipruncolors config (cterfg =/ ctermfg) that was there since a long time ago.
The new highlighting in v1.3.12 is more configurable, but less permissive, so it breaks only now
You appear to specify the default highlights anyway, so you can either remove the whole snipruncolors key, or correct the invalid cterfg keys to 'ctermfg'

Can you also guide on the Rust issue?
Imported modules seems not to be recognized. is there a way to include Cargo.toml or how can i include modules to be recognized by sniprun ?

Unfortunately, this feature doesn't exist for Rust (yet)
Language with that kind of capabilities in sniprun are labeled at SupportLevel 'Import', and only a couple exist for now, as it requires per-language code. I'm not against implementing it, but there's a little bit more than just grepping the use xxx; statements

Ok, Thanks,


refactor: LogicETH refundCallback and return

Summary by CodeRabbit

Bug Fixes

Improved control flow in the ETH bridge logic to enhance contract reliability.

mg


How to set catalog prefer as public in vscode setting?

Description
Is possible to set catalog prefer as public from vscode setting?
It seems that vscode-xml always set catalog as system id.
As far as I know, I can set catalog using CatalogManager.properties in java code.
I did not find the corresponding setting(prefer=public) in vscode-xml.
The below code is CatalogManager.properties which used to validate xml in java code.
e.g.
catalogs=C:\\DITA-OT\\catalog-dita.xml
relative-catalogs=yes
#verbosity=99
prefer=public
static-catalog=yes
allow-oasis-xml-catalog-pi=yes

It sounds like you are referring to a specific use case of XML that is outside the scope of XML Tools. XML Tools does not perform any sort of XSD validation or transformations. It only provides generic formatting, XPath evaluation, and XQuery execution (which itself is outsourced to the XQuery evaluator of your choice). I don't think I can help here.


💄(provisioning) improve Videos Teacher Dashboards layout

Purpose
Global layout has to be improved for video dashboards as some new dashboards are embedded and others are deleted.
Proposal
Restructure layout of Overview and Details Teachers Video Dashboard

Don't forget the CHANGELOG!


Show all messages from server

Show all info on server chan instead of just motd and notice messages.

PS: The good snipping tool!

I don't think slate-irc sends any events with that information. Another issue for #24

Ah, I doubt it would be difficult to implement your own client code for IRC, its a very basic protocol.

+1 Would be a good option to see server messages, or the option too.

Slate uses the motd event for these messages; definitely supported.

#167 shows connection related messages, nothing about server capabilities yet though.

"all messages" is not very descriptive. master now shows all the connection related messages that are raised by irc-fw. If you would like to see other specific information (e.g. server capabilities), create a new issue for each of these please.


Cannot load model on the GPU with llama-cpp-python (Windows)

This is how I am loading the model using Python, but it uses only the CPU:
Llama(model_path="./functionary-7b-v2.q4_0.gguf", n_ctx=4096, n_gpu_layers=50)
I have also tried to re-install llama-cpp-python using the instructions below but that didn't help:
set CMAKE_ARGS="-DLLAMA_CUBLAS=on"
set FORCE_CMAKE=1
pip install --upgrade --verbose --force-reinstall llama-cpp-python --no-cache-dir
My GPU has only 8GB of VRAM, could that be the reason? I saw in the readme that this model requires 24GB of VRAM...
However, other models such as Mistral are loading on my GPU just fine. So I am assuming that my Cuda installation is correct.

Hi, we have recently integrated our models into llama-cpp-python directly. Here's how you can use it. Can you try it and see if it works now?
I tested it on my end using the following code and the model loads using 4.835GB GPU VRAM.
llm = Llama.from_pretrained(
  repo_id="meetkai/functionary-7b-v2-GGUF",
  filename="functionary-7b-v2.q4_0.gguf",
  chat_format="functionary-v2",
  tokenizer=LlamaHFTokenizer.from_pretrained("meetkai/functionary-7b-v2-GGUF"),
  n_ctx=4096,
  n_gpu_layers=-1,
)

Hi, we have recently integrated our models into llama-cpp-python directly. Here's how you can use it. Can you try it and see if it works now?
I tested it on my end using the following code and the model loads using 4.835GB GPU VRAM.
llm = Llama.from_pretrained(
  repo_id="meetkai/functionary-7b-v2-GGUF",
  filename="functionary-7b-v2.q4_0.gguf",
  chat_format="functionary-v2",
  tokenizer=LlamaHFTokenizer.from_pretrained("meetkai/functionary-7b-v2-GGUF"),
  n_ctx=4096,
  n_gpu_layers=-1,
)

Yes it works.
Quick question: is there a way to load a local GGUF file instead of downloading it from the hub?

Sorry for being so late but yes, you can load a local GGUF file by just initializing the Llama class directly. Here's a guide showing how.


Bug

Hey Nate,
Thanks for adding the embed feature to gokibitz.  I'm having problems with the embed feature though.  Are you able to see the source for this preview of a post of mine?
https://php-flakeman2.rhcloud.com/?p=42&preview=true
I believe I've got all the code embedded correctly but let me know if I'm missing something.
Devin

Sorry you're having an issue, Devin!
Because I'm not logged in to your WP Admin, I can't see your preview. If you want, you could set me up with an admin account and I can help debug that way. (You can send me details at<EMAIL_ADDRESS>

Thanks Nate - I just added an admin account for you.  It should have sent you an email with the password.  Let me know if you need anything else.

Thanks Devin! That let me figure out the issue pretty quickly.
Your site is served up on https, and it won't allow embedding resources from http sites. The only real solution is for me to get GoKibitz on https, which I'd thought about doing anyway, since that's the direction everyone on the internet is moving in the post-Snowden world. The only thing is that SSL certs cost money, so I'd put off looking into it.
Let me check out my options and get back to you.

I've started the process of getting an SSL certificate so I can provide https, which is something I've wanted to do anyway. I'll let you know when things are good to go.

Cool - good to hear :)

@flakeman2 Complete! GoKibitz can now be accessed via https, which means it can be embedded on your site. I went ahead and modified your HTML snippet, and it's working in the preview.
Let me know what your experience is with the embedded mode... you'll be the first user to do it.

Awesome!  Thanks Nate - I'll try and get a post together soon :)


Spyder 3 can't inspect values through the variable explorer while debugging

When I debug a script using IPython console in spyder 3.0.0, I can see my variables listed in the variable explorer but when I try to inspect any variable there is an error message pops up. I think inspecting variables (especially DataFrame) while debugging was doable in spyder 2.3.8. I also tried debugging in Python console and there was no error message and I can check (double click) any variable through the variable explorer.
What steps will reproduce the problem?
The attached screenshot shows my script file and the error message.
Please provide any additional information below

Versions and main components

Spyder Version: 3.0.0
Python Version: 2.7.11
Operating system: Win 8

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  1.5.1 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.10.4 (OK)
pandas >=0.13.1  :  0.18.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pyflakes >=0.5.0 :  1.3.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.5.4 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.10.3 (OK)
sphinx >=0.6.6   :  1.4.8 (OK)
sympy >=0.7.3    :  1.0 (OK)

Thanks for reporting. The error message is quite clear: this is still not supported yet, and probably it won't be until Spyder 4.0 :-)

The thing is we internally changed how Spyder interacts with IPython kernels, so inspecting variables while debugging is not so easy anymore :-)

I understand this question has been answered, but this issue is a show stopper for me.  The ability to easily inspect and visualize variables like dictionaries and dataframes while debugging is the main reason why I use the Spyder IDE over others.  Thus, I will continue to use Spyder 2.3.9 for now.
I would be curious to understand the logic behind this decision, and what the timeframe for it's implementation in Spyder 3.X is.  Thank you.

@AndyCash1, we decided to restructure the way we create and connect to IPython kernels to make that process much more robust. In Spyder 2.3 it was very, very brittle and so we had lots of complaints about it.
We'll try to restore this in Spyder 3.1 but I can't make promises about it.

I completely agree with @AndyCash1. Sure it is always a good idea to fix issues but not at the expense of removing one of the most important tools for debugging.

@camendoza94 I also need this feature while debugging under Spyder 3.1.2. If you remove Python console in Spyder 3.2, do you restore this feature in Spyder 3.2?

You're right. We'll fix this in Spyder 3.2

Hi, glad this will be fixed in 3.2. To us too, this is a critical feature. Closely related to issue #4013 I think.

Excellent, happy to hear this feature will be put back in.

Yes, please fix this.  Spyder was sweet when the variable inspection was working.

This is going to be fixed in Spyder 3.2 (to be released in two months or so).

Oh man, thanks, can't wait.  As others have said, I think the debugger and the ability to examine variables are one of the most important things in Spyder.

Is there any alternative IDE that currently has this feature?

Is there any alternative IDE that currently has this feature?

Not that I know of. But good place to ask for the competition, eh? ;-)

@daofeng2007 Spyder 2.3.9 is great and has this feature. Strongly recommended until Spyder 3.2 is out (which, I understand will have this feature back).

@CharlesVellutini Thanks man. I just downgrade to Spyder 2.3.9. It's really a remedy for my hard day.

I agree that this should be given priority. This feature is critical for my work.

This is basically solved in PR #4202. We just need to add tests to it.

I am facing simmilar issue. Nothing is visible in variable explorer.
Can someone help me in installing Spyder 2.3.9.
I tried downloading zip file from https://pypi.python.org/pypi/spyder/2.3.9 and followed instruction to install. But application crashes when I try to launch. Am I missing anything ?

Hi nehalahri, I have the Anaconda distribution.  I have 2 machines that I downgraded to 2.3.9.  And I had to do it differently on each one!
The first I used anaconda commands to remove the current version of spyder and install 2.3.9:
conda remove spyder
conda install sypder=2.3.9
This worked for my desktop but not my laptop.  For that, I used the Anaconda Navigator program.  If you launch that, then, for each app you can start, there is a little settings wheel in the top right of the box around the app.  Click on that and choose to install a specific version.
Best of luck.
Can't wait for 3.2....

Thanks Davo36,
I found another fix which is working for me. I am using python console now and then change display options on variable explorer it refreshes variable to display and all variable are visible on variable explorer. Apart form this way of refreshing variable explorer everything is working smoothly.

How can I update to 3.2? The in IDE pdate only check up to 3.1.4. Thanks

It has not been released yet. It will be in a week or two.

Hi, Can you please confirm if this has now been fixed in the new release 3.2.1? I am currently using 2.3.9 because of the debugger issue.

Hi all,
I just tested it and it works for me. Debugging functionalities back to normal in v3.2.1
Thanks a lot for your great work.
Charles
De : amehrish<EMAIL_ADDRESS>Envoyé : vendredi 1 septembre 2017 16:17
À : spyder-ide/spyder<EMAIL_ADDRESS>Cc : Charles Vellutini<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Objet : Re: [spyder-ide/spyder] Spyder 3 can't inspect values through the variable explorer while debugging (#3555)
Hi, Can you please confirm if this has now been fixed in the new release 3.2.1? I am currently using 2.3.9 because of the debugger issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/3555#issuecomment-326592051, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALVWrhcPYS_V7hEAa6fwCxrN5-5YcbTMks5seBHCgaJpZM4Kaha3.

@CharlesVellutini, thanks for testing!

Thank you Charles and Carlos! Appreciate it.


”Uriu” is listed in the drop-down menu

Description:
"Uriu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Uriu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Uriu, Bistrița-Năsăud".


Improve updating behaviour

Rename use of "preinstall" to "auto update". The original "preinstall" naming came from the fact that we used to only auto-update before brew install but now that it's many commands: this is more confusing than useful.
Add HOMEBREW_NO_UPDATE_REPORT_ONLY_INSTALLED and remove HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED; the latter is now the default and the prior provides an opt-out for better output, performance and avoiding reading potentially untrusted formulae.
Add HOMEBREW_UPDATE_FORMULA_VERSION_CHECKS and don't check formula versions by default for better performance by default.

CC @boblail for thoughts.

Review period will end on 2022-05-19 at 19:58:52 UTC.

Outside of the environment variable description mentioned above, this looks good to me. I tested out this branch and I like the configurability the new environment variables allow (they work as expected for my use case).
The installed-only brew update behavior does feel like a sensible default for the average user. As someone who runs brew update several times a day, I'm occasionally surprised at how long some users can go between updates. On the off chance that someone hasn't updated for a while and then runs brew update (instead of brew install or brew upgrade), the installed-only output should be considerably less overwhelming (especially with the increased output from version-changes-only filtering being disabled by default).

Review period ended.


AttributeError: module 'numpy' has no attribute 'object'

Current version cant start.
AttributeError: module 'numpy' has no attribute 'object'.
np.object was a deprecated alias for the builtin object. To avoid this error in existing code, use object by itself. Doing this will not modify any behavior and is safe.
Reproduce:
Just clone this git and follow intructions

I am not sure what this is. Please provide the full spec of your running environment.
NOTE: I have replaced all the code base, so please try once again.