input shape for inference with new data

hello,first thank you for sharing your code, i tried to export the model to run inference and i would like to get some clarification on the input data shape, if i try to send an audio file (wav, 1 channel at 16khz) i get this error:
INVALID_ARGUMENT, details="input must be 4-dimensional[102400,1]
	 [[Node: conv_1d_1/convolution/Conv2D = Conv2D[T=DT_FLOAT, _output_shapes=[[?,1,?,1000]], data_format="NHWC", padding="VALID", strides=[1, 1, 2, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](conv_1d_1/convolution/ExpandDims, conv_1d_1/convolution/ExpandDims_1)]]")

thank you for your help

Hi, input of deepspeech model is spectrogram not raw wave data. If you are
using accompanying scripts (train.py) it's done for you otherwise you
should (make spectrograms)[
https://github.com/reith/deepspeech-playground/blob/master/utils.py#L117]
and pass it to model.

i am experimenting using tensorflow serving, i have added the functions spectrogram and spectrogram_from_file to the preprocessing steps. however i am getting this output, shape: (231, 161) dtype: float64 this causes this error:
INVALID_ARGUMENT, details="Expects arg[0] to be float but double is provided")
am i missing any steps?
thanks

Unfortunately I'm not aware of serving.. Judging by error I guess it needs
type hints for preprocessor functions..


Consistently describe how long a program can run

Updates across all of the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 68.336%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3453

Relevant Lines:
5053

💛  - Coveralls


Add support re.Pattern[str] to pattern field

Change Summary
I think it just a simple idea about using already compiled regexp to set in pattern field.
Example:
import re

from pydantic import BaseModel, Field

TOKEN_RE = re.compile(r"glpat-.{20}")

class ModelWithToken(BaseModel):
    """Token model with secret."""

    token: SecretStr = Field(pattern=TOKEN_RE)  # Instead of `pattern=TOKEN_RE.pattern`

Related issue number
fix #9052
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review

@jag-k, ping!

@jag-k, ping!

@sydney-runkle Sorry to keep you waiting. I missed your message a bit in the mail.
I added tests. Tell me, is everything okay with them?


[CP] Fix DateTime.timeZoneName on Windows

Commit(s) to merge
b0236fdde5eec3adb60db672d82c089bae6af780
Target
beta and stable
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/358420
https://dart-review.googlesource.com/c/sdk/+/358440
Issue Description
DateTime.timeZoneName returns incorrect value on Windows when the machine is in the summer time but the given moment is in the standard time and vice versa.
What is the fix
Fix the implementation of the function to use the given moment rather then to look at the current time zone.
Why cherry-pick
There is a test failing on stable and beta branches - which makes other cherry picks harder.
Risk
low
Issue link(s)
https://github.com/dart-lang/sdk/issues/55159
Extra Info
/cc @a-siva

LGTM


Adding no-dns flag to Help.

We only document options in the help text that are explained in our main documentation.
What scenario did you encounter where --no-dns was useful?

I am just using consul-dns.
Out of cusiosity, if you dont want to document it why dont you just deprecate it?
Aside from this PR are you planning to support weave integration via libnetwork plugin once docker 1.9 get released? so I guess https://github.com/weaveworks/docker-plugin would be the way to go?
Are you planning to integrate with mesos via https://github.com/mesosphere/net-modules or is that something you are not considering?
Thanks!

I am just using consul-dns.

Does that require turning off weaveDNS?
As an aside, I'm keen to hear about the most important features of consul-dns that you find missing in weaveDNS. Let's not pollute this issue though, so if you don't mind, please post your "top consul-dns features missing in weaveDNS" on weave-users.

Out of cusiosity, if you dont want to document it why dont you just deprecate it?

The flag may well be useful in some circumstances.
Re your other questions, please ask on weave-users.

The --no-dns flag is not well-tested and we have had no specific use-cases from users to suggest it is widely required, so we are not going to advertise its existence.
Thank you for your contribution, though; @enxebre


Assets update

Add asset modal:

accepts home domain and issuer public key,
added validation (only valid assets will be added through the form).

Some refactoring to improve add asset flow.
Disable trust asset action if the account wasn't created.
Show invalid asset on the UI with option to remove it (previously it was ignored and the only option to remove it was to do it manually from the URL).

Adding invalid assets is only possible through URL.

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/

@piyalbasu @JakeUrban please check this PR again. I know it's a pretty big one but it didn't make sense to split this into multiple PRs because the previous update got changed again, etc. I tried to split the updates in commits, so hopefully, that will help a bit. 🙏

For a developer/user of the demo wallet it would simplify the UI a little if the domain and issuer public key were considered one and the same, and then the user doesn't have to identify that some fields are a one-of required.
Right now the UI looks like this:

We don't need to explain the OR relationship at the top if you combine the two:

G addresses and domains are distinguishable, so it should be possible to tell them apart.

Preview is available here:http://stellar-demo-wallet-pr114.previews.kube001.services.stellar-ops.com/


Opening VRChat while having VRCX open will now spam 429 errors

I am not sure why opening VRChat and having VRCX now floods with this now. Guess they changed something on their back end that finally broke VRCX as well as VRChat.

seems to only be you at the moment.

wasn't an issue till last night and waited incase it was a misconfiguration maybe

wasn't an issue till last night and waited incase it was a misconfiguration maybe

Can you try accessing https://api.vrchat.cloud/api/1/config via a web browser? The response you're receiving indicates that you have sent too many requests to the API, and that they are now being rejected.

it shows fine without anything running. Not sure if it has to do with 100+ online and 1,500+ offline friends online at once and 2k pending friend requests


account archive request

hi,
i was, and still am, very thankful for you and the easybacklog project, that was a great tool.
i couldn't believe today that the main login page redirected me to github#end-of-life, i double-checked my inbox, spam and other folders looking up for some notification from the website but nothing.
could you please provide some way to get the data that was hosted on my account ?
thanks again.

Hi. I sent out emails to everyone at the end of Aug 2022 stating everything would shut down at the end of Sep. I let it run on for a bit longer. See below.

I am afraid it's very difficult to give you access to your data now as a) it's archived away, b) it will require manual work to extract, c) it's a security risk as I can't share people's data.
If you can tell me which email address you used, and which backlog you need though, I will see if I can export the raw data into a CSV for you and send to the registered email address.  Would that work?

Hi Matthew,
Thank you for providing an amazing product!  I must have completely missed the email you sent out, and I'd also love to retrieve my data, if at all possible as I am hoping to keep using easybacklog as a stand-alone open source project. Is there a good, less public, line of communication I could send you the email and backlog name on?
Thank you again for creating such a simple yet immensely valuable tool!

Is there a good, less public, line of communication

Sure, please send an email to this temp address<EMAIL_ADDRESS>

Closing as being resolved over email.

If you can tell me which email address you used, and which backlog you need though, I will see if I can export the raw data into a CSV for you and send to the registered email address. Would that work?

hi matthew,
as far as i can remember, i had 2 or 3 backlogs hosted on easy backlog.
could you please send them to<EMAIL_ADDRESS>thank you.

as far as i can remember, i had 2 or 3 backlogs hosted on easy backlog.
could you please send them to<EMAIL_ADDRESS>
You haven't told me what email address you had your accounts with. Please send an email to<EMAIL_ADDRESS>from the email address that matches your account, and I can send it back to that email address.

as far as i can remember, i had 2 or 3 backlogs hosted on easy backlog.
could you please send them to<EMAIL_ADDRESS>
You haven't told me what email address you had your accounts with. Please send an email to<EMAIL_ADDRESS>from the email address that matches your account, and I can send it back to that email address.

email sent from<EMAIL_ADDRESS>thank you


fix insights collect data after reboot

Description
#RHE92 related
After ran an update the insights-client is not uploading the correct data on reboot.
the log report an error:
2023-06-26 21:45:12,593  NETWORK insights.client.connection HTTP Response Text: {"request_id":"94edde8818424f3d8b6b0243c7bcbd84","upload":{"account_number":"6089719","org_id":"11789772"}}
2023-06-26 21:45:12,593    DEBUG insights.client.connection Request ID: 94edde8818424f3d8b6b0243c7bcbd84, 94edde8818424f3d8b6b0243c7bcbd84
2023-06-26 21:45:12,594    DEBUG insights.client.connection {"request_id":"94edde8818424f3d8b6b0243c7bcbd84","upload":{"account_number":"6089719","org_id":"11789772"}}
2023-06-26 21:45:12,594    DEBUG insights.client.connection Upload duration: 0:00:01.679358
2023-06-26 21:45:12,595    ERROR insights.client.phase.v1 [Errno 13] Permission denied: '/etc/insights-client/.lastupload'

this fix will correct the permission during the image creation and avoid the continue and get our inventory information updated.
FIXES:  THEEDGE-3335
Type of change
What is it?

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

[fleetmgmt@localhost ~]$ sudo tail -f  /var/log/insights-client/insights-client.log 2023-06-27 17:07:01,527    DEBUG insights.client.connection Uploading /var/tmp/insights-client/insights-archive-bd_7er48/insights-localhost-20230627210544.tar.gz to https://cert.cloud.stage.redhat.com/api/ingress/v1/upload 2023-06-27 17:07:01,527  NETWORK insights.client.connection POST https://cert.cloud.stage.redhat.com/api/ingress/v1/upload 2023-06-27 17:07:01,941  NETWORK insights.client.connection HTTP Status: 202 Accepted 2023-06-27 17:07:01,941  NETWORK insights.client.connection HTTP Response Text: {"request_id":"44dec13f4fca4b4198012dca58591ace","upload":{"account_number":"6089719","org_id":"11789772"}} 2023-06-27 17:07:01,941    DEBUG insights.client.connection Request ID: 44dec13f4fca4b4198012dca58591ace, 44dec13f4fca4b4198012dca58591ace 2023-06-27 17:07:01,941    DEBUG insights.client.connection {"request_id":"44dec13f4fca4b4198012dca58591ace","upload":{"account_number":"6089719","org_id":"11789772"}} 2023-06-27 17:07:01,941    DEBUG insights.client.connection Upload duration: 0:00:00.410841 2023-06-27 17:07:01,943     INFO insights.client.client Successfully uploaded report for localhost.localdomain. 2023-06-27 17:07:01,944    DEBUG insights.client Cached branch_info file does not exist. 2023-06-27 17:07:01,944    DEBUG insights.client.archive Deleting: /var/tmp/insights-client/insights-archive-brae_lp0


AUTO LOAD/SAVE = OFF will load file if autostate is available

At first nice work on the latest ES.
I'm testing on Pi3 with 05/05 build so maybe the bug has been solved meanwhile
If you select a new game the menu will appear that lets you select NEW GAME and NEW AUTOSAVE
Now you terminate the game with button-combo and the autosave will be created.
Now you go to the core options and disable AUTOSAVE (or better set AUTOSAVE=OFF)
You start the game again and the menu with the selection won't appear, but the autostate will still be loaded.
This can cause crashes if the lr-core of the specific emulator was updated and the autosave is loaded by mistake.

I don't reproduce. There's something in your settings... Please be more precise about everything you did. What setting you have (global/core), Which version you use, Which system....

Arghh! It was set as global! I'm sorry!


frontend-hw-11 todoList - useState()

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
2

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Cleanup uuid documentation

Depends on https://github.com/D-Programming-Language/dlang.org/pull/903

Auto-merge toggled on


Add Compiler-RT for 128bit integer support

This is extracted from github.com/crystal-lang/crystal/pull/7093.
This implements all the expected functions 128bit integer support.

how can I make this a draft?

You can’t. Draft can only be created and be marked as ready. No worries

I am not sure the 32bits flag is working as expected

@bcardiff can you take a look at this when you get a chance?

Oh my! those huge files of specs! @wontruefree I'm sorry!
I would not expect _u128 constants to be used. Although for small values they are parsed.
The udivmodti4_test.c uses shifts and mask to build the 128 numbers
{(tu_int)0x0000000000000000uLL << 64 | 0x0000000000000000uLL, (tu_int)0x0000000000000000uLL << 64 | 0x0000000000000001uLL,  (tu_int)0x0000000000000000uLL << 64 | 0x0000000000000000uLL, (tu_int)0x0000000000000000uLL << 64 | 0x0000000000000000uLL},

instead of
#   StaticArray[0x00000000000000000000000000000000.to_u128!, 0x00000000000000000000000000000001.to_u128!, 0x00000000000000000000000000000000.to_u128!, 0x00000000000000000000000000000000.to_u128!],

UInt64 static arrays can be used to input the hex literals and then casted.
That trick should allow you to include the commented specs also. There is no need for them to use 128 literals.

I think mulotiX_spec.cr should require explicitly mulotiX. (I know it is not the case currently).
Then, the compiler_rt.cr will be able to include some operations based on distro and arch.
compiler_rt.cr can be left unchanged for this PR if you prefer, and once this is merged we can work on finding the inclusions to make spec/compiler/codegen/arithmetics_spec.cr and spec/support/number.cr work accross all platforms with the same definitions.

@bcardiff would that be something like
StaticArray[0x0000000000000000 << 64 | 0x0000000000000000]

Why not use the 128 literals?

@bcardiff so I get errors unless I use 128 bit numbers in the tests.
$ .build/crystal spec/std/crystal/compiler_rt/divti3_spec.cr
Showing last frame. Use --error-trace for full trace.

In spec/std/crystal/compiler_rt/divti3_spec.cr:23:3

 23 | test__divti3(HEX_0_8000000000000000, 1, HEX_0_8000000000000000)
      ^-----------
Error: no overload matches 'test__divti3' with types UInt64, Int32, UInt64

I mean to construct the Int128 values of the spec using something like StaticArray[0xffffffffffffffff, 0xffffffffffffffff].unsafe_as(UInt128) where the high part does not need to be shifted.
Using a macro might help to reduce the diff between the original C code and the port.

@bcardiff I have updated the tests that I can with the new Static Arrays.  However due to the current implementation of Int128 not a lot of the tests can be run.

I don't think we can accept this many specs...

Is all of this to support Int128? Is anyone using Int128 anywhere?
Note that this isn't to disregard all the work put here, but I think we are making things more complex than needed. If nobody is using Int128 and we don't have concrete use cases for it, I think it's so much simpler to drop it now and maybe add it post 1.0

My take is that if the specs are too heavy in the compiler-rt, but the actual code is small enough once this PR is complete maybe we can leave the specs and implementation in a separate repo. The implementation is unlikely to change since it is low level and a port of original compiler-rt. Or putting the specs in a manual directory might work. But we can leave code layout discussion after the for when the port of the code and it's specs is done.
And yes AFAIK all the new additions in this PR are to support Int128 uniformly.

I agree with @asterite. This is a huge work and lot of code to port from compiler-rt and to compile all the time, and to maintain eventually. Wouldn't it be simpler to depend on and distribute compiler-rt with crystal like we depend on and distribute libgc? It would still be possible to use another version than the distributed one, if needed.

The specs are huge but the compiler-rt is small.
Requiring a compiler-rt prebuild library will impact on the different distributions.
compiler-rt has also some other functionality besides the ones been ported here. I recall some concerns that every Crystal program would have that embedded / required (either static or dynamically linked)
The most comprehensive guide I've found to build compiler-rt was https://embeddedartistry.com/blog/2017/2/20/compilerrt . Since there is no compiler-rt only package we can depend on, it will need to be compiled or extracted for each target platform.
Having a crystal port seems painless in the downstream, yet it can still allow compiler-rt prebuild library to be used if wanted / worked out.
I see the port as more doable, but I confess part of that is not wanting to deal with all the options and flavors of embedding compiler-rt upfront.
My main concern was not blocking releases downstream and it seems doable by compiling the port (which is small enough). Again, if the specs are the problem that can be worked out in a different path or repo.

Sorry to ask again, but is compiler-rt needed for Int128 and something else (like math with overflow) or just for Int128?

@asterite this PR is for Int128 but there is already a port of mulodi4 that is used to have Int64 overflow in 32 bits.

@asterite compiler-rt is needed for 32 bit machines.  I did some more digging last night and think I might have something that will help me move forward.
These tests seem like a lot but they have been really helpful in debugging.  I can make a smaller set of tests these where the tests ported over from llvm codebase.
I can close these PRs until I am ready I have gotten some good feedback and it will take some time to get this all to work.

this PR is for Int128 but there is already a port of mulodi4 that is used to have Int64 overflow in 32 bits
compiler-rt is needed for 32 bit machines

But in #8283

Meanwhile, we are near to drop 32bits packages (and CI). LLVM 8 is not even available in their apt repo for 32 bits

So all the work we (as a community) put into compiler-rt go into:

Int128, for which there are no use cases and nobody asked it (I added it in the past because it seemed easy, but I was wrong)
Some operations in 32 bits machines, which will soon not be supported anymore

That's why I question why we need to continue putting effort in these things. It's not that I don't find this PR useful in its own, but given the context where it could be applied it seems to provide very little value.

Regarding the many specs, I don't think we need one spec per operation. We can put all specs inside a single it block... if having multiple specs is a concern (I don't think it poses any problems).

I was doing a project with Int128 integers a while ago and found that this was uncompleted.
I would like 128bit integer support in crystal and it seems like the majority if not all the work so far has gone into supporting 32 bit machines.

@wontruefree What did you need Int128 in your project?

@asterite I was integrating with a cpp library that was using Int128.  I was looking into slices and other technical solutions but in the end I discontinued the project.  I picked this up because I thought it was interesting and I thought it would help us get to 1.0.

Sorry for my interruption and discussion. If we can get this merged and support 32 bits and int128, I think this is the best result. Please go on!


vec4 + vec3 classes, with SIMD intrinsics support

The task is to create a vec4 class, which will be a vector with 4 elements, with the relevant functionality (like adding, subtracting, multiplication and division by a scalar).
Use the xsimd submodule for SIMD intrinsics to speed up the math operations, and provide reasonable constructors.
Make the vec3 class by inherting from vec4, and supply a cross product function for the 3 dimensional vectors.
You might find this link on how you can use SIMD intrinsics for computing the cross product of two 3D vectors interesting.
Assignee: @prateekgargX

Completed by #35.


Getting binding type(s) 'rabbitMQTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.

running azure function locally for RabbitMQTrigger, there are no build error , but when the run the function  i am getting bellow error
[3/12/2020 2:38:35 PM] Host started (2560ms)
[3/12/2020 2:38:35 PM] Job host started
[3/12/2020 2:38:35 PM] The 'Function1' function is in error: The binding type(s) 'rabbitMQTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.
Hosting environment: Production
Please let me know how to reslove the issue

Same happens to me

Just wanted to make sure that you did indeed install the RabbitMQ extension. It is not available out of the box.
https://dev.to/azure/announcing-the-rabbitmq-extension-for-azure-functions-2mbo

I am also facing this issue. I have the package installed.

Can you share your repro?
Most likely you function apps are using Extension Bundle, that brings in a collection of extensions and doesn't look at installed ones.
If this is the case, when you open host.json, you should see extensionBundle:  entry in the JSON. You can remove that JSON entry, and then re-install the RabbitMQ extension.
Please let me know if this works / doesn't work.

I had the same issue and fixed it by adding this to my local.settings.json
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[3.3.0, 4.0.0)"
}


chore(docs): make docgen.sh executable

The README suggests running npm run build_docs. In order
for that to work, docgen.sh needs to be executable.

Merged with 446ae95, thanks @rgbkrk !


feat: port influx bucket commands from influxdb

Closes #7
The main implementation is pretty straightforward, most of the added code is codegen + tests

@stuartcarnie mind taking a look at this one since you're building on top of it in #53?


fix(mod_ref_type): insert ref_mod_reftype entry only if mod_reftype entry exists in the db

…lready exists

It also adds new SGD referencetype into referencetype/mod_referencetype/reference_mod_referencetype tables so it is good! @valearna  Thanks!


Sample Updates for 2310 release

This PR contains the following changes

Updated advanced samples with new XAML layout that is easier to understand
Fixed bug where scroll viewer would scroll to top and put focus on first tab element whenever you clicked on a non focusable element
Added HotkeyWatcher API use to sample
Added WindowBounds API use to sample
Added Notification setting changed API use to sample
Bring all updates for 2310 to the C# sample as well
Misc bug fixes


Tg Mures is not a city in Romania.

COMPANY : Groupama
ENVIRONMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Mozilla Firefox
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Open the URL in the browser.
Run scraper for "Groupama" company.
Check the location.
ACTUAL RESULTS :
Jobs must have a city as a location.
EXPECTED RESULTS :
Tg Mures is not a city in Romania.

Fixed!

Tg Mures is a city from Romania and the job is located in a city in Romania.


Investigate why OAuth tokens only last 10 hours

As title says, OAuth tokens only last 10 hours. This is a bit of a pain when using services like Amphi, warwick.gg or upcoming Harmony where you have to reauthorise the app pretty much every time you go to sign in. Would be nice to try and extend this in some way so re-authorisation becomes less of a regular thing?

A setting change has been added to the settings in the production environment to increase expiration to 24 hours. The change has also been implemented as part of the Wagtail upgrade which is yet to be deployed (commit 20d5c85 in branch wagtail-upgrade)


Cannot get the private IP from an instance

For my specific use case, I need to know the private network IPs of my instances.
But neither the contabo_instance nor contabo_private_network return the private IP.
In the case of contabo_instance, on the ip_config I only get the public IPs (same when using the API)
In the case of contabo_private_network, I get an array with instance_ids, but not private IP of each of them:
instance_ids  = [
          20100*****,
          20100*****,
        ]

This is contrary to the API, where I can see the private IPs of the instances on data[*].instances[*].privateIpConfig.v4[*].ip

Hello jorgepsmatos,
you are right, we need at least one place where the private IP addresses are listed. We will add it to the contabo_private_network's instances list as it is in the API spec.
Thank you for finding it.

Sorry for the delay. Instances (with their private ip addresses) are now listed in the contabo_private_network resource.
Please check out version 0.1.15


Mostly corrected spellings of null and guarantee

Plus some v. small textual improvements.

NUL specifically is a zero character, so imo it's not a typo.

Yes, the NUL character is the intent, though I suppose capitalization may make it clearer. The other fixes are appreciated!


Add E2E tests

/retest

/retest

/hold
maybe we should check why the timestamps of remdiation CR and new machine equal? Does not make sense...


Support scheduled tasks

Hello,
what would you think about adding support for scheduling tasks in Spring?

Also consider javax.ejb.Schedule

Is this currently being worked on? If not, i could give this a try.

Sure, please go ahead. See https://github.com/elastic/apm-agent-java/blob/master/apm-agent-plugins/apm-api-plugin/src/main/java/co/elastic/apm/agent/plugin/api/CaptureTransactionInstrumentation.java for a very similar implementation.

hi @fr1zle , is it work now?
I tested with:
@Scheduled(cron = "*/15 * * * * *")
@Scheduled(fixedDelay = 5)
but no transaction was created.
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.0.5.RELEASE</version>
</parent>

This is released as of 1.6.0. Note that you have to configure application_packages for it to work.

Should I set absolute package?
package kz.kananinja.apm.service;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TestScheduleService {

    @Scheduled(cron = "*/15 * * * * *")
    public void test() {
        System.out.println("test every 15 sec");
    }

}

or is it ok?
-Delastic.apm.application_packages=kz.kananinja.com

Great! It works. I setted incorrect package.


Root 6 compatibility

I've made some changes to the code to make it root 6 compatible. These changes shouldn't change anything when compiled with root 5, with root 6 the created files are currently a little bit bigger because the TClass::IgnoreTObjectStreamer method doesn't work the way it used to in root 6.

Maybe you can correct me, but I think the TObjectStreamer issue may happen if they have changed their dictionaries in the new version. ROOT is smart at reading files without dictionaries, but it might be running into issues if is expecting TObjectStreamer info.

Yes, that might be one of the issues with TObjectStreamer. However the documentation of root 6 is even worse than that of the previous versions. I've looked (though not for long), and I couldn't find any documentation about how to suppress the TObject information (like we used to do with IgnoreTObjectStreamer).
But the additional info doesn't seem to increase the file size by too much (about 10% in my tests), so until we find a way to do the same in root 6, I think we can live with the slightly larger files (only in root 6, root 5 has still the smaller size).

I completely agree, I just like to think of 10% increase in file size = 10% increase in write time. Not huge, but if a single line can give us that improvement I’ll take 10 of them!

On Jul 20, 2015, at 6:24 PM, Vinzenz Bildstein<EMAIL_ADDRESS>wrote:
Yes, that might be one of the issues with TObjectStreamer. However the documentation of root 6 is even worse than that of the previous versions. I've looked (though not for long), and I couldn't find any documentation about how to suppress the TObject information (like we used to do with IgnoreTObjectStreamer).
But the additional info doesn't seem to increase the file size by too much (about 10% in my tests), so until we find a way to do the same in root 6, I think we can live with the slightly larger files (only in root 6, root 5 has still the smaller size).
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/pull/396#issuecomment-123122245.


http://localhost:3000/login has missing css

The css files are missing for the above url

It shows up on refresh but not on first time click

For me it shows on first time click. Was it a cache issue?

maybe. It happens irregularly


Unable to detect namedtuple as a class

autodoc is able to find classes created from a call to collections.namedtuple and document them. Currently autoapi can't detect these classes.

I think this will be partially covered by #99 because namedtuples are assigned to a variable, so depend on the data detection.

Closing in favour of #99


TGM: Remove User model

What's this PR do?
Continues on #989, picking up where #999 left off. None of this code is used in production anymore. We'll want to migrate these User tests over to Gambit Conversations.
How should this be reviewed?
Will deploy to staging, confirm Campaign Signup + Completion works as expected in Gambit Conversations Staging.
Any background context you want to provide?
Next up is refactoring lib/conversations, and removing lib/northstar and lib/mobilecommons. I'm looking to avoid ripping everything out at once for sake of hopefully keeping these easier to review?
Relevant tickets
#989
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.

Codecov Report

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

@@            Coverage Diff            @@
##           master   #1002      +/-   ##
=========================================
- Coverage   57.66%     57%   -0.66%
=========================================
  Files          71      70       -1
  Lines        1344    1284      -60
=========================================
- Hits          775     732      -43
+ Misses        569     552      -17

Impacted Files
Coverage Δ

lib/helpers.js
73.45% <ø> (-0.95%)
:arrow_down:

lib/northstar.js
0% <0%> (-100%)
:arrow_down:

lib/conversation/actions.js
22.22% <0%> (-77.78%)
:arrow_down:

lib/mobilecommons.js
0% <0%> (-22.45%)
:arrow_down:

Continue to review full report at Codecov.

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


xquartz: expect 2.7.9 on 10.6-10.11

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes?
[x] Have you successfully run brew tests with your changes locally?

Maintainers: Just getting this out to see the CI failure—do not merge yet. Will update XQuartz on all our machines and re-run the build before merging this.

👍 although I do wonder if we need to have brew doctor complain about this at this point.

although I do wonder if we need to have brew doctor complain about this at this point.

We don't complain if it's not installed and hopefully most of our newer users don't have it installed. If we keep track of the up-to-date version anyway in our code, I guess it's a nice touch that we nudge those who have it installed to upgrade, as XQuartz updates usually come with some security updates.


[Hold] Receiving message with spaces from email

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Send a message from User A to User B
Don't read the email in NewDot, wait for the message to be sent via email
Via User B's email, send a message by entering space then a word (like this: "                             hi")
Open the User A's chat, see the long initial space followed by the message.

Expected Result:
Spaces should be remove before the word
Actual Result:
Receiving spaces before the word from email
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.2.74-0
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/219967820-8be6e0de-ab19-46e1-97c5-2fc94ab2660e.mp4
https://user-images.githubusercontent.com/43996225/219967830-b7e25ef6-962f-4145-b836-bf1b859a3730.mp4
https://user-images.githubusercontent.com/43996225/219967836-4c5b1bb2-78b0-44a1-94be-49cb16800cc2.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676415778126259
View all open jobs on GitHub

Triggered auto assignment to @JmillsExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Holding per https://github.com/Expensify/App/issues/15336

Still on hold for the linked tracking issue.

@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Still on hold per the tracking issue. The leader of the initiative also recently left, so I need to catch up on the latest plan there.

We still need to find someone to pick this up, though I haven't yet gotten to floating this elsewhere.

@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too...

Putting a weekly on this, as ECX is requiring all of my attention at the moment.

Still not a priority versus other things.

Still not a priority

Not a priority

Not a priority, just like the linked issue.

Not a priority.

Not a priority

Closing this per the linked tracking issue.


[6.2.x] Fix Hazelcast Cluster shutdown when configuration is reloaded

Backport for #5002 , thanks

Please fix the build failures.


Add deprecated columns macro

Adds the deprecated columns macro from alphagov/whitehall. This allows
a grace period when making subtractive schema changes.

Code changes seem good but the naming and description is a little out of line.

Good point. Reworded the last commit message.


Hook not firing on first page unload

Hello, @krasimir!
Thank you for this nice library, it's very handy to have a vanilla js router.
On my current project, I skip resolving the routes on page load since the server already serves the correct and fully formed page. However, when the user navigates away from the page, the leave hook does not fire (which is unfortunate since I rely on it to do some clean up before the page transition). Is this expected behaviour?
A few snippets of relevant code:
    const root = '${window.location.protocol}//${window.location.host}';
    this.navigo = new Navigo(root, false, '#!');

    const hooks = {
      before: page.willLoad,
      leave: page.willUnload,
      already: page.hasUnloaded,
    }

    const route = this.navigo.on(
      location,
      page.fetch,
      hooks,
    )

    if (window.location.href.indexOf(location.split('/')[0]) > -1) {
      this.navigo._lastRouteResolved = { url: '/', hooks };
      page.hasLoaded();
    }

As you see I do try a somewhat hack-y solution by setting _lastRouteResolved, but it hasn't worked. Any ideas on how to solve this?
Thanks again!

Yep, I see what's the problem. When I started working on Navigo SSR wasn't a thing :) So, indeed because of the SSR the _lastRouteResolved is empty and there's no hooks to call. However, I have the feeling if this was working you'll need something more then the leave hook. That's because that hook is synchronous. I'll suggest to implement the clean up outside of Navigo. For example:
const actualHandler = function () {
  console.log('actual handler');
}
const cleanUp = function (handler) {
  return () => {
    // cleaning up, fade out previous page etc
    handler();
  }
}

router.on('/some/url', cleanUp(actualHandler));

hi again,
Thanks for the quick reply!
In the end I did get my hack with the _lastResolvedRouteto work by setting it as the current route (I had previously misread Navigo's code on what it expected _lastRouteResolved.url to be). So, my solution was:
    const location = '/pageA';

    if (window.location.href.indexOf(location) > -1) {
      this.navigo._lastRouteResolved = { url: location, hooks };
      page.hasLoaded();
    }

In any case, not sure if I misunderstood your reply or if it isn't applicable to my specific case: a route does not have access to anything but itself and the router, so it cannot clean up after the previous route on navigate. As such, it doesn't matter whether leave is synchronous, since it only operates on content that belongs to the previous route.
A rough timeline of what I'm trying to achieve would be:

Site loads with pageA;
pageA sets up all its components and etc;
User clicks on link to pageB;
pageA cleans after itself;
4.1 at the same time, content loading begins;
pageB finishes loading and sets itself up.

There is a new version 8.0.0 which has a solution of the problem here. It is an option of the navigate method.
router.hooks({
  leave(match) {
    console.log("leaving ", match);
  },
});

router
  .on("/about", (match) => {
    render("About");
  })
  .on("/products", (match) => {
    render("Products");
  })
  .on("/login", (match) => {
    render("Login");
  })
  .on(() => {
    render("Home");
  });

router.navigate("/login", { silent: true });

The silent: true sets the internal state of the router. It basically updates a local variable called current. It's also the same one that lastResolved() method returns. That same object is passed to the leave hook took. So if you use silent you'll be able to set the router in a state without updating the URL of the browser and without resolving routes.
P.S.
Version 8.0.0 is not officially released but can be installed via npm install navigo@beta or yarn add navigo@beta. Migration guide is available here https://github.com/krasimir/navigo/blob/big-rewrite/CHANGELOG.md#migration-guide and the new documentation here https://github.com/krasimir/navigo/blob/big-rewrite/DOCUMENTATION.md.


Prettier

Resolves #31, this PR adds prettier library for formatting purposes and pre-commit hook to execute format cmd before every commit.
@jludvice pls review this, if you don't like it or want to add more rules.
@lvydra be aware that since this is changing almost all files formatting you'll need to update your fork once it's merged to prevent unnecessary conflicts.

I'll close this PR for now. If we feel like adding code-formatter in future, feel free to reopen the linked issue.


Obsidian: reursive directories are not supported

I'm not sure if there is an obsidian user impacted by this bug. If so, please comment, and I'll fix it at high priority

This is done in https://github.com/Endle/fireSeqSearch/pull/147
Will be fixed in the next release


Dgraph v1.0.x: Mutations are not committed

Mutations sent when connecting to a Dgraph v1.0.x cluster are not committed.
Steps to reproduce:

Run a Dgraph cluster running v1.0.x.
Run a mutation in the Mutate tab. There's no "commit" message in the mutation response.

The network request for the mutation ran /mutate?commitNow=true. In Dgraph v1.0.x, CommitNow should be set with the header X-Dgraph-CommitNow: true.

Fixed in 30412faf2ca8


nuclei: 3.1.2 -> 3.1.3

Description of changes

Diff: https://github.com/projectdiscovery/nuclei/compare/v3.1.2...v3.1.3
Changelog: https://github.com/projectdiscovery/nuclei/releases/tag/v3.1.3
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.


Update parent close policy to terminate/cancel child workflows even after continue as new

What changed?
this picks https://github.com/temporalio/temporal/pull/696
and partially picks https://github.com/temporalio/temporal/pull/365

Why?
see the 2 cherry picks

How did you test it?
Tested by terminating childworkflow

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 0184bf78-5739-40a2-b514-281ebfd1fbfc

76 of 106 (71.7%)  changed or added relevant lines in 6 files are covered.
76 unchanged lines in 10 files lost coverage.
Overall coverage increased (+0.02%) to 57.284%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/types/shared.go
8
10
80.0%

service/worker/parentclosepolicy/workflow.go
0
5
0.0%

service/history/historyEngine.go
14
37
37.84%

Files with Coverage Reduction
New Missed Lines
%

service/history/execution/mutable_state_builder.go
2
68.79%

service/history/task/transfer_standby_task_executor.go
2
87.24%

common/util.go
2
52.54%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

service/matching/taskListManager.go
3
76.37%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
60.0%

common/task/fifoTaskScheduler.go
4
80.41%

service/history/execution/mutable_state_task_refresher.go
7
62.34%

common/persistence/nosql/nosqlplugin/cassandra/workflowParsingUtils.go
19
86.13%

common/persistence/nosql/nosqlplugin/cassandra/workflowUtils.go
32
74.27%

Totals

Change from base Build 0184a65d-80f0-4061-b094-4c25418ca876:
0.02%

Covered Lines:
85173

Relevant Lines:
148685

💛  - Coveralls


Correct silence response test in bob to match README

The tests for a "silent" input did not match the expected response given in the problem description.

Brock, could you also update example.m to match?

Whoopsipoodle. Fixed!

Looks good to me!

Thanks!


logs with follow=1 should always be replied immediately

When calling GET /containers/(id)/logs?follow=1 on a container which has not yet produced any output the current behaviour of the engine is to delay the HTTP response until the container writes some output.
The client cannot guess if the command is successful until some data is received.
This is problematic for example when you need to make the request in the foreground thread and process its output in a background thread. In python you would write something like:
    gen = client.logs(container, follow=True)
    executor.submit(func, gen)

client.logs() returns a generator that is sent to another thread. However if the container log is empty then client.logs() hangs and will return the generator only when some output is available.

@a-ba You mean write HTTP status?

the HTTP status and the headers (both are needed for parsing the response)


Task: Implement Unread and Read in Messages, categorise messages as in yammer

when I click on the 'Messages' icon on the plug-in, I see a vast list of entries.
When I do the same on the Web-page, I see two separate lists 'Unread Messages' and 'Read Messages'. How difficult would it be to create a similar thing on the plug-in?
screen shot below

We have to exploit a all new API, inbox.json


Expiration Date Logic, Set a Reminder for Expiration Link

The logic for setting the expiration date (request.ExpirationDate ?? DateTime.Now.AddDays(...)) is straightforward. Consider allowing users to set different expiration policies or reminders as the expiration date approaches.

@mohammadKarimi  could you please assign this issue to me? Thanks!

@mohammadKarimi could you please assign this issue to me? Thanks!

It is yours.


Package For All Platforms

Need to implement distribution packages of electron application

Done with 64 bit versions still need mac 32 bit version along with debian 32 bit and both 64 + 32 bit for rpm

Did 32 bit debian version.

RPM not happening unless i run a red head distribution. Mac 32 bit version wont work and windows 32 Bit Version Added.


Label jumping (ON + Graph) doesn't work if program is edited using Goto from an error

<3
Steps to reproduce:

Run program
Cause error (ON will do it)
Choose goto
Attempt to use Label Jump (ON + Graph)

Note: This only happens when the program is run from Cesium.

fixed with 853eda1083f374b3e025ef3e0cc3255a89863b14


Login dialog username and password fields layout

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[] iOS
[x] Android
[] UWP
[] NET Standard 1.1

Version of OS(s) listed above with issue
4.4 to 6.0
Version of ACR UserDialogs Library
6.5.1
Expected Behaviour
Username and password fields aligned left and right with the title and message fields above and the bottons below.
Actual Behavior
The username and password fields have a very small left and right margin compared to the title and message fields and the bottons below. Not sure if it's desired or not.

If you're looking to nitpick the UI, I would suggest not using this dialog at all.  This specific dialog is more for prototyping things


Support using a /** @hyperx h */ pragma directive

Hi @substack! Thank you for all of your incredible work.
I use Hyperx in my own project and found hyperxify, but couldn't get it to work without some adjustments.
In this PR I've made it so that users consuming hyperx via another library, e.g, choo, hyperapp, etc, can use a pragma directive (like the jsx pragma) with hyperxify.
Also tests and documentation.
To use the feature, users include the pragma directive directly in their source code where they are using a custom, hyperx-based html tagged literal.
/** @hyperx h */

Now hyperxify will know how to translate
html`<h1>Beep</h1>`

into
h('h1', {}, ['Beep'])

The user can change the name h to whatever they please.
custom hx/html function
When using a hyperx-based function by requiring the function from another module, hyperxify can't know the name of the function in advance so easily, so by default, I made it to use html.
GitHub's own markdown detects tagged literal functions named html and colors them like regular html. So, I think this is a sensitive default.
return html`
    <main>
      <h1>${name}</h1>
    </main>
`

This is not an escapable default feature and only comes into effect if the user is requiring a custom hyperx-based tagged literal.
Using the pragma also, the user can use a different name for the html function.
/** @hyperx h htm */

Now hyperxify will know how to translate
htm`<h1>Bop</h1>`

into
h('h1', {}, ['Bop'])

// cc @substack @JamesKyburz @yoshuawuyts

hyperxify already has a mechanism for detecting the tagged template literal string.
hyperxify looks for the require('hyperx') definition:
var hx = require('hyperx')

and then it looks for when hx() is invoked with an argument:
var whatever = hx(vdom)

and then when somebody uses whatever in a tagged template literal, hyperxify will run hyperx on those strings.
I don't think it's a good idea to have two separate mechanisms.

@substack I noticed that in the source and that has not been tampered with.
The problem arises when the user is consuming a tagged literal function based in hyperx via a 3rd party, like choo that exports yo-yo through, or hyperapp that exports hyperx(h), where h is hyperapp's own h function. The same applies for library using vdom.h, etc.
What happens is that the user has something like this:
var { create, html } = require("my-library-based-in-hyperx")
create(html`<h1>hi</h1>`)

Trying to browserify -t hyperxify that above with the current implementation of hyperxify will not do that they user is expecting, in fact, it will do nothing as the tagged literal will not be modified.
Why? Because, just like you've said, hyperxify looks for the require('hyperx') definition, which is nowhere, since the user is consuming hyperx indirectly.
This also fixes an edge case where hyperxify would fail to nullify require("hyperx")(vdom.h) in a single line.

@substack Not trying to push the pragma directive! If you don't want it, I can remove it and still make the PR benefit HyperApp's community (as well as choo's if they manage yo-yoify to work with an h function) by having hyperxify use h and html as the default h and tfn if none is found, such as is the case when the user is consuming a hyperx based tagged literal via a 3rd party.

What about exposing more options to configure the presently hard-coded values like the string 'hyperx' and h()? Would that help with your use case? Transforms can be configured with subarg syntax in browserify on the command-line or in package.json.

@substack That could work too, if it's only declaring what the defaults are via CLI or package.json.
All I want is hyperxify to replace html for h(,,,) in a file where hyperx is not used.
TBH I tried like you're saying too, but could not find an example of how to do that in your handbook here:

https://github.com/substack/browserify-handbook#writing-your-own

There's a mention of subarg and something along these lines in the section about plugins, but this is a transform right?
Do you have an example of how to do that with transforms?

Ohhh, I see what you mean, okay.
browserify -t [ hyperxify -h h -tfn html ] ...

I'll fix this PR and change the title as well.
Can we have defaults too? h->h and tfn->html, that would just make things work out of the box for everyone.
/@substack

@substack I removed the pragma and hyperxify can be used like this now:
browserify -t [ hyperxify --tfn beep --h bop ] main.js > bundle.js

Also, by default, if hyperxify can't determine the h and tfn function and none defaults are given, it will use h for the hyperscript-style function and html for the template function.

@substack I made the proposed changes, do you think we can merge this?

Nice! Could benefit from this too.

@arturi It'd be nice, but now that hyperx is not a dependency of hyperapp and hyperxify can be used as is without problems, I'm rather ambivalent to this PR :)

What I'd really like to see merged is this one: https://github.com/substack/hyperx/pull/50.
@substack

Referenced from: #10


[Missing] Random Dice Number

Blog: https://telegram.org/blog/folders

BTW: if single "🎲" emoji is sent from foreign Telegram client as message, official client displays it as animated dice emoji which always drops with single dot up, and it looks very very similar to random dice animation.  This could lead to some trickery

@zevlg This is a bug in iOS client, which will be fixed in the upcoming update.

Random dice support was added in TDLib 1.6.3 by addind the classes messageDice and inputMessageDice,


iOS: Cannot assign value of type 'AppDelegate' to type '(any PKPushRegistryDelegate)?'

I am getting this error and cannot run the build.
This is my AppDelegate file
let mainQueue = DispatchQueue.main
let voipRegistry: PKPushRegistry = PKPushRegistry(queue: mainQueue)
voipRegistry.delegate = self # Cannot assign value of type 'AppDelegate' to type '(any PKPushRegistryDelegate)?' - Error
voipRegistry.desiredPushTypes = [PKPushType.voIP]

Can anyone help with this?

@jerrypaulsam how did you solve this?

same issue i am facing


Exchange Vertical Orderbook rendering warnings

Original issue #2151
Please investigate which Components produce these Errors. The exchange (https://github.com/bitshares/bitshares-ui/blob/develop/app/components/Exchange/Exchange.jsx) is a beast, try examining the stack trace and code carefully to find out when the warnings are produced.

Hint to try out https://github.com/bitshares/bitshares-ui/blob/develop/app/components/Exchange/OrderBook.jsx#L39 firstly.

1 The issue happens because 1 actionCard has no key
https://github.com/blockchainprojects/bitshares-ui/blob/develop/app/components/Exchange/Exchange.jsx#L2562
Also, similar issue reproduced if switch window with exchange tab from full-screen view to small screen view
https://github.com/blockchainprojects/bitshares-ui/blob/develop/app/components/Exchange/Exchange.jsx#L2695
Adding key={actionCard_${actionCardIndex++}}  to both div will resolve those issues.
2 The issue occurs because we use td inside div block
https://github.com/bitshares/bitshares-ui/blob/develop/app/components/Exchange/OrderBook.jsx#L1268
if replace td by div it stops reproduce
Also I found new issue:

It reproduces on the Home tab if switch from full screen to small

Please investigate how this could be fixed. Also play around in the Exchange to see if you can find more warnings.

Found issue occurs in Tabs.jsx https://github.com/blockchainprojects/bitshares-ui/blob/develop/app/components/Utility/Tabs.jsx#L72 .To fix it we can delete span block and convert title with span type to string type
            if (title.type === "span") {
                title = title.props.children[2];
            }
            return (
                <option value={index} data-is-link-to={this.props.isLinkTo}>
                    {title}
                    {updatedTab ? "*" : ""}
                    {subText && " ("}
                    {subText && subText}
                    {subText && ")"}
                </option>
            );

Also I found 2 new issues. They happens during personalize modal openning

Options do not display.

Any error messages in log?

Any error messages in log?

There are no error messages in log. I think the reason of issue in my fix of Select.Option issue. I think the problem is in the methods that set value for SELECT component


3.2.0.alpha has shared library problem on casper

The 12/17 installer built on garibaldi  (Vapor Release version 3.2.0.alpha.0f428b3 (2019-12-19T00:40:30Z) generates the following message and aborts:
vapor: /lib64/libdbus-1.so.3: no version information available (required by /glade/u/home/clyne/lib/libQt5DBus.so.5)
vapor: relocation error: /glade/u/home/clyne/lib/libQt5DBus.so.5: symbol dbus_message_get_allow_interactive_authorization, version LIBDBUS_1_3 not defined in file libdbus-1.so.3 with link time reference

@clyne the installer on google drive has been updated and now works on capser.


Pytorch method 'detach' already has a docstring

Problem Description
Hello, whenever the pytorch/torch package is imported and I try to import again (say when I just run the whole script or another script that uses import torch) I get the error output: "method 'detach' already has a docstring". I'm not the only one experiencing this issue (see https://discuss.pytorch.org/t/method-detach-already-has-a-docstring/74676/12) and it seems to be a Spyder specific issue.
What steps reproduce the problem?

Import torch in Spyder
rerun import torch (rerun a script)

What is the expected output? What do you see instead?
The script runs normally the first time, but upon rerunning, it errors on import.
Paste Traceback/Error Below (if applicable)

  File "/home/alex/Documents/QML_Research/Variational_Learning_Implementations/Python_Autoregressive/Test_E_loc", line 9, in <module>
    import torch

  File "/home/alex/anaconda3/envs/Pytorch/lib/python3.6/site-packages/torch/__init__.py", line 188, in <module>
    from .tensor import Tensor

  File "/home/alex/anaconda3/envs/Pytorch/lib/python3.6/site-packages/torch/tensor.py", line 41, in <module>
    class Tensor(torch._C._TensorBase):

  File "/home/alex/anaconda3/envs/Pytorch/lib/python3.6/site-packages/torch/tensor.py", line 282, in Tensor
    """)

RuntimeError: method 'detach' already has a docstring

Versions

Spyder version: 3.2.8
Python version: 3.6
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Ubuntu, 18.04

Dependencies

Thanks for the help and hard work, Spyder is a great IDE

The same problem.

I can run a script that contains only import torch multiple times without error. Is there anything else that might be needed to reproduce this?
Spyder 4.13 on ubuntu 16.04, pytorch version 1.4.0
@alidiak Your Spyder version is very old. Please update.

Yes, You are right. Installing the newest version of Spyder worked for me.

Thanks for the report @alidiak and the input @bcolsen
Glad you got it working now @AkmaralMoldagalieva !
Will close since this seems to be fixed in a recent version.
Cheers!

Yeah, it was fixed a long time ago.

Ok thank you. I did use 'conda update spyder' and retried before I submitted this report. It's strange that it wants to keep me on version 3.2.8, but if 4.0> are stable, I'll find another way to update. Thanks.

@alidiak you can try:
conda update anaconda
conda install spyder=4.1.3

Thanks for the prompt response. When trying conda update anaconda and install spyder=4.1.3, I get the 'Found conflicts! Looking for incompatible packages.' error (see https://github.com/spyder-ide/spyder/issues/12548). The solution found there is conda update --all, but because I had Pytorch cuda I had to use the --no-channel-priority flag to prevent the pytorch_cuda10.2 from being overwritten. Now though, when I open Spyder, it warns me that I am missing the 'correct' Jedi, parso and qtconsole packages. Though, when I install the packages directly, it says those are already installed or are a more recent version of them. Also if I try to update them with conda, it wants to take me back to Spyder 3.3.6... Last, there's no kernel starting and I've tried conda install spyder-kernels, conda update ipykernels, and conda update setuptools (all various potential solutions I've seen). Not sure if this is relevant or helps, but my console reports 'libpng warning: bKGD: invalid' when I start Spyder.

I have a fresh install of the latest version of Spyder (4.2.4) but still get this error. In my case, torch is being called by another library (allosaurus). It will run with no problems the first time, but I have to restart the kernel before it will work again
`Traceback (most recent call last):
File "C:\projects\allosaurus test.py", line 8, in
from allosaurus.app import read_recognizer
File "C:\Program Files\Spyder\pkgs\allosaurus\app.py", line 1, in
from allosaurus.am.utils import *
File "C:\Program Files\Spyder\pkgs\allosaurus\am\utils.py", line 1, in
import torch
File "C:\Program Files\Spyder\pkgs\torch_init_.py", line 447, in
from .tensor import Tensor
File "C:\Program Files\Spyder\pkgs\torch\tensor.py", line 13, in
from torch.overrides import (
File "C:\Program Files\Spyder\pkgs\torch\overrides.py", line 1229, in
"""
RuntimeError: function '_has_torch_function' already has a docstring`


Paths are incorrect, when custom styleguide path is provided

As we talked, when custom styleguide path is provided, paths are incorrect in this case.
We should make same paths for styleguide web and back-end parts, now they are interpreted differently.
styleguide index.html should be considered as a root.

Glad to see that I'm not the only one having this problem. Anyone found a fix for this?

Is anyone having issues where you haven't included your styleguide folder in the root of the project? I have included mine as project/wwwRoot/styleguide and I'm having issues with styleguide finding the files it needs when the server is using wwwRoot as the root folder.

I'm a bit late to the party but you can probably get around the problem by editing your gulpfile.js like this:
var styleguide = require('devbridge-styleguide');

gulp.task('start-styleguide', function () {
	styleguide.startServer({
		styleguidePath: 'public/styleguide'
	});
});


minified file not in releases

Describe the bug
The minified tnb.min.js file is not included in the releases.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/thenewboston-developers/thenewboston-js/releases
See that the min file is not included in the assets

Expected behavior
I expected the min file to be included.
** Pull Requests **
All Pull Request should be made against development branch read contributors guide for more information about contributing

do we want to include minified file or release only minified file @AbhayAysola

do we want to include minified file or release only minified file @AbhayAysola

I think we should include the minified file. A seperate release might be too confusing for new developers

This brings us to a wider topic as at the moment github released are created manually not part of the existing automated actions that publish the npm version
For this to be added without having to do manually 1 additional step, we need to automate github release process so it builds / minifies project then create the release along with changelog and etc

This brings us to a wider topic as at the moment github released are created manually not part of the existing automated actions that publishes the new npm version
For this to be added without having to do manually 1 additional step, we need to automate github release process so it builds / minifies project then create the release along with changelog and etc

Hmm that could be done, I'll close this issue in favour of automating releases in the future.

I think we csn keep it open and link it to the automation task when it will be opened


Remove govuk-header overrides from index.scss

Remove govuk-header overrides from index.scss to fix the header alignment, and make the blue border the width of the page.

 Remove govuk-header overrides from index.scss


Compiling on armhf: undefined reference to `__atomic_load_8'

I'm trying to compile statsdcc on a rapsberry pi 4, but I encountering the following issue:
[ 70%] Linking CXX executable statsdcc
/usr/bin/ld: ../lib/libaggregator_http_server.a(http_server.cc.o): in function `statsdcc::net::servers::http::aggregator::HttpServer::get_app_status()':
http_server.cc:(.text+0x1324): undefined reference to `__atomic_load_8'
/usr/bin/ld: ../lib/libaggregator_consumer.a(aggregator_consumer.cc.o): in function `statsdcc::consumers::AggregatorConsumer::consume(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
aggregator_consumer.cc:(.text+0x638): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: aggregator_consumer.cc:(.text+0x79c): undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/statsdcc.dir/build.make:104: src/statsdcc] Error 1
make[1]: *** [CMakeFiles/Makefile2:603: src/CMakeFiles/statsdcc.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

I have found online (eg https://github.com/PurpleI2P/i2pd/issues/897) that this has something to do with the architecture and that this can be fixed by adding the -latomic flag. Although I'm not sure where... Can you help me with this?

I have found it! Added it to line https://github.com/pal-robotics/statsdcc/blob/9eb90ffb03f734e02f5b032c4119bfcb4468f421/src/CMakeLists.txt#L36 and https://github.com/pal-robotics/statsdcc/blob/9eb90ffb03f734e02f5b032c4119bfcb4468f421/src/CMakeLists.txt#L56 and it builds fine now.


Add api gateway, instead of using node.js as router

To decouple the front-end from the services, we should use an api gateway.
Example: https://spring.io/blog/2015/01/28/the-api-gateway-pattern-angular-js-and-spring-security-part-iv

Why not just pass off static assets to nginx and proxy all items that fall on the /api path?

@jasonrichardsmith that works in case of an spa but is someone is doing ssr would be cool to have an api gateway and another server doing the client job


Exception raises in throttle check

Exception in throttles
If exception raises in throttle checks its adding error logs but not nullifying worker names for Jobs and Slices, due to this reason jobs are becoming jombie jobs.
If exception raises log error and return true which will eventually updates slice and jobs worker names and reque the jobs/slices.
Requeue jobs before removing worker from pool
Every few seconds we run prune to delete dead workers from pool but jobs are still on that worker name. If we requeue jobs
everytime before removing workers from pool, jobs will be queued immediately instead of waiting till server goes down.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

How did running this work out in production, has it resolved the problem?


[2.0.5] Editing the chestloot condition causes unexpected behavior

I wanted to edit the loot conditions for lost cities so I could make them more specific so I removed the vanilla loot table values leaving it as just this.

I then changed the asset location in the general.cfg from
/assets/lostcities/citydata/conditions.json
to
$lostcities/conditions.json
After launching the game, loading or creating a world would softlock at "building terrain" and I would have to force Minecraft to close.
So I thought maybe that the original conditions.json asset location could not be changed.
So instead I made a new conditions file apocalypticconditions.json which looks like this

And then changed the asset list in general.cfg to look like this.

Now when I attempt to load MC I get this crash
https://pastebin.com/9AWAAnMB
So to recap,
Loading an edited conditions.json from the config folder causes a softlock when loading/creating a world.
Loading a replacement "chestloot" condition causes a crash as its unable to return the table.
Thanks for reading

Hmm... I will check it out

Ah. Error in the log:
java.lang.RuntimeException: Condition 'chestloot' did not return a table under certain conditions!
There must always be a fallback in case none of the conditions is true. If needed an empty loot table can be used or something

I could perhaps make this test less strong and simply not set a loottable then

@McJty The issue is that I think even with the vanilla loot tables removed it should always validate to true? All levels of buildings are covered and all subways are covered no?
If the answer is simply to add a low factor fallback I will try that :) I don't think anything needs to be changed. Although perhaps I suggest adding that as a tip to the conditions documentation something like "always make sure there is at least one option that will validate to true"

All levels of buildings are covered and all subways are covered no?

No, it doesn't look like they are. The conditions that would select the loottable for most chests here:

is limited in range for floors [-100 to -3] and [4 to 100]. So any floors [-2 to 3] don't have a valid condition to select.


Header filters fetch all data from all columns instead of just one

Plot: I have an OData service call as a datasource to my devextreme grid. The datasource contains of approximately 40 columns and I have the header filter enabled for all the columns.
Whenever I click the header filter icon to populate the values for a particular column a request is generated to fetch all the columns which is basically asking for all the data for the grid again.
Simply put, the '$select=columnname' attribute is missing on the header filter service call because of which the filter takes a massive amount of time to load and crashed for large number of rows.

We don't process questions related to the DevExtreme UI widgets specifics in this repository. If you have any questions regarding your scenario or widget behavior, please submit a support request to our support center. There, you will get your question answered in a short time frame.


Remove Travis build status icon for lore

Previously, we still included the icon for the Travis CI build status
for the lore repository. Since this is no longer needed, it has been
removed.
Signed-off-by: Matt Langbehn<EMAIL_ADDRESS>

Well, we're still testing with travisCI. Wouldn't it make more sense to update it to the new one?

@eggshell: I think we should present a link somewhere on the site (such as on the landing page itself) to our org in Travis.

@mlangbehn I'm okay with that. But that shows all projects and would be more of an org-wide build status. I still think it's a good idea to have a badge just for lore on the lore landing page.

@eggshell: Since we are now working on bonnyci.org instead of a simple docs repo, I disagree. I doubt any of our customers care about the build status of the website the are visiting, they care about the build status of BonnyCI as a whole.

I tend to agree with @mlangbehn but I'd like to hear any retort from @eggshell. I feel lke there's an opportunity to have a page full of "watch us work" stuff that has build status in travis, zuul, and also links to our IRC channel, and any other forums we use.

@eggshell: See #15.

gate-recheck


Make MSW/Data more type compatible with FakerJS functions

Right now we have a complex article model:

export type TArticle = {
  /** article's thumbnail */
  thumbnail: TImage;
  /** article's title */
  title: string;
  /** article's category */
  category: TCategory;
  /** article's publication date */
  publishedDate: Date;
  /** article's creation date */
  createdDate: Date;
  /** article's slug for url path */
  slug: string;
  /** article's introduction (used also as meta) */
  introduction: string;
  /** article's author */
  author?: Array<TAuthor>;
  /** article's hero */
  hero: TArticleHero;
  /** article's content */
  content: TRichText;
  /** article's source */
  source?: string;
  /** article's tags */
  tags: Array<string>;
  /** article's continue reading article */
  continue: TContinueReadingArticle;
  /** article's related articles */
  related?: Array<TRelatedArticle>;
};

It has many relations and complex children, specially content:
content: {
root: {
  type: "root";
  indent: number;
  version: number;
  direction: TDirection;
  children: Array<TRichTextParent>;
};
}

We mock the article like this:
const db = factory({
  article: {
    id: primaryKey(() => _articleId++),
    title: () => title,
    slug: () => faker.helpers.slugify(title),
    author: nullable(manyOf("author")),
    thumbnail: oneOf("image"),
    category: oneOf("category"),
    createdDate: () => faker.date.anytime(),
    publishedDate: () => faker.date.anytime(),
    introduction: () => faker.lorem.text(),
    content: { root: () => mockRichText() }, // issue here
    hero: {
      url: () => faker.image.url({ width, height }),
      alt: () => faker.lorem.text(),
      width: () => width,
      height: () => height,
      caption: {
        source: () => faker.lorem.word(),
        description: () => faker.lorem.text(),
      },
    },
    // content: () => ({ root: () => mockRichText() }),
    source: nullable(() => faker.lorem.word()),
    tags: () => mockArray(6, () => faker.lorem.word()),
    continue: oneOf("relatedArticle"),
    related: nullable(manyOf("relatedArticle")),
  },
})

We opted for using our custom content mock instead of manually assigning any value because, cause really, the functions are extensive:

export function mockRichText(): TRichTextRoot {
  return {
    type: "root",
    direction: "ltr",
    indent: 0,
    version: 0,
    children: [
      ...mockParagraphNodeArray(3),
      {
        ...mockHeaderNode(),
        tag: "h2",
        direction: "ltr",
        indent: 0,
        version: 0,
      },
      ...mockParagraphNodeArray(4),
      { ...mockQuoteNode(), direction: "ltr", indent: 0, version: 0 },
      ...mockParagraphNodeArray(2),
      { type: "readmore", children: mockRelatedArticle() },
      ...mockParagraphNodeArray(2),
      {
        ...mockHeaderNode(),
        tag: "h2",
        direction: "ltr",
        indent: 0,
        version: 0,
      },
      ...mockParagraphNodeArray(2),
      { ...mockListNode(), direction: "ltr", indent: 0, start: 0 },
      ...mockParagraphNodeArray(2),
      {
        ...mockHeaderNode(),
        tag: "h2",
        direction: "ltr",
        indent: 0,
        version: 0,
      },
      ...mockParagraphNodeArray(2),
      {
        type: "upload",
        version: 0,
        value: {
          ...mockUploadNode(),
          id: faker.string.uuid(),
          filename: faker.system.fileName(),
          filesize: faker.number.int(),
          createdAt: faker.date.anytime().toDateString(),
          updatedAt: faker.date.anytime().toDateString(),
        },
      },
      ...mockParagraphNodeArray(2),
      mockTwitterNode(),
    ],
  };
}

We don't want to do it again.
Anyway, we have the following issue:

Type 'TRichTextRoot' is not assignable to type 'ModelValueType'.
How can we solve this issue without implementing the whole functionality?
As you can see, we had to implement it twice since using any custom mock function always gives that error.
Wouldn't it be easy for msw/data could also infer the type from the mock functions' return types?
Thank you

My issue seems to be a duplicate of this one.

I may have a pure typescript solution.
https://github.com/mswjs/data/issues/282#issuecomment-2506446372


Potential bug in pause/resume logic

Over the last several weeks I've experienced several occurrences where an individual partition has stopped processing for hours at a time. I think I've tracked this down to a bug in the pause/resume logic in racecar. Here's a breakdown of what I believe is happening:

Consumer A pauses a partition because it encounters processing exceptions. Our consumers frequently encounter a few errors during rebalances due to duplicate processing of messages.
The partition is assigned to another consumer (due to a rebalance)
The pause for that partition expires (we have the pause timeout set to 10s) and we attempt to resume the partition on consumer A, but since it's no longer assigned we don't call resume for that partition on the underlying rdkafka consumer.
The partition returns to consumer A, but we don't process it because we didn't ever call resume on the underlying rdkafka client. That partition is effectively paused on consumer A indefinitely.

When the next deploy/rebalance happens, the partition gets assigned to a new consumer and the backlog is processed.
Note: I'm running zendesk/racecar 2.8.2.
Here are some annotated logs from our consumers that make me suspect the above scenario. These logs are all from a single consumer pod.
# Client is assigned partition 9, starts processing, hits an exception and pauses
# https://github.com/zendesk/racecar/blob/v2.8.2/lib/racecar/runner.rb#L273
[2023-04-21T18:43:49.739109 #1]  WARN -- : Pausing partition our-topic/9 for 10.0 seconds

# Partition 9 is assigned to another consumer because partitions are moving around as we rebalance

# The 10 second partition pause expires and we attempt to resume
# https://github.com/zendesk/racecar/blob/v2.8.2/lib/racecar/runner.rb#L293
[2023-04-21T18:43:59.965817 #1]  INFO -- : Automatically resuming partition our-topic/9, pause timeout expired

# But we don't call resume because we no longer own that partition
# https://github.com/zendesk/racecar/blob/v2.8.2/lib/racecar/consumer_set.rb#L103
[2023-04-21T18:43:59.966079 #1]  INFO -- : Attempted to resume our-topic/9, but we're not subscribed to it

# The partition is assigned back to the consumer but it does not resume processing

I've worked around this issue by using a forked version that calls resume for the topic/partition on all of the clients, without checking for assignment. This appears to have fixed the issue. I'm not sure if this particular fix is something that should be merged because of the downside described in the PR body. I'm happy to open a PR to fix this more generally, but thought it wise to first get some input on how the maintainers would like to handle this (assuming you agree with my diagnosis). The "best" ways I can think of to fix this would be:

Make the Pause object aware of the client that the pause is associated with (so we don't need to iterate through the consumers in ConsumerSet.
Handle resetting pause state (i.e. unpausing the rdkafka consumer) in rebalance callbacks.

What do you all think? Thanks in advance for considering this.

We've seen the same thing in production recently.  Thanks for the fork fix!


cloudInitNoCloud.networkDataSecretRef，cloudinit no network config applied

What happened:
Referencing networkconfig as a secret, cloudinit will not apply it，But using networkDataBase64 is no problem，I'm not sure if this is cloudinit's err
What you expected to happen:
The secret method seems to accommodate longer script content, and I hope to initialize the network config normally
How to reproduce it (as minimally and precisely as possible):
use cloudInitNoCloud.networkDataSecretRef ，cloudinit no network config applied
Additional context:
cloudinit log
2023-07-27 07:52:00,261 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot
2023-07-27 07:52:00,437 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud/network-config (quiet=False)
2023-07-27 07:52:00,437 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud-net/network-config (quiet=False)
2023-07-27 07:52:00,655 - util.py[DEBUG]: Reading from /run/cloud-init/tmp/tmpw9UCfY//network-config (quiet=False)
2023-07-27 07:52:00,655 - util.py[DEBUG]: Read 216 bytes from /run/cloud-init/tmp/tmpw9UCfY//network-config
    init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 702, in apply_network_config
2023-07-27 07:57:02,424 - handlers.py[DEBUG]: start: init-network/check-cache: attempting to read from cache [trust]
2023-07-27 07:57:02,465 - handlers.py[DEBUG]: finish: init-network/check-cache: SUCCESS: restored from cache with run check: DataSourceNoCloud [seed=/dev/vdb][dsmode=net]
2023-07-27 07:57:02,911 - stages.py[DEBUG]: No network config applied. Neither a new instance nor datasource network update on 'System boot' event

cloudinit error function
    def apply_network_config(self, bring_up):
        # get a network config
        netcfg, src = self._find_networking_config()
        if netcfg is None:
            LOG.info("network config is disabled by %s", src)
            return

        # request an update if needed/available
        if self.datasource is not NULL_DATA_SOURCE:
            if not self.is_new_instance():
                if not self.datasource.update_metadata([EventType.BOOT]):
                    LOG.debug(
                        "No network config applied. Neither a new instance"
                        " nor datasource network update on '%s' event",
                        EventType.BOOT)
                    # nothing new, but ensure proper names
                    self._apply_netcfg_names(netcfg)
                    return
                else:
                    # refresh netcfg after update
                    netcfg, src = self._find_networking_config()

this is vm yaml
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    dcloud.tydic.io/disk-templates: '[{"metadata":{"annotations":{"dcloud.tydic.io/setControllerReference":"true"},"name":"root-0"},"spec":{"dataSource":{"image":{"name":"cwytestcentos8"}},"storage":{"accessModes":["ReadWriteMany"],"resources":{"requests":{"storage":"10Gi"}},"volumeMode":"Block","storageClassName":"ceph-hdd-block"}}}]'
  name: vm-test
  namespace: default
spec:
  running: true
  template:
    metadata:
      annotations:
        p4p1.default.kubernetes.io/logical_switch: p4p1
    spec:
      architecture: amd64
      domain:
        cpu:
          cores: 2
          dedicatedCpuPlacement: true
          isolateEmulatorThread: true
          sockets: 1
          threads: 1
        devices:
          autoattachMemBalloon: false
          disks:
          - disk:
              bus: virtio
            name: root-0
          - disk:
              bus: virtio
            name: cloudinitdisk
          interfaces:
          - macvtap: {}
            name: hostnetwork
            macAddress:
          networkInterfaceMultiqueue: true
          rng: {}
        ioThreadsPolicy: auto
        machine:
          type: q35
        memory:
          guest: 2Gi
        resources:
          requests:
            memory: 2Gi
      networks:
      - multus:
          default: true
          networkName: default/p4p1
        name: hostnetwork
      nodeSelector:
        kubernetes.io/hostname: k8s-18
      terminationGracePeriodSeconds: 0
      volumes:
      - name: root-0
        persistentVolumeClaim:
          claimName: root-0
      - cloudInitNoCloud:
          networkDataSecretRef:
            name: vm-test
          secretRef:
            name: vm-test
        name: cloudinitdisk

this is secret yaml
apiVersion: v1
data:
  networkdata: dmVyc2lvbjogMQpjb25maWc6Ci0gdHlwZTogcGh5c2ljYWwKICBuYW1lOiAiZXRoMCIKICBtdHU6IDE1MDAKICBtYWNfYWRkcmVzczogIjAwOjAwOjAwOjljOjg0OmZiIgogIHN1Ym5ldHM6CiAgLSB0eXBlOiBzdGF0aWMKICAgIGFkZHJlc3M6IDE3Mi4zMS4wLjU2CiAgICBuZXRtYXNrOiAyNTUuMjU1LjI1NS4wCiAgICBkbnNfbmFtZXNlcnZlcnM6CiAgICAtIDE3Mi4zMS4wLjE2Cg==
  userdata: I2Nsb3VkLWNvbmZpZwpzc2hfcHdhdXRoOiBUcnVlCnRpbWV6b25lOiBBc2lhL1NoYW5naGFpCmRpc2FibGVfcm9vdDogZmFsc2UKY2hwYXNzd2Q6IHsibGlzdCI6InJvb3Q6MTIzNDU2IixleHBpcmU6IEZhbHNlfQ==
kind: Secret
metadata:
  labels:
    kubevirt.io/secret: vm-test
  name: vm-test
  namespace: default
type: Opaque

Environment:

KubeVirt version (use virtctl version): v1.0.0
Kubernetes version (use kubectl version): v1.26.3
OS (e.g. from /etc/os-release): centos7
Kernel (e.g. uname -a):  5.4.230-1.el8.elrepo.x86_64

@coldzerofear also, I would dubble check the cloud-init network data:
version: 1
config:
- type: physical
  name: eth0
  mtu: 1500
  mac_address: 00:00:00:9c:84:fb  <------------------------- not set in VM spec
  subnets:
  - type: static
    address: <IP_ADDRESS>
    netmask: <IP_ADDRESS>
    dns_nameservers:
    - <IP_ADDRESS>

It configures an interface by matching MAC address, but the interface MAC address is not set in the  VM spec.

@ormergi
Thank you very much for your reply.
I think I already know the problem. Firstly, explain why I did not fill in the MAC address in the VM. Because I used kubeovn cni, When there is no specific MAC address specified, it will automatically allocate it,  I hope to apply this feature, so I made a small change to macvtap cni to be able to use it in conjunction with kubeovn.
When I use the command you provided to check cloud init result
{
 "v1": {
  "datasource": "DataSourceNoCloud [seed=/dev/vdb][dsmode=net]",
  "errors": [
   "Not all expected physical devices present: {'00:00:00:9F:9B:88'}"   <------- I have created a new VM here, so the MAC address has changed
  ]
 }
}

I found that Cloudinit cannot find the corresponding network device mac
[root@vm-test-sync-network1 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:00:00:9f:9b:88 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::200:ff:fe9f:9b88/64 scope link
       valid_lft forever preferred_lft forever

You can see that the MAC address is correct, So I think cloudinit cannot be case-sensitive, After testing, it was found that this is indeed the case, And the example given in the question is a lowercase MAC address, which I probably copied incorrectly because it looks similar

@coldzerofear Nice catch!
I didnt know MAC addresses in cloud-config is case sensitive, its not trivial (at least for me).
At least its documented:
https://cloudinit.readthedocs.io/en/latest/reference/network-config-format-v1.html#mac-address-mac-address
https://cloudinit.readthedocs.io/en/latest/reference/network-config-format-v2.html#macaddress-scalar


How does this work with electron?

I just installed vbuild with the starter kit for electron.
i ran vbuild --electron --watch -e main.js and also tries vbuild --electron --dev -e main.js but its not really doing anything other than compiling.
Am i doing this wrong or is there a beter way?

Currently you can run:
# entry should be vue app entry, not electron's
$ vbuild -e app.js --electron --watch

And then open a new terminal tab:
$ electron main.js

If you have better idea to use Vue with Electron, please let me know!

Currently you can run:
# entry should be vue app entry, not electron's
$ vbuild -e app.js --electron --dev

update main.js to:
...
if (process.env.NODE_ENV === 'development') {
  mainWindow.loadURL('http://localhost:4000/index.html');
} else {
  mainWindow.loadURL('file://' + __dirname + '/index.html');
}
...

And then open a new terminal tab:
$ NODE_ENV=development electron main.js

If you have better idea to use Vue with Electron, please let me know!

Fix:
We shouldn't modify main.js to: mainWindow.loadURL('http://localhost:4000/index.html'), since in this way we are not able to use native node functions in rendered process, like require('github'), because it's a remote url.
Instead, load an index.dev.html from file system:
index.dev.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>App</title>
  </head>
  <body>
    <app></app>
    <script src="http://localhost:4000/assets/bundle.js"></script>
  </body>
</html>


Improved Reader

This PR improves the reader of streamer to fetch data more aggressively when the FIFO is full. Everytime when the receiver gives permission to transmit the data, the request for the subsequent data is immediately launched. When there is no contention, the buffer can be kept always full.

Why does this remove 400+ lines of tests?

Why does this remove 400+ lines of tests?

Because the old unit test does not compatible with the new fifo anymore


Inconsistencies in Architect tags

Whenever the error happens that you get the french information even though you're on the dutch page (I think this was already an issue, will link it if I find it), you also get the listview of the architects in the tags per building, instead of just the architect name (without the [""])

Architects in building lists are shown as a complete set (between square parentheses and quotation marks, e.g. ["Antoine AULBUR","Em. DERECK"]), also null is also shown as an architect.


FEATURE: Hypha Token Sale

Current Problem
We want to make it easy for investors to purchase HYPHA tokens
Proposed Solution
Spec
buy.hypha.earth similar to buyseeds website
The feature consist of the following parts

[ ] A website interface, can be the same as buy seeds, only with different contracts and API
[ ] A new backend API to accept bitcoin for HYPHA
[ ] A new backend API to accept EOS for HYPHA
[ ] A new sales contract to sell HYPHA (similar to the SEEDS sales contract)
[ ] A way to use Seeds to onboard new users for people who don't have an account - could use free.tf for now, give people the Seeds Light Wallet to manage their funds.

From Mark
I was thinking we would buy some liquid Seeds from Seeds Commons and pay with newly minted liquid HYPHA tokens...... then the Seeds Commons would have both TLOS and HYPHA, and they could add to the new liquidity pool on tswaps that I want to start.
Hypha could put 50k TLOS/HYPHA in the pool and Seeds Commons could put 50k TLOS/HYPHA in the pool.
I want to do this in combination with a buy.hypha.earth link on the hypha.earth website, so people in the world can start buying liquid HYPHA tokens, and we can get some money in the treasury.
If we simply copy the existing buyseeds.earth UX-flow, and duplicate the contracts (with new parameters), we should be able to get this live pretty fast.
People can buy with just BTC or EOS, so no new software to figure out.  Luigi can get the website part working.
People that want to buy with TLOS can go to tswaps.  People that want to buy with BTC or EOS can go to our website.
The configuration would put X HYPHA in the sales contract, and we would sell Y amount per round, starting at (P) USD per HYPHA, and clicking up (dP) cents per round.  So, the last round would be (P + dP * NR) USD per HYPHA, and we would be sold out at that time. (NR number of rounds)
This puts an amount liquid HYPHA in the world.  All the other HYPHA tokens are still in costak.hypha.
Alternatives
No response
Adittional context
No response

I have the X, Y, etc numbers but they should't be part of the spec.

That's finished, keep it closed.


Fixes for issues 1248, 1249, 1250 1251 -  Mainly fixes around setting output identity

Adds fixes and nice test cases for:

https://github.com/borisdj/EFCore.BulkExtensions/issues/1248
https://github.com/borisdj/EFCore.BulkExtensions/issues/1249
https://github.com/borisdj/EFCore.BulkExtensions/issues/1250
https://github.com/borisdj/EFCore.BulkExtensions/issues/1251

Other:

Added new basic test infra (without the need to delete everything in each test)
Consolidated connection string getting
Fixed non deterministic test
Few other fixes I found during debugging

Opened https://github.com/borisdj/EFCore.BulkExtensions/pull/1271. Closing this one.


Unpin Numpy and NetCDF4 dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.817%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5060

Relevant Lines:
5762

💛  - Coveralls

So should we merge this? Is there a reason why it's still a draft?

I haven't touched the numpy part yet; I simply unpinned numpy in the environment.yml. We still need to deal with the # FIXME I added.

So for some reason the installation process for RavenPy force-installs an older numpy???
https://github.com/CSHS-CWRA/RavenPy/runs/7699123779?check_suite_focus=true#step:6:4064


Disable UI manually with external OpenSSL

I'm building my project with external OpenSSL. How can I disable UI interactions? Because now OpenSSL tries to read phrase from the console.
I've tried to use UI_set_default_method(UI_null()), but it doesn't work.

It depends on what APIs are you using that invoke the prompt.

It depends on what APIs are you using that invoke the prompt.

I'm trying to call PEM_read_bio_PrivateKey() with invalid or empty password. And then OpenSSL starts the prompt.
Could you help me to find out the way how to aboid it? Is there possible way to disable all UI?
@t8m

I've found, what I can set a callback. Is it a good approach? How can I disable UI for all places?
int passphrase_callback(char *, int , int , void *) {
    return -1;
}

if (isPrivate) {
    pkey = PEM_read_bio_PrivateKey(in.get(), nullptr, passphrase_callback, const_cast<char*>(passData));
} else {
    pkey = PEM_read_bio_PUBKEY(in.get(), nullptr, passphrase_callback, const_cast<char*>(passData));
}

Should I also update writing?
if (isPrivate) {
    pkey = PEM_read_bio_PrivateKey(keybio.get(), nullptr, 0, nullptr);
} else {
    pkey = PEM_read_bio_PUBKEY(keybio.get(), nullptr, 0, nullptr);
}

@t8m

Yes, for PEM reading functions that have a callback this is the right solution.
Similarly for PEM writing. If you want to write something that is protected by a password you need the callback to supply the password of course.

Yes, for PEM reading functions that have a callback this is the right solution.
Similarly for PEM writing. If you want to write something that is protected by a password you need the callback to supply the password of course.

How can I disable UI for all places?

Yes, for PEM reading functions that have a callback this is the right solution.
Similarly for PEM writing. If you want to write something that is protected by a password you need the callback to supply the password of course.

I've tried to do the same for writing, but got an error:
PEM_write_bio_PrivateKey(out.get(), &pkey, cipher, nullptr, 0, passphraseCallback, const_cast<char*>(passData));
write has been failed: error:1C80009F:Provider routines::unable to get passphrase

The callback needs to supply the passphrase.

Yes, for PEM reading functions that have a callback this is the right solution.
Similarly for PEM writing. If you want to write something that is protected by a password you need the callback to supply the password of course.

How can I disable UI for all places?

Other than at build time (no-ui option) no.

The callback needs to supply the passphrase.

What does it mean? I need to copy password to the input buffer or what?


Added back unmerged update command on #1006

On #1006, the protected branch's change on update.go was not merged.

LGTM

let L-G-T-M work

close this one because of #1030


sapling: simplify dependency generation script

Description of changes
This is my attempt to simplify the maintenance of sapling. Feel free to close this if you think it does not accomplish this goal.
cc @pbar1 @thoughtpolice
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Much simpler update script than what I had - looks great, less jank! There's a nit in the JSON formatting lint error, but aside from that it's clearer and more maintainable.

I have addressed the nit.


Missing instructions

http://training.plone.org/5/plone_training_config/instructions.html, tells about instructions for a workaround in windows see picture:

But where are the instructions ?

This has been fixed for a while. Closing.


Allow 'transparent spy'

i.e. fallback to network but don't record calls

Suggested API - .spy(matcher, transparent) - transparent is Bool


VSCODE FAILED TO CONNECT TO REMOTE(SERVER DIDNT DOWNLOAD)

Upon opening for the first time, it should download the remote server.
But this process fails with the message "vscode server for wsl failed to start".

solved. I hadn't allowed VSCode through windows firewall.