boards: arm: Fix XIAO BLE Sense regulator enable gpio pin to use high…

Small change to have the voltage regulator connected to the LSM6DS3TR-C to set the enable gpio to high drive, instead of standard. Without this, all I2C messages on the internal I2C bus are dropped.
This fix was discovered thanks to this discussion here: https://devzone.nordicsemi.com/f/nordic-q-a/92711/twim-driver-issue-with-lsm6ds3tc-r

I also believe for stability reasons we need to increase the start-delay-us property for the lsm6ds3tr-c-en. At the current 900 the majority of startups the LSM6DSL driver fails to initialize the LSM6DS3TR-C chip. Increasing this to 1800 seemed to make it work for most startups, and increasing again to 2700 seems to fairly stable.
This maybe should be a new PR or worked into this one, but I figure someone with more knowledge should chime in to come up with a more logical delay. I can't find where the original 900 microseconds was sourced from, and arbitrarily doubled then tripled it.
I should also mention these stability issues seem to become worse when the image has more subsystems enabled (probably associated with the order and time in which subsystems are initialized?).

Accidentally had the commit "Author" field set to a shortened version of my name. Fixed now.

I can't find where the original 900 microseconds was sourced from, and arbitrarily doubled then tripled it.

@MattMacGregor Just an arbitrary number, after few tests and checking if IMU is working. Maybe it can be lowered now after changing drive strength.

I can confirm that with the 900us the board fails to init the sensor due to the i2c error
uart:~$
[00:00:00.788,696]  i2c_nrfx_twim: Error on I2C line occurred for message 0 addr 0x6a
[00:00:00.788,757]  LSM6DSL: Failed to initialize chip
*** Booting Zephyr OS build zephyr-v3.3.0-3327-g12ed08a2fb02 ***
[00:00:00.790,679]  bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.790,710]  bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.790,771]  bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 3.3 Build 99
[00:00:00.791,748]  bt_hci_core: Identity: D9:17:4B:46:1B:BA (random)
[00:00:00.791,778]  bt_hci_core: HCI: version 5.4 (0x0d) revision 0x0000, manufacturer 0x05f1
[00:00:00.791,809]  bt_hci_core: LMP: version 5.4 (0x0d) subver 0xffff
and with 2900us I see no such error
uart:~$
*** Booting Zephyr OS build zephyr-v3.3.0-3327-g12ed08a2fb02 ***
[00:00:00.323,699]  bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.323,730]  bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.323,760]  bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 3.3 Build 99
[00:00:00.324,737]  bt_hci_core: Identity: D9:17:4B:46:1B:BA (random)
[00:00:00.324,768]  bt_hci_core: HCI: version 5.4 (0x0d) revision 0x0000, manufacturer 0x05f1
[00:00:00.324,798]  bt_hci_core: LMP: version 5.4 (0x0d) subver 0xffff

@MattMacGregor @loislo I have confirmed with my XIAO BLE SENSE boards that 900us was not enough. Previously I used jlink flash runner, which might affect startup time somehow and it previously worked. Based on your suggestions I have decided to increase that time to 3ms to be sure every XIAO BLE SENSE board will work.
PR: #57875


Dynamic Image Sources of Local Image Files

Issue Description
Unable to display images from dynamic sources.  I have tried using require, which isn't meant to work as I found in searching for how to resolve this.  What I would like is to have the image files contained locally, but have the local paths stored on a external database accessed via a web service.
Steps to Reproduce / Code Snippets
We have an array containing the relative paths to the images:
var BoardView = React.createClass({   getInitialState() {     var tiles = [{src: './../images/treasurechest.png', title: 'Small Chest'}, {src: './../images/treasurechest.png', title: 'Big Chest'}];     return {        clickCount: this.props.initialClickCount,       tiles: tiles       };   },
The array is mapped to UI elements:
`renderTiles() {
var tiles = this.state.tiles;
return({tiles.map(this.renderTile, this)});
},
renderTile(tile, id) {
return (

{tile.title}

<TouchableOpacity
onPress={() => this.clickTile(id)}>
<Image source={{uri: tile.src}}
style={styles.imageTile}/>

);
}`
However, the images do not display when using sources stored on the tile objects.
Expected Results
The images are displayed.
Additional Information

React Native version: 34.1
Platform(s) (iOS, Android, or both?): IOS, but probably both
Operating System (macOS, Linux, or Windows?): macOS

The code markup isn't working for the second section of code.  Sorry!

I see the reason this cannot be done due to how images are bundled, but is there a way to dynamically add image resources to the img cassette for IOS and whatever the other version of that is for android.  I assume there's a way to add images to those locations dynamically, correct?

I think this is just not supported. My understanding is that usually when you add packages of new images you would just add them in the code, rather than trying to do this remote-url-loading thing. Sorry I don't have a better suggestion for how to implement this, you might try asking on Stack Overflow!


beaver stops when tailing large files

I have a simple setup to send raw json from logfiles via rabbitmq, but beaver seems never to be able to start, so here is my simple debug setup:
beaver config file:
/etc/beaver/conf
[beaver]
logstash_version: 1
sincedb_path=/root/beaver/since.db
[/xxx/log/traffic.json]
format: raw
tags: nginx
starting beaver as:
beaver -d -c beaver.config
it reads the config file, and ends at the following step:
[2015-01-28 10:11:01,085] INFO    [811g2fc0002] - watching logfile /xxx/log/traffic.json
[2015-01-28 10:11:01,086] DEBUG   [811g2fc0002] - getting start position /xxx/log/traffic.json
[2015-01-28 10:11:01,086] DEBUG   [811g2fc0002] - getting end position for /xxx/log/traffic.json
the process itself is using 100% cpu all the time.
and if i do a ctrl-c on the program to stop it it gives following stack trace:
^C[2015-01-28 10:13:08,981] INFO    SIGINT detected
[2015-01-28 10:13:08,981] INFO    Shutting down. Please wait...
[2015-01-28 10:13:08,983] INFO    SIGINT detected
[2015-01-28 10:13:08,984] INFO    Shutting down. Please wait...
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.6/dist-packages/beaver/dispatcher/worker.py", line 70, in create_queue_producer
worker = Worker(beaver_config, queue_consumer_function=create_queue_consumer, callback=queue.put, logger=logger)
File "/usr/local/lib/python2.6/dist-packages/beaver/worker/worker.py", line 65, in init
self._seek_to_end()
File "/usr/local/lib/python2.6/dist-packages/beaver/worker/worker.py", line 298, in _seek_to_end
while data['file'].readline():
File "/usr/lib/python2.6/io.py", line 1862, in readline
line += self._get_decoded_chars()
File "/usr/local/lib/python2.6/dist-packages/beaver/dispatcher/worker.py", line 44, in cleanup
worker_proc.terminate()
File "/usr/lib/python2.6/multiprocessing/process.py", line 111, in terminate
self._popen.terminate()
AttributeError: 'NoneType' object has no attribute 'terminate'
[2015-01-28 10:13:08,988] DEBUG   [811g2fc0002] - updating sincedb for logfile /xxx/log/traffic.json from 0 to 0
[2015-01-28 10:13:08,990] INFO    Shutdown complete.
Seems to be stuck in the tail ???
the file being logged grows about a few hundred megabytes an hour.
How do it get it to consume my logfile ?

beaver version is 33.0.0

@Bjarke42 is this still an issue? Please try upgrading to 35.0.2 as quite a few changes have been made since 33

Closing due to inactivity. PRs are accepted - Feel free to reopen!


FreeBSD stuck on Version 20.00

Upgrading either with the github tool, or the webmin upgrade tool, Webmin on FreeBSD 13 won't go past 20.00.  Says its installing, but happily returns right back where it started.  The other software is current and updated except for that.
I did get it installed on one server by removing the theme completely and reinstalling it, but that seems wrong.

Upgrading either with the github tool, or the webmin upgrade tool, Webmin on FreeBSD 13 won't go past 20.00.

Could you provide a screenshot of a page where you're performing upgrade and an error message?

Before and after the update, this is the screen.
The info file at:  /usr/local/lib/webmin-2.000/authentic-theme/theme.info
Shows "version=20.02" so perhaps this is nothing but a visual issue.

BUT!  This screen shows update needed every time I load the screen:

Apparently on digging, its an annoyance more than a broken thing.  other servers (centos) don't do it, so I tend to notice it more

What is the actual Webmin version that you're using? Is bash package installed on that FreeBSD system?
Theme update script uses a directory relative to where it's run from, so the update should happen disregard to the directory Webmin is installed to.
If you run ./theme-update.sh script from a console -- does it fail with any error?
Finally, you can always disable theme updates checks.

Webmin 2.000
Bash version 5.2.2(1)-release
And I figured it out.
Webmin on FreeBSD 's package manager gets updated infrequently, so I often just use Webmin's update now feature, which ends up with multiple versions of webmin installed in the "lib" folder.  .../etc/webmin/start was starting the one in /usr/local/lib/webmin, but the theme updater (on the Dashboard) was updating /usr/local/lib/webmin-2.000.  I stopped Webmin, manually cleared the extra folders (there were many) and the update worked fine, now says 20.02-2.  Probably never see this again, and when the next Webmin update came along it would have fixed it too.  And yes, I had tried restarting Webmin a few times (lots) before ever bringing this up.
So, webmin updates always updated by webmin and this would have been fine, but updating with the pkg tool, authentic didn't get the memo.  (all other features of webmin were fine of course)


Protocol Dai Transfer

MIPX defines a generic process for transfering DAI from the Maker Protocol to a target ethereum address.

LGTM - will update the rest of the MIP to reflect it's newly assigned number (14) once merged.


Blank tag appears in tag menu

Describe the bug

A blank tag appears in the tag menu when the cell content is empty
To Reproduce

Set column content type to tag
Click a cell
See blank tag

Expected behavior

No tag should appear
Using Mobile App?

No

Fixed in 4.1.0


Checker workflow DB and migration

Feature Request
Desired behaviour

New DB structure and migration
migrations.test.xml should also get a couple workflows based on the examples for testing

Note to self. Migrations for structure done, need to add migrations with sample workflows.

Ended up using actual endpoint calls instead of storing the workflows in migrations. Refresh is never called on all tools, only a specific tool so the impact on rate limit should be negligible.

The next steps for this ticket is to create example an example WDL workflow with a checker workflow (probably md5sum again).

Done in https://github.com/ga4gh/dockstore/pull/1247


Plugin not worked with letest Android version(10).

Library Works perfectly in the lower version but not work as expected with the latest version.
By the way good work, This Library helps me a lot.
Thank you.

Possible Duplicate of #38

@ankitkanojia Have you tried to set android:requestLegacyExternalStorage="true" in the android manifest. It's a must for API 29.


Help with puzzles 4 and 5

I'm trying to solve puzzles 4 and 5 by using the predefined where(q, a, b) function, which expects q to be a boolean tensor. To arrive at a boolean tensor, I create a boolean list and use tensor on it. I suppose this is not allowed? How else could I implement this?
This is my current implementation for puzzle 5 (identity matrix of dimension j)
def eye(j: int) -> TT["j", "j"]:
   return where(tensor([[x==y for x in range(j)] for y in range(j)]), ones(j) - ones(j)[:, None] + ones(j), ones(j) - ones(j)[:, None])

After some experimentation, I came up with the following:
def eye(j: int) -> TT["j", "j"]:
   return where(arange(j) - arange(j)[:, None] == 0, 1, 0)

Wonder if there's even a better way...

That's great! There are a couple ways to do it, but this is the way I did it.
The other thing I saw was to multiply to force type changes something like:
(arange(n)==arange(n)[:, None]) * 1

I really loved, the way you thought about it, it's out of the box thinking :P.
This is how I solved it. It would be cool if you have your solutions
python    a = tensor([0] * j)     index = arange(j)     data = outer(a,a)     data[index, index] = 1     return data

where(arange(j)[:, None] == arange(j), (outer(ones(j), ones(j))), 0)

return ((ones(j) + arange(j)[:,None]) == diag((arange(j) + arange(j)[:,None])))*1
Only after looking at your guys solutions did I realize how inelegant I am 🥹


Implement  MetadataCombiner

Description

Motivation and Context

Rename tests/metadata to tests/data_models
Intro RelationshipInspector for building relations.
MetadataCombiner framework

How has this been tested?

Types of changes

[ ] Maintenance (no change in code, maintain the project's CI, docs, etc.)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Codecov Report
Attention: 84 lines in your changes are missing coverage. Please review.

Comparison is base (00ba7f1) 75.68% compared to head (94fbcb2) 74.57%.

Files
Patch %
Lines

sdgx/data_models/combiner.py
0.00%
69 Missing :warning:

sdgx/data_models/relationship.py
39.13%
14 Missing :warning:

sdgx/data_loader.py
66.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
- Coverage   75.68%   74.57%   -1.11%
==========================================
  Files          58       59       +1
  Lines        2274     2356      +82
==========================================
+ Hits         1721     1757      +36
- Misses        553      599      +46

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

Still remaning work:

[ ] Adding mock data for multiple tables
[ ] Adding unit tests for MetadataCombiner.

Maybe we should add more demo data for multi-table scenario, I can start a issue and work on it.

I'll be introducing some very simple mock data to use as unit tests, @MooooCat please help us gather some real multi-table scenario data to introduce into the project, like the current result.csv.


Swap @function.outer doesn't work from within decorated functions in Python

Describe the bug
Swapping @function.outer in Python doesn't work when inside a decorated function. Take the example:
def test():
    print("This is a test")

@some_decorator
def test2():
    print("This is a test")

def test3():
    print("This is a test")

When in either of the un-decorated functions, swapping with the decorated function works just fine. When in the decorated function, nothing happens when you try to swap, unless the cursor is on the decorator line.
Given the queries:
(function_definition
  body: (block)? @function.inner) @function.outer

(decorated_definition
  (function_definition)) @function.outer

My guess is that this happens because when inside the decorated function, the non-decorated @function.outer match is the closest match and is selected for swapping, but since it's inside a (decorated_definition ..., it doesn't have any siblings to swap with:

So nothing happens.
To Reproduce
Steps to reproduce the behavior:
(See above)
I'm using these functions:
local ts_swap = require("nvim-treesitter.textobjects.swap")

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Expected behavior
If the current cursor position matches both a function_definition and a decorated_definition, the latter should have higher priority.
Output of :checkhealth nvim-treesitter

nvim-treesitter: require("nvim-treesitter.health").check()
Installation ~

WARNING tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
OK node found v20.11.0 (only needed for :TSInstallFromGrammar)
OK git executable found.
OK cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: gcc (GCC) 13.2.0
OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.


After YM2612 VGM made by deflemask is converted to YM2413 (FMPCM), PCM is lost

vgm-conv -f ym2612 -t ym2413 -D dacEmulation=fmpcm -o output.vgm in.vgm

2612dac to 2413.zip

Currently not supported. See limitation. deflemask uses the DAC stream command.
As for YM2612 DAC, only register 2A stream can be converted. VGM's DAC stream commands is not supported.

I think this issue is an enhancement request, however, to support the DAC steram command, the current architecture must be heavliy modified.

The so-called FMPCM surprised me. As far as YM2413 is concerned, FM and PCM can not interfere with each other. I hope the related functions can be improved.


v0.1.10 release

Updates bindgen version from 0.60.1 to 0.64.0 so it matches Zebra.

This is superseded by #66, which makes these dependencies automatically adjust their versions to match Zebra.

I'd like to merge these PRs before making the release:

#63
#64
#67


Clicking on Accordion causes state of parent to change

I am using the accordion nested inside a tab component. I have an accordion on each tab. When you interact with the accordion it causes the state of its parent (the tab) to change.
Steps to replicate:
Click Tab 3
Then Click any of the Accordion items
You will see the tab has been changed back to Tab 1
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
import {
  Accordion,
  AccordionItem,
  AccordionItemTitle,
  AccordionItemBody,
} from 'react-accessible-accordion';

<Tabs>
  <TabList>
    <Tab>Tab 1</Tab>
    <Tab>Tab 2</Tab>
    <Tab>Tab 3</Tab>
  </TabList>
  <TabPanel>
    <Accordion>
      <AccordionItem>
        <AccordionItemTitle>

Tab 1 Accordion 1

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
      <AccordionItem>
        <AccordionItemTitle>

Tab 1 Accordion 2

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
      <AccordionItem>
        <AccordionItemTitle>

Tab 1 Accordion 3

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
    </Accordion>
  </TabPanel>
  <TabPanel>
    <Accordion>
      <AccordionItem>
        <AccordionItemTitle>

Tab 2 Accordion 1

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
      <AccordionItem>
        <AccordionItemTitle>

Tab 2 Accordion 2

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
      <AccordionItem>
        <AccordionItemTitle>

Tab 2 Accordion 3

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
    </Accordion>
  </TabPanel>
  <TabPanel>
    <Accordion>
      <AccordionItem>
        <AccordionItemTitle>

Tab 3 Accordion 1

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
      <AccordionItem>
        <AccordionItemTitle>

Tab 3 Accordion 2

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
      <AccordionItem>
        <AccordionItemTitle>

Tab 3 Accordion 3

        </AccordionItemTitle>
        <AccordionItemBody>

Lorem Ipsum

        </AccordionItemBody>
      </AccordionItem>
    </Accordion>
  </TabPanel>
</Tabs>

Thank you for your time!

Ahh this relates to my issue #120, this must be what's happening to me.

I'm not really sure how I can support you with this I'm afraid, this looks more like a react-tabs issue to me. However, if you were able to create a 'codesandbox' for me to replicate then I'd be happy to have a poke around.

Just having a wee tidy-up of our issues and I'm going to close this one seeing as there hasn't been any activity for a while, but feel free to re-open if you can replicate this for me in a codesandbox. Cheers!

I am also facing the same issue. If you found a solution please post


Only returning a limited number of items and locks

Hey,
I've been experimenting with this library, but it looks that when trying to iterate over a collection I only get a few items returned and afterwards the program goes in a locked state. Also when trying to find a record which is at the end of the collection, the program locks.
Any idea?
   let mut cursor =  coll.find(Some(doc.clone()), None).unwrap();

    for result in cursor {
        if let Ok(item) = result {
            if let Some(&Bson::String(ref username)) = item.get("username") {
                println!("username: {}", username);
            }
        }
    }

Hey @cedricve! Could you provide a few details on how your database/collection is set up? Is this with a basic, unsecured, single-instance DB? What do your documents look like? How large is your collection? What system/mongodb version are you running on?
That should help us debug where and how the program is getting locked. Thanks!

hey @kyeah,
Well this is a trivial database with no sharding or authentication. Documents are max (2level nested) and there are about 2000 documents in the collection. Version is db version v3.4.5. Machine is running Ubuntu 16.04.2 LTS.

Hi @cedricve! Sorry for the late response; is there any chance you could provide us with some sample database contents that cause the issue? I know it might be tough if you can't give us the exact contents due to them being sensitive, but having a way to reproduce the issue would go a long way towards helping us debug it.

Hello everyone! We've just released an alpha of an official MongoDB Rust driver; you can read about it here! Because of this, we won't be updating this driver anymore, and the repository will be made read-only as soon as I get finished posting these messages. Thanks for using this driver, and we hope you try out the new one!


docs: [CT-3888] - Update API docs endpoint links to style matching linode/linode-docs-theme#400

Description 📝
https://github.com/linode/linode-docs-theme/pull/400 will update the API docs so that every endpoint is rendered to its own page, instead of an endpoint collection rendering all of its endpoints to a single page. URLs for API docs will change like so:
Before:
https://www.linode.com/docs/api/images/#image-upload
After:
https://www.linode.com/docs/api/images/image-upload/
This manager PR updates the one API docs link I could find that links to an individual endpoint within a collection.
Note that if a user visits one of the old-style anchor links for endpoint, there is client-side logic to refresh the page to show the new URL. This uses some JS to update the page's contents and the URL of the browser, instead of performing an actual page reload.
Please do not merge until we push the API docs changes to production.
Major Changes 🔄
Just the one URL change noted in the description
Preview 📷
No visual changes
How to test 🧪
Doesn't seem like testing is needed

Closing due to inactivity. Feel free to reopen if https://github.com/linode/docs/pull/6615 makes progress!

Closing due to inactivity. Feel free to reopen if https://github.com/linode/docs/pull/6615 makes progress!


VLLM Error: AttributeError: Can't pickle local object 'build_token_enforcer_tokenizer_data..decode_fn'

This sample code:
from openai import OpenAI
from pydantic import BaseModel
client = OpenAI(
    base_url="http://my-vllm-server.local:8000/v1",
    api_key="1234"
)

content = """
...

Please return your response in JSON format, following this schema:

{
  "originalValue": string,
  "modifiedValue": string,
  "key": string,
  "errorType": string,
  "explanation": string
}

"""

class ResultModel(BaseModel):
    originalValue: str
    modifiedValue: str
    key: str
    errorType: str
    explanation: str

completion = client.chat.completions.create(
  model="model",
  messages=[
    {"role": "user", "content": content}
  ],
  extra_body={
    "guided_json": ResultModel.model_json_schema(),
    "guided_decoding_backend": "lm-format-enforcer"
  }
)
completion

Results in this VLLM error:
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO 07-29 05:15:24 metrics.py:396] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 0 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.0%, CPU KV cache usage: 0.0%.
INFO 07-29 05:15:34 logger.py:36] Received request chat-671c30eb19c146ef8e86ec79e82237c2: prompt: '<|begin_of_text|><|start_header_id|>user<|end_header_id|> ... Please return your response in JSON format, following this schema:\n\n```\n{\n  "originalValue": string,\n  "modifiedValue": string,\n  "key": string,\n  "errorType": string,\n  "explanation": string\n}\n````

<snip>

INFO 07-29 05:15:34 async_llm_engine.py:173] Added request chat-671c30eb19c146ef8e86ec79e82237c2.
INFO 07-29 05:15:34 metrics.py:396] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.2%, CPU KV cache usage: 0.0%.
Traceback (most recent call last):
  File "/home/k/.asdf/installs/python/3.10.13/lib/python3.10/multiprocessing/queues.py", line 244, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "/home/k/.asdf/installs/python/3.10.13/lib/python3.10/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object 'build_token_enforcer_tokenizer_data.<locals>.decode_fn'
Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/k/.asdf/installs/python/3.10.13/lib/python3.10/multiprocessing/queues.py", line 244, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "/home/k/.asdf/installs/python/3.10.13/lib/python3.10/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
  File "/home/k/.asdf/installs/python/3.10.13/lib/python3.10/multiprocessing/queues.py", line 244, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "/home/k/.asdf/installs/python/3.10.13/lib/python3.10/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object 'build_token_enforcer_tokenizer_data.<locals>.decode_fn'
AttributeError: Can't pickle local object 'build_token_enforcer_tokenizer_data.<locals>.decode_fn'
/mnt/workspace1/vllm/vllm/distributed/parallel_state.py:425: UserWarning: The given buffer is not writable, and PyTorch does not support non-writable tensors. This means you can write to the underlying (supposedly non-writable) buffer using the tensor. You may want to copy the buffer to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at ../torch/csrc/utils/tensor_new.cpp:1524.)
  object_tensor = torch.frombuffer(pickle.dumps(obj), dtype=torch.uint8)

With pipeline parallelism. Single copy I think. Take a look.
python -m vllm.entrypoints.openai.api_server \
--model /mnt/workspace1/model/Meta-Llama-3.1-70B-Instruct-AWQ-INT4/ \
--pipeline-parallel-size 4 \
--host <IP_ADDRESS> \
--gpu-memory-utilization 0.99 \
--max-model-len 8192 \
--enforce-eager \
--served-model-name model \
--quantization marlin   \
--guided-decoding-backend lm-format-enforcer

Just tried switching --pipeline-parallel-size 4 to --tensor-parallel-size 4, and it worked as expected.
There must be a bug with lm-format-enforcer and pipeline parallelism, which probably wasn't implemented yet in VLLM at the time you submitted a PR for lm-format-enforcer support.

I assume that vLLM copies the sampler object to the final process in the
pipeline-parallel stack, and that causes it to try to serialize the object
between processes, which it cant currently.
I'll look at it.
(Generally speaking, tensor parallelism should be used if it works for you,
pipeline parallelism is mainly for multi-node)
On Mon, Jul 29, 2024 at 4:24 PM Kevin Pham @.***> wrote:

Just tried switching --pipeline-parallel-size 4 to --tensor-parallel-size
4, and it worked as expected.
There must be a bug with lm-format-enforcer and pipeline parallelism,
which probably wasn't implemented yet in VLLM at the time you submitted a
PR for lm-format-enforcer support.
—
Reply to this email directly, view it on GitHub
https://github.com/noamgat/lm-format-enforcer/issues/124#issuecomment-2255942117,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKFA2HGZN4HEHZ2N7HNFETZOY7BVAVCNFSM6AAAAABLTQTNXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJVHE2DEMJRG4
.
You are receiving this because you commented.Message ID:
@.***>

I am a core contributor to vLLM. I am currently working on multiprocessing in our OpenAI server, which is goign to deliver a 20% performance gain
https://github.com/vllm-project/vllm/pull/6883/files#diff-190c665c438d34a7190da9a4d9bc1ed24bed8b13ee1b3f20c6da5c8aa52b0f3b
I am currently blocked by the inability to use guided decoding with alongside feature because of inability to pickle these objects. The source of the issue is that we python cannot pickle local functions. Would it be possible to use functools.partial instead? These objects can be pickled.

That sounds like a good plan. I'll try to do it in the next few days.
On Thu, Aug 1, 2024, 05:15 Robert Shaw @.***> wrote:

I am a core contributor to vLLM. I am currently working on multiprocessing
in our OpenAI server, which is goign to deliver a 20% performance gain
https://github.com/vllm-project/vllm/pull/6883/files#diff-190c665c438d34a7190da9a4d9bc1ed24bed8b13ee1b3f20c6da5c8aa52b0f3b
I am currently blocked by the inability to use guided decoding with
alongside feature because of inability to pickle these objects. The source
of the issue is that we python cannot pickle local functions. Would it be
possible to use functools.partial instead? These objects can be pickled.
—
Reply to this email directly, view it on GitHub
https://github.com/noamgat/lm-format-enforcer/issues/124#issuecomment-2261817411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKFA2F25ELHWAYUVJPQHSLZPGK4BAVCNFSM6AAAAABLTQTNXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRHAYTONBRGE
.
You are receiving this because you commented.Message ID:
@.***>

Modified master branch to use functools.partial instead. Can you check if after switching to installing LMFE from main branch, it works? If so, I will deploy a version with the fix.

This should be solved in v0.10.6. Closing the issue, please reopen if the issue persists.


Add davrods link to iRODS deletion request list items & Implement iRODS accept / reject batch update

Issue #1339
TODO:

[x] In IrodsDataRequestListView, add Davrods link button for each item
[x] Add as button next to the path clipboard copy button
[x] Test for existence in TestIrodsDataRequestListView UI tests

Another Issue: #1340
TODO:

[ ] Add checkboxes for delete requests
[ ] Replace Create Request button with a Request Operations dropdown
[ ] Make "Accept Selected" and "Reject Selected" options disabled, if no checkboxes are selected
[ ] Modify IrodsRequestAcceptView and IrodsRequestRejecttView to accept a list of objects
[ ] Add tests
[ ] Update docs to note that accepting/rejecting multiple requests is possible this way


Update test_get_micro_data_get_calculator() for new TC

Tax-Calculator has changed how reform policies are specified.  Thus we need to update the reform dictionary in test_basic.test_get_micro_data_get_calculator() to work with the latest version of TC.
We should also pin to a higher TC version in the ogusa-dev environment.

Do you think that this is something I can handle on my own?
Best, Roy Kasher

From: Jason DeBacker<EMAIL_ADDRESS>Sent: Friday, April 26, 2019 11:23 AM
To: PSLmodels/OG-USA
Cc: Subscribed
Subject: [PSLmodels/OG-USA] Update test_get_micro_data_get_calculator() for new TC (#458)
Tax-Calculator has changed how reform policies are specified. Thus we need to update the reform dictionary in test_basic.test_get_micro_data_get_calculator() to work with the latest version of TC.
We should also pin to a higher TC version in the ogusa-dev environment.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/url?k=662463df-3ab67edc-66242d1e-0cc47ad9c042-a1c21f5d21873d9a&u=https://github.com/PSLmodels/OG-USA/issues/458, or mute the threadhttps://protect2.fireeye.com/url?k=e19a368d-bd082b8e-e19a784c-0cc47ad9c042-3adca1ba3c23dd7d&u=https://github.com/notifications/unsubscribe-auth/AITKMQ3KX6L42LR6J5PPKRLPSMM5JANCNFSM4HIWRHVQ.

@rkasher You might be able to do it.  You'll want to edit this dictionary on lines 233-242 of test_basic.py:
    reform = {
        2017: {
            '_II_rt1': [.09],
            '_II_rt2': [.135],
            '_II_rt3': [.225],
            '_II_rt4': [.252],
            '_II_rt5': [.297],
            '_II_rt6': [.315],
            '_II_rt7': [0.3564],
        }, }

To be consistent with the changes in Tax-Calculator described here.  Using the reform JSON files (like this one as examples of the changes in syntax might also be helpful.

Resolved with PR #460.


CI API docs generation [WIP]

work in progress, not yet for review.

merging this to master in order to test deployment of API docs to S3.
https://stackoverflow.com/questions/37026980/deploy-to-amazon-s3-on-appveyor


dropna function for rows

I'm trying to get the mean value for each row in a certain amount of columns in a DataFrame. The solutions described in the julia-users group seem quite useful when there are no NA values in the DataFrame. As such:
mean(convert(Array,df[1,1:3]))

Unfortunatelly not having NAs doesn't happen often. It seems to me that a dropna function for rows could be a fit solution if no rowwise function will be implemented.
This is my code suggestion:
mean(convert(Array,dropna(df[1,1:3])))

That function already exists: http://juliastats.github.io/DataFrames.jl/stable/man/getting_started/

Hi, sorry, maybe I didn't explain myself well:
When calling eachrow on a dataframe, we get an iterator
df = DataFrame(A=[2,3,4], B=[5,6,7])
df[:A][2]=NA;
typeof(eachrow(df))

 DataFrames.DFRowIterator{DataFrames.DataFrame}

This means that calling an element of such iterator will return a DataFrameRow:
typeof(eachrow(df)[1])

 DataFrames.DataFrameRow{DataFrames.DataFrame}

When calling the dropna function on a DataFrameRow, we get a MethodError:
dropna(eachrow(df)[1])

LoadError: MethodError: no method matching dropna(::DataFrames.DataFrameRow{DataFrames.DataFrame})
Closest candidates are:
  dropna(!Matched::DataArrays.DataArray{T,1}) at ~/.julia/v0.5/DataArrays/src/dataarray.jl:431
  dropna{T}(!Matched::DataArrays.PooledDataArray{T,R,1}) at ~/.julia/v0.5/DataArrays/src/pooleddataarray.jl:819
  dropna(!Matched::AbstractArray{T,1}) at ~/.julia/v0.5/DataArrays/src/abstractdataarray.jl:118
while loading In[92], in expression starting on line 1

As you can see, there is no method to manage NA's within DataFrameRows.
In the wikibook they describe a way of handling NAs within rows, and it involves iterating through columns, and then, iterating over each element of the row. This is a method that consumes much resources compared with mapping a function to a row (and looks very bad).
Another option that could solve this is if the isna function returned an array of boolean values for the elements in a row that are NA. Instead it simply returns weather the whole row is a NA value:
for row in eachrow(table)
    println(row[:], " ")
    println(isna(row))
end

1×2 DataFrames.DataFrame
│ Row │ A │ B │
├─────┼───┼───┤
│ 1   │ 2 │ 5 │
false
1×2 DataFrames.DataFrame
│ Row │ A  │ B │
├─────┼────┼───┤
│ 1   │ NA │ 6 │
false
1×2 DataFrames.DataFrame
│ Row │ A │ B │
├─────┼───┼───┤
│ 1   │ 4 │ 7 │
false

So, if there is a function that cleans NA's from DataFrameRows, either it's not documented, or I simply have not been able to find it. Could you please point me towards a solution?
Thank you!


brute force product attribute search - until api supports this

A brute force product/variant search to search for useful things such as SKU. This doesn't work through the API, so the gem pulls down all products and searches through them.

This might be a useful feature but in it's current manifestation we cannot accept this PR. If you'd like a hand improving it let me know.

I agree, the idea is good, but there are better approaches to this. I would prefer this to go into the actual API. It means less load for the servers and it would be faster too.

Well this was a brute force method, and a hack (as the title suggests) until you guys get this working API side. Wasn't meant to be efficient. Feel free to contribute if you know a better way of searching products via sku. I really only have the need for SKU search but I just chucked in an all attributes search incase other people have a need for that.

also, woops, wasn't aware products were paginated ... will be a bit more thorough in my testing next time.

Is there any updates about such feature?

This implementation of the feature wasn't really right.
We've been doing some experimentation on some internal apps that abstracts the pagination away from the user that allows .each fetch the data in batches. We'd still need to see if we can leverage the API for searching and anything that isn't API supported would need to be run through a filter.
The main problem with this approach is it requires requesting everything from shopify to then filter everything out on the client. If we have a limited subset of queryable items that can be filtered via the API we will probably want to use those.
Ad Hoc queries may still end up being expensive though :(

Would it be possible to index your products table additionally by SKU and make the result only return the first it finds, This would require a lot less computation and would resolve a lot of our issues.
We are using the SKU is a unique identifier across multiple channels so this would suffice.
Alternatively, If there is a searchable field (a tag, metadata etc. etc) where we could place the SKU this would also be useful?


How to use toolkit

Hi there, the readme says 'coming soon'. Any chance you could post some getting started steps?
thanks,
J

Hey @jasonmcdermott. I don't think I'm going to find time to write up a README for this anytime soon. I'd be happy to accept a pull request though :v:

Hi @karanjthakkar could you please explain how to use the toolkit? A few sentences are enough ;-)

I thought this was standalone but looking at it; this is just the backend of the app/program. If @karanjthakkar would share the front-end, even a stripped down version it could be hacked pretty quickly. As it stands you have to pass things back and deal with the results. No need to write doc, but finish the sentence with the missing element if you wouldn't mind. 👍


DOC/DEV: document env setup to test alternative backends locally

Issue with current documentation:
In https://github.com/scipy/scipy/issues/18867#issuecomment-2071546690 @dschmitz89 suggested that we should add some documentation to help devs set up an environment to test with alternative backends locally. While comprehensive documentation for the full range of operating systems and package managers people use seems infeasible, here are some notes on what works for me on Ubuntu with mamba.
Idea or request for content:
Operating System: Ubuntu 22.04.4 LTS
GPU: NVIDIA GeForce GTX 1060 6GB

via Software & Updates -> Additional Drivers, select Using NVIDIA driver metapackage from nvidia-driver-535 (proprietary, tested) to install nvidia's graphics driver
Navigate to the directory of your SciPy clone. nano environment.yml:

Change name to something distinct e.g. scipy-dev-xp
Add the alternative backends you wish to test with under dependencies

WARNING: if you are including jax, you should specify jax=0.4.28 (https://github.com/conda-forge/jaxlib-feedstock/issues/277)
WARNING: if you are including pytorch, you should remove the openblas and libblas=*=*openblas  # helps avoid pulling in MKL lines, as pytorch will pull in mkl.

mamba env create -f environment.yml
mamba activate scipy-dev-xp
python dev.py build

if you have included pytorch, instead run python dev.py build -C-Dblas=blas -C-Dlapack=lapack -C-Duse-g77-abi=true

Undo your changes to environment.yml
SCIPY_DEVICE=cuda python dev.py test -b all

Additional context (e.g. screenshots, GIFs)
No response

I can confirm that the instructions in the top post now work for me.

Could we add an additional environment yaml file for each alternative backend? Leaves pip users outside the loop though.

Ralf suggested in gh-21287 that we could take a look at pixi to generate lockfiles per platform and set of additional backends. I had a play around with it and it looks cool, although it will be quite complex given the amount of dependencies we have and the variation for BLAS etc.

Ralf suggested in gh-21287 that we could take a look at pixi to generate lockfiles per platform and set of additional backends. I had a play around with it and it looks cool, although it will be quite complex given the amount of dependencies we have and the variation for BLAS etc.

cc @wolfv (if there is someone interested on your end on helping Lucas get started with pixi 😉)

I had a play around with it and it looks cool, although it will be quite complex given the amount of dependencies we have and the variation for BLAS etc.

Yep:) Looks like I'm getting it to do what I want though: https://github.com/rgommers/pixi-dev-scipystack. It's not complete, but enough to get going with on array API library testing (commands like test-jax,  test-torch,test-cpu work on macOS, haven't tested on Linux). Having cross-platform lock files to bring a bit of method to the madness will be useful here. I plan on using this as my main dev setup locally for a while, adding what I need.


Stopped work

Just stopped work on Microsoft Edge (Chromium), download and open new tab icon just gone, just for me or script issue?

This was the script issue due to Instagram modified the website.
Now, I have fixed it.


[BUG] Nerd Fonts background width

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
I 've been using iconic fonts in Nerd Fonts as my widget icon, but after a pacman -Syu one day, the background of icons were cut down.
I measured the backgrond width of these icons , finding that they are equal to the background width of standard number fonts.
Reproducing the issue
1.Run eww on an up-to-date Arch Linux machine under swaywm, using example config with slightly changes below :
eww.scss :
* { all: unset;        font-family :'Jetbrains Mono Nerd Font';
and add
  button:hover {background-color: #D35D6E;}
eww.yuck, at line 44 to 54
(defwidget metric [label value onchange]   (box :orientation "h"        :class "metric"        :space-evenly false     (**box** :class "label" label)     (scale :min 0            :max 101            :active {onchange != ""}            :value value            :onchange onchange)))
replace the **box** with button
2.Let your mouse hover over the RAM icon, which is from Nerd Fonts, you'll see the background's been cut down
Expected behaviour
The red background covers the whole icon
Additional context

I'm afraid this is an issue with the underlying font rendering of GTK, which sadly EWW cannot really fix. :/ There's probably some workaround with adding spaces, or setting a specific character width via CSS or something


Fix: bump cypress plugin

self explanatory

now there's only the identity failing, linked to https://github.com/ChainSafe/Multix/issues/543


fix handle result status of if function

Issue Number: close https://github.com/apache/doris/issues/38425

cherry-pick https://github.com/apache/doris/pull/27491 to branch-2.0
add WARN log if VExprContext::execute successfully, but return null column

run buildall


Initialize HBase for Dataproc HA

The current hbase configuration tries to connect the first namenode in Dataproc. It leads to hbase master down when the first namenode  is shutdown or restarted.
To fix this, hbase.rootDir should use the value of fs.defaultFS in hadoop configuration.

I signed it!

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

Googlers: Go here for more info.

I signed it


Support for flutter v2.2.0

Hi,
After upgrading the flutter version to 2.2.0, I got the below error.
../../Software/FlutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_mentions-2.0.0-nullsafety/lib/src/annotation_editing_controller.dart:58:12: Error: The method 'AnnotationEditingController.buildTextSpan' has fewer named arguments than those of overridden method 'TextEditingController.buildTextSpan'.
TextSpan buildTextSpan({TextStyle? style, bool? withComposing}) {
^
../../Software/FlutterSdk/flutter/packages/flutter/lib/src/widgets/editable_text.dart:192:12: Context: This is the overridden method ('buildTextSpan').
TextSpan buildTextSpan({required BuildContext context, TextStyle? style , required bool withComposing}) {
^
../../Software/FlutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_mentions-2.0.0-nullsafety/lib/src/annotation_editing_controller.dart:58:12: Error: The method 'AnnotationEditingController.buildTextSpan' doesn't have the named parameter 'context' of overridden method 'TextEditingController.buildTextSpan'.
TextSpan buildTextSpan({TextStyle? style, bool? withComposing}) {
^
../../Software/FlutterSdk/flutter/packages/flutter/lib/src/widgets/editable_text.dart:192:12: Context: This is the overridden method ('buildTextSpan').
TextSpan buildTextSpan({required BuildContext context, TextStyle? style , required bool withComposing}) {
^
FAILURE: Build failed with an exception.
After checking the source code 'Context' param added additionaly.
`/// Builds [TextSpan] from current editing value.
  ///
  /// By default makes text in composing range appear as underlined. Descendants
  /// can override this method to customize appearance of text.
  TextSpan buildTextSpan({required BuildContext context, TextStyle? style , required bool withComposing}) {
    assert(!value.composing.isValid || !withComposing || value.isComposingRangeValid);
    // If the composing range is out of range for the current text, ignore it to
    // preserve the tree integrity, otherwise in release mode a RangeError will
    // be thrown and this EditableText will be built with a broken subtree.
    if (!value.isComposingRangeValid || !withComposing) {
      return TextSpan(style: style, text: text);
    }
    final TextStyle composingStyle = style!.merge(
      const TextStyle(decoration: TextDecoration.underline),
    );
    return TextSpan(
      style: style,
      children: <TextSpan>[
        TextSpan(text: value.composing.textBefore(value.text)),
        TextSpan(
          style: composingStyle,
          text: value.composing.textInside(value.text),
        ),
        TextSpan(text: value.composing.textAfter(value.text)),
      ],
    );
  }`

@fayeed I have raised PR. Could you please verify & merge it?. Would be really helpful.
Thanks.

@chainchelliah Published the new version 2.0.1


Readme / Doc not clear

I am trying to follow your guide for custom training and custom validation. For example, when you explain how to train, you don't specify the file type for the config.yml file, and you don't mention that the training script must be executed from the command line. It would be helpful if you could explain or indicate every type of argument for better comprehension.
In the model validation section, you provide the command but don't explain what benchmark/annotation.csv is (if you can explain to me, because I don't know). I think it would be helpful to give more detailed explanations in the same section, to avoid having to search for information in different places. This would make the guide easier to follow.
(And explain the utilities of the commands, maybe give a project example of custom training)

Thanks for the feedback. Will add some more details to docs.


Add windows support

Installs and configures sensu-client on a windows server to connect to a sensu-server.
Hopefully you find it useful. Might need some more testing and re-organization.
Also optionally installs the pagerduty agent.

Looks like you  need to rebase to fix conflicts.
On a side note..with windows in the mix we might want to invest in using something like appveyor for testing it what are your thoughts @jaredledvina

@majormoses - You beat me to this but, yeah, I barely use Windows currently, so I would love to get something automatic to test this change out now and going forward to ensure we don't accidentally break it. I've never actually used appveyor either. How does sensu-chef do something like this?

retest

Triggered a new build because i was not sure about why the centos build was failing where the others were succeeding... didn't expect these changes affected anything there.

Error was:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failure talking to yum: File /var/cache/yum/x86_64/7/epel/metalink.xml does not exist"}

I doubt that's related to your changes here, so I just re-restarted it again. It's possible it's connecting to a flakey mirror, not entirely sure. If it keeps happening I'll dive in further, thanks for the updates!

Hey @dkorel-copperleaf  - Just checking in here on my questions above. If you don't have time to address them, that's totally fine, just let me know and I'll try to get a Windows env setup to test and get this over the finish line.

Hi guys, really sorry i got a lot busier recently than i had expected. Please go ahead if you have the capacity! Happy to answer any questions if needed

Hey @dkorel-copperleaf - Totally understandable, I'll take a swing at things this week/weekend and see what I can get working. Thanks for everything thus far!

Hi! I'm going to close this pull request out and continue to track getting official Windows client support included in this role via https://github.com/sensu/sensu-ansible/issues/189. Feel free to re-open if you'd like to revisit this change.


euvatin validator and some other minor changes

Added a few comments. Also you have a failing test.

Done.

In teory it should not pass only if the field is also required?

Validating "" is not the concern of the regex. Best not test for it.

I removed it but it continues to have the obscure message.
PS: it's a bit confusing that some validators needs the empty string check for required compatibility and others not, anyway.

I apologize. Your implementation was correct and I was confused asking you to check integer validation. I simply went back to your original implementation and merged it to master.
Great work, thanks again


feat(executor): improve explain of OrderBy and NLJ

part of https://github.com/risinglightdb/risinglight/issues/410

Forgot to sign DCO, my bad, trying to fix it.

Didn't find a good way :(

you can refer the issue in the PR

gotcha. Getting familiar with github's workflow.


Add integration tests for passing arguments to commands

The issues found and fixed in #5 showed that passing arguments to commands isn't trivial, and especially may behave differently between OSs.
We should add some test coverage (at least in the integration tests, but maybe also unit tests?) to make sure that running commands with arguments does work, esp. the non-trivial cases (such as arguments containing spaces, containing quotes, containing backslashes).

These test should generally try covering all public functions provided by devcmd.
For example, when adding the execToString and execInTty functions, there was a bug that the methods in ProcessExecutor weren't properly bound, which wasn't caught by the existing tests at the time. (See c24b4f8bccfaf08c92d0ea42625fdbc74910f669 )

These test should generally try covering all public functions provided by devcmd.
For example, when adding the execToString and execInTty functions, there was a bug that the methods in ProcessExecutor weren't properly bound, which wasn't caught by the existing tests at the time. (See c24b4f8bccfaf08c92d0ea42625fdbc74910f669 )


Automatic insertion of __typename field to unions/interfaces selection set

Artemis needs the value of __typename field of union types and interfaces to be able to differentiate the object type when resolving those types. This means the user must add the type name field (tipically __typename) to the union type/interfaces they're querying.
Ideally, Artemis could automatically add this field to the query, avoiding this hassle.

@comigor it seems that this issue if fixed by https://github.com/comigor/artemis/pull/254


⚠ Bofrost.lu has degraded performance

In 657e8ed, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2404 ms

Resolved: Bofrost.lu performance has improved in 49da296 after 6 minutes.


Texts don't load if not main page is loaded first

I found an issue where not all texts are loaded / rendered if not the main page is loaded first.
For example if I load https://sigmausd.io/ in the browser and then navigate to the ReserveCoin page (https://sigmausd.io/#/reservecoin), all texts are loaded properly.
But if I'm on the ResrveCoin page and hit Refresh in the browser, the "Provide liquidity and earn premiums upon redemption" text disappears and only reserveTag is displayed in its place. This is just one example.
I am using Chrome Version 90.0.4430.212 (Official Build) (64-bit), on Ubuntu 20.04.02 LTS.
Opening the developer console, I can see the following JavaScript warnings:
2.15f9c5fc.chunk.js:1 i18next: hasLoadedNamespace: i18next was not initialized undefined

2.15f9c5fc.chunk.js:1 i18next::translator: key "menuDash" for languages "en" won't get resolved as namespace "translation" was not yet loaded This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!

2.15f9c5fc.chunk.js:1 i18next::backendConnector: loading namespace translation for language en-US failed failed parsing /locales/en-US/translation.json to json

I would also like to note that visiting https://sigmausd.io/ from my mobile (Android, Chrome browser) I also experience several text / translation issues too, regardless of which page I start from.

@deadit I confirm this issue, please take a look.


Create Github App & Add Netlify Environment Variables for API Tokens

Is your feature request related to a problem? Please describe.
Currently, we are using a personal token for the Github JS API. This is dangerous, as even the minimum permissions have too much scope, and we are not managing it properly (currently just .gitignored).
Describe the solution you'd like
For production, we should make a Github App with the proper permissions. We should also be storing the token in a protected Netlify environment variable, since it only needs to be used in Netlify functions.

Ooh, one (much simpler) solution here is to just continue using a personal access token when we switch over to a dedicated BEGIN Github account, and store that as a Netlify environment variable


v1.12 Backports 2024-01-24

[x] #30207 (@giorio94)

ℹ Hit multiple conflicts due to the absence of the helm-default action in the v1.12 branch, resolved updating the chart-dir path as appropriate. Additionally, skipped the hunks for workflows which did not exist in v1.12.

[ ] #28286 (@tamilmani1989)

:warning: Hit multiple conflicts due to the documentation structure refactoring. Adapted the index pages and moved the main content to Documentation/{gettingstarted,concepts/networking/ipam} for consistency. Please double check.

[x] #30335 (@giorio94)
[x] #30167 (@viktor-kurchenko)

⚠ Hit conflicts due to cilium to cilium-dbg renaming, resolved running git cherry-pick -Xrename-threshold=20% $SHA. Please double check.

Once this PR is merged, a GitHub action will update the labels of these PRs:
 30207 28286 30335 30167

/test-backport-1.12

/test-1.24-net-next

Somehow a reviewer from ci-structure wasn't selected. Picked @brlbil at random.

CI is green, are reviews are in. Marking as ready to merge.


Document telco_sentiment dataset

Please do add relevant chapter in sadedegel/dataset/README.md for telco_sentiment dataset

Ping!!!

This dataset is currently documented in latest develop 2e3e504. Closing.


Fix typo in comment

Codecov Report

Merging #1314 into master will decrease coverage by 5.7%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1314      +/-   ##
==========================================
- Coverage   52.14%   46.43%   -5.71%
==========================================
  Files         134      134
  Lines       13043    13043
==========================================
- Hits         6801     6057     -744
- Misses       5410     6214     +804
+ Partials      832      772      -60

Impacted Files
Coverage Δ

cmd/restic/cmd_forget.go
33.72% <0%> (ø)
:arrow_up:

internal/backend/b2/b2.go
0% <0%> (-79.93%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-75.35%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-73.9%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-65.6%)
:arrow_down:

internal/backend/swift/config.go
34.37% <0%> (-56.25%)
:arrow_down:

internal/checker/checker.go
68.19% <0%> (-3.84%)
:arrow_down:

Continue to review full report at Codecov.

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


Should we hard exit if required parameters are not given?

If the ejson file and private env are not present, the hook would fail hard with exit 1 which is okay in most scenarios. However I am wondering if it is possible to introduce a flag to graceful exit 0 because in my case I am using one template for many pipelines and some of them do not bundle secrets.ejson file. I've been working around this by having a script to detect the presence of required params then adding or removing the ejson2env plugin accordingly (which is fine though a bit clunky IMHO).
cc @stevehodgkiss

I did a quick spike https://github.com/Shortlyster/ejson2env-buildkite-plugin/commit/597397c7c5371c2e165698b70648e03e17027bad


Fix #317: Improve logging of Web Flow

I added logging into all controllers and some of the important services.
In some cases I had to change level from INFO to FINE to avoid spamming the log.

Looks OK


The present function returns the Dialog so it can be dismissed at a later time

What are you trying to accomplish?
Have the possibility to dismiss the CheckoutDialog once the checkout is completed.
At the moment this is not possible since we don't have the instance of the dialog created so we can't call dismiss on it.
With this PR the CheckoutDialog reference is returned so it can be used later to dismiss it.
Before you deploy

[ ] I have added tests to support my implementation
[x] I have read and agree with the contributing documentation
[x] I have read and agree with the code of conduct documentation
[ ] I have updated the README (if applicable).

Thanks @kiftio for the reivew, to answer your question, I have a Flutter app that invokes that code from a Flutter plugin. That means that I only have the activity and I need a way to close the sheet once the checkout is completed.
I'll make those changes and update the PR.


⚠ ClamAV has degraded performance

In 4dc140d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in 36b1017.


Docker Hub repository name
livecycle/docker-extension
Terms of services

[X] I accept the term of services

/validate

/validate


renamed security driver arms

As discussed in https://github.com/urbit/urbit/issues/692, renamed security driver arms as follows:
++  out -> filter-request
++  res -> filter-response
++  in -> receive-auth-query-string
++  bak -> receive-auth-response
++  upd -> update
++  wyp -> discard-state

All the drivers have been updated, and they all compile, but I haven't done an end-to-end test of any of them except Github.  My testing of the others consisted of verifying that +https://domain.com produced an %oauth-no-keys error.  If @ault011 or @ohAitch want to test them, that'd be great.  Would like @ohAitch to review, in any case.
Currently this is a breaching change because for some reason wires are a part of eyre's state somewhere.  I'm not familiar enough with eyre to quickly write a state adapter.

You would definitely still need the old wire names around as long as you
might have any events coming back on them; I'm not sure how to address this
in a reasonably straightforward way.
On Tuesday, 12 April 2016, Philip Monk<EMAIL_ADDRESS>wrote:

As discussed in urbit/urbit#692
https://github.com/urbit/urbit/issues/692, renamed security driver arms
as follows:
++  out -> filter-request
++  res -> filter-response
++  in -> receive-auth-query-string
++  bak -> receive-auth-response
++  upd -> update
++  wyp -> discard-state
All the drivers have been updated, and they all compile, but I haven't
done an end-to-end test of any of them except Github. My testing of the
others consisted of verifying that +https://domain.com produced an
%oauth-no-keys error. If @ault011 https://github.com/ault011 or @ohAitch
https://github.com/ohAitch want to test them, that'd be great. Would
like @ohAitch https://github.com/ohAitch to review, in any case.
Currently this is a breaching change because for some reason wires are a
part of eyre's state somewhere. I'm not familiar enough with eyre to
quickly write a state adapter.
You can view, comment on, or merge this pull request online at:
https://github.com/urbit/arvo/pull/110
Commit Summary

renamed security driver arms

File Changes

M arvo/eyre.hoon
https://github.com/urbit/arvo/pull/110/files#diff-0 (45)
M sec/com/asana.hoon
https://github.com/urbit/arvo/pull/110/files#diff-1 (6)
M sec/com/digitalocean.hoon
https://github.com/urbit/arvo/pull/110/files#diff-2 (6)
M sec/com/dropboxapi.hoon
https://github.com/urbit/arvo/pull/110/files#diff-3 (6)
M sec/com/facebook.hoon
https://github.com/urbit/arvo/pull/110/files#diff-4 (6)
M sec/com/github.hoon
https://github.com/urbit/arvo/pull/110/files#diff-5 (2)
M sec/com/googleapis.hoon
https://github.com/urbit/arvo/pull/110/files#diff-6 (8)
M sec/com/instagram.hoon
https://github.com/urbit/arvo/pull/110/files#diff-7 (6)
M sec/com/slack.hoon
https://github.com/urbit/arvo/pull/110/files#diff-8 (6)
M sec/com/twitter.hoon
https://github.com/urbit/arvo/pull/110/files#diff-9 (10)

Patch Links:

https://github.com/urbit/arvo/pull/110.patch
https://github.com/urbit/arvo/pull/110.diff

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/urbit/arvo/pull/110

Easiest would be to accept both versions of the names in wires until the next breach.

You can just add the new names to whir-se, and switchboard logic to ++vi,
yeah.
On Tuesday, 12 April 2016, Philip Monk<EMAIL_ADDRESS>wrote:

Easiest would be to accept both versions of the names in wires until the
next breach.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/urbit/arvo/pull/110#issuecomment-209128406

Also, thoughts on the ~(simple auth-whatever ...) arm names? The old
interface names made sense as prefixes; porting that forward directly would
get a bit unwieldy, though I suppose I'm not philosophically opposed to
"++receive-auth-query-string-exchange-code-for-token" as long as I never
ever have to debug it.
On Tuesday, 12 April 2016, Anton Dyudin<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','antechno777@gmail.com');>> wrote:

You can just add the new names to whir-se, and switchboard logic to ++vi,
yeah.
On Tuesday, 12 April 2016, Philip Monk<EMAIL_ADDRESS>wrote:

Easiest would be to accept both versions of the names in wires until the
next breach.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/urbit/arvo/pull/110#issuecomment-209128406

Is this updated to accept both versions of the names?

Not yet
On Apr 13, 2016 6:29 PM, "Raymond Pasco"<EMAIL_ADDRESS>wrote:

Is this updated to accept both versions of the names?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/urbit/arvo/pull/110#issuecomment-209714535

This is in in a non-breaching way


Implemented dedicated boot0 key

Due to issue in current schematic, had to turn the boot0 key into a dedicated boot key


White spaces to surround the word 'from' whilst fetching whilst creating a jail

Prerequisites
☑ Have you checked for an existing issue describing your problem?
☑ Are you running the latest version?
☑ Is your ports tree recent?
☐ Is your FreeBSD Host on a supported release? No.
Describe the bug
Whilst creating a jail, it seems that there's no white space either side of the word
from
How to reproduce
poudriere jail -c -j example -v 13.0-RELEASE
Expected behavior
White spaces between words/phrases.
Screenshots

Environment

Host OS: FreeBSD 14.0-CURRENT
Jail OS: FreeBSD 13.0-RELEASE in the example above
Browser: not applicable
Poudriere: poudriere-devel-<IP_ADDRESS>10720
Ports branch and revision: latest branch

Additional context
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #105 main-n248685-c9f833abf1d: Fri Aug 13 20:24:43 BST 2021     root@mowa219-gjp4-zbook-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64 1400030 1400030
%

Are you referring to the "/usr/local/poudriere/jails/example/fromftp/bas" part?
fetch has a builtin limit of 46 characters for that part. We could avoid the overflow by fetching relative to the destination directory.
# ./poudriere jail -c -j example -v 13.0-RELEASE
[00:00:00] Creating example fs at /poudriere/jails/example... done
[00:00:02] Fetching MANIFEST for FreeBSD 13.0-RELEASE amd64
MANIFEST                                              1046  B   12 MBps    00s
[00:00:02] Fetching base for FreeBSD 13.0-RELEASE amd64
base.txz                                               180 MB   73 MBps    03s
^C[00:00:06] Error: Signal SIGINT caught, cleaning up and exiting
[00:00:06] Error while creating jail, cleaning up.
[00:00:06] Removing example jail... done
[00:00:09] Cleaning example data... done

Assuming that is what you're referring to I've pushed a fix for it.


Cast discriminator to string if it's a const

Havent tested this with any network operation yet

Tested with a network call, seems to be working fine now.


Use math.MaxInt32 instead of math.MaxUint32

I think it was original intention, because even half of a comment was about
MaxInt32.
Fix #15038

+1

LGTM

LGTM

Do we want this in 1.8?

@thaJeztah Yes please, this is a build breaking bug for me.

Tentatively adding this to the 1.8 milestone, but @calavera is captain :-)


Update BackgroundApplications.md

Change code block annotation from c++ to c# since the code is c#

@paulmon,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/develop-your-app/BackgroundApplications.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Can’t distinguish which tab is currently selected in the tab bar

Thanks so much for sharing this theme!
One bug that stood out: I can’t tell which tab is selected by the color palette (see attached image)

Thanks @sdras for this theme, looks great!
Related to this I think, the contrast of the tabs in inactive panes drops to difficult-to-read levels

Thank you for reporting! I'll work on this right away

Came here to say this :) Love the theme though!!

Thanks everyone! This is now updated. Please update to the new release! Feel free to reopen if I missed something :)


Error: Could not load config file

I have a builder.json and set --config=builder.json but get "Error: Could not load config file" when running electron-builder. Anyone else have this issue?
using electron-builder 2.5.0
error is thrown at:
node_modules/electron-builder/index.js:63:26
node_modules/electron-builder/cli.js:36:9

@baikon could you please try to use absolute path and not relative?
Also it would be grateful if you could provide an example of your full config.

could you please try to use absolute path and not relative?

Relative paths should work though. :)
@baikon https://github.com/loopline-systems/electron-builder/blob/master/CONTRIBUTING.md :)

electron-builder \"/Users/stefan/share/win/Blocky-win32-ia32\" --platform=win --out=\"/Users/stefan/share/win\" --config=packager.json" runs fine here.

Ah, sure thing:
node version: v0.12.7
npm version: 3.33.10
i am using the example config.json from the readme
i just tried using absolute urls and running:
electron-builder \"/Users/baikon/dist/public/electronApp-darwin-x64\" --platform=osx --out=\"/Users/baikon/dist/public/installers\" --config=builder.json

log:
- Running electron-builder 2.5.0
/Users/baikon/dist/public/node_modules/electron-builder/cli.js:40
    throw error;
          ^
Error: Could not load config file
    at Object.Builder.build (/Users/baikon/dist/public/node_modules/electron-builder/index.js:66:26)
    at Object.<anonymous> (/Users/baikon/dist/public/node_modules/electron-builder/cli.js:36:9)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

And the file is definitely there - relatively to the directory you're firing electron-builder?
Can you log the path here and make sure it's not a mistake on your side?
(/Users/baikon/dist/public/node_modules/electron-builder/index.js:66:26)

ok, i found that it's throwing a syntax error in the sample config, it doesn't like the "// optional" comments for some reason

it doesn't like the "// optional" comments for some reason

That's not valid JSON... We should remove these maybe. ;)
Can you maybe file an issue giving a short version of what you did and requesting that the error message was misleading? :)  A PR would also be great of course. :)

sure thing, thanks for your attention and responses today - much appreciated.


Making About Us page

current progress made space for the description of the page, description of work, team members.
I am attaching the screenshots of current progress.

hey there @Nishantgoyal918 ,  great going. Keep working on the same and let me know in the communication channel whenever you need any help. Also let me know when you're done so that I can review it and merge the PR.

hii @Nishantgoyal918 , can you push your further changes and update the PR to your current progress? How are things coming along?


Fails on 0.9.1

Tried zig build run with Zig 0.9.1 on Windows 11 and got some deprecation compile errors.
/home/mark/zig-linux-x86_64-0.9.1/lib/std/builtin.zig:13:16: error: get this from @import("builtin") instead of std.builtin
pub const os = @compileError("get this from @import(\"builtin\") instead of std.builtin");

I went and find-replaced this, and ended up with some other errors like
/home/mark/zig-linux-x86_64-0.9.1/lib/std/target.zig:1322:25: error: instead of std.Target.current, use @import("builtin").target
    pub const current = @compileError("instead of std.Target.current, use @import(\"builtin\").target");
                        ^
/home/mark/zig-upaya/src/deps/sokol/build.zig:35:39: error: container 'std.zig.system' has no member called 'getSDKPath'
    const sdk_dir = try std.zig.system.getSDKPath(b.allocator);

There are the usual Zig master changes required: builtin is not @import("builtin"), Target is now CrossTarget etc for use with Zig master.


Big move working

@jrdouceur this is an implementation Bert is looking into to try and fix the dependency problem with React we're seeing.

As we discussed in the meeting, a good name for the FooInfoStatic class would be FooParser.  We also briefly discussed changing FooInfoImpl to FooValidator, and looking through the codebase now, I think this would be a good change.  I don't see anything in the FooValidator that clearly belongs in the FooParser; there are a couple of methods that could plausibly be moved, but it's not an obvious improvement so not worth the effort.

As we discussed in the meeting, a good name for the FooInfoStatic class would be FooParser.  We also briefly discussed changing FooInfoImpl to FooValidator, and looking through the codebase now, I think this would be a good change.  I don't see anything in the FooValidator that clearly belongs in the FooParser; there are a couple of methods that could plausibly be moved, but it's not an obvious improvement so not worth the effort.


 I'd like to create a forecasting problem simulator in whynot. Any ideas of where I could start?

Hi! There's a case study on performative prediction in the examples here that might be a good place to start. What sort of forecasting problems do you have in mind? I'd be happy to include another performative prediction simulator beyond this one if you have a concrete simulator in mind.

We're working in demand forecasting using a range of models including auto-regressive models. When the forecasted demand underestimates the true demand, some percentage of the demand is not fulfilled, so if the forecast model is updated naively, it is updated using some modified demand which is less than the true demand thanks to previous underestimates from the forecast. I'm still trying to think of how to formulate this in a simulator, the difference with the example notebook is that for a forecast model the input variable is the historic y data, rather than having separate X and y distributions if that makes sense?

Very interesting setting! One reference that might be of interest is Brown, Gavin, Shlomi Hod, and Iden Kalemaj. "Performative Prediction in a Stateful World." arXiv preprint arXiv:2011.03885 (2020)., which models a dynamic component like the one you're describing. It looks like that paper also includes some simulation here. If any of those are useful to you, happy to discuss adding them to whynot.

Thanks for the tips! I'll take a look and get back to you.
On Tue, Nov 2, 2021 at 10:25 PM John Miller @.***>
wrote:

Very interesting setting! One reference that might be of interest is Brown,
Gavin, Shlomi Hod, and Iden Kalemaj. "Performative Prediction in a Stateful
World." arXiv preprint arXiv:2011.03885 (2020).
https://arxiv.org/abs/2011.03885, which models a dynamic component like
the one you're describing. It looks like that paper also includes some
simulation here
https://github.com/shlomihod/performative-prediction-stateful-world. If
any of those are useful to you, happy to discuss adding them to whynot.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zykls/whynot/issues/25#issuecomment-958179021, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AC46UAS7KOGI3HUUKPGDOWTUKBQNLANCNFSM5GMGS4HA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Avoid creating sparse files

For some reason unknown, data files created by tiedot are sparse under certain OS/FS combinations.
Try figure out why it happens and always create full-size files.

resolved in https://github.com/HouzuoGuo/tiedot/commit/4f6b950a115c15504d3ca1675bf0f2abe97b2ecf
https://github.com/HouzuoGuo/tiedot/commit/a170f27b2ec7d7a4a7c5d44e26edace356c48b20


Latest code from examples  does not work

I've got latest code from git/repo and try to run/start code in custom-server-koa folder. When I run application with npm run dev or with next build, I always get the following error:
 babel [BABEL] unknown: Generation end +1ms
{ Error: ./pages/a.js?entry
Module build failed: SyntaxError: Unexpected token (1:21)

> 1 | export default () =>
a

    |                      ^
  2 |

Error
...

This is because we've not released a new beta for the latest code. Let's do it.

ah.. I just upgraded to the latest beta (<IP_ADDRESS>) and I'm getting the same error in my code.  Am I doing something wrong here?  Should I target an earlier beta?

@codyloyd can you check the version in ./node_modules/next/package.json Works for me with beta 25

@timneutkens yep.  can see the package.json and the error in the screenshot.

@codyloyd May be this is something related to your babelrc. Send us the related .babelrc file. You see a note on which one we are using while starting the app.

{
  "presets": ["es2015"]
}

@codyloyd okay.
I hope we could close this issue.


Add calling_format support and remove gzip check.

Resolves #26 and #82

Thanks for the PR. Please see inline comments.
Also please add changelog and tests. We really need tests for the gzip so we don't reproduce #82 .

Ping @balihoo-dengstrom

Contains #53

Ping @balihoo-dengstrom, what's status of this PR?

Sorry, this can be closed. I've migrated to a different library.


Missing bold in "Good fit scenarios" section

@javierglozano,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@javierglozano : Thanks for your contribution to the Azure documentation! The author, @arnomicrosoft, has been notified to review your proposed change.

#please-close This topic has been deprecated.


how to set expected exception

I would like to ask whether it is possible to define expected exceptions for it blocks. Currently I am using try catch to handle this. And I am wondering if this is possible with spectrum?

Assertions (including expected exceptions) aren't the purview of Spectrum itself, but there are a few options, depending on your preferences.
One option is to use an assertion library like AssertJ which has a nice way to verify exceptions. Apparently assertThrows for lambdas is slated for JUnit 4.13 if/when that is released.
Another option is to write a helper function to hide some of the boilerplate. It could look like it("should throw Blah", expected(BlahException.class, ()-> {/* ... */});, or if you're ambitious, a Hamcrest matcher for something like: assertThat(() -> foo.doSomething(123), doesThrow(SomeException.class));.
Googleing around, this StackOverflow answer has some interesting ideas too.
There will be some basic support for JUnit @Rules like ExpectedException in the next release of Spectrum, but it would probably be cleaner (IMHO) to use one of the above.

Thanks. I actually created a helper class that includes the boiler plate codes just for that. I was just worried that somehow that JUnit's @ExpectedException can be used in Spectrum and that I am just not aware how do it.


Installing recommended extension (Jupyter) doesn't completely resolve rendering problems until ipynb reload.

Testing #129463

VS Code with Python, but no Jupyter extension
Open a notebook such that it's pinned or permanently opened.
Scroll to a cell that has output that can't be rendered:

Click the ... and choose "Choose Output Mimetype"
Choose "Install additional renderers..."
Install the Jupyter extension as suggested
Switch back to the notebook

Output still isn't rendered. Just looks buggy:

Reopening the notebook or reloading VS Code will fix the problem.

Oh, yes we should try to rerender when the missing renderer shows up. I'm not sure what's up with the preloads though?

@rebornix and I talked about this and decided it's too risky for July


Intellisense help text is truncated

The help text for the JSON property is truncated, so it ends with "Can be omitted if ......."
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell

Duplicate of #369


Economy not working

Hi,
I am trying to create a shop, but everytime I do, it says that i havent got enough money, but i have!
https://i.gyazo.com/3a1ef1f55294efa40015a813f3cd5c4b.png
I am currently using CraftConomy: https://www.spigotmc.org/resources/craftconomy.2395/
What could be the problem?

It looks like Essentials eco y overwritting CraftConomy....

Could it be because of CraftConomy being a multi-world economy plugin?

Yep, It was craftconomy multi-world, tried another plugin :P
Thanks for your time!

Should be fixed in 48eda92


missing param text for jsdoc for Toggle

A line for JSDoc is missing here, for the param text: https://github.com/bit101/minimalcomps2/blob/master/src/toggle.js#L18

Thanks. Fixed.


Some fixes for Chef 16 release notes.

filesystem2 is only now being introduced on windows
log-* is additive

I think that covers the comments.


Added: escaping a Node returns the subject

Codecov Report

Merging #3 into master will decrease coverage by 10.07%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master       #3       +/-   ##
===========================================
- Coverage   91.79%   81.71%   -10.08%
===========================================
  Files           5        4        -1
  Lines         268      257       -11
===========================================
- Hits          246      210       -36
- Misses         22       47       +25

Impacted Files
Coverage Δ

aiosparql/escape.py
100% <100%> (ø)
:arrow_up:

aiosparql/client.py
53.75% <0%> (-31.25%)
:arrow_down:

aiosparql/test_utils.py

Continue to review full report at Codecov.

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


Possibility to mark Chromecast as "ignore"?

Hey!
I had a chromecast stick at home since several months, and it is working fine with this adapter. Since some weeks, I have a new smartTV with a built-in Chromecast. The problem seems to be, that this one is somehow going to "sleep mode", and creates these error messages:

Is there somehow a possibility that the adapter is just connecting to defined devices, and not scanns all of them? I would like the adapter just to connect to the stick, but not to the one in the TV - or somehow to get rid of the error logs? It seems to be connecting all the time.

That would be a a nice feature. I have the same problem with my xiaomi mi tv box.

Would setting the log level for this adapter to Error be acceptable for now? I am not sure what it would take to change the level only for a single chromecast device...

Same problem here. Mi TV BOX.

Issue #76 similar problem. Please give a thumbs up!

same problem :(

you can use iptables to exclude the android tv until there is an ignore-flag

@Casino basically a possible solution, but I use e.g. for my Sony TV another adapter to switch the device on and off, which would not work anymore...
Therefore the possibility to deactivate the multicast-dns in the Chromecast Adapter, so that the device is not found by the adapter, would be much better!

Try to "iobroker url https://github.com/trixing/castv2-player" - this fixes it for me. Created a pull request.

is it enough to rebuild with the latest castv2 library? if could try with the latest from git it should pull the latest castv2 libraries.
I am not longer using iobroker so I cannot test this - @GermanBluefox , not sure if we need a long term maintainer since I can only do basics such as tagging a new version after getting feedback from users.


Rename OpenStreetMap Discourse?

Preferred name for OpenStreetMap.org's discourse instance is: OpenStreetMap Community Forum
The Forum suffix was recently added now that the old forum.openstreetmap.org has been migrated.
I have a strong preference to not use the software name as it hopefully isn't relevant to most users. It will likely also confuse some.
Happy to create a PR.

Awesome! Thank you.


Fixes for patch release 1.22.1

I have created this issue just to track the commits to be backported to 1.22

Commit SHA-SUM
Backported? (Y/N)

TBD
No

Closing this issue - using a new project to track the tasks.


Operation error reporting

WSL2
$ cog run script/download-weights
Building Docker image from environment in cog.yaml...
[+] Building 14.0s (15/16)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 2.01kB                                                                             0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 34B                                                                                0.0s
 => resolve image config for docker.io/docker/dockerfile:1.2                                                       0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:1.2                                                          0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04                             0.0s
 => [stage-0  1/10] FROM docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04                                     0.0s
 => [internal] load build context                                                                                0.1s
 => => transferring context: 40.63kB                                                                               0.1s
 => CACHED [stage-0  2/10] RUN rm -f /etc/apt/sources.list.d/cuda.list &&     rm -f /etc/apt/sources.list.d/nvidi  0.0s
 => CACHED [stage-0  3/10] RUN --mount=type=cache,target=/var/cache/apt set -eux; apt-get update -qq; apt-get ins  0.0s
 => CACHED [stage-0  4/10] RUN --mount=type=cache,target=/var/cache/apt apt-get update -qq && apt-get install -qq  0.0s
 => CACHED [stage-0  5/10] RUN curl -s -S -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/p  0.0s
 => CACHED [stage-0  6/10] COPY .cog/tmp/build2431266460/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-no  0.0s
 => CACHED [stage-0  7/10] RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none  0.0s
 => CACHED [stage-0  8/10] COPY .cog/tmp/build2431266460/requirements.txt /tmp/requirements.txt                    0.0s
 => ERROR [stage-0  9/10] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt     13.5s
------
 > [stage-0  9/10] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt:
#15 1.134 Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
#15 3.250 Collecting diffusers==0.11.1
#15 3.257   Using cached diffusers-0.11.1-py3-none-any.whl (524 kB)
#15 4.544 Collecting torch==1.13.0+cu116
#15 13.49 /root/.pyenv/pyenv.d/exec/pip-rehash/pip: line 20:    99 Killed                  "$PYENV_COMMAND_PATH" "$@"
------
executor failed running [/bin/sh -c pip install -r /tmp/requirements.txt]: exit code: 137
ⅹ Failed to build Docker image: exit status 1

Centos7
$ cog run script/download-weights
Building Docker image from environment in cog.yaml...
[+] Building 254.6s (10/16)
[+] Building 385.4s (10/16)
[+] Building 557.1s (10/16)
[+] Building 557.3s (10/16)
[+] Building 1379.4s (14/16)
[+] Building 1388.9s (14/16)
 => [internal] load build definition from Dockerfile                                                                    0.0s
 => => transferring dockerfile: 2.08kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
[+] Building 1389.0s (14/16)
 => resolve image config for docker.io/docker/dockerfile:1.2                                                         1.3s.
 => CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3  0.0s.
 => [internal] load metadata for docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04                               0.9s.
[+] Building 1401.6s (15/16)
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 2.08kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 94B                                                                                0.0s
 => resolve image config for docker.io/docker/dockerfile:1.2                                                                            1.3s
 => CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc       0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04                                                  0.9s
 => [stage-0  1/10] FROM docker.io/nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04@sha256:6a4ef3d0032001ab91e0e6ecc27ebf59dd122a531703de8f  0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 40.93kB                                                                                0.0s
 => CACHED [stage-0  2/10] RUN rm -f /etc/apt/sources.list.d/cuda.list &&     rm -f /etc/apt/sources.list.d/nvidia-ml.list &&     apt-  0.0s
 => [stage-0  3/10] RUN --mount=type=cache,target=/var/cache/apt set -eux; apt-get update -qq; apt-get install -qqy --no-install-reco  18.4s
 => [stage-0  4/10] RUN --mount=type=cache,target=/var/cache/apt apt-get update -qq && apt-get install -qqy --no-install-recommends    44.8s
 => [stage-0  5/10] RUN curl -s -S -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash &&    606.2s
 => [stage-0  6/10] COPY .cog/tmp/build3144949188/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-none-any.whl                    0.1s
 => [stage-0  7/10] RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none-any.whl                    498.0s
 => [stage-0  8/10] COPY .cog/tmp/build3144949188/requirements.txt /tmp/requirements.txt                                                0.1s
 => ERROR [stage-0  9/10] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt                         231.6s
------
 > [stage-0  9/10] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt:
#15 0.568 Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
#15 2.174 Collecting diffusers==0.11.1
#15 2.648   Downloading diffusers-0.11.1-py3-none-any.whl (524 kB)
#15 16.44      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.9/524.9 kB 37.4 kB/s eta 0:00:00
#15 19.68 Collecting torch==1.13.0+cu116
#15 20.56   Downloading https://download.pytorch.org/whl/cu116/torch-1.13.0%2Bcu116-cp310-cp310-linux_x86_64.whl (1983.0 MB)
#15 192.7      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 GB 2.6 MB/s eta 0:00:00
#15 204.1 Collecting ftfy==6.1.1
#15 206.6   Downloading ftfy-6.1.1-py3-none-any.whl (53 kB)
#15 214.5      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 kB 8.5 kB/s eta 0:00:00
#15 231.4 ERROR: Could not find a version that satisfies the requirement scipy==1.9.3 (from versions: none)
#15 231.4 ERROR: No matching distribution found for scipy==1.9.3
#15 231.4
#15 231.4 [notice] A new release of pip available: 22.3.1 -> 23.0.1
#15 231.4 [notice] To update, run: pip install --upgrade pip
------
executor failed running [/bin/sh -c pip install -r /tmp/requirements.txt]: exit code: 1
ⅹ Failed to build Docker image: exit status 1