HIP 103: Urbanization data is 5 years old and won't be updated until 2030

Deployments in urban areas that were constructed after the 2020 census are not fully rewarded. Please include a way to manually add urban areas that aren't automatically pulled in from the census data.

There won’t be a way to add urban areas. If there’s points of interest in un-urban areas with foot fall, they will get max rewards once footfall oracle is released.
This HIP doesn’t want to incentivize deployments outside of areas with high footfall.


Getting 0 result

Getting 0 result  each time .all method giving 0 result.

same issue!

Also getting the same issue

It seems Google asking for captcha.so bot not able to search

yeah, someone needs to fork a fix to use google search API or another search company

Now using Google's CSE API.


In lession 1, OOM when using gpu version tensorflow as keras backend, but i think i got enough memory

I Think I got enough gpu memory:
see log  "Free memory: 3.55GiB"
for the these part  2.02GiB +  798.06MiB, but it gives me an OOM error.
I'm using tensorflow-gpu==1.3.0 and Keras==2.0.8 on a single GeForce GTX 960 card
This is log:
name: GeForce GTX 960
major: 5 minor: 2 memoryClockRate (GHz) 1.2025
pciBusID 0000:01:00.0
Total memory: 3.94GiB
Free memory: 3.55GiB
2017-10-23 22:07:24.232475: I tensorflow/core/common_runtime/gpu/gpu_device.cc:976] DMA: 0
2017-10-23 22:07:24.232478: I tensorflow/core/common_runtime/gpu/gpu_device.cc:986] 0:   Y
2017-10-23 22:07:24.232483: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1045] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 960, pci bus id: 0000:01:00.0)
Found 23000 images belonging to 2 classes.
Found 2000 images belonging to 2 classes.
Epoch 1/1
2017-10-23 22:07:27.979547: W tensorflow/core/common_runtime/bfc_allocator.cc:217] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.02GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.
2017-10-23 22:07:38.053482: W tensorflow/core/common_runtime/bfc_allocator.cc:273] Allocator (GPU_0_bfc) ran out of memory trying to allocate 798.06MiB.  Current allocation summary follows.
2017-10-23 22:07:38.053544: I tensorflow/core/common_runtime/bfc_allocator.cc:643] Bin (256): 	Total Chunks: 1, Chunks in use: 0 256B allocated for chunks. 4B client-requested for chunks. 0B in use in bin. 0B client-requested in use in bin.
....

Use smaller batch_size (32) to solve this.


The headings in the Subject page look unattractive.

@ADRE9 The headings: CLASSES and LABS, look unattractive. Please allow me to enhance their look. I am a GSSOC'21 Participant and this would be a good first issue for me. Thankyou!

@ADRE9 Can you now assign me to work on this issue?

Okay! But it doesnt show me as ' assigned' yet? @ADRE9

I was to tell mentors to assign people from tomorrow. But you know it's the time you are asking for that made me assign it right now. All the best!


Regenerate all the mgmt RPs

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API changes have been detected in Azure.ResourceManager.AppConfiguration. You can review API changes here

API changes have been detected in Azure.ResourceManager.EventHubs. You can review API changes here

API changes have been detected in Azure.ResourceManager.Resources. You can review API changes here

API changes have been detected in Azure.ResourceManager.DeviceUpdate. You can review API changes here

API changes have been detected in Azure.ResourceManager.Compute. You can review API changes here

API changes have been detected in Azure.ResourceManager.WebPubSub. You can review API changes here

API changes have been detected in Azure.ResourceManager.Cdn. You can review API changes here

API changes have been detected in Azure.ResourceManager.Communication. You can review API changes here

API changes have been detected in Azure.ResourceManager.KeyVault. You can review API changes here

API changes have been detected in Azure.ResourceManager.StoragePool. You can review API changes here

API changes have been detected in Azure.ResourceManager.ServiceBus. You can review API changes here

API changes have been detected in Azure.ResourceManager.ConnectedVMwarevSphere. You can review API changes here

API changes have been detected in Azure.ResourceManager.Sql. You can review API changes here

API changes have been detected in Azure.ResourceManager.EdgeOrder. You can review API changes here

API changes have been detected in Azure.ResourceManager.Hci. You can review API changes here

API changes have been detected in Azure.ResourceManager.CosmosDB. You can review API changes here

API changes have been detected in Azure.ResourceManager.DesktopVirtualization. You can review API changes here

API changes have been detected in Azure.ResourceManager.Network. You can review API changes here

API changes have been detected in Azure.ResourceManager.AppService. You can review API changes here

API changes have been detected in Azure.ResourceManager.ExtendedLocation. You can review API changes here

API changes have been detected in Azure.ResourceManager.Dashboard. You can review API changes here

API changes have been detected in Azure.ResourceManager.Storage. You can review API changes here

Changes merged into https://github.com/Azure/azure-sdk-for-net/pull/27634

API changes have been detected in Azure.ResourceManager.HybridConnectivity. You can review API changes here


Exceptions in the transformer shouldn't cause it to crash

e.g. miroData.title.get when miroData.title = None

Closing for now, as the transformer has changed a lot in the last six months.


Update metadata-schema.rst

modified texts to improve clarity

I merged the PR. That means it is adopted into #4. But the latter is still pending merge into the default branch.


duration metric for http paths

HTTP path duration metric. Slight refactor of handlers. See #2

Thanks!


Add EnableSignal, useful for making Instances compatible with EnableInserter

 Issue by Fatsie
Wednesday Dec 25, 2019 at 12:31 GMT
Originally opened as https://github.com/m-labs/nmigen/issues/285

I am making wrappers around existing RTL code using Instance. These block have a clock input. This structure seems to not be compatible with EnableInserter. This issue is to see if there is a way to make it compatibl or alternatively at least have a warning or error when using EnableInserter.
Reduced example code is this:
#!/bin/env python3
from nmigen import (
    Signal, Elaboratable, Module, EnableInserter, ClockSignal, Instance
)
from nmigen.build import Platform
from nmigen.back.verilog import convert

class dff(Elaboratable):
    def __init__(self):
        self.d = Signal()
        self.q = Signal()

    def elaborate(self, platform):
        m = Module()

        m.submodules.inst = Instance(
            "DFF",
            i_clk=ClockSignal(), i_d=self.d, o_q=self.q,
        )

        return m

class dffce(Elaboratable):
    def __init__(self):
        self.ce = Signal()
        self._dff = _dff = dff()
        self.d = _dff.d
        self.q = _dff.q

    def elaborate(self, platform):
        m = Module()

        m.submodules.dff = EnableInserter(self.ce)(self._dff)

        return m

top = dffce()
top_code = convert(top, ports=[top.ce, top.d, top.q])
with open("top.v", "w") as f:
    f.write(top_code)

Giving the output:
/* Generated by Yosys 0.9+932 (git sha1 ff8529a, gcc 4.8.5 -fPIC -Os) */

(* generator = "nMigen" *)
(* \nmigen.hierarchy  = "top.dff" *)
module dff(d, q, clk);
  (* src = "/home/verhaegs/anaconda2/envs/nmigen/lib/python3.7/site-packages/nmigen/hdl/ir.py:538" *)
  input clk;
  (* src = "./ceinserter.py:10" *)
  input d;
  (* src = "./ceinserter.py:11" *)
  output q;
  DFF inst (
    .clk(clk),
    .d(d),
    .q(q)
  );
endmodule

(* generator = "nMigen" *)
(* top =  1  *)
(* \nmigen.hierarchy  = "top" *)
module top(d, q, clk, rst, ce);
  (* src = "./ceinserter.py:25" *)
  input ce;
  (* src = "/home/verhaegs/anaconda2/envs/nmigen/lib/python3.7/site-packages/nmigen/hdl/ir.py:538" *)
  input clk;
  (* src = "./ceinserter.py:10" *)
  input d;
  (* src = "./ceinserter.py:11" *)
  output q;
  (* src = "/home/verhaegs/anaconda2/envs/nmigen/lib/python3.7/site-packages/nmigen/hdl/ir.py:538" *)
  input rst;
  dff dff (
    .clk(clk),
    .d(d),
    .q(q)
  );

The ce signal is not used.

Denominating from 0.3 milestone since implementing this well requires a fairly significant rewrite of the internals. Perhaps that would be a good thing to do in 0.4.


How to use router with server side rendering

As I know, isomorphic apps use the same routing as on a client. That's means server should always return index.html page and routes should be handled by react-router or something like this when are rendered on the server side. Otherwise, after the page is loaded any future route change will lead to page reload.
How can I implement this tenet in the approach described here   since I need to pass the appropriate model to @Html.React? Should it be something like server side routing with the single concern to retrieve the corresponding model based on the current route?
thank you for your hard work

The newly-added React.Router package should help you use React Router with server-side rendering. #476 tracks adding a sample project.

Thanks

@optimatex I opened a PR here, hope it is helpful #479


Fixed #413 NullPointerException in query with setGroupLevel() without re...

...duce function and no data

Just added null check

@pasin Could  you please review codes. This is minimal code change. I will also send PR for unit test on Android.


update semver to address  Regular Expression Denial of Service (ReDoS)

semver module for serverless-plugin-log-retention is old. npm audit report shows that it is high on vulnerability.

Address issue #12 : https://github.com/serverless/serverless-plugin-log-retention/issues/12

Hello @surajsnair92! Thanks for opening this PR, I'm facing the same problem in a repository.
@MichaelRBond Can you approve this PR and release a new version with the fix?

I can approve the PR, but, i am not a maintainer on this repo so I cannot merge or release a new version.

cc @ArtificerEntertainment

@MichaelRBond Great, thanks for your quickly response. Let's await to @ArtificerEntertainment to merge and release the fix. We're looking forward to it.

@medikoo Can you merge it?

@gustavosimon I'm no longer with Serverless Inc. and I don't have rights to manage contributions here. I believe you need to reach out to @austencollins or @mmarzex

@Mmarzex can you merge it?

@Mmarzex can you merge it?

I think that as @medikoo saw, @Mmarzex may merge it.


Add support for searchNotFoundWidget in DropdownSearchData

The widget to display when no suggestions are available.
DropdownSearchData(
  // ....
  searchNotFoundWidget: const Padding(
    padding: EdgeInsets.all(8),
    child: Text('No Items Found!'),
  )
)

@AhmedLSayed9 can you take a look please?

Can you update ReadMe options to include this too?

@AhmedLSayed9 can you take a look please?

Sure, I have updated the ReadMe and added an example image in this PR

@AhmedLSayed9 can you take a look now?

@chayanforyou You've missed a pending review above.

@AhmedLSayed9 how can it solve the pending review?

Here's my review above:

I think noResultsWidget is a better naming and it should come after the searchInnerWidgetHeight property.
Also, I think we should rename searchInnerWidget[Height] to searchBarWidget[Height] (it should be in another PR)

Ignore the searchInnerWidget, I'll take care of that.

Thanks. Please add it to next release.

Why did you close the PR? 😆

I was just asking to rename searchNotFoundWidget to noResultsWidget and put it after searchInnerWidgetHeight.
You can open a new PR with these edits. Thanks!


1.20 releases

#⚛👋 Hello there! Welcome. Please follow the steps below to tell us about your contribution.

Copy the correct template for your contribution

🐛 Are you fixing a bug? Copy the template from https://bit.ly/atom-bugfix-pr
📈 Are you improving performance? Copy the template from https://bit.ly/atom-perf-pr
📝 Are you updating documentation? Copy the template from https://bit.ly/atom-docs-pr
💻 Are you changing functionality? Copy the template from https://bit.ly/atom-behavior-pr

Replace this text with the contents of the template
Fill in all sections of the template
Click "Create pull request"

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us halfway :grinning:

I'm very interested in learning more electron

You should check out the resources on the electron repository then.


Fully Qualified Domain Names

This change allows you to use "@" and "www" names when creating records. So this:
zone.record "@", "A", 18600, "<IP_ADDRESS>"

Is equivalent to this:
zone.record "example.net.", "A", 18600, "<IP_ADDRESS>"

And this:
zone.record "www", "A", 18600, "<IP_ADDRESS>"

Is equivalent to this:
zone.record "www.example.net.", "A", 18600, "<IP_ADDRESS>"

@quartzmo What are your thoughts about this?

Sometime today I'll check the Cloud DNS web UI and the gcloud cli tool to see if they offer anything like this. A comment in this issue makes me think maybe so:

make a new RR set of type A at 'www', and... create a CNAME at www that...

The gcloud command-line tool makes no attempt to validate or qualify names:
Christophers-MacBook-Air:gcloud-ruby quartzmo$ gcloud dns record-sets transaction start --zone example-zone
Transaction started [transaction.yaml].
Christophers-MacBook-Air:gcloud-ruby quartzmo$ gcloud dns record-sets transaction add  --name @ --ttl 1234 --type A "<IP_ADDRESS>" --zone example-zone
Record addition appended to transaction at [transaction.yaml].
Christophers-MacBook-Air:gcloud-ruby quartzmo$ gcloud dns record-sets transaction add  --name www --ttl 1234 --type A "<IP_ADDRESS>" --zone example-zone
Record addition appended to transaction at [transaction.yaml].
Christophers-MacBook-Air:gcloud-ruby quartzmo$ gcloud dns record-sets transaction execute --zone example-zone
ERROR: (gcloud.dns.record-sets.transaction.execute)
Invalid value for 'entity.change.additions[1].name'<EMAIL_ADDRESS>(code: 400)
Christophers-MacBook-Air:gcloud-ruby quartzmo$ gcloud dns record-sets transaction execute --zone example-zone
ERROR: (gcloud.dns.record-sets.transaction.execute)
Invalid value for 'entity.change.additions[1].name': 'www.' (code: 400)

The developer console makes it easy to use fragments when adding records. It prohibits you from using names with dots in them! See screenshot below, in which I added @ and www.

That's interesting. It is making an attempt at a FQDM by adding ".", because I suspect most folks say "example.com" and not "example.com.".
I think the proper values need to be highlighted in the gcloud-ruby documentation. We can do better in that area.

The developer console seems to reinforce the thought that it only allows one subdomin level in a zone. You can't have "relay01.mail.example.com." in a zone for "example.com.", for instance. Does that change our thinking about what values should be supported?

Only allowing one subdomain level in a zone also has implications for import. It seems reasonable that a zonefile can have more than one subdomain level, or more than one domain.

Perhaps a better algorithm is to add he zone's dns name if the name given for the record doesn't contain a "."... Hmmm...

Here's some background on nested subdomains. I think in Cloud DNS it will require a new Zone for the subdomain, but I haven't tried it.


add hyper-v detect logic for the windows server 2016.

resolving https://github.com/cloudfoundry-incubator/cfdev/issues/45

@aemengo Hi, Anthony, the fix you did is not 100% correct. because the "Hyper-V Module for Windows PowerShell" can live without Hyper-V feature.
so only check the "Hyper-V Module for Windows PowerShell" on windows server 2016 is not enough.
could you please help merge my commit, thanks.


Move tests back into frameworks/ folder

For https://github.com/github/codeql/pull/8883

I like it.
But does the MaDTest.qll file belong in an experimental/ folder? How about putting it in TestUtilities?

But does the MaDTest.qll file belong in an experimental/ folder? How about putting it in TestUtilities?

I hoped no one would see that :see_no_evil: The answer is no, it should not be there. But the other test library code should not be there either :grimacing:
If you care about this, I can move it, but I am inclined to just leave it for some proper cleaning :smile:

If you care about this, I can move it, but I am inclined to just leave it for some proper cleaning :smile:

I'll merge this. Then I'll leave that refactor for you at a later time.


Added https://remotive.com job site

I have added https://remotive.com to the remote jobs section

@Kevin-Kip Thanks for the awesome add, but I have to refuse the PR since you've also pushed your .idea folder.
Please create a PR again and only push what is needed.
Thanks!


how to get the post data

hi:
in my case ,this is my code :
@post('/file')
def file(request):
    for m in request.post():
        print(m)

i want to get the post data, and the post request is :
curl -XPOST --data-binary @myfile "http://<IP_ADDRESS>:8888/file"

but  the result is print nothing , actually, i want to get the data (a file named myfile)
how can i fix it ?

request.post is a coroutine.
you must use yield from
for m in (yield from request.post()):
....


can not use django_gtts, getting ModuleNotFoundError:

Hello Dev,
thanks for making djagno gtts app. I'm trying to integrate with my django project (following your instruction) but getting the following error:
return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gTTS'

FYI - I'm already using gTTS app with my project and it's working fine.
Your suggestion will be highly appreciated.
Happy coding.
thanks.
AM.

День добрый
В приложении надо исправить строку:
if not isfile(path.join(temp_path, ext_file.file_name)):
на
if not path.isfile(path.join(temp_path, ext_file.file_name)):
иначе получаем ошибку "Exception name 'isfile' is not defined"

Hello,
having the same problem .
Pls give a proper solution on how to fix it.
I rlly want to use it since i think its a great package.
Thx in advance for any help
OmegaHawkeye

Файл для правки лежит здесь : venv/lib/python3.6/site-packages/gTTS/templatetags/gTTS.py
В нем надо исправить строку:
if not isfile(path.join(temp_path, ext_file.file_name)):
на
if not path.isfile(path.join(temp_path, ext_file.file_name)):
Обратиться  к методу isfile через импортируемый path (из строки выше from os import path, makedirs, remove ) библиотеки os

I already did that but as soon as I add 'gTTS' to installed apps or to the urls it throws an error like this:
return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gTTS'

I researched and it might be bc the File is named like the module 'gTTS' u r using.
Would be great if u get that fixed.
Thx in advance, OmegaHawkeye

I fixed it with editing some source
in your env/Lib/site-packages/gtts/init.py add this code
`
from .version import version
from .tts import gTTS, gTTSError
all = ["version", "gTTS", "gTTSError"]
`
and in settings.py you need change gTTS to gtts and same for urls this work for me
i just wanted to use template tag {% say %} and this changes make it happend


Make it possible to use en.yml without subdirectories

I just tried to use this handy gem to edit translations via google docs - seems to be very good work! I have one problem with the approach of translations.yml: As far as I understand the code/ docs, i18n-docs forces me to use subdirectories like config/locales/:locale/*.yml. Different projects I am working for are using different directory structures, e.g. one big config/locales/:locale.yml or something like config/locales/mail/:locale.yml.
I would like propose a different approach for specifying relevant files translations.yml. What do you think about something like:
files:
  # config/locales/en.yml, config/locales/de.yml, ...
  :locale.yml: "http://docs.google.com/doc1"
  # config/locales/en/navigation.yml, config/locales/de/navigation.yml, ...
  :locale/navigation.yml: "http://docs.google.com/doc2"

Using :locale as a placeholder for de|en|ru|... should provide much more flexibility. What do you think about this approach? Is it worth in your opinion that I start working on this?

thats quite alright. sounds like that is the perfect solution for you! I'll be sure to check out the i18n-tasks gem


Inferred type of transparent def is RHS of opaque type

Compiler version
3.3.3
Minimized code
opaque type Opaque = Int
transparent inline def op: Opaque = 123

object Main {
   def main(args: Array[String]): Unit = {
      val o: Opaque = 123 // OK: does not compile
      val o2: Opaque = op //  BUG: Does not compile because inferred type is int, but should compile
   }
}

Expectation
In my opinion, the inferred type of o2 should be Opaque since Opaque is not transparent within Main. If the RHS of the opaque type is a private class, it manages to escape its scope and is inferred here even if it is not visible.

I think the actual inferred type is Opaque & Int, see #20434

It depends. If the type were Opaque & Int, then val o2: Opaque = op should compile, right? I encountered this problem mostly when writing transparent def macros and found that when the written type of the transparent method is fully qualified, then an intersection is inferred; when it is not fully qualified (and the transparent method is defined in the opaque type's transparent scope), then only the RHS is inferred.
package com.example
opaque type Opaque = Int
transparent inline def op: com.example.Opaque = 123

would probably infer val o2: Opaque & Int.


Bluesky: add label to bridged profiles

Label docs:

Lexicon: https://github.com/snarfed/atproto/blob/main/lexicons/com/atproto/label/defs.json
Labels currently handled by the official client/SDK:

https://github.com/bluesky-social/atproto/blob/main/packages/api/docs/labels.md
https://github.com/snarfed/atproto/blob/main/packages/api/definitions/labels.json

Sorry for the ping in this old issue but how do I get those labels to actually show up?
If I visit a profile I know to be bridged to the Fediverse in the app there is no label (making it a bit tedious to see who actually bridged or not).
Is there some sort of labeler I need to subscribe to to see this?

@KDederichs These are only "bridged from" labels on the bridge accounts I believe, while accounts native to Bluesky are not labelled at all by Bridgy.
(Additionally, these labels don't really work in a meaningful capacity for end users, since there's no labeller defining them.)
It would be helpful if there was a central labeller (for all networks combined) that surfaced these as badges on/to users (which could then also be used to provide that badge for native accounts bridged to elsewhere) 🤔

Ah yeah I see.
Yeah I was looking for something like:
You visit a Bluesky profile in the Bluesky app and then there would be a "Bridgy Federated" label or something so you can see with one glance that you could follow that person from the fediverse.

I think I'll file a feature request for this. It's something I've seen requested a few times and I think I have a decent understanding of some caveats when implementing it.


Cant unname / name post (conflict)

when i use /namepost  it says "The post is already named". but when i use /unnamepost  it says "The nearest post is not named"

do you have it named with non-ascii name?

i just noticed that this occurs with every post even ones ive never touched. and yes, no ascii

mine work fine, MC version? send the db of the posts


Make enum pattern matches print field names

I've changed the F# incomplete pattern match warning to spit out the actual names of enum fields when possible, still falling back to the usual enum<XYZ> 1 when necessary. With this change, this code:
type MyEnum = | A = 0 | B = 1 | C = 42
let f = function | A -> "foo"

now produces a more detailed warning:
warning FS0025: Incomplete pattern matches on this expression. For example, the value 'MyEnum.B' may indicate a case not covered by the pattern(s).

This also works when MyEnum.C is the incomplete case.

Can this be pulled in? @dsyme

@jwosty, thank you for this


Set data-badge property to inline

The default location for data-badge property for v2-invis is bottomright. I am having a problem with default location because it ends up being obscured by my footer. This runs contrary to the terms of service of using captcha. (See discussion here: https://stackoverflow.com/questions/44543157/how-to-hide-the-google-invisible-recaptcha-badge).
Is there anyway to specify data-badge to be inline?

A workaround would be put to set the z-index of the footer to -1.

I don't actually control the location via the library. However you could handle this with CSS. I am not sure if the violate terms if you changes where google decided it should go /shrug


SemanticException Cannot find class "com.lucidworks.hadoop.hive.LWStorageHandler"

I am trying to do the following and I am getting "FAILED: SemanticException Cannot find class 'com.lucidworks.hadoop.hive.LWStorageHandler'"
create external table IF NOT EXISTS movies_solr2(movieId INT, title STRING, genres STRING) STORED BY 'com.lucidworks.hadoop.hive.LWStorageHandler' LOCATION '/user/deep4u/solr/movielens_movies/' TBLPROPERTIES('solr.zkhost' = 'data1.cloudwick.com:2181,data2.cloudwick.com.com:2181,data3.cloudwick.com:2181/solr','solr.collection' = 'movies','solr.query' = '*:*');
The jar I am using is solr-hive-serde-3.0.0.jar. Is this a known problem with 3.0.0 jars?
Any help would be greatly appreciated.

@deepdoradla Did you add the jar? From the hive prompt: ADD JAR solr-hive-serde-3.0.0.jar;.
Also, I don't believe we've ever tested this with IF NOT EXISTS, but I would think it would give a better error than it can't find the class if that was the problem.

Hello, i tried below command for solr external table data. its return same error "FAILED: SemanticException Cannot find class 'com.lucidworks.hadoop.hive.LWStorageHandler'".
Command of Hive:
CREATE EXTERNAL TABLE solr_coldemo (id STRING, cat_s STRING, title_s STRING, price_f FLOAT, in_stock_b BOOLEAN, author_s STRING, series_s STRING, seq_i INT, genre_s STRING) STORED BY 'com.lucidworks.hadoop.hive.LWStorageHandler' LOCATION '/tmp/solr' TBLPROPERTIES('solr.server.url' = 'http://<IP_ADDRESS>:8984/solr','solr.collection' = 'collection1','solr.query' = ':');
Help me for same.
Thanks in advance!

@deepdoradla @jaymin009 Please share the build commands that you follow.
The command:  ./gradlew clean shadowJar --info creates a uber jar with all dependencies needed.
The exception:
 "FAILED: SemanticException Cannot find class 'com.lucidworks.hadoop.hive.LWStorageHandler'"

Usually means that the uber jar is missing some dependencies (build issues)

Hello I have the same issue, here are the commands I follow to build the Jar:
git clone --recursive https://github.com/lucidworks/hive-solr
gradlew clean shadowJar --info

Hi All, Is this issue solved or any alternate solution?


[Frontend Development: HTML,CSS,JS]: Media Queries

Description
What is Media Query?
How to use Media Query?
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


flutter run --profile always rebuilds the snapshot

Running an app using flutter run repeatedly without changing anything between runs rebuilds the APK (including the snapshot) each time. Ideally the APK/snapshot would only be rebuilt if one of the source files changed since the last build.
e.g. I used the stocks example benchmark, running it 10 times in a row for measurement
flutter run --profile -t lib/stocks/layout_bench.dart

Thanks for the feedback!

Likely a bug in our dependency tracking.  I'm presuming this was Android since you mention APKs.

dupe of https://github.com/flutter/flutter/issues/7673


ReferenceError: 'exports' is not defined  at  (/node_modules/frida-il2cpp-bridge/dist/index.js:2)

hello  i follow the step to install the frida-il2cpp-bridge

but i met errors
Spawned `com.games`. Resuming main thread!
ReferenceError: 'exports' is not defined
    at <anonymous> (/node_modules/frida-il2cpp-bridge/dist/index.js:2)

after wath https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki/Installation
i also copy and paste tsconfig.json but it still not work.
please help me.
extra info:
C:\Users\Administrator>node -v
v16.16.0

C:\Users\Administrator>npm -v
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.14.0

I can't help you unfortunately - https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki/Installation clearly shows which files do you need and what their content is, so you are probably missing something.

@vfsfitvnm Hi，Can you help me have a look ？Several methods have been tried 。
https://stackoverflow.com/questions/73047712/problem-with-installing-frida-module-frida-il2cpp-bridge

This issue can be resolved by using lower version of frida-compile.
It seems there's a lot a of change in frida-compile how it compiles. So follow wiki guides and anyone who encounter this issue must check their package.json and check frida-compile's version is ^10.2.4 .

after downgrade my frida-compile version to 10.2.4，it solved my problem.

@notwhy Alternatively, I recommend using esbuild instead of frida-compile, as it is wat faster than the latter - that's what I personally use in my playground.

Also, I apologize for being rude with you - unfortunately many people open issues about basic typescript stuff, and I always reply with contempt in such cases - I'm not a help desk.
This was not the case, however, you didn't include your project files and you didn't provide the commands sequence - so I couldn't help you further.

Don't feel guilty. You're too kind
Giving and helping without compensation should not be blamed.
I also forgot to post my command sequence (the URL of the installation https://stackoverflow.com/questions/69980349/problem-with-installing-frida-module-frida-il2cpp-bridge-and-make-it-running). I have tried other methods of installation, but this error occurs most often. I also tried to change the Frida compile version in the past. But there will be a timeout after the change, so I went to the Internet to find the installation tutorial, and found that it was the same. I suspected that there was a problem in some local environment, but I was a novice, and I didn't know how to solve it.
Now the problem is solved. :)
Thank you for your contribution to open source
Have a good day@vfsfitvnm

Hi @vfsfitvnm you mention in a comment that you're using esbuild in your playground. May I ask what settings you're using? Thanks!

Awesome, thank you very much!


[Bug][Memroy Leak]Fix bug TransactionState is not clear from idToFinalStatusTransactionState

This CL includes:

Memory leak because transactionState is not removed.
Extacting the clear logic to method to avoid forget.

Ref #3966


Event in Table 36 "Sales Header"

Can we have an Events in "Sales Header":

        field(2; "Sell-to Customer No."; Code[20])
        {
            ...
            trigger OnValidate()
            var
               ...
            begin
               ...
               SetBillToCustomerNo(Cust);
               IsHandled := false;
                OnValidateSellToCustomerNoOnBeforeValidateLocationCode(Rec, Cust, IsHandled);
                if not IsHandled then
                    Validate("Location Code", LocationCode);

                GetShippingTime(FieldNo("Sell-to Customer No."));
                ...

    [IntegrationEvent(false, false)]
    local procedure OnValidateSellToCustomerNoOnBeforeValidateLocationCode(var SalesHeader: Record "Sales Header"; var Cust: Record Customer; var IsHandled: Boolean)
    begin
    end;

Thanks
Willy

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 44168.


scipy.ndimage.find_objects GPU implementation

🚀 The feature
This function a basic building block of any biomedical or even manufacturing image analysis application.
Given an image containing multiple objects, say ~1000-10,000 objects, it provides the bounding box of each object.
It gives a list of tuple of slices of coordinates of labelled objects/cells within a mask image of dtype Uint16 or Uint8, assuming the image background is 0, and the labelled objects go from 1, 2, ..., max_label.
I was wondering it is possible to implement it in torch C++ using a simple TensorIterator.
Basically the simplest case would be it takes a 2D tensor of size (H, W) as input and
outputs a tensor of slices of size (N, 2) where N is the number of objects, and each row
is [slice(start,end,step), slice(start,end,step)].
which uses Iterators defined here:
https://github.com/scipy/scipy/blob/v1.10.1/scipy/ndimage/src/ni_support.h
cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Motivation, pitch
This function is the key that allows to embed traditional machine learning tools such as thresholding techniques (such as otsu, triangle, max_entropy, and etc), watershed segmentation, edge filters, dilation/erosion operations into pytorch. Traditional machine learning tools are very helpful and can still be used to achieve great image segmentation. They are backed by numpy and scipy libraries can analyze a single image at a time and can be parallelized across multiple cpus.
However, they are a lot slower compared to pytorch dataloader fetching data for GPU computing.
Platforms such as Nvidia RAPIDS are a failure to achieve this. They are not properly maintained and have lots of issues. They work with Numba and are very tricky to use and install.
Alternatives
It is much faster and much more efficient than torchvision.ops.masks_to_boxes.
The implementation in C numpy can be found here:
https://github.com/scipy/scipy/blob/v1.10.1/scipy/ndimage/src/ni_measure.c
Additional context
Can it also be extended to allow extract objects from a tensor of dimension (B, C, W, H) where B is the batch size, C the number of
channels and W is the width and H is the height.

Thanks for the feature request @kazemSafari . Is there an example of a CUDA implementation of such a util already? For the moment I'm a bit concerned that the complexity of implementation and maintenance cost aren't proportionate with the existing demand for such a utility

@NicolasHug Thanks for getting back to you. I can try to help build the cuda code myself with your help step by step. Also I can share my basic understanding of it if that helps. Also is there a way to invite others from community to invest some time on it?
It may not seem that beneficial at first but many application such as remote sensing, biomedical imaging, and manufacturing it is the key. All AI focus development focus is heavily biased towards RGB image applications. However, tiff uint16 images are also very important.
Usually there are 1000 of objects that needs to be detected and segmented in a tiff images.  Therefore, this function is the gateway that opens a lot of doors. It helps many applications to start benefitting from a proper GPU implementation.


[kafka] move away from gcr.io/google-samples image

We are using a gcr.io/google-samples images for kafka operator.
The gcr.io/google-samples is a stalled image and there are more issues to that image other than being stalled.
ref: https://github.com/helm/charts/issues/4540
We should replace the image with a community supported image that is as close to apache/kafka configuration and without tweaks done for a specific platform.

Agreed, I think we have the same notion in our Zookeeper Framework as well. I would propose we look first how other communities solve this, e.g. Helm/Bitnami before we settle for a decision.
On the top of my head...
I don't see KUDO in the business of building Docker containers or replicas of existing ones, so we need to be careful on what we decide here. Ideally, we adapt those that the community gravitates the most to.

helm is using the confluent community flavor of Kafka
bitnami is using their own image
I agree that Kudo should be really careful around building new container images, but in this case, we have only opinionated flavors of Kafka containers.
bitnami is really keeping up with upstream kafka releases but they are:

based on their own images e.g bitnami/minideb-extras:stretch-r360
have some defaults that need to be stripped out carefully e.g broker user/pass to user/bitnami, inter-broker user/pass defaults to admin/bitnami

other operators are also building their own images
e.g just discovered this through kafka user list: https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/kafka/Dockerfile

was fixed by https://github.com/kudobuilder/operators/pull/29


[WIP] Provisional Dropouts

This PR adds provisional support for Dropouts. Currently supported for Federated Clients. Some bugs exist: figuring it out and WIP!

Dropouts with FL clients is now supported.

Works with fl_static.py now.

Let me know what you think of moving most of the boilerplate code to one of the parent classes


$stateParams vs $transition$.params()

I was following https://ui-router.github.io/tutorial/ng1/hellosolarsystem and trying to get state params working. However, on trying to load a state with a resolve using $transition$ there was an unlogged error and nothing loaded.
I found in the hello universe docs @stateParams and that works fine.
What is the difference or do the docs need updating?

Related question (that might get answered by answering @jwickens' question about the difference between those two):
What is the best practice to access parameters inside Services?
Sometimes, I find it very cumbersome to obtain $transition$ inside a service, but documentation clearly states that $stateParams service should NOT be used anymore.
Is $state.params better option?

I found in the hello universe docs $stateParams and that works fine.

do the docs need updating?

Yes, since $stateParams are deprecated, the tutorial needs to be updated.  Thanks for noting this!

What is the difference

The difference is documented in the migration guide and in the `$stateParams docs  for 1.0.0-rc.1
The $stateParams that gets injected into routed controllers is the same as $transition$.params() which can be seen in the source code, where it is literally an alias for this.params().

@NeoGenet1c

What is the best practice to access parameters inside Services?

The $stateParams docs for 1.0.0-rc.1 give the suggested practice as follows:

inject $uiRouterGlobals and use UIRouterGlobals.params

I am trying to use $transition$ in my controller instead of $stateParams but get the following runtime error: Unknown provider: $transition$Provider <- $transition$.
I am using typescript with angular 1 and a webpack build with ng-annotate, my constructor code is below:
constructor(private $transition$: Transition) {
   'ngInject';
}

@theatrain check out https://ui-router.github.io/guide/ng1/route-to-component#accessing-transition

Perfect, that works. Thanks!

@christopherthielen , I think I'm having a similar problem where I need a $stateParams reset for parent state when sharing a single controller in child states:
http://stackoverflow.com/questions/41860680/angular-ui-router-state-params-reset-for-parent-when-sharing-controller-in-chi
If you could advise as I've researched the hell out of it and running out of ideas!

@harrylincoln did you come up with something?

Yes I did! Workaround that's a little messy but safe. I basically introduced an 'init' state that inits the detail states. I will post an answer to my own questions sometime today on stackoverflow, if you're interested :)

@christopherthielen was there any change to this? I'm using the legacy template style with Angular 1.2 and I get the provider error when injecting $transition$.

@samiraguiar this may help:
https://github.com/angular-ui/ui-router/issues/3309

@harrylincoln Thanks, Harry, but I think my problem is different.
I have a directive defined as:
angular.module('app').directive('myDirective', function($transition$) {});

And my route defined as follows:
{
    name: 'someRoute',
    url: '/path/to/route',
    template: '<my-directive></my-directive>'
}

But this gives me the "Unknown provider: $transition$Provider <- $transition$" error.
Here's a plunker showing the problem.
What am I doing wrong?

@samiraguiar pretty sure you've missing a step there. Your routing won't have access to your directives since it's bound to the app.config which (I believe) is instantiated before your directives/controllers.
Basically this won't work:
{
    name: 'someRoute',
    url: '/path/to/route',
    template: '<my-directive></my-directive>'
}

You need something like this:

Make sure your app knows what your directive is when initing the app:

angular
    .module(app, ['ui.router', require('angular-sanitize'), require('angular-animate')])
    .service('someService', requiredService)
    .config(routesConfig)
    .directive('myDirective', require('./app/directives/myDirective')) ...

Routing:

{
    name: 'someRoute',
    url: '/path/to/route',
    template: './template-that-uses-the-directive'
}

HTML itself:

<div class="container">
<my-directive></my-directive>
</div>

This is all in the ui router docs

@harrylincoln Thanks, Harry.
Indeed, apparently $transition$ is only injected as local when constructing the route's controller, but not when constructing the controllers for any directive within the template.
Got it working by chaning my directive code to:
angular.module('app').directive('myDirective', function($scope) {
    var id = $scope.$resolve.$transition$.param().id;
});

Though I don't find it pretty.

Makes sense. There are many ways to skin a cat in Angular ;)

If you are routing to a directive template, bind the transition object as an attribute like so:
    template: '<my-directive trans="$resolve.$transition$"></my-directive>'

If you are using route-to-component, you can use an input binding
.component('myCmp', {
  bindings: { '$transition$': '<' }
  controller: function() {
    this.$onInit = function() {
      this.$transition$.params()
    }
  }
});

then route to component:
.state({
  name: 'someRoute',
  component: 'myCmp'
});


Revert "Fix for сlosing message formatting"

Reverts Lawouach/WebSocket-for-Python#289

Please don't merge this. Merge #294 instead.

As #294 is merged, this one is no longer needed.


temp: Clean up usage of terms "binary" and "engine"

Replaced by https://github.com/prisma/prisma/pull/14109


Http errrors catching

Write a function to be executed before every query to the API that checks for various http errors and handles them in some way (e.g., retry in x seconds).
Known errors:

googleapiclient.errors.HttpError: <HttpError 503 when requesting link returned "The service is currently unavailable.". Details: "[{'message': 'The service is currently unavailable.', 'domain': 'global', 'reason': 'backendError'}]">
googleapiclient.errors.HttpError: <HttpError 499 when requesting link returned "The operation was cancelled.". Details: "[{'message': 'The operation was cancelled.', 'domain': 'global', 'reason': 'backendError'}]">

Done in the develop branch, might

Done in the develop branch, might handle each http error separately in the future.

Better handling now (increasing retrying times, specific error checking, better readability), will add more specific cases in the future. Still in develop branch only for further testing.

Published in the initial release.


Add pitch.com

Love the addin.  Pitch.com seems to be the new tool everyone is using.  Can we add that to SlidePrint?

Yep, let me take a stab at it this week. I agree, it's the hot new docsend.

Ah, looks like I already had this in development and just needed to push it out with a small change. Will in in the store shortly and I'll update this issue when it's out.

This is live in v2.3.1 of the extension. Thanks!

Can confirm it works as expected.  Love it.


Detect if user is already logged in at other domain with the same IDP

Hello,
Is it possible to check if the user is already logged in at another domain with the same IDP or else stay unauthenticated? When I invoke the "initCodeFlow()" function, the user is send to the IDP login page and redirected automatically if already logged in. However, when the user is not already authenticated the IDP login page requests the user to login. In this case, I want the user to be redirected to the application.
I have tried the "loadDiscoveryDocumentAndTryLogin()" method, but then the user remains unauthenticated.
Thanks in advance.

I recommend using a silent refresh mechanism. If it succeeds, the user was logged in. If it doesn't, no redirects happen, and you can be fairly certain the user should log in.
You can check my sample application which does exactly that.

Does this also work for the authorization code flow? The method "silentRefresh()" is documented as "Performs a silent refresh for implicit flow. Use this method to get new tokens when/before the existing tokens expire." I just tried to follow your example but it seems "silentRefresh()" isn't doing anything.
Is it possible to do a silent refresh when using the authorization code flow?

I think the docs are slightly outdated, from a time when Resource Owner Password flow was the alternative (where silent refresh doesn't work). It does work for Code+PKCE flow too (my sample does so) if your server allows it.
If you're using refresh tokens instead, then you just replace silentRefresh with refreshToken and you're good to go.
(Caveat: there are some growing issues with iframe-based silent refreshes though.)

Thanks! With your example and this documentation I managed to get it working.


Need help adding token to list

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ X] question about how to use this project

Summary
Having trouble adding my token to the

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

we are so sorry for the late reply kindly contact there live chat support on whatsapp -  +19546679281


problem in quizzes on program and course

Describe the bug
A clear and concise description of what the bug is.
there is issue or problem in the quizzes on the program and courses tab, the main problem is that the student is not given the permission to give or to attempt the quizzes, its says 403 error , forbidden . you don't have the permission that is required for it.
and the lecturer is not able to generate or make quizzes but can attempt for the quizzes made by admin or superuser.
so i request you to please check for that  issue

i have uploaded the image for that

Hello, I have double-checked everything and I can confirm that everything is working as expected.


How do I make disable organic capacitor?

I don't like capacitor crops, so I try to make disable this.
but no entries enable/unable new seed for agricraft I found in config.

They are disabled together with the Agricraft Farming station. There's a config setting to add plant-less crafting recipes, but none to disable the plant independently of the farm.

a config for this will be in the next version


Fix casing of GeoJSON/TopoJSON

Why:
File formats were spelled incorrectly.
What's being changed (if available, include any code snippets, screenshots, or gifs):
Casing.
Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@letmaik Thanks so much for opening a PR! I'll get this triaged for review :zap:

Hi @letmaik - thanks for opening this pull request and its partner https://github.com/github/docs/pull/19030.
I can see from https://geojson.org/ that your change makes sense, but it looks as if we consistently use the current casing throughout the docs. Before I approve these two pull requests, I'll check in on whether there is a reason for using a different casing.

👋🏻
I've had confirmation that this change is fine 🙂
I'd like to ensure that we update this consistently across all files, doing a local search I see that we have this capitalization in the following files:

content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md:

✅ Fixed in this pull request ✨

content/repositories/working-with-files/using-files/working-with-non-code-files.md:

✅ Fixed in https://github.com/github/docs/pull/19030

content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md:
71
72: You can also use code blocks to create diagrams in Markdown. GitHub supports Mermaid, geoJSON, topoJSON, and ASCII STL syntax. For more information, see "[Creating diagrams](/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams)."
73

data/glossaries/internal.yml:
211: - term: geoJSON
212    description: A format for encoding a variety of geographic data structures.

621: - term: topoJSON
622  description: An extension of GeoJSON that encodes topology.

I wondered if you'd be interested in opening pull requests to fix the remaining two files? Then we can merge them all together.

I added the remaining changes to this PR.


[WIP]add "subtotalsSpec" attribute to groupBy query

Fixes #5179
This is work in progress is not tested thoroughly for bugs, appropriate resource cleanup etc. Please ignore updates made to GroupByQueryRunnerTest.java which are temporary changes for manual testing .
This patch introduces a "subtotalsSpec" attribute to groupBy query . So, you might have a groupBy query that looks something like below...
{
"type": "groupBy",
 ...
 ...
"dimenstions": [
  {
  "type" : "default",
  "dimension" : "d1col",
  "outputName": "D1"
  },
  {
  "type" : "extraction",
  "dimension" : "d2col",
  "outputName" :  "D2",
  "extractionFn" : extraction_func
  },
  {
  "type":"lookup",
  "dimension":"d3col",
  "outputName":"D3",
  "name":"my_lookup"
  }
],
...
...
"subtotalsSpec":[ ["D1", "D2", D3"], ["D1", "D3"], ["D3"]],
..

}

Response returned would be equivalent to concatenating result of 3 groupBy queries with "dimensions" field being ["D1", "D2", D3"], ["D1", "D3"] and ["D3"] with appropriate DimensionSpec json blob as used in above query.
Note that "subtotalsSpec" must contain subsets of "outputName" from various DimensionSpec json blogs in dimensions attribute and also ordering of dimensions inside subtotal spec must be same as that inside top level "dimensions" attribute e.g. ["D2", "D1"] subtotal spec is not valid as it is not in same order.
DruidSQL layer can support additional functions that could auto-generate the "subtotalsSpec" to support features similar to "ROLLUP" and "CUBE" functions in https://docs.oracle.com/cd/B28359_01/server.111/b28314/tdpdw_sql.htm#TDPDW00712
TODO:
ensure subtotalsSpec is not passed down to historicals.

@himanshug,
I think this satisfies the desire to be useful for SQL GROUPING SETS; the planner would need to compute the overarching union of all GROUPING SETS, then include that in the dimensions, and then create a subtotalsSpec with any other sub GROUPING SETS. So that is good.
In Druid SQL a query like yours would look like,
SELECT
  d1col AS D1,
  extraction_func(d2col) AS D2,
  LOOKUP(d3col, 'my_lookup) AS D3,
  COUNT(*)
FROM tbl
GROUP BY GROUPING SETS ( (1, 2, 3), (1, 3), (3) )

Some questions and thoughts,

If you don't specify the super-set in the subtotalsSpec, do you still get it returned to you? I think it's best if the answer is "no", since the user might not actually want the super-set. It would work better for the SQL planner if the answer is "no", consider a query like GROUP BY GROUPING SETS ( (1, 2), (2, 3) ).
In groupBy v2 the grouping results can be streamed back to the caller from the broker without materializing them completely, however with subtotalsSpec, would that mean the broker needs to materialize the results? If so where are they stored? (Forgive me- I did not read the patch yet!)
If results do need to be materialized, I think it'd be important to optimize the case where grouping sets are like GROUP BY GROUPING SETS ( (1, 2, 3), () ) (i.e. we want a table plus a grand total). The grand total can be computed while still avoiding materialization of the full result set.
In the result format is it easy to distinguish null grouping values from nulls that represent subtotals? Consider that in SQL GROUPING SETS, it is not easy without help, but luckily the GROUPING function can help. This doc describes the problem and also the GROUPING function: https://docs.microsoft.com/en-us/sql/t-sql/functions/grouping-transact-sql.

@gianm thanks, hopefully following answers provide further explanation.

If you don't specify the super-set in the subtotalsSpec, do you still get it returned to you? I think it's best if the answer is "no", since the user might not actually want the super-set. It would work better for the SQL planner if the answer is "no", consider a query like GROUP BY GROUPING SETS ( (1, 2), (2, 3) ).

You are right, super-set result is not returned unless it was part of subtotalsSpec for exactly the reasons you mentioned.

2.In groupBy v2 the grouping results can be streamed back to the caller from the broker without materializing them completely, however with subtotalsSpec, would that mean the broker needs to materialize the results? If so where are they stored? (Forgive me- I did not read the patch yet!)

This patch does not add support for subtotals in groupBy-v1 which would just fail.
For groupBy-v2 , implementation looks very similar to that of nested groupBy. Results from super-set query are materialized inside one BufferGrouper instance (with one "merge buffer"). Then we run the one query per sub-total on this BufferGrouper by iterating over the rows in it and stream-merge them. to ensure "stream-merge" would work, we enforce a constraint on the subtotals that they must have same order of dims as that in super-set (updated this constraint in PR description)

if results do need to be materialized, I think it'd be important to optimize the case where grouping sets are like GROUP BY GROUPING SETS ( (1, 2, 3), () ) (i.e. we want a table plus a grand total). The grand total can be computed while still avoiding materialization of the full result set.

Possibly yes, however current patch does not optimize for this. maybe something that can be done as a improvement followup.

In the result format is it easy to distinguish null grouping values from nulls that represent subtotals? Consider that in SQL GROUPING SETS, it is not easy without help, but luckily the GROUPING function can help. This doc describes the problem and also the GROUPING function: https://docs.microsoft.com/en-us/sql/t-sql/functions/grouping-transact-sql.

Druid groupBy result set always include name of all dimensions (even if they were null/empty) in each row. So, from the rows it would be identifiable when next subtotal begins. For example result for query in PR description would look something like below...
[
  {
    "version" : "v1",
    "timestamp" : "t1",
    "event" : { "D1": "..", "D2": "..", "D3": ".." }
    }
  },
    {
    "version" : "v1",
    "timestamp" : "t2",
    "event" : { "D1": "..", "D2": "..", "D3": ".." }
    }
  },
  ...
  ...

   {
    "version" : "v1",
    "timestamp" : "t1",
    "event" : { "D1": "..", "D3": ".." }
    }
  },
    {
    "version" : "v1",
    "timestamp" : "t2",
    "event" : { "D1": "..", "D3": ".." }
    }
  },
  ...
  ...

  {
    "version" : "v1",
    "timestamp" : "t1",
    "event" : { "D3": ".." }
    }
  },
    {
    "version" : "v1",
    "timestamp" : "t2",
    "event" : { "D3": ".." }
    }
  },
...
]

@gianm let me know if the explanation in https://github.com/druid-io/druid/pull/5280#issuecomment-362637858 sounds sensible and then I will try and finish up this PR.

@himanshug this approach does sound sensible. If you don't do the optimization to avoid materialization when the  user just asks for a grand total, I encourage you to at least build the feature in such a way that it could be put in later without too much refactoring. (I think it would be common, for example getting a timeseries with a grand total)

@gianm I think patch is structured to allow optimizing that use case by checking that case in GroupByStrategyV2.processSubtotalsSpec(..) and doing something else instead of materializing the result-set inside the BufferGrouper.

@gianm @nishantmonu51 alright, this PR is ready now.
Instead of keeping attribute name "subtotalsSpec" , following other options are available.
"groupingSets"
"groupingsSpec"
"columnGroupingsSpec"
I'm good with "subtotalsSpec" but let me know if majority likes one of the other options.
I will add documentation as well once we settle on the attribute name.

getting back to this after a while, I'll fix the conflict . @gianm @nishantmonu51 please take a look again and help me finish this one.

@himanshug sure, please post when the conflict is fixed and I'll take another look.

@gianm fixed the conflict.

I've added Design Review label because already two or more committers are reviewing this.

Hi @himanshug - have you had a chance to review my review? 😃

Hi @himanshug - have you had a chance to review my review? 😃

@gianm thanks for the review. sorry, I haven't had a chance to take another look. I'll try and finish it this week or next.
PS: not sure if you know, but I'm going through some major transitions personally this week :)

@himanshug I have heard, congratulations :)
The comments I had were relatively minor, I think the main interesting one was the types being lost, so we probably want some additional tests for numeric dimensions.

@gianm my apologies for not being able to get back to this for so long, but finally :)
and also thanks to @a2l007 for reminders to get this done .

@gianm re-merged with master and fixed build, it should be good to go now.

@gianm added docs.


John 3:16

Sorry to bother you again.
I tried to parse John 3:16 in KJV and ESV and I couldn't...
Is it just me?
I can parse John 3:15, but 3:16  :(
It complains, asking if I have typed the correct Bible reference

Hm works for me:

Could you send me a screenshot of you using it please?

Don't worry. It has worked for me as well. Placing the version option as
the last argument solved my problem.
Do you know if there are Greek and Hebrew versions I can use with this
application?
Biblehub website do have them. I think...
Thx for this little pearl...
On Tue, 5 Jul 2022, 22:12 Joshua Petitma, @.***> wrote:

Could you send me a screenshot of you using it please?
—
Reply to this email directly, view it on GitHub
https://github.com/joshpetit/biblehub/issues/14#issuecomment-1175660558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKPVMUAOT6DWNYBZGWDVSTMPTANCNFSM5ZKCSITQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


solve loop issues in most mobile devices which use HTML audio tag

refer #125
tested in IE9, Chrome Desktop, Firefox 33 Desktop, iOS8, and a few Android devices, including Galaxy S4, Lenovo S860, and Redmi

Hi, after careful consideration I have decided to reject this pull request as per #125.  In my testing I have found the current approach to be more robust and reliable.
Thank you for taking the time and interest to investigate and create a pull request, I'm really sorry that I won't be accepting it but I hope that won't discourage you from making further requests in the future.
If you experience any further issues with looping with the latest release, please reach out here or on Stack Overflow and I will offer any assistance I can.


Consider surname/forename approach from internationalization and multiple surname angles

I recognize that this is a brand new and quickly implemented function! Props on getting it working in part. Some observations on names and the breakup into sur/fore in particular, to start a list of things to work out in the author search functionality.
Examples:
Chaimae El Aisati is broken into surname= Chaimae El forename=Aisati. Searching for any fragment of these doesn't work (C / Aisati, Chaimae El / A) but searching for forename Chaimae El and surname Aisati does. Other examples: P. Vasquez Regueiro, M. Vieites Diaz.
Double initials: R/Appleby does not return results, but R. B./Appleby does.
Organizations: some break on the last word (example: for the IceCube / Collaboration), some don't have a forename at all (example: / LHCb collaboration)
International: for Asian names that have forename/surname flipped, how do we know which is which? Can/should we search both sur- and forename fields for a string given as a name or name stem? We can then filter by relevance (and later facet by whole name, possibly). Also relevant for other cultures, or for the treatment of organization names in the author field.
Using a partial surname doesn't work, nor does using a wildcard.

For 0.1:

Offer optional full-name search (parallel to forename/surname).
Include owner-authors in all author queries
Add help text explaining the limitations and options around author search.

ARXIVNG-308 - Offer optional full-name search (parallel to forename/surname)
ARXIVNG-309 - Include owner-authors in all author queries
ARXIVNG-310 - Add help text explaining the limitations and options around author search.


xt::linalg multiplication always yields 0 vectors for random input array

When mulitplying two arrays, the result is always vector of 0. (shape agrees, tho).
auto x = xt::random::randn<double>({784});
auto weights = xt::xarray<double> ({1});  // should perform identity

auto res = xt::linalg::outer(x, xt::transpose(weights));
auto res = xt::linalg::tensordot(x, xt::transpose(weights), 0);   // same result, also same without transpose

The output was observed in Jupyter Notebook... however, when compiled and executed in my program, I get even stranger error:
Parameter 8 to routine cblas_dger   was incorrect
Quick help appreciated!
EDIT: This seems to be the case only for xt::random::randn. When using xt::arange, the output is as expected.

Thanks for the bug report.
On a first glance, assigning x to a memory container should fix this issue for now (or using eval).
xarray<double> x = xt::random::randn<double>({784});

But we need to internally do this in tensordot.

Okay, will give it a shot and hope for a quick fix. Thanks!

there was indeed another problem. Fixed here https://github.com/QuantStack/xtensor-blas/pull/104

we've released xtensor-blas 0.16 with a fix for this issue.


[BUG]

Attach a Bug Report
https://www.dropbox.com/s/dmhg5xd8bkmu7ww/c54hq5fo.mew?dl=0
https://www.dropbox.com/s/k7mirywsray3q9s/Manual_12_Drezen__5_Neth__XI__4715__11_55_29.zks?dl=0
Describe the bug
Frozen Caress doesn't add Cold descriptor for purpose of items (Elemental Imbuement) or abilities (Dragonblood: White/Silver) for Vampiric Touch and Hellfire Ray (and presumably other spells).
To Reproduce
Steps to reproduce the behavior:

Activate Frozen Caress.
Cast a non-cold touch spell.
Observe behaviour.

Expected behavior
Adding the Cold descriptor should allow these spells to benefit from added elemental damage from abilities or items.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

I'll take a look but this probably won't get fixed. The major issue is that the way you change the descriptor happens more or less simultaneously / after a effects like those. It's a huge technical challenge to do otherwise and I think you get the same behavior from Elemental Spell.

This appears to be working correctly:

There's probably some confusion here because Frozen Caress does not change the damage type to Cold, just adds the descriptor. That means the effects of Elemental Imbuement do not actually apply to the spell's primary damage; they apply only to the bonus 1d4.
For Draconic Bloodline the effect does apply. Aside: Hard to say exactly why that particular damage instance gets bonuses twice but so much is going on here I assume that's expected and confirmed it's nothing to do w/ COP.


large discrepancy between request_time and upstream_response_time

Is there an existing issue for this?

Configuration:
worker processer: 8
Pod Resources (requests):

CPU: 8
Memory: 16G

Additional:
Pod resource usage:

The resource utilization rate of the node is also very low.
Expected Behavior
request_time and upstream_response_time should be close
Steps To Reproduce
No response
Anything else?
some environment:
KONG_WORKER_CONSISTENCY=eventual
KONG_NGINX_HTTP_INCLUDE=/config/danlu-kong.conf
KONG_PROXY_TLS_SERVICE_PORT=80
KONG_PROXY_SERVICE_PORT_TCP_PROXY_SSL=9443
KONG_PROXY_TLS_SERVICE_PORT_PROXY_2=10080
KONG_STATUS_LISTEN=<IP_ADDRESS>:8100
KONG_PROXY_PORT_80_TCP_PORT=80
KONG_PROXY_PORT_9443_TCP_PROTO=tcp
KONG_VERSION=2.6.0
KONG_VALIDATION_WEBHOOK_PORT_443_TCP_PORT=443
KONG_PROXY_TLS_PORT_443_TCP_PROTO=tcp
KONG_NGINX_WORKER_PROCESSES=8
KONG_CONTROL_PLANE_SERVICE_PORT_HTTPS=443
KONG_PG_DATABASE=kong

@bungle can you help to take a look?

It seems the memory and CPU are not the bottleneck in this case. A fair guess is the problem is on IO, and could you share the profile result of the upstream server?


feat(scully): support dev mode which can generate html during ng serve

PR Checklist
Hi guys, maybe this solution is not perfect, but I think this feature is necessary especially the blogs are big and complicated. Hope for your advice and I will be able to complete it.
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/scullyio/scully/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

@wenqi73, If needed, you can already use ng serve as the source for Scully, by setting the hostUrl option in the config.
Then we also have the watch option, that will monitor the blog folder, and will rerender only the blog files. We have a feature planned to render even only a single file.
What does your PR add to this? I think I don't understand the thing you are trying to solve.

@SanderElias I tried to solve the issue in #33. Scully only works after we use ng build, when other components changes I had to build it again; Also it's hard to debug. So I want Scully to work in angular dev mode.


Traypublisher: basic implementation of transcoding workflow

Additional info
Temporary placement of Creator for as Addons currently cannot introduce its own Creators until https://github.com/pypeclub/OpenPype/issues/3165
This PR is only for testing, shouldn't be merged.

Shouldn't be merged at all.


perf(trie-router): optimize and remove unnecessary processes

The following process is not necessary and has been removed.

https://github.com/honojs/hono/pull/3647/files#diff-bf1549ba9405f87c376d2d338883f54bfeb6a91f40b28e62dd2ce5e9d4edd4e5L66-L69

Since it will be minified, I changed the name to be easy to understand.

Related: https://github.com/honojs/hono/pull/3596
https://github.com/honojs/hono/pull/3647/files#diff-bf1549ba9405f87c376d2d338883f54bfeb6a91f40b28e62dd2ce5e9d4edd4e5L85

Since only the type number is used for the key, an empty object should be created instead of Object.create(null). It is faster and smaller.

Node and Bun (8x~ faster)
runtime: node 20.18.0 (x64-linux)

benchmark              avg (min … max) p75   p99    (min … top 1%)
-------------------------------------- -------------------------------
= Object.create(null)    16.67 ns/iter  15.13 ns  █
                 (13.54 ns … 96.35 ns)  42.71 ns ▇█▂▁▂▂▁▁▂▁▁▁▁▁▁▁▁▁▁▁▁
= {}                      2.41 ns/iter   2.22 ns  █
                  (1.84 ns … 95.40 ns)   8.21 ns ▁█▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

runtime: deno 2.0.5 (x86_64-unknown-linux-gnu)

benchmark              avg (min … max) p75   p99    (min … top 1%)
-------------------------------------- -------------------------------
= Object.create(null)    16.64 ns/iter  14.93 ns  █
                (12.03 ns … 137.93 ns)  33.21 ns ▁██▃▁▁▁▁▁▁▁▁▁▁▅▂▁▁▁▁▁
= {}                      2.70 ns/iter   2.19 ns █
                  (2.03 ns … 62.84 ns)  16.17 ns █▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

In Bun, the speed of both is almost the same.
https://github.com/honojs/hono/pull/3647/files#diff-bf1549ba9405f87c376d2d338883f54bfeb6a91f40b28e62dd2ce5e9d4edd4e5L95

Multiple index accesses are eliminated and the size is reduced.

https://github.com/honojs/hono/pull/3647/files#diff-bf1549ba9405f87c376d2d338883f54bfeb6a91f40b28e62dd2ce5e9d4edd4e5R130

Remove as it is not a necessary check

https://github.com/honojs/hono/pull/3647/files#diff-bf1549ba9405f87c376d2d338883f54bfeb6a91f40b28e62dd2ce5e9d4edd4e5L178
The author should do the following, if applicable

[ ] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[ ] Add TSDoc/JSDoc to document the code

Hi @EdamAme-x !
It looks awesome! I'd like to know how much this change affects performance. Did you benchmark it? And how much did you reduce the bundle size?
PS.
To benchmark the req/res performance, you can follow the method used in this repo: https://github.com/SaltyAom/bun-http-framework-benchmarkhttps://github.com/SaltyAom/bun-http-framework-benchmark

Report
Revert (4): The bundle size is smaller, but we got strange benchmark results that one index access is slower than multiple index accesses, so we reverted.
runtime: deno 2.0.5 (x86_64-pc-windows-msvc)

benchmark              avg (min … max) p75   p99    (min … top 1%)
-------------------------------------- -------------------------------
Once                    193.31 ps/iter 195.31 ps ▇  █
                (170.90 ps … 70.87 ns) 341.80 ps █▁▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
Multi                   136.00 ps/iter 146.48 ps     █
                 (97.66 ps … 22.39 ns) 219.73 ps ▁▁▁▁█▁▁▁▄▁▁▁▂▁▁▁▂▁▁▁▁

Bundle Size
19.34kb => 19.28kb (1kb = 1024b)
gitpod@honojs-hono-0oouxesc90f:/workspace/hono/sandbox$ ls compare -l
total 40
-rw-r--r-- 1 gitpod gitpod 19288 Nov  9 07:09 after.js
-rw-r--r-- 1 gitpod gitpod 19344 Nov  9 07:11 before.js

Benchmark
In Deno
There was not much change.
(+0.03%)
|  Framework       | Runtime | Average | Ping       | Query      | Body       |
| ---------------- | ------- | ------- | ---------- | ---------- | ---------- |
| after | deno | 41,225.407 | 50,386.78 | 38,903.5 | 34,385.94 |
| before | deno | 41,079.073 | 50,923.38 | 39,116.56 | 33,197.28 |

@EdamAme-x
Have you ever tried to benchmark frameworks on Bun, not only Deno?

I'll benchmark with several approaches.

I measured the performance of router itself using node, bun, and mitata, but did not see any significant performance improvement that we could see.

@EdamAme-x
Thanks. Anyway, this is a good improvement. I'll merge this now.


Implementing a class with call()

This code does not compile with an error "foo is not a function":
class Foo { int call() => 1; }
class MockFoo extends Mock implements Foo {}  // Mockito's Mock
var foo = new MockFoo();
foo();  // static error: "foo is not a function"
Replacing "var foo" with "Foo foo" would work.

What Dart version? Compile how? Running on the console or Dartium or compiling with pub build with or without ddc?

Looks like the analyzer in strong mode is giving this static error.
If:
MockFoo foo = new MockFoo();

then the analyzer is weak mode gives a warning.  In general, MockFoo is not recognized as a callable class.

Assigning to the language team to determine if this is a language issue or analyzer one.

Short summary: It's an Analyzer issue.
The spec says (in the section "Function Types"):

If a type I includes an instance method named call, and the type of call is the function type F, then I is considered to be more specific than F. It is a static warning if a concrete class implements Function and does not have a concrete method named call unless that class has an implementation of noSuchMethod() distinct from the one declared in class Object.

In this case, the MockFoo class is concrete and has a noSuchMethod distinct from the one of Object, so no warning is caused at the class level, and the types Foo and MockFoo are more specific than the function type int Function().
The variable foo has type MockFoo (by inference in strong mode, or if declared as such directly). It is a local variable (I assume), so this is treated as a "function expression invocation". That section says:

It is a static warning if the static type F of ef may not be assigned to a function type.

The type MockFoo is more specific than int Function(), and the "Interface types" section states that:

An interface type T may be assigned to a type S, written T ⟺ S, iff either T <: S or S <: T.
Together that means that MockFoo is assignable to a function type, so this should also not cause any warnings.

The invocation is then equivalent to foo.call(), so we look to the method invocation section, but there should be no need to go into details since this is a method invocation of a method explicitly declared by the interface. That must work, or method invocations wouldn't work at all.
All in all, the specification doesn't require any warnings.
It's not clear which warning the foo is not a function message refers to, but it's most likely the warning from the "function expression invocation" section, which does not apply – MockFoo is assignable to a function type.

The Dart version is 1.25.0-dev.3.0+google3-v1.25.0.dev.3.0.
I use blaze to do the compilation. The error seems to come from dartanalyzer.

The behavior has changed in Dart 2. There should now be an actual call member on MockFoo which forwards to noSuchMethod. The class should still be callable.

This is still a problem in the latest SDK. CFE does not emit an error and the VM runs this code just fine, analyzer emits an invocation_of_non_function.
Here is a repro with no external dependencies:
class Foo {
  int call() => 1;
}

class Bar implements Foo {
  dynamic noSuchMethod(Invocation i) {
    return 2;
  }
}

void main() {
  var b = new Bar();
  print(b()); // unexpected error here.
}

I believe we can close this issue: The example here does not give rise to any compile-time errors today (the CFE as well as the analyzer, as of commit e2df4d30a0b25bb550eeb9d96a21b3d3406e606d), and dart does not incur any run-time errors.


Be able to choose error message location

Hi, still me :D
See this pen:
https://codepen.io/smcyr/pen/Krbxow
In this particular implementation, I would like the error message to be positioned below the 3 radio buttons (which are hidden and displayed as grey blocks) which is not the case.
Maybe there could be a data attribute like data-error-message="category" where you specify the input name inside. This data attribute could be added to a  anywhere on the page and would overwrite the default position for the error message placement.
Thanks!

It could just be an event on the "createError" function where I could return an element to use instead. Or in the options of bouncer, there could be an option callback "createError" where I can write the function I want.

So, you may still want this feature, but you can achieve the layout you shared (with better accessibility and proper semantics) and still get the error message where you want it.
https://codepen.io/cferdinandi/pen/PxXyMG
Labels should always have content in them or screen reader users won't know what the radio button is for. And by styling the label itself rather than wrapping it in another element, you can get the error message to appear after the entire group.

Good point that I should at least have text into the label. But in my case, for the website I am working on, I have HTML inside the label (, and ), so I did it this way, because I don't think block elements are allowed inside  elements. Here is an updated pen:
https://codepen.io/smcyr/pen/Krbxow
I added  and . Also some text inside labels with a negative text-indent.

Here is probably a better version with the label just after the input:
https://codepen.io/smcyr/pen/OardML

Just wanted to note intent to implement this feature. I'll try to work on it this week.

Alright, added with v1.3.0: https://github.com/cferdinandi/bouncer#error-message-location

I tried implementing the new setting data-bouncer-target and I have this error: "NotFoundError: Node was not found"
https://codepen.io/smcyr/pen/OardML

Good catch. Patched in v1.3.1: https://codepen.io/cferdinandi/pen/gQEyKv

Thank you! All is working perfectly for my use case now!


[Service Bus] Need notification hub support, like previous node SB SDK.

Currently the Notification Hub SDK is part of the Service Bus SDK, however this didn't seem to make it into the new @Azure SB SDK. This would mean that in order to use SB and NH, You would need to use both the new and old sdks.

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

@tony-gutierrez thanks for opening this!
We are looking into the best way to bring the Notification Hub Client Library forward.
I'll let you know when we have a clear path forward for the Notification Hub.

I am facing the same issue.
I see @azure/arm-notificationhubs module, but this one doesn't allow to send notification.
Do we know when notificationHub will be integrated into "azure-sdk-for-js"?

I would be happy to have an update about what the roadmap with the notification hub SDK. I am using azure-sdk-for-node at the moment but it doesn't support all the functions offered by the REST API. I do not think it will ever since it is pretty much legacy now.
Found this issue which is basically looking at the same problem: #3733

@ramya-rao-a are this one and https://github.com/Azure/azure-sdk-for-js/issues/3733 both tracking the work to split NotificationHubs out?

Hello all,
Thanks for your patience.
At the moment, there are no plans to create a new library for Azure Notifications Hub in this repository like we did for Azure Service Bus following the TypeScript Guidelines for Azure SDKs.
We will be moving users off of azure-sb to use the newer @azure/service-bus which uses the faster AMQP rather than HTTP that is slower and deprecate the package eventually.
For Azure Notifications Hub users of the same package, we will be creating a new package in azure-sdk-for-node repository where we split the relevant bits from azure-sb. You can subscribe to https://github.com/Azure/azure-sdk-for-node/pull/5155 which is work in progress at the moment for further updates in this area.
When we do get to creating a new library for Azure Notifications Hub in this repository following the new guidelines, we will provide an update here.

@Petermarcu, #3733 is more about an existing bug that will not be fixed with the split. That one needs more investigation with input from the service team

Update as of Feb 17, 2021
We have decided to invest time in creating a new library for Azure Notification Hub in this repository just like we did for Service Bus following the above linked guidelines instead of simply copying over the Notification Hub parts from azure-sb into a separate package. Please subscribe to #13841 for updates
Thanks for your patience everyone.


Unintuitive / Buggy behaviour of internal DNS server.

Output of docker version:
Client:
 Version:      1.12.1-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   7889dc7
 Built:        Fri Aug 12 18:41:09 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   7889dc7
 Built:        Fri Aug 12 18:41:09 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 6
 Running: 2
 Paused: 0
 Stopped: 4
Images: 79
Server Version: 1.12.1-rc1
Storage Driver: zfs
 Zpool: scratch
 Zpool Health: ONLINE
 Parent Dataset: scratch/docker
 Space Used By Parent:<PHONE_NUMBER>
 Space Available:<PHONE_NUMBER>4
 Parent Quota: no
 Compression: on
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-31-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.773 GiB
Name: *snip*
ID: *snip*
Docker Root Dir: /scratch/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
My workstation
Steps to reproduce the issue:

docker network create test1
docker network create test2
docker network create test3
docker run -it --rm --net=test1 --name=master dig bash (the dig image is a Debian with dnsutils installed)
docker network connect test2 master
docker network connect test3 master
docker run -it --rm --net=test2 --name=slave --network-alias=slave dig bash
docker run -it --rm --net=test3 --name=slave2 --network-alias=slave dig bash
Now run the following commands inside the master container:
ip a s to check that the container is properly connected to every network
dig A slave

Describe the results you received:
root@09edf10b18fc:/# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
118: eth0@if119: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:12:00:02 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe12:2/64 scope link
       valid_lft forever preferred_lft forever
120: eth1@if121: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:15:00:02 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe15:2/64 scope link
       valid_lft forever preferred_lft forever
122: eth2@if123: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:14:00:02 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 scope global eth2
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe14:2/64 scope link
       valid_lft forever preferred_lft forever
root@09edf10b18fc:/# dig A slave

; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> A slave
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27259
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;slave.				IN	A

;; ANSWER SECTION:
slave.			600	IN	A	<IP_ADDRESS>

;; Query time: 1 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Mon Aug 15 21:15:07 UTC 2016
;; MSG SIZE  rcvd: 44

Notice that only a single container is returned for the lookup to slave. If you stop that container the slave from the other network appears as the DNS result. If both slaves are connected to the same network both are returned.
Describe the results you expected:
I expected to receive two ip addresses (<IP_ADDRESS> and <IP_ADDRESS>) as the result to my DNS query.
Additional information you deem important (e.g. issue happens only occasionally):
n/a

ping @sanimej

@TimWolla This is not a bug. Its the intended behavior. Docker service discovery is network scoped; ie: services are discoverable within the network a container is connected to. When you have a container connected to multiple networks and a given service name exists on more than one network its not deterministic which IP will be returned.
The intended use of network-alias is to support a simple load balancing in pre 1.12 releases which didn't have the swarm service abstraction. For ex:
docker run -d --net ov --name nginx1 --network-alias web nginx
docker run -d --net ov --name nginx3 --network-alias web nginx
docker run -d --net ov --name nginx3 --network-alias web nginx
When a client container in ov network does a DNS lookup for the service web IPs of all the 3 nginx containers will be returned.

Tentatively closing this: let me know if it needs reopening.


DeprecationWarning on @nuxt/postcss8

 ERROR  (node:34262) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at<EMAIL_ADDRESS>Update this package.json to use a subpath pattern like "./*".

Related with https://github.com/postcss/postcss/issues/1455
And fixed in the latest postcss: https://github.com/postcss/postcss/issues/1455#issuecomment-826016865
Resolution would be to update @nuxt/postcss8 to the latest postcss version.

Hi @bkintanar i will update minimum version but i guess recreation of lock file or yarn upgrade @nuxt/postcss8 should also do the trick :)


TypeError: Cannot read property 'scrollTo' of undefined Error on autoplay like a component using vue-router

I have an app consisting of several top-level components. These are loaded by vue-router when the appropriate route is specified in the URI. You can think of this as a simple SPA.
I implemented the vue-horizontal-list component in the landing site with the autoplay functionality. Everything works fine on the first page, and after refresh (F5), but later when I navigate to the different views I'm getting the next error:
vue-horizontal-list.esm.js?6336:740
Uncaught TypeError: Cannot read property 'scrollTo' of undefined
    at VueComponent.go (vue-horizontal-list.esm.js?6336:740)
    at VueComponent.eval (vue-horizontal-list.esm.js?6336:757)

Analyzing the code seems that the list of children in the carousel is getting undefined after making the router view change, but I don't get why the animation and movement happen anyway...
https://github.com/fuxingloh/vue-horizontal-list/blob/aebf7fe91e6df3dab69d5650330b8063b8aa6ab1/src/vue-horizontal-list.vue#L317
https://github.com/fuxingloh/vue-horizontal-list/blob/aebf7fe91e6df3dab69d5650330b8063b8aa6ab1/src/vue-horizontal-list.vue#L304
My components are being lazy-loaded by the router. And this only happens after navigating with this, when I make the refresh these errors stop.
With the autoplay happens every time that the card is moved to the next, but the functionality happens! the problem is that after 5 mins I finish with hundreds of these errors.
Here is my code to reproduce it.
<vue-horizontal-list
          :items="brands"
          :options="{
            autoplay: { play: true, repeat: true, speed: 5000 }
          }"
        >
          <template v-slot:default="{ item }">
            <div class="item">
              <b-card
                img-src="../assets/categories/category1.jpeg"
                img-alt="category1" :data-label="item.id" img-top align="center" class="shadow rounded"
              >
                <default-button icon-name="cart4" :onClick="goToShop" />
              </b-card>
            </div>
          </template>
        </vue-horizontal-list>

I use the component in SPA as well without any problem in case of navigation. Please check, whether are data appropietaly binded to the vue-horizontal-list after refresh, because it looks there doesn’t exist reference to the list with items. Could you create sandbox example?

I don't know how they can get undefined if they are simple vue-bootstrap components, and in my example, the app use fake data just to test the functionality, but with images, without it, with simple components or bootstrap one it still happens. Here is how looks the data in my Homecomponent
data() {
    return {
      brands: [
        { id: 1, title: "Lacteos" },
        { id: 2, title: "Gaseosas" },
        { id: 3, title: "Perros" },
        ......
      ],

I don't have experience with vue-bootstrap but I guess that lib doesn't cause the problem. However, it is hard to find the solution in case I don't have the working example. Try to implement these usecases https://fuxingloh.github.io/vue-horizontal-list/ in your spa.

I have it here actually.
https://github.com/joseortiz9/supermarkets1a-landing
Hope you can find what is going on, I had hoped for this library. And I already tried with many of them(use cases), as I said it happens every time item is changed, like move to the next one, but only after navigating through the spa. Is weird...

I have found problem, as described it is due to setInterval callback for nonexisting list.
beforeDestroy() {        if (this.autoPlayInterval) {             clearInterval(this.autoPlayInterval);        } },
I just made PR in your repo, it is working. In meantime I will make PR fix in vue-horizontal-list component. Thank you for the info.