Must Drag Built Frameworks from Carthage/Build to Link Binaries & Copy Files Build Phases

Hi Jake,
According to the Carthage Readme, and as pointed out in this github issue, one must drag the built frameworks from the Carthage/Build folder directly into the "Link Binaries With Libraries", and "Copy Files" build phases. This solved the problem of tests not being run for me. Wanted to help connect the dots for others who read your great article.
Cheers and thanks!
Andrew

I have tried your solution but it still isn't working, no tests are being run


CN 5.57 Opcode

{
	"C2S_ActionRequest": "0x0145",
	"C2S_ActionRequestGroundTargeted": "0x0309",
	"S2C_ActionEffect01": "0x032e",
	"S2C_ActionEffect08": "0x020d",
	"S2C_ActionEffect16": "0x00df",
	"S2C_ActionEffect24": "0x018f",
	"S2C_ActionEffect32": "0x00ed",
	"S2C_ActorCast": "0x0116",
	"S2C_ActorControl": "0x00ca",
	"S2C_ActorControlSelf": "0x0245",
	"S2C_AddStatusEffect": "0x02e8",
	"Server_IpRange": "<IP_ADDRESS>/0",
	"Server_PortRange": "1-65535"
}

First time finding opcode so not pretty sure if it is all correct. Please let me know if I need to correct any mistakes.

it works for me, thx!

What's the game version (or the file name of the opcodes file)? Please let me know the file content of game\ffxivgame.ver in the game installation directory.

It is 2<IP_ADDRESS>0.0000 for me.

Double-checked, all opcodes are correct

What's the game version (or the file name of the opcodes file)? Please let me know the file content of game\ffxivgame.ver in the game installation directory.

I tried to use the opcode file in the latest patch on the CN client (Windows 10), but it didn't work. I edited Server_IpRange to "<IP_ADDRESS>/0" and it worked normally again. I don't understand how this IP range actually affects the program, but I think it might be due to the server migration of MaoXiaoPang on Nov. 4. The LobbyHost is still ffxivlobby07.ff14.sdo.com, but the actual IP might differ from the previous one.

{
"C2S_ActionRequest": "0x02ec",
"C2S_ActionRequestGroundTargeted": "0x02ec",
"S2C_ActionEffect01": "0x03b1",
"S2C_ActionEffect08": "0x01e5",
"S2C_ActionEffect16": "0x02d5",
"S2C_ActionEffect24": "0x00e1",
"S2C_ActionEffect32": "0x00c7",
"S2C_ActorCast": "0x013a",
"S2C_ActorControl": "0x012e",
"S2C_ActorControlSelf": "0x0303",
"S2C_EffectResult5": "0x018d",
"S2C_EffectResult6": "",
"S2C_EffectResult6Basic": "",
"Server_IpRange": "<IP_ADDRESS>/0",
"Server_PortRange": "1-65535"
}

CN client have updated to version 5.58, I tried to find out the opcode and  not sure if it is all correct, so please point out if there is anything wrong,thx.

Does this opcode work for your game?

{
"C2S_ActionRequest": "0x02ec",
"C2S_ActionRequestGroundTargeted": "0x02ec",
"S2C_ActionEffect01": "0x03b1",
"S2C_ActionEffect08": "0x01e5",
"S2C_ActionEffect16": "0x02d5",
"S2C_ActionEffect24": "0x00e1",
"S2C_ActionEffect32": "0x00c7",
"S2C_ActorCast": "0x013a",
"S2C_ActorControl": "0x012e",
"S2C_ActorControlSelf": "0x0303",
"S2C_EffectResult5": "0x018d",
"S2C_EffectResult6": "",
"S2C_EffectResult6Basic": "",
"Server_IpRange": "<IP_ADDRESS>/0",
"Server_PortRange": "1-65535"
}

CN client have updated to version 5.58, I tried to find out the opcode and not sure if it is all correct, so please point out if there is anything wrong,thx.

Does this opcode work for your game? I tried that but it seems not work for me. By the way, I also change the "Server_IpRange" to the value same as 5.57 opcode.

{
"C2S_ActionRequest": "0x02ec",
"C2S_ActionRequestGroundTargeted": "0x02ec",
"S2C_ActionEffect01": "0x03b1",
"S2C_ActionEffect08": "0x01e5",
"S2C_ActionEffect16": "0x02d5",
"S2C_ActionEffect24": "0x00e1",
"S2C_ActionEffect32": "0x00c7",
"S2C_ActorCast": "0x013a",
"S2C_ActorControl": "0x012e",
"S2C_ActorControlSelf": "0x0303",
"S2C_EffectResult5": "0x018d",
"S2C_EffectResult6": "",
"S2C_EffectResult6Basic": "",
"Server_IpRange": "<IP_ADDRESS>/0",
"Server_PortRange": "1-65535"
}

CN client have updated to version 5.58, I tried to find out the opcode and not sure if it is all correct, so please point out if there is anything wrong,thx.

Hello, C2S_ActionRequestGroundTargeted is not correct here. You can use Sacred Soil, Shukuchi, and Hissatsu: Soten to find this opcode as described in the wiki. The following configuration works fine for me. Have a try!
{   "C2S_ActionRequest": "0x02ec",   "C2S_ActionRequestGroundTargeted": "0x0357",   "S2C_ActionEffect01": "0x03b1",   "S2C_ActionEffect08": "0x01e5",   "S2C_ActionEffect16": "0x02d5",   "S2C_ActionEffect24": "0x00e1",   "S2C_ActionEffect32": "0x00c7",   "S2C_ActorCast": "0x013a",   "S2C_ActorControl": "0x012e",   "S2C_ActorControlSelf": "0x0303",   "S2C_EffectResult5": "0x018d",   "Server_IpRange": "<IP_ADDRESS>/16, <IP_ADDRESS>/16, <IP_ADDRESS>/16, <IP_ADDRESS>/16",   "Server_PortRange": "1-65535" }


change the wording for the sorted dropdown suggested text

instead of "select a filter", change it to "select an attribute".

The issue is already fixed and might be viewed on rbk-dev.

this change is now on facebase-dev.


Updated the metadata as per instructions.

:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/creating-a-holographic-directx-project.md
:warning:Warning
View
Details

mixed-reality-docs/creating-a-holographic-directx-project.md

[Warning] Author<EMAIL_ADDRESS>cannot be recognized in GitHub.

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/creating-a-holographic-directx-project.md
:white_check_mark:Succeeded
View

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.


Unify CNI implementations for startup race

Unify CNI implementations for startup race across different forks/distributions of Istio
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

This is a P1 item for 1.7, @knrc you had suggested that Marko Luksa from Redhat would be interested in this but I don't have this Github handle so assigning it to you for visibility.

@nrjpoddar his GH handle is @luksa . That said, he seemed to have volunteered for another task in the CNI Beta doc. Let's let him speak up :)

@nrjpoddar I'll talk with @luksa about this

@nrjpoddar It looks as if @luksa was able to join the call today, I'll follow up with him early next week in any case

Setting this issue to P1 per https://github.com/istio/istio/issues/24539#issuecomment-640992142


This is intentional. createRouterHistory is only used in a browser environment. If you use it without a DOM, it should return undefined.


Fix "line mode" diff algorithm

In a "line mode" diff, the code hashed each input line to a unique character before performing the diff. However, the range of the hash output was restricted to the character set of the input strings (256 values for char; 65,536 for 16-bit wchar_t), causing a diff failure when the input size exceeded that many lines.
diff_lineMode now hashes each input line to a size_t value, which is sufficient to accommodate any string that can fit in memory.

Although MSVC++ accepts this code, clang and gcc do not; will reopen if I can get a cross-platform solution.


Implement capability to add files/directories by path to IPFS

This PR adds an add_path method to IpfsClient by which you can add entire directories or files. I had to add a dependency for the walkdir crate to properly walk the provided path.
The code only works sometimes, but I am fairly certain it is correct.
Walkdir will add all the files:
 Adding file "src/main.rs"
Adding file "src/command/dht.rs"
Adding file "src/command/shutdown.rs"
Adding file "src/command/config.rs"
Adding file "src/command/cat.rs"
Adding file "src/command/add.rs"
Adding file "src/command/version.rs"
Adding file "src/command/block.rs"
Adding file "src/command/commands.rs"
Adding file "src/command/file.rs"
Adding file "src/command/filestore.rs"
Adding file "src/command/bitswap.rs"
Adding file "src/command/files.rs"
Adding file "src/command/dns.rs"
Adding file "src/command/bootstrap.rs"
Adding file "src/command/diag.rs"
Adding file "src/command/dag.rs"
Adding file "src/command/mod.rs"

but then IPFS stops after a few saying the body was closed:
{"Name":"src/main.rs","Hash":"QmXJ72zNebozfVu8qnubtGxJw3Joz7WaZwPKBxtuatLqH8","Size":"1570"}
{"Name":"src/command/dht.rs","Hash":"QmPKGYBAJS14YAm3cXk7fr5uFR5z4dUN8NC2xUHg8GTrNW","Size":"3665"}
{"Name":"src/command/shutdown.rs","Hash":"QmbviiUMhEQ2HzdkoU9HZxuZ3Vy7Dpaehn2TKv5o5t7q8g","Size":"779"}
{"Name":"src/command/config.rs","Hash":"QmcJ3rg87r4CjCFFeAYA62UcLFPHsSDPv7nDnVkg8JeeVo","Size":"1604"}
{"Name":"src/command/cat.rs","Hash":"QmQWx4NM9rr3GNGgRFH4akSCh5tFRXLJ7p8ScNdch7bF5b","Size":"1030"}
{"Name":"src/command/add.rs","Hash":"QmcpfretzbHJVFybQQnRKYgpDrf5JZSAcCS4MBptVzxbLx","Size":"1480"}
{"Name":"src/command/version.rs","Hash":"QmQJxqYKiw3zJ6W1tWvJAyqbCmRKdj3PR3XbgENgVyk7sn","Size":"1159"}
{"Name":"src/command/block.rs","Hash":"QmYUds5u4f4HCpoTLgDpYGVuvt1fkBz25T1brUmSmAs178","Size":"3098"}
{"Name":"src/command/commands.rs","Hash":"QmarbLcs1bPc2KR3EaDKbJLuW6nRpDTVfQf2hSCiHujxTS","Size":"1382"}
{"Name":"src/command/file.rs","Hash":"QmZMvonjJCzfgbvZ7pMV19ZEsro4N2VvSvqMSfMSnTnXKY","Size":"2410"}
{"Message":"http: invalid Read on closed Body","Code":0,"Type":"error"}

Other times it will just succeed.
This may be related to implementation in rust-hyper-multipart-rfc7578, I'm not sure. I've implemented the same thing with libcurl-rs before though.
Edit: it seems to be related to keeping too many files open, so I've set up some hardcoded limits where it will load files smaller than ~50MB to memory and use a cursor.

@sameer This looks awesome! I just tested it out on my machine, and it worked perfectly. I think the explanation and the solution to the issue you were seeing both make sense. Feel free to merge it when you're ready!

I made one last change so that instead of relying on a 50MB per file limit, the logic is a bit smarter. Files are sorted by size, then up to 127 largest files (somewhat arbitrary) will be passed to the form withFile::open and the remaining smaller ones are stored in-memory.


What function gets the bot's last response?

😅 Haven't been able to find it

In 0.4.1?

Response to which request?

Yes in the latest version

I mean the last thing the bot sent to the user

like lastMessage but for the bot, not the user.

I guess this needs to be tracked by the bot itself. Once it's sent it's gone. :)
Also, bot can send different types of content to user, not only text, so it's hard to support this at library level.
Something like:
sessions[bot.lastMessage.chat.id] = "last phrase I sent"
I'll add sqlite example soon with example how data can be persisted in database.

Ok thanks


remove packagePath argument from existing templates

Related issue https://github.com/liferay/liferay-cli/issues/74

Will do this next week.

See https://issues.liferay.com/browse/LXC-133


Downloaded install script is misnamed.

Downloaded install script is named InstallHelp.sql instead of ApplicationHelpInstall.xml

Fixed in 0dc461c0fc2e276ef004dd26664fa504fac0d95a


Updated release to the latest release in example

what

Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
Use bullet points to be concise and to the point.

why

Provide the justifications for the changes (e.g. business case).
Describe why these changes were made (e.g. why do these commits fix the problem?)
Use bullet points to be concise and to the point.

references

Link to any supporting github issues or helpful documentation to add some context (e.g. stackoverflow).
Use closes #123, if this PR closes a GitHub issue #123

@ghyonathan thanks for the docs fix -- This small stuff is always appreciated.
Mind if I ask you to change one thing? We typically point the docs at no version as is shown here: https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/blob/master/README.yaml#L115-L116
That way we don't need to continually update that version as we upgrade.
Do you mind changing this module's readme to follow that pattern?

Done.

/test all

Thanks @ghyonathan -- This won't get a release, but we always appreciate the small docs fixes!


H5py version >3 compatibility + save/load improvements

Hello all,
This PR changes the way we save/load h5 files. h5py v3.0 includes some interesting improvements like "Reading & writing data now releases the GIL, so another Python thread can continue while HDF5 accesses data" (https://docs.h5py.org/en/stable/whatsnew/3.0.html) but it also changes how strings are handled. The requirements have been updated accordingly. I have run test_multi_multi save/load and compare the results (return empty list). "not long" tests are Ok as well. I haven't checked if we are still able to load a file generated with the previous version.
I also included some miscellaneous modifications that improve the save/load of the corresponding objects (param_explorer.value not handle pyleecan objects, setter and getter have been changed to str for VarLoadCurrent....)
Best regards,
Pierre

The code works with version 2.10 as well and I managed to save the results of test_multi_multi with 2.10 and load it with 3.2.1.


Release shield unreliable

I recently added a release shield to a project of mine, and I've noticed that it's highly unreliable. It seems to frequently return a 404-not-found error (via the github caching mechanism). Making a direct request to the shields.io svg (https://img.shields.io/github/release/cortesi/devd.svg) shows a "vendor unresponsive" error.
Now that I'm sensitised to this, I've also started noticing broken release badges on other projects, so it's not just me. Obviously the impression this creates for users is not very good, so I'll be removing the badge soon.

Your badges are awesome but unfortunately they are unreliable. Below are two websites with ugly unloaded badges which I just found:

Same

[![GitHub release](https://img.shields.io/github/release/smad2005/poehud.svg)]()
[![Github Releases](https://img.shields.io/github/downloads/smad2005/poehud/latest/total.svg)](https://github.com/smad2005/PoeHud/releases)

Thanks for raising this issue. This is specific to GitHub rate-limiting, which I'll track here: https://github.com/badges/shields/issues/529.


add contributing.md

Hey! I would like to add the following in contributing.md
1.Difference between GIT and GITHUB
2.How to clone,fork repository
3.How to create a branch and then use git push to push to repo
4.Create a PR
5.Squash commits in a single issue into one
6, Updating the forked and local repo as the updations are made in the upstream
I would like to work on it as a part of GSSOC'21

Hey! I would like to add the following in contributing.md
1.Difference between GIT and GITHUB
2.How to clone,fork repository
3.How to create a branch and then use git push to push to repo
4.Create a PR
5.Squash commits in a single issue into one
6, Updating the forked and local repo as the updations are made in the upstream
I would like to work on it as a part of GSSOC'21

Ok sure. But after you complete the work you need to put a video showing the work, if everything seems ok then we will accept the PR.

@Akshay6890 added contributing.md

@Akshay6890 Will these screenshots work?

@Akshay6890 Will these screenshots work?

Cool

@Akshay6890 Is my PR ready to merge?

@Akshay6890 Is my PR ready to merge?

i didn't check. I will see and accept the PR.


MH-13123: Update paella player 6.0.1

@miesgre Sorry for not being fast enough considering the review... as upgrading Paella from 6.0.0 to 6.0.1 seems a maintenance upgrade, you can redirect this PR to r/6.x. For doing so, press the "Edit" button on this page and chose r/6.x as target branch (no need to create a new PR).

@staubesv Don't merge this PR yet. I found a bug un paella 6.0.1
Put this on hold until the bug in paella is fixed.

@staubesv You can continue the review. Thanks.


Update staging k8s cluster version to 1.29

Description:

Upgrade to version 1.29 has already happened in EKS so this resolves the Terraform diff

Since they're all already updated, you could do all three of these in one PR tbh. No problem though 😃


BUG: initialize inputImage from kwargs

'inputImage' parameter passed to the constructor in kwargs was ignored

Do we have an example or a test where we send in inputImage as a kwarg?  What type is it expected to be?
Here self.inputImages is a dictionary with a field Original that is a dictionary.  Would that also be expected to come as the inputImage arg?  Everywhere else in the code we use inputImage to refer to an sitkImage.

If I use the parameter file, this works:
inputImage:
  Original: {}
  LoG: {'sigma': [5]}

It is initialized from kwarg here: https://github.com/Radiomics/pyradiomics/blob/master/radiomics/featureextractor.py#L211

To me, it is confusing, but at this point I am not trying to improve the nomenclature, just get things to work!

It is initialized from kwarg here: >https://github.com/Radiomics/pyradiomics/blob/master/radiomics/featureextractor.py#L211

@fedorov, the fact that the parameter file already worked is handled elsewhere
The reason input images was ignored when present in kwargs was due to the fact that kwargs corresponds to the settings, which is only 1 out of 3 customization categories present in the parameter file (setting, inputImage and featureClass). When featureclass is initiatied with kwargs, features and input images had to be set after initialization, for example by a call to enableInputImageByName().
Let's discuss this on Wednesday.


i am facing this issue with the library

INFO: [api_routes] Created mixer #1 with details {'pattern': '2', 'width': 640, 'height': 540, 'sources': [{'uid': 'input1', 'width': 60, 'height': 90}]}
WARNING: [  overlay1] Property not boolean: "true"
INFO: [api_routes] Created overlay #1 with details {'type': 'text', 'visible': 'true', 'text': '1', 'source': 'input1', 'font_size': 150}
INFO: [api_routes] Created output #1 with details {'type': 'image', 'width': 640, 'height': 540}
ERROR: [   output1] GStreamer error from sink: gst-resource-error-quark: Error while writing to file "/usr/local/share/brave/output_images/img_17863.jpg". (10)
ERROR: [   output1] GStreamer error debug: gstmultifilesink.c(793): gst_multi_file_sink_write_buffer (): /GstPipeline:pipeline3/GstMultiFileSink:sink:
No such file or directory
ERROR: [   output1] GStreamer error message: Error while writing to file "/usr/local/share/brave/output_images/img_17863.jpg".

It looks like you don't have the directory /usr/local/share/brave/output_images/ on your system.


Format the license in package.json to match the SPDX standard

As documented on the NPM documentation (https://docs.npmjs.com/files/package.json#license). The license field has to comply with the SPDX specification for communicating the licenses and copyrights associated with a software package. This commit changes the license to a valid SPDX value (MIT)

LGTM.
@dcohenb made you collaborator.
Please merge to master following this guide.
I will then version and publish to npm.
Thanks.


Awaiting promises returned by systeminformation can still block running thread

Describe the bug
Despite that all calls to the library return promises, the promises themselves are blocking, defeating much of the purpose of having them in the first place.
The reason they are blocking is because we use calls like execSync(), instead of just exec() (and then awaiting the result).
To Reproduce
Use-case: Fetching WiFi info running in the electron main process.
Steps to reproduce the behavior:

Issue await si.getWifiNetworks(), assuming it will take long time (several seconds).
While waiting for getting network info, the renderer process will hang.

Expected behavior
I expect that awaiting the result shouldn't be really blocking the thread, just making it available for other tasks to run while awaiting the result.
Environment (please complete the following information)

systeminformation package version: 5.21.18
OS: Linux

Additional information
To always reproduce the problem, simply execute something like execSync('sleep 10;' + originalCmd).
Workaround
Put the network information gathering into a worker thread, which can be properly awaited without blocking the process.

@sylt You probably mean si.wifiNetworks() instead of si.getWifiNetworks(), right?
I can confirm this issue with si.wifiNetworks(), si.system() and si.osInfo(), but only with an electron app on an arm64.
A simple node script on arm64 works.
An electron app on x64 works too.

@KristjanESPERANTO: Yes, of course, thank you :) I have corrected the description!
And just to show-case the difference between using execSync and exec, here's an example program when starting a 100 ms timer, but using different strategies depending on if useSync is true or false:
const child_process = require("child_process")
const process = require("process")

const now = new Date();
setTimeout(() => {console.log(new Date() - now + " ms elapsed")}, 100)

const useSync = true;

process.nextTick(async () => {
    if (useSync) {
        child_process.execSync("sleep 2");
    }
    else {
        await child_process.exec("sleep 2");
    }
})

As can be seen, the timer is prevented from running if we're issuing execSync(), but is allowed to run when calling await exec().

I'm hitting this same behaviour with Electron v33.0.2, on macOS ARM64. It would be nice to have this problem fixed, because this library has a lot of obscure edge cases already handled, and I'd rather not go through all the work of rewriting the functions from this library just to get rid of this one problem...
@sylt you mentioned that a workaround is to put the offending systeminformation call inside a worker thread to cut the problem down to size. You don't happen to have any code still laying around for it?

@linuswillner Sure! Here's the essence of it, using threads.js (see docs at https://threads.js.org/ for more examples).
Below is the "main.ts", running in the main thread (doing the await):
import { spawn, Worker } from 'threads';

async function someFunctionRunningInTheMainThread()
{
  const getNetworkInfo = await spawn(new Worker('./networkinfo'));
  try {
    const [wifiConnections, networkInterfaces] = await getNetworkInfo();

    // do stuff with network information requested above
    ...
  } catch (...) {
    // ...
  }
}

Below is file "networkinfo.ts", which gets run in a separate worker thread, exposing a minimal API for getting the requested information:
import { expose } from 'threads/worker';
import * as si from 'systeminformation';

expose(async function getNetworkInfo() {
  return Promise.all([si.wifiConnections(), si.networkInterfaces()]);
});

In our specific case, it's not more complicated than this. I hope it's possible for you to tailor it to your needs!

Addressed by

https://github.com/sebhildebrandt/systeminformation/pull/948


Add model to config files

I think putting the model and api uri in the configuration file would be a good idea.

I'd be open to adding a default model to the config file that can be overwritten when passed as an argument.
I didn't quite get what you mean by API URI in the configuration file though.


warehouse_connection - DDL Queries?

I'm trying out the new warehouse_connection function. When running a DDL query, it seems to hang and never complete. The same query when ran in the Warehouse UI works instantly. If this is an issue with the Warehouse rather than the semantic-link package - let me  know and I'll open a ticket with support instead.
Thanks!

Here's some sample code that I cannot get to work.
warehouse_connection = sempy_labs.ConnectWarehouse("Oracle_Silver")
sql = """
CREATE TABLE test_table (
    id INT ,
    name VARCHAR(255)
)
"""
warehouse_connection.query(sql)

Would you try using the syntax shown in this notebook:
https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Warehouse.ipynb

From: Josh-Rodgers @.>
Sent: Thursday, September 12, 2024 5:23:13 AM
To: microsoft/semantic-link-labs @.>
Cc: Subscribed @.***>
Subject: [microsoft/semantic-link-labs] warehouse_connection - DDL Queries? (Issue #133)
I'm trying out the new warehouse_connection function. When running a DDL query, it seems to hang and never complete. The same query when ran in the Warehouse UI works instantly. If this is an issue with the Warehouse rather than the semantic-link package - let me know and I'll open a ticket with support instead.
Thanks!
image.png (view on web)https://github.com/user-attachments/assets/775a4a78-e391-4955-b7ed-ebac7c8d259b
Here's some sample code that I cannot get to work.
warehouse_connection = sempy_labs.ConnectWarehouse("Oracle_Silver")
sql = """
CREATE TABLE test_table (
id INT ,
name VARCHAR(255)
)
"""
warehouse_connection.query(sql)
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-link-labs/issues/133, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBQBNUXXJ4FRFK6ZZZLAETZWD3JDAVCNFSM6AAAAABOCFKPSGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDCMJYGE3DAMY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Tried this:
warehouse_name = "Oracle_Silver"
workspace_name = "KDW-Dev"
with sempy_labs.ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:
    df = sql.query("CREATE TABLE dbo.test_table1 (id INT, name VARCHAR(255))")

Got the below error:

ProgrammingError                          Traceback (most recent call last)
Cell In[31], line 4
2 workspace_name = "KDW-Dev"
3 with sempy_labs.ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:
----> 4     df = sql.query("CREATE TABLE dbo.test_table1 (id INT, name VARCHAR(255))")
File /nfs4/pyenv-a53311db-30d3-4f33-b0b1-8d07ecea675d/lib/python3.10/site-packages/sempy/_utils/_log.py:273, in mds_log..get_wrapper..log_decorator_wrapper(*args, **kwargs)
270     raise
272 try:
--> 273     result = func(*args, **kwargs)
275     # The invocation for get_message_dict moves after the function
276     # so it can access the state after the method call
277     message.update(extractor.get_completion_message_dict(result, arg_dict))
File /nfs4/pyenv-a53311db-30d3-4f33-b0b1-8d07ecea675d/lib/python3.10/site-packages/sempy_labs/_sql.py:83, in ConnectWarehouse.query(self, sql)
79     cursor = self.connection.cursor()
80     cursor.execute(sql)
82     return pd.DataFrame.from_records(
---> 83         cursor.fetchall(), columns=[col[0] for col in cursor.description]
84     )
85 finally:
86     if cursor:
ProgrammingError: No results.  Previous SQL was not a query.

Can you try running a SQL query and not a T-SQL query?

From: Josh-Rodgers @.>
Sent: Thursday, September 12, 2024 7:20:46 AM
To: microsoft/semantic-link-labs @.>
Cc: Michael Kovalsky @.>; Comment @.>
Subject: Re: [microsoft/semantic-link-labs] warehouse_connection - DDL Queries? (Issue #133)
Tried this:
warehouse_name = "Oracle_Silver"
workspace_name = "KDW-Dev"
with sempy_labs.ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:
df = sql.query("CREATE TABLE dbo.test_table1 (id INT, name VARCHAR(255))")
Got the below error:

ProgrammingError Traceback (most recent call last)
Cell In[31], line 4
2 workspace_name = "KDW-Dev"
3 with sempy_labs.ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:
----> 4 df = sql.query("CREATE TABLE dbo.test_table1 (id INT, name VARCHAR(255))")
File /nfs4/pyenv-a53311db-30d3-4f33-b0b1-8d07ecea675d/lib/python3.10/site-packages/sempy/_utils/_log.py:273, in mds_log..get_wrapper..log_decorator_wrapper(*args, **kwargs)
270 raise
272 try:
--> 273 result = func(*args, **kwargs)
275 # The invocation for get_message_dict moves after the function
276 # so it can access the state after the method call
277 message.update(extractor.get_completion_message_dict(result, arg_dict))
File /nfs4/pyenv-a53311db-30d3-4f33-b0b1-8d07ecea675d/lib/python3.10/site-packages/sempy_labs/_sql.py:83, in ConnectWarehouse.query(self, sql)
79 cursor = self.connection.cursor()
80 cursor.execute(sql)
82 return pd.DataFrame.from_records(
---> 83 cursor.fetchall(), columns=[col[0] for col in cursor.description]
84 )
85 finally:
86 if cursor:
ProgrammingError: No results. Previous SQL was not a query.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-link-labs/issues/133#issuecomment-2345238962, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBQBNQOEXXORMNH74GQX2DZWEJB5AVCNFSM6AAAAABOCFKPSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGIZTQOJWGI.
 Those works fine. It seems that DDL doesn't want to work.

From: m-kovalsky @.>
Sent: Wednesday, September 11, 2024 9:29:54 PM
To: microsoft/semantic-link-labs @.>
Cc: Rodgers, Josh @.>; Author @.>
Subject: [EXTERNAL] Re: [microsoft/semantic-link-labs] warehouse_connection - DDL Queries? (Issue #133)
Can you try running a SQL query and not a T-SQL query?

From: Josh-Rodgers @.>
Sent: Thursday, September 12, 2024 7:20:46 AM
To: microsoft/semantic-link-labs @.>
Cc: Michael Kovalsky @.>; Comment @.>
Subject: Re: [microsoft/semantic-link-labs] warehouse_connection - DDL Queries? (Issue #133)
Tried this:
warehouse_name = "Oracle_Silver"
workspace_name = "KDW-Dev"
with sempy_labs.ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:
df = sql.query("CREATE TABLE dbo.test_table1 (id INT, name VARCHAR(255))")
Got the below error:

ProgrammingError Traceback (most recent call last)
Cell In[31], line 4
2 workspace_name = "KDW-Dev"
3 with sempy_labs.ConnectWarehouse(warehouse=warehouse_name, workspace=workspace_name) as sql:
----> 4 df = sql.query("CREATE TABLE dbo.test_table1 (id INT, name VARCHAR(255))")
File /nfs4/pyenv-a53311db-30d3-4f33-b0b1-8d07ecea675d/lib/python3.10/site-packages/sempy/_utils/_log.py:273, in mds_log..get_wrapper..log_decorator_wrapper(*args, **kwargs)
270 raise
272 try:
--> 273 result = func(*args, **kwargs)
275 # The invocation for get_message_dict moves after the function
276 # so it can access the state after the method call
277 message.update(extractor.get_completion_message_dict(result, arg_dict))
File /nfs4/pyenv-a53311db-30d3-4f33-b0b1-8d07ecea675d/lib/python3.10/site-packages/sempy_labs/_sql.py:83, in ConnectWarehouse.query(self, sql)
79 cursor = self.connection.cursor()
80 cursor.execute(sql)
82 return pd.DataFrame.from_records(
---> 83 cursor.fetchall(), columns=[col[0] for col in cursor.description]
84 )
85 finally:
86 if cursor:
ProgrammingError: No results. Previous SQL was not a query.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-link-labs/issues/133#issuecomment-2345238962, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBQBNQOEXXORMNH74GQX2DZWEJB5AVCNFSM6AAAAABOCFKPSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGIZTQOJWGI.
You are receiving this because you commented.Message ID: @.***>
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-link-labs/issues/133#issuecomment-2345247880, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIDM4JPXLGFUOYJE7SCY4J3ZWEKEFAVCNFSM6AAAAABOCFKPSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGI2DOOBYGA.
You are receiving this because you authored the thread.Message ID: @.***>

Currently, this function doesn't support T-SQL. Will look at adding this functionality.

Made a PR for enabling this function to work for both SQL & T-SQL (and support multiple T-SQL queries provided in a list).

Updated in 0.7.4.


DAUPHINOISE POTATO AND CARAMELISED ONION PITHIVIER

https://thegreatbritishbakeoff.co.uk/recipes/all/paul-hollywoods-dauphinoise-potato-caramelised-onion-pithivier/

Added more milk at about the 10 minute simmer mark

Using pre-made puff, so just bring onions & potatoes to room and let the puff defrost; no need to freeze the combined pithivier before baking

Added some cold water to egg wash

Used A2 milk instead of standard milk, so needed more milk when making sauce

Added the nutmeg to the cream sauce, not the pithivier

Added pecorino romano for some extra salt in the cream sauce

@patrick-andrew-jain-taylor Looks good


Add redirect support to AmazonS3 operations

Doing s3 operations in buckets found in different regions causes AmazonS3 SDK to throw an AmazonS3Exception. This patch wraps AmazonS3 in a proxy that traps for 301 exceptions, parses the error response XML for the proper EndPoint, updates amazonS3, and tries again.

@dsyer @marcingrzejszczak could you please review my PR?

@ alainsahli or @ bountin What can we do to get this merged in?

@mminella @gregturn if we don't hear from them soon, I can do it. Especially if you want this in the milestone we're getting ready to release.

@spencergibb Yup. I have basically put this project on the shelf as unusable regarding this feature.


Allow faster file access over HTTP

This PR adds the following:

a mxf2raw and bmxtranswrap --http-disable-seek option that disables seeking for an input file read over HTTP. The file is treated like a stream. In cases where the header partition contains complete metadata, or incomplete if acceptable, and no seeking is required, then using this option can be more efficient as it avoids indexing the partitions and essence positions.
a mxf2raw and bmxtranswrap --disable-indexing-files option that is similar and has the same advantages as --http-disable-seek but it is not specific to HTTP and does try read the header metadata from the last partition as it may be more complete. It doesn't prevent the reader from seeking.
extends the cases where mxf2raw will output file info (by default) to when there are no options that specifically require an action like reading essence or metadata. mxf2raw --disable-indexing-files will therefore now return the file info.

Addresses https://github.com/bbc/bmx/discussions/13#discussion-5220976

First test looks promising, I wait for further feedback from my ARD/ZDF collegues

Thanks for the review.


Fix rev dot_product leak

Summary
Fixes a potential memory leak in rev implementation of dot_product that was introducet with refactor that started using reverse_pass_callback.
Tests
No new tests.
Side Effects
None.
Checklist

[x] Math issue #2025

[x] Copyright holder: Tadej Ciglarič
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[ ] the new changes are tested

Is this waiting on review? imo the changes look good

Was waiting on the tests to pass, but yeah this looks good

@serban-nicusor-toptal I have some distribution test failures here with the error fatal error: error in backend: IO failure on output stream: No space left on device.

Hey, I have encountered the error last night too. I have changed the type of EC2 machines we use but have reverted back after.
Let me know if it will still happen after this new build. Thanks!

@serban-nicusor-toptal seems that did not help :/ https://jenkins.mc-stan.org/blue/organizations/jenkins/Math Pipeline/detail/PR-2034/3/pipeline/157

Hey @rok-cesnovar instances were mounting the 500 GB disk we use wrong, I've fixed that and restarted this job.
Please let me know if that is still happening after this, thanks!

@serban-nicusor-toptal looks like it's still not working (at least I don't think it should be failing in distribution tests)

That's strange, there have been no changes to the instances besides a disk mount point change, no software changes.
I'm looking into it.


Older release tags confuses Shards

As far as I can tell, the Tartrazine shard only has releases from 0.1.0 to 0.7.0, however the existing release tags in the repository go up way past 2.0.0. I'm not entirely sure what these older releases are but it means that, unless you pin Tartrazine to a specific version, there's no way to reliably install it.

That's a mixup for an experimental branch using a git subtree that brought
all the other tags.
I'll clean it up.
On Tue, Sep 10, 2024, 8:44 PM Devonte @.***> wrote:

As far as I can tell, the Tartrazine shard only has releases from 0.1.0
to 0.7.0, however the existing release tags in the repository go up way
past 2.0.0. I'm not entirely sure what these older releases are but it
means that, unless you pin Tartrazine to a specific version, there's no way
to reliably install it.
—
Reply to this email directly, view it on GitHub
https://github.com/ralsina/tartrazine/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAMKYFNXB3QKE5W4WUTMTZV576PAVCNFSM6AAAAABN7Y43N6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTQMJWG42DIMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fixed.


Parallelize compute/download of Cairo over/underlays

We're moving away from Cairo in ngscopeclient. Wontfix in glscopeclient.


Fixes indexing unknown proposals issue

Overview
This PR provides a fix for indexing unknown proposals. Previously, our ensureProposalItem function used to create a new proposal if not present and assigned type as Unknown always. Now we pass the proposal type when we want to ensure a proposal item.
In stats dapp, BEFORE:

NOW:

Awesome work @devpavan04 !


can_dbc_parser is not raptor specific.

We happily use the can_dbc_parser in ROS1. I noticed in ROS2 the name changed with a raptor_ prefix.
Unlike the other packages in the repo, this one is not raptor specific. So maybe the name can_dbc_parser might be enough.
 We can make the dependency name conditional :+1:
edit: released already

OK, we can revert that change 👍

The package name is reverted in GitHub now, & I'm working on putting a bloom-release together that should be finished in a couple days. This change will be included in that release.

For foxy, please see tag foxy-1.1.0
Bloom-release for foxy-1.1.0 has been merged to rosdistro; please see https://github.com/ros/rosdistro/pull/29891
For dashing, please see tag dashing-1.1.0; dashing cannot be bloom-released (support ended in May 2021)


[v7][Android] Native library could not be linked, couldn't find DSO to load: libreactnativejni.so

Description

Recent migration to v7 is now causing a bunch of new linking crashes that did not happen before.
Issue

Android app startup crashes / warnings due to linking errors.

Note: I'm not using Hermes.
Note2: After reviewing the affected "users", it seems like each single user got all 3 errors, from the warnings to the unhandled one, meaning they were not able to start the app at all.
Environment
Library versions:

"@bugsnag/react-native": "7.3.3"
"react-native": "0.62.2"

iOS/Android version(s): 5.1, 5.1.1, 6.0.1

simulator/emulator or physical device?: Physical Device

debug mode or production?: Production

[X] (iOS only) [BugsnagReactNative start] is present in the
application:didFinishLaunchingWithOptions: method in your AppDelegate
class?

[X] (Android only) BugsnagReactNative.start(this) is present in the
onCreate method of your MainApplication class?

I have also read the linked docs, but it really seems like a bad alternative (yet another dependency for something that used to work?). If anything, and if this is common, it should at least be done automatically by the library as its own dependency.
It is also very strange that when releasing the build, there was 1 less ABI in the build results (reported as a warning on the google console, armeabi, although armeabi-v7a is included).

This has been transferred to the bugsnag-js repo as the Bugsnag react native library is now part of this repository (as of v7.3).

The Bugsnag library doesn't make any calls to load the Hermes SO, so it's unlikely to be related to this upgrade. Did you upgrade any other packages at the same time as Bugsnag, that might enable Hermes? To my knowledge, Hermes is disabled by default even in the latest RN versions.
We don’t think it's an issue with the notifier. libhermes.so showing as missing indicates that it either hasn’t been bundled into the APK, or that perhaps the APK is being installed on the wrong architecture. Most often this happens when users download an APK from 3rd party source.

handled errors were reported for the exact same device at the same time

This seems reasonable since the SO's are going to be loaded on initialization. AnrLinkError/NdkLinkError only occur when linking the Bugsnag SO library fails. UnsatisfiedLinkError will occur when a SO file matching the device’s architecture is not loaded successfully.

After some testing, looks like there was an import to a Hermes class somewhere in the native code, even if hermes was not being used.  This may not be the cause of the crashes since the app would still work everywhere else, but we will see in the following weeks if this seemingly naive import was the culprit.

Thanks for the update @cristianoccazinsp
Closing for now as it sounds like it's not an issue with Bugsnag but do let us know if you see any evidence to the contrary.

Strange, I have updated the other project that was using bugsnag, and the Hermes crash is still happening, even if it is now not being referenced / imported from anywhere.  Thoughts on where it could be getting required?
Here's a fresh stack trace again:
java.lang.UnsatisfiedLinkError couldn't find DSO to load: libhermes.so
    SoLoader.java:789 com.facebook.soloader.SoLoader.doLoadLibraryBySoName
    SoLoader.java:639 com.facebook.soloader.SoLoader.loadLibraryBySoName
    SoLoader.java:577 com.facebook.soloader.SoLoader.loadLibrary
    SoLoader.java:525 com.facebook.soloader.SoLoader.loadLibrary
    HermesExecutor.java:20 com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>
    HermesExecutorFactory.java:29 com.facebook.hermes.reactexecutor.HermesExecutorFactory.create
    ReactInstanceManager.java:997 com.facebook.react.ReactInstanceManager$5.run
    Thread.java:761 java.lang.Thread.run

We actually ran into the same issue ourselves in testing on Friday. It appears to be a bug in React Native that a few people have encountered:
https://stackoverflow.com/questions/57036317/react-native-java-lang-unsatisfiedlinkerror-couldnt-find-dso-to-load-libherm
There are some ideas on that stackoverflow thread. In our case the issue went away after running ./gradlew clean and then re-installing the app.

Interesting, but I'm not using hermes anywhere, nor requiring it.
Any chance the dependency @bugsnag/plugin-react-native-hermes that I'm seeing in package-lock.json is causing issues? Maybe the plugin is doing an import somewhere?

With the exception of our test framework, there are no references to Hermes that would suggest Bugsnag is going to import this library.
The StackOverflow thread above suggests that people are seeing this issue even without enabling Hermes.

@mattdyoung I have just upgraded from 7.5.3 to 7.5.5 and I'm now getting AnrLinkError: Native library could not be linked. Bugsnag will not report ANRs. See https://docs.bugsnag.com/platforms/android/anr-link-errors every single time I launch the app installed from an APK file.  Note that this never happened in any of my test devices, and after the upgrade, it is happening every single time the app is started.  I will be re-trying with a clean build folder just in case, but what changed?

Interestingly, after a clean build the warning has gone away again. I wonder if building for local dev and then release causes some kind of conflict.

@cristianoccazinsp; to confirm, are you cleaning between every build in dev & release in order to resolve this? Or has one clean since upgrading to v7.5.5 fixed this issue for you? I can't say I've seen this behaviour before, thanks for reporting this back to us though.

https://github.com/bugsnag/bugsnag-android/issues/899 https://github.com/bugsnag/bugsnag-android/issues/863

https://github.com/bugsnag/bugsnag-android/issues/899 https://github.com/bugsnag/bugsnag-android/issues/863


fix: yarn install issue

There was an issue installing the package globally using yarn. The problem has to do with yarn not copying the files from the .bin directory.
I've fixed this by moving the run.sh file found in the ./bin directory to the project root directory so that the run.sh file exists when installing the package using yarn global add alfred-vscode.
Fixes #10

Judging by the activity level on this repo, I'm not confident this will get merged anytime soon so I've published @robertcooper/alfred-vscode in the meantime.


invoke-webrequest and invoke-restmethod -headers parameter is more restrictive on PowerShell Core than on PowerShell Native

Im working with an API that seems to not comply with the accepted standard for if-match header (value string must be enclosed in quotes), although this is apparently quite common and is accommodated in native PowerShell iwr/irm.  PowerShell core behaves differently and rejects the header when building the request.  Modifying the API (commercial product) to comply is not an option unfortunately.
Steps to reproduce
$headers = @{}
$headers.Add("if-match","12345")
Invoke-WebRequest -Uri "http://httpbin.org/headers" -Headers $headers

Expected behavior
Works on native PowerShell
Invoke-WebRequest -Uri "http://httpbin.org/headers" -Headers $headers
StatusCode        : 200
StatusDescription : OK
Content           : {
                      "headers": {
                        "Host": "httpbin.org",
                        "If-Match": "12345",
                        "User-Agent": "Mozilla/5.0 (Windows NT; Windows NT 10.0; en-AU) WindowsPowerShell/5.1.14393.206"
                      }
                    }

RawContent        : HTTP/1.1 200 OK
                    Connection: keep-alive
                    Access-Control-Allow-Origin: *
                    Access-Control-Allow-Credentials: true
                    Content-Length: 182
                    Content-Type: application/json
                    Date: Fri, 16 Dec 2016 05:06:38 GM...
Forms             : {}
Headers           : {[Connection, keep-alive], [Access-Control-Allow-Origin, *], [Access-Control-Allow-Credentials, true], [Content-Length, 182]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        : mshtml.HTMLDocumentClass
RawContentLength  : 182

Actual behavior
Fails on linux
Invoke-WebRequest -Uri "http://httpbin.org/headers" -Headers $headers
Invoke-WebRequest : The format of value '12345' is invalid.
At line:1 char:1
+ Invoke-WebRequest -Uri "http://httpbin.org/headers" -Headers $headers
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], FormatException
    + FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Note: enclosing the value in quotes allows the header to be accepted by iwr/irm, but the API I'm attempting to consume from PowerShell Core does not accept the value when enclosed in quotes.
Environment data

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.14
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

This is an issue with the .NET core implementation of HTTP header parsing:
Message        : The format of value '12345' is invalid.
Data           : {}
InnerException :
TargetSite     : System.Object ParseValue(System.String, System.Object, Int32 ByRef)
StackTrace     :    at System.Net.Http.Headers.HttpHeaderParser.ParseValue(String value, Object storeValue, Int32& index)
at System.Net.Http.Headers.HttpHeaders.ParseAndAddValue(String name, HeaderStoreItemInfo info, String value)
at System.Net.Http.Headers.HttpHeaders.Add(String name, String value)
at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetRequest(Uri uri)
at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
at System.Management.Automation.Cmdlet.DoProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
341
HelpLink       :
Source         : System.Net.Http
HResult        : -214623303

@nmbradford have you opened an issue with corefx?
Also, I'm a little confused by your statement Note: enclosing the value in quotes allows the header to be accepted by iwr/irm
Perhaps I'm misreading your statement but the syntax you illustrated does not result in a quoted string being passed to the underlying API.

Correct - the syntax in my example does not contain quoted string as the header value, and demonstrates the different behaviour between the two platforms.
My comment about quoting the value is intended to provide more information, but is not represented in the example.
To be clear, if you do enclose the value in quotes on Core, an exception is not thrown (although that was not a useful workaround for me in this scenario as the API I was interacting with did not accept the value when quoted.)
I have not raised an issue with corefx.

@nmbradford At this point, I think that's the only viable path.  The code path I'm seeing goes through ParseMultipleEntityTags in GenericHeaderParser.cs.  Either that code path would need to be more forgiving or a separate if-match parser would be needed.  I don't see how we can work around it in PowerShell.

yes - that's my point, on Windows it is more forgiving :).  I realise the issue is in corefx (and Ive already worked around it by building the webrequest myself rather than using iwr), but to users of Powershell Core, it still represents a problem.

@dantraMSFT can you open an issue in corefx and link it to this?

Will do, Steve.
@nmbradford   Would you mind providing a couple of example header values and the details of what you are doing to work around it.  I'd like to be specific when I create the issue.
Thanks.

no prob.  My initial post has steps to repro for the failure scenario.  For the header to be accepted on Core, try this (with quoted string):
$headers["if-match"] = "`"12345`""
Invoke-WebRequest -Uri "http://httpbin.org/headers" -Headers $headers

In order to work around it, I'm not using IWR at all any more, instead constructing the httpclient request object directly and using the DefaultRequestHeaders.TryAddWithoutValidation() method rather than the DefaultRequestHeaders.add() method that IWR is using.

I've created an issue in the CoreFX repo: https://github.com/dotnet/corefx/issues/20994

Perhaps another way to solve this would be to expose a -NoHeaderValidation switch?  cc @joeyaiello

@joeyaiello are you fine with Steve's suggestion or do you have other ideas?

I would go with -SkipHeaderValidation, yeah. ( @SteveL-MSFT changed it from -NoHeaderValidation 😉 )

Agree - this would be an easier workaround, but then iwr and irm would behave differently on Windows/non windows platforms (meaning would not be portable without platform detection)?

@nmbradford it would behave the same on Windows and Linux as long as you're using PSCore6.  We have already added new capabilities to the webcmdlets that won't be in Windows PowerShell 5.1


Fixed unicode handling, Python 3 support, Request as network backend, better content root extraction and other awesome features

As STOP_WORDS are stored in unicode format we should keep our words candidates in unicode also to be able to compare candidates against dictionary correctly
With some languages, short stopwords are linked to the next word in the sentance with no-breakable-space. To designate those stop words we should support nbsp when tokenizing.
Russian is an example. So this fixes #223
Python 3 support (#220 merged)
Move to requests library for http backend. This makes #244, #237, #64 obsolete and fixes some issues in the tracker
Analyze all possible text root nodes and select best one, do not stop on first text root node candidate
Improve text selection filters

Any estimate when this will be merged?

@grangier please merge this, Python 3 compatibility would be great to have

@grangier +1 on merging this PR. Python3 support is really needed.

@grainger Pleas merge, we are no more using python2x

FYI, I've produced a pypi package goose3 that can be found at https://github.com/goose3/goose3
I appreciate all the work that @grangier has done, but I really needed goose to work on python3. If you'd like to fix any bugs, tests, etc I'm more than happy to put in time to look at pull requests and merge them. Thank you.


repositories: migrated to vue and exposed on menu

The default pagination limit was also changed to 10.
Fixes #1420

We can also reuse this on the namespaces#show page where we list all the repositories. I'll make the changes. Thanks!

Just pushed the request changes. I've added updated_at instead of created_at. I think it makes more sense, no? Lemme know.


No accounts found - Mist 0.8.9

After finding an available domain I select the "I understand..." box and click OPEN AUCTION.  I then receive a popup windows stating "No accounts found".  Running Ethereum Wallet 0.8.9 and using embedded geth.
Any ideas?
Also, is this the dapp that I should use on March 14th when ENS goes live?

I should add that I have an address setup on the test net in Ethereum Wallet and it is funded with test ether.

Hi @caifer, make sure you click on Connect button on Mist (top right), and have your accounts authorized.


expose debugPaintBaselinesEnabled

expose debugPaintBaselinesEnabled as a service extension
some work towards https://github.com/flutter/flutter-intellij/issues/1025

Expose debugPaintBaselinesEnabled (the primary use case I've heard for this is for designers using Flutter).


Update deprecated Popper.js to v2

Feature Description
The package we're currently using is deprecated: https://www.npmjs.com/package/popper.js
New version 2 is available at https://www.npmjs.com/package/@popperjs/core.
Migration guide: https://popper.js.org/docs/v2/migration-guide/

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

@swissspidy is this important for a given release (Beta, stable?)

Nope, not really.


which version is available now?

hello Experts,
Is this lib available now? I just searched it but I cannot find it.
Best regards,
Terry

Either you build and install the library by local checkout, or you use latest 0.1.0-SNAPSHOT from SAP Common Artifactory.
Please note, the latest version uploaded almost 2 months ago. If you're interested in a recent upload, please let me know.
There are more details here:
https://github.com/SAP/ai-sdk-java/wiki/How-To:-Add-dependency-to-project

OK, thanks for your explanations, is there any plan to release the first version? Then we can use it in our application.

Quick update that an initial alpha version 0.1.0 has been released to Maven Central 🥳
We'll keep releasing such versions leading up to a GA release. Thus I'll close this item.


adding edge case for ecmulmuladd

adding edge case following https://github.com/rdubois-crypto/FreshCryptoLib/pull/48 issue on Fuzzing

I've narrowed it down to a smaller test case the shows the issue:
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.19 <0.9.0;

import "forge-std/Test.sol";

import<EMAIL_ADDRESS>
contract EcmulmulEdge is Test {
    function test_EdgeCase() external {
        uint256 Qx =<PHONE_NUMBER>49653057322725350723741461599905180004905897298779971437827381725266;
        uint256 Qy =<PHONE_NUMBER>8721058250371778545974983789701612908526165355421494088134814672697;
        uint256 u = 9;
        uint256 v = 6;

        uint256 r1 = FCL_Elliptic_ZZ.ecZZ_mulmuladd_S_asm(Qx, Qy, u, v);
        console.log("r1 = %d", r1);

        (uint256 uGx, uint256 uGy) = ecAff_naivemul(u, FCL_Elliptic_ZZ.gx, FCL_Elliptic_ZZ.gy);
        (uint256 vQx, uint256 vQy) = ecAff_naivemul(v, Qx, Qy);
        (uint256 r2,) = FCL_Elliptic_ZZ.ecAff_add(uGx, uGy, vQx, vQy);
        console.log("r2 = %d", r2);

        assertEq(r1, r2);
    }

    function ecAff_naivemul(uint256 a, uint256 x, uint256 y) private view returns (uint256 ax, uint256 ay) {
        while (a > 0) {
            (ax, ay) = FCL_Elliptic_ZZ.ecAff_add(ax, ay, x, y);
            a = a - 1;
        }
    }
}

And even smaller one:
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.19 <0.9.0;

import "forge-std/Test.sol";

import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
contract EcmulmulEdge is Test {
    function test_EdgeCase() external {
        uint256 s = FCL_Elliptic_ZZ.n - 1;
        (uint256 Qx, uint256 Qy) = FCL_ecdsa_utils.ecdsa_derivKpub(s);
        console.log("Qx = %d", Qx);
        console.log("Qy = %d", Qy);

        uint256 u = 3;
        uint256 v = 1;

        uint256 r1 = FCL_Elliptic_ZZ.ecZZ_mulmuladd_S_asm(Qx, Qy, u, v);
        console.log("r1 = %d", r1);

        (uint256 uGx, uint256 uGy) = ecAff_naivemul(u, FCL_Elliptic_ZZ.gx, FCL_Elliptic_ZZ.gy);
        (uint256 vQx, uint256 vQy) = ecAff_naivemul(v, Qx, Qy);
        (uint256 r2,) = FCL_Elliptic_ZZ.ecAff_add(uGx, uGy, vQx, vQy);
        console.log("r2 = %d", r2);

        (uint256 twoGx, ) = ecAff_naivemul(2, FCL_Elliptic_ZZ.gx, FCL_Elliptic_ZZ.gy);
        console.log("2Gx = %d", twoGx);

        assertEq(r1, r2);
    }

    function ecAff_naivemul(uint256 a, uint256 x, uint256 y) private view returns (uint256 ax, uint256 ay) {
        while (a > 0) {
            (ax, ay) = FCL_Elliptic_ZZ.ecAff_add(ax, ay, x, y);
            a = a - 1;
        }
    }
}

I think I have some intuition on what is going on... So this seems to happen for Q where the pk is the order n minus some very small amount. In particular, in the above example, we have G + Q = 0 (and in the previous one, 4G + Q = 0).
In the second case, we are computing 3G + Q = 2G + G + Q = 2G + 0 = 2G, but ecZZ_mulmuladd_S_asm is returning the wrong value. If I understand the Shamir multiplication trick correctly (biiiiig if), the way it works is you have:

(1): Sum = u{255}G + v{255}Q = 0G + 0Q = 0 (where x{n} is the n-th bit of the value x)
(2): Sum = dbl(Sum) + u{254}G + v{254}Q = 0 + 0G + 0Q = 0
...
(255): dbl(Sum) + u{1}G + v{1}Q = 0 + 1G + 0Q = G
(256): dbl(Sum) + u{0}G + v{0}Q = 2G + 1G + 1Q = 2G

So it appears that there is some weird interaction where elements of the sum are adding to the point at infinity and causing issues in the implementation.
In the previous example, you have something similar noting that u = 0b1001 and v = 0b011* (both v = 6 and v = 7 cause the test to fail), so if my understanding of the Shamir multiplication trick is correct, you will end up adding 4G with Q which will also add to 0.
I'm sorry if my conjecture is wrong :see_no_evil: - but at least I hope I helped in finding some reduced examples that are causing issues with ecZZ_mulmuladd_S_asm :sweat_smile:. It feels like it is related to points adding to 0.

It gonna be easier to patch thx. You understand well, it is what I said about coverage on the other PR. I thought having wycheproofed the code and used forge cover would cover the 'if' section supposed to handle this, (and let the todo undone)
https://github.com/rdubois-crypto/FreshCryptoLib/blob/e2830cb5d7b0f6ae35b5800287c0f5c92388070b/solidity/src/FCL_elliptic.sol#L438
Forge cover is not able to proceed 'for loops'.


Cannot cast object BaseServiceInfo to S3ServiceInfo

I'm getting the following error on these lines of code
            BaseServiceInfo baseServiceInfo = cloud.getServiceInfo("upload-rw")
            log.info("This is the id: " + baseServiceInfo.getId())
            S3ServiceInfo serviceInfo = (S3ServiceInfo) baseServiceInfo

OUT org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object
     'org.springframework.cloud.service.BaseServiceInfo@4ad8f682' with class
      'org.springframework.cloud.service.BaseServiceInfo' to class
       'org.cloudfoundry.community.service.storage.S3ServiceInfo'

The log.info line actually does show the name of the service.
I'm getting this error in CloudFoundry while deploying at a customer site. Surprisingly this error doesn't happen when I deploy the same application locally on my PCFDev.
I see that S3ServiceInfo extends BaseServiceInfo so I don't see a reason for this error.
Are there any steps I can take to better troubleshoot this?
One difference I see in my local CF is when I run cf env myapp I see the following:
{
 "VCAP_SERVICES": {
  "amazon-s3": [
   {
    "credentials": {
     "access_key_id": "redacted",
     "bucket": "redacted",
     "host": "s3.amazonaws.com",
     "secret_access_key": "redacted",
     "uri": "redacted",
     "username": "redacted"
    },
    "label": "amazon-s3",
    "name": "upload-rw",
    "plan": "basic",
    "provider": null,
    "syslog_drain_url": null,

However, at customer site I see the following for the same cf env myapp command:
{
 "VCAP_SERVICES": {
  "aws-s3": [
   {
    "credentials": {
     "access_key_id": "redacted",
     "bucket": "redacted",
     "region": "us-east-1",
     "secret_access_key": "redacted"
    },
    "label": "aws-s3",
    "name": "upload-rw",
    "plan": "standard",
    "provider": null,
    "syslog_drain_url": null,

Notice the difference in label from amazon-s3 to aws-s3 and username property missing.
Would this cause the error that I'm getting?  If so, is there a way I can still do to get the information like below?
S3ServiceInfo serviceInfo = (S3ServiceInfo) cloud.getServiceInfo("upload-rw")
def props =  [serviceInfo.getAccessKeyId(), serviceInfo.getSecretAccessKey()]

Even I am getting the same issue. Did you get any solution for this?


Add NativeScript Plugins in an MDK App

Tutorials: https://developers.sap.com/tutorials/cp-mobile-dev-kit-nativescript-geolocation.html
Error in Step 5. The app cannot be build. The sample code uses await geolocation.enableLocationRequest(); and await makes the build fail.
Error:
ModuleBuildError: Module build failed (from ../node_modules/babel-loader/lib/index.js):
SyntaxError: await is a reserved word (12:32)
10 |     console.log("Current Log Level: " + logger.getLevel());
11 |     // check if geolocation is not enabled

12 |         var locationIsEnabled = await geolocation.isEnabled();
|                                 ^
13 |     if (!locationIsEnabled) {
14 |         // request for the user to enable it
15 |         await geolocation.enableLocationRequest();

@tobiashofmann  please check if you missed adding "async" in function declaration.
It's there in the sample code (line#3)

I used the copy feature and now it is working. The async in the function declaration was missing.


[#84099974] microphone component for desktop, testing in chrome and fire...

...fox. example showing audio record and playback. **Note the two third party libraries - audiorecorder for record, and filesaver for download. Both are from git and have all project files present in case that is helpful for review. But I think the unused code and resources should be removed from these before checking them in.

:+1:


Linux Support

release a Linux version pls ...

An .AppImage and .deb version will be included in the next release.

Added here

Added here

my man <3


2.5 Master -- Playback skips first period of VOD asset

Have you read the FAQ and checked for duplicate open issues?:
Yes, I don't see anything.  I hope I haven't missed something.
What version of Shaka Player are you using?:
2.5 Master
Can you reproduce the issue with our latest release version?:
No
Can you reproduce the issue with the latest code from master?:
Yes
Are you using the demo app or your own custom app?:
Demo App
If custom app, can you reproduce the issue using our demo app?:
NA
What browser and OS are you using?:
Chrome  macos
What are the manifest and license server URIs?:
https://content.downlynk.com/88ec75470b1a48efbe943986c4517be2.mpd?ad=superbowl&prettydash=1
https://content.downlynk.com/wv
What did you do?
Playback from 2.4.x and earlier does not skip the first period.  Playback from master updated yesterday does skip the first period.  Nothing interesting or informative is logged in the console.
What did you expect to happen?
Not skipping the first period.
What actually happened?
First Period was skipped.

Found that Latest nightly build skips the first period while v2.4.4 doesn't. Will work on fixing this.

Fix released in v2.5.0-beta2.


Don't panic when String ↔ HTTP header value conversion fails

Moved over from https://github.com/ruma/ruma-api-macros/issues/5.
There are several places in the expanded code where  unwrap/expect are used. These should be converted to normal Result-based  error handling.

I thought I'd be able to just close this for 0.16.0 because I was convinced that when I'd look at all the unwrap()s, none could be triggered by anything except the API definitions. That's not the case though. Apparently, HTTP header values can contain any printable ASCII bytes plus bytes > 127. Since we represent them as Strings on the Rust side, the required conversion can fail both in request serialization (for strings containing non-printing ASCCI chars) as well as for request deserialization (for header values containing invalid UTF8 bytes / invalid UTF8 sequences).

It would probably make sense to do this in line with https://github.com/ruma/ruma-api/issues/35#issuecomment-617686849.


removed PER_CAMFIBER item from json dictionary when autogenerating

Removed PER_CAMFIBER item from timeseries_dropdown.json dictionary when autogenerating, building off of #17 .
Also added print statement for when creating the json file.
Lastly, only regenerates timeseries_dropdown.json once per qqa monitor call.

Alright, I now have the json file being generated into the cal_files folder in the plots directory. It also updates if it sees any new QA metrics.


Prevent abuse of the honeypot machine

Actually the honeypot machine isn't protected against high bad misuses like:

Be a part of a botnet (semi protected because it closes the Docker container after exiting the SSH session)
Launching DDOS attacks
Launching a forkbomb or consuming larger resources
...

I did have a look at @Bifrozt's work (https://github.com/Bifrozt/bifrozt-ansible) that include a protection but it doesn't support Docker. So maybe integrate the protections of the bifrozt ansible playbook inside HonSSH or create a documentation page to explain how to protect the honeypot (that include an automated script?) ?

Yeah, I think I've just assumed users would be clever enough to sort the protection out themselves. I don't really want to evolve HonSSH into anything more than a SSH proxier, I think other projects (like @Bifrozt) should add those sort of things.
The iptables rules in @Bifrozt are what I usually use:
https://github.com/Bifrozt/bifrozt-ansible/blob/master/roles/network/templates/etc/network/ipv4hater

Okay I think I'll make a wiki page for that with any information I found to protect the honeypot.

Sounds good, thanks a lot :smile:

Honeypots will always be subject to abuse (working as intended ;) ) but, there's a level of risk that should be addressed when it comes to deploying them.
These docs will provide a bit more info regarding risks/abuse in the context of honeypots

https://github.com/Bifrozt/bifrozt-ansible/wiki/Risks.
http://old.honeynet.org/papers/honeynet/


Embedded records mixin - embeddedSerializer.normalize is not a function

I'm trying to use the embedded records mixin with all these new Ember-data changes. I finally have the new Active Model Adapter plugin but now I'm getting the error above when trying to use the EmbeddedRecordsMixin which worked fine before.
Anyone have a solution?

I have the same problem

Hey there, we just pulled over CONTRIBUTING.md from the Ember Data core repository over here. Here's some stuff around filing issues: https://github.com/ember-data/active-model-adapter/blob/master/CONTRIBUTING.md#reporting-a-bug
There's a link to JSBIN in there with the ActiveModelAdapter preconfigured. Otherwise if you could give us some demo code with the model definition, serializer definition, and example payload, that would help us track that down. Thanks!

Hi friends. Is this still an issue?


Bundled extensions should declare slf4j and Jackson as "provided"

As described in https://github.com/OpenRefine/simile-butterfly/issues/15#issuecomment-2008558262 core facilities that are used by extensions should be declared as "provided" in the extensions POMs, so that they don't get re-imported with a different classloader hierarchy causing LinkageErrors. In particular, this applies to slf4j and jackson-databind.
Current Results
Butterfly fails to start with OpenRefine extension modules unless its classloading isolation mechanism is disabled.
Expected Behavior
All bundled extensions load without issue even with Butterfly's isolation enabled.

Wonderful find!  Glad we finally figured this out.

That would be a pretty natural solution indeed! I'm curious to see if Jackson serialization still works as it should after that.

I'm curious to see if Jackson serialization still works as it should after that.

Do you have a particular test (manual or automated) that was failing before? Was the broken serialization on the wire or on disk?
FWIW all unit and end to end tests pass with this fix (and the Butterfly patch reverted).

This is a problem that sadly isn't covered by the test suite because the class loaders used when running unit tests are configured differently to the normal operation of the application.
It might be possible to write a unit test for the problem by explicitly invoking the class loaders in the way they are in the normal application.
One way to test this manually would be to use the Wikibase integration (saving a Wikibase schema in a project should be enough, no need to upload), restarting OpenRefine and checking that the schema is indeed restored as expected. This would test Jackson serialization and deserialization under normal circumstances.

Took me a while to figure out how to make a schema that the Wikibase extension would let me save, but save/restore appears to work correctly.


Add support for multi-modal NuScenes Detection

Hi,
I'm submitting a pull request to add support for multi-modal detection on the NuScenes dataset. This PR consists of four main components:
(1) Support for the TransFusion-Lidar head.
(2) Implementation of the fade strategy, which disables data augmentations in the last several epochs during training.
(3) Support for the multi-modal NuScenes dataset, including data processing and dataset usage.
(4) Introduction of the multi-modal detector BEVFusion, including support for image backbones, LSS Transform, and Bev pooling.
Best regards,
Chen Shi

Great. @sshaoshuai will have a final check and then merge it.

Hi @chenshi3 , thank you very much for your work on supporting TransFusion! May I ask if it's possible to train TransFusion-Lidar model with earlier version of pcdet? Could you please give me some hints on how should I change the related codes? (I am not sure if it's enough to just add the transfusion-lidar head and other model-related codes, or should I also modify other parts to support it?)

Hi @chenshi3, thank you very much for your contribution. However, I have a question about the data augmentation. In the config file, rotation and scale augmentations are applied to the point cloud. However, this augmentation alone has nothing to do with the image being augmented in the next step. Can you explain this? Does it affect the efficiency of the model?


Support for rewards outside [0, 1]

Add, to each policy, a amplitude (defaut to 1.) and lower (defaut to 0.) attributes, and change the getReward method:
def getReward(self, arm, reward):
    ...
    self.rewards[arm] += (reward - self.lower) / self.amplitude

instead of:
def getReward(self, arm, reward):
    ...
    self.rewards[arm] += reward

Should now be alright, from version v0.4.


Vndr latest containers/storage, containers/image, projectatomic/buildah

Containers image has a fix docker tarfile: use the cached digest if existing
Containers storage has a fix for doing image diffs
Buildah

Fixes to COPY and ADD to properly follow symbolic links is SRC is a symbolic link
Print out a digest message on successful push.
We should not drop the Bounding set when running as a non priv user in podman build

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

LGTM once tests green
On Fri, Sep 14, 2018, 03:39 Daniel J Walsh<EMAIL_ADDRESS>wrote:

…buildah
Containers image has a fix docker tarfile: use the cached digest if
existing
Containers storage has a fix for doing image diffs
Buildah

Fixes to COPY and ADD to properly follow symbolic links is SRC is a
symbolic link
Print out a digest message on successful push.
We should not drop the Bounding set when running as a non priv user
in podman build

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>You can view, comment on, or merge this pull request online at:
https://github.com/containers/libpod/pull/1471
Commit Summary

Vendor in latest containers/storage, containers/image,
projectatomic/buildah

File Changes

M vendor.conf
https://github.com/containers/libpod/pull/1471/files#diff-0 (6)
M vendor/github.com/containers/image/copy/copy.go
https://github.com/containers/libpod/pull/1471/files#diff-1 (7)
M vendor/github.com/containers/storage/store.go
https://github.com/containers/libpod/pull/1471/files#diff-2 (14)
M vendor/github.com/projectatomic/buildah/README.md
https://github.com/containers/libpod/pull/1471/files#diff-3 (34)
M vendor/github.com/projectatomic/buildah/add.go
https://github.com/containers/libpod/pull/1471/files#diff-4 (28)
M vendor/github.com/projectatomic/buildah/commit.go
https://github.com/containers/libpod/pull/1471/files#diff-5 (6)
M vendor/github.com/projectatomic/buildah/new.go
https://github.com/containers/libpod/pull/1471/files#diff-6 (19)
M vendor/github.com/projectatomic/buildah/run.go
https://github.com/containers/libpod/pull/1471/files#diff-7 (4)
M vendor/github.com/projectatomic/buildah/vendor.conf
https://github.com/containers/libpod/pull/1471/files#diff-8 (6)

Patch Links:

https://github.com/containers/libpod/pull/1471.patch
https://github.com/containers/libpod/pull/1471.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/pull/1471, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHYHCPuBGX6wXILIRei8u9lOlifXGDxSks5ua10bgaJpZM4WoxQK
.

Travis timed out, restarting it

LGTM

Tests in Travis are exploding with cgroup errors

bot, retest this please

@rhatdan I don't know which one of the vendors it is, but something is causing CGroup issues on travis

This isn't going to make it into today's release

I think we have to wait for @nalind fix.


Bug: input is not inferred using fromPromise in setup

XState version
XState version 5
Description
Using fromPromise for defining actors in  setup, the parameter input is not inferred.
Expected result
I expect the input to be inferred as the useActor works correctly and requires input to be provided.
Actual result
Property 'myInput' does not exist on type '{}'. ts(2339)
Reproduction
https://codesandbox.io/p/devbox/xstate-ts-actor-input-frompromise-infer-zwfvs5?file=%2Fsrc%2FfeedbackMachine.ts%3A26%2C63-26%2C76
Additional context
xstate: 5.18.2
@xstate/svelte: 3.0.5

It works OK as intended, the input that you configure for your promise actor is its input - not the input given to the outer machine. Please take a look at this TS playground that, I hope, will help to clarify the confusion: TS playground

I found it a bit counterintuitive, but I understand it now; thank you for the example.
So the suggested approach is to provide the second generic to fromPromise in order to keep the parameter (promiseCreator) correctly typed, right?

Providing explicit generic to fromPromise is probably the easiest.


faced 21k questions :)

Is it possible to limit traversing inside container files like epub, mac application, docx, etc
One way is if a folder contains extension, then it should not be traversed like .app, .kext, .epub, etc

There's no such feature today but we can add one.
What you suggests seems to make sense, as an option.
Additionally having the ability to pass as argument a list of patterns to ignore could probably be convenient.

In fact I could combine this with the ignore list issue: backdown could ask something like
[i] add *.epub directories to ignore list

when encountering a suspect directory (directory with extension, node_modules, etc.).


don't work!

This f*king app wants to steal my computer. Don't install this. It's virus!

it works!


vim_ai_complete_default and vim_ai_edit_default model can't be changed

When changing the model of either vim_ai_complete_default or vim_ai_edit_default to another one (e.g. gpt-4o) then they stop working,
and an error suggesting that API key should be verified is logged.

Maybe you ran into https://github.com/madox2/vim-ai/commit/ccf981974232636d08a48094bf9dad3812a43cc8#comments as well and have to set "endpoint_url" explicitly?

What model is gpt-4o? Maybe you could try with more common ones first, say gpt-4-turbo

It's the one they released recently, but gpt-4-turbo does not work for me as well

Are you sure the API key is correct? That's been usually the cause of these 400 error messages if I recall correctly.

Yes I do, use vim-ai a lot- just wanted to upgrade to the new model.

Maybe setting g:vim_ai_debug = 1 will reveal more than a mere 400 error.

The completions api uses a different format for the request than chat, and it does not support models later than gpt 3.5

Interesting, I have seen that the 3.5-turbo-instruction called so (...-instruction) only for legacy reason, and it is not truly optimized for instruction, so seemingly we could profit from adjusting to the other models.
Maybe I will look further to suggest how to support it

Ideally, I think the plugin should be decoupled from the openai api format, and endpoint would be plugged using adapters.

gpt-4o  model can be used only with chat engine (api /v1/chat/completions), you can configure chat engine also for completions and edits. Since /v1/completions is now considered a legacy, it could make sense to use chat engine for completions by default.
@pedrohgmacedo I like the idea of adapters, but since there are no big differences between API/model providers, I find it simpler to stick to OpenAI-compatible APIs as there are many tools/services providing such compatibility layer.

@pedrohgmacedo I like the idea of adapters, but since there are no big differences between API/model providers, I find it simpler to stick to OpenAI-compatible APIs as there are many tools/services providing such compatibility layer.

Some providers are icky and don't offer a compatible api, for instance google gemini or cohere. I'm currently hosting my own adapter on cloudflare, instead of forking the plugin.

There are tools like litellm that expose openai-compatible proxy to most of the llm providers.


Automatic Update of README.md

This is an auto-generated PR which updates the README.md from the README.yaml
using the cloudposse/build-harness.

:tada: This PR is included in version 1.3.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixes a panic in the DNS resolver

See moby/moby#40715

Tests passing!

LGTM on the fix, can you please add a better description in the commit message @SamWhited

Added a paragraph explaining what changed.

did you re-cherry-pick the 19.03 backport as well?

Sure did


Order and font style in sections

Hi again,
I am tweaking my resume and there is two things I can not get quite right for it to be just right.

The first being the order of #work section, do you know if it is possible to re-order it? What I would like in my case is to have the company at the top. Completely understand it if the current sorting is the one you prefer.
The second is in regard to font style in the different sections, is there an easy way to make one or more of the properties bold or italic in a section configuration?

#work(
  title: "Subatomic Shepherd and Caffeine Connoisseur",
  location: "Atomville, CA",
  company: "Microscopic Circus, Schrodinger's University",
  dates: dates-helper(start-date: "May 2024", end-date: "Present"),
)
- more bullet points go here

Hey! Current sorting and ordering is pretty much based off what I see most resumes tend to use, which makes it better for ATS parsing I believe.
However, if you want, there are a couple generic components that you can use (which I should probably document haha)
generic-two-by-two(
  top-left: "",
  top-right: "",
  bottom-left: "",
  bottom-right: "",
)

generic-one-by-two(
  left: "",
  right: "",
)

And if you want to change the boldness/italics, you can just use the functions strong("text") and emph("text")


[IOTS-220] Delete groups: Any user to whom the group is shared to is able to delete the group

Steps: Share a group from one to another. Actual result: The person who the group was shared to has permission to delete the group. Expected result: The user should only be able to delete the group if the user has permission.Reference: https://wso2.org/jira/browse/IOTS-220

This is already fixed in latest release.


make DartPad use strong mode by default

We should toggle DartPad to use strong mode by default.
(somewhat related to https://github.com/dart-lang/dart-pad/issues/736)
@lukechurch

@devoncarew I've agreed a plan for this with @mit-mit. it's currently awaiting fixes to some regressions in the analyzer that @danrubel is working on (https://github.com/dart-lang/dart-services/issues/286).
As soon as those fixes go in and we can upgrade the sequence of components that we need to support this.
I'm talking with @danrubel today, I'll see how close we are to being able to upgrade analyzer.

Now we have bug fixes landed, and the format button in, this is next up.

Any update?

@mit-mit When we discussed this last in PDX, there was a desire to synchronise the default bit changing with all the other aspects of the tooling. I'll catch up with you when I'm back from travels in a couple of days.

We should do this ASAP. People coming to https://www.dartlang.org/guides/get-started see a DartPad with strong mode disabled. That's not good.

FYI @kwalrath embedded views can load strong mode on by default by adding the url variable "strong=true"
guide

Closing.


Fixes #34

After some clarification from Josh, the signature field will be nil in cases where the query does not return data.


Keep attrs & Add a 'keep_coords' argument to Dataset.apply

Generally this isn't a problem, since the coords are carried over by the resulting DataArrays:
In [11]:

ds = xray.Dataset({
        'a':pd.DataFrame(pd.np.random.rand(10,3)),
        'b':pd.Series(pd.np.random.rand(10))
    })
ds.coords['c'] = pd.Series(pd.np.random.rand(10))
ds
Out[11]:
<xray.Dataset>
Dimensions:  (dim_0: 10, dim_1: 3)
Coordinates:
  * dim_0    (dim_0) int64 0 1 2 3 4 5 6 7 8 9
  * dim_1    (dim_1) int64 0 1 2
    c        (dim_0) float64 0.9318 0.2899 0.3853 0.6235 0.9436 0.7928 ...
Data variables:
    a        (dim_0, dim_1) float64 0.5707 0.9485 0.3541 0.5987 0.406 0.7992 ...
    b        (dim_0) float64 0.4106 0.2316 0.5804 0.6393 0.5715 0.6463 ...
In [12]:

ds.apply(lambda x: x*2)
Out[12]:
<xray.Dataset>
Dimensions:  (dim_0: 10, dim_1: 3)
Coordinates:
    c        (dim_0) float64 0.9318 0.2899 0.3853 0.6235 0.9436 0.7928 ...
  * dim_0    (dim_0) int64 0 1 2 3 4 5 6 7 8 9
  * dim_1    (dim_1) int64 0 1 2
Data variables:
    a        (dim_0, dim_1) float64 1.141 1.897 0.7081 1.197 0.812 1.598 ...
    b        (dim_0) float64 0.8212 0.4631 1.161 1.279 1.143 1.293 0.3507 ...

But if there's an operation that removes the coords from the DataArrays, the coords are not there on the result (notice c below).
Should the Dataset retain them? Either always or with a keep_coords argument, similar to keep_attrs.
In [13]:

ds = xray.Dataset({
        'a':pd.DataFrame(pd.np.random.rand(10,3)),
        'b':pd.Series(pd.np.random.rand(10))
    })
ds.coords['c'] = pd.Series(pd.np.random.rand(10))
ds
Out[13]:
<xray.Dataset>
Dimensions:  (dim_0: 10, dim_1: 3)
Coordinates:
  * dim_0    (dim_0) int64 0 1 2 3 4 5 6 7 8 9
  * dim_1    (dim_1) int64 0 1 2
    c        (dim_0) float64 0.4121 0.2507 0.6326 0.4031 0.6169 0.441 0.1146 ...
Data variables:
    a        (dim_0, dim_1) float64 0.4813 0.2479 0.5158 0.2787 0.06672 ...
    b        (dim_0) float64 0.2638 0.5788 0.6591 0.7174 0.3645 0.5655 ...
In [14]:

ds.apply(lambda x: x.to_pandas()*2)
Out[14]:
<xray.Dataset>
Dimensions:  (dim_0: 10, dim_1: 3)
Coordinates:
  * dim_0    (dim_0) int64 0 1 2 3 4 5 6 7 8 9
  * dim_1    (dim_1) int64 0 1 2
Data variables:
    a        (dim_0, dim_1) float64 0.9627 0.4957 1.032 0.5574 0.1334 0.8289 ...
    b        (dim_0) float64 0.5275 1.158 1.318 1.435 0.7291 1.131 0.1903 ...

I would be fine with a keep_coords argument.
I'm wary of always keeping coordinates, because some applied operations could make existing coordinates no longer valid. For example, suppose you want to use pandas's faster time-resampling, i.e., ds.apply(lambda x: x.to_pandas().resample('24H')). Any coordinates along the time would no longer be valid. We could automatically align the coordinates, but that starts to get increasingly magical...

Great, I'll add this to my list

Also attrs get cleared, which I think should be retained by default?

Is there plans for a 'keep_coords' for Dataset.resample as well?

@snowman2 Possibly yes, though we would want to think through the use-cases for this first. Arguably, you should explicitly preserve coordinates in your custom callable instead.

You could do it in the custom callable, but it requires less expertise and fewer lines of code to add that as an option. The use case I have is land surface model output with x,y coordinates that I would like to preserve.

@snowman2 Can you give a concrete example of the sort of function you would want to apply?

I need input data for a hydrology model in an hourly timestep. So, I use the Dataset.resample method on data from land surface models to achieve that. Then, I use a custom linear interpolation to fill in the nan's.  I then write out the data to a file. It is easier to write the resampled dataset to the file with the necessary information if the x,y coordinates are not removed in the Dataset.resample method.

@snowman2  I tried to reproduce your issue, but I couldn't make resample drop coordinates:
In [21]: ds = xarray.tutorial.load_dataset('rasm')

In [22]: ds.resample('AS', 'time', how=np.sum)
Out[22]:
<xarray.Dataset>
Dimensions:  (time: 4, x: 275, y: 205)
Coordinates:
    yc       (y, x) float64 16.53 16.78 17.02 17.27 17.51 17.76 18.0 18.25 ...
    xc       (y, x) float64 189.2 189.4 189.6 189.7 189.9 190.1 190.2 190.4 ...
  * time     (time) datetime64[ns] 1980-01-01 1981-01-01 1982-01-01 1983-01-01
Dimensions without coordinates: x, y
Data variables:
    Tair     (time, y, x) float64 nan nan nan nan nan nan nan nan nan nan ...

@shoyer, thanks for looking into it. I am resampling from 3hr data to 1hr data.
resampled_ds = ds.resample('1H', dim='time', keep_attrs=True)

I am using it here:
https://github.com/CI-WATER/gsshapy/blob/f4e5cb13c1d528021e1953859b712553a4162311/gsshapy/grid/grid_to_gssha.py#L789-L844
I ran into the issue there and had to add code to make sure the coordinates were copied.
Thanks!

@snowman2 can you print an example of what self.data looks like? And desired vs. actual output if you remove those lines to add in the coordinates manually?

Strange. But I can't seem to re-produce the issue. Maybe it was on a Windows machine or maybe it is fixed now.

Closing as stale


Big tile PR (3 carpets, 4 red sands, 1 grass, 5 shuttle floors)

About the PR
As per title. Salvaged a bunch of new tiles from TG (shuttles are from para, didn't bother checking they're probably in TG too but referenced non the less).
The blue arcade floor was a modified version of the eightiesred floor as the blue is how I remember it. Also didn't bother porting ALL of the grass and ironsand files because there's quite a few in total.
Screenshots

Reference material for the blue arcade carpet. Yes the planets are different.

Changelog

:cl:

add: Adds a bunch of new carpets, grass and shuttle flooring for mappers. Keep an eye out for updates to your favorite maps!

More tiles for the tile god!


Bugfix/p11 fixes

This should get HSM provisioning with PKCS#11 working smoothly again.

@EpicNuts Can you test and merge, please?

on it.

Looks good, successful update.


ChoiceDialog broken with change to not include button box if ok, cancel both false

modify prefs and then close dialog to trigger

fixed..


Unlimited data can be entered in textboxes

Textbox data need to be limited

How many characters are we looking for here ?

I'm not sure - maybe do some tests on mobile and desktop and take some screenshots. I think we want to communicate the basic idea of what people are interested pair programming with maybe a maximum of 4-5 words... maybe less?

Just tested the app on Desktop. Contrary to what you see on the post by @fotonist (which I think was tested on mobile), in desktop the text doesn't wrap around. It goes out of screen area. Image attached


Multiple run-time errors

The "Box segmentatoin" section doesn't work at all. There are multiple run-time errors.

@colinator, can you follow the colab example or the demo script for box segmentation, https://huggingface.co/spaces/yunyangx/EfficientSAM/blob/main/app.py ?

Yes, the app script works. The ipython notebook does not.

@klightz can you check why the notebook is not working?

You should start by merging this guy's PR: https://github.com/yformer/EfficientSAM/pull/8. Then he's also right about the tuple indexing error...

@colinator, Our notebook has fixed those issues. Does it work for you now?


Implement Scheduler

Implement a Scheduler that would allow for specified functions to run at pre-defined times.

Slight bug seems to occur that causes some scheduled tasks to not fire.
Currently under investigation.


Implement upserts

Depends on https://github.com/senecajs/seneca-store-test/pull/60
Please do not merge until<EMAIL_ADDRESS>has been published.
Also closes the following: #35
Depends on: https://github.com/senecajs/seneca-store-test/pull/77 - for the tests to pass.

where is the code that handles the schema options as per:
seneca.use('foo-store', {
  ent: {
    <base>: {
      <name>: {
        field: {
          <name0>: {
            load: string | function // string==code for some standard translations, function for custom
            save: ... same as load ...
          }
        }
      }
    }
  }
})

@rjrodger Can we do it in a separate PR?


Installer Test Fail

You will be asked to rebuild the NBT library if some tests fail.

NBT Support Tests

Running tests...

All NBT test performed successfully:

*** Starting NBT tests...
*** '_nbt.so' imported successfully.
*** Calling testCreate.
*** Calling testErrors.
*** Calling testList.
*** Calling testLoad.
MinecraftLevel
23
[7 7 7 ..., 0 0 0]
*** Calling testLoadNBTExplorer.
*** Calling testLoadUncompressed.
*** Calling testModify.
*** Calling testMultipleCompound.
*** Calling testSpeed.
*** Calling testToStrings.
 Hit ENTER to continue

Pocket Edition support

Installing Pocket Edition support...

Pocket Edition Support Tests

Running tests...

An error occured when runnig the test:
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    from leveldb_mcpe import DB, Options, ReadOptions, WriteOptions, WriteBatch, RepairWrapper
ImportError: libleveldb.so.1: cannot open shared object file: No such file or directory

Sorry for the late answer, but can you give more detail about his error?
The log file (in ~/.local/log) would be useful.

This was the log

One of the file of the PE support is linked to a wrong library.
Consider to recompile it.
The POCKET EDITION SUPPORT COMPILATION section in the LINUX_INSTALL.txt file will guide you.


DEPS.xwalk: Roll v8-crosswalk(335bf02->ae54f41)

ae54f41 Merge pull request #119 from chuan9/4768
033fd71 Add maxNum and minNum for SIMD.Float32x4 in CrankShaft BUG=XWALK-4768
79163b6 Add maxNum and minNum for SIMD.Float32x4 in runtime BUG=XWALK-4768
8fd0061 Merge pull request #118 from chuan9/4767-runtime
a1fe099 Add replaceLane and extractLane for SIMD.Float32x4, Int32x4 and SIMD.Float64x2 in CrankShaft.
be7afe1 Add extractLane and replaceLane for SIMD.Float32x4, SIMD.Int32x4 and SIMD.Float64x2 in runtime. Remove lane property and Revise testcases.

Remember you also need to backport these changes to Crosswalk 16.

ok~thanks!


How to add a new task？

Thank you for sharing this great work! Could you kindly guide how to add a new task to this model?
The goal is to predict if a visual question looks at the same region or different regions for all unique answers to the visual question. In other words, since a visual question might have different valid answers and each answer can refer to a region. We would like to know if the answers are referring to the same region or different regions.
The input is an image and a question, the output is yes/no. This is a binary classification problem.
(1) Following  https://github.com/OFA-Sys/OFA/issues/239#issuecomment-1247624064_, what prompts do you suggest we use?
My thought is some prompt like "Does this image has multiple answers referring to the same region?"
(2) How to fine-tune this model with the new binary classification task?
Thank you so much!

Create a new dataset and a new task by adding python files to the data and task, following the way we do. We have transformed all tasks to seq2seq, so it might be different from other codes for classification. You can check the code of SST-2, which is also a binary classification for some hints.


Modify release process for the 1 week prior scoping and release management effort for the OZ audit

This will involve initial communication with OZ for the audit round.  Also will need to start making public the changes made for that audit/release round.
Per the contract with OZ:
In order to use the booked time, we will need the commit hash 1 week before the
starting date and to define the scope and sign the WO in advance before the audit
starts.

fixed in updates to https://www.notion.so/clabsco/Release-Process-9876c6c0773249d687c6c2413e7bab76

closed with updates to https://www.notion.so/clabsco/Release-Process-9876c6c0773249d687c6c2413e7bab76


Adds syntax highlighting to overview. Fixes #95

Thanks, @PaulKinlan. Looks 👍

The build is failing due to what presumably is a transitory error and I'll try kickstarting it in a bit to confirm there are no actual issues:
downloading node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v51-linux-x64.tar.gz

The failure doesn't appear to be transitory, and might be explained by https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
I'll push out an additional commit to update this PR to use the recommended .travis.yaml configuration and see if that helps.

The change in Travis CI config cleared up the build issues.


AFSecurityPolicy Vulnerability on 2.1

Hello,
i am currently only version 2.1 of AFNetworking and to upgrade at this time for me will be a big task. However, i was wondering in order to fix the security issue can i simply update the source to enable domainValidation in the init method like below. I tested locally with a MiM and i can see it fix the issue after the patch. Does anyone see any issues doing this instead of upgrading? we will be upgrading in the next month or so but want to patch this asap. Thanks!

(id)init {
self = [super init];
if (!self) {
return nil;
}
self.validatesCertificateChain = YES;
self.validatesDomainName = YES; //ADDED to fix vulnerablity
return self;
}

Wouldn't this be enough to do it, somewhere in your application?
AFSecurityPolicy *policy = [AFSecurityPolicy defaultPolicy];
policy.validatesDomainName = YES;

I believe that should work as well

Yep. Either will do the trick.