text:
No works in flat world using minecraft-wrap 1.18.2

Hi guys i'm doing tests with minecraft-wrap
On flatworld the prismarine-viewer no works fine:

My code is simply:
To start world:
import mc from 'minecraft-protocol'
import path from 'path'
import mcDataLoader from 'minecraft-data'

//@ts-ignore
import { Wrap } from 'minecraft-wrap'
//@ts-ignore
import { download } from 'minecraft-wrap'

const propOverrides = {
    motd: 'Test Minecraft Server',
    'level-type': 'FLAT',
    'spawn-npcs': 'true',
    'spawn-animals': 'true',
    'online-mode': 'false',
    gamemode: '1a',
    'spawn-monsters': 'false',
    'generate-structures': 'false',
    'enable-command-block': 'true',
    'use-native-transport': 'false',
    'server-port': 255655,
    'view-distance': '40',
    'pvp': 'true'
}

const MC_SERVER_PATH = path.join(__dirname, 'server')

let PORT = 25565
const supportedVersion = "1.18.2"
const mcData = mcDataLoader(supportedVersion)
const version = mcData.version
const MC_SERVER_JAR_DIR = process.env.MC_SERVER_JAR_DIR || `${process.cwd()}/server_jars`
const MC_SERVER_JAR = `${MC_SERVER_JAR_DIR}/minecraft_server.${version.minecraftVersion}.jar`
const wrap = new Wrap(MC_SERVER_JAR, `${MC_SERVER_PATH}_${supportedVersion}`)

wrap.on('line', (line: string) => {
    console.log(line)
})

download(version.minecraftVersion, MC_SERVER_JAR, (err: Error) => {
    if (err) {
        console.log(err)
        return
    }
    propOverrides['server-port'] = PORT
    wrap.startServer(propOverrides, () => {
        console.log(`pinging ${version.minecraftVersion} port : ${PORT}`)

        const serverConection = {
            port: PORT,
            version: supportedVersion
        }

        mc.ping(serverConection, () => {
            setTimeout(() => {
                console.log('pong')
                wrap.writeServer('op Archer\n')
                wrap.writeServer('op Lordvivi\n')
            }, 10000);
        })
    })
})

The code of bot:
const mineflayer = require('mineflayer')
const mineflayerViewer = require('prismarine-viewer').mineflayer
const minecraftHawkEye = require('../index')

// first install the dependency
// npm i mineflayer prismarine-viewer minecrafthawkeye

const bot = mineflayer.createBot({
    host: process.argv[2] ? process.argv[2] : 'host.docker.internal',
    port: process.argv[3] ? parseInt(process.argv[3]) : 25565,
    username: process.argv[4] ? process.argv[4] : 'Archer',
    password: process.argv[5]
})

bot.loadPlugin(minecraftHawkEye)
let intervalShot, intervalPreview, target

bot.on('spawn', () => {
    bot.chat('/kill @e[type=minecraft:arrow]')
    bot.chat('/clear')
    bot.chat(`/give ${bot.username} bow{Enchantments:[{id:unbreaking,lvl:3}]} 1`)
    bot.chat(`/give ${bot.username} minecraft:arrow 300`)
    bot.chat('/time set day')
    bot.chat('Ready!')
    target = bot.hawkEye.getPlayer()
    intervalShot = setInterval(fire, 5000)
    intervalPreview = setInterval(shotPreview, 200)
})

bot.on('die', () => {
    clearInterval(intervalShot)
    clearInterval(intervalPreview)
})

bot.once('spawn', () => {
    mineflayerViewer(bot, { port: 3000 })
})

function shotPreview() {
    bot.viewer.erase('arrowTrajectoryPoints')
    if (target) {
        const arrowTrajectoryPoints = bot.hawkEye.getMasterGrade(target, null, 'bow').arrowTrajectoryPoints // Returns array of Vec3 positions
        if (arrowTrajectoryPoints) {
            bot.viewer.drawPoints('arrowTrajectoryPoints', arrowTrajectoryPoints, 0xff0000, 5)
        }
    }
}

function fire() {
    if (target) {
        bot.hawkEye.oneShot(target, 'bow')
    }
}

The versions of packages:
    "dependencies": {
        "mineflayer": "^4.8.0",
        "prismarine-world": "^3.6.1",
        "vec3": "^0.1.7"
    },
    "devDependencies": {
        "@types/chai": "^4.3.4",
        "@types/mocha": "^10.0.1",
        "chai": "^4.3.7",
        "minecraft-wrap": "^1.5.1",
        "mocha": "^10.2.0",
        "prismarine-viewer": "^1.23.0",
        "standard": "^17.0.0",
        "ts-node": "^10.9.1",
        "typescript": "^4.9.5"
    },

If i execute a vanilla server in 1.18.2 works fine, seems any issue from minecraft wrap <-> viewer

I review the issue and seems they no have supports for 1.18.1+
Need to update the package of minecraft-assets, but this package is not in NPM with the latest version of 1.19

should work now

https://github.com/PrismarineJS/prismarine-viewer/issues/435

authors: SinanAkkoyun rom1504 sefirosweb

repo: PrismarineJS/prismarine-viewer


text:
Wrong scoring when the query and 1 sentence in a passage is the same.

Hi
Im trying to test your ranking with Vietnamese data and got a weird result like this:
Query:  [Đầu tư căn hộ TP. Thủ Đức - Kỳ 2] Tiềm năng lợi nhuận đầu tư căn hộ TP. Thủ Đức như thế nào??
0.94775605 	 [Chuyên đề căn hộ Quận Thủ Đức - Kỳ 2] Tiện ích - hạ tầng đang hiện hữu tại thị trường căn hộ chung cư quận Thủ Đức
0.9460485 	 Chuyên Đề: Tiềm Năng Đầu Tư Căn Hộ TP Thủ Đức Quý II/2023
0.9404418 	 Có nên đầu tư căn hộ Empire City Thủ Thiêm?
0.93990564 	 [Đầu tư căn hộ TP. Thủ Đức - Kỳ 1]: Mức độ đô thị hóa và cơ sở hạ tầng TP. Thủ Đức đang như thế nào?
0.937425 	 [Đầu tư căn hộ TP. Thủ Đức - Kỳ 3]: Nhận diện những rủi ro tiềm ẩn khi đầu tư căn hộ
0.92928797 	 Infographic: Phân tích tiềm năng đầu tư dự án nhà phố, biệt thự TP Thủ Đức năm 2021
0.924897 	 [Chuyên đề căn hộ Quận Thủ Đức - Kỳ 3] Tiềm năng thị trường căn hộ chung cư quận Thủ Đức
0.9248124 	 Các dự án nhà phố, biệt thự Quận 2 (TP Thủ Đức) hiện có mức giá ra sao?
0.92082846 	 [Chuyên đề căn hộ Quận Thủ Đức - Kỳ 6] Các chủ đầu tư đang triển khai dự án căn hộ chung cư quận Thủ Đức
0.9133441 	 4 lý do bạn nên đầu tư căn hộ tại Thành phố Thủ Đức
0.84951854 	 Thông tin chi tiết về TP. Thủ Đức và các dự án chung cư nổi bật
0.84106666 	 Phân tích chi tiết tiềm năng đầu tư bất động sản TP Thủ Đức năm 2022
0.8402047 	 Cập nhật giá bán các dự án biệt thự, nhà phố tại TP Thủ Đức (Mới nhất)
0.7789081 	 Mua căn hộ Thủ Thiêm: Những thông tin bạn cần phải biết!
0.1311889 	 [Đầu tư căn hộ TP. Thủ Đức - Kỳ 2] Tiềm năng lợi nhuận đầu tư căn hộ TP. Thủ Đức như thế nào??

The last result is exactly the same as the query but got the lowest score.  This is so weird to me.
0.1311889 	 [Đầu tư căn hộ TP. Thủ Đức - Kỳ 2] Tiềm năng lợi nhuận đầu tư căn hộ TP. Thủ Đức như thế nào??

Here is the code snippet to produce the above result

class RankerTestCase(unittest.TestCase):

    def test_flash_rank(self):
        passages = [
            "[Đầu tư căn hộ TP. Thủ Đức - Kỳ 2] Tiềm năng lợi nhuận đầu tư căn hộ TP. Thủ Đức như thế nào??",
            "[Đầu tư căn hộ TP. Thủ Đức - Kỳ 1]: Mức độ đô thị hóa và cơ sở hạ tầng TP. Thủ Đức đang như thế nào?",
            "[Đầu tư căn hộ TP. Thủ Đức - Kỳ 3]: Nhận diện những rủi ro tiềm ẩn khi đầu tư căn hộ",
            "Chuyên Đề: Tiềm Năng Đầu Tư Căn Hộ TP Thủ Đức Quý II/2023",
            "Infographic: Phân tích tiềm năng đầu tư dự án nhà phố, biệt thự TP Thủ Đức năm 2021",
            "Các dự án nhà phố, biệt thự Quận 2 (TP Thủ Đức) hiện có mức giá ra sao?",
            "[Chuyên đề căn hộ Quận Thủ Đức - Kỳ 3] Tiềm năng thị trường căn hộ chung cư quận Thủ Đức",
            "[Chuyên đề căn hộ Quận Thủ Đức - Kỳ 6] Các chủ đầu tư đang triển khai dự án căn hộ chung cư quận Thủ Đức",
            "[Chuyên đề căn hộ Quận Thủ Đức - Kỳ 2] Tiện ích - hạ tầng đang hiện hữu tại thị trường căn hộ chung cư quận Thủ Đức",
            "Có nên đầu tư căn hộ Empire City Thủ Thiêm?",
            "Phân tích chi tiết tiềm năng đầu tư bất động sản TP Thủ Đức năm 2022",
            "Cập nhật giá bán các dự án biệt thự, nhà phố tại TP Thủ Đức (Mới nhất)",
            "Thông tin chi tiết về TP. Thủ Đức và các dự án chung cư nổi bật",
            "Mua căn hộ Thủ Thiêm: Những thông tin bạn cần phải biết!",
            "4 lý do bạn nên đầu tư căn hộ tại Thành phố Thủ Đức"
        ]

        from flashrank.Ranker import Ranker
        ranker = Ranker(model_name="ms-marco-MultiBERT-L-12", cache_dir="./.pytest_cache")

        query = "[Đầu tư căn hộ TP. Thủ Đức - Kỳ 2] Tiềm năng lợi nhuận đầu tư căn hộ TP. Thủ Đức như thế nào??"
        results = ranker.rerank(query, passages)
        print('\nQuery: ', query)
        for r in results:
            print(r['score'], '\t', r['passage'])

If the query is identical to one of the passages in ANY language not just your language, They are not ranked 1st, they are ranked last and oddly scored low. This includes English WHEN using optimised multilingual models.
But you won't observe this problem in the optimised english only models with English text. Identical passage gets ranked appropriately.
We have observed this early on with multilingual model.
[Solution] Semantically speaking it may sound like a challenge but practically speaking query identical to passage doesn't make realistic sense.  But If in your system users can type queries identical to passages and/or if this usecase is important to you, You have 3 options

Use Flashrank & Workaround it post-hoc, because checking if query == passage and manually pushing it isn't hard.
Fine-tune bert-base-multilingual-cased  on custom Vietnamese data and use it for ranking. Fair warning model is 700MB. You might need GPU for a faster inference.
Fine-tune BAAI/bge-reranker-base on custom Vietnamese data and use it for ranking. using this script. Fair warning model is 1.1GB. You might need GPU for a faster inference.

Wish you the best

source: gharchive/issue

repo: PrithivirajDamodaran/FlashRank

license_type: permissive

license_source: github-api


text:
FIXED: BUG: HOME , ABOUT, CONTACT LINKS ARE NOT WORKING IN FOOTER #1080

Related Issue
None
Fixes: #1080
Description
This PR resolves the issue where the links in the footer for HOME, ABOUT, and CONTACT were non-functional. The links have been updated to point to the correct routes, allowing users to navigate seamlessly.
Changes Made:

Fixed the URL paths for the HOME, ABOUT, and CONTACT links in the footer.
Ensured that the links correctly direct users to the respective pages.

Testing:

Verified the functionality of all footer links to confirm they now lead to the intended pages.

Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/d961f35b-0ebc-457a-acbd-aafb43ba1e1c
Checklist:

[X] I have made this change from my own.
[ ] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

Conflicting files
index.html
Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch.
Thank you!

@amanreddy77 Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution ! 🎉

source: gharchive/pull-request

repo: PriyaGhosal/BuddyTrail

license: MIT


text:
Stuck Keys

So historically stuck keys have been caused by

My code
A focus bug on beam
People actually holding down keys

Its almost impossible to tell which one of the above it is right now.
What I need is a gui window that just prints the reports coming in and live updates without scrolling angular 2 way binding/react style. This lets me see what beam is sending and isolates beam from the problem.
A second tab would then show what im sending in the same manner.
Think of it as the static view on what's going on inside the code.

Looks like this was caused by the crash bug, code got overwhelmed and stuck processing old reports.

Seeing this again

There should be documentation on how to reload the controls remotely via bot; at least to the extent of which bot is the recommended one. :)

there isnt any open source bot that does this. Thus i'm not able to offer documentation on how to do it.

authors: ProbablePrime sorryaboutyourcats

repo: ProbablePrime/interactive-keyboard

license: mit

license_source: bigquery


text:
Find a good value for vdW damping constant

The vdW damping used in the full-density based model that was originally discussed in #48 was not properly tested for choosing proper values for the damping constant. There was some more discussion in #156 that the vdW contribution does not agree with what was reported by Ellner. et al in https://pubs.acs.org/doi/10.1021/acsnano.8b08209.

Getting something reasonable out of the vdW by adjusting the damping constants turns out to be problematic. For example, using the R4 damping function and setting the damping function too high results in these ring-like artifacts:

They probably appear because the function actually turns back up when getting close:

Something similar happens with the other R* damping functions and there does not seem to exist a range where there are no artifacts but the vdW is not too strong.
The only way that works kind of ok is using the constant damping function with a really high damping constant, like ~3000, which almost kills the vdW entirely:

Maybe that's actually fine, I don't know. I will try and see what the DFT-D3 curves would look like next.

The only way that works kind of ok is using the constant damping function with a really high damping constant, like ~3000, which almost kills the vdW entirely:

And the constant damping with the original parameters (before we introduced the new damping functions) ?

And the constant damping with the original parameters (before we introduced the new damping functions) ?

It was (and is) 180.

So, I tried computing the vdW with DFT-D3 using https://github.com/dftd3/tad-dftd3. The overall magnitude of the resulting vdW force is actually pretty close to that constant-damped (3000) case above:

But it's also more concentrated around the molecule. The contrast for the total force looks very close to what they have in the Ellner paper, and the relative magnitudes of the forces are similar, so I think this overall looks pretty good.
Using that super damped LJ vdW might be okay, but it should not be that difficult to implement the DFT-D3 either. I was reading the original Grimme-D3 paper (https://pubs.aip.org/aip/jcp/article/132/15/154104/926936/A-consistent-and-accurate-ab-initio), and it looks to me like there are three major differences compared to LJ:

There is a 1/r^8 term with it's own C8 parameter (which is derivable from the C6 parameter)
The C6 parameter depends on the coordination number of the atom, which is determined by the pair-wise distances between the atoms.
There is a 3-body term. However, the paper mentions that the correction is pretty small, and it looks like VASP doesn't use it: https://www.vasp.at/wiki/index.php/DFT-D3 (and Ellner et al. used VASP), so I think this can be ignored.

The first one is pretty trivial to add. The second point is maybe a little bit tricky. When I tried calculating the DFT-D3 vdW at a closer range, it makes for some pretty funky behaviour:

It actually turns repulsive. The origin of the increase in energy is the changing coordination number of the PP and the sample atoms when the PP approaches the sample. We assume that the PP is chemically inert, so we would need to exclude the PP from the calculation of the coordination number to prevent this repulsion.

WOW, so we can use Grimme DFT-D3 now ?

Now the DFT-D3 is implemented in the OpenCL version. Probably this should be implemented for the CPU code as well, but maybe it's not a priority. I created a draft PR at #163. We could merge that now or wait until the CPU version is there as well.

Now the DFT-D3 is implemented in the OpenCL version. Probably this should be implemented for the CPU code as well, but maybe it's not a priority. I created a draft PR at #163. We could merge that now or wait until the CPU version is there as well.

I would merge it now, not wait imlemetation on CPU.
but I think it wold be better if the old version of vdW is still working so that we can easily switch between them and compare the results
Also I'm currios, it is possible to say in simple terms why old version of vdW does not work well? Isn't it really just about choosing reasonoble parameters? Is there some fundamental problem what is missing ?

authors: NikoOinonen ProkopHapala

repo: Probe-Particle/ppafm


text:
Authorisation of API user must distinguish between a Translator and a Data Exporter

Data Exporter right to be granted only to people downloading bulk data.

Additional role: Data Importer
For users who are permitted to submit data to the API


text:
Fix menus for macOS

Turns out some of the menus (like the help menu) need to be handled differently for macOS because they're system menus that are expected to be present and standard for most apps.
I used this examplefrom the electron docs as a template.
On macOS before:
https://github.com/Project-Fungus/fungus-gui/assets/34945306/d90d9edc-9874-479a-b161-fc04a080dcb9
On macOS after:
https://github.com/Project-Fungus/fungus-gui/assets/34945306/70f0e7bc-8f1e-44ec-8cd9-a896d6a5df4b

One thing I noticed in the videos is that the app name in the menu is just "Electron." According to this StackOverflow page, to fix that you need to set the productName in package.json and package the app (you can do that with npm run make). That would be nice, as long as it doesn't take more than a few minutes.

That was just for testing it works with the packaged app as well.

repo: Project-Fungus/fungus-gui


text:
Refactor "Admission Webhook" configuration part in Helm chart.

Task description:
The current structure of the Helm chart's values.yaml file is misleading, as whitelistNamespaces is nested under .Values.scheduler.customWebhook, leading users to believe that they must enable .Values.scheduler.customWebhook.enabled to utilize this functionality.
Additionally, values.yaml lacks support for defining reinvocationPolicy for the Admission Webhook. This may need to be set to IfNeeded if users implement other webhooks that set nvidia.com/* resources in a manifest, which might be processed after HAMI's webhook. This, in turn, can cause HAMI's webhook to be "skipped", leaving processed pod's manifest unchanged (i.e., not setting HAMI's scheduler), resulting in an unschedulable pod.
Solution:

Refactor the Helm chart by moving the customWebhook group into a generalized .Values.scheduler.webhook key, renaming it to customURL. Keep whitelistNamespaces under the webhook key.
Extract the reinvocationPolicy parameter and place it under the .Values.scheduler.webhook key with the same name.

Who can join or take the task:
The good first issue is intended for first-time contributors to get started on his/her contributor journey.
After a contributor has successfully completed 1-2 good first issue's,
they should be ready to move on to help wanted items, saving the remaining good first issue for other new contributors.
How to join or take the task:
Just reply on the issue with the message /assign in a separate line.
Then, the issue will be assigned to you.
How to ask for help:
If you need help or have questions, please feel free to ask on this issue.
The issue author or other members of the community will guide you through the contribution process.

/assign

/assign

I have made some additional changes in helm chart to make it more intuitive (described in the PR).
I have removed draft status as it's ready for review.

repo: Project-HAMi/HAMi


text:
Incorrect imports in DataAnalyzer notebook

The imports in under "Setup Imports" in the DataAnalyzer Notebook are incorrect / outdated. Currently the DataAnalyzer import in the notebook is:
from monai.apps.auto3dseg import DataAnalyzer
but I believe the correct import is (at least for me, running monai==1.0.1) is:
from monai.apps.auto3dseg.data_analyzer import DataAnalyzer

thanks for reporting, the class is also part of monai.apps.auto3dseg because of this init file https://github.com/Project-MONAI/MONAI/blob/d0db5fd9d4da3bc7027d22c52bb9c405c3b9e879/monai/apps/auto3dseg/init.py#L14
I can't reproduce this issue, and if you see any import error, perhaps you can try uninstalling any previous monai versions with pip uninstall monai-weekly and pip uninstall monai

Gotcha, thank you!

authors: peterhessey wyli

repo: Project-MONAI/tutorials


text:
Spiking competitor products & dashboards

Get a better idea of what our competitors offer and do

Stills taken from Kaseya and ConnectWise demos. Continuing to look at other competitors for more well rounded approach.
https://docs.google.com/presentation/d/1f3myxY3ExdKdmANsZFS-o_kUwpzSvJ6-vbehfxVmjyQ/edit#slide=id.gcb9a0b074_1_0

authors: Langutang hstriano


text:
Don't close other active tabs on init when accordion allows multiple open

This change is

Issue: https://github.com/Promact/md2/issues/189


text:
Incorrect annotation

Hi,
I would assume the annotation should be string|null $number
https://github.com/Propaganistas/Laravel-Intl/blob/645a34430ae92d287e97a06815d613be1f3002b5/src/helpers.php#L83

Thanks for reporting.
https://github.com/Propaganistas/Laravel-Intl/commit/eb9412eaae023e3cdf3405f66cd05e2fa3dfdb81

authors: LiborStransky Propaganistas

repo: Propaganistas/Laravel-Intl


text:
Changes for Proton metaproject

Binary renamed to not conflict with metaproject (proton -> proton_cli). A few user commands updated.

Pulling in, since the proton_cli renaming is kinda important, and otherwise confusing

repo: ProtonLights/proton-cli


text:
Werkt kut omdat svrem het weer eens heeft verneukt

^ lees titel

wel beetje waar

ez

[ ] ja
[ ] nee
[ ] nee
[ ] nee
[ ] ja
[ ] dit
[ ] cette

werkrt weer ez

Ziek

authors: Prutsor Zon146 svrem

repo: Prutsor/bijbel-straattaal


text:
help with custom site with html 404 code error

I am trying to add a website to the custom part.
it is in this format:
https://domain.com/imdb-tt-id/
I use positive match option. and it works with movies that it finds.
the website cant search for imdbid but https://domain.com/imdb-tt-id/ shows the movie that it finds.
but the website returns 404 html code for movies that are not there.
and when it does it puts it in  " logged out: my-domain"
it there anyway to tell it that 404 html code is actually just a movie not found?

Can you share an actual link to website and entry for it?

Can you share an actual link to website and entry for it?

sure
a working movie
https://aramovie.xyz/tt0048570/
a non working movie. which in firefox browser console I see that it gives a 404 error.
https://aramovie.xyz/tt0048571/

repo: Purfview/IMDb-Scout-Mod


text:
Review ubo offset constants

The custom pointers could start at 9?

On review, I realised that a) my original assertion that we could start at 9 was nonsense, and b) that (I believe) the separation of blends (starting at offset 8) and entities (starting at offset 16) was unnecessary.
Therefore I have combined the two and all non-internal UBOs start at 8 whether they are for blend or entity data.

repo: PurpleKingdomGames/indigo


text:
Keep April 1st website

I don't know if this is the right place to suggest this, but I suggest that the April 1st, 2022 version of the website should be kept, but on a subdomain. For example, on free.purpurmc.org like how Discord has an easter egg at printer.discord.com.

The website is perfection btw lol

1st april is always perfection on Purpur.

I've uploaded the source code to the april-fools/2022 branch, but I don't think running & maintaining this website is a smart use of our time.

I started work on this idea yesterday. It shouldn't be hard to host / and /downloads on a different domain, then redirect all other requests to the normal domain. This means the docs and such won't fall out of date.

Closing this since it's accessible at https://geocities.purpurmc.org

repo: PurpurMC/PurpurWebsite


text:
🛑 ArchiveBox is down

In 19006f3, ArchiveBox (https://archivebox.pxlbuzzard.com) was down:

HTTP code: 503
Response time: 347 ms

Resolved: ArchiveBox is back up in 64349d4.

repo: PxlBuzzard/upptime


text:
PF11 - duplicate API names are appended with a sequence number

Hi,
Duplicate API function names are being appended with sequence names even tho if they belong to different APIs. For example:
KeyPairsSigning.getKeyPairs_1()
KeyPairsSslClient.getKeyPairs_2()
KeyPairsSslServer.getKeyPairs_3()
If the swagger would ever change the order of the APIs and you generate a new client it could break your existing code as the sequence numbers could change. Ideally the sequence numbers would get dropped.
Cheers

Hi @evdmaas,
These function names are coming directly from the Swagger file. The SDK does not interfere with the methods that are being generated using these Operation IDs, nor does it add sequencing.

authors: evdmaas teddevaal

repo: Py-Ping/py-ping-fed-sdk


text:
[liquid_handling] fix unawaited machine backend setup

lh.setup() is broken since we don't await the machine backend setup

Smh

authors: jkhales rickwierenga

repo: PyLabRobot/pylabrobot


text:
Attempting to include the sdist output tarball [...] into itself

For one of my packages, the Linux build fails with the following message:
Run messense/maturin-action@v1
Found maturin version requirement maturin>=0.13,<0.14 specified in pyproject.toml
Found maturin release from manifest: v0.13.7
Found Rust toolchain stable in rust-toolchain.toml
Pull Docker image
Cleanup build scripts artifact directory
/usr/bin/docker run --rm --workdir /home/runner/work/LiberTEM-dectris-rs/LiberTEM-dectris-rs -e DEBIAN_FRONTEND=noninteractive -e ARCHFLAGS -e _PYTHON_SYSCONFIGDATA_NAME -v /home/runner/work/LiberTEM-dectris-rs/LiberTEM-dectris-rs:/home/runner/work/LiberTEM-dectris-rs/LiberTEM-dectris-rs ghcr.io/libertem/manylinux2014_x[8](https://github.com/LiberTEM/LiberTEM-dectris-rs/actions/runs/3429314498/jobs/5714765736#step:3:9)6_64:latest /home/runner/work/LiberTEM-dectris-rs/LiberTEM-dectris-rs/run-maturin-action.sh
Install Rust
Install maturin
🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.7
🐍 Not using a specific python interpreter
💥 maturin failed
  Caused by: Failed to build source distribution
  Caused by: Attempting to include the sdist output tarball dist/libertem_dectris-0.2.2.tar.gz into itself! Check 'cargo package --list' output.
Error: The process '/usr/bin/docker' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/messense/maturin-action/v1/dist/index.js:1702:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/messense/maturin-action/v1/dist/index.js:1685:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/messense/maturin-action/v1/dist/index.js:157[9](https://github.com/LiberTEM/LiberTEM-dectris-rs/actions/runs/3429314498/jobs/5714765736#step:3:10):27)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:[10](https://github.com/LiberTEM/LiberTEM-dectris-rs/actions/runs/3429314498/jobs/5714765736#step:3:11)64:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
Error: The process '/usr/bin/docker' failed with exit code 1

Full log available here: https://github.com/LiberTEM/LiberTEM-dectris-rs/actions/runs/3429314498/jobs/5714765736
Previous builds (without configuration changes beyond now using a new maturin version), and the corresponding Mac OS / Windows builds, complete successfully. Manually building on Linux doesn't reproduce the issue, so it could be a problem in this action or how we are using it. Thanks!

It should have be filtered out by .gitignore, but somehow it didn't. I think I can change it to just ignore the sdist file.

In the meantime, you can try to change output directory to target/dist: -o target/dist

In the meantime, you can try to change output directory to target/dist: -o target/dist

Thank you, that seems to have fixed it for now!

authors: messense sk1p uellue


text:
dyld[85569]: Library not loaded: @rpath/Python3.framework

when I use VSCode to debug programs， It will show
dyld[85569]: Library not loaded: @rpath/Python3.framework/Versions/3.8/Python3

Reminds me of https://github.com/PyO3/setuptools-rust/issues/106#issuecomment-781195463 - I suspect you need to specify RPATH at some point.

This was documented in #2534

authors: chatwyn davidhewitt


text:
RFC: Fix lib_dir when cross compiling

This PR suggests a fix for #4350 , where a linker option was incorrect when cross-compiling. Change a bit the creation of the InterpreterConfig in case of cross compilation in pyo3-build-config, to take the value of PYO3_CROSS_LIB_DIR in priority if set, instead of the value provided by the sysconfigdata.
Ref: (#4350)

I will rebase and follow the required steps for contributing


text:
Refactor according to #[warn(bare_trait_objects)]

The latest nightly compiler raises warnings for Box<Trait> patterns.
So I fixed them mostly by adding dyn, except add_wrapped that I modified to take &impl Fn as its argument.

Closed because this PR is duplication of #506


text:
Callback for writing predictions

🚀 Feature
Add a callback to log the predictions of the model in the evaluation stage.
Motivation
When someone is developing a model, it can be helpful to look at its predictions. It can be pretty wasteful to run predictions during evaluation (generation for thousands of examples with a very large model) and then run the exact same model once again using a different script to get those predictions. I suggest logging the predictions after each evaluation loop.
Pitch
Sometimes aggregated metrics are not enough and we need to see with our own eyes what our models predict. Can you please add a tool that will allow us to do that during training?

@yuvalkirstain How did you imagine this feature to be used?

@yuvalkirstain Would something like this work for you? It is hard to generalize this, because outputs can be of varying types, but with extending this existing callback you should be ready to go pretty fast :)

@mathemusician Thanks for the help! :)
How the feature should be used:
I'd like to pass an argument as to which predictions should be saved, similarly to which checkpoints should be saved. For example, I want to save only the predictions from the validation epoch in which the model performed best, or I want to save the predictions from all validation epochs. Then, I will be able to access those predictions and know their corresponding step/epoch (similarly to the way we can access the saved checkpoints).
If we consider only text-to-text models (like GPT and T5) it should be easy to aggregate their inputs and predictions during validation and then to save those predictions. For example, if we consider translation, the compute_generate_metrics function is a good place to add the inputs and predictions, and after the validation epoch ends it can automatically save those predictions.
@justusschock Thanks for the help! :)
Is there an existing example that uses this class to log predictions that are generated during validation? I am not sure how to extend this base class for my purposes.

@yuvalkirstain I am not sure if we have an official example other than the one given in the documentation I linked. I am afraid, that it currently only supports predictions generated with trainer.predict because the indices of the current batch are not available during validation.
If you have your own logic on how to calculate them, you could use something like this however:

class ValidationPredictionWriter(BasePredictionWriter):
        def on_validation_batch_end(
            self,
            trainer: "pl.Trainer",
            pl_module: "pl.LightningModule",
            outputs: Optional[STEP_OUTPUT],
            batch: Any,
            batch_idx: int,
            dataloader_idx: int,
        ) -> None:
            """Called when the validation batch ends."""
            if not self.interval.on_batch:
                return
            # TODO: replace ... with your custom logic or None if you don't need this for saving.
            batch_indices = ... # originally: trainer.predict_loop.epoch_loop.current_batch_indices
            self.write_on_batch_end(trainer, pl_module, outputs, batch_indices, batch, batch_idx, dataloader_idx)

Such custom logic could for example be to include the batch indices in your batch.

@justusschock Thank you so much for this suggestion! I will sometime soon probably try to add it to my script. If it will work well I will post it here and close the issue.

We implemented it and it was easier than we thought. Thanks of much for the help. I'm posting it here in case someone will want to use it :)
class PredictionWriter(BasePredictionWriter):
    def __init__(self, dir_name: str, write_val_preds: bool):
        super().__init__()
        self.val_out_file = None
        self.write_val_preds = write_val_preds

        if self.write_val_preds:
            self.val_output_dir = Path(dir_name) / "val"
            os.makedirs(self.val_output_dir, exist_ok=True)

    def on_val_batch_end(self, trainer, pl_module, outputs, batch, batch_idx, dataloader_idx):
        if self.write_val_preds:
            _write_outputs(self.val_out_file, outputs)

    def on_val_start(self, trainer, pl_module):
        if self.write_val_preds:
            self.val_out_file = open(self.val_output_dir / 'val_preds.jsonl', 'w')

    def on_val_end(self, trainer, pl_module):
        if self.write_val_preds:
            self.val_out_file.close()

def _write_outputs(out_file, outputs):
    for output in outputs:
        out_file.write(json.dumps(output) + "\n")

repo: PyTorchLightning/lightning-transformers


text:
Access the logging directory through LightningModule or Trainer

Is there a way to access the current logging directory (e.g., lightning_logs/version_x)? I've searched the documentation and the source code but haven't found a solution yet.
I want to save some intermediate raw tensors to that directory.
Thanks,
David

For tensorboard I think you can use self.logger.log_dir, not sure about others. I think this property should be present for all the available loggers if possible.

Thanks!

repo: PyTorchLightning/pytorch-lightning


text:
prune ignore

What does this PR do?
prune ignore file in base testing as we do not use sklearn metrics anymore...
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

you can probably also get rid of the logger ignores.

we still have loggers, right?

Yes, but in testing we have them mocked, so it will work without loggers installed (ci does not install loggers anymore). Maybe just try and revert if it fails :)

Yes, but in testing we have them mocked, so it will work without loggers installed (ci does not install third party loggers anymore). Maybe just try and revert if it fails :)

ok, lets try...

authors: Borda awaelchli


text:
Step2: Add Network Upgrade 7 (Nu7) support to Zebra

This PR introduces support for Network Upgrade 7 (Nu7) in the Zebra codebase. This update is one of the steps towards enabling ZSA (Zcash Shielded Assets) support in Zebra.
Changes

Implemented Network Upgrade 7 (Nu7) support across the relevant crates.
Marked several areas with FIXME comments where further attention is needed, such as determining the proper activation height and other related details.

Closed in favor of #15

repo: QED-it/zebra


text:
Experiment. Attempt to reduce context menus (Compact mode only)

Report bugs and wishes. Stable style version in the "Releases" section

Compact mode / Reduced context menus

Redesign of context menus started

repo: QNetITQ/WaveFox


text:
Master

Hi, this fixes a crazy errror reported here:
https://github.com/QQuick/Transcrypt/issues/173

@JdeH : Please keep in mind if possible that the CI tester checks the message div like this:
if not 'green' in res and not 'succeeded' in res:
=> so if you would remove green AND change "suceeded" all tests of CI tool will break.
Sorry for the screenscraping approach but as long as you don't change both of these it should be working.

I'll be sure to keep those 'keywords' in the message id.
Maybe later on we do something with an invisible element, but there's absolutely no hurry with that (if at all).

authors: AXGKl JdeH

repo: QQuick/Transcrypt


text:
想问下可以直接取期货的主力连续行情吗

刚开始熟悉quantaxis,之前一直在用天勤

可以 @dbsxdbsx  RBL8  主力合约  RBL9 指数合约

好的谢谢

authors: dbsxdbsx yutiansut

repo: QUANTAXIS/QUANTAXIS


text:
Swap pt_comm_screate and pt_comm_sopen, reduce extension's response time

Invite @flabby to review.

handle push request #32, make cmdtool  to create data file instead of extension.

authors: flabby monque


text:
pika和huststore的区别

https://github.com/Qihoo360/huststore
pika和huststore相比，都是360开发的， 区别是什么？

pika 的场景定位非常明确, 就是一个大容量的redis. 解决redis的内存瓶颈的问题. 在这种情况之下, 希望用户不需要修改任何代码就可以进行这个迁移.
然后从可维护性的角度来说, 希望这个服务是开发给DBA使用的, 而不是给开发人员. 因此易用性上来说应该还是做得可以的
huststore 是公司内部另外一个团队开发的, 应该也有对应的使用场景, 我们还不太了解.

authors: baotiao wangmang


text:
Access To Raw Data, Images, Calibration

Hello!
Thank you very much for publishing this really cool dataset. I wanted to know, is it possible to have access to the aerial views and their calibration that allowed you to generate the data?
Best regards

+1

Thanks for publish a great dataset like this! Is it convenient to publish the aerial images and cooresponding camera files?

authors: IanCher nikste wyc-Chang

repo: QingyongHu/SensatUrban


text:
minor changes for JOSS paper

Summary
Details and comments

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

authors: CLAassistant danielskatz

repo: Qiskit-Extensions/qiskit-dynamics


text:
Allow runtime program author to retrieve program data

What is the expected behavior?
Qiskit Runtime server now supports retrieving program data by the author. See the API doc: https://runtime-us-east.quantum-computing.ibm.com/openapi/#/Programs/get-program

5

repo: Qiskit-Partners/qiskit-ibm


text:
declaring physical-qubits

In section Types and Casting -> Physical Qubits, the specification refers to the possibility of referring to  Physical Qubits. However, the specification is not explicit about declaring physical qubits or if they just exists. A clarification would be great.

@1ucian0 can you add a PR clarifying the language? A general qubit can be declared via an identifier. If we decide we want to reference a particular qubit in the hardware, we use a physical qubit reference. Physical qubits must be declared before use, which is done w/ the qubit $N syntax.

I think the notion is that they just exist. So, no need to declare them.

I prefer taking the approach where we declare them in some standardized header that may be included. This seems more consistent for the language, and we do not have to worry about components popping into existence.
Eg.,
// backend.qasm

qubit $0;
qubit $1;

// user_program.qasm

OPENQASM 3.0;

include "backend.qasm";
...
defcal cx $0, $1 {
   ....
}

I wrote earlier against the '$' syntax, but if the '$' syntax prevails, then they probably don't require declaration, as the syntax is apparently unambiguous and easy to parse.

@taalexander to me, physical qubits are akin to registers in a traditional CPU which are not declared --- they just exist. Maybe it would be helpful to tell your compiler what physical qubits exist for a particular backend, but that seems like something outside the language itself.

repo: Qiskit/openqasm


text:
Don't install terra from master in tests

Summary
Now that terra 0.8.x is out ignis doesn't have any requirements on
terra >0.8.x now. However it's not keeping up with the breaking changes being
made in terra's master branch. For the time being remove the step
install terra from master to avoid breakages by terra development.
When/if we need to ensure compatibility with a newer version of terra we
can bump the minimum version and add terra from master back to the
test environments.
Details and comments

@dcmckayibm this is needed because https://github.com/Qiskit/qiskit-terra/pull/2414 broke the tomography module. The other option is to change the module for the new usage and bump the required terra version to >=0.9.0 and continue running from master. We'll have to do that eventually, but the failures were blocking some of my simple housekeeping patches so I thought it will be better to just do this and revert to the 0.9 release and handle the terra breaking changes when we actually need to as opposed to on demand. (especially considering the rate of development on ignis vs terra)

repo: Qiskit/qiskit-ignis


text:
please is there a version of quantum gan with breast_canser.py dataset to reproduce it ?

Environment

Qiskit Machine Learning version:
Python version:
Operating system:

What is happening?
i can not run quantum gan with breast_canser dataset
How can we reproduce the issue?
run qgan with breast_cancer dataset
What should happen?
i can not run quantum gan with breast_canser dataset
Any suggestions?
No response

This is not a proper issue, but rather a question.
Please post questions in the Qiskit slack workspace here: http://qiskit.slack.com, or on a quantum computing stackexchange: https://quantumcomputing.stackexchange.com/ or in another media. Thank you.

repo: Qiskit/qiskit-machine-learning


text:
Numeric layout in cython swap mapper does not support Layout constructed from list format

Information

Qiskit Terra version: master
Python version:
Operating system:

What is the current behavior?
As discussed in #2032, but not documented or used anywhere, it is possible to generate a layout mapping that is neither one-to-one or onto using a list input.  This breaks the nlayout_from_layout routine as a valid bijective mapping is assumed there.
from qiskit import *
from qiskit.converters import circuit_to_dag
from qiskit.mapper.layout import Layout
from qiskit.transpiler.passes.mapping.cython.stochastic_swap.utils import nlayout_from_layout
qr = QuantumRegister(3, 'qr')
qc = QuantumCircuit(qr)
qc.h(qr[0])
qc.cx(qr[0], qr[1])
dag = circuit_to_dag(qc)
layout = Layout([None]*13+[(qr,2)]+[None]*4+[(qr,0), (qr,1)])
nlayout_from_layout(layout,dag.qregs, 2)

TypeError: 'NoneType' object is not subscriptable

Steps to reproduce the problem
What is the expected behavior?
Suggested solutions

We are not supporting this list format any more so closing.

repo: Qiskit/qiskit-terra


text:
Impossible to understand Q-register labels in transpiled circuits

Information

Qiskit Terra version: master
Python version:
Operating system:

What is the current behavior?
It is impossible to tell what the labeling means for qubits in a transpiled circuit:

I understand that it is supposed to show the mapping, but anyone else coming across this may not know that.  And it is unclear what term goes with what.  Does the bracket label mean physical or virtual?  Why do they have the same labels?
The figures need to be drawn in such a way as to make this obvious to anyone coming across the plot.  This also needs to be documented somewhere, e.g. an example.
Steps to reproduce the problem
What is the expected behavior?
Suggested solutions

I agree we can and should improve this somehow, the same format is used for all the drawers not just mpl. Based on the release notes for the addition of this this feature: https://qiskit.org/documentation/release_notes.html#release-notes-0-9-0-new-features it's clearer that the value in the paren is the virtual qubit and outside is the physical. Do you have any suggestions on how we can make this clearer? I was thinking maybe an index or something that says (virtual) physical.

I was thinking q[0] -> p[0] where p stands for physical.  But still I think an explicit labeling would be good.

what about q[0] -> 0, so it's clear the physical ones are integers, like in the coupling map?

That works.

That works.

Implemented in #3663

authors: 1ucian0 mtreinish nonhermitian


text:
Fixing issue 5543 avoid collecting non atomic nodes in 1q runs

Summary
Fixes #5543
Avoid collecting operations such as reset and delay by adding a test on decompositions in the filter conditions.
Details and comments
What we want to do here is to define atomic ops as those that do not have decompositions in the definition. This excludes those two operations but take note that it also excludes the identity gate. The patch consists in adding an additional condition to the filter.

This solution seems to work for #5543 while potentially leaving the door open in the future for decomposing "atomic" operations.

This solution seems to work for #5543 while potentially leaving the door open in the future for decomposing "atomic" operations.


text:
HLSConfig option to run multiple plugins and to choose the best decomposition

Summary
This commit allows to run multiple synthesis methods for a given higher-lever-object and choose the best decomposition according to the specified criterion.
Specifically, it introduces two new options to HLSConfig: plugin_selection and plugin_evaluation_fn and updates the HighLevelSynthesis traspiler pass accordingly.
The argument plugin_selection can be set either to "sequential" or to "all". If set to "sequential" (default), for every higher-level-object the HighLevelSynthesis pass will consider the specified methods sequentially, in the order they appear in the list, stopping at the first method that is able to synthesize the object. If set to "all", all the specified methods will be considered, and the best synthesized circuit, according to plugin_evaluation_fn will be chosen. The argument plugin_evaluation_fn is an optional callable that evaluates the quality of the synthesized quantum circuit; a smaller value means a better circuit. When
set to None, the quality of the circuit is its size (i.e. the number of gates that it contains).
Usage Example:
from qiskit import QuantumCircuit
from qiskit.circuit.library import LinearFunction
from qiskit.synthesis.linear import random_invertible_binary_matrix
from qiskit.transpiler.passes import HighLevelSynthesis, HLSConfig

# Create a circuit with a linear function
mat = random_invertible_binary_matrix(7, seed=37)
qc = QuantumCircuit(7)
qc.append(LinearFunction(mat), [0, 1, 2, 3, 4, 5, 6])

# Run different methods with different parameters,
# choosing the best result in terms of depth.
hls_config = HLSConfig(
    linear_function=[
        ("pmh", {}),
        ("pmh", {"use_inverted": True}),
        ("pmh", {"use_transposed": True}),
        ("pmh", {"use_inverted": True, "use_transposed": True}),
        ("pmh", {"section_size": 1}),
        ("pmh", {"section_size": 3}),
        ("kms", {}),
        ("kms", {"use_inverted": True}),
    ],
    plugin_selection="all",
    plugin_evaluation_fn=lambda circuit: circuit.depth(),
)

# synthesize
qct = HighLevelSynthesis(hls_config=hls_config)(qc)

In the example, we run multiple synthesis methods with different parameters, choosing the best circuit in terms of depth. Note that optimizing circuit.size() would instead pick a different circuit.
Additional comments:
This should be rebased on top of #12107.
One question is whether the evaluation criterion plugin_evaluation_fn should be specified for every (type of) higher-level-object separately or for all higher-level-objects at once. I have implemented the latter approach, with plugin_evaluation_fn being a part of the HLSConfig (and not of each individual object). This does not prevent from also implementing the refined approach in the future if seemed useful.
Right now the evaluation function returns an int, but maybe it should return a float or something else. The current convention is "the smaller the better", so it allows things like lambda qc: qc.depth(), lambda qc: qc.size() or lambda qc: 10 * qc.depth() + qc.size().
At some point we discussed that we should extend the plugin interface to return DAGCircuit in addition to QuantumCircuit, so that we can prevent unnecessary conversions between the two representations when possible. I still think this is a good idea, but now the question becomes whether we should force the API for evaluation_fn to work on both representations?

Pull Request Test Coverage Report for Build 8781219338
Details

46 of 48 (95.83%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 89.297%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/transpiler/passes/synthesis/high_level_synthesis.py
45
47
95.74%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
4
93.13%

Totals

Change from base Build 8769255284:
0.02%

Covered Lines:
60371

Relevant Lines:
67607

💛  - Coveralls

@ShellyGarion , @ElePT, thanks for the review. Some of the typos were already pointed out by Sebastian, and I have fixed these in #12316 without realizing that you have pointed these out here.

authors: alexanderivrii coveralls

repo: Qiskit/qiskit


text:
Change DOI badge to poin to the last DOI

The DOI badge is pointing to an old version of Qiskit instead of the latestdoi.

Do you think we should update doi reference in the generate bibtex script too?

yeap... it should. Done in 6b93aa390

yeap... it should. Done in 6b93aa3

Actually you shouldn't do it just in there, that file is autogenerated at release time (and will be overwritten today by 0.25.1). You need to update the generator script: https://github.com/Qiskit/qiskit/blob/master/tools/generate_bibtex.py#L12

done


text:
Support graph attributes in GraphML reader.

Summary
GraphML documents may declare attributes/keys for node, edge, graph or all graph elements.
This commit adds support for attributes with domain graph and all by populating Py(Di)Graph.attrs
field with a dictionary since the first iteration of our GraphML reader would raise if users tried to
load a graphml file with keys declared for these domains.
Closes #607

Pull Request Test Coverage Report for Build 2296480607

62 of 67 (92.54%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 97.151%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/graphml.rs
62
67
92.54%

Files with Coverage Reduction
New Missed Lines
%

src/graphml.rs
2
95.69%

src/shortest_path/all_pairs_dijkstra.rs
2
98.54%

Totals

Change from base Build 2296261040:
-0.01%

Covered Lines:
12172

Relevant Lines:
12529

💛  - Coveralls

authors: coveralls georgios-ts

repo: Qiskit/retworkx


text:
On premises job queue

Hi,
I'm seeing that the default implementation of IJobQueueHandler (JobQueue) works with the cloud platform, completely hiding the internals. Is there a local/desktop/on-premises implementation of IJobQueueHandler that's able to use some sort of ESB backend?
Thanks

The LEAN project is intended to be perfect for an individual / start up fund. If a larger organization would like to use LEAN we prefer they work with QuantConnect and we form a service agreement. If this fits your case please get in touch at support@quantconnect.com and we can discuss how we can best help your company.

authors: jaredbroad lnaie

repo: QuantConnect/Lean


text:
[Bug] Fragile math during notebook to html conversion

If math blocks contain + or - then the $$ environment is not being respected during the conversion from ipynb to html and gets interpreted incorrectly.
Example:
.. math::
    :label: firm_dynam_ee

    s_{t+1} = e_{t+1} \mathbb{1}\{s_t < \bar s\}
       +  (a_{t+1} s_t + b_{t+1}) \mathbb{1}\{s_t \geq \bar s\}

This is a known issue of nbconvert
https://github.com/jupyter/nbconvert/issues/404

one option would be to remove all newlines from the source text of the math node when writing to a notebook (when targeting html)

repo: QuantEcon/sphinxcontrib-jupyter


text:
Square bracket operator for xgenerator not working

The square bracket operator for xgenerator is not working like other implementations (for example xarray), the following code:
auto a = xt::eye<int>(9);
std::cout << "a (xgenerator): ";
for (std::size_t i = 0; i < 9; ++i)
{
    std::cout << a[i] << ", ";
}
std::cout << std::endl;

auto b = xt::xarray<int>({{1, 0, 0},
                          {0, 1, 0},
                          {0, 0, 1}});
std::cout << "b (xarray): ";
for (std::size_t i = 0; i < 9; ++i)
{
    std::cout << b[i] << ", ";
}
std::cout << std::endl;

outputs:
a (xgenerator): 1, 0, 0, 0, 0, 0, 0, 0, 0,
b (xarray): 1, 0, 0, 0, 1, 0, 0, 0, 1,

The behavior for when you pass a lesser number of argument than the actual dimension is still considered undefined.
Although eventually, we intend on having the same behavior for all expressions as for xarray, that is to make it equivalent to prepend zeros until you match the dimension.

@wolfv gave me the same answer on friday, but I think it's weird to say that it's an "undefined behavior" while it's explicitly defined, for example in xcontainer:
template <class D>
inline auto xcontainer<D>::operator[](size_type i) -> reference
{
    return operator()(i);
}

Having a defined behavior in some particular cases is not contradictory with general undefined behavior.
Undefined behavior here is more like "implementation of the target general behavior not finished, so we cannot guarantee the same behavior for all kinds of expressions".

I don't think that we have defined that behavior even for arrays. We just started changing the behavior of expressions to match the desired one, and are not done with it.

authors: JohanMabille SylvainCorlay martinRenou

repo: QuantStack/xtensor


text:
read_dimensions returns value error.

I have the following program
import pandas as pd
import numpy as np
import quantipy as qp
meta, data = qp.read_dimensions('final.mdd', 'final.ddf')
When I run the program, I get the following error message.

ValueError                                Traceback (most recent call last)
 in ()
3 import quantipy as qp
4
----> 5 meta, data = qp.read_dimensions('final.mdd', 'final.ddf')
/home/brent/quantipy/quantipy/quantipy/core/tools/dp/io.pyc in read_dimensions(path_mdd, path_ddf)
294 def read_dimensions(path_mdd, path_ddf):
295
--> 296     meta, data = quantipy_from_dimensions(path_mdd, path_ddf)
297     return meta, data
298
/home/brent/quantipy/quantipy/quantipy/core/tools/dp/dimensions/reader.pyc in quantipy_from_dimensions(path_mdd, path_ddf, fields, grids)
856 def quantipy_from_dimensions(path_mdd, path_ddf, fields='all', grids=None):
857
--> 858     ddf, levels = quantipy_clean(ddf_to_pandas(path_ddf))
859     L1 = ddf['HDATA'].copy()
860     L1.drop('LevelId_HDATA', axis=1, inplace=True)
/home/brent/quantipy/quantipy/quantipy/core/tools/dp/dimensions/reader.pyc in quantipy_clean(ddf)
144             while True:
145                 parent = ddf['Levels'].loc[child,'ParentName']
--> 146                 if parent=='None':
147                     break
148                 id = 'id_'+parent
/home/brent/.local/lib/python2.7/site-packages/pandas/core/generic.pyc in nonzero(self)
915         raise ValueError("The truth value of a {0} is ambiguous. "
916                          "Use a.empty, a.bool(), a.item(), a.any() or a.all()."
--> 917                          .format(self.class.name))
918
919     bool = nonzero
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
Here are my installation steps.
Installed on Ubuntu 17

Install Anaconda2.and update after installation
Clone Quantipy repository
set up and activate a virtual environment
pip install step.

I am able to run a test script on the CSV files.  But not the DDF.  Any help would be appreciated,

Hi @bsthinker!
Are you running on the develop branch of Quantipy (not sure though if that would fix it if you aren't)? Any chance you could provide us with the ddf/mdd you're using (or a reduced toy example  from that)?
Is only that one failing or can't you convert from any Dimensions sources?
@jamesrkg Let's look at this next week!

I'm using the master branch on git hub.  How/what do I do to select a different version?  I will test other MDDs/DDFs. If I still have problems, I will look at getting a suitable data file to you.

I tried the museum data set and the household data set and am unable to work with either of those.
Same program, but pointing to musesum.mdd and ddf produces the following error.
C:\Users\brent\Anaconda3\envs\qp\lib\site-packages\pandas\tools\merge.py:536: UserWarning: merging between different levels can give an unintended result (1 levels on the left, 2 on the right)
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "test.py", line 3, in
meta, data = read_dimensions("Museum.mdd", "Museum.ddf")
File "c:\users\brent\quantipy\quantipy\core\tools\dp\io.py", line 296, in read_dimensions
meta, data = quantipy_from_dimensions(path_mdd, path_ddf)
File "c:\users\brent\quantipy\quantipy\core\tools\dp\dimensions\reader.py", line 897, in quantipy_from_dimensions
meta, ddf = mdd_to_quantipy(path_mdd, data=L1)
File "c:\users\brent\quantipy\quantipy\core\tools\dp\dimensions\reader.py", line 680, in mdd_to_quantipy
meta, columns, data = get_columns_meta(xml, meta, data, map_values=True)
File "c:\users\brent\quantipy\quantipy\core\tools\dp\dimensions\reader.py", line 639, in get_columns_meta
column = begin_column(xml, col_name, data)
File "c:\users\brent\quantipy\quantipy\core\tools\dp\dimensions\reader.py", line 446, in begin_column
var = xml.xpath(xpath_var)[0]
IndexError: list index out of range
For the household data set I get the following error.
Traceback (most recent call last):
File "test.py", line 3, in
meta, data = read_dimensions("household.mdd", "household.ddf")
File "c:\users\brent\quantipy\quantipy\core\tools\dp\io.py", line 296, in read_dimensions
meta, data = quantipy_from_dimensions(path_mdd, path_ddf)
File "c:\users\brent\quantipy\quantipy\core\tools\dp\dimensions\reader.py", line 886, in quantipy_from_dimensions
force_single=True)
File "c:\users\brent\quantipy\quantipy\core\tools\dp\dimensions\reader.py", line 278, in as_L1
child = child.join(parent_level_id[level_id])
File "C:\Users\brent\Anaconda3\envs\qp\lib\site-packages\pandas\core\frame.py", line 4555, in join
rsuffix=rsuffix, sort=sort)
File "C:\Users\brent\Anaconda3\envs\qp\lib\site-packages\pandas\core\frame.py", line 4569, in _join_compat
suffixes=(lsuffix, rsuffix), sort=sort)
File "C:\Users\brent\Anaconda3\envs\qp\lib\site-packages\pandas\tools\merge.py", line 62, in merge
return op.get_result()
File "C:\Users\brent\Anaconda3\envs\qp\lib\site-packages\pandas\tools\merge.py", line 556, in get_result
rdata.items, rsuf)
File "C:\Users\brent\Anaconda3\envs\qp\lib\site-packages\pandas\core\internals.py", line 4699, in items_overlap_with_suffix
to_rename)
ValueError: columns overlap but no suffix specified: Index([u'LevelId'], dtype='object', name=u'column')

BTW, if the error message about
if parent =='None' is the point of failure, then I would think you would want something like
if parent.any()=='None'
fwiw.
I appreciate your looking into this.

Thanks for double-checking. These are the Dimensions docs. example datasets, right? I guess we must have them somewhere as well. We'll investigate what's going wrong here.
As for for the develop branch, easiest would be: You can either use a version control tool as SourceTree (with a UI) or the gitbash command line to checkout the develop branch. You could also simply switch to the develop branch in GitHub, download the zipped lib folder and then simply copy over the folders/files into your current installation:

I downloaded the develop branch and  now only get one error message. Which appears to be progress.  But I still can't read dimensions.
(qp) brent@brent-Blade-Stealth:~/DDF$ python test.py
Traceback (most recent call last):
File "test.py", line 9, in
meta, data = qp.read_dimensions('household.mdd', 'household.ddf')
File "/home/brent/quantipy/quantipy/quantipy/core/tools/dp/io.py", line 296, in read_dimensions
meta, data = quantipy_from_dimensions(path_mdd, path_ddf)
File "/home/brent/quantipy/quantipy/quantipy/core/tools/dp/dimensions/reader.py", line 858, in quantipy_from_dimensions
ddf, levels = quantipy_clean(ddf_to_pandas(path_ddf))
File "/home/brent/quantipy/quantipy/quantipy/core/tools/dp/dimensions/reader.py", line 70, in ddf_to_pandas
"The 'Levels' table was not found. Your DDF may be empty"
KeyError: "The 'Levels' table was not found. Your DDF may be empty or corrupt."

Right, thank you. We're currently a bit busy solving some production critical  requests but will try to investigate it this week. Will keep you posted!

authors: alextanski bsthinker

repo: Quantipy/quantipy


text:
Update QMChatViewController to use the latest SDWebImage v5.9.0 pod.

Help avoid duplicate issue reports, check existing issues
Environment details
iOS version, Quickblox iOS SDK version, QMChatViewController version
iOS 13.7, QB v 2.17.4
Did this work before?
Expected behavior
Actual behavior
Logs
Attach full logs that will describe your problem (please, use github gist)
Steps to reproduce the behavior
Any others comments?

What do you recommend as an alternative to this? Thanks!

You can use our official SDKs and samples.

authors: QB-nikolay-zolotarov haarj

repo: QuickBlox/QMChatViewController-ios


text:
Docker Support

This PR i meant to add support for quizzle to run on docker

looks good but why'd you change port to 5001

authors: SawshaDev SemiConductorShortage

repo: Quizzle-Team/Quizzle


text:
Localization (Translation)

It is sad that the site is only in English - I propose to translate.
I am ready to help in the translation into Russian.
(For example, you can use Weblate, or any other service. It is completely free for open source projects.)

❗ This is by no means an advertisement for Weblate. In my opinion, this service is best suited for translating open-source projects, because it has open source code itself...

Hi, thank you for your message. The site is not only in English, it depends on the language/country you set in the Qwant settings (it could be Russian). To translate, we are currently using : https://github.com/Qwant/qwantmaps/blob/master/contributing.md#translating

repo: Qwant/qwantmaps


text:
[BUG] Using eos_token, but it is not set yet.   AttributeError: 'NoneType' object has no attribute 'join'

是否已有关于该错误的issue？ | Is there an existing issue for this?

[X] 我已经搜索过已有的issues | I have searched the existing issues

当前行为 | Current Behavior
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/webui/chat.py", line 83, in predict
for new_text in self.stream_chat(
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 43, in generator_context
response = gen.send(None)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/chat/stream_chat.py", line 91, in stream_chat
gen_kwargs, _ = self.process_args(query, history, prefix, **input_kwargs)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/chat/stream_chat.py", line 33, in process_args
prompt = self.template.get_prompt(query, history, prefix, self.tokenizer.eos_token)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/extras/template.py", line 24, in get_prompt
return eos_token.join(map(lambda x: x[0] + x[1], self._format_example(query, history, prefix)))
AttributeError: 'NoneType' object has no attribute 'join'
Using eos_token, but it is not set yet.
Traceback (most recent call last):
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/routes.py", line 442, in run_predict
output = await app.get_blocks().process_api(
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/blocks.py", line 1392, in process_api
result = await self.call_function(
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/blocks.py", line 1111, in call_function
prediction = await utils.async_iteration(iterator)
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/utils.py", line 346, in async_iteration
return await iterator.anext()
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/utils.py", line 339, in anext
return await anyio.to_thread.run_sync(
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/utils.py", line 322, in run_sync_iterator_async
return next(iterator)
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/gradio/utils.py", line 691, in gen_wrapper
yield from f(*args, **kwargs)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/webui/chat.py", line 83, in predict
for new_text in self.stream_chat(
File "/home/zengzijian/miniconda3/envs/py10_backup/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 43, in generator_context
response = gen.send(None)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/chat/stream_chat.py", line 91, in stream_chat
gen_kwargs, _ = self.process_args(query, history, prefix, **input_kwargs)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/chat/stream_chat.py", line 33, in process_args
prompt = self.template.get_prompt(query, history, prefix, self.tokenizer.eos_token)
File "/home/zengzijian/ai_code/LLaMA-Efficient-Tuning/src/llmtuner/extras/template.py", line 24, in get_prompt
return eos_token.join(map(lambda x: x[0] + x[1], self._format_example(query, history, prefix)))
AttributeError: 'NoneType' object has no attribute 'join'
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?
No response

It seems this issue has been fixed in the newest version of LLaMA-Efficient-Tuning. Please update the package to see if this issue still exists.
Downstream issue: https://github.com/hiyouga/LLaMA-Efficient-Tuning/issues/385
General note: Now, special tokens can be added to QwenTokenizer when initialized by simply passing <...>_token="...". But please do check the meaning of the special tokens are used consistently.

close as resolved; please reopen this if the problem exists; thank you for your feedback!


text:
qwen2Vl+vllm框架如何添加视频内容

QWen2VL是支持这个type调用视频，但是我用vllm框架+qwen2vl 7b 权重，那边返回报错。
{'object': 'error', 'message': 'Unknown part type: video_url', 'type': 'BadRequestError', 'param': None, 'code': 400}
{'object': 'error', 'message': 'Unknown part type: video', 'type': 'BadRequestError', 'param': None, 'code': 400}
messages = [
{
"role": "user",
"content": [
{
"type": "video",
"video": [
"file:///path/to/frame1.jpg",
"file:///path/to/frame2.jpg",
"file:///path/to/frame3.jpg",
"file:///path/to/frame4.jpg",
],
},
{"type": "text", "text": "Describe this video."},
],
}
]

vLLM現在還不支持file:///視頻，請在vLLM那邊開一個新的請求。


text:
Patch 1

v,

while the commit itself does seem pretty good (i'm assuming this is primarly cvar help/usage text, find command, that sorta thing), this really needs some cleaning up to be merged i think, especially since alot of the code isn't exactly self-documenting with the number of ida variable names in it


text:
Adding mlflow example

I have added two linear regression examples.

In linear_regression_local, all the metadata and artifacts would be stored in a local directory.
In linear_regression_remote, all the metadata and artifacts would be stored in mlflow-server stack .
Also, I have created upload_data_to_postgres.py file, to upload example dataset to local postgres databse and added instruction in README to how to do  so.

Hey @yatharthranjan, thanks for the review. I have made the mentioned changes. Let me know if anything else is needed.

Hey @yatharthranjan, thanks for the review. I have made the mentioned changes. Let me know if anything else is needed.

repo: RADAR-base/model-builder


text:
Solid Overlay Issue

In most recent update, the solid overlay option remains gray even for nuclei that are not finished yet. These nuclei do not have the "done" or "verified" options checked. Toggling the solid overlay on and off does not fix their color, but the outline overlay is the correct color. In the image, the same layer is displayed on in the 3D and 2D views. The 3D view and side bar indicate that all the nuclei in this layer should be colored, but they are all gray.

Can you send me the image file, segmentation file, and segmentation json file you are using?

@jadehardwick , just wanted to make sure you saw my comment above.

Looks like this was an issue when loading old (pre v0.4.3) json files, which didn't contain verified info, into v0.4.3. I've fixed the problem, which will be in the next release.
Note: you should be able to manually toggle the Done status to fix the problem for a given nucleus in the meantime.

authors: davidborland jadehardwick

repo: RENCI/Segmentor


text:
adding devtools::check() to command palette

What problem did you solve?
while the majority of devtools::* package develop/build shortcuts were available, devtools::check() was missing.
(If you have)Screenshot

(If you do not have screenshot) How can I check this pull request?
Build version > Cmd + Shift + P > Type R: Check > Press Enter

I wonder if it would be worth moving away from the runTextInTerm paradigm for these commands (I.e. commands that don't influence/affect the R environment). Is there a benefit to running in the terminal as opposed to a task? We have the devtools::check task definition but iirc no command palette bbinding

I think it should be a task instead of sending code to terminal.

I believe that's how RStudio treats it as well, for whatever that's worth. Should that be in the scope of this PR though?

I think for this PR, it would probably be worth pointing the command palette to the task binding. We can do the same for the other command palette bindings in a future PR

Understood. Just to be transparent, that's likely outside of my skill set

No worries, you're 90% there already! I think you would only need to change the command and its arguments. E.g., in my keybindings I have the following:
{
  "key": "ctrl+shift+t",
  "command": "workbench.action.tasks.runTask",
  "args": "R: Test"
},

okay, I think this is the solution you alluded to, @ElianHugh, I appreciate the pointer. I did a bit of research and there's definitely more complex (and I think appropriate) ways to accomplish this. see: microsoft/vscode#40758.
any how. I took a couple of liberties in terms of naming and organization. I wanted to be sure the commands that match Check, which execute outside of the Terminal, all had tasks. so I added a task for Build and then grouped these task commands separately from the other editor independent commands.
I then categorized these "Package" command contributions separately in the because, as I was testing, it made the command in the palette clearer.
Feel free to revert/change whatever!

Thank you for the nice work you've done! The commands work nicely (barring the one issue I've noted above), and I think the naming is appropriate too. I don't have a strong opinion re: naming the commands r.commandTask, but it may cause unexpected  issues for VSCode-R users that have shortcuts pointing to the old command names (e.g. r.test vs r.testTask)

Anything else to add? @renkun-ken

LGTM sorry for late reply!

authors: ElianHugh alex-gable renkun-ken

repo: REditorSupport/vscode-R


text:
🛑 CEOTR Home Page loads is down

In 5a040b6, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 48f2f9a after 2 minutes.

repo: RKTowse/upptime


text:
🛑 Sensor Tracker login is down

In e49ba5b, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in fb88a72 after .


text:
🛑 Sensor Tracker login is down

In 05d1c25, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 0ffd27e after 1 minute.


text:
🛑 CEOTR Home Page loads is down

In 942b7fb, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 3a672e0 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 51d5735, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 107 ms

Resolved: Sensor tracker login is back up in 1e34954.


text:
🛑 CEOTR Home Page loads is down

In 1e23981, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in d77ea9d after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 670b2bf, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 54bf419 after 1 minute.


text:
🛑 Sensor Tracker login is down

In 67fc49d, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 66d9205 after 1 minute.


text:
🛑 CEOTR Home Page loads is down

In d2fd620, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in bcccef3.


text:
🛑 CEOTR Home Page loads is down

In f41107a, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 4c98ea0.


text:
🛑 CEOTR Home Page loads is down

In 3a2559c, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in ff1e812 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In d9a1c71, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 04d69ea after .


text:
🛑 Sensor Tracker login is down

In 5d08799, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 107 ms

Resolved: Sensor tracker login is back up in 54218fb.


text:
🛑 Sensor Tracker login is down

In 3798a8c, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 5ab968a after .


text:
🛑 CEOTR Home Page loads is down

In 53c5475, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 5d4ba92 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 5c58970, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in c462a52.


text:
🛑 Sensor Tracker login is down

In f805971, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 0d56a21 after .


text:
Fix PartyMemberBot

PartyMemberBot is a bot type that allows your code to take over the human player. This was previously used for entering a free play match and allowing rlbot to drive your car around.

Unfortunately this isn't possible, but we can now make rlbot start the match in freeplay

authors: VirxEC ddthj

repo: RLBot/core


text:
Requsitions vendors

About the PR

Adds requisitions vendors from CM13. Some functionality (like ammo vendor converting magazines into boxes, and it dispensing onto the table instead of hand) is unimplemented because i am too smooth brained to code, should be nice to have for requisitions regardless
Unimplemented items have been commented out
Requires #2664 to look neatly in a crew folder so a draft PR for now
Why / Balance

Reduces requisitions suffering
Media

Current list of available items

Vendors visuals

Breaking changes

Changelog

:cl:

add: Requisition vendors

god bless

authors: Dorragon DrSmugleaf


text:
More shoes

About the PR

Ports colored shoes.
Ports more laceup shoes and updates texture for existing one.
Ports boots for ERT (PMC, PMC Commando, Van Bandolier, Royal Marines, CBRN).
Fixes "No bayonet in Brown and Jungle marine boots." (idk if theres an issue for that).

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

9 jobs instantly failed. :(

Test was dirty-disposed
:(

shoe major


text:
Manipulation de l'IconSet

Yoh
Est-il possible d'afficher l'icône d'un objet sous forme de picture avec RME selon l'ID d'un objet ou l'index de l'icone ?
Merci. :)

@BastienDuplessier @Jauke @Grimimi @mspawn @hyperaho no Windows. Quelqu'un pour le faire ?
On en avait parlé et une issue en fait référence.

doublon avec #77

repo: RMEx/RME


text:
RequestFriendship should be passed a Player

Source: CoreGui.RobloxGui.CoreScripts/PlayerListScript2
Most recently this error occurs on line 1047.

Verified. Will work on a fix for this.

authors: TheSneak jmargh

repo: ROBLOX/Core-Scripts


text:
failed bringup Turtlebot3 OpenManipulator

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ ] Burger
[ ] Waffle
[ x] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ x] ROS2 Humble
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[ x] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ x] Ubuntu 22.04
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Ubuntu 20.04 LTS (Focal Fossa)
[ x] Ubuntu 22.04 LTS
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

ros2 launch turtlebot3_manipulation_bringup hardware.launch.py

Copy and Paste the error messages on terminal.

[INFO] [launch]: All log files can be found below /home/ubuntu/.ros/log/2024-02-06-18-34-44-809728-ubuntu-5295
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'controller_manager' not found, searching: ['/home/ubuntu/turtlebot3_ws/install/turtlebot3', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_teleop', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_bringup', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_node', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_teleop', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_navigation2', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_moveit_config', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_hardware', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_bringup', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_description', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_cartographer', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_example', '/home/ubuntu/turtlebot3_ws/install/turtlebot3_description', '/home/ubuntu/turtlebot3_ws/install/ld08_driver', '/opt/ros/humble']"

Please describe the issue in detail.

I want to use the OpenManipulator on my TurtleBot3. Teleop, Navigation and SLAM worked fine. After doing this steps from the manual:

     $ cd ~/turtlebot3_ws/src/
      $ git clone -b humble-devel https://github.com/ROBOTIS-GIT/turtlebot3_manipulation.git
      $ cd ~/turtlebot3_ws && colcon build --symlink-install
 $ export OPENCR_PORT=/dev/ttyACM0
 $ export OPENCR_MODEL=turtlebot3_manipulation
 $ rm -rf ./opencr_update.tar.bz2
 $ wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS2/latest/opencr_update.tar.bz2
 $ tar -xvf opencr_update.tar.bz2
 $ cd ./opencr_update
 $ ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr

I had nor error messages. But when I try to start the bringup I get the error message from above. I'm a total beginner here. So maybe it's sth trivial what I've forgotten.
Do you know what to do?

Are you saying that after following the TurtleBot SBC setup guide, everything worked well, but after setting up the SBC according to the Open Manipulator guide, the bringup is no longer functioning?
The error message you mentioned shows 'package 'controller_manager' not found'.
Did you run the following command in the terminal?
$ sudo apt install ros-humble-dynamixel-sdk ros-humble-ros2-control ros-humble-ros2-controllers ros-humble-gripper-controllers ros-humble-moveit

And when you try below command, if you already have an /opencr_update folder in your sbc, I recommend removing it first and then trying the command below
 $ export OPENCR_PORT=/dev/ttyACM0
 $ export OPENCR_MODEL=turtlebot3_manipulation
 $ rm -rf ./opencr_update.tar.bz2
 $ wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS2/latest/opencr_update.tar.bz2
 $ tar -xvf opencr_update.tar.bz2
 $ cd ./opencr_update
 $ ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr

@chris9807 Apologies for the delayed response. We have assembled a TF team to address TurtleBot3 issues and are actively working on resolutions. Please refer to GYUH13's answer for initial guidance. This issue will be closed due to prolonged inactivity. If the problem persists, feel free to reopen it, and we will address it promptly. Thank you for your understanding!
P.S. Please try running the following command to ensure the necessary MoveIt packages are installed:
sudo apt install ros-humble-moveit*


text:
Updates to GenASiS and Nekbone test scripts

Use ROCM env var instead of AOMP to locate rocm_agent_enumerator
o Needed when testing ROCm compiler installations in /opt/rocm
o An AOMP build has rocm_agent_enumerator in $AOMP/bin, but a ROCm compiler installation has it in /opt/rocm/bin
Don’t add MPI libs to OTHER_LIBS as they are listed in the Makefile
o Avoids link failure due to duplicate symbols
o aomp/bin/Makefile_ROCm also specifies these libraries
Added ‘make clean’ before any make all steps
o Since we were changing which compiler we were using and rerunning the test
Allow LIBOMPTARGET_KERNEL_TRACE to be overriden from the user's environment
o Running with LIBOMPTARGET_KERNEL_TRACE incurs additional overhead in timings

Looks good to me.

authors: dpalermo raghavendhra

repo: ROCm-Developer-Tools/aomp


text:
Unexpected order of executing kernels

Currently we're porting molecular dynamics software to HIP. We're not sure if we've hit a problem in the compiler or HIP, but we hope HIP would be a good place to have this discussion.
Simplified pseudo-code of an iteration:
  stream 1 (high priority)
    async mem operations, etc.
    launch bonded forces kernel
    async mem operations, etc.
    record bonded event

  stream 2 (low priority)
    async mem operations, etc.
    launch nonbonded forces kernel
    async mem operations, etc.

  loop
    query bonded event status
      if ready
        start processing bonded forces results on CPU
    load finished nonbonded forces results from zero-copy host memory
      process them on CPU

We've combined traces from HCC and Projections (tracing system for Charm++ used in the software) in one image:

The software launches bonded forces kernel first - this kernel is a few times shorter than nonbonded forces kernel.
bonded forces kernel is supposed to finish earlier, so CPU can start to process its results as soon as possible, while the nonbonded forces kernel is still running in streaming mode, i.e. host polls loads finished results through host mapped memory and process them on CPUs.
Because with fast GPUs the software is mostly CPU-bound it's essential to give CPUs enough work, otherwise GPUs idle while CPUs work and vise versa.
The described scenario was observed on CUDA version and on MI25 (Vega 10, GFX 900).
However, S9300 (Fiji, GFX 803) and Vega 10 (GFX 906) show a different behavior:
traces show that host launches bonded forces kernel first and this kernel starts before nonbonded force kernel, but for some reason it never finishes before nonbonded force kernel.
This makes CPUs idle for very long time, that decrease performance significantly (20-40% according to my rough estimations).
As a workaround we use HIP_FORCE_NULL_STREAM=1, this helps a lot (for example, on Vega10 1.35 -> 1.0). Even considering that we loose some performance on memory transfers overlapped with kernels, this mode forces all kernels to finish in the expected order, so the overal performance is much better.
We work on the latest HIP from GitHub (with my fixes not related to this problem), this version supports stream priorities.
I've checked both the latest HCC from GitHub (with priorities) and the latest HCC binary release.
However, all traces taken on the latest HIP and the latest HCC binary release, because we encountered crashes on S9300 with the latest HCC from GitHub.
In all cases only MI25 works ok, Vega 10 and S9300 do not. It doesn't matter whether HIP and HCC support stream priorities or not.
The attached zip contains traces gathered using HCC_PROFILE=2 for all 3 GPUs with and without HIP_FORCE_NULL_STREAM=1, both json and raw trace files.
async-molecular-profiling.zip

Why do these GPUs work so different? The same ROCm version, Linux kernel, HIP and HCC, etc.
What does it mean when traces show that bonded forces kernel starts before and finishes after the other kernel?
Are there any differences between CUDA and HIP-hcc regarding to streams, priorities that we must consider?

@VincentSC, apologies for the lack of response.  Can you please check latest ROCm 6.0.2 (HIP 6.0.32831) to see if your query has been addressed? Thanks.

The project has been finalized long ago

authors: VincentSC nartmada

repo: ROCm/HIP


text:
Add logic to remove temporary build artifacts

Summary:
The Tensile disk usage can reach up to hundreds of GBs in some cases. This work adds new behavior that removes temporary build artifacts and generated code during the build process to keep the disk space high-water mark down. The old behavior can be enabled by using the new option --keep-build-tmp.

Outcomes:
Tensile hard disk usage is reduced by as much as 80%.
Notable changes:
--keep-build-tmp option was added.
Testing and Environment:
Routine CI pipelines and equivalent testing run locally

Tensile hard disk usage is reduced by as much as 80%.

@ellosel how difficult would it be to quantify this for a specific use-case, say, gfx942?

Tensile hard disk usage is reduced by as much as 80%.

@ellosel how difficult would it be to quantify this in MB/GB for a specific architecture, say, gfx942?

Not too difficult - here are some disk size samples for gfx 900 before (looking at the size of the Tensile project directory including build_tmp and tensile output dir the initial size is 90 MB):
88M  .
92M  .
282M  .
475M  .
661M  .
665M  .
676M  .
688M  .
697M  .
703M  .
767M  .
770M  .

and after:
90M  .
93M  .
116M  .
140M  .
206M  .
208M  .
211M  .
216M  .
217M  .
220M  .
225M  .

Which is a 70% reduction if you include the initial 90M. It is closer to an 80% if you don't include the 90M.

authors: bstefanuk ellosel

repo: ROCm/Tensile


text:
Normalize compute methods

There is a normalized flags set to avoid running normalization everytime during eval.

I think there are a few other operators also needing changes like gather, squeeze, and unsqueeze

There is no change needed for these. Squeeze and unsqueeze just use the output_shape. In Gather, normalizations fixes the axis field, but it doesn't fix the indices that get passed in, so this can't be changed.

I think there are a few other operators also needing changes like gather, squeeze, and unsqueeze

There is no change needed for these. Squeeze and unsqueeze just use the output_shape. In Gather, normalizations fixes the axis field, but it doesn't fix the indices that get passed in, so this can't be changed.

repo: ROCmSoftwarePlatform/AMDMIGraphX


text:
Tuna-utility.py : code cleanup

MITunaX/tuna/utils/utils.py
Follwing unused functions and classes are removed.

def get_filter_time(time_arr):
class DotDict(dict):

@cderb @alexandraBara need a review.

@cderb @alexandraBara need a review.

@technicalgrp89  this PR is not passing Jenkins. Once you update it to pass our CI, i will come back and review. Please check the CI stage failures to see commands that need to run. This once seems like its failing yapf

plint and yapf checks are executed on this branch

repo: ROCmSoftwarePlatform/MITuna


text:
connection.py/config_type.py- Type Annotations enabled

following files are updated with Type Annotations.

config_type.py
connection.py

@cderb @alexandraBara @JehandadKhan let me know for code review update.

@cderb review comments addressed.

@alexandraBara @cderb let me know for code review updates.

@technicalgrp89  please address @cderb comments and keep in mind that using type Any defies the purpose of type annotations.


text:
[ROCm] Introducing dump support for AMDGCN

This PR adds the ability to dump AMDGCN from MLIR, just like PTX, with triton.tools.aot.

This allows to do FileCheck tests similar to PTX

For example, to dump AMDGCN from MLIR for gfx906
python3 -m triton.tools.aot /git/triton-rocm-fork/test/Target/tritongpu_to_ptx.mlir --target=amdgcn --gfx=906

Except for 1 nit, this looks good.

After adding AMDGPU calling convention:
       .text
        .amdgcn_target "amdgcn-amd-amdhsa--gfx908:sramecc+:xnack-"
        .globl  test_empty_kernel
        .p2align        8
        .type   test_empty_kernel,@function
test_empty_kernel:
.Lfunc_begin0:
        .file   1 "/git/triton-rocm-fork/test/Target/tritongpu_to_ptx.mlir"
        .loc    1 9 0
        .cfi_sections .debug_frame
        .cfi_startproc
        .loc    1 11 3 prologue_end
        s_endpgm

LGTM.
Waiting for @whchung and @micmelesse to chime in before merging.

@B1tway please address the remaining review comment ASAP so that i can merge this PR.
After the merge, I need to update this branch with new commits from upstream.
Thanks!

@rsanthanam-amd
Sorry for the wait. Added a commit with a fix

repo: ROCmSoftwarePlatform/triton


text:
wallet balance doesnt match explorer balance

This was asked by a member of the community on bitcointalk.

A wallet can have multiple addresses, and you can have so-called "change addresses" (see https://en.bitcoin.it/wiki/Change) which will be generated automatically whenever you spend less than you have.
Those "change addresses" are part of the ROIcoin anonymity features, are known only to your wallet and can hold more than small change.
They are not displayed in the usual wallet UI, but you can typically view them by going to the debug console and typing "listunspent".
Additionally the POS rewards are currently not reported ( and likely stored in your personal wallet ).

repo: ROIcoin/explorer


text:
Add more entries for Facebook/Instagram bridges

Is your feature request related to a problem? Please describe.
Some Facebook/Instagram profiles post many times per day, so it's possible to miss some of them.
Describe the solution you'd like
Add more entries for Facebook/Instagram bridges.
Describe alternatives you've considered
None so far.

The default Facebook bridge returns the last 19 posts which is pretty generous.
Can you increase your client's check frequency?

@smnthermes Can you?

authors: dvikan smnthermes triatic

repo: RSS-Bridge/rss-bridge

license: unlicense


text:
合并 nimble 上游的修改后，controller 似乎运行不正常

https://github.com/greedyhao/nimble
目前在这个仓库已经合并到了上游的 5271e1f，nrf5x 编译可能需要增加 --specs=nosys.specs 参数
目前 host 在 ab32vg1 上测试是正常的，但是加上 controller 后，在 nrf52832 上无法运行 ble 的 demo

https://github.com/greedyhao/nimble/pull/1

https://github.com/RT-Thread-packages/nimble/pull/12

authors: greedyhao hyhkjiy

repo: RT-Thread-packages/nimble


text:
gene -- causes -> phenotype edge from uniprot?

Sierra was a bit concerned at today's data modeling call to see that the KG2 API returns a uniprot 'causes' edge for the query NCBIGene:351 (APP) -- related_to --> HP:0100543 (Cognitive impairment)
I traced this to the edge with this ID in KG2.10.0pre:
UniProtKB:P05067---biolink:causes---None---None---None---OMIM:104300---identifiers_org_registry:uniprot

(which was returned from the KG2 CI API for this query due to concept subclass reasoning)
does anything seem fishy here? or do we expect to have this sort of edge from uniprot?

In principle UniProtKB does contain such information:
https://www.uniprot.org/uniprotkb/P05067/entry#disease_variants

See this code:
https://github.com/RTXteam/RTX-KG2/blob/dbeeb165a1bcbbd913e49de11a66164958cb59c7/convert/uniprotkb_dat_to_kg_jsonl.py#L202-L212

OK to close this issue, @amykglen ?

yes, thank you - I suppose we should let Sierra know:
@sierra-moxon - just letting you know that we investigated this UniProt 'causes' edge in KG2 that you brought up on the Data Modeling call in October, and everything looks ok to us. basically the raw form of the edge being returned was UniProtKB:P05067--causes-->OMIM:104300 (Alzheimer's disease), which is actual info that UniProt contains (see above comments). and this edge was returned for the original query of NCBIGene:351 (APP) -- related_to --> HP:0100543 (Cognitive impairment) since UniProtKB:P05067 is a synonym for NCBIGene:351, and Alzheimer's disease is a descendant concept of Cognitive impairment (at least according to our concept subclass reasoning, which is based on MONDO and HP subclass_of edges).
also interestingly, in CI, this causes edge is no longer returned - the only 'causes' edges now linking NCBIGene:351 and HP:0100543 are from SemmedDB - perhaps due to changes in the underlying KG2 graph, node normalization, or other parts of the system..

authors: amykglen edeutsch saramsey


text:
Klayout XOR variables

add KLAYOUT_XOR_IGNORE_LIST
add variable for klayout lmp file
Need confirmation that it is not an issue to ignore 81/14 during xoring gds files from magic and klayout (done as verification step in openlane). As far as I understood, this layer is added by magic and only used by magic for tap distance check ?

Pulled and merged.  The github mirror will update overnight.

authors: RTimothyEdwards kareefardi


text:
Pictures only save temporarily

This is a limitation of heroku, pictures will save permanently on a proper server.

Fixed it by saving photos to a remote server via ftp.

Turns out, not fixed. ftp works from localhost, but heroku does not support ftp.
Perhaps we should consider connecting over ssh and using scp to send files to steffi.ee

Fixed in  7572b5f, turns out heroku doesn't support ftp by default and has to be enabled in composer.

authors: RTougjas Tarinu


text:
Module _multiarray_umath

Hi,
I follow the tuto and I have  :

I use Windows
Python 3.9.10 (I tried with version above also)
NumPy 1.25.1 (I wrote import numpy ; print(numpy.__version__)
I installed with pip, it was not working and conda, it was not working also
I tried de  pip uninstall numpy; pip install numpy

And when I try to click on go-web.bat I have this error. Could you help me ?
F:\Download\RVC-beta\RVC-beta0717>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
Traceback (most recent call last):
  File "F:\Download\RVC-beta\RVC-beta0717\runtime\lib\site-packages\numpy\core\__init__.py", line 23, in <module>
    from . import multiarray
  File "F:\Download\RVC-beta\RVC-beta0717\runtime\lib\site-packages\numpy\core\multiarray.py", line 10, in <module>
    from . import overrides
  File "F:\Download\RVC-beta\RVC-beta0717\runtime\lib\site-packages\numpy\core\overrides.py", line 6, in <module>
    from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: Le module spécifié est introuvable.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\Download\RVC-beta\RVC-beta0717\infer-web.py", line 10, in <module>
    import numpy as np
  File "F:\Download\RVC-beta\RVC-beta0717\runtime\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "F:\Download\RVC-beta\RVC-beta0717\runtime\lib\site-packages\numpy\core\__init__.py", line 49, in <module>
    raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

You should uninstall your python environment in your system.

authors: DeusExM RVC-Boss