🐞 - Not able to download code image

Which @codeimage/* package(s) are the source of the bug?
codeimage
Please provide a screenshot or a video to a minimal reproduction of the bug
No response
Description
I'm not able to download code snippet as image. Following error appear in browser console. I'm not sure if it's helpful or not.
App.28e94405.js:8
    Uncaught ReferenceError: umami is not defined
    at HTMLButtonElement.g [as $$click] (App.28e94405.js:8:18532)
    at HTMLDocument.ua (index.ce6602ba.js:1:21652)

Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[X] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

Hi @hadiyarajesh, unfortunately I'm not able to reproduce that issue.
I need some information:

Are you using CodeImage 0.21.1? You can view the current version of the app in the right bottom space of the Canvas
Did you tried to reset cache / disable network cache from network? It seems that the service which I use to track some analytics is not loading correctly, but it should.

Are you using latest version of Chrome? If not, which one? Mine is v104

Thank you for reporting, I'll try to fix it anyway

HI @riccardoperra ,
Yes, I was using ad blocker uBlock origin on microsoft edge and disabling it resolved the issue.
With adblocker enabled, I was getting  Uncaught ReferenceError: umami is not defined error as mentioned in previous response.
Thank you for suggesting solution.

Good to know that! I didn't know these extensions could block also umami, so I'll deploy a fix in some hours that will prevent you from throwing that error anyway. Thank you


Laravel 5.5 support broken?

While on the dev-l5 branch, I'm getting this error while trying to deploy on an upgraded Laravel 5.5 install:
anon@devbox:~/$ php artisan deploy:list
  [ReflectionException]
  Method Fadion\Maneuver\Commands\ListCommand::handle() does not exist

anon@devbox:~/$ php artisan deploy
  [ReflectionException]
  Method Fadion\Maneuver\Commands\DeployCommand::handle() does not exist

I know there has been a lot of changes between 5.1 and 5.5, some about commands so maybe something needs tweaking.
I'll try to figure out what exactly did change and broke Maneuver and report my findings here.
Thanks!

I have simply added
    public function handle() {
      $this->fire();
    }

for now, so it works.
Looks like fire() call has been reworked to handle()

@forelabs thanks for pointing that out! I didn't have time to check why it was happening, if this works for me as well I'll open up a PR so @fadion can get this fixed.

@forelabs I opened a PR with your fix thanks to you! You're awesome! 👍

I'll leave this opened while @fadion checks if the PR is okay.

The package now supports Laravel 5.5 from version 2.1.0. I'm closing this issue, but please let me know if anything's wrong.


Fix setup-gcloud action by referencing v0

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
Another failing test because the branch name changed.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

For context: from https://github.com/google-github-actions/setup-gcloud/tree/master

Do not pin this action to @master, use @v0 instead. We are going to rename the branch to main in 2022 and this will break existing workflows. See Versioning for more information.

/lgtm


Spec the work required for a hybrid on prem deployment

What would civiform look like if we did a hybrid deployment on prem? Try to sketch out the work that would be required to support this.

Maybe a kubernete cluster to run the machine + local postgres
Would need email sending service, file storage service, auth services
would also need to consider some load balancing and SRE support
there is some documentation on this: https://github.com/civiform/docs/blob/main/docs/it-manual/infrastructure-requirements.md

@inghamn from Bloomington took a pass at a helm-based workflow here. Understanding how to abstract and integrate email, storage, and auth through configs in a way that is still compatible with the current deployment system would allow supporting on-prem workloads just as well as cloud-based ones in the future.
The "hybrid" part is tricky -- if the org is running a local SMTP server, could that be used? Would that look significantly different than e.g. connecting to SES over SMTP? Same question for file storage -- are there protocols for local providers we could support? Could we decide on supported storage library that also runs in the same kubernetes cluser like min.io? Could we integrate with common external storage providers via config? Same goes for auth services.

For the City of Bloomington, when we talk of deployment, we're often deploying each component seperately.  (Application server, Identity Provider, SMTP, Database Server, file storage, etc.)  Deploying an application server presumes that all the other required components are already in place, ready for the application server to use them.  The application server deployment then usually only needs to template out a single configuration file to be injected into the container.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1459 ms

Resolved: Bofrost.at performance has improved in b5a0111 after 6 minutes.


Update sbt-release to 1.0.11

Updates com.github.gseitz:sbt-release from 1.0.10 to 1.0.11.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "com.github.gseitz", artifactId = "sbt-release" }]

labels: semver-patch

Coverage remained the same at 80.46% when pulling 5749865a96fb86bf324a8948157c0aaf8c82eb6a on scala-steward:update/sbt-release-1.0.11 into 129d46ccc79e822c6b29aac88d7aa9edec6d09b6 on hntd187:master.


[BEAM-911] Mark IO APIs as @Experimental

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @jbonofre

Coverage decreased (-0.007%) to 70.569% when pulling 6d12b1bff1d9cdf1966d201c70c7b343a5b52e0d on iemejia:BEAM-911-make-ios-experimental into 7e603d5c763ee4b95dffb94e129603de55e5c33d on apache:master.

Thanks JB.


Add timedelta, timedelta64 and datetime64 plus respective conversions

This PR replaces #334 and takes into account the major refactoring of PythonCall.
Particularly, it fixes #293.
What's new?
Python Constructors
julia> pytimedelta(hour = 1, minute = 2)
Python: datetime.timedelta(seconds=3720)

julia> pytimedelta64(hour = 1, minute = 2)
Python: numpy.timedelta64(62,'m')

julia> pytimedelta64(year = 2, month = 3)
Python: numpy.timedelta64(27,'M')

julia> pydatetime64(year = 2024, month = 3)
Python: numpy.datetime64('2024-03-01T00:00:00')

Conversion to Julian types
julia> x = pytimedelta64(year = 11)
Python: numpy.timedelta64(11,'Y')

julia> pyconvert(Any, x) |> x -> (x, typeof(x))
(11 years, Dates.CompoundPeriod)

julia> pyconvert(Period, x) |> x -> (x, typeof(x))
(Year(11), Year)

DataFrame handling
I've set the priority of datetime, timedelta, datetime64 and timedelta64 to ARRAY, which allows for automatic Table conversion - I hope that's the intended way to do it.
julia> jdf = DataFrame(x = [now() + Second(rand(1:1000)) for _ in 1:100], y = [Second(n) for n in 1:100])
100×2 DataFrame
 Row │ x                        y
     │ DateTime                 Second
─────┼──────────────────────────────────────
   1 │ 2024-06-17T00:31:31.236  1 second
   2 │ 2024-06-17T00:30:30.236  2 seconds
   3 │ 2024-06-17T00:41:22.236  3 seconds
  ⋮  │            ⋮                  ⋮
  98 │ 2024-06-17T00:36:05.236  98 seconds
  99 │ 2024-06-17T00:38:38.236  99 seconds
 100 │ 2024-06-17T00:28:21.236  100 seconds
                             94 rows omitted

julia> pdf = pytable(jdf)
Python:
                         x               y
0  2024-06-17 00:31:31.236 0 days 00:00:01
1  2024-06-17 00:30:30.236 0 days 00:00:02
2  2024-06-17 00:41:22.236 0 days 00:00:03
3  2024-06-17 00:33:52.236 0 days 00:00:04
           ... 4 more lines ...
97 2024-06-17 00:36:05.236 0 days 00:01:38
98 2024-06-17 00:38:38.236 0 days 00:01:39
99 2024-06-17 00:28:21.236 0 days 00:01:40

[100 rows x 2 columns]

julia> DataFrame(PyTable(pdf))
100×2 DataFrame
 Row │ x                        y
     │ DateTime                 Compound…
─────┼───────────────────────────────────────────────
   1 │ 2024-06-17T00:31:31.236  1 second
   2 │ 2024-06-17T00:30:30.236  2 seconds
   3 │ 2024-06-17T00:41:22.236  3 seconds
  ⋮  │            ⋮                      ⋮
  98 │ 2024-06-17T00:36:05.236  1 minute, 38 seconds
  99 │ 2024-06-17T00:38:38.236  1 minute, 39 seconds
 100 │ 2024-06-17T00:28:21.236  1 minute, 40 seconds
                                      94 rows omitted

Default Conversion
I chose to use Dates.CompoundPeriod as result type of default conversion from timedelta64 as both types support year, month and minor period units. This is debatable, we could also change it to Period, hence the resulting type would depend on the input.
julia> pyconvert(Any, x) |> x -> (x, typeof(x))
(11 years, Dates.CompoundPeriod)

julia> pyconvert(Period, x) |> x -> (x, typeof(x))
(Year(11), Year)

Both Python and Julia do not convert between Year/Month and the other period types, so there is no danger with this choice to arrive at ill-determined intervals.
The difference is that Julia allows addition/subtraction of mixed types while Python/Numpy throws an error.
The difference to the previous PR is that all conversions rely on either builtin or numpy functions and do not use pandas.
Ordering of arguments for pytimedelta() was chosen to be identical to the python version, while ordering for pytimedelta64() is strictly descending, except week which comes last.
EDIT: add comments in what's new code, added conversions
EDIT2: removed comment about datetime_data, I had misunderstood the meaning and have updated the code

@cjdoris what do you think about this PR?

@cjdoris still hoping to get this integrated ...
Is there anything pending or unclear where I could support?

Just chiming in with some comments:
1: Could you add some tests for this? This adds a lot of new features so I think should have testing to cover everything. Ideally the test coverage of the diff should be 100%.
2: Is the 3-arg version of the @py needed? I don't see it being used anywhere. I think it should go into a different PR in any case.

Thanks for all the comments, I already learned some new things about Julia, which is always nice.
I will go through them the next days and once we've agreed on the solutions write the test functions.
Just want to re-raise my question from the previous PR.
Do you think, we should stick with CompoundPeriod as default conversion type?
Alternatively, we could go for Period instead.

Concerning the three-argument version of @py; it's probably best to remove it as it goes against the authors' initial idea of being as close as possible to Julia syntax, right?

@cjdoris @MilesCranmer
Apart from my question above this PR would be ready to merge from my end.
Please let me know if you have other concerns.
We may want to add testing, please also let me know.


DeepCopy into structure copying

Currently deep copying is a function
This causes issues with MonoBehaviour types since copying and using them would be in a broken state, and unity refuses to use those
I need to instead serialize the value into a decoupled class to hold this saved information, than to making a new type (also same thing with applying this serialized state)
This work is kinda done already, but should probably be re-done

This should also handle IntPtr and UIntPtr fields
Try to auto detect where its being initialized / deinitialized and try to handle it


fix(deadline-date): date formatting added

Description of PR...
Changes

Item 1
Item 2

PR Template Checklist

[ ] Grammar
[ ] Spelling
[ ] Clarity

Fixes #85, Fixes #22, Fixes username/repo#123
Connects #123

Can we also have a linear-commit history? It would be better to rebase this commit to the second "remove" didn't exist (it also breaks things because it's required in semantic-release)
Also, please don't make manual changes in package-lock.json - this is an autogenerated file.


Set Up Staging on AWS

Current staging site is vercel. Probably want staging ^ production on identical server set ups for testing purposes.
Could look into moving both to: https://docs.amplify.aws/start/q/integration/react/
if that would provide any advantages. If so, will create new issue.

@alexfigtree - I think we can close this one.


[BUG] Outdated value name in OpenSearch Cluster Helm docs

What is the bug?
The value OpenSearchClusterSpec refered to in cluster-chart.md is outdated and has been replaced with opensearchCluster as of #562 (release 2.4.0).
execute_tests.sh#L18 is possibly also affected.
How can one reproduce the bug?
N/A
What is the expected behavior?
Instances of OpenSearchClusterSpec existing in docs should be replaced with opensearchCluster to mirror actual chart values.
What is your host/environment?
N/A
Do you have any screenshots?
N/A
Do you have any additional context?
N/A

@swoehrl-mw @prudhvigodithi Is there any plans to update the documentation?


added profile rohit-raje-786

Added my profile https://github.com/rohit-raje-786

How are you getting on with this @rohit-raje-786 ?


flutter run ios with vscode in windows 10

Hi
I searched for run ios by flutter and I found there is flutter inspector for switch between android and ios.
Is it possible to run ios with vscode in windows 10?

You can switch the look-and-feel to Cupertino (iOS) on Android, but you can't run iOS, because for that XCode would need to be installed and that can only be installed on OSX.
There are cloud services that you can use to build for iOS without having it installed locally.
Details are discussed in many similar SO questions.
Please consider asking support questions in one of the other channels listed at http://flutter.io/support .

Can you give a video or article to show how we can run ios on flutter and windows without mac?

@mammadkoma as I said above, you can't.

@zoechi why xamarin+c# can debug ios on windows?

there is always a solution. believe it or not most developers use windows to develop apps not mac.


Add a JSX feature

Hi, I first thought to request this feature on the Rust RFCs but then I realised it really isn't a core language feature, but still would be pretty cool to have.
I am currently working on adding JSX support to this crate; would you be willing to merge such an addition if it is hidden by default? This would allow anyone to bootstrap their own React framework, which is pretty cool if you think about it.
I'll post a link to the repo as soon as I've finished a proof-of-concept.

Forgot to mention: the reason I thought of adding it directly to this crate instead of rolling my own is because this is the most feature-complete crate for parsing Rust source code, and I didn't like the idea of maintaining a hard fork.

Update: seems I was going too quickly: I didn't take into account the fully qualified syntax for disambiguation. Looks like it will need some extra work to remain performant when --features=jsx is disabled.

Update: I was able to successfully parse some JSX elements, but I got into trouble when trying to extract plaintext elements. The tokeniser is not ready for this use-case, so I guess it is better to seek for an alternative.
Sorry for the noise. Closing this issue.

syn-rsx now provides an implementation of this.

https://github.com/stoically/syn-rsx
https://crates.io/crates/syn-rsx


[helm-v3] Extra annotations and labels support for helm v3

Set werf.io/version annotation by default in werf helm-v3 upgrade/install commands.

Refs https://github.com/werf/werf/issues/1606


Compile error on clang 11,12 and later

Hi,
we had reports of compile issues on clang https://github.com/sneumann/mzR/issues/244 which resurfaced after upgrading to a new pwiz codebase https://github.com/sneumann/mzR/issues/263, where clang complains about
https://github.com/ProteoWizard/pwiz/blob/6ea7fb3eeeaecc37d80aa3703afbcdabcbda3e56/pwiz/data/common/BinaryIndexStream.cpp#L157
with the message
clang++ -std=gnu++11 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./boost_aux/ -I./boost/ -I. -D_LARGEFILE_SOURCE -DHAVE_PWIZ_MZML_LIB -D_NODEBUG    -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/Rhdf5lib/include' -isystem /usr/local/clang/include   -fpic  -g -O3 -Wall -pedantic -frtti  -c pwiz/data/common/BinaryIndexStream.cpp -o pwiz/data/common/BinaryIndexStream.o
pwiz/data/common/BinaryIndexStream.cpp:159:15: error: cannot assign to non-static data member within const member function 'operator[]'
        next_ = _Off * value_size_;
        ~~~~~ ^

Back then, Kurt Hornik suggested to remove the const, which solved the issue in our case.
As I am not a C++ wizard, I can't tell if there is a more correct way to fix the compiler error by changing how next_ is declared in
https://github.com/ProteoWizard/pwiz/blob/6ea7fb3eeeaecc37d80aa3703afbcdabcbda3e56/pwiz/data/common/BinaryIndexStream.cpp#L206
Yours, Steffen

I'm not even sure what that member function is there for. It doesn't seem to be used anywhere in the code. Making it non-const doesn't seem right, so just removing it outright is probably what I'll do.

I think the reason no other compiler have an error for it is because it's not used. Later Clangs are apparently pretty proactive about checking unused code!


Generation of Custom LLDP packets

The i am trying to create a custom LLPD packet by adding my own organisationally_specific TLV field.
`
class organizationally_specific (simple_tlv):
tlv_type = lldp.ORGANIZATIONALLY_SPECIFIC_TLV
def _init (self, kw):
self.oui = '\x00\x00\x00'
self.subtype = 0
self.payload = b''
def _parse_data (self, data):
(self.oui,self.subtype) = struct.unpack("3sB", data[0:4])
self.payload = data[4:]
def _pack_data (self):
return struct.pack('!3sB', self.oui, self.subtype) + self.payload
My field just has a random UUID and a TIMESTAMP. what code changes should be done to be able to add these custom tlvs plus the <discovery.py > such that the added tlvs can be sent out in the packet out message during the discovery process.
def create_packet_out (self, dpid, port_num, port_addr):
"""
Create an ofp_packet_out containing a discovery packet
"""
eth = self._create_discovery_packet(dpid, port_num, port_addr, self._ttl)
po = of.ofp_packet_out(action = of.ofp_action_output(port=port_num))
po.data = eth.pack()
return po.pack()
@staticmethod
def _create_discovery_packet (dpid, port_num, port_addr, ttl):
"""
Build discovery packet
"""
chassis_id = pkt.chassis_id(subtype=pkt.chassis_id.SUB_LOCAL)
chassis_id.id = bytes('dpid:' + hex(long(dpid))[2:-1])
# Maybe this should be a MAC.  But a MAC of what?  Local port, maybe?

port_id = pkt.port_id(subtype=pkt.port_id.SUB_PORT, id=str(port_num))

ttl = pkt.ttl(ttl = ttl)

sysdesc = pkt.system_description()
sysdesc.payload = bytes('dpid:' + hex(long(dpid))[2:-1])

discovery_packet = pkt.lldp()
discovery_packet.tlvs.append(chassis_id)
discovery_packet.tlvs.append(port_id)
discovery_packet.tlvs.append(ttl)
discovery_packet.tlvs.append(sysdesc)
discovery_packet.tlvs.append(pkt.end_tlv())

eth = pkt.ethernet(type=pkt.ethernet.LLDP_TYPE)
eth.src = port_addr
eth.dst = pkt.ETHERNET.NDP_MULTICAST
eth.payload = discovery_packet

return eth

`

This looks like it should be an issue and not a PR.  Can you submit an issue instead?

Yes
I created an issue you should be able see it.
On Tue, Oct 22, 2019 at 1:02 AM Murphy<EMAIL_ADDRESS>wrote:

This looks like it should be an issue and not a PR. Can you submit an
issue instead?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noxrepo/pox/pull/231?email_source=notifications&email_token=ABYIRWTBUZIAD5I2FYS4NGLQPYRHZA5CNFSM4JC4WVFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB36ANI#issuecomment-544727093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYIRWWE4G7HVIMLPPAAYCDQPYRHZANCNFSM4JC4WVFA
.

--
Joseph Katongole
UNIX Systems Engineer
+256392944768

Hello Murphy
I did create an issue you could help me look at it
On Tue, Oct 22, 2019 at 12:58 AM Murphy<EMAIL_ADDRESS>wrote:

Closed #231 https://github.com/noxrepo/pox/pull/231.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noxrepo/pox/pull/231?email_source=notifications&email_token=ABYIRWS5CLF4JBOQ2EAJOCLQPYQZDA5CNFSM4JC4WVFKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOULG5JWY#event-2731398363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYIRWXM4YCG43V6SFZFSIDQPYQZDANCNFSM4JC4WVFA
.

--
Joseph Katongole
UNIX Systems Engineer
+256392944768


falling into loss "NAN"

I just train my own model and train dataset via your TResNet feature extractor.
BTW, my loss is fall into NaN after hundreds of iteration processed.
If I lowering learning rate, loss fall into NAN later.
(Until fall into Nan, my loss look converging well)
can I ask what's your optimization function or initial learning rate(and scheduler)?
Or do u have any idea about NaN loss??

@ykim1024
your description is very general and lacks details
what dataset ? what is the loss function ? mixed precision or fp32 ? what is the lr ?
we trained tenth of datasets with TResNet on mixed precision, and it was highly stable.
my strong guess is that its not an architecture issue.
try replacing TResNet with resnet50.  do you get no-NaN loss ?

Yes, as you mentioned, I also agree that it is not the problem of TResNet architecture.
when I use feature extractor with General ResNet50, there was any problem.
I used nn.CrossEntropyLoss() for my OCR dataset.
My purpose was just extract feature of image well, I only used statement "x = self.body(x)" and not used last embedding(nn.linear) layer.
My entire model was ensembled with feature extractor and RNN(LSTM or GRU).
Anyway, I thought several function of TResNet layer can be apply to my model to upgrate performance.

"with General ResNet50, there was any problem" ?
so there is a problem with resnet50, or resnet50 works ok ?
anyway, some general tips:

make sure you do the the correct normalization, i.e. just divide the input by 255.
TResNet does not use imagenet statistics normalization

if you use mixed precision, try without

make sure you freeze the backbone correctly:

for name, child in model.named_children():
    for name2, params in child.named_parameters():
        params.requires_grad = False
model.eval()

all the best

i meant it was no problem when i was Resnet50.
Ok, I'll try some tips :)
thanks


Tile ID is not always the mac address

On my tile devices the ID is slightly different from the mac address. On the first character changes:
MAC: D1:76...
ID : 5176...
MAC: F9:B4...
ID: b9b4...
I suspect Tile did this on purpose

Interesting to know, I'll see if I can find a better source to get the mac address e.g. from the rest API

I coded a tiny Flutter app to ring my Tile devices without using their app, I ended up hardcoding the mac adresses, and the authKey, completely removing the dependency on Tile's server (once you've retrieved the auth keys of course). If you're interested I can publish that.

And BTW, thank you so much for this!


Update item will set DeletedAt timestamp

[x] I have checked the discussions
[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Describe the bug
After the item is updated, the item's DeletedAt field will be set.
To Reproduce
Steps to reproduce the behavior:

Add a new configuration item - a=1, the data in Item table is:

Key
Value
IsDeleted
DeletedAt

Item
1
0
0

Update the value to 2, the data in Item table is:

Key
Value
IsDeleted
DeletedAt

Item
2
0
1659181295058

Expected behavior
The DeletedAt field should be 0 if IsDeleted is 0.
Additional Details & Logs

Version: 2.0.1

Why updating items will trigger com.ctrip.framework.apollo.common.entity.BaseEntity#setDeleted ?

It's because of the statement - BeanUtils.copyEntityProperties(item, managedItem);.
https://github.com/apolloconfig/apollo/blob/63c16c117a869426f2cbbfdaa099de449789fd18/apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ItemService.java#L186-L197


getting error while serving angular universal app locally using firebase serve

mukeshkumarbehera@Mukeshs-MacBook-Air functions % firebase serve
=== Serving from '/Users/mukeshkumarbehera/Desktop/myWebsite/SSR/programingwizard'...
⚠  Your requested "node" version "8" doesn't match your global version "12"
i  functions: Watching "/Users/mukeshkumarbehera/Desktop/myWebsite/SSR/programingwizard/functions" for Cloud Functions...
⚠  hosting: Port 5000 is not available. Trying another port...
i  hosting: Serving hosting files from: dist/programingwizard/browser
✔  hosting: Local server: http://localhost:5005
⚠  Error: Cannot find module '/Users/mukeshkumarbehera/Desktop/myWebsite/SSR/programingwizard/functions/dist/server'
Require stack:

/Users/mukeshkumarbehera/Desktop/myWebsite/SSR/programingwizard/functions/lib/index.js
/usr/local/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (/Users/mukeshkumarbehera/Desktop/myWebsite/SSR/programingwizard/functions/lib/index.js:5:19)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
⚠  We were unable to load your functions code. (see above)

It appears your code is written in Typescript, which must be compiled before emulation.
You may be able to run "npm run build" in your functions directory to resolve this.

Closing, as it is not relevant to this repo.


NativeModule.RNCNetInfo is null when we run in  windows

Environment
Error: @react-native-community/netinfo: NativeModule.RNCNetInfo is null. To fix this issue try these steps:
Platforms
Windows
npx react-native run-windows
Versions

react-native-netinfo:6.0.2
react-native:0.63.4
react:17.0.2
react-native-windows: 0.63.37,

Description
• Run react-native link @react-native-community/netinfo in the project root.
• Rebuild and re-run the app.
• If you are using CocoaPods on iOS, run pod install in the ios directory and then rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.
• Check that the library was linked correctly when you used the link command by running through the manual installation instructions in the README.

If you are getting this error while unit testing you need to mock the native module. Follow the guide in the README.

If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-netinfo

Hi there!
You have not integrated module correctly.
It is a project-specific issue and definitely no problem with the module, so I will close this.
The steps listed (which you removed) are your solution


There is no Deprecation warning or Code Migration info in README.md

https://github.com/matteobruni/tsparticles

This repo is not deprecated.
The repo you linked to is this lib but converted to TS by another developer.

 Many issues not fixed, you can see one below:
particles.js
https://jsfiddle.net/pcdn50bt/5/
tsParticles
https://jsfiddle.net/pcdn50bt/4/
Same config.
Not deprecated maybe, abandoned sure.

@markwrightdev I think the library doesn't need to be updated, it's fine and functional.
I tried switching to tsparticles but the animation seems slightly different and not quite right:

Particles.js
tsparticles

@markwrightdev I think the library doesn't need to be updated, it's fine and functional.
I tried switching to tsparticles but the animation seems slightly different and not quite right:

Particles.js
tsparticles

The tsparticles animation seems to "heavier" and not subtle enough to be a background animation, so I don't think they used the same code for the animation.

I changed your tsparticles sample using an higher fps limit, by default it's limited to 30: https://jsfiddle.net/rmukjc13/

What I would like to see is someone generate a repo from this one and keep that one maintained.

It looks like tsparticles started from this code, this is the second commit, the particles.js file was splitted: https://github.com/matteobruni/tsparticles/tree/c401ae094fe8eebfed5c37821aee80bd55968b40


[removed] Remove unused DOMUtils

I think this was a leftover. Nothing calls into this from anywhere as far as I can tell. It doesn't even show up in coverage because it's never used.
I mean, also, anybody importing from react-router/lib/DOMUtils... I don't know.

:+1: since it's a private API that's unused. If you need this stuff, there are better packages on NPM, I'm sure.


Update zh_cn.json

i've searched through the commit and added the translations that we didn't change after this pr was made.


result of package "shadow" not reproducible

A rebuild of unchanged sources results in different binaries in the shadow package.
It looks like this is the culprit:
src/shadow/gen/gen.ml:15:  let files = Sys.readdir dir |> Array.to_list in
The result of readdir() is not stable. I think the list must be sorted prior further processing.

I ran into this problem too and filed #8 without checking for an existing issue first. Anyway, I've actually encountered build failures relating to this when using nix and getting cached binaries built from different hosts as detailed in #8.

Looks like we are missing a List.sort

I pushed a fix to master. If you can confirm that it fully fixes the issue you are observing we'll submit a new release to the opam repo.

I came up with this patch a few months ago, which fixed it for me:
--- a/src/shadow/gen/gen.ml
+++ b/src/shadow/gen/gen.ml
@@ -12,7 +12,7 @@ let () =
       failwith "bad command line arguments"
   in

-  let files = Sys.readdir dir |> Array.to_list in
+  let files = Sys.readdir dir |> Array.to_list |> List.sort ~cmp:String.compare in

   let all_exposed_modules =
     List.filter files ~f:(fun fn -> Filename.check_suffix fn ".cmi")

So yes, thanks for doing commit 5d2f8865ddef5aea453d5d72d31ff7a9b5105977.

Alright, new release submitted: https://github.com/ocaml/opam-repository/pull/19314


i cant setup cashe on mcreator 2000.5

i tried reinstall and reseting mcreator and its still not working. I tried reinstalling plugin but it failed too so somewhere in latest plugin version for 2000.5 is bug or i dont know what else can happen

ill try to change version of mcreator to 2001 maybe this will work because nothing work on 2000.5

ok its fine now byt version 2000.5 IS NOT WORKING


code can not run

your code can't run due to lack of the code in torch_geometric. Can you provide the code?

pip install torch_geometric


remove node from scene when it is touched

here is the way i am adding node to scene how can i remove it from scene?
andyRenderable = finalAndy.get();
Node base = new Node();
base.setRenderable(andyRenderable);
LocationMarker coinLocMarker = new LocationMarker(
coinInfo.getLongitude(),
coinInfo.getLatitude(),
base
);
locationScene.mLocationMarkers.add(coinLocMarker);
base.setOnTouchListener(new Node.OnTouchListener() {
@Override
public boolean onTouch(HitTestResult hitTestResult, MotionEvent motionEvent){
Toast.makeText(
c, "", Toast.LENGTH_LONG)
.show();
return true;
}
});
Reagards.

Hello,
Have you added AnchorNode ? If not then you have to add an AnchorNode as parent of the base node which you are adding .
AnchorNode anchorNode = new AnchorNode(anchor);
anchorNode.setParent(arFragment.getArSceneView().getScene());
Node base = new Node(); // add your node
base.setParent(anchorNode); // set anchorNode as parent of basenode
base.setRenderable(andyRenderable);
// then in ontouch just remove child  node from parent
base.setOnTouchListener(new Node.OnTouchListener() {
@override
public boolean onTouch(HitTestResult hitTestResult, MotionEvent motionEvent){
anchorNode.removeChild(base);  // just remove child node
return true;
}
});
Hope it will help.

thank you for the reply @AndroidRocket
how can i add anchor ?? you have added new AnchorNode(anchor)

@AndroidRocket
here is the way i added anchorNode as parent of my Node but it didn't work. see the code snippet :)
AnchorNode anchorNode = new AnchorNode(arFragment.getArSceneView().getSession().createAnchor(frame.getCamera().getPose()));
anchorNode.setParent(arFragment.getArSceneView().getScene());
Node base = new Node();
base.setParent(anchorNode );
base.setRenderable(andyRenderable);
// then in ontouch just remove child node from parent
base.setOnTouchListener(new Node.OnTouchListener() {
@override
public boolean onTouch(HitTestResult hitTestResult, MotionEvent motionEvent){
anchorNode.removeChild(base); // just remove child node
return true;
}
});

is there any one Open to help?

I would probably do:
            Node base = new Node();
            base.setParent(....
            base.setOnTapListener(
                (hitTestResult, motionEvent) -> {
                  base.setParent(null);
                });

thanks @malik-at-work
I tried this, but this didn't work. can you tell me how can i add anchor in AnchorNode(?), where it comes from so i could try it again?
AnchorNode anchorNode = new AnchorNode(anchor);
anchorNode.setParent(arFragment.getArSceneView().getScene());
Node base = new Node(); // add your node
base.setParent(anchorNode); // set anchorNode as parent of basenode

Removing the anchorNode is basically the same, setting the parent to null will remove it.
If this isn't working then there must be something other piece of code doing something that affects the graph.  I wrote a little test and the code above worked for me.


JSON body is not parsed when Content-Type contains a charset

My back-end returns JSON data with a content-header that contains the suffix +json'and the charset=utf-8'
The content-type is not recognized as JSON and the body is returned as a plain string instead of JSON.
The problem is the way that the Content-Type header is parsed:
Content-Type: application/whatever+json;charset=utf-8
This is the method for parsing the header (and the body):
  protected parseBody(response: FetcherResponse): Promise<object | string> {
    const contentType = response.headers.get('Content-Type');
    const contentLength = response.headers.get('Content-Length');
    if (
      // As one might expect, a "204 No Content" is empty! This means there
      // isn't enough to `JSON.parse`, and trying will result in an error.
      response.status !== 204 &&
      contentLength !== '0' &&
      contentType &&
      (contentType.startsWith('application/json') ||
        contentType.endsWith('+json'))
    ) {
      return response.json();
    } else {
      return response.text();
    }
  }

The condition for checking on JSON fails, because:
contentType.endsWith('+json')
is false in the case that there is a charset defined at the end of the header

See #229.


Running Chat sample from remote server - socket cannot connect

I'm trying to run the chat example on a remote server, but the websocket is not connecting -
WebSocket connection to 'ws://<IP_ADDRESS>:8000/chat/jx?c=702a126251axT0@1112126' failed: Connection closed before receiving a handshake response
How do I change the ws address to my remote url?

Closing this because of no further activity.


FIX: Suprocess loops endlessly when the control socket closes.

recvmsg(3) returns 0 if the connection partner has shut down its socket.
The communicate function considered 0 a successful message, though, and
keeps calling recvmsg(3) again and again.

Minor nitpick: a better commit message would have been "Fix infinite loop when control socket closes".


'Copy Link' and 'More video' buttons not clickable for Youtube embed

Expected behaviour

Hovering on 'Copy link' has cursor effect, and clicking should do something
Something should happen when clicking on thumbnails under 'More Videos'

Actual behaviour

Nothing happens

Steps to reproduce

go to https://plyr.io/#youtube
hover over video and try to click anything under 'more video' or 'copy link'

Environment

Browser: Chrome
Version: 83
Operating System: macOS
Version: Catalina

Console errors (if any)

Link to where the bug is happening
https://plyr.io/#youtube

Please search next time 👍


Update info.plist

Change version of rn apps following xcode settings.

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

can you give for context for why this change is needed? is that how Xcode14 generates new project? is there a changelog that explains why it's needed?

can you give for context for why this change is needed? is that how Xcode14 generates new project? is there a changelog that explains why it's needed?

You will have problem when you release it to appstore.
if you make it static with version 1 and not following change on xcode version.
you will get complicated because need to change version on info.plist.
with this change you just change version on xcode not need change on info.plist.

Could you update the changelog properly, please?
The format should be:
## Changelog
[iOS][Fixed] - Message

Thank you so much!

Could you update the changelog properly, please? The format should be:
## Changelog
[iOS][Fixed] - Message

Thank you so much!

Edited sir.
Thank you!

Should i change
<key>CFBundleDisplayName</key>
<string>Hello App Display Name</string>

to
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>

its will help developer changing display name on xcode only no needed to modify on info.plist.

@erfinbadrian how did you test this change?
I just tried to create a sample app from main (where your commit has landed) and it breaks with
The request to open "org.reactjs.native.example.RNTestProject" failed.
Underlying error (domain=FBSOpenApplicationErrorDomain, code=4):
	The operation couldn’t be completed. Application info provider (FBSApplicationLibrary) returned nil for "org.reactjs.native.example.RNTestProject"
	Application info provider (FBSApplicationLibrary) returned nil for "org.reactjs.native.example.RNTestProject"

You can get this result by being on main and running yarn test-e2e-local -t RNTestProject

we might have to revert this @cipolleschi

fixed here: https://github.com/facebook/react-native/pull/35012


arch: arm: nrf: conditionally compile mpu_regions.c

This commit enforces conditional compilation of mpu_regions.c
in nrf52/CMakeLists.txt depending on whether ARM_MPU_NRF52X
K-option is defined.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

This change is in alignment with what other arm SOCs do (e.g. NXP, ARM, etc.)

Codecov Report

Merging #8719 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8719   +/-   ##
=======================================
  Coverage   52.36%   52.36%
=======================================
  Files         195      195
  Lines       24696    24696
  Branches     5128     5128
=======================================
  Hits        12931    12931
  Misses       9695     9695
  Partials     2070     2070

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 5aa09c6...d83b862. Read the comment docs.


Add Instance Segmentation

Visualization

[x] vis_insntace_segmentation (#541)

Datasets

[x] COCOInstanceSegmentationDataset (draft) (#547) (#665)
[x] VOCInstanceSegmentationDataset (#540)
[x] SBDInstanceSegmentationDataset (#540)
[x] assert_is_instance_segmentation_dataset (#540)

Evaluation

[x] eval_instance_segmentation_coco (draft, test) (#671)
[x] InstanceSegmentationCOCOEvaluator (#674)
[x] eval_instance_segmentation_voc (#554)
[x] InstanceSegmentationVOCEvaluator (#609)

Model

[x] FCISResnet101 (inference)  (#568)
[x] FCISResnet101 (training) (#620)
[ ] MaskRCNNResnet50 (inference) (ref)
[ ] MaskRCNNResnet50 (training) (ref)
[ ] MaskRCNNResnet101FPN (inference) (mask-rcnn ref, fpn ref)
[ ] MaskRCNNResnet101FPN (training)(mask-rcnn ref, fpn ref)
[x] PSRoiPooling2D (#545)
[x] ROIAlign2D (https://github.com/chainer/chainer/pull/5070)
[x] mask_voting (#568)
[ ] FPN (ref)
[ ] batched rpn (ref)
[x] assert_is_instance_segmentation_link (#568)

References
https://github.com/knorth55/chainer-fcis
https://github.com/yuyu2172/coco-evaluation
https://github.com/wkentaro/chainer-mask-rcnn
http://github.com/Hakuyume/chainer-fpn

I want to also point to Mask scoring RCNN https://github.com/zjhuang22/maskscoring_rcnn/blob/master/README.md


SecurityError: Dom Exception 18 is thrown when local storage/cookies are blocked in Safari on iOS 7.1.2

Hello,
Please note an unhandled  SecurityError exception is thrown, resulting in Angular crash, when storing something in local storage on Safari on iOS 7.1.2  with blocked cookies (Settings > Safari > Block Cookies > Always). I guess disabling cookies also disables local storage. With other two choices of block cookies setting ("From third parties and advertisers" and "Never") everything works fine.
The issue occurs on angular-translate-storage-local.js, line 25:
    var hasLocalStorageSupport = 'localStorage' in $window && $window.localStorage !== null;

and more specifically while accessing $window.localStorage to check if it is null.
I was able to fix this by moving access to $window.localStorage  inside the try block (lines 28-30)  like this:
    var hasLocalStorageSupport;
    try {
      hasLocalStorageSupport = 'localStorage' in $window && $window.localStorage !== null;
      var testKey = 'pascalprecht.translate.storageTest';
      $window.localStorage.setItem(testKey, 'foo');
      $window.localStorage.removeItem(testKey);
    } catch (e) {
      hasLocalStorageSupport = false;
    }

With above change the code never stores anything (since it can't), but at least Angular doesn't crash. I don't like silent failures like this one,  but I'm not sure how to handle this within angular-translate. Maybe an event should be emitted ...
Please let me know what do you think.
Please note this is a repost of closed angular-translate/bower-angular-translate-storage-local#4, requested by @PascalPrecht.

After removing the block cookie settings from safari, works like a charm. thanks @nbaronov .


San Francisco: add Roxie theater

Add one more theater for San Francisco.

No, so far I'm just running this in cron on a local system to get a calendar. A website would be nice though!


New Project Wizard: Build Failure

Describe the bug
Getting the following error when running the new project wizard Execution failed for task ':gsqlNewProject'.

kotlin.io.NoSuchFileException: /var/folders/f3/tg1d4g617c5dbpdr6xncg2hnrg9w5m/T/gsqlPluginConfig6153035423516941993/output/.gitignore: The source file doesn't exist.

To Reproduce
12:52 $ gradle gsqlNewProject

Configure project :
GSQL Plugin successfully applied to state_health

Task :gsqlNewProject
[ant:echo] Welcome to the new project wizard. Please answer the following questions to start a new project.
[ant:input] Project Name: [myApp]
<-----------<-------------> 0% EXECUTING [11s]
[ant:input] Tigergraph Host: [localhost]
<-------------> 0% EXECUTING [13s]
[ant:input] Tigergraph Admin username: [tigergraph]
<-------------> 0% EXECUTING [14s]
<-------------> 0% EXECUTING [15s]
[ant:input] Tigergraph Admin password: [tigergraph]
<-------------> 0% EXECUTING [15s]
[ant:input] Tigergraph username: [tigergraph]
<-------------> 0% EXECUTING [16s]
[ant:input] Tigergraph password: [tigergraph]
<-------------> 0% EXECUTING [17s]
[ant:input] Do you want to support multiple environments? ([y], n)
<-------------> 0% EXECUTING [18s]
[ant:input] Do you want to use the Kotlin or Groovy DSL for you build? ([k], g)
<-------------> 0% EXECUTING [25s]

Task :gsqlNewProject FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':gsqlNewProject'.

kotlin.io.NoSuchFileException: /var/folders/f3/tg1d4g617c5dbpdr6xncg2hnrg9w5m/T/gsqlPluginConfig6153035423516941993/output/.gitignore: The source file doesn't exist.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 26s
1 actionable task: 1 executed
Screenshots

Can we re-test this? I believe it's been addressed by some of the recent releases.


Google Auth not returning all requested info

Hi,
I'm currently using this config for Google Auth
`
return [
'HybridAuth' => [

    'providers' => [

        'Google' => [

            'enabled' => true,

            'keys' => [

                'id' => '<id>',

                'secret' => '<secret>',

                "scope" => "https://www.googleapis.com/auth/plus.me ",

                "access_type" => "offline",

                "hd" => "realdomain.com",

            ]

        ],

        'Facebook' => [

            'enabled' => false,

            'keys' => [

                'id' => '<facebook-application-id>',

                'secret' => '<secret-key>'

            ],

            'scope' => 'email, user_about_me, user_birthday, user_hometown'

        ],

        'Twitter' => [

            'enabled' => false,

            'keys' => [

                'key' => '<twitter-key>',

                'secret' => '<twitter-secret>'

            ],

            'includeEmail' => true // Only if your app is whitelisted by Twitter Support

        ]

    ],

    'debug_mode' => Configure::read('debug'),

    'debug_file' => LOGS . 'hybridauth.log',

]

];`
But Google is only returning this object:
`
[profile] => ADmad\HybridAuth\Model\Entity\SocialProfile Object
            (

                [provider] => Google

                [identifier] => identifierhere

                [website_url] =>

                [profile_url] =>

                [photo_url] => urlphotohere

                [display_name] =>

                [description] =>

                [first_name] =>

                [last_name] =>

                [gender] =>

                [language] =>

                [age] =>

                [birth_day] => 0

                [birth_month] => 0

                [birth_year] => 0

                [email] =><EMAIL_ADDRESS>
                [email_verified] =><EMAIL_ADDRESS>
                [phone] =>

                [address] =>

                [country] =>

                [region] =>

                [city] =>

                [zip] =>

                [job_title] =>

                [organization_name] =>

                [[new]] => 1

                [[accessible]] => Array

                    (

                        [*] => 1

                    )`

Why am I not getting the rest of the info? When I use the Google Oauth2 Playground with the same scope I get all of this info, but I can't seem to get it at all via the plugin.

Fetching the profile info from provider is handled by the HybridAuth lib, my plugin just handles authentication in Cake.
Check the contents of profile object returned by HybridAuth lib by debugging $event->data()['profile'] in your UsersTable::createUser() method. If the data you expect is you expect is not present there itself than issue is with HybridAuth lib (or your config).

Yea it's the same as the object I provided above. I'll create an issue over there and see what happens.


[Feature] Align multiple Y Axis 0 line

What problem does this feature solve?
I read the API document but I cannot see a method to align 0 line for different Y Axis

.
What does the proposed API look like?
Any method can help me to align different 0 line in Y axis?

I would like to know this as well

@pissang Shouldn't the new option alignTicks address this ?

alignTicks aligns the ticks that they are on top of each other but it is not value specific.
That the 0 is aligned to the other 0 is not given if there are negative numbers.
A second option to manually align values to values wood be good.
Or is there a point I'm missing?
In my example the 0s can't be aligned via alignTicks if the sides have not the same proportions.

If you set the min and max values, the 0 line will be displayed correctly. I have calculated the min and max values of all Y axes on the basis of the data and passed them in the options.
I hope that helps a little bit.

@Superkarl
Unfortunately, this does not solve my issue. My values on the first axis have amounts of millions and my second axis' values have cents. Setting a Min value leads to unseeable/unnoticeable chart elements (e.g. super small bars) for elements on my second axis.
Would be a really cool feature to align both axis on the 0-line, because the rest just looks odd to me (and my executives) :)

After almost 3 years, this issue is still open. If someone from the team can address at least whether this will be addressed or not will help guide decisions as to charting library adoption. This is a highcharts implementation with 4 y axes all with different range(s)/min/max

Hi, any updates on this issue?

Hey team, please have a look, It should be possible to do

I think the problem is on the alignScaleTicks function added in this PR https://github.com/apache/echarts/pull/16300
@pissang since you implemented, would you have some light on how to fix this? I've tried to get around it but I'm not familiar with the implementation of the library.
Thanks

Any updates on this one? just like alignZero: boolean

This would definitely be useful...!


Quality Check fails

newest Gag / Nonsense:
Code Quality insists on explicit image versions in Dockerfile
LATEST or none is flagged as Serious FAIL.
Attention:
latest version on intersystemsdc is only  2024.1,
no newer version is available

Thanks for letting us know. We added an explicit version for the community image.


Update README.md (line 45)

Fix Error:
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
<script async="defer" id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
Description Change:
Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.
Open quote is expected for attribute "async" associated with an element type "script".

It is valid HTML5.

A number of attributes are boolean attributes. The presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.

Both async and defer are boolean attributes. Check the link to see code examples.

But it was throwing error (above: description change statement) when I tried to add it to my blogger blog.
This line of code did not work:
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
but this one worked:
<script async="defer" id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
You may want to give support for all the platform.
Thanks! :man:

Your version is semantically incorrect. async and defer are not same. Please use the second version I provide in my previous comments. I'll update the documentation accordingly.


suspicous a virus

in my antivirus, this files indicated trojan skeeyah.A!rfn

in my antivirus, this files indicated trojan skeeyah.A!rfn


IsPaused Property of the SPSearchServiceApp

Description
Would not it be great to have a separate resource or a property of the SPSearchServiceApp resource that allows controlling the IsPaused property of the search service application?
Proposed properties
IsPaused, boolean property.
Special considerations or limitations

There are many reasons why a search service application would be paused:
https://docs.microsoft.com/en-us/sharepoint/search/manage-a-paused-search-service-application
Only when the SSA has been paused manually is it a good idea to resume manually. In all other cases, SharePoint has a reason to pause the SSA.
I am a bit in doubt is DSC is a good place to manage the state of this setting. Usually this setting is only used in case of specific maintenance and only temporary. Using DSC for this sounds a bit overkill: Update your config, deploy the config, do your maintenance, update the config again and then redeploy this updated config.
@NikCharlebois What do you think?

As @ykuijs mentioned, I wouldn't recommend managing 'stateful' config using DSC. In an ideal situation, you would have something like this:
SPSearchServiceApp Before
{
IsPaused = $true
}
SP[Whatever to do the upgrade]
{
...
}
SPSearchServiceApp After
{
IsPaused = $false
}
The problem with this is that if your consistency check is done while you are not trying to do an update, the Test-TargetResource method will always return $false on the "Before" instance because it will never be paused (or rather it can't be both Paused and 'not-paused' at the same time.
A DSC config defines an end-state picture of how the environment should be, not a sequence of action to be performed on the state of an environment. We are facing the same issue when we build an SP VM from scratch, where we start off by downloading the ISO file from the web locally, then install SharePoint from it. There is no way after this for us to delete the downloaded files for cleaning up the VM once we no longer need them. Imaging the following sequence of DSC resources:
[Download ISO and copy files locally]
[Install SharePoint]
[Delete the local Files]
This will work fine on the first run. However, the consistency check 15 minutes later will get to the Download ISO stage, figure out that the files are not downloaded, and re-download them all. Then the install step will simply be skipped because SP is already installed, and then the file will be deleted, only for this whole dance to be repeated again in 15 minutes.
Let me know if my ranting above makes sense? Bottom line is, I wouldn't recommend doing it :)

I did not know that SA can be paused automatically for some reasons so what we want to handle is probably manual "start". However, I don't really see the contradition to the fact that DSC config defines an end state picture. In my definition of end state this service application should be up and running fully, so it should be "unpaused". That is the desired state. I totally get the example regarding downloading and deleting files, and I am familiar with this mistake, yes. But I'm not sure that this particular property corresponds to this pattern. Maybe you are right, so let's skip it for now :)

my definition of end state this service application should be up and running fully, so it should be "unpaused"

Not necessarily. Why would the end state always be that the service application would be fully running? I can imagine there are specific situations that the desired end state would be: "A Search SA that is in a Paused state". For example when you are performing a migration and don't want to delete the SSA just yet, but don't want it running as well.
And what if the SA has been paused for a technical reason. Just trying to start the SA without checking why it is paused might cause issues.
For now I would say we do not implement this suggestion.


REST API: Get collection - "Collection link" IDs not being shown if "Multiple" is checked

Version:
0.13.0
How to reproduce
Given a collection with the name X and a field of name fieldY and type Collection link with the Multiple option checked, we add a new entry and link two distinct entries from collection Y into X through the above field;
We then perform a REST API request to get the X collection.
For demonstration purposes, we are going to assume the link IDs (the _id field) of the entries in the Y collection are yEntry1 and yEntry2
Expected result
After performing a REST API call on the below address:
cockpit/rest/api/collections/get/X?token=6891f01c3dc7b5bb7dfa3305
We should get the following result:
{{[{"fieldY":["yEntry1", "yEntry2"],"modified":1453129798,"_uid":"55142bdc6bc04doc27310","created":1453129798,"_id":"569d00460d1d6doc21977"}]

"fieldY":["yEntry1", "yEntry2"]
But instead we get:
[{"fieldY":[],"modified":1453129798,"_uid":"55142bdc6bc04doc27310","created":1453129798,"_id":"569d00460d1d6doc21977"}]

"fieldY":[]
Non-multiple "Collection link" field
Given the above field, this time without the Multiple option checked, we now correctly get the below results by doing the same call as before:
[{"fieldY":"yEntry1","modified":1453129798,"_uid":"55142bdc6bc04doc27310","created":1453129798,"_id":"569d00460d1d6doc21977"}]

"fieldY":"yEntry1"
Thanks

Later edit: This seems to have been from the local API implementation. Many thanks


Resource "list" action switching through pages do not work

I have Sequelize Tables

PlayList : this stores playlists
Video : this stores videos
PlayListVideo: this stores playlists and video association

I want to associate Video to PlayList at Admin Bro.  But there seems to be a bug when trying to "list" action 'through' table. When just clicking the menu it works fine. But when I try to go to page 2 and 3 and on, there is still loading "record" but when you refresh it it disappears. If I navigate through pages, this "loading record" keeps adding up. This only happens with many-to-many "through" table.
Could you please way to fix this or before that could you guys give me some workaround?

Picture 1. page 1

Picture 2. when navigated to page2

Picture 3. when navigated to page3. you can see those adding up

Currently, VideoID and PlayListID field's type is 'reference' so It gets Video and PlayList table's field where "isTitle" is set true.

do you have any errors in the terminal / chrome console?

No. It does not show any errors on server nor client side. just bunch of deprecation warnings
Deprecation: this "ViewHelpers#listUrl" will be removed in the next versions.
      Please use "resourceActionUrl({ resourceId, actionName: 'list'})"
      instead

If I turn on server database query logging this shows
Executing (default): SELECT "createdAt", "updatedAt", "playListId", "videoId" FROM "playListVideos" AS "playListVideo" ORDER BY "playListVideo"."playListId" ASC LIMIT 10 OFFSET 0;
Executing (default): SELECT "id", "video_url", "title", "thumbnail_url", "description", "video_duration", "youtube_video_id", "published_at", "youtube_like_count", "youtube_view_count", "app_view_count", "app_like_count", "youtube_username", "youtube_user_image", "external", "createdAt", "updatedAt", "userId" FROM "videos" AS "video" ORDER BY "video"."title" ASC LIMIT 50 OFFSET 0;
Executing (default): SELECT "id", "public", "title", "thumbnail_url", "item_count", "description", "youtube_playlist_id", "published_at", "external", "createdAt", "updatedAt", "categoryId", "userId" FROM "playLists" AS "playList" ORDER BY "playList"."title" ASC LIMIT 50 OFFSET 0;
Executing (default): SELECT "id", "public", "title", "thumbnail_url", "item_count", "description", "youtube_playlist_id", "published_at", "external", "createdAt", "updatedAt", "categoryId", "userId" FROM "playLists" AS "playList" WHERE "playList"."id" IN (1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
Executing (default): SELECT "id", "video_url", "title", "thumbnail_url", "description", "video_duration", "youtube_video_id", "published_at", "youtube_like_count", "youtube_view_count", "app_view_count", "app_like_count", "youtube_username", "youtube_user_image", "external", "createdAt", "updatedAt", "userId" FROM "videos" AS "video" WHERE "video"."id" IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
GET /admin/api/resources/videos/search/ 200 63.724 ms - 97303
GET /admin/api/resources/playLists/search/ 200 84.741 ms - 42354
Executing (default): SELECT count(*) AS "count" FROM "playListVideos" AS "playListVideo";
GET /admin/api/resources/playListVideos/actions/list 200 147.524 ms - 38451

Code 1. When I first click  "PlayListVideo" resource tab
Executing (default): SELECT "createdAt", "updatedAt", "playListId", "videoId" FROM "playListVideos" AS "playListVideo" ORDER BY "playListVideo"."playListId" ASC LIMIT 10 OFFSET 10;
Executing (default): SELECT "id", "public", "title", "thumbnail_url", "item_count", "description", "youtube_playlist_id", "published_at", "external", "createdAt", "updatedAt", "categoryId", "userId" FROM "playLists" AS "playList" WHERE "playList"."id" IN (1, 1, 1, 1, 1, 1, 1, 2, 2, 2);
Executing (default): SELECT "id", "video_url", "title", "thumbnail_url", "description", "video_duration", "youtube_video_id", "published_at", "youtube_like_count", "youtube_view_count", "app_view_count", "app_like_count", "youtube_username", "youtube_user_image", "external", "createdAt", "updatedAt", "userId" FROM "videos" AS "video" WHERE "video"."id" IN (11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
Executing (default): SELECT count(*) AS "count" FROM "playListVideos" AS "playListVideo";
GET /admin/api/resources/playListVideos/actions/list?page=2 200 83.050 ms - 38450

Code 2. When I switch to page 2 of  "PlayListVideo" resource tab(Where that weird loading behavior occurs)

ASC LIMIT 50 OFFSET 0 is for the filter (it populates select fields for all references)

can you set isTitle for createdAt field in Video resources and let me know if that helped?
resources: [..., {
resource: Video,
options: {
  properties: {
    createdAt: {isTitle: false, } // or created_at - depending on your schema,
  }
}

}]

can you check the payload returned by admin-bro after visiting 2nd page (it should be in the chrome terminal in Network tab - preview for list xhr action)

Thank you for your reply. I was kind of lost. You are so kind.

**Picture 1. Picture of page=2 getting error**. (after visiting page1, error propagates and even I visit other resource tab, same behavior happens)
list?page=2.json.zip
This is chrome developer tab - network - XHR full response to JSON.
There seems to be no errors in individual field.
If this helps,

Picture 2,3. When I go to "PlayList" resource tab after visiting "PlayListVideo" resource tab
if I click "PlayListVideo" and go to other resource tab, same error seem to occur. Interestingly, you can see at "PlayList" resource, there seems to be a record with only 2 field(If I click "info" then it turns out that's "PlayListVideo"'s record). I have no idea but can this be related with rendering async data at front-end? because to me payload seems fine.
should I try to make example reproduces this behavior that you can try on? (sequelize, postgresql, many-to-many through table with two foreign keys )

It seems that your join table doesn't have an ID field.
playlistId and videoId in the database are probably treated as the primary key but admin requires each resource to have an unique ID property.
Simply add id as primary key and it should solve the problem.

Thank you so much :)


trackml-library and GPU

Noticed this post
https://www.kaggle.com/c/trackml-particle-identification/discussion/55935
For some reason I am unable to use the GPU provided by kaggle with the trackml library. Either one works alone but none at the same time. What might be the issue?

I could reproduce the issue by running a Kernel with activated GPU support and trying to install a custom library. According to the error messages I get, this problem can not be fixed from our side. When running with GPU support on Kaggle custom docker images, e.g. with the installed library, are not supported.


Refactor 'Button' component styles

The main motivation was to remove this monstrosity:
styles?: {|
  buttonWrapper?: Object,
  button?: Object,
  buttonText?: Object,
  icon?: Object,
|},

I did it by splitting this component into smaller chunks responsible for
different things.

@tbergq Should be better now.

Tests disagree 😖

@tbergq I will commit everything then... 🙂


Fetching raspberrypi-firmware git requires lots of gigabytes

Description
do_fetch stage of rpi-bootfiles takes ages because of the huge size of the repository, even when using BB_GIT_SHALLOW. Here, at 37% of the fetch, it already had to download more than 14 GB.
Steps to reproduce the issue:

Using https://github.com/Igalia/meta-chromium and building with KAS_MACHINE=raspberrypi4-64 kas build kas:chromium.yml:kas:commercial.yml

Describe the results you received:
Fetching fails and/or takes ages while downloading raspberrypi-firmware repository.
Describe the results you expected:
Fetching should be faster, and not fetch the whole repository. Ideally by fetching tagged tarballs as needed. An intermediate solution could be fetching the generated zip from github. I.e. https://github.com/raspberrypi/firmware/archive/5689dd184872b809af91d6636a832b1484d90fef.zip (but that tarball is AFAIK generated at navigation. Tagged versions are usually pregenerated.
Additional information you deem important (e.g. issue happens only occasionally):
Additional details (revisions used, host distro, etc.):
Host: Ubuntu.
Local bandwitdh: around 10-15 MB per second fetching from github.

https://github.com/agherzan/meta-raspberrypi/pull/1298 should fix it

#1298 should fix it

Yes, it looks like that should fix it. I will close this one when landed.

The fix should be merged. Thanks, @kraj!


compose: Fix weird outline for GIF icon.

GIF icon had 32px line-height but only 18px height, this caused it
to trim the bottom part. Make line-height and height same to fix this.
before:

after:

Merged, thanks @amanagr!


So I hit the STOP button.
Sometimes I get an error saying "Need a matching tool_result block for each tool_use block". Now this means the STOP is cutting off the conversation JSON and leaving it in an inconsistent state.
One solution I can think of is to have the STOP button set a flag, and when querying the API, only pass tools if this flag is not set. This means that the agent cannot invoke tools when this flag is set, and must gracefully return control to the human.

I've now fixed this (on my box).
Ensure Tool Use/Result Consistency When Stopping AI Execution
Problem
When a user clicks the stop button during AI execution while tools are being used, the conversation can end up in an inconsistent state where tool_use blocks don't have matching tool_result blocks. This causes issues in:

Message rendering
AI context understanding in subsequent interactions
Potential state corruption if AI tries to use more tools while stopping

Solution
I've implemented a solution that uses a simple flag-based approach to gracefully handle tool usage during stop operations. The key points are:

Add a tools_disabled flag to the session state
Set this flag when stop button is clicked
Prevent new tool usage by passing tools=None to Claude API when flag is set
Reset flag when new user message arrives

The changes are minimal and maintain clean conversation state while allowing current operations to complete properly.
Implementation
Changes required in two files:
loop.py
# In sampling_loop function, modify the API call:
try:
    # In streamlit context, st.session_state.tools_disabled will control tool availability
    import streamlit as st
    tools = None if st.session_state.tools_disabled else tool_collection.to_params()

    raw_response = client.beta.messages.with_raw_response.create(
        max_tokens=max_tokens,
        messages=messages,
        model=model,
        system=[system],
        tools=tools,  # Now conditionally disabled
        betas=betas,
    )

streamlit.py
# In setup_state function, add:
if "tools_disabled" not in st.session_state:
    st.session_state.tools_disabled = False

# In main function, where new messages are handled:
if new_message:
    st.session_state.tools_disabled = False  # Re-enable tools on new user message
    st.session_state.messages.append(...)

# In main function, wrap sampling_loop in try/except:
with st.spinner("Running Agent..."):
    try:
        # run the agent sampling loop with the newest message
        st.session_state.messages = await sampling_loop(...)
    except st.runtime.scriptrunner.StopException:
        st.session_state.tools_disabled = True  # Disable tools on stop
        st.warning("Operation stopped. Tools disabled until next message.")

Benefits

Maintains message consistency
Allows current operations to complete cleanly
Prevents new tool operations after stop
Naturally resets on new user input
Minimal code changes
Easy to understand and maintain

Future Considerations

Visual indicator when tools are disabled
Explicit "re-enable tools" button option
Timeout for tool result completion
Decoupling stop mechanism from Streamlit for frontend-agnostic implementation

Testing
The solution has been tested for:

Normal conversation flow (unaffected)
Stopping during tool use

Current tool completes
No new tools used
Message consistency maintained

New user message after stop

Tools re-enabled
Normal operation resumed

This fix ensures a much more robust handling of the stop operation while maintaining conversation state integrity.


Using correct bundle to load storyboards (fixes #207)

Fixes #207 by using the correct bundle when loading storyboards.

HelloMixpanel tests succeeded locally. Travis build script seems to be broken though.

Any news here? Mixpanel surveys & notifications are broken with latest CocoaPods and will always crash unless this issue is fixed.

@fluidsonic thanks for the PRQ - this is definitely something we need to fix, as just manually copying the resource over isn't a great solution. @alex-hofsteede can you take a look?

I confirm that this PR fixes the survey & in-app message crashes.

Any chance this PR could be merged into an official SDK release?

Merged, will cut a release tonight.

🙌


[Fix #3316] Do not process no-arg blocks in Style/SingleLineBlockParams

Fix an ecxeption caused by attempting to process an empty node in  Style/SingleLineBlockParams

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

👍


Sets IDs on particle instances

Can I please have that?
Particle ids have not been set previously, but it will make some things I want to do easier if they are present.

Setting IDs in the particles as instantiation time would require a major refactoring - those particle instances come all the way from strategizing/planning, where recipes don't belong to an arc yet.
I'll clean up sending the superfluous ids across the PEC in a next small PR - let's keep this one small.
Agreeing re: TODO. I was interpreting it as "here's a particle we already have instantiated in the outer pec, so please start it up in the inner pec", but I think InstantiateParticle as in "please instantiate this particle in the inner pec" is a batter name for this call. Removing the TOOD.


workflows: Update actions

Update actions/checkout to v3
Update actions/setup-go to v3

Hey @sarthakroy2002, thanks for the MR. I'm not super familiar with github actions and this change. Can you describe what's going on here and why it's needed? Thanks. ❤

Hey @sarthakroy2002, thanks for the MR. I'm not super familiar with github actions and this change. Can you describe what's going on here and why it's needed? Thanks. ❤

Hey,
So it updates the action dependencies to latest version. It includes various bug fixes and feature updates. Its always advised to keep actions up to date.

Thanks. Do you have recommended testing steps? I haven't seen the change log to be sure the update maintains backward compatibility.

Thanks. Do you have recommended testing steps? I haven't seen the change log to be sure the update maintains backward compatibility.

It shouldnt break anything. Well testing steps are same as deploying it.
https://github.com/actions/setup-go
https://github.com/actions/checkout
you can check the changelogs here.


IPInfo geolocation being abused (cost issue)

The search on this site uses ipinfo.io to determine whether a user is in China or not. The usage of this account went through a spike last month which cost CNCF hundreds of dollars. Most likely this isn't because of usage from this site but because someone has stolen our token and is using it for other purposes. Note that the token is just exposed in the code and downloaded by all site visitors. I suggest we find another way to perform this determination so that we can remove this vulnerability and stop wasting money. Recent usage of ipinfo.io is below:

Kubernetes website pages are building as static pages so all the API calls happening through JavaScript and hence there is no other way to hide the token.

We might be able to use a Netlify Function instead.

BTW, I'm curious, do you have a sense of what proportion of visitors inside of China require this functionality and what proportion have a VPN so can access Google search results? I'm asking to determine to what extent we need to provide Chinese-based alternatives for other CNCF resources.

It turns out there is a way to whitelist referring domains on ipinfo. I have added kubernetes.io to the list and I assume this will take care of any abuse issues, so think we can close this issue if people are happy with this solution.
I would still, however, be interested in a reply to my question in the previous comment.

Does that allow list also cover v1-26.docs.kubernetes.io etc @cjyabraham ?

I don't think we have an insight into what proportion of people inside China use a VPN to access our website. AIUI people not using a VPN, and connecting from China, don't appear in our Google Analytics stats.

I added kubernetes.io to the whitelist so all subdomains should be included. We should test this out to make sure they're all still working.

The subdomains use the main search page anyway.
Done.
/close


Typo & Grammar Fixes

More coming after you merge this and I find more of them xd.

Appreciate all these grammar fixes, in the future tough it would be nice if you could merge them all into 1 pr

Yes ok sorry, I was lazy lol
From: Jonas is my name
Sent: December 19, 2018 10:05 PM
To: jonas747/yagpdb
Cc: ACA30; Author
Subject: Re: [jonas747/yagpdb] Typo & Grammar Fixes (#393)
Appreciate all these grammar fixes, in the future tough it would be nice if you could merge them all into 1 pr
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Fix bluebird regression and temporarily disable missing collection check

Fix bluebird regression and temporarily disable missing collection check

Fails

:no_entry_sign:

Your PR has lint errors. Please fix these and commit them.

index.js
Full Path: /home/circleci/project/src/index.js
Parsing error: Unexpected token =>
Line 5: var mongoDSL = async (client, dsl) => {

Warnings

:warning:

The README has not been updated. Please update the README.

Messages

:book:

Awesome! Thanks for the well-formatted PR!

  Generated by :no_entry_sign: dangerJS


multi inverter support

As discussed in victron Forum the json output of a OpenDTU with two inverter, and code example to select phase for each inverter independently. Current for multiple Inverter corrected. Also power Connection is selectable (victron AC IN / AC Out)
multiphase.zip

Hello henne,
Yes, i connected two inverter on different phase in real. So the power should be shown for the correct phase.
I also thought about having two instance of the inverter, but this seems to be less structed, if you have more inverter.

OK, I will rework the script to allow for multiple phases and also which Inverter should be on which phase, based on the serialnumber, in this way we can add multiple inverter on a single phase, but also account for multiple inverter on different phase.

I have now added you code and also added ahoy support, please check it it works now for you


Redis configuration on another node

Hello Everyone,
To reduce server performance issue, i m thinking to migrate Redis and RabbitMQ on different server,
Is it feasible in current structure? Any suggestions?
Thanks in advance..

Hello @ysv
Sorry i was out for a week,
Thanks for the reply, till now didn't get to chance to check this practically, but yes you are right we wouldn't have any problem using Redis from another VM.
Also i assume, we can use RabbitMQ with same approach, any comments?
Thanks again

connect:
  host: <%= ENV.fetch('RABBITMQ_HOST', 'localhost') %>
  port: <%= ENV.fetch('RABBITMQ_PORT', '5672') %>
  username: <%= ENV.fetch('RABBITMQ_USER', 'guest') %>
  password: <%= ENV.fetch('RABBITMQ_PASSWORD', 'guest') %>

for rabbitmq

Hey @AKRathore, @ysv already answered on your question about rabbitmq configuration.
You need to export  envs of edit application.yml to change rabbitmq config.
Here is configuration file https://github.com/rubykube/peatio/blob/a8f1fb9db49a4617d509bfbff0c806637ced8d7e/config/amqp.yml#L1-L5
Here is configuration file https://github.com/rubykube/peatio/blob/a8f1fb9db49a4617d509bfbff0c806637ced8d7e/config/amqp.yml#L1-L5


Skip test header mismatched MD5

Until we figure out how to parse the response in the CI

@ironman-machine go!

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "SCALITY_S3_BRANCH": "FIX/test/mismatchMD5", "DEFAULT_BRANCH": "master"}
Please follow http://ci.ironmann.io/gh/scality/Integration/5739 for CI status.


Fix chunk culling

Lighty for 1.20

Seems like an off-by-one error somewhere here

May have been fixed in 5267a83
I will still keep the issue open, just in case it didn't get fixed. If experience this bug, please comment below!

Issue was not fixed, frustum check still acts weird on chunk borders


convex hull implementation sometimes produces incorrect result

Category
[ x] Bug
[ ] Feature Request
[ ] Question
Brief Intro

Und some circumstances, the convex hull implementation provides wrong results.
More Details
Reproduction:

open the convex hull project in xCode.
In View.swift replace the function generatePoints() with the following code:

    func generatePoints() {

        // [(22.0, 22.0), (157.0, 447.0), (146.5, 284.0), (353.0, 22.0)]
        points.append(CGPoint(x: 22, y: 22))
        points.append(CGPoint(x: 157, y: 447))
        points.append(CGPoint(x: 146, y: 284))
        points.append(CGPoint(x: 353, y: 22))

        points.sort { (a: CGPoint, b: CGPoint) -> Bool in
            return a.x < b.x
        }
    }

Start the app. The shape shown is concave because the inner angle at one of the four points is greater than 180 degrees.

Fixed by #630


d3 does not export transform

hi, d3 v6 does not export transform function anymore. what is the alternative?

Are you referring to https://github.com/trinary/d3-transform or https://github.com/d3/d3-zoom#transform_apply?


Fix PlutusData Map type

We required Map (Array (PlutusData /\ PlutusData)) instead of Map (Map PlutusData PlutusData) in PlutusData, I noticed this whilst adding a Plutus-style associated map https://github.com/Plutonomicon/cardano-transaction-lib/issues/278.
It doesn't make sense for PlutusData to use a Purescript Map.

Not sure how concerning this is but Seabug's metadata uses PlutusData's Map

Has been fixed in https://github.com/Plutonomicon/cardano-transaction-lib/tree/viet/assoc-map although PR isn't ready.


[1.18.2 Fabric] Disconnect error when trying to use this mod with Nyf's Quivers (opening up the quiver inventory).

latest.log
When trying to open up Nyf's Quivers inventory with this mod installed, it forces a "disconnect" from your SSP world, giving the error "Internal Exception: java.util.ConcurrentModificationException".
Using 1.18.2 Fabric and the latest api/mod versions.

Turns out to be an issue with a different mod causing 3 way mod issues (Roughly Searchable), sorry.


NetworkUnreachableError: bk iam ping error

`[root@localhost bk-itsm-master]# python manage.py migrate
init redis settings
autodiscover rpc: rpc.components
autodiscover trigger: action.components
System check identified some issues:
WARNINGS:
ticket.SignTask.is_passed: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
HINT: Use BooleanField(null=True) instead.
workflow.Workflow.is_task_needed: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
HINT: Use BooleanField(null=True) instead.
workflow.WorkflowVersion.is_task_needed: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
HINT: Use BooleanField(null=True) instead.
Operations to perform:
Apply all migrations: account, admin, auth, auth_iam, component_framework, contenttypes, data_migration, django_celery_beat, django_celery_results, django_nyt, django_signal_valve, engine, iadmin, iam_migration, log, pipeline, postman, project, requests_tracker, role, service, sessions, sites, sla, sla_engine, task, thumbnail, ticket, ticket_status, trigger, variable_framework, weixin_core, workflow
Running migrations:
Applying iam_migration.0001_initial...http request error! method: %s, url: %s, data: %s GET localhost/ping None
Traceback (most recent call last):
File "manage.py", line 43, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.6/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.6/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 89, in wrapped
res = handle_func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 246, in handle
fake_initial=fake_initial,
File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
state = migration.apply(state, schema_editor)
File "/usr/local/lib/python3.6/site-packages/django/db/migrations/migration.py", line 123, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/usr/local/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
self.code(from_state.apps, schema_editor)
File "/data/bk-itsm-master/iam/contrib/iam_migration/migrations/0001_initial.py", line 16, in forward_func
migrator.migrate()
File "/data/bk-itsm-master/iam/contrib/iam_migration/migrator.py", line 61, in migrate
raise exceptions.NetworkUnreachableError("bk iam ping error")
iam.contrib.iam_migration.exceptions.NetworkUnreachableError: bk iam ping error`
请问下这个是什么问题 如何解决

如果只是本地测试，请设置 USE_IAM 环境变量 == false


latest stable tensorflow which is compatible with cuda 9

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version: 1.12.2
Python version: 3.6
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 9
GPU model and memory:

Describe the problem
I want to know which is the last known stable version which is compatible with cuda 9. Iwant to use lateset tensorflow code which has a bug fix but i am not able to do coz that is not compatible with cuda 9. I cant upgrade to cuda 10, it will break others old model architecture.
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

1.12.2 is the latest version

Can we close the issue since the query is been answered. Let us know. Thanks!


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Mon Mar 14 2016 18:05:11 GMT 1100 (AUS Eastern Summer Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Richard\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\Richard\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


Event query works differently on emulator and devnet

Introduction
Problem
When doing an query to get events without specifying a type field the following happends:

emulator returns all event types
devnet returns no events

Steps to Reproduce
Perform and event query with no parameters specified in the event query struct.
Acceptance Criteria
Document the difference. Return error if not allowed.

@vishalchangrani Is it possible that the behaviour in the Access API is incorrectly different?

@bjartek I had this same issue a while back.
AFAIK querying events with no type will not be possible on devnet, testnet and mainnet.
For consistency, the Emulator should not allow querying events with no type.

Yes, currently devnet and mainnet by design return nothing if no even type is specified. I am investigating if that can be changed to behave similar to the emulator by return all events.

Had a chat about this internally and it was recommended that the emulator code be changed to mimic the devnet/mainnet behaviour which is to not return any event if event type is empty.
While returning all events should be an option, the concern is that in some cases the event list may be large and may cause a performance issue. Hence, the ability to return all events should be provided after a pagination scheme has been implemented for events.

Fair enough. But are you going to theow an error if you call the api with no event type?

that is actually a good idea. Will throw an error if even type is an empty string.

https://github.com/dapperlabs/flow-emulator/issues/99 - PR

This has since been fixed in the emulator to match the behaviour that @vishalchangrani described: https://github.com/onflow/flow-emulator/commit/1fe4e667a443dc76e4c6f91facd0e3e07d5beb4d


Caret/xor operator is treated as part of identifier

Checklist:

[x] I updated to the latest spin2 version available
[ ] I have restarted VSCode and the problem still exists

Description of problem:
Caret/xor operator is treated as part of identifier. This doesn't happen with plus/minus/star/etc, but I haven't exhaustively tested all operators.

Additional information:  (please attach your source file (.spin2) exhibiting the problem you are describing.)
https://github.com/IRQsome/NeoYume/blob/2a764eb5ea9c3bab88325db58d6a07bdc712fae7/neoyume_lower.spin2#L3103

@Wuerfel21 on it!   Good find.

@Wuerfel21 you should have a new extension version with the fixes. It's been uploaded to the Marketplace.
Thanks again for reporting this!


Canot using tensorboard

tensorboard\data_compat.py", line 74, in _migrate_histogram_value
    buckets = np.array([bucket_lefts, bucket_rights, bucket_counts], dtype=np.float32).transpose()
ValueError: setting an array element with a sequence.

Hey, I've tried hard to solve this problem, however, doesn't got it.
Python 3.6.6
Torch 0.4.1
Numpy 1.14.3

Hi @WilliamLambertCN,
Did you solve this issue? If yes, could you please share you solution?


Change GOMAXPROCS when changing the CPU limit

Tortoise could change the CPU limit. If Pods have GOMAXPROCS configured, we should also change the value of that.

What if people are using some internal library like https://github.com/uber-go/automaxprocs, how to identify if they have their own logic to set GOMAXPROCS?

We don't have to care about those who use such tools - basically, those tools overwrite the value that is given via GOMAXPROCS, meaning whatever the value tortoise changes in GOMAXPROCS, it's no-op.

Implemented in https://github.com/mercari/tortoise/pull/365 with a feature gate GolangEnvModification.


Convert LFN to PFN when generating checksum file path

In v4, XrdOfs::chksum converted LFN to PFN before handing over to XrdHdfs::ChecksumManager::Get
In v5, the default changed and conversion is no longer done before calling the checksum functions.

Issue resolved in xrootd, so no plugin changes are needed


Use the @Nullable annotation on fields too

Spring 5 (currently in M4) is going to support Kotlin's nullable types when injecting beans. Under the hood, it will look for any @Nullable annotation on autowired fields. That's great, except it doesn't work on Ceylon declarations, because we put @Nullable on $priv$ getters but not on the actual field for code like this:
class MyClass() {
    autowired late IService? myService;
}

In such classes, Spring will use the field because there's no public getter (only a getMyService$priv()$ method).
It might be interesting to add another @Nullable annotation on the field to leverage that new feature in Spring core.

There you go, @bjansen, done! HTH.

Unfortunately it's not enough to make Spring read the annotation, because it's currently @Retention(CLASS) instead of @Retention(RUNTIME), so it won't be readable via field.getAnnotations().
I'm not sure where else this @Nullable annotation is actually used so IDK if it's safe to change its retention :/

Here's a sample in case someone wants to reproduce: https://github.com/bjansen/ceylon-spring5

And now I realize that autowired late String? foo will likely throw a Accessing uninitialized 'late' attribute 'foo' when there's no bean candidate for Spring to inject :(

OK, it can be solved using constructor injection, which the preferred way in Spring anyway.

I changed the retention policy to RUNTIME, otherwise Nullable and NonNull are basically useless because they can't be accessed using reflection (they would be accessible by reading the bytecode directly though).
My Spring 5 demo is now working correctly: using constructor injection, Spring 5 will now detect nullable types and inject null if no matching bean is found. Neat :)
Thanks @gavinking !

@bjansen But do we even need the annotations on the fields if you're using constructor injection??

@bjansen ping?

I'd have to take a look at how Spring decides which dependencies are optional and which are mandatory, but I believe it's gathering metadata from fields (or getters/setters if present), even when injection is done using constructors.

OK, fine, so it's useful, great. Then I won't roll back my work :-)

I did a little investigation, and it turns out that even when I use constructor injection, Spring will in fact do field-based injection. That's because both of the following Ceylon variants:
component class MyController(autowired MyRepository repository,
                             autowired NotABean? noBeanCandidate) {

    shared void check() {
        print(repository);
        print(noBeanCandidate);
    }
}

component class MyController(repository, noBeanCandidate) {

    autowired MyRepository repository;
    autowired NotABean? noBeanCandidate;

    shared void check() {
        print(repository);
        print(noBeanCandidate);
    }
}

will result in Java fields annotated @Autowired in the bytecode. The constructors will have @Nullable / @NonNull parameters, but in the end Spring will look for the @Autowired annotation so it will do field-based injection.
No need to revert your change then :)

@bjansen I think that's just because you're supposed to annotate the class or constructor, not the parameter.
@Autowired is declared @Target({CONSTRUCTOR,FIELD,METHOD}). So if you stick it on the parameter, the annotation will be added to the field. But if you stick it on the class or constructor it will be added to the class or constructor, which is what you probably wanted.

Coincidentally both work?

Coincidentally both work?

I guess.

Huh, it never occurred to me that it was possible to use @Autowired on methods...
And I also learned that if I write autowired component class MyController(...), it will generate a @Component class with an @Autowired constructor, which is neat!

And I also learned that if I write autowired component class MyController(...), it will generate a @Component class with an @Autowired constructor, which is neat!

Yep, we thought this through ;-)

So can you annotate i.e. whether Ceylon class annotations end up getting attached to the class, the constructor or both?

@xkr47 You can, but it's been designed so that that should never be necessary.


Added support for passing in JSON lists as well as objects

I have data that consists of JSON lists of objects: [{...}, {...}, ..., {...}]. My changes to json2html add support for generating HTML from a list; in the current version, json2html only supports generating HTML from an object.

While I'm not the maintainer of json2html, I went and looked up whether list roots are valid JSON according to spec, and indeed they are: http://stackoverflow.com/questions/3833299/can-an-array-be-top-level-json-text . So as long as current test cases still work, I think it's a good idea to support this.

Hey @tmwong2003,
The code and functionality looks good. I have tested different scenarios related to list and it works. Thanks for the patch!
But I found something which is breaking/not as per the current scenario. Try to run Example 4 and 5 provided in the README(https://github.com/softvar/json2html#example-usage), the list is no longer being rendered in the form of li's.
See the below 2 screenshots for reference:

Screenshot for Example 4: https://www.dropbox.com/s/xhfn2f0v6j0ux4m/Screenshot 2015-05-24 15.57.08.png?dl=0
Screenshot for Example 5: https://www.dropbox.com/s/mcgeqlejs92c759/Screenshot 2015-05-24 15.57.36.png?dl=0

Any specific reason for the desired change?
@muellermichel , yes, the idea looks good and would serve a good purpose. Once being done, i'll update the README and the live demo too.

A lot of code got changed after merging #21 and I think @muellermichel has picked up necessary stuffed from here if it was necessary. Please correct me if wrong.
Closing this one as per the reason mentioned above.


[docs]: fix article "Remove a File"

Description
Article Remove a File needs to be updated, more details @ #855
Issue List

[ ] Guide the user to click Resource Name

Steps below needs to be fixed accordingly

1. In the list of applications, find the application with the configuration file you want to remove and click DETAILS
1. In the list of configuration files, find the file you want to remove and click DETAILS

[ ] Guide the user to use Tabs

Steps below needs to be fixed accordingly

1. On the upper-right corner of the applications details view, click SETTINGS
1. Use the drop-down menu to choose CONFIGURATION FILES, to see a list of existing Configuration Files

This issue remains relevant to documentation

@thlmenezes can you assign this to me?


timeTxt.y or timeTxt.height cannot be accessed by lua.

Describe your bug here.
Just as the title.
Well, have this script where things go wrong:
luaDebugMode=true

local flip_susses={
	--[[stuffs of other lua scripts, not listed here]]
	'timeBar',
	'timeBarBG',
	'timeTxt'
}

function flipover(name)
	local yf=screenHeight-getProperty(name..'.y')-getProperty(name..'.height')
	doTweenY('faf'..name, name, yf, 0.5, 'cubeInOut')
end

function onSongStart()
	if downscroll then
		doTweenY('fafysongnameTxt', 'songnameTxt', screenHeight-getProperty('songnameTxt.y')-getProperty('songnameTxt.height')-15, 0.5, 'cubeInOut')
		doTweenX('fafxsongnameTxt', 'songnameTxt', getProperty('difficultyTxt.x'), 0.5, 'cubeInOut')
		for k,v in pairs(flip_susses) do
			flipover(v)
		end
	end
end

Or rather, this:

Command Prompt/Terminal logs (if existing)
ERROR (onSongStart): mods/FNFEK-PE/scripts/downscrollFlipScript.lua:16: attempting to perform arithmeric on a nil value

(Cream's note: this happens when it calls timeTxt, 100% confirmable)
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I'm making a Lua mod out of it, but I didn't touch source

oh wait, after further investigation I found out it's actually the problem with timeBarBG, this thing doesn't exist on 0.4.6 / 0.7.3, sorry-