Support INSERT INTO SELECT

Describe This Problem
Enhance SQL support.
INSERT INTO SELECT is useful to migrate table, benchmark(to quickly generate lots of data).
Proposal
Implement this SQL syntax.
INSERT INTO table2 (column1, column2, column3, ...)
SELECT column1, column2, column3, ...
FROM table1
WHERE condition;

Additional Context

https://dev.mysql.com/doc/refman/8.0/en/insert-select.html
https://www.w3schools.com/mysql/mysql_insert_into_select.asp

Hi, I'm interested in this let me try, but this one may take a little time

Thanks, assigned.
 This is indeed a non-trivial task, feel free to ask any questions when you are in trouble.

@caicancai Hi, a few weeks passed, how's it going? Any problems?

@caicancai Hi, a few weeks passed, how's it going? Any problems?

There doesn't seem to be any progress. I was busy with work in December. I'm sorry for that. I may start this part of the work on New Year's Day, if this feature is not urgent.

Hi, take you time, just want to know if there is any problems.

You can join our slack channel to discuss with us.

https://github.com/apache/incubator-horaedb?tab=readme-ov-file#contributing

@jiacai2050 Hello, I tried it during the holiday. I expected that this feature would take up a lot of my energy. Since I have been busy recently, I may not have so much energy. I chose to give up this feature. I am very sorry for taking up so much time.

Thanks for trying out, This task is a little complex, you need to understand how query and write works at a whole level.

PS: I remove the good first issue tag.

Hi @jiacai2050, I'd like to take this task.

👍 Much appreciated.


[Logging v2] Control Plane logs - AKS

Add as many relevant control plane logging locations as possible for AKS.

Relevant conversation: https://community-banzaicloud.slack.com/archives/CGMPPBZBK/p1605025609156400

Logging Chart version 3.8.201
Rancher version: v2.5-head (12/08/2020) 8d759be
Rancher version: master-head (12/07/2020) a5e40aa
Observed this upstream issue too: https://github.com/banzaicloud/logging-operator/issues/582
We need to handle rotating logs: https://github.com/rancher/rancher/issues/30383


Prepare repository for multiple packages

Description
With introduction of session replay we want to publish multiple packages from this one repository. This PR moves files around in the repository so the structure is suitable to add more packages
Changes

Most package specific files (so from current src/ and tests folders) have been moved to packages/web folder
Root has been reconfigured to acknowledge packages/* folders as npm workspaces
Root scripts pass forward to scripts inside packages (in future could try to reduce duplication) by getting compile, tests, ... into one root command
Version bumps can now be started with npm run version:bump <major|minor|patch|specific> which bumps version in all of the packages and writes new version.ts files
Updated all of the scripts to account for monorepo
Updated release ci jobs for multi-package publishing + divided it into more steps so partial failures (eg. aws suddenly going down during release) can be more easily reran

How has this been tested?

Manual testing via dry runs

@mhennoch good luck have batman


Update threads_per_worker in example run script

@talumbau and @jdebacker. I think we need to make the same change in the OG-Core example run script that TJ's PR #102 made in OG-USA. We should limit the number of threads_per_worker to 1 in the dask Client class instantiation.
client = Client(n_workers=num_workers, threads_per_worker=1)

Thanks for opening this issue. I agree it looks like this is the right call, but I was going to ask you both to try a run with this setting on your Macs to make sure there is no regression on your side. I don't have a good sense of the default features of the Dask LocalCluster and default scheduling choices. Also I noticed that this setting exists on something called cs_config in OG-USA here:
https://github.com/PSLmodels/OG-USA/blob/master/cs-config/cs_config/functions.py#L214
Can you provide some details on what cs-config is? Second point is that we should create a central "client creation" function provided by OG-USA utilities so that we can centralize these features (we might need additional Client customization as time goes on)

@talumbau asks:

Can you provide some details on what cs-config is?

the cs-config files are those used for a Compute-Studio (C/S) web application of the OG-USA model. This app has generally been run on Google Cloud Services.  @kcreekdev has been doin some work recently in OG-USA related to some memory issues he's encountered on the GCS machines.

Second point is that we should create a central "client creation" function provided by OG-USA utilities so that we can centralize these features (we might need additional Client customization as time goes on)

Ok - let me know what these means. We thought it was pretty useful that the client passes through the OG-Core model and so one can set that up in the "run script" for whatever their configuration is (e.g., running on a local cluster, a cluster with Slurm scheduler, etc.).  But anything that would aid users parameterizing the client correctly for their environment would be good.

The updating of the run script threads-per-worker part of this issue was resolved in PR #928 . I am going to move @talumbau's Compute Studio questions and @jdebacker's answers to another issue, then close this issue.


[Unzip]polish_include_zmw_all_subreads

Hi,
Using the new release, can I know how I can set this option to be true, as per the release notes:
Only if [Unzip]polish_include_zmw_all_subreads is "true".
Thank you very much

[Unzip]
polish_include_zmw_all_subreads = true

It's actually a standard Python ConfigParser, so 1, yes, and on work too.

Thanks very much


Error with Polytrope Package

Hello,
When I try to run the jupyter notebook for the shower example, I get the following error. I'm not sure why this is or what to do about it. Any help would be greatly appreciated! Specifically, this is from operability_index_shower.ipynb and from the following line of code:
AOS_region  =  multimodel_rep(model, AIS_bounds, AIS_resolution)
Thanks!
See below for the error.
TypeError                                 Traceback (most recent call last)
Cell In[9], line 1
----> 1 AOS_region  =  multimodel_rep(model, AIS_bounds, AIS_resolution)
File ~\Anaconda3\envs\opyr2\lib\site-packages\opyrability.py:205, in multimodel_rep(model, bounds, resolution, polytopic_trace, perspective, plot, EDS_bound, EDS_resolution)
202 AS_coords = np.concatenate(Vertices_list, axis=0)
203 for i in range(len(mapped_region)):
--> 205     polyplot = _get_patch(mapped_region[i], linestyle="solid",
206                         edgecolor=EDGES_COLORS, linewidth=EDGES_WIDTH,
207                         facecolor=AS_COLOR)
208     ax.add_patch(polyplot)
211 lower_xaxis = mapped_region.bounding_box[0][0]
File ~\Anaconda3\envs\opyr2\lib\site-packages\polytope\polytope.py:2319, in _get_patch(poly1, **kwargs)
2317 ind = np.argsort(angle)
2318 # create patch
-> 2319 patch = mpl.patches.Polygon(V[ind, :], True, **kwargs)
2320 patch.set_zorder(0)
2321 return patch
TypeError: init() takes 2 positional arguments but 3 were given

The example runs fine for me when using opyrability 1.4.5 and its dependencies. From my local machine:

This seems to be a matplotlib issue perhaps. Could you tell me which are your package versions for:

Numpy
Scipy
Polytope
matplotlib
tqdm
CVXOPT
cyipopt
JAX

Thanks for the quick reply!!

 The function Polygon seems to be have been reworked and hence, the polytope package needs to be updated to work for this new version. I was able to reproduce your error:

If you uninstall matplotlib 3.8.3 and install 3.7.3 for example via:
pip install matplotlib==3.7.3 --user
Then everything should run as expected.
I hope this helps!

@dhuynh10 let me know if it worked. It should be, but please confirm.

@victoraalves Yes! It worked. Thank you.
I have another error when I try to run the inverse_map_shower.ipynb file. I'm not sure if that's related or not. I can open another ticket if that's better. Thanks!!

IndexError                                Traceback (most recent call last)
Cell In[3], line 12
8 DOSresolution = [10, 10]
11 t = time.time()
---> 12 fDIS, fDOS, message = nlp_based_approach(DOS_bound,
13                                           DOSresolution,
14                                           shower2x2,
15                                           u0,
16                                           lb,
17                                           ub,
18                                           method='ipopt',
19                                           plot=True,
20                                           ad=False,
21                                           warmstart=False)
24 elapsed = time.time() - t
File ~/anaconda3/envs/opyr/lib/python3.9/site-packages/opyrability.py:800, in nlp_based_approach(model, DOS_bounds, DOS_resolution, u0, lb, ub, constr, method, plot, ad, warmstart)
797     pass
799 dimDOS = DOS_bounds.shape[0]
--> 800 DOSPts = create_grid(DOS_bounds, DOS_resolution)
801 DOSPts = DOSPts.reshape(-1, dimDOS)
802 u00    = u0
File ~/anaconda3/envs/opyr/lib/python3.9/site-packages/opyrability.py:1158, in create_grid(region_bounds, region_resolution)
1156 # Create discretized region based on bounds and resolution information.
1157 for i in range(nInput):
-> 1158     Input_u.append(list(np.linspace(region_bounds[i, 0],
1159                                     region_bounds[i, 1],
1160                                     region_resolution[i])))
1162 # Create slack variables for preallocation purposes.
1163 region_grid = np.zeros(region_resolution + [nInput])
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

@dhuynh10 Hey I'm glad it worked! Can you please send me a screenshot of this second error? Thanks.

@dhuynh10 your function call for nlp_based_approach is wrong. Please check the documentation:
https://codes-group.github.io/opyrability/api.html#inverse-mapping-aos-dos-to-ais-dis
The first argument is the function handle for the process model (in your example, shower2x2).
Please read the documentation carefully so you can take full advantage of opyrability :)

Edit: @dhuynh10  This is my fault, the file you are pointing out corresponds to an old version of the shower problem inverse mapping that had this sequence of arguments. I apologize for the confusion. Please, refer to the updated version of this tutorial, at:
https://codes-group.github.io/opyrability/examples_gallery/operability_index_shower.html
Thanks for pointing that out, it is greatly appreciated!

@dhuynh10 the file you mentioned has been updated accordingly as well. Here's the link. https://github.com/CODES-group/opyrability/blob/main/docs/inverse_map_shower.ipynb

Thank you! Everything seems to be working now. Greatly appreciated :)

I'm glad it works! :)


is there has anyone who having portting stm32f2?

Hi,
I haven't heard anyone working on STM32F2 till now.
Your contribution would be welcome though, if you're interested.
You could use https://github.com/zephyrproject-rtos/zephyr/pull/5949 as example
Erwan

@erwango thanks and I will have a try.

I am portting stm32f2 to zephyr, if someone interested can based on my branch: stm32f2


TAJO-1351: Resolve findbug warnings on Tajo Common Module

Removed findbugs warnings except 1 item, unread field on org.apache.tajo.util.datetime.DateTimeFormat.java.

+1
The patch looks good to me. Even though there remains one warning, findbug rules occasionally is too strict. We also need to exclude some of them. It would be great if we remove most of warnings firstly and we handle few cumbersome ones later.


Client side evaluation

Hi @TanvirArjel Nice library here. I wanted to ask if you considered the drop in support of client side evaluation in query conditions, and how that is handled here . especially in specification where you use extension methods like Contains, Any etc)

@joshua1  Thank you for your comment. Client-side evaluation is already disabled.

especially in the specification where you use extension methods like Contains, Any etc)

Could you please give an example of what you are actually wanting?


Cannot read properties of undefined (reading 'projectRoot')

Is this a bug report or a feature request?
Bug Report
Version Info

Version of Majestic: v1.8.1
Version of Jest: 29.3.0
Version of Node: v16.17.0
Operating System: MacOS

When attempting to run majestic I get a console error of Cannot read properties of undefined (reading 'projectRoot')

I have the same problem in WSL. Windows 11 Pro.

I also have this problem:

Version of Majestic: v1.8.1
Version of Jest: 29.5.0
Version of Node: v20.2.0
Operating System: Arch Linux

uname -a: Linux archlinux 6.3.6-zen1-1-zen # 1 ZEN SMP PREEMPT_DYNAMIC Mon, 05 Jun 2023 15:12:42 +0000 x86_64 GNU/Linux


Automatically self-close some tags

With #50 we can explicitly ask for a self-closing tag.
Ruby Slim also automatically closes the usual suspects – see docs:

Note, that this is usually not necessary since the standard html tags (img, br, ...) are closed automatically.

We don't seem to do that currently, but it might be fairly easy to add on top of @vicmargar's work in #50.
List of self-closing tags: http://stackoverflow.com/questions/13915201/what-tags-in-html5-are-acknowledged-of-being-self-closing

Sounds good to me.  Seems like a pretty straightforward addition.


round down values in winPosition array

round down values in winPosition array so that they can work as integers for window position
see https://github.com/vutran/dext/issues/119#issuecomment-263587341
This works on Linux, hopefully doesn't break any of the other platforms.
rebased off develop

Coverage remained the same at 87.356% when pulling 8c222dd2ca347ee191b00a90b5162beb194c1d16 on pacharanero:develop into e02cf29d4c3d1de28d98f7eed0930343d618ec8d on vutran:develop.

Awesome work!

thanks - not sure 'awesome' is the word - it's just a couple of changes!
On 1 December 2016 at 18:14, Vu Tran<EMAIL_ADDRESS>wrote:

Awesome work!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vutran/dext/pull/129#issuecomment-264249403, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACPVYSLut5QCkuMqISniJvhdH8uZ_nwoks5rDw56gaJpZM4LBsAX
.


[InfiniteScrollingLocal UI Test] Filter reset button doesn't work in evidence table

This is a manual UI test based on this template. Other instances of this test are here. Tests from the template that aren't mentioned hereby are intended as passed.
While running the last point of the Testing the evidence table:

[ ] PlantOntologyTerm shows 9 rows and the infinite scrolling doesn't scroll anything (since the page size is 30)

the newly-selected rows after the reset button followed by this are incorrect. This can be reproduced with a simpler sequence:

Do a search (eg, "a***" as in the test)
Go to the evidence table and select a type, eg, BioProc
Reset with the Reset button, everything is restored correctly
Select another type, eg, PlantOntologyTerm, now both BioProc and POT rows are selected. They should be POT only, apparently, the reset button misses to reset something internally about the state of the type filters.

The same sequence works in the gene table.

@Arnedeklerk this is still around. I guess we can release nonetheless.


New version: LoftLabs.DevPod version 0.6.6

Pull request has been created with komac v2.8.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

This package installs and launches normally in a Windows 10 VM.


Properly support ESbuild config.

I ran into an issue today where I had my lambda runtime set to nodejs.16.x with a top level async/await which is supported by node 16. Even though I had my app.setDefaultProps() set to use node 16 runtime. This didn't translate down to the esbuild config. So I constantly got an error Top level await is not supported in the environment node14. I was thinking this was something wrong with Lambda runtime in AWS not respecting the node 16 runtime prop.
Turns out it is just because of esbuild. Because it's hardcoded in serverless stack if the format isn't format: 'esm' it is set to build for target node14 and CJS. Irrespective of runtime or package.json.type=''module".
So the only solution is to rely on the Function config option of format as ESM. When format and target are quite different. It's quite possible to have a target of node16 and format of cjs
Can you please allow for straight passthrough of all ESbuild options or allow people to generate their own builds and point serverless stack to the/dist? You support this kind of setup for StaticSite in the form of passing a build command and output dir. Is there anything preventing this being the same for functions?

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


add support for commonjs require in node

I wasn't able to use this in browserify until this line was added.

Looks good.  Thanks for update.


DM-45519: revise dataset naming conventions

As I'm implementing some of these conventions in reprocessVisitSummary, I'd like to revisit some of the choices here.

When reviewing, just look at the commits after the "move" one; I wanted the relevant text to be higher on the page, but I didn't modify it on that commit.

I'm going to hold off on merging this one until after Jim's RFC is out there.


Bump dcos-test-utils: strict URL path handling

High-level description
This update to dcos-test-utils removed magic URL path handling which enabled the following to requests to be identical:
# old, confusing behavior
api.get('/v1/foo/bar') ==> http://dcos.com/v1/foo/bar
api.get('v1/foo/bar')  ==> http://dcos.com/v1/foo/bar

Now, paths must be intentionally prefaced with / if they are to work in most cases. This is useful for ensuring that test's which may want to push the slash-handling are transparent at the test-harness level.
E.G.
# new, simple behavior
api.get('/v1/foo/bar') ==> http://dcos.com/v1/foo/bar
api.get('v1/foo/bar')  ==> http://dcos.comv1/foo/bar

Corresponding DC/OS tickets
https://jira.mesosphere.com/browse/DCOS-13496
Checklist for all PRs

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: N/A touches many tests which themselves are the check
[x] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

@mesosphere-mergebot override-status teamcity/dcos/test/aws/cloudformation/simple https://jira.mesosphere.com/browse/DCOS_OSS-2310

@mesosphere-mergebot override-status teamcity/dcos/test/aws/cloudformation/simple https://jira.mesosphere.com/browse/DCOS_OSS-2310

@mesosphere-mergebot merge-it


Fix typo that caused code block extension in README.md

There is a tiny typo causing layout issues on the README, caused by an incorrectly-closed code block.
This PR fixes that and makes the readme more readable 👍

@iMacTia Thanks for the help!


setMyLocationEnabled

Does setting this boolean to true with setMyLocationEnabled work?
I set it to true and I see the location button in the upper right corner but touching it does nothing.
Is there an event to listen for? I verified that the location updates were good by allowing the location to be retrieved with the getMyLocation method. So I can only assume that its not completely implemented or there is and event to listen for. Which I could not find that either.

I tried it again and: I have no idea why, but it is now working as expected. No event to listen for. The only thing that is different now is that the blue location dot appears on the map. So maybe before something was just out of sync?


By passing code not working

I am trying to bypass the action method but the framework isn't working properly, it is not bypassing the trigger action using metadatahandler.bypass, & also not bypassing the whole object when added tour code of triggerbase.bypass.
Can you please check and feedback.
I am following the same examples you have mentioned.
public class TA_Opportunity_StageInsertRules implements TriggerAction.BeforeInsert {
@TestVisible
private static final String PROSPECTING = 'Prospecting';
@TestVisible
private static final String INVALID_STAGE_INSERT_ERROR = 'The Stage must be \'Prospecting\' when an Opportunity is created';

public void beforeInsert(List<Opportunity> newList){
    MetadataTriggerHandler.bypass('TA_Opportunity_StageInsertRules');
    for (Opportunity opp : newList) {
        if (opp.StageName != PROSPECTING) {
            opp.addError(INVALID_STAGE_INSERT_ERROR);
        }
    }
    MetadataTriggerHandler.clearBypass('TA_Opportunity_StageInsertRules');
}

}

Transactional bypasses prevent future instantiation within the transaction.
You cannot bypass from within the action or trigger you are trying to bypass - once they are instantiated they will be executed.
public class TA_Opportunity_Demo implements TriggerAction.AfterInsert {
  public void afterInsert(List<Opportunity> newList){
    TriggerBase.bypass('Opportunity');
    // will only bypass future Opportunity triggers within the transaction, but won't do anything for the current trigger.
    MetadataTriggerHandler.bypass('TA_Opportunity_Demo');
    // will only bypass future `TA_Opportunity_Demo` actions within the transaction, but won't do anything for the current action.

    throw new IllegalArgumentException('not allowed');
}

Documentation for transactional bypasses is available here  in the README


[BUG]

Describe the bug
A clear and concise description of what the bug is.
admin@raspibolt:~ $ sudo ufw allow ssh
WARN: initcaps
[Errno 2] iptables v1.8.7 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Location in guide
Link to the corresponding page and section on https://raspibolt.org
https://raspibolt.org/guide/raspberry-pi/security.html#enabling-the-uncomplicated-firewall
Expected behavior
A clear and concise description of what you expected to happen.
no error after  "sudo ufw allow ssh"
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Hardware platform: [e.g. Raspberry Pi 4, Odroid, ... ]
Raspberry Pi 4
Operating system: [e.g, Raspberry Pi OS 64bit, Debian 11, ... ]
Version: [ output of lsb_release -d ]

Additional context
Add any other context about the problem here.
https://www.reddit.com/r/raspibolt/comments/yz6qsq/comment/ix4ke9x/?context=3

No problems following the RaspiBolt guide:


[SPARK-12993][PYSPARK] Remove usage of ADD_FILES in pyspark

Test build #50067 has started for PR 10913 at commit f8c09de.

Test build #50067 has finished for PR 10913 at commit f8c09de.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/50067/
Test FAILed.

Merged build finished. Test FAILed.

Can you update the pull request description to describe why we are removing this?

Test build #2463 has started for PR 10913 at commit f8c09de.

Test build #2463 has finished for PR 10913 at commit f8c09de.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Thanks - I've merged it.


Create duplicate empty orders when running the hedge strategy

Describe the bug
// A clear and concise description of what the bug is.
When running the hedge strategy when using bybit as a perpetual exchange(taker_exchange), short orders are repeatedly created.
I checked the code but haven't found the problem yet, any tips are welcome
Steps To Reproduce
// A concise description of the steps to reproduce the buggy behavior:
step 1: create a hedge strategy like follow:
maker_exchange ascend_ex
maker_assets RNDR
taker_exchange bybit_perpetual
taker_markets RNDR-USDT
step2: buy RNDR in ascend_ex exchange,
step3: You will find that bybit will repeatedly create short orders.
I buy 5 rndr in ascendex but bot create three times short order in bybit perpetual. here are my logs:
2022-02-21 09:52:46,613 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_user_stream_data_source - INFO - Successful subscription to the topic ['execution'] on wss://stream.bybit.com/realtime
2022-02-21 09:53:00,001 - 49986 - hummingbot.strategy.hedge.hedge - INFO - Markets are ready. Trading started.
2022-02-21 09:53:00,001 - 49986 - hummingbot.strategy.hedge.hedge - INFO - Place Sell 5.0 RNDR-USDT [clock=2022-02-21 09:53:00+00:00]
2022-02-21 09:53:00,088 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_derivative - INFO - Created LIMIT SELL order HBOT-S-RNDR-USDT-1645437180001372 for RNDR-USDT. Amount: 5 Price: 2.655.
2022-02-21 09:53:00,118 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_derivative - INFO - The SELL order HBOT-S-RNDR-USDT-1645437180001372 has been completed according to order status update
2022-02-21 09:53:00,118 - 49986 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "HBOT-S-RNDR-USDT-1645437180001372", "base_asset": "RNDR", "quote_asset": "USDT", "fee_asset": "USDT", "base_asset_amount": "0", "quote_asset_amount": "0", "fee_amount": "0", "order_type": "OrderType.LIMIT", "exchange_order_id": "772ed131-1158-451c-847f-e921e05ce8e3", "event_name": "SellOrderCompletedEvent", "event_source": "bybit_perpetual"}
2022-02-21 09:53:00,118 - 49986 - hummingbot.strategy.hedge.hedge - INFO - OrderType.LIMIT order HBOT-S-RNDR-USDT-1645437180001372 (0 RNDR @ 0 USDT) has been completely filled. [clock=2022-02-21 09:53:00+00:00]
2022-02-21 09:53:10,001 - 49986 - hummingbot.strategy.hedge.hedge - INFO - Place Sell 5.0 RNDR-USDT [clock=2022-02-21 09:53:10+00:00]
2022-02-21 09:53:10,097 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_derivative - INFO - Created LIMIT SELL order HBOT-S-RNDR-USDT-1645437190001491 for RNDR-USDT. Amount: 5 Price: 2.655.
2022-02-21 09:53:10,126 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_derivative - INFO - The SELL order HBOT-S-RNDR-USDT-1645437190001491 has been completed according to order status update
2022-02-21 09:53:10,127 - 49986 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "HBOT-S-RNDR-USDT-1645437190001491", "base_asset": "RNDR", "quote_asset": "USDT", "fee_asset": "USDT", "base_asset_amount": "0", "quote_asset_amount": "0", "fee_amount": "0", "order_type": "OrderType.LIMIT", "exchange_order_id": "3bc5461c-1e5e-4493-874f-7881cbaf6b04", "event_name": "SellOrderCompletedEvent", "event_source": "bybit_perpetual"}
2022-02-21 09:53:10,127 - 49986 - hummingbot.strategy.hedge.hedge - INFO - OrderType.LIMIT order HBOT-S-RNDR-USDT-1645437190001491 (0 RNDR @ 0 USDT) has been completely filled. [clock=2022-02-21 09:53:10+00:00]
2022-02-21 09:53:20,001 - 49986 - hummingbot.strategy.hedge.hedge - INFO - Place Sell 5.0 RNDR-USDT [clock=2022-02-21 09:53:20+00:00]
2022-02-21 09:53:20,090 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_derivative - INFO - Created LIMIT SELL order HBOT-S-RNDR-USDT-1645437200001063 for RNDR-USDT. Amount: 5 Price: 2.655.
2022-02-21 09:53:20,122 - 49986 - hummingbot.connector.derivative.bybit_perpetual.bybit_perpetual_derivative - INFO - The SELL order HBOT-S-RNDR-USDT-1645437200001063 has been completed according to order status update
2022-02-21 09:53:20,122 - 49986 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "HBOT-S-RNDR-USDT-1645437200001063", "base_asset": "RNDR", "quote_asset": "USDT", "fee_asset": "USDT", "base_asset_amount": "0", "quote_asset_amount": "0", "fee_amount": "0", "order_type": "OrderType.LIMIT", "exchange_order_id": "daeb1989-fe3e-4740-b817-fd6956fee398", "event_name": "SellOrderCompletedEvent", "event_source": "bybit_perpetual"}
2022-02-21 09:53:20,122 - 49986 - hummingbot.strategy.hedge.hedge - INFO - OrderType.LIMIT order HBOT-S-RNDR-USDT-1645437200001063 (0 RNDR @ 0 USDT) has been completely filled. [clock=2022-02-21 09:53:20+00:00]
2022-02-21 09:53:21,405 - 49986 - hummingbot.client.hummingbot_application - INFO - stop command initiated.
Here are the steps to reproduce the issue (see attachments in the section below):

Set up your configuration file with these parameters: ...
Start the bot using this command: ...
...

Screenshots
// If applicable, add screenshots to help explain your problem.
Release version
// Include your bot's version number (Can be found at the upper left corner of your CLI).
Attachments
// Please attach your config file and log file to help us debug. It would be difficult for us to help you without those!
WARNING: Do NOT publish any exchange API keys or your wallet's private key. Whoever has access to them may steal your assets!
Optional: your discord username:
sunbing#3871

BTW, Hedge strategy works well with binance perpetual.


Feature: [View] Allow to set date representation

version 0.2.2
I think that we need to support Date Format like YYYY-MM-DD e.g. for output Date values in views.

I suggest to have ability to define common data / time formats for particular tenant.

Also in concrete view for cocnrete date field it will be great to have ability to set up date format.

@glutamate Also to point 1. The default date time format can be taken from user or system locate parameters.
And can be configured in Configuration parameters of tenant.
Like in Russia we prefer YYYY-MM-DD HH:mm:ss
Example: 2016-02-27 20:24:39
Also i just google about format and Javascript support of date formats.
May be it can be helpfull:
Javascript standard https://www.ecma-international.org/ecma-262/11.0/index.html#sec-date-time-string-format
Javascript library https://momentjs.com/

Yes, there are several big issues here that I'm trying to think through. One is that for many countries the date format can be guessed from the language, but this is not the case in the UK (uses the European day convention rather than the American, which is default for English language). The other issue is time zone that I will probably have to deal with at some point.

improved in #336 and #337 - date formate now from locale. UK is still a problem.

@glutamate According https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl
You can use combination of language and Country like log("en-US");
// expected output: 5/24/2012 26,254.39
So I think will solve problem with UK.

There is now a format fieldview for dates. Standard ones try to match user's locale


[howto] Write 2-3 howtos

Write the first howtos and have them live on the website at e.g. /howto/.../
Acceptance

[ ] 1-3 howtos published on the site

Tasks

[x] Identify the top  2-3 howtos we want to write
[x] Write one of them
[x] Review
[ ] Publish
[ ] Rinse and repeat

@lwinfree has done one and will do remaining two in next sprint (by 5 may).

I'll ask @roll to review the completed how-to's as well

Hey @lwinfree. Any update on this do you want me to help review already written Howtos?

Hi @lauragift21! Sure, if you have time. Otherwise I will ask Evgeny to review them. They are marked as "ready for review" in column G: https://docs.google.com/spreadsheets/d/1qByu4qw56hFUdJIY5IOC7d8TQBud-k31J6720hg1h2w/edit#gid=1272791416 Thanks!

@lwinfree the 2 I saw look good to me

Hi @roll have you had time to look into posting these on the website?

We can merge this issue with a high-level https://github.com/frictionlessdata/project/issues/542 as we're going to add a lot of documents like "Working with SQL in Frictionless" etc

closing this as it was part of #542

closing this as it was part of #542


New-NavContainer fails on Windows 10

Don't know the reason, since 2 days I get on my desktop computer (Windows 10) this error, when I try to create a new container with New-NAVContainer:
PS C:\Users\user> New-NavContainer -containerName navserver -imageName "mcr.microsoft.com/businesscentral/onprem:w1-ltsc2019" -accept_eula
NavContainerHelper is version <IP_ADDRESS>
Host is Microsoft Windows 10 Pro - ltsc2019
Docker Client Version is 19.03.1
Docker Server Version is 19.03.1
Using image mcr.microsoft.com/businesscentral/onprem:w1-ltsc2019
Removing C:\ProgramData\NavContainerHelper\Extensions\navserver
Creating Container navserver
Version: 14.4.35602.0-W1
Platform: 14.0.35570.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.678 (ltsc2019)
Host OS Version: 10.0.17763.678 (ltsc2019)
Using locale en-US
Using process isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\NavContainerHelper\Extensions\navserver\my:
- MainLoop.ps1
Creating container navserver from image mcr.microsoft.com/businesscentral/onprem:w1-ltsc2019
87fdf28e61ea58f2d4d696f6eebebe79eb3b26cfb516cfc0aa95d769ce219c34
DockerDo : docker.exe: Error response from daemon: container
87fdf28e61ea58f2d4d696f6eebebe79eb3b26cfb516cfc0aa95d769ce219c34 encountered an error during Start: failure in a
Windows system call: Der virtuelle Computer oder Container wurde unerwartet beendet. (0xc0370106).
ExitCode: 125
Commandline: docker run --name navserver --hostname navserver --env auth=Windows --env username="myusername" --env
ExitOnError=N --env locale=en-US --env licenseFile="" --env databaseServer="" --env databaseInstance="" --volume
"C:\ProgramData\NavContainerHelper:C:\ProgramData\NavContainerHelper" --volume
"C:\ProgramData\NavContainerHelper\Extensions\navserver\my:C:\Run\my" --isolation process --restart unless-stopped
--env enableApiServices=Y --env useSSL=N --env securePassword=76492d1116223f0423413b16050a5345MgB8AHMAWgBEAEoARwBMAGUAS
gBFAFYAQQByADAATwBsAGsAaAArADYAdQB0AHcAPQA9AHwANertwIAYgBiAGUANQA2AGUAZAAwADEAYwBiAGEAOAAzADIAZQBiADAANABhADgANwBiAGIA
YQA4AGUANAAzAGEasdw5ADMAYQBmAGMAYgA4ADgANgAzADAAOQBkADEAMwAwADkAMwAwADcAMQA3ADIAMgBiADMAMwA4AGQAMwA= --env
passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env accept_eula=Y --detach
mcr.microsoft.com/businesscentral/onprem:w1-ltsc2019
In C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\New-NavContainer.ps1:1078
Zeichen:19
+ ...       if (!(DockerDo -accept_eula -accept_outdated:$accept_outdated - ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo

Docker Version is:

What does Docker ps -a return?
Did you try to reset to factory defaults on docker?

Docker mode is also set to "Windows Container" :/
Same error after reset to default:

ExitCode 125 means that docker run fails and unfortunately, there can be a lot of reasons why. Mostly this is version mismatches (doesn't seem to be the case here), virus scanner problems or shares that doesn't work.
You could try basic troubleshooting to see if you can run a basic windowsserver image.
Alternatively, you can uninstall and reinstall docker - the problem is normally unrelated to the NAV / business central containers.

Closing this as there is nothing really I can do about this.
Please reopen with additional info if you discover something new.


io.chaossystems.grpc:grpc-healthcheck:1.0.1. is not resolved

Hi All,
I just downloaded the conductor project from github. (Not able to clone is due to restrictions on my machine)
Tried this with dev and 2.0 branches.
When I am running this. I dunno why this is getting downloaded from jcenter instead of repositories{ maven { url "https://dl.bintray.com/chaos-systems/mvn" } }
$ ./gradlew build
Task :conductor-grpc:extractProto FAILED
FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ':conductor-grpc:protobuf'.
Could not resolve io.chaossystems.grpc:grpc-healthcheck:1.0.1.
Required by:
project :conductor-grpc
Could not resolve io.chaossystems.grpc:grpc-healthcheck:1.0.1.

Could not get resource 'https://jcenter.bintray.com/io/chaossystems/grpc/grpc-healthcheck/1.0.1/grpc-healthcheck-1.0.1.pom'.
Could not GET 'https://jcenter.bintray.com/io/chaossystems/grpc/grpc-healthcheck/1.0.1/grpc-healthcheck-1.0.1.pom'.
Connect to jcenter.bintray.com:443 [jcenter.bintray.com/<IP_ADDRESS>] failed: connect timed out

@empty85 Are you behind a proxy that could possibly block connections to jcenter? Please try it on an unrestricted laptop and/or connection.

@kishorebanala Thanks for replying back. jcenter is accessible and able to download all libraries via jcenter. But this specific library is not in jcenter, instead its available her: { maven { url "https://dl.bintray.com/chaos-systems/mvn" } } But when I am running gradle build its trying to fetch this library from jcenter and failing


Specifying the rules for generating strong password on signUp page to avoid user confusion

@AtriSukul1508  The signup page is not user-friendly because the password field does not inform the user why their password is considered "weak" and not acceptable. This can be confusing for users, and can lead to them giving up on signing up. To make the signup page more user-friendly, we can specify the rules for generating a strong password. This will help users create strong passwords that are more likely to be accepted, and will make the signup process easier for everyone.
Here are the rules for generating a strong password:
The password must be at least 8 characters long.
The password must contain at least one uppercase letter, one lowercase letter, and one number.
The password must not contain any common words or easily guessed patterns.

@vruddhideveloper go ahead, make sure to fetch the repo before making a pr

Any updates @vruddhideveloper ?

Any updates @vruddhideveloper ?

@AtriSukul1508  yes its almost done, I will make a PR

@vruddhideveloper  what's the update?


[BUG] Can't load configuration

🐛 Describe the bug
Fresh scandeval[all] venv install. Won't load any models and I don't have any folders named it.
$ scandeval --model meta-llama/Meta-Llama-3-8B-Instruct
2024-04-26 09:03:56 ⋅ Benchmarking meta-llama/Meta-Llama-3-8B-Instruct on the truncated version of the Swedish sentiment classification dataset SweReC
2024-04-26 09:04:05 ⋅ Loading model and tokenizer...
2024-04-26 09:04:05 ⋅ Couldn't load model config for 'meta-llama/Meta-Llama-3-8B-Instruct'. The error was OSError("Can't load the configuration of 'meta-llama/Meta-Llama-3-8B-Instruct'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'meta-llama/Meta-Llama-3-8B-Instruct' is the correct path to a directory containing a config.json file"). Skipping

Operating System
Linux
Device
CUDA GPU
Python version
3.10.x
ScandEval version
12.6.1

Can you try running it again with the --verbose and --raise-errors flags?

Thanks, seems like a restart helped 😅
For some reason my system can't find bitsandbytes==0.43 so I can't install 12.8.
I've also been getting this error for a long time, (which seems weird as it should use fp16 automatically):
ValueError: Bfloat16 is only supported on GPUs with compute capability of at least 8.0. Your Tesla V100-SXM2-32GB GPU has compute capability 7.0. You can use float16 instead by explicitly setting the`dtype` flag in CLI, for example: --dtype=half.

I've just forced the HF implementation (only happens with vLLM), but perhaps add a flag to choose HF or fix the issue?

Interesting, thanks! Can you send the full traceback?

Ah, seems like your vLLM version is not up to date. Can you run pip install -U scandeval[generative] and try again? Alternatively, if that doesn't work (in which case, please send me that traceback too), then pip install -U vllm. Should be at least v0.4.0.

Thanks. Updating scandeval didn't seem to work
2024-04-26 17:02:26 ⋅ Benchmarking Mabeck/Danish-llama-3 on the truncated version of the Danish knowledge dataset Danske Talemåder
2024-04-26 17:02:39 ⋅ Loading model and tokenizer...
config.json: 100%|█████████████████████████████████████████████████████████████████████| 734/734 [00:00<00:00, 3.06MB/s]
Traceback (most recent call last):
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/vllm_models.py", line 136, in __init__
    self._model = LLM(**vllm_kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 91, in __init__
    engine_args = EngineArgs(
TypeError: EngineArgs.__init__() got an unexpected keyword argument 'max_logprobs'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/zhome/55/8/206247/scandenv/bin/scandeval", line 8, in <module>
    sys.exit(benchmark())
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/cli.py", line 331, in benchmark
    benchmarker(model=models)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 742, in __call__
    return self.benchmark(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 589, in benchmark
    record = self._benchmark_single(
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 694, in _benchmark_single
    results, metadata_dict = dataset(model_id)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmark_dataset.py", line 580, in __call__
    return self.benchmark(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmark_dataset.py", line 133, in benchmark
    tokenizer, model = load_model(
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/model_loading.py", line 52, in load_model
    tokenizer, model = setup.load_model(
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/model_setups/hf.py", line 315, in load_model
    raise e
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/model_setups/hf.py", line 300, in load_model
    model = VLLMModel(
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/vllm_models.py", line 140, in __init__
    self._model = LLM(**vllm_kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 109, in __init__
    self.llm_engine = LLMEngine.from_engine_args(engine_args)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 391, in from_engine_args
    engine = cls(*engine_configs,
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 128, in __init__
    self._init_workers()
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 180, in _init_workers
    self._run_workers("init_model")
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 1041, in _run_workers
    driver_worker_output = getattr(self.driver_worker,
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/worker/worker.py", line 87, in init_model
    _check_if_gpu_supports_dtype(self.model_config.dtype)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/vllm/worker/worker.py", line 300, in _check_if_gpu_supports_dtype
    raise ValueError(
ValueError: Bfloat16 is only supported on GPUs with compute capability of at least 8.0. Your Tesla V100-SXM2-32GB GPU has compute capability 7.0. You can use float16 instead by explicitly setting the`dtype` flag in CLI, for example: --dtype=half.

Updating vllm to 0.4 got a new error (which I've also seen before):
024-04-26 17:09:27 ⋅ Benchmarking Mabeck/Danish-llama-3 on the truncated version of the Swedish sentiment classification dataset SweReC
Traceback (most recent call last):
  File "/zhome/55/8/206247/scandenv/bin/scandeval", line 8, in <module>
    sys.exit(benchmark())
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/cli.py", line 331, in benchmark
    benchmarker(model=models)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 742, in __call__
    return self.benchmark(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 589, in benchmark
    record = self._benchmark_single(
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 693, in _benchmark_single
    dataset = self.dataset_factory.build_dataset(dataset_config)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/dataset_factory.py", line 57, in build_dataset
    raise ValueError(
ValueError: Could not find a benchmark class for any of the following potential names: swerec, sentiment-classification, sequence-classification.

Thanks for that. Can you send me the following:

Your ScandEval version
Your vLLM version
Your Python version
The output if you set the --verbose flag, without the --raise-errors flag

Also, when you updated ScandEval, you included the [generative] bit as well, right? Since vLLM should have been updated when you did that as well - seems a bit odd that it didn't.

Yes I did include it but I can only seem to install ScandEval=v12.6.1.
I think the reason might be that I can't install bitsandbytes higher than 0.42:
$ python3 -m pip install bitsandbytes==0.43.1
ERROR: Could not find a version that satisfies the requirement bitsandbytes==0.43.1 (from versions: 0.31.8, 0.32.0, 0.32.1, 0.32.2, 0.32.3, 0.33.0, 0.33.1, 0.34.0, 0.35.0, 0.35.1, 0.35.2, 0.35.3, 0.35.4, 0.36.0, 0.36.0.post1, 0.36.0.post2, 0.37.0, 0.37.1, 0.37.2, 0.38.0, 0.38.0.post1, 0.38.0.post2, 0.38.1, 0.39.0, 0.39.1, 0.40.0, 0.40.0.post1, 0.40.0.post2, 0.40.0.post3, 0.40.0.post4, 0.40.1, 0.40.1.post1, 0.40.2, 0.41.0, 0.41.1, 0.41.2, 0.41.2.post1, 0.41.2.post2, 0.41.3, 0.41.3.post1, 0.41.3.post2, 0.42.0)
ERROR: No matching distribution found for bitsandbytes==0.43.1

ScandEval==12.6.1
vLLM==0.4.1
python==3.10.13
torch==2.2.1

$ scandeval --model Mabeck/Danish-llama-3 --verbose
2024-04-26 17:35:07 ⋅ Flash attention has not been installed, so this will not be used. To install it, run `pip install -U wheel && FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE pip install flash-attn --no-build-isolation`. Alternatively, you can disable this message by setting the flag ``--no-use-flash-attention`.
2024-04-26 17:35:07 ⋅ Benchmarking Mabeck/Danish-llama-3 on the truncated version of the Swedish sentiment classification dataset SweReC
Traceback (most recent call last):
  File "/zhome/55/8/206247/scandenv/bin/scandeval", line 8, in <module>
    sys.exit(benchmark())
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/cli.py", line 331, in benchmark
    benchmarker(model=models)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 742, in __call__
    return self.benchmark(*args, **kwargs)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 589, in benchmark
    record = self._benchmark_single(
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/benchmarker.py", line 693, in _benchmark_single
    dataset = self.dataset_factory.build_dataset(dataset_config)
  File "/zhome/55/8/206247/scandenv/lib/python3.10/site-packages/scandeval/dataset_factory.py", line 57, in build_dataset
    raise ValueError(
ValueError: Could not find a benchmark class for any of the following potential names: swerec, sentiment-classification, sequence-classification.

And try installing vLLM v0.4.0, not 0.4.1. This was fixed in the newest scandeval version, but since you can't install that then try this directly.

Sure. Installing v0.4.0 didn't work and returns same error.
$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	Scientific
Description:	Scientific Linux release 7.9 (Nitrogen)
Release:	7.9
Codename:	Nitrogen

Can you try to run pip install -U pip wheel && pip install --index-url https://pypi.org/simple -U scandeval[generative]?

I ran it but can't update my pip due to server restrictions and currently using 23.3.1.
It continues to try in HF implementation after, so the bug is not a big deal:
$ scandeval --model Mabeck/Danish-llama-3 --verbose  --force
2024-04-26 19:43:33 ⋅ Flash attention has not been installed, so this will not be used. To install it, run `pip install -U wheel && FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE pip install flash-attn --no-build-isolation`. Alternatively, you can disable this message by setting the flag ``--no-use-flash-attention`.
2024-04-26 19:43:33 ⋅ Benchmarking Mabeck/Danish-llama-3 on the truncated version of the Swedish sentiment classification dataset SweReC
2024-04-26 19:43:41 ⋅ Loading model and tokenizer...
2024-04-26 19:43:42 ⋅ Failed to benchmark with vLLM - trying with the Hugging Face implementation instead. The error raised was ValueError('Bfloat16 is only supported on GPUs with compute capability of at least 8.0. Your Tesla V100-SXM2-32GB GPU has compute capability 7.0. You can use float16 instead by explicitly setting the`dtype` flag in CLI, for example: --dtype=half.')

Ah, so it's working now?
And if you can get vLLM working (i.e., get your pip upgraded) then that's like 5x faster and more accurate. You could look into just upgrading pip inside a virtual environment, or host installing it as a user install.

I will try that. And thanks a lot for the help!


Build stuck at 70% with ngx-clipboard plugin

Please provide us with the following information:

OS?
Windows 10
Versions.
angular-cli: 1.0.0-beta.24
Repro steps.
Just add ngx-clipboard
The log given by the failure.
70% building modules 631/631 modules 0 active
Mention any other details that might be useful.
ngx-clipboard Github
I try to make ngx-clipboard AoT compatible, however, it doesn't seem to work with angular cli. I think ngx-clipboard should work with AoT. Here is the testing code.

It seems like because I upgrade cli from beta23 to beta24 without deleting yarn.lock before running yarn again,  npm module didn't pickup the changes. After I delete yarn.lock and update npm module, everything works.


move reset / boot buttons so easier to push

Hopefully its better on EV11, but it could be annoying since the screen may make it harder to get to
https://github.com/Quicr/hactar/tree/ev11


Drop trace data if tracer encounters (Type) Error frame

The trace data of a function which has encountered an type error has to be removed as this means that at least one variable is of the wrong type. Keeping such data would lead to wrong type inference. To avoid checking which errors also cause the trace data to be removed, generalize this and delete the data of the function if it encounters any error.

We need to be careful to only catch exceptions that do not propagate into the test code, i.e. unexpected exceptions.
Because tests in these repositories are written to pass, this will probably rarely occur, maybe never

I am doubtful that these kinds of tests are written. Let's review our chosen repositories soon, see what the tests check for

Yeah, we might have to move this to evaluation. If the exception is caught within the same function, then we should keep the trace data.

Moving to Evaluation II, where we can see if this ever becomes relevant.

Never became relevant, closing


[AMORO-3050] Fix AMS crashes if javalin stop timeouts

Why are the changes needed?

Close #3050.
Brief change log

replace stop() with close(), which is recommended
catch javalin stop exceptions

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.58%. Comparing base (493628f) to head (487aa8f).

:exclamation:  There is a different number of reports uploaded between BASE (493628f) and HEAD (487aa8f). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (493628f)
HEAD (487aa8f)

core
2
0

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3052      +/-   ##
============================================
- Coverage     32.77%   27.58%   -5.20%
+ Complexity     3827     2484    -1343
============================================
  Files           558      360     -198
  Lines         46239    37117    -9122
  Branches       6120     5372     -748
============================================
- Hits          15156    10237    -4919
+ Misses        29886    25919    -3967
+ Partials       1197      961     -236

Flag
Coverage Δ

core
?

trino
27.58% <ø> (?)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks for the contribution, @link3280
Thanks for the review, @czy006


chore: update rollup/deps and deno version in ci test

Hey @buttercubz 👋
Thanks for the contribution! Been on hols without laptop so not been able to whip round and get the latest versions updated in all my modules 😅 thanks for doing some of the chore work!
I run a fmt check in CI, if you run and commit the result of make fmt that should cover off the failures.

Superseded by #34


Refactor article about xops

XOps
DevOps

[ ] Medium DevOps stages

PlanSecOps

[ ] PlanSecOps
[ ] General Data Protection Regulation (GDPR)

DevSecOps

[ ] best practices

Striving for Continuous Compliance in DevOps
Continuous compliance is the ongoing monitoring process for compliance with industry regulations and following cybersecurity best practices.  Establishing a consistent release management process can help attain continuous compliance. Other steps include adding access controls to the code base, patching updates to software libraries regularly, and having a repeatable approach for adding new software features that meet customer needs and comply with relevant regulations.
Some of the recommended controls that support continuous compliance in DevOps include:

Multiple Environments

It’s essential to create several code environments; ideally, you should have separate development, staging, and production environments. Multiple code environments with an approval workflow for moving code between them provides a set of checks and balances.

Segregation Of Duty

Clearly define the responsibilities of developers, approvers, administrators, and managers, and assign no more than one role per person. One set of permissions per person allows for easy auditing of changes. Requiring multiple roles and approvals whenever code is moved between environments or released to customers helps protect the codebase.

Authentication

Implement strong authentication mechanisms, including multi-factor authentication (MFA), and require developers to change their passwords regularly.

QA Testing

Ensure that your quality assurance process  includes testing and performing vulnerability scans when moving code between environments to catch cybersecurity risks as soon as possible.  Many organizations have incorporated secure code reviews and application security testing at specific points in their development process.

Key Management

Use software keys to provide access to servers, and set an expiration date for each one.

Security Protocols

Use the Secure Shell Protocol (SSH) during DevOps. SSH is a networking protocol that helps secure remote logins to a computer or server. SSH provides multiple options for strong authentication and protects communications security and integrity. Use a secure protocol such as SSH to safeguard any access to software code.

Encryption

Provide user encryption keys to protect sensitive customer or business data.

See also

Google devops article.

Related #266


Hide leaked dev preview feature

https://github.com/stolostron/backlog/issues/22398

/cc @Randy424 @jeswanke


Move handle_select_all, del_election to impl EdModel

Editor is no longer being worked on, and has been removed from the repo. Closing.


Support assume role with EKS

Similar to auth provider issues in #2 I think, but maybe slightly different. Close if you feel appropriate.
This line: https://github.com/darkbitio/mkit/blob/master/support/eks.sh#L30 could support the --role-arn argument for the `aws eks update-kubeconfig.
Currently hacking my way around in the container to still experiment with the inspec profiles, but would simplify things for me if this was supported.

Getting AWS token issues even when running bare run-k8s ?
🚽 make run-k8s
Running in darkbitio/mkit:latest: /home/node/audit/k8s.sh
Generating results...could not get token: NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
Traceback (most recent call last):
	21: from /home/node/.gem/ruby/2.6.0/bin/cinc-auditor:23:in `<main>'
	20: from /home/node/.gem/ruby/2.6.0/bin/cinc-auditor:23:in `load'
	19: from /home/node/.gem/ruby/2.6.0/gems/cinc-auditor-bin-4.18.51/bin/cinc-auditor:12:in `<top (required)>'
	18: from /home/node/.gem/ruby/2.6.0/gems/inspec-4.18.51/lib/inspec/base_cli.rb:35:in `start'
	17: from /home/node/.gem/ruby/2.6.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
	16: from /home/node/.gem/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
	15: from /home/node/.gem/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
	14: from /home/node/.gem/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
	13: from /home/node/.gem/ruby/2.6.0/gems/inspec-4.18.51/lib/inspec/cli.rb:284:in `exec'
	12: from /home/node/.gem/ruby/2.6.0/gems/inspec-4.18.51/lib/inspec/cli.rb:284:in `new'
	11: from /home/node/.gem/ruby/2.6.0/gems/inspec-4.18.51/lib/inspec/runner.rb:78:in `initialize'
	10: from /home/node/.gem/ruby/2.6.0/gems/inspec-4.18.51/lib/inspec/runner.rb:86:in `configure_transport'
	 9: from /home/node/.gem/ruby/2.6.0/gems/inspec-4.18.51/lib/inspec/backend.rb:53:in `create'
	 8: from /home/node/.gem/ruby/2.6.0/gems/train-kubernetes-0.1.5/lib/train-kubernetes/transport.rb:9:in `connection'
	 7: from /home/node/.gem/ruby/2.6.0/gems/train-kubernetes-0.1.5/lib/train-kubernetes/transport.rb:9:in `new'
	 6: from /home/node/.gem/ruby/2.6.0/gems/train-kubernetes-0.1.5/lib/train-kubernetes/connection.rb:13:in `initialize'
	 5: from /home/node/.gem/ruby/2.6.0/gems/train-kubernetes-0.1.5/lib/train-kubernetes/connection.rb:36:in `parse_kubeconfig'
	 4: from /home/node/.gem/ruby/2.6.0/gems/k8s-ruby-0.10.5/lib/k8s/client.rb:40:in `config'
	 3: from /home/node/.gem/ruby/2.6.0/gems/k8s-ruby-0.10.5/lib/k8s/transport.rb:81:in `config'
	 2: from /home/node/.gem/ruby/2.6.0/gems/k8s-ruby-0.10.5/lib/k8s/transport.rb:120:in `token_from_exec'
	 1: from /usr/local/lib/ruby/2.6.0/json/common.rb:156:in `parse'
/usr/local/lib/ruby/2.6.0/json/common.rb:156:in `parse': 767: unexpected token at '' (JSON::ParserError)
Traceback (most recent call last):
./inspec-results-parser.rb:92:in `<main>': undefined method `dig' for nil:NilClass (NoMethodError)

@webframp Thanks for bringing up your use case!  I'd be very open to a PR to add this as an optional argument to pass through.
If that's not something you're up for, try this. We typically use aws-vault to handle fetching creds and assuming a role, so our .aws/config looks like this:
[profile myprofile]
mfa_serial=arn:aws:iam::1234567890:mfa/myuser
role_arn=arn:aws:iam::1234567890:role/myRole
credential_process=aws-vault exec myprofile --json --prompt=osascript

and we invoke the run like this so that the temp/assumed role creds grabbed by aws-vault pass in as ENV vars to the container:
$ aws-vault exec myprofile -- make run-eks awsregion=us-east-1 clustername=eks1

Closing this for now, but we'd take a PR on this anytime.  Thanks!


Remove csi and logserver from entrypoint.sh

CSI has been moved to k8s repo.
Logserver module has been deleted in 1806d92aef9fd612e70fb70b2f4b95736d1cf206

alluxio-bot, merge this please

alluxio-bot, merge this please


Navigation for TileMapLayer introduces hard-to-trace map synchronization error

Tested versions
v4.3.dev6.official [64520fe67]
System information
KUbuntu 22.04.4 LTS
Issue description
I have a project I'm using to get accustomed to TileMapLayer, just for a week-long jam. All is functioning, but I consistently get an error related to my navigation layer in TileMapLayer, which doesn't provide a lot of help in this instance:
E 0:00:00:0965   sync: Navigation map synchronization error. Attempted to merge a navigation mesh polygon edge with another already-merged edge. This is usually caused by crossing edges, overlapping polygons, or a mismatch of the NavigationMesh / NavigationPolygon baked 'cell_size' and navigation map 'cell_size'. If you're certain none of above is the case, change 'navigation/3d/merge_rasterizer_cell_scale' to 0.001.
  <C++ Source>   modules/navigation/nav_map.cpp:974 @ sync()

I have not tinkered with cell_size, and all navigation polygon edges are generated. Moreover, this is entirely a 2D project, and following the advice of changing 'navigation/3d/merge_rasterizer_cell_scale' to 0.001 has had no effect—I still get the error.
Steps to reproduce
I'm enclosing a zip of the project which has been having this problem. Running it will trigger the issue the moment that the navigation map bakes, which is effectively immediate.
Thankfully, the build for web is running without issue; but this seems like an unreported outstanding problem.
Minimal reproduction project (MRP)
example project.zip

OK, for whatever reason, the error seems to have disappeared; but it was most certainly happening some time ago and it seems strange to me as I don't believe that I have a single 3D node in this game. So... odd.

The error is from the final implosion when the navigation map tried to make any sense out of the edge mess that the TileMap cells created. The error happens when more than 2 unique edges tried to occupied the same rasterization cells, so bascially polygons overlapped or had their edges way to close to each other.
A core principle of navigation meshes is that they can not overlap or cross the polygon edges, it is a logical error if they do.
The TileMap editor does giggles to verify anything and will happily allow you to make non-working navigation mesh layouts.
That the erorr did not even go away when you lowered the cell scale to its lowest value tells me that you had at least 2 polygons for the same cell on multiple TileMapLayers which corrupted the navigation mesh logic.

Thank you for your thorough explanation @smix8! Is there something I should do, procedurally, to prevent this? I'm still not sure where I could adjust my code to prevent this error in the future.

You need to make sure that 2D navigation mesh surface does not overlap on the same navigation map.
The TileMap does not check for these things and will happily allow cell layouts and offsets that create overlap.


Reshape IntersectionComplexity into IntersectionType

This PR builds on #122, so I've set the merge base there until that lands.
After actually playing with intersection complexity and control_level a bit, thinking deeply about movements, and reading more code in detail during all these refactors, I've chipped away even further at what I think is useful to annotate an intersection with.
The primary purpose of IntersectionType is to describe what this node in the graph means to a driver, which coincides with different cases in the code, such as geometry calculations. I think it's the best place to represent MapEdge. Connection now represents the trivial two-road case, as well as the multi-road sausage-link case that used to be called MultiConnection. Connection intersections exist because our data model is a graph, not because there is any intersection that drivers have to consider. Fork represents a decision-point for the driver, but one where you keep moving, and Intersection is what you would actually call an "intersection".
Code-wise, working with a Connection and Fork is going to be very similar, but the fact that the number or directed-carriageways stays constant through a Connection seems significant enough for the distinction. The only further distinction I would like to make is between major-minor intersections (where some "major" road remains unbroken, and has priority) and "true" intersections (where lane marking are interrupted, and there is some area that is not owned by any one lane). The major/minor distinction is primarily a property of Movements, and I'll only think about incorporating it into IntersectionType if and when it seems useful.

Base PR is merged now and I haven't gotten any other massive refactors or nerd-swipes up my sleeve :)  Looking at this now

if we cutover to using IntersectionType, it'd work properly there!
We could make [MultiConnection] a simpler method on Intersection that trivially figures out the two one-way pieces and only makes sense for certain types.

That's the idea! I think IntersectionKind will be the starting point for a lot of these cases, and other details will need to be interrogated too, but having a consistent classification for these kinds of properties has been my goal from the start. e.g. if int.kind == IntersectionKind::Connection && int.roads.len() == 2 { .. }.

I have renamed the Type suffix out of a handful of enums. Let me know what you think. I'll also consider intersection::Kind and intersection::Control in my next change.

I have merged this in order to put up a follow-on PR, but I'm still interested in feedback on the type renames.


Electrs Crash Report

Not really sure what caused this. I was having issues logging into Embassy. At first logged in, Embassy UI seemed frozen. Shut down firefox and cleared cache, reattempted logging in, never made it in, just spinning. Hard reset by unplugging power got me in. ElectRS crash in notifications. Not sure if the crash report at the end is saying that the Embassy was frozen or not. Bitcoin Daemon unavailable...
The service electrs has crashed with the following exit code: 1 Details: Starting electrs 0.9.5 on aarch64 linux with Config { network: Bitcoin, db_path: "./db/bitcoin", daemon_dir: "/root/.bitcoin", daemon_auth: UserPass("bitcoin", ""), daemon_rpc_addr: <IP_ADDRESS>:8332, daemon_p2p_addr: <IP_ADDRESS>:8333, electrum_rpc_addr: <IP_ADDRESS>:50001, monitoring_addr: <IP_ADDRESS>:4224, wait_duration: 10s, jsonrpc_timeout: 15s, index_batch_size: 10, index_lookup_limit: None, reindex_last_blocks: 0, auto_reindex: true, ignore_mempool: false, sync_once: false, disable_electrum_rpc: false, server_banner: "Welcome to electrs 0.9.5 (Electrum Rust Server)!", args: [] } [2022-04-14T13:21:06.670Z INFO electrs::metrics::metrics_impl] serving Prometheus metrics on <IP_ADDRESS>:4224 [2022-04-14T13:21:06.670Z INFO electrs::server] serving Electrum RPC on <IP_ADDRESS>:50001 [2022-04-14T13:21:07.142Z INFO electrs::db] "./db/bitcoin": 142 SST files, 34.736926679 GB, 4.323709353 Grows [2022-04-14T13:21:12.534Z INFO electrs::chain] loading 731839 headers, tip=000000000000000000076cce2ac5551e08dd62f538104a3171017a6dca32b2f6 [2022-04-14T13:21:16.612Z INFO electrs::chain] chain updated: tip=000000000000000000076cce2ac5551e08dd62f538104a3171017a6dca32b2f6, height=731839 [2022-04-14T13:21:16.694Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:17.698Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:18.701Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:19.703Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:20.705Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:21.707Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:22.709Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:23.711Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:24.714Z INFO electrs::daemon] waiting for RPC warmup: Loading block index... [2022-04-14T13:21:25.716Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:26.718Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:27.720Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:28.723Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:29.725Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:30.728Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:31.730Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:32.732Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:33.735Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:34.737Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:35.739Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:36.741Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:37.743Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:38.745Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:39.747Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:40.749Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:41.751Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:42.754Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:43.757Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:44.759Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:45.761Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:46.763Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:47.765Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:48.767Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:49.768Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:50.770Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:51.772Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:52.775Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:53.777Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:54.779Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:55.782Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:56.784Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:57.787Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:58.789Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:21:59.792Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:22:00.794Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:22:01.796Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:22:02.798Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:22:03.800Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:22:04.802Z INFO electrs::daemon] waiting for RPC warmup: Verifying blocks... [2022-04-14T13:22:05.806Z INFO electrs::daemon] waiting for RPC warmup: Loading P2P addresses... [2022-04-14T13:22:13.273Z INFO electrs::daemon] waiting for 62 blocks to download (IBD) [2022-04-14T13:22:33.797Z INFO electrs::db] closing DB at ./db/bitcoin Error: electrs failed Caused by: 0: bitcoind RPC polling failed 1: daemon not available 2: JSON-RPC error: transport error: Didn't receive response data in time, timed out.

I don't think I was on the latest. Just reinstalled. All I know on the prior version is that when ElectRS exits, it shuts the whole box down.
Ok I see that the Health Check is on the latest version. I'm now waiting for index. I did not add a .toml file but it seems to be working. Did I store that in a persistent location or is that config now included in the install?

Oh, use beta. I used 0.9.6 on alpha to practice yanking packages :p

Link to that? Not finding on the Start9 site

dm me on matrix


Time/measure IO

Inject a custom io stream to proxy calls to measure IO.

https://github.com/Xon/XenForo-Telemetry/commit/377a4f0ceb63aaaed2f66a9a28d830f31fd887ae initial work based off https://github.com/Xon/XenForo-Csync2StreamWrapper wrapper


cursor jumps around

Another issue with cc-format is that it makes my cursor jump to the end even when it shouldn't.
lets say I typed AAAA BDDD and now I see I forgot some Bs and Cs.. I go back to add them, but all of a sudden, after some keystrokes, my cursor jumps to the end.

Happy to take a PR for this if you find a solution!


[5.5] Add user helper

I constantly write auth()->user(), so I thought a user() helper would be nice

I don't know, it feels strange to be honest, also I think you can avoid the outer if since guard() does the same thing inside.

It was proposed and declined many times before.

That's true, refs #8818, see also this answer on Stack Overflow.
Still, maybe this helper should be added, just to avoid more PRs :)

This PR will probably get closed but anyhow:
return app(AuthFactory::class)->guard($guard)->user();`

That should be enough no need to check if null.


chore(paeckchen-core): update and cleanup dependencies

Coverage remained the same at 100.0% when pulling f99cab66ae427d8d10fff3336c2eb4546dc3da94 on core/dependencies into 5a8eec4f2446a3868a1ddc651cd6a60fd71aec37 on master.


Automatically generate vertex tangents for mesh primitives

Objective
Generate vertex tangents for meshes created from bevy_render::mesh::shape without manually calling generate_tangents
Fixes #3121
Solution
Call generate_tangents when converting from the primitives to the mesh.
Changelog
Meshes generated from the primitives of bevy_render::mesh::shape have vertex tangents

I would say that this should not be a default until/unless the default shading requires tangents. Currently they are only used for normal mapping and normal mapping is not present by default, only for models loaded by a user.

I think this PR can be closed: https://github.com/bevyengine/bevy/pull/6203

it does not do anything a user can't do easily
its not something everyone wants

I'd reconsider if it was actually generating parametric/analytic tangent/normal pairs using information about the mesh that is lost by discretization, such as correct cone tangents and a zero'd tip, or consistent tangents for a torus. But this just calls generate_tangents.

I agree with this; I'm going to close this out.


functions

https://github.com/danielkrupinski/Osiris/issues/240
https://github.com/danielkrupinski/Osiris/issues/266
https://github.com/danielkrupinski/Osiris/issues/186
https://github.com/danielkrupinski/Osiris/issues/230
https://github.com/danielkrupinski/Osiris/issues/205
when it comes to the last, it's best if the menu style would be nice to see such a watermark in Osiris, and if you can do it in esp no those black borders, and hit marker.I understand that it is very heavy and you need time, but only reminded

No need to create issues like this one.


runtime: workbuf is (not) empty on RISC-V

#!watchflakes
post <- log ~ `workbuf is (not )?empty` && builder == "linux-riscv64-unmatched"

2023-07-31 18:05 linux-riscv64-unmatched go@789980ec (log)
2023-08-01 17:41 linux-riscv64-unmatched net@8ffa475f go@fb6f38dd x/net/internal/timeseries [build] (log)
2023-08-07 00:28 linux-riscv64-unmatched go@41981930 path/filepath [build] (log)
2023-08-08 21:20 linux-riscv64-unmatched go@fe1daf2e net/http_test [build] (log)
2023-08-16 17:51 linux-riscv64-unmatched go@91bea5a2 go/types.TestStdFixed (log)
CC @golang/riscv64

Duplicate of #62185


I wish to use it

I apologize in advance as I thought I was an intermediate level user of Visual Studio. But I cannot figure out how to use the AeroWizard control. I seems like exactly what I am looking for. I have a need for a wizard that will walk a user through:
Accepting Terms
Creating a Family Name
Adding Family member(s)
Confirmation page
Commit and finish the wizard.
I have installed using Nuget, but I cannot find how to get started using the control. Can someone point me in the right direction?
Originally posted: 2014-12-17T19:38:22

I think the simplest way to use the control is to install the AeroWizardTemplates.vsix package from the Downloads area on this site. You will then have some new Visual Studio item templates installed that effectively create the entire form with the control all wired up.
Originally posted: 2014-12-18T08:33:01

Thanks. I can access the control. This is a desktop form wizard? Does it work for webforms? I may have misunderstood its purpose.
Originally posted: 2014-12-18T09:04:03

This is a control that can be added to a desktop form. Once added, it will create the same wizard interface you see from within Windows.
Originally posted: 2014-12-18T10:21:48

Thanks. It seems awesome.
Originally posted: 2014-12-18T15:08:23


Updated Aboutus

Pull Request Test Coverage Report for Build 185

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

Totals

Change from base Build 183:
0.0%

Covered Lines:
1976

Relevant Lines:
2777

💛  - Coveralls


Navigation not working - After Enter Login

I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
After install and run the app, no changes to code, I notice if we enter LOGIN, but  do not hit the button to login, we can't go back to Map, Speakers, or About. I keeps in the login page
Expected behavior:
I should navigate to any page that does not requrire autentication
Steps to reproduce:
Just install the app
-->
Other information:
I've notice some warning in console: main.js:78128 Didn't set nav root: invalid link: Tabs
This only apears AFTER enter the login
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
 Cordova CLI: 6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.0
Xcode version: Not installed

Althought the Ionic and Cordova is not the latest version, I've tested with the latest cordova and ionic v3, same problem.
Install in device and same behavior as the browser

Not sure what happened. When I submitted PR #392, I'm 100% sure the appPages in the app.component used TabsPage as the name, that's why in the PR, the name was changed accordingly in the links to TabsPage (from the original Tabs). Now for some reason the appPages is using Tabs in the app.component. No the name in the app.module links is different.

change your function openpage with this commit
https://github.com/driftyco/ionic-conference-app/blob/af5312aec04791a47e7ceeb04ab41ea15f3ab799/src/app/app.component.ts


Backspace and M key bug when deleting text

There's a glitch when you try to delete a word that ends with special characters. The M key gets triggered when the keyboard switches from numbers to regular letters. Check out the video. You can see the M key being triggered very fast.
iPhoneXS iOS 18.0 (22A3354)
https://github.com/user-attachments/assets/25d7ccc1-e50e-4330-986f-ea58debe25ad

Hi @diegodotta - does this happen with KeyboardKit 8.8.7? I can't seem to reproduce it.

You are right. This is not happening to 8.8.7.

That’s awesome!


Add startDelay property to DistributionExtension

Configures wait delay before checking liveness of the application
process.

Coverage increased (+0.02%) to 99.123% when pulling ed65399bcc467ad7b5ae7f447b8fe1f7f2c1ca8b on henryptung:feature/configurable-start-check-delay into e916bde45ef6a50856281c4cebcc367b3f9685dd on palantir:develop.

I think it'd be better to do this with a fixed maximum wait for start time, similar to the way Dan modified the fixed maximum wait for stop time. See #59.

Agreed, there's an easy gate for figuring out whether a process is stopped via PID existence. Do you have a similar analogue for startup in mind?

The is_process_active function used in the stop loop can also be used in the start loop, it checks the process table using the PID file, which is created before the current sleep call.

Ah, sorry, I should have explained the use case first, my bad.
This PR targets the case where service startup requires initializing or checking some backend, and may fail N seconds after the Java process is created.
If I understand correctly, is_process_active checks if the process exists, but I'm trying to check beyond "Java PID exists", to "was configuration parsed correctly" and "are backends alive + properly initialized".
Not sure if that's within scope of this script, but "process starts but exits very soon after" is probably fairly common (malformed configuration).

Ah, makes sense. Could we just add an optional 2nd check which checks the process lives for at least N seconds after it starts, then?

Closing due to inactivity. Feel free to reopen.


Body type vs solidComposition data

I suspect that body type is not the true factor which controls spawning. I suspect the percentage rock, metal, ice in the solidComposition of the body is what controls which biologicals can spawn.
This happens to cause some biologicals to only spawn on one body type (e.g. Stratum Tectonicas on HMC because it requires solidComposition.Metal > 26.5%).
I feel that if this idea pans out, the number of false positive potential biologicals might be reduced somewhat.
I'm still working on the analysis, but I'm happy for anyone to pick up this idea and prove/disprove it.
(logging the thought bubble here so it doesn't get lost)

I can see if I can capture that information. I'm wondering what would be the best way to capture and display it?
As a range per solid? eg
Metal: 10-20%

My static analysis determines the minimum percentage of rock, metal and ice with which each biological has spawned.
I have not considered maximum percentage as a constraint, but I agree that it could be and if you're filtering on min it makes sense to also filter on max.
Limiting this post to minimum, as that's what I know...
A biological we all know and love:
Bacterium Acies - Cyan (hereinafter called "Acies")
Your json data includes:
"body_types": {
"Icy body": 533,
"Rocky Ice world": 10
},
And indeed Acies can spawn on these two body types.
But let's dig a little deeper.
Here are the minimum solidComposition values for bodies logged with Acies spawns:

Name
solidComposition.Rock.min
solidComposition.Metal.min
solidComposition.Ice.min

Bacterium Acies - Cyan
10.173
1.6345
38.6044

So we have logged Acies spawns only on bodies with > 38.6% Ice content and > 10% Rock content.
Here are the stats of minimum and maximum composition types for each body type:

Rocky body
Rocky Ice world
Icy body
High metal content world

solidComposition.Rock.min
75.1174
33.1969
2.9196
58.9612

solidComposition.Rock.max
97.7016
81.0748
45.0937
74.8617

solidComposition.Metal.min
2.2984
4.506
0.2147
25.1383

solidComposition.Metal.max
24.8826
29.4927
16.9695
36.5193

solidComposition.Ice.min
0
10.8602
50.0001
0

solidComposition.Ice.max
10.8833
49.9988
96.6035
11.0827

Looking at Ice content:
Icy bodies range in Ice content from 50 to 96.6%, so Ice content of Icy Bodies is not a constraint on spawns of Acies.
Rocky Ice worlds range from 10 to 50% ice so only some can spawn Acies (requires > 38.6% ice content).
Looking at Rock content:
Icy bodies range from 3 to 45% rock, so only the ones with > 10% rock can spawn Acies.
Rocky Ice worlds range from 33 to 81% rock, so rock content will not constrain Acies spawns.
It seems certain to be a false positive to list Acies as a potential biological on a Rocky Ice world with less than 38.6% ice or on a Icy body with less than 10% rock.
It's also interesting to note that different colours of Acies have different Ice requirements:

Name
solidComposition.Rock.min
solidComposition.Metal.min
solidComposition.Ice.min

Bacterium Acies - Aquamarine
10.3745
1.5523
37.717

Bacterium Acies - Cobalt
10.2356
1.6474
22.5711

Bacterium Acies - Cyan
10.173
1.6345
38.6044

Bacterium Acies - Lime
10.284
1.6412
41.5662

Bacterium Acies - Magenta
10.1747
1.63
46.0587

Bacterium Acies - White
10.0971
1.5669
41.3145


ARROW-4115: [Gandiva] zero-init boolean data bufs

@wesm @shyambits2004

Codecov Report

Merging #3263 into master will increase coverage by 1.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3263      +/-   ##
==========================================
+ Coverage   88.46%   89.68%   +1.21%
==========================================
  Files         539      481      -58
  Lines       72845    68833    -4012
==========================================
- Hits        64444    61731    -2713
+ Misses       8294     7102    -1192
+ Partials      107        0     -107

Impacted Files
Coverage Δ

cpp/src/gandiva/projector.cc
94.79% <100%> (ø)
:arrow_up:

cpp/src/gandiva/tests/projector_test.cc
100% <100%> (ø)
:arrow_up:

go/arrow/array/table.go

go/arrow/math/uint64_amd64.go

go/arrow/internal/testing/tools/bool.go

go/arrow/internal/bitutil/bitutil.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/array/null.go

go/arrow/datatype_nested.go

go/arrow/array/string.go

... and 50 more

Continue to review full report at Codecov.

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

Do you want to conditionally do this only if ARROW_VALGRIND is defined? It's not a major performance penalty so not big deal either way

Do you want to conditionally do this only if ARROW_VALGRIND is defined? It's not a major performance penalty so not big deal either way

the ARROW_VALGRIND flag is passed only for the test binaries, but this code is part of libgandiva. so, it'll require more changes. I think it's okay to do the bzero unconditionally.


Unable to assign 0 as NULL to void** local

Reporting a bug

[x] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

Pointers can be set to NULL by assigning 0. This appears not to work with pointers to pointers.
import numba

# Succeeds
@numba.cfunc("void()", locals = {"bar": numba.types.voidptr})
def foo():
  bar = 0

# Fails
@numba.cfunc("void()", locals = {"bar": numba.types.CPointer(numba.types.voidptr)})
def foo():
  bar = 0

TypingError: Failed in nopython mode pipeline (step: nopython frontend)
No conversion from Literal[int](0) to void** for 'bar', defined at None

I would assume that if this works with pointers generally, it shouldn't fail for the specific case of a pointer to a pointer.
This is actually blocking progress on something for me at the moment, so any comments on workarounds would be appreciated! I need to pass a NULL void** into a ctypes function from inside a cfunc.
This seems to work fine, but I can't alter the signature of my cfunc to accommodate so it's not a solution for me.
@numba.cfunc(numba.types.void(numba.types.CPointer(numba.types.voidptr)))
def foo(a):
  return

foo(0)

The pointer types don't appear to have casting support.

Looks like a bug because we never manipulated pointer values in numba. Shouldn't be hard to fix.

Cool. I don't suppose you can think of another way of obtaining a NULL value like this without waiting for a fix to go in?

Something like this might work:
import numba
from numba.extending import intrinsic

@intrinsic
def void_ptrptr(tyctx, arg):
    sig = numba.types.CPointer(numba.types.voidptr)(numba.types.intp)
    def codegen(cgctx, builder, sig, llargs):
        llvalue, = llargs
        argty, = sig.args
        retty = sig.return_type

        llretty = cgctx.get_value_type(retty)
        retptr = builder.alloca(llretty)
        valbuf = builder.alloca(llvalue.type)
        builder.store(llvalue, valbuf)
        valbuf_val = builder.load(valbuf)
        valbuf_asptr = builder.inttoptr(valbuf_val, llretty)
        builder.store(valbuf_asptr, retptr)
        return builder.load(retptr)
    return sig, codegen

import ctypes
libm = ctypes.CDLL('libm.so')
ct_cos = libm.cos
ct_cos.restype = ctypes.c_double
# this is a lie, but acts as a sink such that `bar` isn't optimised away
ct_cos.argtypes = (ctypes.POINTER(ctypes.c_void_p),)

@numba.cfunc("void()")
def foo():
  bar = void_ptrptr(0)
  ct_cos(bar)

print(foo.inspect_llvm())

That intrinsic trick looks very nice, thanks! I just looked up Numba intrinsics after this and I see that casting to a pointer is actually the example given; I wish I'd managed to turn that page up in my googling! I think this pattern will be quite helpful for a few other things I was having difficulty with too.

That intrinsic trick looks very nice, thanks! I just looked up Numba intrinsics after this and I see that casting to a pointer is actually the example given; I wish I'd managed to turn that page up in my googling! I think this pattern will be quite helpful for a few other things I was having difficulty with too.

No problem. If you know roughly what the LLVM is for what you want, then @intrinsic gives you an escape hatch to do that. clang -S -emit-llvm can help with getting the "rough" LLVM from some C code.

clang -S -emit-llvm can help with getting the "rough" LLVM from some C code.

As a tip for anyone who may find this in the future, you can do this very easily on Compiler Explorer. See for example https://godbolt.org/z/j5vznW


TCPKeepAlive during unload does not keep connection alive

Driver version

2.0.905
Redshift version

Redshift 1.0.36224
Client Operating System

Windows Server 2019
Python version

3.9
Table schema

Problem description

Expected behaviour: TCP keep alive maintains connections on client

Actual behaviour: UNLOAD begins and after ~5 minutes closes due to timeout. All data is eventually written asynchronously without allowing the script to confirm the action is complete.

Error message/stack trace:
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Any other details that can be helpful:
I believe that the azure machine I am using to run this code has a timeout after 5 minutes. The documentation suggests using TCP keep alive to prevent a timeout. Nevertheless, explicitly setting tcp_keepalive = True did not alleviate this issue.

Python Driver trace logs

File "..\main.py", line 187, in redshift_unload
cursor.execute(unload_script)
File "..\site-packages\redshift_connector\cursor.py", line 211, in execute
self._c.execute(self, operation, args)
File "..\site-packages\redshift_connector\core.py", line 1279, in execute
self.handle_messages(cursor)
File "..\site-packages\redshift_connector\core.py", line 1358, in handle_messages
code, data_len = ci_unpack(self._read(5))
File "C:\Program Files\Python39\lib\socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "C:\Program Files\Python39\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\Program Files\Python39\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
Reproduction code

n/a, requires unload command of duration 5+ minutes

Hi @georgewilson23
Can the timeout on the Azure machine be increased? I would start with trying this.
I'll be closing this issue in favor of related issue #96 where I've posted some troubleshooting recommendations.


Unnecessary Margins in Sessions/Speakers details

Summary
When you navigate to the Sessions or Speakers page and then select one of the listed speakers/sessions, extra details will pop up. The details view has an extra empty h2 tag that adds unnecessary margins above and below itself. I noticed that the Track details also has this, however the h2 tag in the Track details has text in it, so the margins look OK. I have included images showing this.
Steps to Reproduct Bug:

Start server locally, navigate to web app page. (http://localhost:8080/)
Click on Speakers tab or click on Sessions tab.
Select a Speaker or Session from the list.
The details view will show, in the details view there should not be an extra empty h2 tag that adds unnessesary margins.

The empty h2 tag is shown here:

Shows unnecessary margins:

Track details, which has a title so margins look good:

Hi @MaxBorsch I want to work on this bug. Can you assign it to me ?

Ok, how do you assign an issue? (I¹m not very familiar with GitHub)
From:  aayusharora<EMAIL_ADDRESS>Reply-To:  fossasia/open-event-webapp
<reply+002ca029781f652778424c384a841f1bff911fdb2664d99c92cf000000011284242d9
<EMAIL_ADDRESS>Date:  Saturday, December 12, 2015 at 1:06 PM
To:  fossasia/open-event-webapp<EMAIL_ADDRESS>Cc:  Max Borsch<EMAIL_ADDRESS>Subject:  Re: [open-event-webapp] Unnecessary Margins in Sessions/Speakers
details (#83)
Hi @MaxBorsch https://github.com/MaxBorsch  I want to work on this bug.
Can you assign it to me ?

Reply to this email directly or view it on GitHub
<https://github.com/fossasia/open-event-webapp/issues/83#issuecomment-164172
809> .

Hi @aayusharora,
@mariobehling or @creativepsyco will be able to assign this to you. Are you GCI student? because there's task to fix this bug in GCI.

No,I am not a GCI student .

I'd like to do it. But I've got claimed another task. What should I do it? Wait to review claimed task?
I've just solved problem only thing is to pull request

Indeed, you think about it? http://scr.hu/3e1h/ryii6
I will repair this. Give me a sec.

I have it fixed (hopefully) and pull requested. You probably shouldn't spend time on tasks that you haven't claimed yet.

Oh, okey. Could you tell me where you fixed ? You know I would like to know where I should have repaired it

You can check what I changed by looking at my pull request and clicking "Files Changed" it will show you what I changed.

I din't get the exact bug. PFA.

The dialog box in tracks section has an extra space between the crumbs and the title. It was left out for subtitle. But I put an ng show directive there to dynamic add the subtitle when present.


Fix CI and Rails 7.1 compatibility on main

Improve CI
Stable builds:

Test against Ruby 3.3 stable
Test against Rails 7.1 stable
Test against Rails 7.2 beta

Experimental builds:

Test against Rails edge (previously: 7.1, ref: #106)
Test against Ruby head

Fixes:

Fix sqlite3 dependency on old Rails versions

Updates:

Update GitHub actions

Readability:

Sort and group inclusion and exclusions in CI matrix

Fix Rails 7.1 compatibility
Also:

Invert the logic to make the conditional more readable
Add "alpha" to version to include pre-releases

ActiveRecord:

7.2: Base.connection_pool.schema_migration.table_name
7.1, 7.0, 6.x: Base.connection.schema_migration.table_name
5.x: SchemaMigration.table_name

Use respond_to? to determine the schema migration table name
Close #106

This fixes a bug that's currently affecting people. It would be fantastic if this were released.