Refactor tests to maintain a single naming convention

Refactor tests using the following convention test[MethodName][ExpectedResult][Condition]
Examples:

https://github.com/cryptexfinance/contracts/blob/master/test/HardETHVaultHandler.t.sol#L74
https://github.com/ubiquity/ubiquity-dollar/blob/development/packages/contracts/test/dollar/ERC20Ubiquity.t.sol#L81

Hi does this still need to be worked on

Hi does this still need to be worked on

@rndquu @0xcodercrane Please check if this issue is actual.

Hi does this still need to be worked on

@rndquu @0xcodercrane Please check if this issue is actual.

yes, it can be worked on

sure

Thanks @pwilson77 please share your DAI wallet address here!

You are welcome @pavlovcik, here is the wallet address
0x639EeCAA3418AfbAB34A3c5B44cC14A9045D7429

You are welcome @pavlovcik, here is the wallet address
0x639EeCAA3418AfbAB34A3c5B44cC14A9045D7429

@pwilson77 my apologies for missing this notification!
https://etherscan.io/tx/0x1d8a3b07ce67c85482efeb98ba50cbe9cd72afc1bed244c5205bda2e328e5dac
https://etherscan.io/tx/0x454e6110965e2933c0efb12c4038b2eb200fc01387b5df8bba3b15ddc8be0add

uhm I am a bit confused, I thought the bounty amount had been sent long ago here is the transactions hash
https://etherscan.io/tx/0x615b6424844d4fd695fc27850a6b09dd93cf571b67de5349a264af1cc47bcf94
please let me know if its a mistake @pavlovcik

Looks like I forgot to post the transaction receipt here. Thanks for letting me know. If you could send the DAI back it would be appreciated. Sorry about that!

Sure no problem, sent it back
https://etherscan.io/tx/0xec0629ee2c2c29c6b068fdaf3364bab6d7938a02a9c2f174dfb1cca33379b702


"Deconvolution" layer

This thread is for the discussion of the "deconvolution" layer. Close it once we finish the discussion in the progress report.

https://arxiv.org/pdf/1608.00367.pdf
We will then show that for a fixed computational budget and complexity, a network with convolutions exclusively in LR space has more representation power at the same speed than a network that first upsamples the input in HR space.
http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=5539957
http://datascience.stackexchange.com/questions/6107/what-are-deconvolutional-layers
https://arxiv.org/pdf/1609.07009.pdf

http://ieeexplore.ieee.org/abstract/document/489268/
https://www.quora.com/How-do-fully-convolutional-networks-upsample-their-coarse-output
https://www.youtube.com/watch?v=ByjaPdWXKJ4&feature=youtu.be&t=17m00s
http://www.cv-foundation.org/openaccess/content_cvpr_2013/html/Schuler_A_Machine_Learning_2013_CVPR_paper.html

I've created a wiki page to keep track of relevant papers. Feel free to edit it.

Basically, this note proved that the deconvolution layer can be replaced by a convolutional layer, and is not as good (less representation power).

Progress report is submitted.


add log filename and line number

Signed-off-by: cmssczy<EMAIL_ADDRESS>What type of PR is this?
/kind feature

What this PR does / why we need it:
print filename and line number in log
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
you can see caller in log
{"level":"Level(-2)","ts":"2022-05-06T09:13:43.617296029Z","logger":"controller.workload","caller":"core/workload_controller.go:82","msg":"Reconciling Workload","reconciler group":"kueue.x-k8s.io","reconciler kind":"Workload","name":"pi","namespace":"default","workload":{"name":"pi","namespace":"default"}}

/ok-to-test


Update gitignore

Coverage remained the same at 52.381% when pulling<PHONE_NUMBER>45ed1d05fbf2c4e03d666c573a6205 on develop into e33c097cd7e5e981c685a3d0dccccbc2ec6dd156 on master.


Incorrect tutorial for event grid trigger for azure functions

Tutorial: https://learn.microsoft.com/en-us/azure/azure-functions/functions-event-grid-blob-trigger
Issues
Incorrect URL
The suggested URL on the section Build the endpoint URL is incorrect. According to this the correct URL is as shown below.
https://{functionappname}.azurewebsites.net/runtime/webhooks/eventgrid?functionName={functionname}&code={systemkey}

Note the runtime/webhooks/eventgrid vs what's suggested on the tutorial runtime/webhooks/blobs.
Incorrect creation of function
On this section it is suggested to create a function using the template for Azure Blob Storage trigger and it asks to modify the function.json to set the source to EventGrid. Currently there's a Azure Event Grid trigger template, and asking to modify the function.json can be a little confusing if it doesn't say anything that no change is needed for the programming model is v2.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1ecc7d98-61b9-4042-2ed7-a0c1a67ef88e
Version Independent ID: 21ec0fc8-0c2f-6649-cec6-dc07d0721ab9
Content: Tutorial: Trigger Azure Functions on blob containers using an event subscription
Content Source: articles/azure-functions/functions-event-grid-blob-trigger.md
Service: azure-functions
GitHub Login: @cachai2
Microsoft Alias: cachai

@hector-sab
Thanks for your feedback! We will investigate and update as appropriate.

@hector-sab thanks for the feedback. There is a point of confusion here...in addition to an Event Grid trigger, there's now a version of Blob storage trigger that uses an event subscription. I've updated that Event Grid article to make this more clear and link to the table that shows the various blob triggering options.

@ggailey777  thanks for looking into this. Now that I review the docs for the Blob Trigger is much clearer that you can setup the source in the decorator for the python programming model v2. I thought this was not possible when I first looked at this. I may have been tired to not see it... Thanks for looking into this anyways.


Add support for Generic case-like classes with vars

... or drop case-like classes altogether. Either way make it consistent:
case class A(i: Int); Generic[A] // ok
case class B(var i: Int); Generic[B] // ok
class C(val i: Int); Generic[C] // ok
class D(var i: Int); Generic[D] // mutable AND no case? No Generic for you sir!

An argument for the latter:
object Tetration extends App {
  import shapeless._

  class Squared(x: Long) {
    val x2 = x * x
    override def toString = x2.toString
  }

  def id[A](x: A)(implicit gen: Generic[A]) = gen.from(gen.to(x))
  println(Seq.iterate(new Squared(2), 5)(id(_)))
  // List(4, 16, 256, 65536,<PHONE_NUMBER>)
}

Skimming #360 suggests the former.

That's a nice example, but it looks orthogonal to this issue as currently titled.

FWIW, I could be persuaded to either remove support for vars in case classes or add support for vars in case-like classes.

Personally I'm :+1: for adding var support in both cases. Mutability doesn't really change anything regarding Generic. And I don't think we should drop support for something with no good reason.

Both cases it is then :-)


Can't take a screenshot of a tooltip

VSCode Version: 1.24.1
OS Version: 10.12.6

Steps to Reproduce:
Issues was asserted only on macOS (Sierra and High Sierra)

Hover over any part of the code.
Try taking a snapshot using CMD+SHIFT+4.
The tooltip closes, the snapshot does not contain a tooltip.

Does this issue occur when all extensions are disabled?: Yes/No
Yes

The hover is built to disappear when keypresses occur in order to allow for typing unobstructed. I think this is a good behaviour. Perhaps there are other macOS ways to take a delayed shortcut...

But then the 4 would close it...
I will not do any changes here, as these keybindings can be customized and we have no idea what they could be bound to:

Here are steps for how to take a timed screenshot: http://www.idownloadblog.com/2016/05/11/take-timed-screenshot-on-mac/

@alexandrudima It does not. This is the reason why I did not mention 4 as an issue.


refactor(semantic): var hoisting

close: #4323
This PR refactors the var hoisting logic to avoid inserting the same symbol into every scope that can be hosted.

#4379  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite

https://github.com/oxc-project/monitor-oxc/actions/workflows/ci.yml can check PR now.

https://github.com/oxc-project/monitor-oxc/actions/workflows/ci.yml can check PR now.

I saw mangler job succeed, and the transformer job failed but it has nothing to do with the changes to that PR
https://github.com/oxc-project/monitor-oxc/actions/runs/10034040791/job/27728055130

I'm going to stare at this PR while I'm on the plane to Sydney tomorrow.


Update veritable-ui image and add cloudagentAdminWsOrigin env var

Pull Request
Checklist

[x] Have you read Digital Catapult's Code of Conduct?
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.

PR Type
Please delete options that are irrelevant.

[ ] Bug Fix
[x] Feature
[ ] Documentation Update
[ ] Code style update (formatting, local variables)
[ ] Breaking Change (fix or feature that would cause existing functionality to change)

Linked tickets
VR-132
High level description
Update veritable-ui to v0.5.0
Detailed description
Updates image and adds new config value cloudagentAdminWsOrigin
Describe alternatives you've considered
N/A
Operational impact
None
Additional context
N/A

Note chart testing is failing because we now need a cloudagent to be up in order to start the service successfully. Is the best option @dblane-digicatapult to add the cloudagent as a dependency so we can use it in testing?


Getting referenceerror: self is not defined when running mocha tests in command line as soon as I attempt to use isomorphic-fetch

So I wanted to use this, and I have a SPA client only app using webpack, npm, es6. The moment I add this line in:
import fetch from 'isomorphic-fetch';
The moment I have this line, my mocha tests crash with -- referenceerror: self is not defined --  error. Mocha browser runs fine, and I can perform a fetch correctly.
I can't get command line mocha test fixed. How do I fix this? I don't have this issue when I import any other libraries, including React-DOM which is definitely dependent on a DOM.

This issue also causes React Native to crash. The problem is if GitHub's library is loaded without a browser environment, self isn't defined. I believe React Native's packager will include the script even if it is not required.

My workaround right now is to use webpack's providerPlugin to load fetch for dev, deploy, but not test (separate webpack.config file for each env). That means of course that I cannot call actual fetch at all, but have to stub it via a mocking framework. This is all right for unit testing, but won't work for integration testing. Also disallows me from using sinon's fake server functionality (since that would require an actual fetch call).

Having this same issue... Should we exclude something from the build (webpack externals config) when building for Node to prevent this?

I got this fixed within GitHub's code (https://github.com/github/fetch/pull/253)
But my PR on this repo also needs to be included to resolve this entirely: #63

Much obliged @billinghamj ! Just wait for the merge I guess

Yeah, I'm waiting for the merge as well. :+1:
Since it is a quick fix I made the changes directly in the file on node_modules just to keep developing.

What is the status of this merge?

@matthew-andrews seems to be uninterested in resolving this. As such, @lucasfeliciano created "fetch-everywhere" instead which is designed to work in every circumstance - https://github.com/lucasfeliciano/fetch-everywhere

@billinghamj Yes, just testing it :)

Same self is not defined when trying to use command line mocha test and import fetch from 'isomorphic-fetch';

Also experiencing this, is there no solid solution yet?

@andrewmclagan Indeed :)

I'm still getting this issue

i had this error working with chai/mocha test.
fixed by this workaround:
add fix-global-self.js  with:
global.self = global;
module.exports = global;
then import it at the top of my test:
import "./fix-global-self"
works for me.

Another solution is to make sure node has a self property, via: https://www.npmjs.com/package/node-self.


Fix: Add user profile with dropdown after sign in through github

Fix : After the user signs in through GitHub, the PR enables the user to access their profile with various options using dropdown.
Fixes #530
Before:
Description: After sign in with github there is no user profile on the home page.
https://github.com/Real-Dev-Squad/website-dashboard/assets/84411728/bab4d521-c0e1-4968-ad9d-5b81e4c16132
After:
Description: If the user has logged in he/she will be able to see user profile with dropdown options.
https://github.com/Real-Dev-Squad/website-dashboard/assets/84411728/bd4007de-5672-4923-9271-91d40bbd8a01

Where is the test??

Didn't know about writing tests.


Google API: Retry by default

We've seen some transient network errors; retrying is disabled by default so this enables it.

selfie


Make job headings on Service Discovery page consistent

The new Service Discovery page uses the CSS/JS from the Targets page but
used slightly differently. This makes the job header match in the
Service Discovery page for a more consistent look-n-feel.
Before

After:

The targets page:

/cc @juliusv

👍

:+1: modulo bindata conflict

Rebased.


Enhancement to Newly existed filter setting option(for chapters)

Device information

Tachiyomi version: Preview r242
Android version: A10 OneUI 2.5
Device: Note 10+

I know I should be doing this on Tachi repo, but I am using TachiSY so, Syer 👍🤣👍
Steps to reproduce

Browse>Add any series
Stupid steps but, migrate that series
Either set a filter/sort for a chapter or let pre-user-defined default be set.

Expected behavior

As the filter is already set for series when it is migrated it should retain its filter setting too.

Actual behavior

Filter is not set, so need to define it again.

Other details
well, it's not much of a big deal if we weren't using a pre-user-defined filter/sort setting, but that is not the case if the filter is already been set. So need some enhancement to this(https://github.com/jobobby04/TachiyomiSY/commit/763335bd85aa12061ab98f57e2cd648f72f822ed) feature.
For Reference Clip. https://imgur.com/a/6OLZh3O

You are right, you should be making this to Tachi repo. This doesn't seem like a Sy specific feature.

Good Day Ainz-Sama & Syer
Weird that is, I check on Tachi Preview this morning and it work fine.
Reference Video Link: https://imgur.com/a/JB0fi2S
Let me know if I need to report on main repo.
Thx

Added in https://github.com/jobobby04/TachiyomiSY/commit/32748fa05655bf302f5ffb0773e08747fb3118a0

Did found when i updated last week.
Thx syer 🤣


VMA uses the extension version vkGetBufferMemoryRequirements2KHR of core function vkGetBufferMemoryRequirements2

To determine whether the allocation should be dedicated, VMA checks for the presence of Vulkan API version 1.1, then uses vkGetBufferMemoryRequirements2KHR function from extension VK_KHR_get_memory_requirements2 inside VmaAllocator_T::GetBufferMemoryRequirements:
if (m_UseKhrDedicatedAllocation || m_VulkanApiVersion >= VK_MAKE_VERSION(1, 1, 0))
{
    ...
    (*m_VulkanFunctions.vkGetBufferMemoryRequirements2KHR)(m_hDevice, &memReqInfo, &memReq2);
    ...
}

However VK_KHR_get_memory_requirements2 is promoted into the Vulkan 1.1 core.
If the version is less than 1.1, expecting an enabled VK_KHR_get_memory_requirements2 could be a solution, but if the Vulkan version is 1.1 or above, then expecting the user to enable an extension which is already promoted into the core is not a good idea. Still, currently it must be done, otherwise the extension function vkGetBufferMemoryRequirements2KHR is not loaded, but only vkGetBufferMemoryRequirements2, which results in a segmentation violation and crash inside VMA's VmaAllocator_T::GetBufferMemoryRequirements function.

It can happen when you provide Vulkan functions via VmaVulkanFunctions.

I've pushed a new change that documents some members of VmaVulkanFunctions, clarifying which functions to fetch. What do you think about it?

I'm closing this ticket due to inactivity. Please let me know if you meet any further problems with this.

I am experiencing the same issue, in VmaAllocatorCreateInfo I am not adding any flags and not enabling the dedicated allocations extensions. I made sure I specified VK_API_VERSION_1_3in instance creation and allocator creation however VMA still seemingly wants to call vkGetBufferMemoryRequirements2KHR as evident by the GDB trace.
(gdb) up
#1  0x00007ffff71312b9 in VmaAllocator_T::GetBufferMemoryRequirements (this=0x523000011900, hBuffer=0xcb3ee80000000007, memReq=..., requiresDedicatedAllocation=@0x7fffbb609120: false,
    prefersDedicatedAllocation=@0x7fffbb609130: false) at /usr/include/VulkanMemoryAllocator/vk_mem_alloc.h:13561
13561           (*m_VulkanFunctions.vkGetBufferMemoryRequirements2KHR)(m_hDevice, &memReqInfo, &memReq2);
(gdb) ```

When you use Vulkan version 1.1 or higher, function vkGetBufferMemoryRequirements2 should be available and VMA tries to use it. The function pointer is called m_VulkanFunctions.vkGetBufferMemoryRequirements2KHR but it should really point to the function vkGetBufferMemoryRequirements2 despite its name. Please make sure it does by using any of the methods for importing Vulkan functions described in the documentation:
https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/quick_start.html#quick_start_project_setup


split_data function

This function wraps the split and unique_metadata operations in equistore, allowing users to split multiple TensorMaps according to named indices (randomly shuffled or otherwise) along a given TensorBlock axis. It is high-level enough such that it does not require the specification of any Labels objects.
Example Usage
import equistore.io
from equisolve.utils import split_data

# Load input and output TensorMaps
input = equistore.io("/path/to/input/tensormap/")
output = equistore.io("/path/to/output/tensormap/")

[[in_train, in_test], [out_train, out_test]], grouped_idxs = split_data(
            tensors=[input, output],
            axis="samples",
            names=["structure"],
            n_groups=2,  # for train-test split
            group_sizes_rel=[0.8, 0.2],  # 80:20 train:test split
            random_seed=100,
        )

The function returns the split tensors, where each respective tensor in each group has the same unique metadata indices. In other words, in the example above, in_train and out_train will have the same unique "structure" metadata indices along the "samples" axes of each block. in_test and out_test will also have the same indices as eachother, but be distinct (zero intersection) with the indices in the train TensorMaps.
The function also returns a list of Labels object for the grouped indices (grouped_idxs in the ex. above). These show the unique_metadata for the specified axis and names present in each of the groups of split tensors.

:books: Documentation preview :books:: https://equisolve--25.org.readthedocs.build/en/25/

Hey @PicoCentauri, thanks for all the feedback! I will go through the comments and make the appropriate changes. There is one place in which I disagree, however. The reason that the function takes a list of TensorMaps is twofold:

It ensures that each respective TensorMap is split into new TensorMaps where the specified metadata (i.e. "structure" index in the "samples") is the same for each of the split TensorMaps. This is important because if you want to do a train-test split on X and Y, you want X_train and Y_train to have the same structure indices.

This more closely matches the functionality of sklearn's train_test_split

Converting the argument to ONLY taking a single TensorMap to me defeats the point of the function - the user wants to perform a split, perhaps with shuffled indices, but doesn't want to have to worry about touching the Labels objects and telling any function which Labels should go where (like they would have to for split). This function makes it easy - split my X and Y for me, shuffle the structure indices, and give me back X/Y train/test with all indices in harmony!

Changes made @PicoCentauri


3-way Handshake Scenaio

Hi,
I was trying to filter out the TCP packets involved in a 3-way handshake scenario. Are there any pre-built filters that I can utilize to capture the SYN, SYN-ACK and ACK packets?

Yes, the easiest thing would be to "or" together the TCP flags values for SYN (0x2), SYN-ACK (0x12), and ACK (0x10). The filter parsing doesn't yet support hex values, but you can convert them to decimal like so:
#[filter("tcp.flags = 2 or tcp.flags = 18 or tcp.flags = 16")]

This will cover both IPv4 and IPv6 packets.


0.2.19 crash Homebridge 0.4.53, thinking is 0.4.50

Hope you are well @ebaauw
I'm already running<EMAIL_ADDRESS>a while now.
Today I noticed that I can update your homebridge-music  @0.2.18 -> @0.2.19, so I did.
Unfortunately homebridge was not running afterwards. Log is claiming I have not installed 0.4.53.
After going back to<EMAIL_ADDRESS>everything is working again.
However the log is still showing that I use hb 0.4.50
I hope you can help. Thx.
{
            "name": "iTunes",
            "service": "switch",
            "timeout": "25",
            "platform": "Music",
            "Script": "Music"
        },

[4/14/2020, 11:08:23 PM] Got SIGTERM, shutting down Homebridge...
daniel@iMac ~ % sudo npm install -g --unsafe-perm homebridge@latest
Password:
/usr/local/Cellar/node/12.12.0/bin/homebridge -> /usr/local/Cellar/node/12.12.0/lib/node_modules/homebridge/bin/homebridge
+<EMAIL_ADDRESS>added 2 packages from 2 contributors and updated 8 packages in 3.787s
daniel@iMac ~ % homebridge
[4/14/2020, 11:10:13 PM] Loaded config.json with 0 accessories and 2 platforms.
[4/14/2020, 11:10:13 PM] ---
[4/14/2020, 11:10:13 PM] Loaded plugin: homebridge-config-ui-x
[4/14/2020, 11:10:13 PM] Registering platform 'homebridge-config-ui-x.config'
[4/14/2020, 11:10:13 PM] ---
[4/14/2020, 11:10:13 PM] ====================
[4/14/2020, 11:10:13 PM] ERROR LOADING PLUGIN homebridge-music:
[4/14/2020, 11:10:13 PM] Error: Plugin /usr/local/Cellar/node/12.12.0/lib/node_modules/homebridge-music requires a HomeBridge version of ~0.4.53 which does not satisfy the current HomeBridge version of 0.4.50. You may need to upgrade your installation of HomeBridge.
    at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:56:11)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:153:14)
    at Array.forEach (<anonymous>)
    at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:145:22)
    at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:24)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:32:16)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
[4/14/2020, 11:10:13 PM] ====================
[4/14/2020, 11:10:13 PM] Loading 2 platforms...
[4/14/2020, 11:10:13 PM] Error: The requested platform 'Music' was not registered by any plugin.
    at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13)
    at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
[4/14/2020, 11:10:13 PM] Got SIGTERM, shutting down Homebridge...

4/14/2020, 11:10:13 PM] Error: Plugin /usr/local/Cellar/node/12.12.0/lib/node_modules/homebridge-music requires a HomeBridge version of ~0.4.53 which does not satisfy the current HomeBridge version of 0.4.50. You may need to upgrade your installation of HomeBridge.

As you can see from the stack trace, this error is generated by Homebridge itself.  It thinks it's v0.4.50.  Homebridge Music simply gets the Homebridge version from Homebridge, through its API.  I don't know where Homebridge Config UI X gets the version from.  Are you running it standalone?  Did you check for multiple installations of Homebridge on your server?

Thanks. I am just running one Homebridge on my iMac.
And as shown in my log also reinstalled 0.4.53 again.
% sudo npm install -g --unsafe-perm homebridge@latest
Password:
/usr/local/Cellar/node/12.12.0/bin/homebridge -> /usr/local/Cellar/node/12.12.0/lib/node_modules/homebridge/bin/homebridge
+<EMAIL_ADDRESS>
Unfortunately I have no idea what else to do than this. If you have any suggestions I'm happy to follow your advise. Thanks.

You have a rather unusual path where you installed node, and, consequently, homebridge.  Normally it's installed under /usr/local.  Also note that the path suggests node v12.12.0, where you're running v12.16.1 according to Homebridge Config UI X.  What does node -v report?
See my previous question: Are you running Homebridge Config UI X in standalone mode?  It would seem in runs in a different environment than Homebridge.
How do you start homebridge?

From the command line?  Double-check which homebridge.
From a service?  Disable the service and try to run homebridge from the command line.  Double-check which node and which homebridge as the user running the service.

@iMac ~ % which homebridge
/usr/local/bin/homebridge
@iMac ~ % which node
/usr/local/bin/node

For the installation on macOS I just followed this step-by-step instructions.
https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-macOS
Homebridge is starting automatically by
launchctl load ~/Library/LaunchAgents/com.homebridge.server.plist
When I start homebridge in the terminal it is starting like this.
@iMac ~ % homebridge
[4/15/2020, 9:47:33 AM] Loaded config.json with 0 accessories and 2 platforms.
[4/15/2020, 9:47:33 AM] ---
[4/15/2020, 9:47:33 AM] Loaded plugin: homebridge-config-ui-x
[4/15/2020, 9:47:33 AM] Registering platform 'homebridge-config-ui-x.config'
[4/15/2020, 9:47:33 AM] ---
[4/15/2020, 9:47:33 AM] Loaded plugin: homebridge-music
[4/15/2020, 9:47:33 AM] Registering platform 'homebridge-music.Music'
[4/15/2020, 9:47:33 AM] ---
[4/15/2020, 9:47:33 AM] Loading 2 platforms...
[4/15/2020, 9:47:33 AM] [iTunes] Initializing Music platform...
[4/15/2020, 9:47:33 AM] [iTunes] homebridge-music v0.2.18, node v12.16.1, homebridge v0.4.50, macOS v10.15
[4/15/2020, 9:47:33 AM] [Config] Initializing config platform...
[4/15/2020, 9:47:33 AM] [Config] Spawning homebridge-config-ui-x with PID 12804
[4/15/2020, 9:47:33 AM] Loading 0 accessories...
[4/15/2020, 9:47:34 AM] [iTunes] waiting 25 seconds for Music to start
[4/15/2020, 9:47:37 AM] [Config] Homebridge Config UI X v4.15.1 is listening on :: port 8080
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'iTunes'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'Computer'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'Apple TV 4K'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'Schlafzimmer'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'Schlafzimmer(Audio)'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'Triby'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'Wohnzimmer'...
[4/15/2020, 9:47:59 AM] [iTunes] Initializing platform accessory 'ZIPP 2'...
Setup Payload:
X-HM://00XXXXXXXXXXX
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ xxx-xx-xxx │
    └────────────┘

[4/15/2020, 9:47:59 AM] Homebridge is running on port 51843.

% which homebridge
/usr/local/bin/homebridge

So that is a different installation.  And if you do sudo which homebridge?

How can I get rid of it? Sorry for my ignorance.

I'd say sudo rm -rf /usr/local/Cellar/node/12.12.0, but I don't know what else depends on that.  I'd also check what else is under /usr/local/Cellar.

And if you do sudo which homebridge?

@iMac ~ % sudo which homebridge
Password:
/usr/local/bin/homebridge

And when I do sudo rm -rf /usr/local/Cellar/node/12.12.0 you think "the other" node 12.16.1 would take place automatically? It's showing when I do node -v v12.16.1 at the moment.
Do I have to reinstall Homebridge or any other? Just being prepared. :)

Homebridge seems to be running fine from the command line.  It’s probably the service definition that’s wrong, or has the wrong environment.  I don’t know the details of your installation.  I’m sorry, but this is not related to Homebridge Music, I cannot help you any further.

Thanks for your time and patience. With your suggestions I'll try to delete some folders and maybe more or less, start from scratch installing node and the rest. Thanks again.


flutter run -v --local-engine android_debug_unopt stuck at "Waiting for observatory port to be available..."

Can't establish observatory connection when use --local-engine android_debug_unopt . But if I just use "flutter run", everything will be ok.
My step:

./flutter/tools/gn --android --unoptimized
./flutter/tools/gn --unoptimized
ninja -C out/android_debug_unopt && ninja -C out/host_debug_unopt
flutter create helloworld
flutter run -v --local-engine android_debug_unopt

and it stuck at : Waiting for observatory port to be available...
flutter doctor -v
[✓] Flutter (Channel master, v1.1.3-pre.1, on Mac OS X 10.14.3 18D109, locale zh-Hans-CN)
• Flutter version 1.1.3-pre.1 at /Users/mayday/Flutter/flutter
• Framework revision db2ee51035 (3 weeks ago), 2019-03-20 13:53:48 +0800
• Engine revision 3496156bd9
• Dart version 2.2.1 (build 2.2.1-dev.2.0 None)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/mayday/Android/Development/android_sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/mayday/Android/Development/android_sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 10.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2, Build version 10E125
✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
✗ ios-deploy not installed. To install:
brew install ios-deploy
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
For more info, see https://flutter.io/platform-plugins
To install:
brew install cocoapods
pod setup
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.32.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.24.0
[✓] Connected device (1 available)
• OS105 • 7389de21 • android-arm64 • Android 7.1.1 (API 25)

I already add "dependency_overrides" to the pubspec.yaml
dependency_overrides:
sky_engine:
path: /Users/mayday/Flutter/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_engine
sky_services:
path: /Users/mayday/Flutter/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_services

it's ok, after i sync the latest code version of flutter and the engine


rbd: do not try to run resizefs on an encrypted BlockMode volume

When a volume has AccessType=Block and is encrypted with LUKS, a resize of the filesystem on the (decrypted) block-device is attempted. This should not be done, as the application that requested the Block volume is the only authoritive reader/writer of the data.
In particular VirtualMachines that use RBD volumes as a disk, usually have a partition table on the disk, instead of only a single filesystem. The resizefs command will not be able to resize the filesystem on the block-device, as it is a partition table.
When resizefs fails during NodeStageVolume, the volume is unstaged and an error is returned.
Resizing an encrypted block-device requires cryptsetup resize so that the LUKS header on the RBD-image is updated with the correct size. But there is no need to call resizefs in this case.
Fixes: #3945
Note: it looks like e2e/rbd.go covers this case already, I am not sure why the issue is not hit in the CI.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

Issues with the Ceph RPM repository cause downloading/installing updates and dependencies to fail.

@mergifyio queue


Feature/attachments

implements attachment adding to cards

Looks good, only thing I would remove is the extra spacing added to normalize as it's not a convention I'm using 👍


about: remove maia

Hello @nicks,
Please review the following commits I made in branch nicks/maia:
7a15120c4a8457a7f869f97e16005b24f6858264 (2021-06-14 10:43:34 -0400)
about: remove maia
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

:sob:


Token middleware does not call application server's "next"

I'm using oauth2orize v1.0.1 with restify. The server is configured to use the token middleware as such:
var oauth2orize = require('oauth2orize');
var oauth2Server = oauth2orize.createServer();

server.post('/oauth/token',
      passport.authenticate('oauth2-client-password', { session: false }),
      oauth2Server.token(),
      oauth2Server.errorHandler()
);

The server is also configured to log after the server has finished processing a response.
server.on('after', function(req, res) {
    var responseLog = {
        type: 'response',
            method: req.method,
            path: req.path(),
            route: req.route && req.route.path
        };

    req.log.info(responseLog);
});

However, the logging code is not executed after /oauth/token requests. This is because the token middleware doesn't call restify's "next" method unless there's an error. You can see this if you add an additional middleware after oauth2Server.token().
var oauth2orize = require('oauth2orize');
var oauth2Server = oauth2orize.createServer();

server.post('/oauth/token',
      passport.authenticate('oauth2-client-password', { session: false }),
      oauth2Server.token(),
      function(req, res, next) {
            console.log('after token middleware'); // this doesn't get executed
            next();
      }
      oauth2Server.errorHandler()
);

I believe the token middleware should always call restify's "next" regardless of whether there's an error.

@Earthstar @jaredhanson its because the response is end in clientCredentials.js file issued method.


Array reconciliation like mapArray in Solid.js

Like this:
let $a = $observable([1,2,3])

let $b = $computed($mapArray($a, _ => { console.log(_); return { _ }))

// logs 1 2 3

$a.set([3,2,5])

// logs 5

Finally I want to know 1 is removed so some type of $onCleanup function inside $computed.
Also some type of notification to note that elements have reordered.

Can this issue get a priority, I need this as soon as today if possible. So come on.


Not working in windows 11

hello i have a problem with windows 11, it connects, it detects as an audio device but in control panel in sound it says disconnected and no audio comes out, on a cell phone it works and , I am using it with internal dac

Make sure you have disconnected the phone first.  It will only connect to one device at a time.  You can disconnect in software also, using disconnect().

It might also be related to https://github.com/pschatzmann/ESP32-A2DP/wiki/Auto-Reconnect

I'll try to do it and see if it works


Define H1 High Level Solution Outline

Tasks

[x] Create Wiki Page
[ ] Create Page Layout
[ ] Detail Technology Selection

Solution Outline updated on Wiki


sctp_input: Do not dereference a NULL pointer

Can you reproduce a NULL pointer dereference?
My understanding is that if sctp_findassociation_addr() returns with net != NULL, the stcb is also not NULL. You can't find a path without finding an association this path belongs to. So if you run into a NULL pointer dereference, there is a bug in sctp_findassociation_addr().

Actually I did this patch when I was revising the code looking for fix for issue https://github.com/sctplab/usrsctp/issues/414. I just saw that function sctp_findassociation_addr could return NULL and there was no special treatment for it whereas a few lines later there was another call to the same fuction and the "if" statement did check for the case NULL before dereferencing the sctp pointer.

Since net != NULL implies stcb != NULL, this is not an issue in my view.


Interrupted Downloads are Cleared

I was doing a large download and my network got disconnected for a moment. Chrome showed a Retry option in the Downloads page, but the download got cleared.
Expected result - I should be able to Retry failed downloads.

Chrome unfortunately doesn't expose any way for us to remove downloads based on status. It's either all downloads or based on a time range.
https://developer.chrome.com/extensions/browsingData#type-RemovalOptions
You should send them a feature request.


Write assets to a temporary directory before calling out to sass

Copy primary assets and all transitive imports to a temporary directory. Build css using the copied sources. Ensures that all assets are available on disk before calling out to the sass compiler.
Add a pub transformer that wraps SassBuilder.
Add tests to validate parsing of imports.

Implements the temp directory workaround @jakemac53 listed in #1.

This LGTM from a package:build perspective

sorry, I should revert the merge doubt to next error when trying to run tool/build.dart:
[SEVERE] Build: Failed after 413ms
UnexpectedExistingOutputsException: Either you opted not to delete existing files, or you are not running in interactive mode and did not specify `deleteFilesByDefault` as `true`.
package:build_runner/src/generate/build_impl.dart 316:7   BuildImpl._deletePreviousOutputs
package:build_runner/src/generate/build_impl.dart 149:15  BuildImpl._safeBuild.<fn>.<fn>
package:build_runner/src/logging/logging.dart 19:28       logWithTime
package:build_runner/src/generate/build_impl.dart 133:13  BuildImpl._safeBuild.<fn>
package:stack_trace                                       Chain.capture
package:build_runner/src/generate/build_impl.dart 88:11   BuildImpl._safeBuild
package:build_runner/src/generate/build_impl.dart 64:24   BuildImpl.runBuild
package:build_runner/src/generate/build.dart 62:32        build
tool/build.dart 7:9                                       main
dart:async                                                _Completer.completeError
package:build_runner/src/generate/build_impl.dart 344:3   BuildImpl._deletePreviousOutputs
dart:async                                                new Future.microtask
package:build_runner/src/generate/build_impl.dart 284:68  BuildImpl._deletePreviousOutputs
package:build_runner/src/generate/build_impl.dart 149:15  BuildImpl._safeBuild.<fn>.<fn>
dart:async                                                _asyncThenWrapperHelper
package:build_runner/src/generate/build_impl.dart 133:69  BuildImpl._safeBuild.<fn>.<fn>
package:build_runner/src/logging/logging.dart 19:28       logWithTime
dart:async                                                new Future.microtask
package:build_runner/src/logging/logging.dart 16:66       logWithTime
package:build_runner/src/generate/build_impl.dart 133:13  BuildImpl._safeBuild.<fn>
dart:async                                                _asyncThenWrapperHelper
package:build_runner/src/generate/build_impl.dart 88:28   BuildImpl._safeBuild.<fn>
package:stack_trace                                       Chain.capture
package:build_runner/src/generate/build_impl.dart 88:11   BuildImpl._safeBuild
package:build_runner/src/generate/build_impl.dart 64:24   BuildImpl.runBuild

I don't think that error is really a problem, but just a bad interaction
with the previous behavior. Since it wasn't using the BuildStep to write
files before package:build did not know about the outputs, so the first
time you run it with the new behavior it will complain about the files it
wants to generate already existing (by default it won't overwrite what it
thinks are source files).
If you run the script directly from a console it should prompt you to
delete the pre-existing files and you should just be able to type y and
approve that, or you can add deleteFilesByDefault: true to your
invocation of build/watch/serve.
On Wed, Sep 27, 2017 at 8:34 PM Luis Vargas<EMAIL_ADDRESS>wrote:

sorry, I should revert the merge doubt to next error when trying to run
tool/build.dart:
[SEVERE] Build: Failed after 413ms
UnexpectedExistingOutputsException: Either you opted not to delete existing files, or you are not running in interactive mode and did not specify deleteFilesByDefault as true.
package:build_runner/src/generate/build_impl.dart 316:7   BuildImpl._deletePreviousOutputs
package:build_runner/src/generate/build_impl.dart 149:15  BuildImpl._safeBuild..
package:build_runner/src/logging/logging.dart 19:28       logWithTime
package:build_runner/src/generate/build_impl.dart 133:13  BuildImpl._safeBuild.
package:stack_trace                                       Chain.capture
package:build_runner/src/generate/build_impl.dart 88:11   BuildImpl._safeBuild
package:build_runner/src/generate/build_impl.dart 64:24   BuildImpl.runBuild
package:build_runner/src/generate/build.dart 62:32        build
tool/build.dart 7:9                                       main
dart:async                                                _Completer.completeError
package:build_runner/src/generate/build_impl.dart 344:3   BuildImpl._deletePreviousOutputs
dart:async                                                new Future.microtask
package:build_runner/src/generate/build_impl.dart 284:68  BuildImpl._deletePreviousOutputs
package:build_runner/src/generate/build_impl.dart 149:15  BuildImpl._safeBuild..
dart:async                                                _asyncThenWrapperHelper
package:build_runner/src/generate/build_impl.dart 133:69  BuildImpl._safeBuild..
package:build_runner/src/logging/logging.dart 19:28       logWithTime
dart:async                                                new Future.microtask
package:build_runner/src/logging/logging.dart 16:66       logWithTime
package:build_runner/src/generate/build_impl.dart 133:13  BuildImpl._safeBuild.
dart:async                                                _asyncThenWrapperHelper
package:build_runner/src/generate/build_impl.dart 88:28   BuildImpl._safeBuild.
package:stack_trace                                       Chain.capture
package:build_runner/src/generate/build_impl.dart 88:11   BuildImpl._safeBuild
package:build_runner/src/generate/build_impl.dart 64:24   BuildImpl.runBuild
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-league/sass_builder/pull/7#issuecomment-332718293,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8HWS3eXx0dJGIx2Wd5HypDdksxbZPfks5smxO4gaJpZM4PhGVg
.


Enhancement - UI to allow users to delete metric_category entries in Metrics Host Tracking table

There are times when users need to clean up the data sources attached and displayed as entries in the metric_details_human column on the Metric Host Tracking page.  For example, 1 data source (metric type) was initially configured to go through an intermediate heavy forwarder.  Then, changes are made to have this same data source events go through a different intermediate forwarder or load balancer.  Currently, the metric category for the data source remains "attached" to the original intermediate forwarder and since the data is no longer detected there, that metric category goes in red state which also makes the entire metric host go red.
Enhancement Request:  We need an easy UI for users to remove metric_category entries from metric_hosts.

@alvincruz29
This will be available in Version 1.2.24 with a reset button made available for the UI to perform a reset of the metrics known for that given host.

Version 1.2.24 is now live.


Compilation fails when using gcc

Using gcc 13.2.1 to compile 9c8f3ca1baba69e19726cc7caded574873ec1f9e fails with following message (to long for a github issue limits): poselib_gcc.txt

Yup, same for me


Devolutions.RemoteDesktopManagerFree version 2<IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@ItzLevvie what should I change, I only updated manifest which was already I repo.


Unfortunate peer dependency on babel when unit testing

Looks like @aws-cdk/assert requires babel-jest? Unit tests of the examples package (and therefore any consumer of punchcard) break without the following devDependencies:
"@babel/core": "^7.4.5",
"babel-core": "^7.0.0-bridge.0",

See https://github.com/sam-goodwin/punchcard/pull/38

Also probably related to the janky way we use webpack to bundle lambdas: https://github.com/sam-goodwin/punchcard/issues/35


Possible to change text as you train?

Big-sleep seems to have a self.set_text function that's used in this notebook:
https://colab.research.google.com/github/lots-of-things/Story2Hallucination/blob/main/Story2Hallucination_GIF.ipynb
to train big-sleep on a "sliding phrase" through a larger paragraph of words. This produces mostly non-sense visually as it obviously needs far more time than the defaults to generate something accurate.
I'm curious if deep-daze would allow for this though. Is it possible to just change deep-daze's text parameter? Say, once per epoch you could feed it a different phrase?

@NotNANtoN added the ability to pass in your own text embeds and has added some helper functions to the base class that make this possible as long as you define your own forward function as I do here: https://github.com/lucidrains/deep-daze/issues/50


Enable increasing the default connection timeout

We're not changing it, so in cases of high load in system we might end up experiencing timeouts as follows:
2023/01/31 09:40:29 read tcp <IP_ADDRESS>:52898-><IP_ADDRESS>:13965: i/o timeout

Checking the defaults, we see:
DialTimeout(10 * time.Second),

We should allow tuning this parameter.

Fixed in #15


Changed --color flag to auto

Can we change this to auto? Is there any reason this is currently set to never?

Hi, the value has been changed to "auto" in the latest release (currently 0.3.1).
The reason it was set to "never" is because on Windows (using Powershell) colors are not supported by default.
Problem solved with the procedure here: https://github.com/andrea-falco/lens-multi-pod-logs#-colored-logs


docs(update): fix spelling

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


Update machine learning linear regression article

Updated the date to comply with article refresh ask.

Hi @KBaroni, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

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

@tysonn  This is okay to merge, it's just a date change. Kate didn't seem to have access to the private repo so she made the change here. I'll work to get her access.

#sign-off


Modified 'Yours Books' Section correctly.

🛠 Fixes Issue
Closes #966
👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots
Hey @SauravMukherjee44  I made the necessary changes ,please have a look.
Previously:

Now:

Thank you


compile fails on case sensitive file system

In my environment (macOS High Sierra on case-sensitive APFS volume), I encountered compile error like following.
In file included from /Users/moto/Documents/Arduino/libraries/WioLTEforArduino-1.0.5/WioLTEforArduino.h:5:0,
                 from /Users/moto/Documents/Arduino/libraries/WioLTEforArduino-1.0.5/examples/soracom/soracom-harvest/soracom-harvest.ino:1:
/Users/moto/Library/Arduino15/packages/Seeeduino/hardware/Seeed_STM32F4/1.1.1/libraries/WS2812/Seeed_ws2812.h:35:21: fatal error: arduino.h: No such file or directory
 #include <arduino.h>
                     ^
compilation terminated.
exit status 1

On case-insensitive environments like Windows or default macOS setting, "Arduino.h" can be accessed by "arduino.h", but on case-sensitive environments(like Linux or macOS with case-sensitive files system) it can't.
Please fix the include lines in Seeed_ws2812.cpp and h.

Thank you, have merged it.


Redundancy between Node.create and Node.init

Why is adding descendants not part of the basic functionality of Node.__init__, and is instead exposed by a separate create method?

Since nodes have references to both descendants and their ancestor. So to create a descendant you need an ancestor node. Technically (and also conceptually - at least for me) this is only the case after __init__ has executed.

Sounds convincing.


Replaces embarrassed emotions with awkward

Korra doesn't have embarrassed images.

She has victory images which are otherwise unused. My edit specifies those instead.


RVTEST_ISA for privileged spec 1.12

I'm trying to write a custom test in the riscof flow for the mconfigptr CSR.   Right now, my RV_TEST_ISA("RV64I_Zicsr") isn't strong enough to support this CSR.  I can't find documentation of what to put in RV_TEST_ISA to force privileged spec 1.12.  Could anyone tell me the incantation, and could I suggest documenting in TestFormatSpec.adoc where to find what ISA strings are supported?
Specifically, when I run readelf on the ref.elf, I get Tag_RISCV_priv_spec_minor: 11, while mconfigptr is part of private spec 1.12.  Then Sail produces an illegal instruction exception on the csrr mconfigptr.
Thank you!
David

I think you are getting this error because Sail doesn't have the support of mconfigptr. For any new CSR, you just need to define it in encoding.h file with its correct address, and give the ISA string in RVTEST_ISA() for compiling/selecting the test for execution.
The tests are getting compiled and getting selected on Sail with this RVTEST_ISA string, but it is not running on Sail because of the unsupported CSR.

David,
Sail doesn't fully support 1.12 yet. There are a plenty of things to be done.
For mconfigptr, there is an outstanding PR at Sail repo (here) which is open for quite a while.

Thank you.

On Oct 12, 2023, at 8:43 AM, Umer Shahid @.***> wrote:
David,
Sail doesn't fully support 1.12 yet. There are a plenty of things to be done.
For mconfigptr, there is an outstanding PR at Sail repo (here https://github.com/riscv/sail-riscv/pull/293) which is open for quite a while.
—
Reply to this email directly, view it on GitHub https://github.com/riscv-non-isa/riscv-arch-test/issues/397#issuecomment-1759879485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR4AA3Y6H5RC2Y6RCPIR32DX7AFZFANCNFSM6AAAAAA5ZEZHJU.
You are receiving this because you authored the thread.


persistent connections

At the moment we don't support HTTP persistent connections. Would be great to implement this feature.

@yegor256 added "bug" tag to this issue

@yegor256 milestone set to 1.0 (correct me if I am wrong)

@yegor256 thanks for reporting! I topped your account for 15 mins, transaction 000-cfcfbe88

@adko-pl please go ahead, it's your task now, keep this in mind, and don't hesitate to ask any technical questions you may have... The cost of this task is 30 mins (this is exactly how much will be paid, not less not more), when the task is done

@davvd please find another developer

@davvd please find another developer

@adko-pl got it, someone else will be assigned soon

@davvd please find another developer

@adko-pl -30 points to your rating :(

@lautarobock can you please help? Keep in mind this. If you have any technical questions, don't hesitate to ask right here; Total fixed cost of this task is 30 mins (see this for more info)

PR #337 is ready for review

@davvd  PR #337 is ready for review

@lautarobock I will take a look, thanks

@davvd any news?

@lautarobock you're working with this issue for 15 days already
-30 to your rating, your total score is +90

@lautarobock the task is overdue, and I have to re-assign it to someone else. Please, stop working with it immediately. In general, we're against overdue tasks, check this page
-60 added to your rating, current score is: -90

@erimerturk the task is yours plz proceed

@davvd @erimerturk @yegor256 @pinaf I made a commit 3 days ago in a Pull Request Nro 306, nobody take the review, but the solution is still there, and is mine :)

@davvd pls assign @lautarobock back to this ticket. @lautarobock pls keep this in mind: http://www.teamed.io/policy.html#7

@yegor256 thanks!

@davvd assign this ticket to @lautarobock

@erimerturk you're working with this issue for 15 days already... -30 added to your rating, current score is: +120

@davvd @yegor256 already ask you to assign this ticket to @lautarobock, i didn't work on this ticket, and also i am on away mode, you can check it from netbout, @davvd please rollback my rating, thank you

@davvd assign this to @lautarobock

@yegor256 you've fired me :D

@davvd assign someone else pls

@davvd @yegor256 already ask you to assign this ticket to @lautarobock, i didn't work on this ticket, and also i am on away mode, you can check it from netbout, @davvd please rollback my rating, thank you

@erimerturk OK, got it, will re-assign

@davvd assign someone else pls

@yegor256 right, I'll try to find someone else for this task

@davvd assign someone else pls

@yegor256 I deducted 30 points from your rating

@davvd could you rollback negative rating please, thank you

@davvd @yegor256 i lost 60 point because of this issue, why ? could you please explain it to me ? could you please fix it ?

@mstzn36 can you please help? Keep in mind this. If you have any technical questions, don't hesitate to ask right here; Budget here is 30 mins (keep this principle in mind)

@davvd PR #374  is ready for review.

@davvd PR #374  is ready for review.

@mstzn36 will take a look, thanks

@davvd I couldn't solve this issue. Please assign someone else

@davvd I couldn't solve this issue. Please assign someone else

@mstzn36 -30 points to your rating :(

@davvd I couldn't solve this issue. Please assign someone else

@mstzn36 OK, I will try to assign someone else

@bilalyasar This task is yours, please go ahead keeping in mind this. If any questions, don't hesitate to ask right here. 30 mins is the budget of the task. This is exactly how much will be paid when the problem is solved (no matter how much time you will actually spend). See this for more information

@bilalyasar the task is your hands for the last 15 days.. keep in mind that if it's not closed in the next 48 hours, it will be re-assigned to someone else, see No Obligations principle. This article should help if you're stuck; -30 added to your rating, current score is: -210

@hs3180 This task is yours, please go ahead keeping in mind this. If any questions, don't hesitate to ask right here. The budget here is 30 mins, which is exactly how much time will be paid for, when the task is completed

@yegor256 Is there any document explained the architect/mechanism about takes? or I should read the source and javadoc directly?

@hs3180 everything is in README.md or in Javadoc, there is no other source of information. Keep this in mind: http://www.yegor256.com/2014/04/13/bugs-are-welcome.html

@yegor256 I've found that HttpURLConnection reuse persistent connection transparently. I am to create an integration test by raw socket.

@yegor256
RqLive parser considers an input stream with only one end of stream symbol as a empty request.(described in #391)
it makes unit test BkBasicTest#handlesSocket failed when i let BkBasic parse input stream repeatly.
BkBasic will get endless empty requests in this unit test.

@yegor256 @dmzaytsev
There are something more talked in RFC 2616.
our server may need a functionality to close persistent connection by self.

An HTTP/1.1 server MAY assume that a HTTP/1.1 client intends to maintain a persistent connection unless a Connection header including the connection-token "close" was sent in the request. If the server chooses to close the connection immediately after sending the response, it SHOULD send a Connection header including the connection-token close.

RFC2616 metioned (Compatibility with HTTP/1.0 Persistent Connections)[http://tools.ietf.org/html/rfc2616#section-19.6.2], I think we could leave it away at this time.

@yegor256
unit test BkTimeableTest creates true temporary folder, true threads and true sockets.
Is it designed to be like this? Or it is actually a intergration test.

@hs3180 don't ask questions inside tickets, instead create new tickets if something is not clear or is buggy, see http://www.yegor256.com/2015/02/16/it-is-not-a-school.html

@yegor256 I'm sorry for that. I will create a new ticket for this question.

@yegor256
JdkRequest in jcabi-http send me such request:
GET /path/c HTTP/1.1
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.7.0_79
Host: localhost:52175
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

with no request body. But I can't determine its length according to following rules.
in RFC2616 section 8.1.2,

In order to remain persistent, all messages on the connection MUST have a self-defined message length (i.e., one not defined by closure of the connection), as described in section 4.4.

and In section 4.4

The transfer-length of a message is the length of the message-body as it appears in the message; that is, after any transfer-codings have been applied. When a message-body is included with a message, the transfer-length of that body is determined by one of the following (in order of precedence):

1.Any response message which "MUST NOT" include a message-body (such as the 1xx, 204, and 304 responses and any response to a HEAD request) is always terminated by the first empty line after the header fields, regardless of the entity-header fields present in the message.

2.If a Transfer-Encoding header field (section 14.41) is present and has any value other than "identity", then the transfer-length is defined by use of the "chunked" transfer-coding (section 3.6), unless the message is terminated by closing the connection.

3.If a Content-Length header field (section 14.13) is present, its decimal value in OCTETs represents both the entity-length and the transfer-length. The Content-Length header field MUST NOT be sent if these two lengths are different (i.e., if a Transfer-Encoding header field is present). If a message is received with both a Transfer-Encoding header field and a Content-Length header field, the latter MUST be ignored.

4.If the message uses the media type "multipart/byteranges", and the transfer-length is not otherwise specified, then this self- delimiting media type defines the transfer-length. This media type MUST NOT be used unless the sender knows that the recipient can parse it; the presence in a request of a Range header with multiple byte- range specifiers from a 1.1 client implies that the client can parse multipart/byteranges responses. A range header might be forwarded by a 1.0 proxy that does not understand multipart/byteranges; in this case the server MUST delimit the message using methods defined in items 1,3 or 5 of this section.

5.By the server closing the connection. (Closing the connection cannot be used to indicate the end of a request body, since that would leave no possibility for the server to send back a response.)

@yegor256
In practical applications, GET is considered as a request without body in regular.
there is a discussion about this(http://stackoverflow.com/questions/978061/http-get-with-request-body).
And I've tested it on google
$ netcat www.google.com 80
GET / HTTP/1.1
Host: www.google.com
Connection: keep-alive

HTTP/1.1 200 OK
...

it is ok for a GET request with no content-length on persistent connection.

@hs3180 I don't understand... if you think that the project has bugs, please report them as new tickets. Otherwise, keep in mind that we discourage abstract discussions in tickets.

@yegor256
To make a long story short, my patch considers that GET request with no Content-Length field doesn't have a body. This behavior doesn't define clearly in specs.
The reason why I chose to do this is listed above.

@hs3180 which "patch" are you talking about?

@hs3180 you're working with this issue for 15 days already
-30 added to your rating, at the moment it is: +68

@hs3180 the task is overdue, and I have to re-assign it to someone else. Please, stop working with it immediately. In general, we're against overdue tasks, check this page. added -60 to your rating, now it is equal to -52

@davvd
I'm sorry.
There are some useful review from @dmzaytsev in #393 .
@dmzaytsev suggests creating unit tests for this feature and open a new issue about implementation.

@davvd
I'm sorry.
There are some useful review from @dmzaytsev in #393 .
@dmzaytsev suggests creating unit tests for this feature and open a new issue about implementation.
These reviews may help next person working with this issue.

@hs3180 don't be sorry, it's OK, check this article: http://www.yegor256.com/2014/04/13/no-obligations-principle.html

@prondzyn this task is yours, please help (see our key principles of work). If you have any technical questions, don't hesitate to ask right here. The cost of this task is 30 mins (this is exactly how much will be paid, not less not more), when the task is done

@davvd I prepared PR #411

@davvd I prepared PR #411

@prondzyn thanks

@davvd PR merged

@prondzyn you should ask me to close the ticket, since I'm the author, see http://www.yegor256.com/2014/11/24/principles-of-bug-tracking.html

@prondzyn thanks!

@davvd PR merged

@prondzyn thanks

@yegor256 these 2 puzzles were created in this ticket: 306-0f8af5fd, 306-07904f4e/#417

@elenavolokhova please, review this issue for QA compliance, as per par.24

@davvd Quality is good here.

@davvd Quality is good here.

@elenavolokhova thanks, got it, great to see high-quality tickets here

@prondzyn added 10 mins to @elenavolokhova, for QA review, payment code is 68507740; 30 mins added to your account (payment number AP-8F175246VL759703G), many thanks for your contribution! 351 hours and 4 mins spent here.; +30 added to your rating, at the moment it is: +105

@yegor256 the last puzzle 519-af7d4687/#655 solved


Update PublicGroupList.vue

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Thanks for your hard work!
This PR fixes https://github.com/louislam/uptime-kuma/issues/4365.
Adjusted column values in PublicGroupList to extend status bars in small screens, origin from  #4736.
I suggested my style,
But that friend dont reply me, and I think it will lag the progress.
So I pull a new requests, hoping to be merge.
Thanks !
Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
User interface (UI)
New feature (non-breaking change which adds functionality)
Breaking change (a fix or feature that would cause existing functionality to not work as expected)
Other
This change requires a documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[x] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

But that friend dont reply me, and I think it will lag the progress

Your suggestion was made 4 days ago.
I think it is a bit unreasonable to expect this fast responses or expect a PR to be merged this quickly.
I am going to close this PR as a duplicate, because I don't see the additional value.
The comments in #4376 can be merged by maintainers into said PR, but we (the maintainers of uptime kuma) have not been able to review either PR or the comments yet.
Just that we are clear in communication:
Closing this PR does not mean that the suggestion is bad or that it won't get merged, but rather that I'd like to keep the discussion focused a bit more ^^


[ownership] Change LLChecker APIs that use an out array to return leaked blocks to caller to instead use a callback.

NFC.

@swift-ci smoke test and merge

I'll hit those comments once this lands.


Internal error: Attempted to serialize empty result.

Hi Prisma Team! My Prisma Client just crashed.
I'm not able to reproduce this error. So far I've gotten this exactly once. When I try the exact same request again the query executes as expected. I hope this helps track down an issue. Otherwise feel free to close.
This is happening every time I execute the upsert with an id in the where clause, aka, every time I update.
THANK YOU FOR AN AMAZING PROJECT!
Dave
This is the report:
Versions

Name
Version

Node
v16.13.1

OS
darwin

Prisma Client
4.14.1

Query Engine
d9a4c5988f480fa576d43970d5a23641aa77bc9c

Database
mysql

Logs
prisma:tryLoadEnv Environment variables loaded from /Users/jde/dev/github/rolldeeep/admin/.env
prisma:client checkPlatformCaching:postinstall false
prisma:client checkPlatformCaching:ciName
prisma:tryLoadEnv Environment variables loaded from /Users/jde/dev/github/rolldeeep/admin/.env
prisma:client dirname /Users/jde/dev/github/rolldeeep/admin/node_modules/.prisma/client
prisma:client relativePath ../../../prisma
prisma:client cwd /Users/jde/dev/github/rolldeeep/admin/prisma
prisma:client protocol graphql
prisma:client clientVersion 4.14.1
prisma:client clientEngineType library
prisma:client:libraryEngine internalSetup
prisma:client:libraryEngine:loader Searching for Query Engine Library in /Users/jde/dev/github/rolldeeep/admin/node_modules/.prisma/client
prisma:client:libraryEngine:loader loadEngine using /Users/jde/dev/github/rolldeeep/admin/node_modules/.prisma/client/libquery_engine-darwin.dylib.node
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true

Client Snippet
export async function upsertVendor(data) {

  const d = {
    name: data.name,
    contact: data.contact,
    email: data.email || '',
    phone: data.phone || '',
    description: data.description || '',
    image: data.image || '',
    url: data.url || '',
    notes: data.notes || '',
  }

  const upsert = {
    where: { id: data.id || '' },
    update: d,
    create: d,
  }

  const vendor = await prisma.vendor.upsert(upsert)
  return vendor
}

Schema
model Vendor {
  id String @id @default(cuid())

  name          String  @unique
  contact       String
  email         String
  emailVerified Boolean @default(false)
  phone         String
  address       String? @db.Text
  description   String  @default("")
  image         String?
  url           String? // External url for more information about the vendor.

  notes String @default("") @db.Text // Internally facing notes

  relationshipType String @default("None") // Partner, Affiliate, Referral, None

  // Is this a vendor record for a property?
  property   Property? @relation(fields: [propertyId], references: [id], onUpdate: NoAction)
  propertyId String?   @unique

  users      VendorsOnUsers[] // Users who can manage this vendor record.
  services   Service[] // Services they provide.
  properties VendorsOnProperties[] // Properties they service.
  tripLogs   TripLog[] // Logs left involving them.
  categories Category[]

  createdAt DateTime  @default(now())
  updatedAt DateTime? @updatedAt
  deletedAt DateTime?

  @@index([id])
  @@index([email])
  @@map("rd_vendor")
}

Prisma Engine Query
{
  where: { id: 'cljn25lsi0000lx4mhxnljhsr' },
  update: {
    name: 'abcabc',
    contact: 'xyzxyz',
    email<EMAIL_ADDRESS>    phone: '1231231234',
    description: '',
    image: '',
    url: '',
    notes: ''
  },
  create: {
    name: 'abcabc',
    contact: 'xyzxyz',
    email<EMAIL_ADDRESS>    phone: '1231231234',
    description: '',
    image: '',
    url: '',
    notes: ''
  }
}

I'm now seeing this error on an ongoing basis. So far it is always when I'm updating through the upsert. I still haven't been able to find the specific sequence of events that leads to this. I'll continue to scrutinize it.
This is a blocker for my application as it breaks functionality.
The error message is:
thread 'tokio-runtime-worker' panicked at 'Internal error: Attempted to serialize empty result.', query-engine/core/src/response_ir/ir_serializer.rs:58:40
PrismaClientRustPanicError:
Invalid `prisma.vendor.upsert()` invocation:

I'm seeing in other issues that this bug seems to have been introduced somewhere after v4.5.0, and that there is currently no resolution.
https://github.com/prisma/prisma/issues?q=is%3Aissue+is%3Aopen+Attempted+to+serialize+empty+result
What is the recommended course of action? Should we pin our version at v4.5.0 until a fix is merged?

I have temporarily gotten around this by reverting to v4.5.0 and using the deprecated referentialIntegrity feature. Hoping this can be resolved in a future patch!
https://github.com/prisma/prisma/issues/17279#issuecomment-1618899569

A full, minimal reproduction of the problem in a GitHub repository would be amazing for us to simplify reproducing and understanding the problem. Can you maybe invest the time to create one?

Sorry to have let this sit for so long. I've been pulled in a number of directions. I'll see if I can recreate this in a minimal form asap.

Possibly related: #17305, #18285, #19868
I was having similar issues after upgrading from 3.15.2, my database is on Planetscale. I did two things which I think helped over come the problems.
Removed referential action onUpdate: NoAction from @relation()
I believe this was necessary due to how Prisma used to work around missing foreign key support in Planetscale, now I don't think I need it (we'll see, this is a side project)
Removed the id property in the where clause from the update payload of the upsert() action
This wasn't needed in the payload (laziness on my part) but was causing the violate the required relation error initially, I think, and the subsequently causing the record not to be found.
Hopefully this might help someone!

I had exactly the same issue.
I did not have the id used in the where in the update section of the upsert.
However, I did have some rogue, unnecessary onUpdate: NoAction not on the problem model itself, but in some deeper child relations.
Removing the unnecessary onUpdate: NoAction fixed it for me.

@jde @chadedrupt @homerjam @jde Are you all using relationMode=prisma?

This issue was fixed in Prisma 5.13.0.


Raycast physics became slow

At some point the sword raycast physics computation became very slow, to the point that using the sword causes lag. I don't know which WASM build/which addition caused this.

This could just be too many raycasts/raycast calls. I believe the entire sword processing could be replaced with a physx sweep, which would be fast and a single call.

Will probably need a combination of both fixes to get good raycasts from weapons.

Indeed, rewriting the raycast to run on the scene improves performance quite a bit.


Implement CEL to SQL interpreter to enhance searches

Changes

Resolves https://github.com/tektoncd/results/issues/379 and https://github.com/tektoncd/results/issues/259.
This pull request redesigns list operations by providing an engine to convert CEL expressions to SQL equivalent filters as well as fixing and enhancing the pagination support.

/kind feature
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:

[ ] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Tested your changes locally (if this is a code change)
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user-facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[] Release notes contain the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Enhance search capabilities by implementing an engine to convert CEL expressions to SQL equivalent filters.

This feature makes list operations more powerful and effective, mostly in larger platforms with millions of Results and Records stored in the API server. Now, list operations leverage the database capabilities for querying Results and Records by translating CEL filters to thee Postgres SQL dialect.

This pull request proposes many changes that affect directly list operations. Previously, CEL expressions were evaluated in memory requiring that Results and Records were read in batches until they matched thee number of occurrences requested by the provided page size. Therefore, the pagination was totally dependent upon this "in-memory" search mechanism. Once the CEL to SQL engine was introduced, queries were totally delegated to the database and the pagination support needed to be redesigned accordingly.
I'd like to write a comprehensive documentation on the new search capabilities in a separate pull request once project members review this pr and agree with the proposed changes.
Those features are deployed to our production platform and have been working so far - our database contains millions of entries.

/kind feature

/test-all

/test all

/test all

/test all

cc @RafaeLeal

/assign @dibyom
/assign @adambkaplan

cc @tektoncd/results-maintainers

I tested this PR, it works for our requirements. Paging works, and also filtering with CEL works for us. Thank you very much for the fix @alan-ghelardi !!

/retest required

/retest-required

@adambkaplan  I believe that I managed to address all of your requesstss.
@dibyom I'd love to see your feedback as well to move forward with this featture.

/retest

Awesome work @alan-ghelardi 🎆

@alan-ghelardi I did not get a chance to go in depth with everything in this PR but from going though the cel2sql package and at a high level through the rest of the changes, this looks great! Really nice work (and the PR is very readable for the size as well!)
Given that there are no major API changes, I +1 for merging this!
/approve

/lgtm
:tada: :tada: :tada:

Well, looks like that the GH action job is blocking the merge. I saw that there's an ongoing attempt to fix the issue at https://github.com/tektoncd/results/pull/492. Any suggestion for getting around this? Maybe we could delete the Actions file in this branch while the issue isn't fixed?

@khrm  and @enarha I think that you all were on that ☝

It's not clear to me if the CodeQL is actually required/blocking, it's not marked as such, but maybe I'm missing something. I thought the check was also disabled which moved the task of fixing it lower in my TODO list, but I'll be back on that today.

/retest

I've rebased onto main and deleted the GitHub Action workflow temporarily to avoid blocking the merge for now. We can restore it once https://github.com/tektoncd/results/pull/492 is done. Wdyt?  A new lgtm will be required here. cc @adambkaplan .

IMO that should be fine.

/lgtm


Improve filtering by using per event bitmasks

Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

Related issues
Continuation of #636

Ready for another review
Flake8 failing is intentional btw

There are some new events missing the filter:
on_interaction_create
on_guild_scheduled_event_create
on_guild_scheduled_event_delete
on_guild_scheduled_event_update
on_guild_scheduled_event_user_add
on_guild_scheduled_event_user_remove


0.4.2

ok so apparently fixing the conflicts closed the original PR wtf Github you boob

Will be merging tomorrow if no more activities found


Documentation: why the direction of '<' in inheritance?

I'm new to svg.js, and I do appreciate good documentation. Is there a reason why the '<' in class inheritance seems to point towards the subclass, not the superclass. This feels wrong for me, and I'd like to hear which convention this is based on.

Javascript inheritance stack: SVG.G < SVG.Container < SVG.Parent

I bet there are many schools on this. I looked at SO 247519 and would generally feel like the one writing "B having more stuff in it then A", i.e. that the arrow should point to the superclass.
Furthermore, also UML seems to have the arrowheads pointing towards the common superclass.
I understand that these conventions, and terms themselves are bizarre. "subclass" has "more stuff" than superclass, but its name really implies otherwise. Oh, well...
If it's just by chance, currently, I would suggest turning the arrows around. Thanks.

Thanks for your suggestion.
You are more than welcome to update the docs and create a pull request :)


AttributeError: module 'torchvision.models.detection._utils' has no attribute 'smooth_l1_loss'

Hi, I have a problem to run this code. When I run "train_large_scale.py", it occurs that:
AttributeError: module 'torchvision.models.detection._utils' has no attribute 'smooth_l1_loss'
It seems that torchvision has a problem.
My environment is:  Linux
torch 1.4.0
torchvision 0.5.0
In addition, could you please tell us the requirements and the package versions of this repository? Thanks a lot!

My Version
torch                     1.7.1
torchvision               0.8.2

Thanks for reply, I will reinstall the new environment and try to run the code!

I have updated the code in master branch. Please make sure you run the latest version.


The file 09-transform-canvas.tex is empty

At https://github.com/PacktPublishing/LaTeX-graphics-with-TikZ/blob/main/11-transforming-coordinates/09-transform-canvas.tex

Thanks, I added the missing code. Btw. on https://tikz.org/examples/chapter-11 it was available.


Shift to repair barriers?

Should we use shifting as the mechanic to repair barriers instead of breaking a sign?

yess :) is it possible to use a placeholder for your ingame points?

Currently no. What is listed under the placeholders wiki page is all there is

This would be a great feature you could maybe play a title that indicates that you are repairing the barrier

yes I would prefer shift

I think it should be the way it is so that players that don't have a shift function can still repair barriers.

I think it should be the way it is so that players that don't have a shift function can still repair barriers.

I disagree almost all platforms have the function to shift plus the plugin doesn't recognise the button being pressed it will just look for players crouching in a radius and all platforms have the ability to crouch


change empty table warning

if the table is narrow this message is confusing.  it's supposed to say "no data available in table" but "no" is truncated.
change it to just "empty table"

:+1:


Text label color cannot be customized

Only one text color can be set
app:textColorStatus=""
Can you add properties like these
app:textColorLabels=""
app:textColorLabelsCurrent=""
app:textColorLabelsIncomplete=""

Thanks! Will be included in next release

hey @params-ing , any update on this? also, great library!

hey @params-ing , any update on this? also, great library!


Add missing RBAC resources to dev manifest

This is pretty non-controversial - I'm going to merge while Mariano's out and we'll talk through the backlog of PRs when he's back. 🚢


Prompt Templating

So this is kind of a pretty basic inquiry. I was wondering if the model inputs(for instruction following models) shouldn't be wrapped around the template that it was trained on, say for example, the Alpaca prompt template. And without this wouldn't the model evaluation kind of be in error?
Please do let me know how to wrap the model inputs around a custom template that the model actually expects.

This is supported in the Big-Refactor batch, coming to main soon!

Can you show me an example of doing this, please. Maybe wrapping around the alpaca template?

@lintangsutawika is currently putting together a demo of how this works! Should be out by the end of the week.

@lintangsutawika Can you add an example of this to the docs?

The original request of this issue was a bit different. Essentially it was if it's possible to wrap a prompt with another template like the Alpaca template.
But to show how templating works, (and the general overview of how the configs in lm-eval work), yes, just need to upload it. Will make a PR for that.


#299 - Improvements to PackagesCount

Closes #299
Improvements to PackagesCount:

stop scanning the file if attribute has been found
better exception when attribute is missing
negative tests for cases when attribute is not found

Job gh:artipie/rpm-adapter#313 is not assigned, can't get performer


UI: Timepicker

Summary
Native Timepicker component with latest UX
Covered basic validations for required, min and max
ADO Story or GitHub Issue Link
https://dev.azure.com/Kyndryl/Shidoka - Bridge Design System/_workitems/edit/1244470
##UX
https://www.figma.com/file/6AovH7Iay9Y7BkpoL5975s/Component-Library-for-Dev?node-id=480%3A38371&mode=dev
Checklist

[x] Used Conventional Commit messages as outlined in the contributing guide.

[x] Noted breaking changes (if any).

[x] Documented/updated all props, events, slots, parts, etc with JSDoc.

[x] Ran the analyze command to update Storybook docs.

[x] Added/updated Stories with controls to cover all variants.
[x] Added/updated a basic unit test, at least, for each component.
[x] Added/updated the Figma link for the Story's Design tab.
[x] Added any new component exports to the src/index.ts file

Looks pretty good aside from missing min/max validation.

added basic validation for min and max

:tada: This PR is included in version 1.0.0-beta.49 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[🐛 Bug]: Fix configuration wizard workflow when using pnpm

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

WebdriverIO Version
latest
Node.js Version
latest
Mode
WDIO Testrunner
Which capabilities are you using?
n/a

What happened?
When calling pnpm create wdio an error is thrown.
What is your expected behavior?
The workflow should work as smooth as with npm and yarn.
How to reproduce the bug.
n/a
Relevant log output
pnpm create wdio@latest .
.../../../.pnpm-store/v3/tmp/dlx-14824   |  +50 +++++
.../../../.pnpm-store/v3/tmp/dlx-14824   | Progress: resolved 50, reused 48, downloaded 2, added 50, done

                      **** WDIO LOGO REMVOED *****

                           Webdriver.IO
              Next-gen browser and mobile automation
                    test framework for Node.js

Installing @wdio/cli to initialize project...

⚠  Ups, something went wrong: Error calling: npm install --save-dev --loglevel error @wdio/cli@latest!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Is there an existing issue for this?

[X] I have searched the existing issues

Windows machine, nvm, and corepack enable via pnpm:
C:\Users\Joaquín>npm version
{
  npm: '9.5.1',
  node: '18.16.0',
  acorn: '8.8.2',
  ada: '1.0.4',
  ares: '1.19.0',
  brotli: '1.0.9',
  cldr: '42.0',
  icu: '72.1',
  llhttp: '6.0.10',
  modules: '108',
  napi: '8',
  nghttp2: '1.52.0',
  nghttp3: '0.7.0',
  ngtcp2: '0.8.1',
  openssl: '3.0.8+quic',
  simdutf: '3.2.2',
  tz: '2022g',
  undici: '5.21.0',
  unicode: '15.0',
  uv: '1.44.2',
  uvwasi: '0.0.15',
  v8: '<IP_ADDRESS>-node.26',
  zlib: '1.2.13'
}

C:\Users\Joaquín>pnpm --version
8.9.0


MEASX: POC

@billettc could you please update this ticket with brief notes of your progress? Thank you


added a provision to run a flask app

@lioramilbaum as asked in issue #9

@lioramilbaum  fixed and ready to be pulled

@Omeramsc Before you Re-request a review, please squash your commits into one


Updates to use newly updated theme

This attempts to update the portal to use version 2021.12.7 of the Sphinx Pythia Theme.  I believe this addresses some of the issues noted in previous discussions.   Please take a look and tell me what you think!

@dcamron @clyne @jukent:  I'm sorry I violated our policy of starting all PRs in draft mode, but this PR is now ready to review.

Most notable changes are the unified navbar along the top and the new navigation menu in the footer.  Also note the GitHub and Twitter icons at the top-right of the page.

NOTE: I don't want to merge this PR until https://github.com/ProjectPythia/pythia-foundations#196 is finalized and ready to merge.

@clyne:  Yes.  I think we all need to discuss what the top navbar and the bottom menu need to contain for each site.  At the moment, I think everything there is just a placeholder until I get feedback and decisions on what they really should be.  Personally, I think we should have a common top navbar for both sites that is clear and informative.  And I think that the footer menu should have common elements for both sites and it should have unique content for each site.  Right now, consider everything a placeholder.

(When I created the PR, I thought it was closer to mergeable than I do now.  I wish I could make it a draft, now.)

FYI at 2560x1440, Firefox 95.0.2, macos 12.1, the "single-page" background colors don't extend beyond the content column,

if that was intended. Current https://projectpythia.org/ extends these fully.

@dcamron:  Hmm.  I suspect that is because of some layout changes I had to make to get features from the base themes to work in this theme.  I'll look into it and see if I can find a fix.

@dcamron:  Strangely, this appears to be coming from a base theme (PyData Sphinx Theme, I think), which is where Bootstrap is imported.  I can verify that the changes made to the new theme result in the use of Bootstrap container-xl divisions, rather than container-fluid divisions.  And container-xl has a max-width of 1400px.  So, that's the problem.
I'll see if I can fix this in the theme.

Ok.  I think the latest release of the theme fixes the high-res display issues.

@kmpaul when I try to look at the deployment preview the link is broken....Any other way to see it?

The link works for me.

Deployment Preview URL: https://61df24e328128a21c335d99a--projectpythia-org.netlify.app

I think this is the link:
Deployment Preview URL: https://61df24e328128a21c335d99a--projectpythia-org.netlify.app
It is a little confusing because at the bottom of the page it also says, "This branch has not been deployed."

@kmpaul when I try to look at the deployment preview the link is broken....Any other way to see it?

@clyne I think this is the link:
Deployment Preview URL: https://61df24e328128a21c335d99a--projectpythia-org.netlify.app
It is a little confusing because at the bottom of the page it also says, "This branch has not been deployed."

@clyne:  Also, if you are getting a "Safety Warning" when you click on the link, that is just because of the way netlify works.  I've received that before, and it's just an artifact of using a special service to deploy the website.

@clyne: Also, if you are getting a "Safety Warning" when you click on the link, that is just because of the way netlify works. I've received that before, and it's just an artifact of using a special service to deploy the website.
You can safely say "ignore" when you get the Safety Warning and see the site preview.

Seems to work now. No telling what I was doing wrong. Probably operator error. Thanks for the help.


Fix failing integration tests

Summary
Some tests were run using 1 public and 1 private provider in qiskit-ibmq-provider. Replicating that behavior here using QISKIT_IBM_INSTANCE_PRIVATE env variable, instead of running tests against all 6 or 7 providers attached to the test account, which was causing integration tests forever to complete and timeout eventually after 6 hours (https://github.com/Qiskit/qiskit-ibm-provider/actions/runs/2106829307).
Details and comments
I have added QISKIT_IBM_INSTANCE_PRIVATE env variable for both staging and production environments.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 32.998%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
1804

Relevant Lines:
5467

💛  - Coveralls


support (nested) interpolation of env vars

Added support for env var configuration in #288; this PR will interpolate them. Very helpful for managing environments without having to re-specify the airflow configuration. Any env var references will be expanded in airflow env vars references, airflow.cfg, and also the defaults.
For example, setting env vars:
# convoluted but you get the idea
DB=postgresql
DB_URL=${DB}://mydb:5432
AIRFLOW__CORE__SQL_ALCHEMY_CONN=$DB_URL

then:
import airflow
airflow.conf.get(‘core’, ‘sql_alchemy_conn’)
# prints postgresql://mydb:5432

Nice, first time I encounter os.path.expandvars, very useful!


Turn Dart 2 mode by default.

As part of this pull request we should also change dev/bots/test.dart to run the two sets of tests taht is flip the dart1 mode to run the tests with --no-preview-dart-2. Something like this
 const Map<String, ShardRunner> _kShards = const <String, ShardRunner>{
   'docs': _generateDocs,
   'analyze': _analyzeRepo,
-  'tests': _runTests,
+  'tests': _runTestsDart1,
+  'tests_dart2': _runTestsDart2,
   'coverage': _runCoverage,
 };

+Future<Null> _runTestsDart1() async {
+  if (Platform.isWindows) {
+    // AppVeyor platform is overloaded, won't be able to handle additional
+    // load of dart1 testing.
+    return;
+  }
+  _runTests(options: <String>['--no-preview-dart-2']);
+}
+
+Future<Null> _runTestsDart2() async {
+  _runTests(options: <String>['--preview-dart-2']);
+}

I think we need to shard it, e.g. like we do now with test and test2.
Also notice that flutter_tools tests would just use Dart 2.

@a-siva sorry I misunderstood what you were saying. I will apply the patch.

@a-siva, we should flip the default for flutter analyze as well, to keep this all consistent.

That will have to wait until pub run can handle preview-dart-2

Why? I mean the default to flutter analyzer --preview-dart-2

Please file bugs for the known performance regressions and mark them milestone 3. Thanks.


Fantastic project!

Thanks for sharing this project.
Maybe I be so free to ask why it wasn't written in Typescript?

Thanks!
It wasn't written in Typescript because I prefer writing in JS. TS definitions can always be added, which someone started. But for myself, I just prefer JS, I get enough compiling from my day job.

I started rewriting the library in typescript.

I'm learning Typescript as I go, and I'm still trying to figure out the best practices for TS, but I have a rough draft of the rewrite in the branch: https://github.com/brendan-duncan/wgsl_reflect/tree/ts
I use a lot of different languages daily, and to me, TS feels very rough. I wish it had the nullability features of Swift or Dart. Oh well, at least it's more structured than JS, though I really enjoy the pure dynamic nature of JS.

Which nullability feature do you need? Does it help if you enable strict mode in tsconfig.json?

Strict mode would be good, I haven't played much with the tsconfig settings yet. Unfortunately I don't have any time at the moment to get back to this project, family health issues has been consuming all of my time. If you see something that can be improved, please feel free.


Get-PnPGroupPermissions returns names of permissions in the OS' language

Reporting an Issue or Missing Feature
Issue
Expected behavior
Names of the permissions returned would be in English, or the cmdlet would provide a way to specify locale.
Actual behavior
Permission names are returned in the OS' language. We need to be able to export the current config of a tenant and re-import it onto another tenant. The fact that the names are extracted in, e.g., German, prevents us from re-importing them on another tenant. See issue opened by @andikrueger https://github.com/microsoft/Microsoft365DSC/issues/2036
Steps to reproduce behavior
Run Get-PnPGroupPermissions on a German OS
What is the version of the Cmdlet module you are running?
1.11.0
Which operating system/environment are you running PnP PowerShell on?

[ *] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

hi @NikCharlebois , this is not possible due to the nature of the API AFAIK. We also cannot make it available as a parameter because we dont consume it anywhere in our code as well.
I would suggest that maybe you can try changing the culture using Set-Culture and then restarting the PowerShell and then executing the cmdlet.


Filtered out 'base' from database backend choices error message.

LGTM given pkgutil.iter_modules always return alphanumerically sorted results.

Looks like a correct assumption: https://hg.python.org/cpython/file/0d0989359bbb/Lib/pkgutil.py#l230


Add Einführung in Python book

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
A 460-page Script in German language which is a very nice introduction for Python
Why is this valuable (or not)?
Martin Schimmels write a very readable script to learn python which is newbie friendly.
He updates his Script frequently.
How do we know it's really free?
Creative Commons licence BY-NC-SA
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Nice addition!