Cyclic peptide HELM is not correct

I drew the following peptide into the webeditor:

The HELM generated is
PEPTIDE1{L.M.P.Q.R.S.T}$undefined,undefined,undefined:Rundefined-undefined:Rundefined$$$V2.0
The undefined descriptions should be removed as it is a simple backbone connection. The correct HELM is
PEPTIDE1{L.M.P.Q.R.S.T}$PEPTIDE1,PEPTIDE1,7:R2-1:R1$$$

Fixed in 2018-05-01 update

Confirmed fixed.

We are running into this exact issue with the 2019 release, and have verified it also happens on the editor demo site. Does the fix need to be reapplied to the latest release?


Performance issues

We're experiencing performance issues when using this gem.
We have built rails app only using this gem as cache dashboard.
On staging where cache store is not that big, it's working fine, but in production where we have bigger cache it's crashing every few clicks, even on instance with alot of resources.
Is this something you're aware of? Is there anything we're doing wrong or gem is lacking performance on bigger cache stores?

Hi @hmatic, thanks for getting in touch.
What cache store are you using? And approximately how many entries do you have in production? There are teams using Fastentry in production with thousands of entries and it performs well.

We're using memcached and we have approx 470k entries.

Thanks for the info @hmatic.
Let me take a look and try to reproduce locally with a heavier load of entries.
You mentioned that it's crashing every few clicks. What kind of crashes are you experiencing? Also, is it related to a particular action?

We're running it on AWS ECS inside docker containers. For example on container with 512cpu/1024memory it could only load initial dashboard, after trying to change page, it's simply crash container.
When I increased it to 1024/2048, it's not longer crashing, but it's extremely slow. Loading single entry is ok, but all "index" actions are really slow.

Got it, that's very helpful. I'll try to reproduce and mitigate the performance issues.

Quick question @hmatic, are you using Rails 5 or 4?

Rails 5

@hmatic could you try with version on branch optimize-cache-access?
To install please add this to the gemfile: gem 'fastentry', :git => "git://github.com/alvesjtiago/fastentry.git", :branch => "optimize-cache-access" and run bundle install.
I've made some improvements to minimize access to memcache directly.

@hmatic were you able to test this? Let me know when you get a chance to try it and if it fixes the issue for you.

@alvesjtiago sorry, I'll be able to test it tomorrow

No problem at all @hmatic. Thanks

This did not help at all :(
I have even managed to crash app while clicking through pages.

Ok @hmatic, I'll continue investigating. Unfortunately with memcached it might not be possible to go through every key without indexing them with another system. For now, I'd recommend not using Fastentry with memcached in production for large datasets. I'll add a note to the repo.


Nukies should have to arm the nuke on the station

Description

They are trying to cause the most damage possible, therefore the nuke should have to be armed on the station not just solars or AI core.
prevents meta-ing the arming of the nuke. I think it makes it more of a challenge as well.

would need nukies to actually get an appropriate amount of nukeops-per-player first, maybe make half of non-readied players still count as players for nukie count


Change certificate filenames to not be based on certificate ID

Recommended - use the UUID module.
Current situation is a possible information disclosure vulnerability.

See the filename property on the _image field in VolunteerCertificate


Reduce caching time for translations

Avoid sending content on revalidation
https://github.com/stolostron/backlog/issues/23479

/cc @jamestalton


Fix crash when error_event does not have "message" or "error" fields

Should fix https://github.com/rerun-io/ewebsock/issues/25

There's a clippy warning


Google Drive API - Export Function - Where is the downloaded file ?

Hi there,
I have a issue with the Google Drive API.
I ran the attached script (download.py) on the Terminal, and it is written "Download 100%". I guessed the file had been downloaded on my computer. However, I cannot find it neither in the Downloads repository, or in any  folder at all ...
Do you know what is the exact path / the exact name of files downloaded through Google Drive API ?
Thanks in advance,
Arnaud

There is no python file attached to your post.
I will venture to guess you are using io.ByteIO as in the example. If so, you need to switch to io.FileIO to persist the file

Facing the same issue. Please provide the solution regarding the issue its urgent.

We should probably update the sample to output the file name after download :)

This sample is owned by @grant.

@theacodes Can you link the code sample that is owned by me?

Not sure as the OP never attached the code. :(

Well, how do you know I own this sample? There is no download.py in any supported G Suite sample that I can find. Maybe it's OP's script, or deleted in this repo?
I've looked in these places:

https://github.com/google/google-api-python-client/tree/52101a521e0d67591c462a957547d8f143d68427 (here at the time of the posting)
https://github.com/gsuitedevs/python-samples
https://github.com/gsuitedevs/drive-utils
https://github.com/googlearchive?utf8=✓&q=drive&type=&language=

Feel free to create an issue with specific details and tag me. This seems like an older issue that is no longer reproducible and can be closed.

The request to export just dumps the file. I ended up just writing the data to a file:
    request = service.files().export(
        fileId="myreallylongfileid", mimeType="application/pdf").execute()
    with open('myamazing.pdf', 'w') as f:
        f.write(request)

The following is the script of download.py. It says 100% downloaded but unable to find file in file explorer.
`
file_id = '0BwwA4oUTeiV1UVNwOHItT0xfa2M'
request = drive_service.files().get_media(fileId=file_id)
fh = io.BytesIO()
downloader = MediaIoBaseDownload(fh, request)
done = False
while done is False:
status, done = downloader.next_chunk()
print "Download %d%%." % int(status.progress() * 100)
`

The file is there but it's in the memory.
So, just replace fh = io.BytesIO() with fh = io.FileIO(filename, 'wb') to save the content to the file.

Thank you I have understood it.


Aer roadmap

@chriseclectic i put something in for Aer but i don't really like it could you update the Aer section of doc/roadmap.rst

@chriseclectic please add a paragraph on the noise models.  @jaygambetta added a TODO embedded into the Aer roadmap.  I removed it from the text so the description is cleaner, so I am making this comment here in order for us not to forget the TODO entered by Jay.


Add efficientDet models

add efficientDet models
refactor model implementation and naming
check for internet connection in model management fragment

Model management and autopilot appear to work flawlessly. Object tracking also works well for every available model except for the efficientDet with NNAPI. In this case, I observed two different behaviors:

either the indicated fps is similar to that of the CPU mode but nothing is being detected
or that the fps drops to 0.5-1.5 fps with some successful detections

@quentin-leboutet, I added a remark about landscape mode in combination with the EfficientDet models. Also added some benchmarking results. NNAPI performance highly depends on the phone. Maybe you can also test on an additional phone. If there is nothing else, please approve.


System.TimeZone class is obsolete

System.TimeZone class is obsolete. Make use of System.TimeZoneInfo class.

@lusassl-msft this doesn't address the issue that is called out for issue 174. Is that what you are attempting to do?

Nope, it's just an improvement to keep the script current. Found out that System.TimeZone is outdated while looking at #174


Is it possible to separate instantiation process from connect process?

Hi,
I am transitioning an IoT app over to ruby-em-mqtt and had a question about the API that this gem exposes.
Right now, I am able to connect to a broker like this:
  client = EventMachine::MQTT::ClientConnection.connect(
    host: 'localhost',
    username<EMAIL_ADDRESS>    password: 'password123'
  )

Unfortunately, this makes it hard to separate client instantiation logic from client connection logic. Is it possible to do something like this?
# PSEUDO CODE DOES NOT ACTUALLY WORK LIKE THIS
  client = EventMachine::MQTT::ClientConnection.new(
    host: 'localhost',
    username<EMAIL_ADDRESS>    password: 'password123'
  )
  client.connect # MQTT::ClientConnection currently does not implement this.

Connecting in the manner shown above makes it a little bit easier to test and separate concerns. I could not find a connect method at the instance level, though.
Is it possible to connect to an MQTT broker in the manner shown above?
Thanks for all your work on the gem. Has been very reliable and easy to use.

Hello,
I agree that separating instantiation from connection would be very desirable.
I can't remember why it is this way, I suspect it relates to the underlying classes that it subclasses.
Patches/Pull Requests very welcome :smiley:
nick.

Thanks Nick! I might have some time in the coming weeks to patch it, schedule allowing.


Package installation bug related to numpy

Describe the bug
I'm trying to install the Tenpy-package through a requirements.txt-file in my repository using the command
pip install -r requirements.txt, where the contents of requirements.txt-file look like the following:
# Requirements for Tenpy
numpy>=1.13
scipy>=0.18
Cython>=0.29
setuptools>=30.3.0
# Tenpy itself
physics-tenpy

Error traceback
The installation results in the following error, which suggests that numpy isn't properly installed. I've tried installing numpy with a separate pip install numpy prior to installing the requirements-file, but I'm still left with the same error:
Collecting physics-tenpy (from -r requirements.txt (line 7))
  Using cached physics-tenpy-0.10.0.tar.gz (822 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/Users/martintoft/Documents/Master/Koding/TensorQAOA/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()

...

        File "/private/var/folders/68/nvgkkysd0fl4ygrdkyxf3tl40000gn/T/pip-build-env-waere_fe/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 4, in <module>
      ModuleNotFoundError: No module named 'numpy'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
[Traceback]

Note that I'm using Python 3.12.1 and pip 23.2.1 on a Macbook Pro M1 2020.

Hi Martin,
The current release on PyPI, where pip is pulling tenpy from, is v0.10 and is quite old by now.
In particular, we merged #237 since then.
The next release, which will include #237, might just fix this issue directly.
In any case, the behavior and the possible fixes will be different.
We will not attempt to fix this issue for 0.10, and only for the next release.
Note that there are subtleties when installing these packages on apple machines with silicon (M1 / M2) chips.
See e.g. the discussion in #150.
See also this article discussing ways of getting an installation to run in non-native x86 architecture, at the loss of a bit of performance

Ok, so I consider this particular issue dealt with.
Feel free to reopen or open a new issue if there are still problems =)

@martintoft1 FYI, there is now a new release on PyPI.
Also AFAIK, you do not need to put tenpys dependencies in your requirements.txt.
They should get parsed recursively.


Always expand the PR merge details to show all checks

Description
I would like the "View Details" button on the merged PR to be automatically expanded instead of collapsed by default.  I would also like the pane to be stretched to show all items sans-scrollbar.
Default:

What I would like:

Example URLs
https://github.com/refined-github/refined-github/pull/7131 works to show this, including the scrollbar in the checks pane

I thought GitHub already did this by default on closed PRs?

They do this in on the open PRs but not closed one, I do feel like hiding them when the PR is closed would be better since it will show less data/noise.

To be honest I don’t think I've ever opened that list, or not more than a couple of times. If the PR was reviewed, merged and CI is green, what is there to see on CI? Feels like a rare operation


Moving validation to server start.

Coverage decreased (-0.06%) to 67.164% when pulling 902812b1a9a55d8e4729cd84b5a29dca5bfa387f on kevgliss:557-create-config into e622a49b722f856a825a4c3f67e42394f49fbef8 on Netflix:master.

Closes #557


feat(client): change of container & anchor's css on project hover

On User's project hover, we can change the  View's background color, border and text color.
Also, on project hover, we can show some rounded border on "portfolio-container".
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Here's the video preview of what I'm trying to demonstrate:
https://github.com/freeCodeCamp/freeCodeCamp/assets/111045472/c36fbf12-5281-4a79-ad8a-63479f9c27f1

Yes sure @Sboonny.
Doing it soon!

Hey @Sboonny, thanks for that. It was my first open-source PR. That's means a lot to me and yeah I am preparing for future contributions too. Thanks again🙏

Final Preview:
https://github.com/freeCodeCamp/freeCodeCamp/assets/111045472/1efeb7a0-34cb-40a4-a0f5-a0dfb17baba2

I'm not a designer, so take this with a grain of salt, but I'm not thrilled with rounding the border on hover. Perhaps bolding it? Giving it a different color? Both of these? I think either/both of these options make it more obvious that the entire container is clickable.
But I am going to more strongly argue that the background color on the button should not change unless the button itself is hovered. Buttons are a distinct element and their visible state shouldn't change unless they are acted upon.

Appreciate your words @bbsmooth.
I understand your explanation about the border-radius concept, but I would like to express an alternative viewpoint regarding your second opinion. Consider this: Given that the entire container serves as the link, it does make sense that hovering over the container would trigger changes to the button's styling.
Furthermore, I am forward to hear more from you, sir.

Thank you for your interest in improving the design of the project cards.
We do not have a holistic approach to animations yet, but a tasteful short one would not hurt.
For stretched link cards patterns such as the portfolio projects, only the color of the button should be changed.
Actionable items:
1: make the button (link button) look like the other buttons on the page.
2: reverse its colors on hover.
Here is the general solution for your reference: stretched-link/

Thanks for implementing the changes to improve the look of the project cards. If you wish to improve the card further, I encourage you to open an issue so we could finalize the spec before proceeding with the implementations.


Issue: Test inventory is not produced until machines are checked to be alive which complicates debugging

Mrack does not produce test inventory until it is sure that the machines are alive (using ssh/winrm).
The issue is that when machines are provisioned but not accessible (wrong credentials for example) the mrack (te) is stuck in provisioning and when killed by CTRL+C there is no inventory to use for teardown to get rid of the machines.
Also when there is no test inventory debugging of the issues is more complicated as one need to fish the machine info from mrack.log
Would it be possible to shift the inventory creation to the step where:
"All hosts reached provisioning final state (ACTIVE or ERROR)"?

Hey @jakub-vavra-cz thanks for showing us your struggle we will discuss this in team but i believe the check has its meaning. However if you wish you can disable the feature for your local runs with setting post_provisioning_check values in provisioning-config.yaml file of yours:
post_provisioning_check:
    ssh:
        # Default configurations for every host
        enabled: True # True | False
        disabled_providers: ["podman"] # Per provider override to `enabled: True`
        enabled_providers: [] # Would be relevant if 'enabled' is 'False'
        port: 22
        timeout: 10 # minutes

        # Overrides

        # Groups

        # group:
        #     ad:
        #         timeout: 20 # minutes

        # If we want to override based on OS
        os:
            win-2012r2:
                timeout: 15 # minutes
            win-2016:
                timeout: 15 # minutes
            win-2019:
                timeout: 15 # minutes
            win-2012r2-latest:
                timeout: 20 # minutes
            win-2016-latest:
                timeout: 20 # minutes
            win-2019-latest:
                timeout: 20 # minutes
            win-2022-latest:
                timeout: 20 # minutes
            # fedora-34:  # an example
            #     enabled: False
            #     timeout: 1
            #     enabled_providers: []
            #     disabled_providers: ["static"]

TLDR; you can disable check with:
post_provisioning_check:
    ssh:
        # Default configurations for every host
        enabled: False

The check has definitely a meaning and is useful. I was just thinking that it can be done after the inventory is written.
As for letting the mrack finish, I either want to debug the issue, so having inventory would be useful, or I want to give up and drop the machines without waiting 20minutes to try  again.

Debugging this can be done while mrack is still running without the inventory. Open a different terminal a mrack.log and there is a full ssh command mrack is executing.  This can be then run manually, e.g. with more verbose output.

That said, I think there is kinda implied more serious bug in the described behavior: mrack doesn't even try to clean the vms if killed by interrupt signal.

@jakub-vavra-cz Reviewing issues. Is this still relevant for you?

Yes, I still consider lack if inventory and machines hanging around without way of deprovision as a serious defect in the design.


Payload bridges fix

Basic Info

Info
Please fill out this column

Issue(s) this addresses
#313

ROS2 version tested on
Humble

Aerial platform tested on
Ignition

Description of contribution in a few bullet points

Fixing payload bridges

Codecov Report

Merging #314 (cc321c1) into main (3b190e2) will increase coverage by 0.07%.
The diff coverage is n/a.

:exclamation: Current head cc321c1 differs from pull request most recent head b22fb4f. Consider uploading reports for the commit b22fb4f to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##            main    #314      +/-   ##
========================================
+ Coverage   2.91%   2.98%   +0.07%
========================================
  Files        103     103
  Lines       5524    5593      +69
  Branches     456     481      +25
========================================
+ Hits         161     167       +6
- Misses      5225    5265      +40
- Partials     138     161      +23

Flag
Coverage Δ

unittests
2.98% <ø> (+0.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 23 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


v2.0.1 Action enums corrected

Quite a few OCPP v2.0.1 enums have memebers that don't follow Python naming guide lines.
For example:
 BootNotification = "BootNotification"
   ...

For a long time, these variants have been deprecated in favor of members following Python naming guide lines:
boot_notification = "BootNotification"
   ...

This issue tracks the work to finally remove the deprecated, unpythonic members.
Users should upgrade use the Pythonic members instead.

Merged so will close


Fix and add valid usage for Fill/UpdateBuffer

Addresses issue #536, and then some.

+1

Cherry-picked and pushed to Master:
commit e43d3cee564a734d8f2333346f618004357d6e0c
Author: Mark Lobodzinski<EMAIL_ADDRESS>Date:   Thu Jun 9 17:01:19 2016 -0600
layers: GH536, Update CmdFillBuffer validation

Was ignoring VK_WHOLE_SIZE. Moved validation cases for Update/FillBuffer
to Parameter Validation layer (as they were stateless) and added the
remaining additional stateless valid usage checks.

Change-Id: I0f41c6ba55f218a6db9fb34736a2abc52f856edf


merge awesome and autogen

there are too many modules

merger them to one
delete them, use gen source dir

finally add java-gen, kotlin-gen source dir to the main project


[Improvement][Module Name] Meta database storage mode recommendations

*For better global communication, please give priority to using English description, thx! *
Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.
Describe the question
I am in the process of using DS, because the data rectification, I put some data deleted, but the original workflow still use the data source, so I need to each point to change the data source, the vast number of workflow, so I want to by direct changes to the source database data source in the form of a one-time change, but I found some problems.I'm looking at t_ ds_ task_ Instance, we found that all datasource IDs are stored in JSON,
What are the current deficiencies and the benefits of improvement
which is obviously not conducive to batch change. Therefore, I wonder if datasource ID can be stored in a separate field. Of course, this is just my idea. I don't know what the developers are thinking.Please forgive me if I am wrong.
Which version of DolphinScheduler:
-[1.3.5-preview]

@k9flame Yes, some attribute is store in database as JSON string, this is due to the fact that we are not currently using a document-based database. It is difficult to expand all properties to store in database.
According to you, do you need to modify the historical execute instance? It seems pointless to modify the datasource of a historical process instance. If you want to batch change the current data source in process definition, I think this is worth discussing.

This is a problem。If the data source of the JSON file changes, a function is needed to change the data source information in the JSON file synchronously when the data source changes.
I have an idea to store the content of the JSON file in the database in the form of text. When running, it will be extracted from the database to generate a JSON file for job. When the data source changes, we just need to replace the field of the JSON file, which is what we do now.


[WFAPI-1386] Add 'after_touch' to the list of hooks after which to publish on ActiveRecord

LGTM. Need to fix failing tests?

Ops folks were supposed to set env vars on CI. Apparently, they haven't got to that yet.


Handle JS null values within Ruby code

Hey, thanks for providing those great NPM packages!
I'm currently experimenting with writing DOM-Interaction using the JS interoperability module that this package provides. I wonder if it's possible to handle null values with the JS module?
I try to read from localStorage and if a key was not set localStorage.getItem will return null. This null value gets wrapped into a JS::Object which isn't really useful because all reflection methods complain that null is not an object. Could we return nil instead or add a method to JS::Object to identify it being null?
My example:
null_value = JS::global[:localStorage].call('getItem', 'foobar')
p null_value.inspect
# => Uncaught TypeError: Cannot read properties of null (reading 'toString')

I'm happy to help, just not sure how we should approach this.

Thank you for reporting!
I think there are 2 topics in your comment.

Inspection against null causes TypeError: Cannot read properties of null
Implicit conversion from JS null to Ruby nil

The first one is apparently a bug in this library. I've made a patch to fix it. I hope it will solve it.
The second one is a little bit difficult topic around API design. I'm happy to introduce such a conversion in the future, but I'm not confident about its design. For example, if null is implicitly converted into nil, then what should we do for undefined?
It would be longer discussion, so I would like to focus on the 1. bug in this ticket. Feel free to open another issue to discuss the design choice if you want.

Thank you for coming back and fixing inspect! I think we also have to add null-checks to other methods. For example JS::Object#call would throw if the object is null.
I'm going to open a discussion about the second point you mentioned!

(Started a discussion in #26)

Thank you for coming back and fixing inspect! I think we also have to add null-checks to other methods. For example JS::Object#call would throw if the object is null.

Hmm, I think it's expected behavior. What the expected behavior when calling method where the receiver is null?

Hmm, I think it's expected behavior. What the expected behavior when calling method where the receiver is null?

Hm you may be right. Maybe I was just confused from the error message at first:
null_value = JS::eval('return null')
null_value.call('foobar')
# Uncaught TypeError: Reflect.get called on non-object

Maybe the idea would be to improve the error message? Maybe it's not necessary though.

Ah, I see. It makes sense to stop using Reflect.get to improve error message.


Fetching data on the first of the month fails with an exception

System Health details
sorry, can't be bothered now :-)
Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
Running the integration this morning gave this error:
2024-05-01 09:46:39.156 ERROR (MainThread) [custom_components.iec.coordinator] Unexpected error fetching Iec data: unhashable type: 'RemoteReading'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/iec/coordinator.py", line 252, in _async_update_data
    list(dict.fromkeys(daily_readings[device.device_number])))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'RemoteReading'

I worked around it by monkeypatching the RemoteReading class directly in the coordinator.py file, right before this line:
RemoteReading.__hash__ = lambda self: hash((self.status, self.date, self.value))

But the proper fix is to add a __hash__ function to https://github.com/GuyKh/py-iec-api/blob/main/iec_api/models/remote_reading.py#L72 . I think my implementation (hash((self.status, self.date, self.value))) should be sufficient.
Reproduction steps

Wait until the first day of the month
Expect data to be fetched
...

Debug logs
See above

Diagnostics dump
No response

Because I run HA in a container, it was a bit more trouble to actually patch the underlying py-iec-api, which is why I didn't do it that way. I opened the issue here because anyone else who sees this is likely to start at this repo, not at py-iec-api

Thanks @mikeage. I'll add a fix to py-iec-api and will add it here :)

@mikeage - I'd appreciate if you'll code-review the fix PR

Keeping it open for verification

Should be fixed in 0.0.26 - @mikeage please verify

Thanks @mikeage


enable active search through dropped targets

This should help to mitigates #10458 and eventually to fix it.
Signed-off-by: Augustin Husson<EMAIL_ADDRESS>

:+1: Thanks!


Hash Join exception and multi-table JOIN??

I run the following query,
SELECT count(a.imsi),sum(a.download) from test_a a JOIN test_zc1 b ON a.imsi =b.imsi;
and it returns an exception:
Exception: Hash join failed, reason: Could not build a 1-to-1 correspondence for columns involved in equijoin
The test_a table contains 200 millions of records, and the test_zc1 contains 800 millions. So what's the meaning of the exception?
More, I have some doubts about the JOIN operation in Mapd.

Whether Mapd support multi-table JOIN or not?
Can I treat the subquery result table as the right table of JOIN ? Like this query:

select MSISDN,20140926,AREA_ID,USER_ID from DATUM.MD_PER_INF_ATTRIBUTE_DAY_03 z
 join (select S00000000023 from EDC_SUB_TEMP_10000049978_ZZ5 a
 left join DATUM.MD_VW_PER_USER02_DAY_03 b on b.USER_ID=a.S00000000023 and b.DAY_NUMBER = 25 and b.IS_HMD_MDR_MG=1 where b.USER_ID is null ) y
on z.USER_ID=y.S00000000023 where z.DAY_NUMBER = 26 and z.AREA_ID in (select t.area_id from edc_area t where t.parent_area_id in (1000515));

Hi @neko940709, thanks for your interest in MapD. The exception means MapD failed to build hash table for b.imsi. There are usually reasons like whether b.imsi is unique in values b/c we are still working on one to many hash join and the supported loop join on such big inner table would be unacceptably slow to you. We also have some limitations on the types of a.imsi and b.imsi so I'd ask you for them.
We support multi-way join even the inner table is from inner query. Did you run into any failure?
Sent from my Motorola Nexus 6 using FastHub

Thanks for your answer. I swap the table order of the query, but I get the same exception. The imsi attribute is varchar(32)  both table of the tables. For the JOIN operation has some strictions, I haven't run it successfully before. Can you give me some examples of the multi-way join and the join of inner query?  I found some cases in your official website(the data is about the flight info), but there's no JOIN in those queries.

For text, we only support dictionary encoded text as join key. Can you reimport the data with this encoding?
You can find some info about join support and some example here:https://www.mapd.com/docs/latest/mapd-core-guide/dml/
Sent from my Motorola Nexus 6 using FastHub

@neko940709 Is imsi unique in either of the two tables? What are the type and the encoding?
Work is under way and I'm confident we'll get these queries running pretty soon. Do you mind telling us the schemas (type and encoding) for all the tables involved, how many rows are in each table and the distinct number of values in the columns involved in the join? This will help us cover all bases. Thanks!

This is the DISTINCT result of these two tables:
mapdql> select distinct count(test_a.imsi) from test_a;
EXPR$0
19999998
mapdql> select count(test_a.imsi) from test_a;
EXPR$0
19999998
mapdql> select distinct count(test_zc1.imsi) from test_zc1;
EXPR$0
79999998
mapdql> select count(test_zc1.imsi) from test_zc1;
EXPR$0
79999998

So the imsi is unique for sure. The CREATE TABLE expressions are the following:
test_a table:
mapdql> create table test_a( id varchar(32), start_time varchar(32), imsi text encoding dict, imei varchar(32), host varchar(64), upload bigint, download bigint, lac varchar(32), ci varchar(32), user_ip varchar(32) );
test_zc1 table:
create table test_zc1( month_number varchar(2), stat_month varchar(8), user_id varchar(32), customer_id varchar(32), brand_id varchar(32), big_brand_p varchar(32), product_class varchar(32), product_id varchar(32), area_id varchar(32) , ic_no varchar(32), age varchar(32), sex varchar(32), user_status varchar(32), innet_date varchar(32), apply_date varchar(32), suspend_date varchar(32), terminate_date varchar(32), is_full varchar(32), firstcall_date varchar(32), firstcall_flag varchar(32), public_flag varchar(32), user_site varchar(32), user_type varchar(32), feeset_type varchar(32), is_group_user varchar(32), is_vip varchar(32), vip_grade varchar(32), vip_type varchar(32), is_special varchar(32), is_camera varchar(32), is_high_camera varchar(32), vip_camera_type varchar(32), fee_consume varchar(32), town_id varchar(32), account_id varchar(32), contect_tel varchar(32), contect_addr varchar(256), contect_email varchar(32), country_type varchar(32), imsi text encoding dict, phone_mgr varchar(32), vip_intype varchar(32), regstatus varchar(32), is_985schoool_user varchar(32), is_211schoool_user varchar(32) );
I've followed the suggestion to modify the type of the imsi into text encoding dict ,  but still got the exception.
mapdql> SELECT count(a.imsi),sum(a.download) from test_a a JOIN test_zc1 b ON a.imsi =b.imsi; E0702 12:26:36.712345 103746 MapDHandler.cpp:2331] Exception: Hash join failed, reason: Could not build a 1-to-1 correspondence for columns involved in equijoin Exception: Hash join failed, reason: Could not build a 1-to-1 correspondence for columns involved in equijoin

More, if I want to see the table structure through mapdql , what command can I use?
And I find new version of Mapd has released. How to update the current version into the newest?

Thanks! You've said that "The test_a table contains 200 millions of records, and the test_zc1 contains 800 millions", in which case the distinct counts are a lot lower than the total number of rows, which would explain the hash join failure. Can we get the COUNT(*) on the tables as well? 80M distinct entries is not a lot, we should be able to do it even without (soon to be available) sharding. I'll generate some data and look into what's going on next week.
Regarding the upgrade, let's ask @andrewseidl and @dwayneberry.

To see a table structure, use \d <table name>.

Thanks for the info you provide! And here is the count(*) result:
mapdql> select count(*) from test_a;
EXPR$0
19999998
mapdql> select count(*) from test_zc1;
EXPR$0
79999998
mapdql> SELECT count(a.imsi),sum(a.download) from test_a a JOIN test_zc1 b ON a.imsi =b.imsi;
E0702 14:38:47.448840 103746 MapDHandler.cpp:2331] Exception: Hash join failed, reason: Could not build a 1-to-1 correspondence for columns involved in equijoin
Exception: Hash join failed, reason: Could not build a 1-to-1 correspondence for columns involved in equijoin

copied from community forum for completeness:
Hi
I ran the following step with the latest build of mapd-core open source code
create data
awk 'BEGIN { for (i = 1; i <= 80000000; ++i) print i,",",i }' > test_a.csv
awk 'BEGIN { for (i = 1; i <= 20000000; ++i) print i,",",i }' > test_b.csv

I then ran the following queries in mapdql which seems to duplicate your steps
mapdql> create table test_a (imsi text, download bigint);
mapdql> create table test_b (b_imsi text, b_download bigint);
mapdql> copy test_a from '/data/test_a.csv' with (header='false');
Result
Loaded: 80000000 recs, Rejected: 0 recs in 111.367000 secs
mapdql> copy test_b from '/data/test_b.csv' with (header='false');
Result
Loaded: 20000000 recs, Rejected: 0 recs in 30.025000 secs
mapdql> select count(*) from test_a;
EXPR$0
80000000
mapdql> select distinct count(imsi) from test_a;
EXPR$0
80000000
mapdql> select count(*) from test_b;
EXPR$0
20000000
mapdql> select distinct count(b_imsi) from test_b;
EXPR$0
20000000
mapdql> SELECT count(a.imsi),sum(a.download) from test_a a JOIN test_b b ON a.imsi =b.b_imsi;
EXPR$0|EXPR$1
20000000|200000010000000
mapdql> \version
MapD Server Version: 3.1.1dev-20170702-2966fac6
mapdql>

Could you try these steps and see where your behaviour diverges as based on your details above this should simulate roughly your environment.
Please confirm exactly which version of MapD you are running
regards

Hi @dwayneberry ,thanks for your answer.
I follow your steps and  the final JOIN is successful, then I rewrite the data generator and have the new data to try JOIN, it success again. But when I try the old data, it still throws exception. I guess maybe there's something wrong with the old data, but I cannot figure it out. Though, thanks a lot for your help.
And, the Mapd version I'm running is:
mapdql> \version
MapD Server Version: 3.0.1dev-20170523-5a5dcc2

I wanna know how to update to the newest release?

@neko940709 Are you running th community edition?  Or is this a build you made from the repo?
Basically to upgrade you just run the new binary pointing to your existing data directory.
In the case of cimmunity edition to get latest version, go back to your email with the download link and get a new version.  That link will always fetch you the latest version.
In the case of you having built it your self from the open source repo, you would fetch the latest code and then rebuild.

hi @neko940709,
Just try update mapd.
Today I have encountered the same problem, and it solved after i update my mapd. (rebuild mapd)

Closing this issue, but if this issue still persists with one of our current 4.x releases, please feel free to open a new issue or start a conversation at https://community.mapd.com/


 These show up when running vendor/bin/phpunit --list-groups on the command line.
This PR removes these comments.
It might be useful to add groups to certain test methods as another way of organizing them, but if we don't want to add those we should at least get it back to baseline.

(For Reviewers) This is what is visible:


stream-consumer ETA

Is there an ETA on the completion of the stream-consumer?

@sabrehagen I'm working on it now and it should be ready in 1 - 2 weeks.


perf(projects): fetch specific project json

Change implementation of project by slug method to fetch specific JSON only.
Also renames ProjectItem to Project. And creates ProjectListItem, which is Project + previewImages needed when listing projects.

Current dependencies on/for this PR:

main

PR #70

PR #71

PR #72   👈

This comment was auto-generated by Graphite.


Put vlfeat on s3

We depend on an oxford website in our build script which went down earlier today. I expect it to come back, but it is worthwhile to create a mirror of it on S3 and depend on that directly.
Thanks for reporting @zhaozhang !

Just to clarify we should put both vlfeat (from http://www.vlfeat.org/download/vlfeat-0.9.20-bin.tar.gz ) and enceval (http://www.robots.ox.ac.uk/~vgg/software/enceval_toolkit/downloads/enceval-toolkit-1.1.tar.gz) on S3

Yup - two birds, thanks @shivaram
On Sat, Apr 9, 2016 at 5:57 PM, Shivaram Venkataraman <
<EMAIL_ADDRESS>wrote:

Just to clarify we should put both vlfeat (from
http://www.vlfeat.org/download/vlfeat-0.9.20-bin.tar.gz ) and enceval (
http://www.robots.ox.ac.uk/~vgg/software/enceval_toolkit/downloads/enceval-toolkit-1.1.tar.gz)
on S3
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/amplab/keystone/issues/268#issuecomment-207892540


Ad UI's localization isn't handled well for any language but English

Select something other than English as your UI languages (I tried 'de', 'ru', and 'zh').
Pick an asset with an ad.
:(

This is true for both ad counter and the 'ad X of Y' tracker. Something seems to go wrong with our resolution of the formatted loc strings.

Since my "what went wrong" step isn't terribly detailed: ad UI looks is formatted like " [AD_TIME:0:05/0:10]" instead of just showing "0:05/0:10," which expected behavior.

Hm. I think the code for converting the raw translated files back into the final files must not be working correctly.
Looking at, for example, de.json, the AD_TIME entry is:
"AD_TIME": "Werbeanzeige: [AD_TIME:0:05/0:10]",

Our script is supposed to translate that into:
"AD_TIME": "Werbeanzeige: [AD_TIME]",

I... probably should have tested that script more thoroughly, huh. I wonder what's wrong with it.

Looking at the python script for translating, I have to wonder if the translation console, in the output, fills the contents of the "example" field in where the placeholder was before. That would explain these results, anyway; the current code expects the entire placeholder markup to be present in the translation console output. If the problem was in the regex, I'd expect to be seeing tons of JSON in the resulting files instead.

We can fix the files in our repo now to unblock the next release.  Then we have a little more time to fix the automation that extracts the translations from our internal translation system.


Add testing

Looks good to me! Test runs successfully on my local instance.  It will still need some work if it is to be run nightly on the live instance:
How to account for "hidden" filter lists
Selecting an issue that also has 25 submissions on display.


Unnecessary executionContext/executeExpression requests when scrolling through CB

Every visualization in component browser sends two(!) requests as visible in the network logs:

They only differ by visualizationId field.
This works but is spurious as they way language server is currently implemented the latter will cancel the execution of the former.

Moreover one of those requests is likely to lead to a failure anyway as
Method `Table` of type Main could not be found.

This relates to #9367.


[FR] ring_size/mixin for account/transfer func

Please add the missing parameters in the RPC call for increased privacy.
ring_size - unsigned int; Number of outputs to mix in the transaction (this output + N decoys from the blockchain).
mixin - unsigned int; Number of outputs from the blockchain to mix with (0 means no mixing).
details: https://www.getmonero.org/resources/developer-guides/wallet-rpc.html

Also when using wallet.sweep_all() RPC complains about:
2021-03-06 22:47:34.626 W Requested ring size 1 too low, using 11

ring_size - unsigned int; Number of outputs to mix in the transaction (this output + N decoys from the blockchain).
That param should be deprecated upstream or perhaps clarified within the docs.

Monero default ring size is 11 and it can't be modified. This was a change a while ago.
https://github.com/monero-project/monero/issues/4229


Add PR template.

Description

Added a checklist of items to go through when opening a pull request. This helps the contributor but also the committers in assigning reviewers and validating if all the requisites are completed.
Related issue and scope

[x] I opened an issue to propose and discuss this change (Fixes #3376)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Deployment
[ ] CLI
[ ] General tooling
[x] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[x] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[x] I updated the documentation where necessary.

🌮 🎉


provider: Add jwt_issuer resource

Aligning to the CC API changes, this PR deprecates the api_oidc_config resource in favor of the jwt_issuer resource.
As the existing TF resource was not in use, the team decided to make the changes in-place.
Refined and added exhaustive acceptance tests.
Commit checklist

[x] Changelog
[x] Doc gen (make generate)
[x] Integration test(s)
[x] Acceptance test(s)
[x] Example(s)

I'll be going ahead and merging the change to avoid any further merge conflicts.
I could take up any pending suggestions separately.


Make window resizable in 4.3.8

Describe the bug
The Window can't make as resizable.

Thanks @olton  solved on 4.3.9 .


Can't pull images from older repositories on Docker 1.10

we have a private docker repository hosted at docker.workfront.tech which is an Artifactory Pro version 4.4.2 (latest). It's been working great for docker 1.9.X. On my local machine I used the migration docker container to migrate my images over, and now I can't pull.
$ docker pull docker.workfront.tech/devops/hello-world
Using default tag: latest
Error response from daemon: Get https://docker.workfront.tech/v2/devops/hello-world/manifests/latest: unable to decode token response: parsing time ""2016-02-05T14:42:28.771-0700"" as ""2006-01-02T15:04:05Z07:00"": cannot parse "-0700"" as "Z07:00"

Here's my docker info:
joeljohnson@mbp $ docker info
Containers: 18
 Running: 3
 Paused: 0
 Stopped: 15
Images: 665
Server Version: 1.10.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 701
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.58 GiB
Name: joeljohnson
ID: 66TC:3LS7:DPXA:5RVL:SQZI:A3V5:LAB5:AOBK:FVAQ:KD4C:OMSA:H7XA
WARNING: No swap limit support

devops/hello-world is just a re-tagged version of the offical hello-world image. This still works with docker 1.9.x.
I am also able to confirm this fails on a fresh Ubuntu EC2 image using the https://get.docker.com/ install script:
ubuntu@ip-10-31-5-189:~$ docker pull docker.workfront.tech/devops/hello-world
Using default tag: latest
Error response from daemon: Get https://docker.workfront.tech/v2/devops/hello-world/manifests/latest: unable to decode token response: parsing time ""2016-02-05T15:03:06.596-0700"" as ""2006-01-02T15:04:05Z07:00"": cannot parse "-0700"" as "Z07:00"

ubuntu@ip-10-31-5-189:~$ docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.10.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 3.13.0-74-generic
Operating System: Ubuntu 14.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 992.5 MiB
Name: ip-10-31-5-189
ID: V5W4:EC7K:FBH4:JZ24:H55P:GTAX:2ZWL:3BDR:KXE5:RQQX:DN2Q:2OOO
WARNING: No swap limit support

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

+1
Experiencing same issue with Docker 1.10 and Artifactory

USER POLL
The best way to get notified of updates is to use the Subscribe button on this page.
Please don't use "+1" or "I have this too" comments on issues. We automatically
collect those comments to keep the thread short.
The people listed below have upvoted this issue by leaving a +1 comment:
@AlessandroEmm

Ping @dmp42 @aaronlehmann could you have a look?

It looks like Artifactory returns the token with the optional issued_at field, and this field is not formatted correctly. Versions of Docker before 1.10 ignored this field.
issued_at
(Optional) The RFC3339-serialized UTC standard time at which a given token was issued. If issued_at is omitted, the expiration is from when the token exchange completed.

The response from Artifactory does not seem to comply with the RFC. It should have -07:00 instead of -0700.
cc @docker/distribution-maintainers

cc @dgageot  can we make contact with artifactory so they fix the formatting issue?

We are getting an EOF error when we try a docker pull using 1.1.0, but the same repository works in 1.9.1

FYI: It looks as if the Artifactory guys have already fixed (but not yet released) this:

https://www.jfrog.com/jira/browse/RTFACT-9258
https://www.jfrog.com/jira/browse/RTFACT-9056

Thanks @alex-berger
This is definitely https://www.jfrog.com/jira/browse/RTFACT-9258
People, if you are hit by this, please upgrade to Artifactory 4.4.3.
@docker/distribution-maintainers still, we shouldn't crash and the output should be more meaningful.

Closing this one as an Artifactory issue.


Prefer template no autofix

Implementing prefer-template eslint rule and manually fixing violations.  https://github.com/facebookexperimental/rome/pull/138 also implements the rule, and the beginnings of getting auto-fix to be able to fix violations rather than handling manually.

Looks good, thank you for doing this!


Highlight unreaded Nodes

If i logged in, it would be nice to see the Treads with unreaded replys.
This can be visualized with a Bold Thread Title.

This is a very good idea, but it is also a big and difficult change.

If you do it like phpbb, then you need a database table for this.
user_id (int), thread_id (int), lastread (int)
if lastread != 0/NULL/Not Exists or lastread <= thread-lastpost then make it bold.
the only thing to do is, if you read a thread create a row in this new table.


More robust integration test

Add a waitForNthState e2e helper, and use in the test. This ensures we are testing that some data is actually being transferred
Fixes an issue in web3torrent where the channelCache may be undefined when it's used
Adds a hack to updateChannelCache to always set the channel cache, even when the channel is unknown (see https://github.com/statechannels/monorepo/issues/1438#issuecomment-614159943)

I expect the integration test with hub to fail due to what is probably a virtual-defunding bug.

(Ignore this close -- testing a github projects feature)

I expect the integration test with hub to fail due to what is probably a virtual-defunding bug.

Do we have a issue for this?

If we take the opinion that the integration test should pass, then perhaps we should relax the test requirements on a short-term basis.

I'd prefer we have a test that passes for now. Even if the test is not super robust it can still be helpful at catching possible issues when creating a PR (and I really like seeing all  ✅s )

I expect the integration test with hub to fail due to what is probably a virtual-defunding bug.

Do we have a issue for this?

https://github.com/statechannels/monorepo/issues/1442

If we take the opinion that the integration test should pass, then perhaps we should relax the test requirements on a short-term basis.

I'd prefer we have a test that passes for now. Even if the test is not super robust it can still be helpful at catching possible issues when creating a PR (and I really like seeing all ✅s )

:+1:


[Play] - Miscellaneous Bug Fixes - Round 1

Issue:
This PR collects miscellaneous bugs observed over the course of testing. Bugs addressed are as follows:

Answer selector buttons are not shown prior to submission:

On Enter Game Code, when error message is displayed, text input field expands:

Resolution:
Resolution of each of the above bugs:

Answer Selector indicator AnswerSelector.tsx:

MinColWidth adjustment in EnterGameCode.tsx and Theme.tsx:

Definitely been on the todo list for a while, as it's pretty brutal currently. I think this was an issue that we were looking into in December but was shelved until after play was up and running. Thanks for the reference, I'll dig into this more when play 1.0 gets closed out (at the end of the month).

Hi @cindyqquach and @jasonmosley21, I've found a few bugs in play so I'm grouping their resolution here. Not sure if this tracks with the comments you are currently putting together but wanted to keep you in the loop on their resolution!


Alarm TX issue

Hello,
When compiling with option "ENABLE_ALARM" to have the siren option available, if "AL-MOD" is set to "TONE", it will do TX of the alarm no matter what frequency it is (50MHz, airband... everywhere you are tuned)
Understandably when set to "SITE" alarm should always work, but when set to "TONE", the alarm should play the local sound and refuse to TX if outside the allowed bands (136-600?)
Best regards.

I've removed the bit of alarm code that was bypassing the TX out of band check. I'll upload the fix soon.
In between chilling watching movies (having a relaxing day) I'm slowly searching for a bug I added yesterday, it's to do with entering a DTMF code to transmit (started by pressing the '*' key).

I really hope that you will succeed . We are really looking forward to the update.

I'll find, no worry, I never stop looking for a problem once I know it's there.


OneSignal: remove charset from content-type

OneSignal's API returns this error with charset specified:
{
  "errors": [
    "app_id not found. You may be missing a Content-Type: application/json header."
  ]
}

Thanks 🙌


Support ethers v6

This PR introduces compatibility with ethers v6. It's a bit hacky, but it works.

@w4ll3 updated!


[RBAC] load image failed after upgrade

Steps to reproduce the behavior (Required)

start fe with 2.5.0
execute the following statements

create user testuser1 identified by '12345678';
set password for root = password('123456');
create user testuser2 identified by '';

restart and upgrade to main
stop fe
restart again

Expected behavior (Required)
restart normally
Real behavior (Required)
2023-02-01 18:39:25,038 WARN (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [StateChangeExecutor.notifyNewFETypeTransfer():62] notify new FE type transfer: UNKNOWN
2023-02-01 18:39:25,064 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [BDBEnvironment.setupEnvironment():297] replicated environment is all set, wait for state change...
2023-02-01 18:39:27,044 WARN (RepNode <IP_ADDRESS>_9711_1675246705902(-1)|70) [StateChangeExecutor.notifyNewFETypeTransfer():62] notify new FE type transfer: LEADER
2023-02-01 18:39:27,065 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [BDBEnvironment.setupEnvironment():305] state change done, current role LEADER
2023-02-01 18:39:27,073 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [BDBEnvironment.setupEnvironment():309] end setup bdb environment after 1 times
2023-02-01 18:39:27,077 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadImage():1297] start load image from /home/disk5/shangyiming/starrocks.np/output/fe/meta/image/image.21. is ckpt: false
2023-02-01 18:39:27,077 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadHeader():1472] finished replay header from image
2023-02-01 18:39:27,077 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [NodeMgr.loadLeaderInfo():1115] finished replay masterInfo from image
2023-02-01 18:39:27,078 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [LocalMetastore.loadDb():349] finished replay databases from image
2023-02-01 18:39:27,079 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [Load.loadLoadJob():999] finished replay loadJob from image
2023-02-01 18:39:27,079 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadAlterJob():1487] finished replay alterJob from image
2023-02-01 18:39:27,080 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [CatalogRecycleBin.loadRecycleBin():1159] finished replay recycleBin from image
2023-02-01 18:39:27,088 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [VariableMgr.loadGlobalVariable():574] finished replay globalVariable from image
2023-02-01 18:39:27,100 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [LocalMetastore.loadCluster():4359] finished replay cluster from image
2023-02-01 18:39:27,100 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [NodeMgr.loadBrokers():1083] finished replay brokerMgr from image
2023-02-01 18:39:27,153 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadResources():1573] finished replay resources from image
2023-02-01 18:39:27,153 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadResources():1575] start to replay resource mapping catalog
2023-02-01 18:39:27,154 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadResources():1577] finished replaying resource mapping catalogs from resources
2023-02-01 18:39:27,154 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [ExportMgr.loadExportJob():414] finished replay exportJob from image
2023-02-01 18:39:27,154 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [BackupHandler.readFields():688] finished replay 0 backup/store jobs from image
2023-02-01 18:39:27,154 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [BackupHandler.loadBackupHandler():701] finished replay backupHandler from image
2023-02-01 18:39:27,157 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [Auth.loadAuth():1969] finished replay auth from image
2023-02-01 18:39:27,160 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalTransactionMgr.loadTransactionState():750] finished replay transactionState from image
2023-02-01 18:39:27,160 WARN (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [ColocateTableIndex.cleanupInvalidDbOrTable():988] remove 0 invalid tableid: []
2023-02-01 18:39:27,160 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [ColocateTableIndex.loadColocateTableIndex():841] finished replay colocateTableIndex from image
2023-02-01 18:39:27,160 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [RoutineLoadManager.loadRoutineLoadJobs():689] finished replay routineLoadJobs from image
2023-02-01 18:39:27,160 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [LoadManager.loadLoadJobsV2():722] finished replay loadJobsV2 from image
2023-02-01 18:39:27,161 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [SmallFileMgr.loadSmallFiles():549] finished replay smallFiles from image
2023-02-01 18:39:27,161 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [PluginMgr.loadPlugins():352] finished replay plugins from image
2023-02-01 18:39:27,163 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadDeleteHandler():1551] finished replay deleteHandler from image
2023-02-01 18:39:27,171 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [AnalyzeManager.loadAnalyze():419] finished replay analyze job from image
2023-02-01 18:39:27,176 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [ResourceGroupMgr.loadResourceGroups():243] finished replaying ResourceGroups from image
2023-02-01 18:39:27,182 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [TaskManager.loadTasks():456] finished replaying TaskManager from image
2023-02-01 18:39:27,184 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [CatalogMgr.loadCatalogs():224] finished replaying CatalogMgr from image
2023-02-01 18:39:27,187 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [SystemInfoService.loadComputeNodes():871] finished replaying compute node from image
2023-02-01 18:39:27,187 INFO (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [GlobalStateMgr.loadShardManager():1583] finished replay shardManager from image
2023-02-01 18:39:27,201 ERROR (UNKNOWN <IP_ADDRESS>_9711_1675246705902(-1)|1) [StarRocksFE.start():183] StarRocksFE start failed
java.lang.NegativeArraySizeException: null
        at com.starrocks.common.io.Text.readStringWithChecksum(Text.java:445) ~[starrocks-fe.jar:?]
        at com.starrocks.persist.metablock.SRMetaBlockReader.close(SRMetaBlockReader.java:109) ~[starrocks-fe.jar:?]
        at com.starrocks.authentication.AuthenticationManager.load(AuthenticationManager.java:494) ~[starrocks-fe.jar:?]
        at com.starrocks.server.GlobalStateMgr.loadRBACPrivilege(GlobalStateMgr.java:1493) ~[starrocks-fe.jar:?]
        at com.starrocks.server.GlobalStateMgr.loadImage(GlobalStateMgr.java:1359) ~[starrocks-fe.jar:?]
        at com.starrocks.server.GlobalStateMgr.initialize(GlobalStateMgr.java:950) ~[starrocks-fe.jar:?]
        at com.starrocks.StarRocksFE.start(StarRocksFE.java:129) [starrocks-fe.jar:?]
        at com.starrocks.StarRocksFE.main(StarRocksFE.java:81) [starrocks-fe.jar:?]

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

fixed by #17452


With CDK 2.0 alpha coming out, what are the plans for this library?

Will this library adopt 2.0 or will there be a new library?

We talk regularly with the CDK team and will be releasing a version of Solutions Constructs compatible with CDK 2.0 when it goes to General Availability.
The current plan is that all code written with current Solutions Constructs will continue to work with a change in "import" statements.

We talk regularly with the CDK team and will be releasing a version of Solutions Constructs compatible with CDK 2.0 when it goes to General Availability.
The current plan is that all code written with current Solutions Constructs will continue to work with a change in "import" statements.

Reopening this issue so interested parties can follow it.

CDK v2 is now in developer preview and we're looking into the best way to make Solutions Constructs work with CDK v2

Any update on this?

relm923@ Still work in progress, hope to have something out there soon

CDK & Solutions Constructs v2 is now GA
https://github.com/awslabs/aws-solutions-constructs/releases/tag/v2.0.0


Set PYTHON_BIN for python-rpm-macros

Whenever I use these containers, I must remember to set PYTHON_BIN for python-rpm-macros to work with the container's Python version. If I don't, then python-rpm-macros resolves Python to python3, and several macros fail (e.g. %{python_version_nodots} returns 3, not 311).
For example, if I build locally I always have to remember to export PYTHON_BIN and pass it to docker, which is tedious.
export python=python3.11; docker run -e PYTHON_BIN="${python}" --rm --pull always -it -v "$(pwd)":/build "artifactory.algol60.net/csm-docker/stable/csm-docker-sle-python:${python//python/}" bash

I'd prefer to just do:
docker run --rm --pull always -it -v "$(pwd)":/build "artifactory.algol60.net/csm-docker/stable/csm-docker-sle-python:3.11" bash

/backport maint/3.11 maint/3.10 maint/3.9 maint/3.6

/backport maint/3.11 maint/3.10 maint/3.9 maint/3.6


Fixes Issue No. : #476

Issue Title: chatbot functionality enhancement
closes  #476
Type of change ☑

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[X] My code follows the guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

How Has This Been Tested? ⚙
Describe how have you verified the changes made.
The changes i made :

fixes the chatbot popup container.

when user click outside the chatbot ,the chatbot bcm close and viceversa.

here is the screenrecording:
screen-capture (8).webm

@singodiyashubham87  review my PR and if the changes are required then let me know!


can't build on Windows 10

PS C:\Users\vuong> go get -u github.com/miguelmota/cointop
package github.com/miguelmota/cointop/cointop/ssh: build constraints exclude all Go files in D:\workspace\go\src\github.com\miguelmota\cointop\cointop\ssh

I got this error when try to install cointop on Windows 10 (Powershell/Git bash). How could I do to resolve this issue?
Thanks.
====
Update:
After having an investigation, I see the ServerCmd() in cointop\cmd\server.go couldn't be running in Windows because the github.com/creack/pty still not support Windows yet.
I can make it build by disable ServerCmd() but not sure about the purpose of ServerCmd(), can I ask for an explanation, please? 😂

@vuongggggg the server allows you to use cointop remotely.
For example, try:
ssh cointop.sh

In that example the remote server, cointop.sh, is running the cointop SSH server.
More information is in the README

Thanks @miguelmota!


Adding simple CreateVhdx method

This adds a simple CreateVhdx method, but also provides the foundations for later vhd related wrapper functions.
@jstarks @jhowardmsft

Please split mksyscall submission into two commits.

I guess I expected to see the first commit just being the add of mksyscall, and the second commit being the modify of mksyscall and the addition of the rest of the code...

@jstarks Ok, finally got this into the right state.


Ensuring that Sidekiq Jobs are rendered within the user dashboard

This should ensure that #397 is resolved.

Once https://app.circleci.com/pipelines/github/pulibrary/tiger-data-app/1215/workflows/f1c5bdb4-5ed9-4f83-a657-2fe073119857 passes, I shall have this opened and prepared for review.


Bootstrap cleanup

discussion: https://chat.zulip.org/#narrow/stream/6-frontend/topic/bootstrap.20dropdown-toggle

Looks good to me aside from the comment above; can you add a last commit deleting the matches to git grep dropdown-toggle web/third/?

Done.

Merged, thanks @amanagr!


Question about width of gaussian in distribution figures

During a discussion, @AntoineSIMTEK and me found this line of code, where the values
for the gaussian curves in the distribution figures are calculated:
https://github.com/pastewka/TopoBank/blob/8c64de45a5391f590fe8bd7515acf661834982d5/topobank/analysis/functions.py#L331
Here the RMS (root mean square)
    mean = arr.mean()
    rms = np.sqrt((arr**2).mean())

is used instead of the standard deviation. Maybe we had this
discussion already, but I cannot remember - why don't we use the standard deviation here, where
additionally the mean value is substrated? It would be a better fit for the gaussion, wouldn't it?
@pastewka Do you remember? Or is the RMS wrong here?
In the legacy web app (PyCo 0.18.0), also RMS is used.

This actually looks wrong. Will need to check if this is still the case.


How do I import/export the data the is saved in Couchdb?

Hi,
I want to change my cloud server provider and wish to move the Hood.ie installation from one server to another.
So please help me understand how should i export the data on server1 and import it on server2...
Thanks.

We are thinking of providing migration scripts for cases like this, but we didn’t get to it yet. Maybe there is a script that can help copy an entire CouchDB with all configurations from one place to another? /cc @janl


Consider making iris.unit submodule its own module.

Hello!  This is more a request than an issue.
There are some projects that do not need all of iris, but would be greatly improved with some of iris parts.  one of them is iris.unit.  There is some ongoing discussion on using it here, but having iris as a dependency is not an option for most projects.

:+1: - I'd find this a most welcome improvement.
Is this something you'd be interested in taking a look at @ocefpaf?
Thanks for the heads up!

some of iris parts. one of them is iris.unit

Out of interest, what are the other parts?

Is this something you'd be interested in taking a look at @ocefpaf?

Yes.  I will try (and cry for help if I crash and burn).  Wait for something next week...
@rhattersley I know that the "cf interpretation" that iris does is of great interest to people like @rsignell-usgs.
On the top of my head I think that splitting the fileformats (netcdf, pp, grib, etc) would make  iris installation easier and lighter for people using just one format.  (I only use netcdf for example.)
Something like what pydap does for the handlers and responses.
(Although, iris installation became much easier lately that this is not a big issue anymore.)

On the top of my head I think that splitting the fileformats

Agreed. On my radar in the short-ish term is the Unified Model type files such as Fieldsfiles and PP.

Wait for something next week...

Cool. Keep us in the loop, I'd be happy to help if you hit any blockers.

Thanks to iris high quality code it was easy to hack (and slash) the code and get a units module.  I have a prototype working:
http://nbviewer.ipython.org/gist/ocefpaf/ba386349d035edd15dcf
I still need to:

import all the tests from iris
prepare an iris PR that removes all units code and imports this instead

But before I do that I have a few questions.  Should I create a GitHub repository using my account with this prototype?  Is that OK with iris license?
(Once this is done, and if there is interested, we'll move it to Scitools of course.)
PS: @rhattersley While working on this I found out about symbols.py, and that is another good candidate to be a stand-alone module :wink:

Should I create a GitHub repository using my account with this prototype? Is that OK with iris license?

The ToS of GitHub allow you to fork and do edits at will. But license-wise, that is the point of the (L)GPL. The code (that was obtained under the terms of the LGPL) will always be free.

It is not really a fork in the GitHub sense of "forks."  Although I could fork, rename, and remove everything non-units from the repository, but that sounds like an overkill.
I will start a repository with the same licenses and later on, if this takes flight, you'll decide where it should live.

Done: https://github.com/ocefpaf/units

@ocefpaf : very cool!
Pardon my ignorance, but will this work all on its own -- i.e. not requiring udnitspy (though probably requiring udunits itself)

Just as an aside, there already appears to be a Python package named "units", so you may wish to choose an alternate name. While that package is quite old, it might be a bit confusing.

@QuLogic yes, i just realized that :disappointed: Suggestions? iris_units?

Pardon my ignorance, but will this work all on its own -- i.e. not requiring udnitspy (though probably requiring udunits itself)

Correct @ChrisBarker-NOAA.  It is substitute for udnitspy :smiley: , but still dependent on udunits2 :unamused:
See: http://nbviewer.ipython.org/gist/ocefpaf/60ecac928612f5ae8fed

Maybe "cf_units" it's all about CF, but theoretically only used by Iris, rather than the other way around. But I don't care, really. Good to have "units" in the name, so people will find it.
@ocefpaf : maybe udinits2 could be built-in, rather then kept as a separate package. It would make it harder to build, but then it would be only one package to manage.
-CHB

We did this. Yay to cf-units! https://github.com/SciTools/cf_units/.


If camera.frustumCulling == false, then meshInstance.visible not respected.

If camera Frustum Culling disabled, then meshInstance visible property is not respected.

Fixed in https://github.com/playcanvas/engine/pull/666


Failed basic installation

Describe the bug
To test the latest Drupalpod I tried using an issue and got
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drush/drush 11.0.0-rc1 requires chi-teck/drupal-code-generator ^2.2 -> found chi-teck/drupal-code-generator[2.2.0, ..., 2.x-dev] but the package is fixed to 3.2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - drush/drush[11.0.0-rc2, ..., 11.0.1] require chi-teck/drupal-code-generator ^2.3 -> found chi-teck/drupal-code-generator[2.3.0, ..., 2.x-dev] but the package is fixed to 3.2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - drush/drush[11.0.2, ..., 11.x-dev] require chi-teck/drupal-code-generator ^2.4 -> found chi-teck/drupal-code-generator[2.4.0, ..., 2.x-dev] but the package is fixed to 3.2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires drush/drush ^11.0 -> satisfiable by drush/drush[11.0.0-rc1, ..., 11.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/devel:*" to figure out if any version is installable, or "composer require drupal/devel:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Failed to execute command composer require drush/drush:^11.0 drupal/coder:^8.3 drupal/devel  --no-install: exit status 2

Later,
Config value "installed_paths" updated successfully; old value was "../../drupal/coder/coder_sniffer,../../sirbrillig/phpcs-variable-analysis,../../slevomat/coding-standard"
PHP Fatal error:  Class Drush\Commands\core_development\DevelopmentProjectCommands cannot extend final class Drush\Commands\core\CacheCommands in /var/www/html/drush/Commands/core_development/DevelopmentProjectCommands.php on line 0

Fatal error: Class Drush\Commands\core_development\DevelopmentProjectCommands cannot extend final class Drush\Commands\core\CacheCommands in /var/www/html/drush/Commands/core_development/DevelopmentProjectCommands.php on line 0
 [warning] Drush command terminated abnormally.
Failed to run drush updb -y: exit status 1

To Reproduce
Use Drupalpod on https://www.drupal.org/project/drupal/issues/3284961

Expected behavior
Install successfully
Screenshots
Many failures, per above
Version and configuration information (please complete the following information)

Issue page https://www.drupal.org/project/drupal/issues/3284961
Issue branch None chosen
Drupal core version 10.1.x
Project type
[x] Core
[ ] Module
[ ] Theme

Additional context
Related: Please provide a "safe" issue for testing.

https://github.com/shaal/DrupalPod/issues/121

The behavior now is certainly different, thanks for the work on this.
Now I see
In install.core.inc line 1235:

  Missing profile parameter.

Failed to run drush si -y --account-pass=admin --site-name=DrupalPod '': exit status 1

  Command pm:install was not found. Drush was unable to query the database. As a result, many commands are unavailable. Re-run your command with --
  debug to see relevant log messages.

The web UI comes up with the install screen, and I was able to do web install without trouble.
Full output: https://gist.github.com/rfay/99d792a69747c0ea30906875951768f6
Maybe I selected something wrong in the selection form?
Here's what I apparently did:

I seem to have left "install profile" as none, my eyes skipped over it. I recommend removing the "none" option and replacing it with "standard" or "demo_umami" as default.

When I provided an install profile it ran successfully to completion. https://gist.github.com/rfay/43c0141c8122f192408d521a7029f569

I do recommend not defaulting to "none" for the install profile.

Followup:

https://github.com/shaal/DrupalPod/issues/131


nixos/qemu-vm: force enable switch-to-configuration when installing bootloader

Description of changes
We need it to actually, well, install the bootloader.
Fixes https://github.com/NixOS/nixpkgs/pull/340445#issuecomment-2345013300
Things done

Built on platform(s)

[x] 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.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

@ofborg test bootspec.basic

Replaced it with a combination of a new option and an assertion on its value. For bonus points, you can now attempt to force install a bootloader on whatever funny partition setup you came up with.


Python program for Sparse Matrix Representation using Array

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
#573
A sparse matrix is a two-dimensional, made up of m rows and n columns. Most of the elements in the Sparse matrix are 0. A sparse matrix is preferred over the simple matrix as it takes less space than a simple matrix. Sparse Representation using array traverse only to the non-zero element which in return reduce both time and space complexity and even make the code more efficient.
Time Complexity: O(noOfRows*noOfcolumns)
Space Complexity: O(1)
Checklist

[ Y] I've read the contribution guidelines.
[ Y] I've checked the issue list before deciding what to submit.
[ Y] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#573

kindly review this PR @Kajol-Kumari  @SKAUL05 @iamrajiv @plazzy99 @atarax665


[Add2App] Release app doesn't display the flutter view

demo ： https://github.com/flutter/samples/tree/master/add_to_app/android_view
2021-04-28 10:00:28.609 E: [ERROR:flutter/shell/common/shell.cc(242)] Dart Unhandled Exception: NoSuchMethodError: No top-level getter 'showCell' declared.
    Receiver: top-level
    Tried calling: showCell, stack trace: #0      NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:212)
2021-04-28 10:00:28.609 E: [ERROR:flutter/runtime/dart_isolate.cc(699)] Could not resolve main entrypoint function.
2021-04-28 10:00:28.609 E: [ERROR:flutter/runtime/dart_isolate.cc(190)] Could not run the run main Dart entrypoint.
2021-04-28 10:00:28.611 E: [ERROR:flutter/runtime/runtime_controller.cc(401)] Could not create root isolate.
2021-04-28 10:00:28.611 E: [ERROR:flutter/shell/common/shell.cc(571)] Could not launch engine with configuration.
2021-04-28 10:00:28.787 E: win=Window{65277b9 u0 Splash Screen com.xq.testandroidflutter EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19042.928], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
[√] Connected device (3 available)

! Doctor found issues in 1 category.

Hi @Limy1992
Thanks for filing the issue! I can confirm the issue on  the stable and master
Reproduced on the following channels and modes

reproduced
stable
master

debug
❌
❌

release APK
✅
✅

Preview

debug
release APK

Logcat
2021-04-28 13:49:47.513 3725-8175/? D/IOLIMITER: enter the circle of wait for signal, waiting
2021-04-28 13:49:47.518 2722-18795/? D/AudioTrack: ClientUid 1000 AudioTrack::stop
2021-04-28 13:49:47.567 13054-18782/? E/flutter: [ERROR:flutter/shell/common/shell.cc(242)] Dart Unhandled Exception: NoSuchMethodError: No top-level getter 'showCell' declared.
    Receiver: top-level
    Tried calling: showCell, stack trace: #0      NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:212)
2021-04-28 13:49:47.567 13054-18782/? E/flutter: [ERROR:flutter/runtime/dart_isolate.cc(699)] Could not resolve main entrypoint function.
2021-04-28 13:49:47.568 13054-18782/? E/flutter: [ERROR:flutter/runtime/dart_isolate.cc(190)] Could not run the run main Dart entrypoint.
2021-04-28 13:49:47.568 13054-18782/? E/flutter: [ERROR:flutter/runtime/runtime_controller.cc(401)] Could not create root isolate.
2021-04-28 13:49:47.568 13054-18782/? E/flutter: [ERROR:flutter/shell/common/shell.cc(571)] Could not launch engine with configuration.
2021-04-28 13:49:47.569 13054-13054/? D/OpScreenModeManager: setRefreshRate parent io.flutter.embedding.android.FlutterView{a672e70 VFE...... ......ID 0,0-1080,450} parent width 1080 parent height 450 mRatio 1.2
2021-04-28 13:49:47.569 13054-13054/? D/OpScreenModeManager: setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{e7e0735 V.E...... ......ID 0,0-1080,450} viewRate 0 width 1080 height 450
2021-04-28 13:49:47.571 13054-13054/? D/OpScreenModeManager: setRefreshRate parent io.flutter.embedding.android.FlutterView{a672e70 VFE...... ........ 0,0-1080,450} parent width 1080 parent height 450 mRatio 1.2
2021-04-28 13:49:47.571 13054-13054/? D/OpScreenModeManager: setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{e7e0735 V.E...... ........ 0,0-1080,450} viewRate 0 width 1080 height 450
2021-04-28 13:49:47.578 13054-18776/? D/evercode.triag: Successfully load libgui-plugin.so, this=0x7e6dd7c298

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.0.5 at C:\Users\Taha\Code\flutter_stable
    • Framework revision adc687823a (12 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.55.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • IN2011 (mobile)                    • c9d8ee0c      • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.19042.928]
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 90.0.818.46

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.3.0-1.0.pre.143, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.3.0-1.0.pre.143 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision aecd5e0302 (7 hours ago), 2021-04-28 00:53:57 -0300
    • Engine revision 92ef7b59c8
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.55.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • IN2011 (mobile)                    • c9d8ee0c      • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.19042.928]
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 90.0.818.46

! Doctor found issues in 1 category.

@gaaclarke The showCell function needs a vm:entry-point pragma as it is getting tree shaken away in AOT modes. It looks like you were the author of the sample so I pinged you. But if someone else is owning the these now, please feel free to redirect.

Thanks


Show a warning when the expected answer is not marked correct

Almost nobody sets up unit tests, and they're easy to miss.
The worst thing you can do is display a 'correct' answer that is marked incorrect when you submit it. So, the part editor should show a warning when the expected answer is not marked correct. This should be somewhere near where you set up the correct answer: for JME parts next to the correct answer field, and for MCQs either above the list of choices or next to the marking matrix field.

Of course, the expected answer depends on question variables, so maybe this check should be an optional part of the Variable testing process.
It might be useful to bring together variable testing and part unit tests in one big "test the lot" button.
Parts which use pre-submit tasks can take a long time to mark, so we should bear that in mind.

We have just realized that a whole batch of questions fail to mark the correct answer correct, because they were constructed by copying one template that failed this basic validation. Making this validation easy to do (press a single button), and making it highly visible whether it has been done, would have saved us a lot of work.

Just to document the current easiest way to accomplish this check:

Go to the otherwise unused "Marking Algorithm" tab
Copy the "correct answer" box
Delete everything in the "student's answer box"
Paste the correct answer in
Run the marking


TensorFlow Lite Add GpuDelegate bindings

From NuGet feedback:
Could you, please, add bindings for TFLite GpuDelegate (https://www.tensorflow.org/lite/performance/gpu) to the Xamarin.Tensorflow.Lite package?
A couple months ago, TFLite introduced GpuDelegate class - a powerful mechanism for running TFLite models on a wide variety of mobile GPUs. I personally tested it on my Google Pixel 2 and got 2.5-3x performance improvement with MobileNet V1 as well as with SSD_MobileNet.
The original article can be found here: https://arxiv.org/abs/1907.01989
Thank you.

@Redth, could you please share a small example with GpuDelegate if Xamarin.TensorFlow.Lite.Gpu worked for you?
@moljac, looks like there is an issue with Xamarin.TensorFlow.Lite.Gpu, could you please check https://github.com/xamarin/XamarinComponents/issues/876?

Answering my own question, the way to use GpuDelegate in Xamarin is
var gpuDelegate = new Xamarin.TensorFlow.Lite.GPU.GpuDelegate();
Xamarin.TensorFlow.Lite.Interpreter.Options options = new Xamarin.TensorFlow.Lite.Interpreter.Options().AddDelegate(gpuDelegate);
var interpreter = new Xamarin.TensorFlow.Lite.Interpreter(mappedByteBuffer, options);

It is important that the versions of Xamarin.TensorFlow.Lite.Gpu is <IP_ADDRESS> or later (more accurately,  <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS> also have the fix, see).
See the full example here: https://github.com/OutSorcerer/MushroomDetector/blob/master/MushroomDetector.Android/TensorflowClassifier.cs#L26


3.3.7Add labels on BEs doesn't work

Steps to reproduce the behavior (Required)
5 be nodes
1.ALTER SYSTEM MODIFY BACKEND "172.xx.xx.46:9050" SET ("labels.location" = "rack:rack1");
2.CREATE TABLE example_table (
order_id bigint NOT NULL,
dt date NOT NULL,
user_id INT NOT NULL,
good_id INT NOT NULL,
cnt int NOT NULL,
revenue int NOT NULL
)
PROPERTIES
(
"labels.location" = "rack:rack1",
"replication_num"='3');
3.show tablet from example_table;
4.'BackendId' and 'MetaUrl' Display tablets distributed across all nodes and No error reported BE nodes less than Table replication num

Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
3.3.7

what is real behavior? create table command is failed with replication num set to 3, though 5 BEs with matching label are running?


Fix ordering of LD flag in Makefile

On Ubuntu Xenial (gcc 5.4), BMFTools won't compile unless the LD flags are included after the files, otherwise linker errors otherwise. This PR moves the $(LD) variable in the Makefile to later in the command, allowing successful compilation.

The change looks good to me and likely explains an error a user on Ubuntu was reporting which I couldn't reproduce on any of 4 servers plus a laptop.
We've been only merging into master after running a lot of large-scale and small-scale tests. This should instead go into the dev branch. If master needs to be updated ASAP, we should rerun the rest suite in BMFTest and ensure it passes before incrementing versions and releases.

Thanks for your help!
I've incorporated your changes into dev. This wasn't a clean merge because other changes to the Makefile since master was last updated, but if you work off of dev, merges should be easy in the future.


ur_client_library: 1.3.2-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository ur_client_library to 1.3.2-1:

upstream repository: https://github.com/UniversalRobots/Universal_Robots_Client_Library
release repository: https://github.com/ros2-gbp/Universal_Robots_Client_Library-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.3.1-2

ur_client_library
* Add a cmake option to activate address sanitizers (#146 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/146>)
* Install start ursim (#155 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/155>)
* Add spline interpolation on robot (#151 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/151>)
* Add codecov.yml to exclude test and examples folders (#152 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/152>)
* Make URSim log files available as artifacts also for the CI-industrial (#153 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/153>)
* Remove Foxy from CI
* Add a script to run the examples instead of run-parts
* Add SaveLog command to the Dashboard client
* Make URSim log files available as artifacts
* Specifically set RTDE pipeline producer to FIFO scheduling (#139 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/139>)
* Added support for force_mode, freedrive and tool contact (#138 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/138>)
* Docs: Update link to ros_industrial_cmake_boilerplate
* Added tests for the comm classes (#129 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/129>)
* Changed num_retries from static to an unsigned int (#136 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/136>)
* Build downstream humble version from humble branch (#132 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/132>)
* Contributors: Felix Exner, Mads Holm Peters, Rune Søe-Knudsen, Robert Wilbrandt

Held for rolling sync


Added code for selecting answer based on logits for MCQ, along with code for TruthfulQA.

Also moved generation logic to generation_utils.py

LGTM, thanks for adding the nicely designed LogitEvaluationTask. I ran TruthfulQA task with Qwen2-1.5B-Instruct (python eval.py --tasks truthfulqa --checkpoint_path checkpoints/Qwen/Qwen2-1.5B-Instruct/model.pth) and got {'Accuracy': 0.2864137086903305}.
A few minor comments:

We can add scikit-learn in requirements.txt due to this issue with hf evaluate.
There a small merge conflict with main on task.py.

Fixed merged conflict and pushed via command line.


Update kubernetes-deployment.md

Environment:
OS: Multipass on Mac running Ubuntu 22.04 LTS
K8s: K3s v1.25.6+k3s1
Using serviceType yields the following error:
Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
opentelemetry-demo:

components.frontendProxy: Additional property serviceType is not allowed
Using the following in values file works:

components:
  frontendProxy:
    service:
      type: LoadBalancer

Not an expert here, @open-telemetry/demo-approvers: can you let us know if this change is correct?

As per https://github.com/open-telemetry/opentelemetry-helm-charts/blob/36d6b236a92745b82858fd2e703cd5669ad23cfa/charts/opentelemetry-demo/UPGRADING.md#upgrade-guidelines this is correct