Support extra filtering query

I think it's easier to explain what I mean by example.
We are trying to store graphite data in clickhouse, but because if clickhouse's nature we need to construct our queries in something like that:
SELECT Path, Value, Time from graphite where Path IN ('path1', 'path2', 'path3')

Those 'path1', 'path2' stored in clickhouse in another table.
What we do now:
select groupUniqArray(Path) from graphite_tree where Path like 'path%'
and then use the results in an 'IN' clause.
With current grafana clickhouse plugin I was unable to find a way to get data and then reuse it in another query.

Hi @Civil
Try to use template variables - http://docs.grafana.org/reference/templating/#adding-a-variable
Using that you will be able to cache those values in variable, for example $path and then build query:
SELECT Path, Value, Time from graphite where Path IN $path
Also you can find examples of using template variables here - https://grafana.com/dashboards/2515

Ok, thanks. That should work ok as a workaround, but it'll be really nice to have something like that on a graph-level, otherwise I'll end up having a template variable per graph :)

Hmm, every graph can consist of multiple queries and all of them can be displayed as line or couple of lines. If we add additional query - interface became huge.
And even if we do, what is the difference between additional query and query:
SELECT Path, Value, Time from graphite where Path IN (select uniqExact(Path) from graphite_tree where Path like 'path%')
The performance must be the same or even better for latter option.

At this moment where Path IN ( select ... ) causes a full table scan always. If you specify arbitrary list of paths, query will use indexes.
As an example:
:) Select distinct Path from graphite_tree WHERE Path like 'carbon.agents.clickhouse-00%.tcp.metricsReceived'

SELECT DISTINCT Path
FROM graphite_tree
WHERE Path LIKE 'carbon.agents.clickhouse-00%.tcp.metricsReceived'

┌─Path────────────────────────────────────────────────────────────────┐
│ carbon.agents.clickhouse-001.tcp.metricsReceived │
│ carbon.agents.clickhouse-002.tcp.metricsReceived │
└─────────────────────────────────────────────────────────────────────┘

2 rows in set. Elapsed: 0.053 sec. Processed 893.25 thousand rows, 95.52 MB (16.92 million rows/s., 1.81 GB/s.)

:) SELECT count() FROM graphite WHERE Path IN ('carbon.agents.clickhouse-001.tcp.metricsReceived', 'carbon.agents.clickhouse-002.tcp.metricsReceived')

SELECT count()
FROM graphite
WHERE Path IN ('carbon.agents.clickhouse-001.tcp.metricsReceived', 'carbon.agents.clickhouse-002.tcp.metricsReceived')

┌─count()─┐
│    6287 │
└─────────┘

1 rows in set. Elapsed: 0.107 sec. Processed 2.28 million rows, 212.38 MB (21.30 million rows/s., 1.99 GB/s.)

:) SELECT count() FROM graphite WHERE Path IN ( Select distinct Path from graphite_tree WHERE Path like 'carbon.agents.clickhouse-00%.tcp.metricsReceived' )

SELECT count()
FROM graphite
WHERE Path IN
(
    SELECT DISTINCT Path
    FROM graphite_tree
    WHERE Path LIKE 'carbon.agents.clickhouse-00%.tcp.metricsReceived'
)

Ok.
Query was cancelled.

0 rows in set. Elapsed: 23.471 sec. Processed 4.10 billion rows, 608.36 GB (174.59 million rows/s., 25.92 GB/s.)

I see now. Seems like an old CH problem which is promised for being fixed for a year already :-)
Adding an additional query field which must be executed before the main query/queries looks very tricky. Especially when this additionally query used only for one purpose - to avoid old bug in CH.
However I don't see clear solution right now. This issue will be open for other users in case of new ideas

That's no a bug, it's by design :)

I thought it's all about this issue - https://github.com/yandex/ClickHouse/issues/687


feat(tradeshield): add tradeshield commands

Description

What has Changed?

add spot order create order CLI
add perpetual open limit/market order CLI
add perpetual close order CLI
add new test coverage
market orders are executed directly
added new CLI for cancel single order for both spot and perpetual

Test Results
Create spot order
$ elysd tx tradeshield create-spot-order limitbuy 1000000ibc/2180E84E20F5679FCC760D8C165B60F42065DEF7F46A72B447CFF1B7DC6C0A65 ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4 0.5 --from=validator --fees 1000000uelys --gas=auto --gas-adjustment 1.6 -y

Query spot order
$ elysd q tradeshield list-pending-spot-order
pagination:
  next_key: null
  total: "0"
pending_spot_order:
- date: null
  order_amount:
    amount: "1000000"
    denom: ibc/2180E84E20F5679FCC760D8C165B60F42065DEF7F46A72B447CFF1B7DC6C0A65
  order_id: "1"
  order_price:
    base_denom: ibc/2180E84E20F5679FCC760D8C165B60F42065DEF7F46A72B447CFF1B7DC6C0A65
    quote_denom: ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4
    rate: "0.500000000000000000"
  order_target_denom: ""
  order_type: LIMITBUY
  owner_address: elys1g3qnq7apxv964cqj0hza0pnwsw3q920lcc5lyg
  status: PENDING

Create perpetual open order
$ elysd tx tradeshield create-perpetual-open-order limitopen long 10 2 ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4 1000000ibc/2180E84E20F5679FCC760D8C165B60F42065DEF7F46A72B447CFF1B7DC6C0A65 0.5 --from=validator -y

Query perpetual order
$ elysd q tradeshield list-pending-perpetual-order
Error: rpc error: code = Unknown desc = rpc error: code = Internal desc = rpc error: code = NotFound desc = pool not found: unknown request

Error due to a regression with the accounted pool module hooks that does not create the perpetual pool anymore, issue addressed in a separate PR.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Deployment Notes
Are there any specific considerations to take into account when deploying these changes? This may include new dependencies, scripts that need to be executed, or any aspects that can only be evaluated in a deployed environment.
Screenshots and Videos
Please provide any relevant before and after screenshots by uploading them here. Additionally, demo videos can be highly beneficial in demonstrating the process.

Create perpetual order

ay@Amits-MacBook-Pro code % elysd tx tradeshield create-perpetual-open-order limitopen long 10 2 ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4 1000000ibc/2180E84E20F5679FCC760D8C165B60F42065DEF7F46A72B447CFF1B7DC6C0A65 0.5 --from=validator --gas=400000 -y

-Query result
ay@Amits-MacBook-Pro code % elysd q tradeshield list-pending-perpetual-order
pagination:
  next_key: null
  total: "0"
pending_perpetual_order:
- borrow_interest_rate: "0.000000000000000000"
  funding_rate: "0.000000000000000000"
  liquidation_price: "4.426370488615094064"
  perpetual_order:
    collateral:
      amount: "1000000"
      denom: ibc/2180E84E20F5679FCC760D8C165B60F42065DEF7F46A72B447CFF1B7DC6C0A65
    leverage: "10.000000000000000000"
    order_id: "1"
    owner_address: elys1g3qnq7apxv964cqj0hza0pnwsw3q920lcc5lyg
    perpetual_order_type: LIMITOPEN
    poolId: "2"
    position: LONG
    position_id: "0"
    status: PENDING
    stop_loss_price: "0.000000000000000000"
    take_profit_price: "10000000000000000000000000000000000000000.000000000000000000"
    trading_asset: ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4
    trigger_price:
      rate: "0.500000000000000000"
      trading_asset_denom: ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4
  position_size:
    amount: "2134932"
    denom: ibc/E2D2F6ADCC68AA3384B2F5DFACCA437923D137C14E86FB8A10207CF3BED0C8D4

Fixed the issue

Tested cancel order too
ay@Amits-MacBook-Pro code % elysd tx tradeshield cancel-perpetual-order 1 --from=validator --gas=400000 -y
code: 0
codespace: ""
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: '[]'
timestamp: ""
tx: null
txhash: 139A42587FE39CCC0C2BEC29F473B0C80C645DE06CD24915E086A5E4CA92CB31
ay@Amits-MacBook-Pro code % elysd q tradeshield list-pending-perpetual-order
pagination:
  next_key: null
  total: "0"
pending_perpetual_order: []


List sites/applications "linked" to itsyou.online

I've been signing in at http://dev.whmcs.greenitglobe.com:7180/whmcs with Itsyou.online
I'd like to see that listed somewhere at Itsyou.online and in a later stage also see which information I've been sharing with that whmcs site

This is where the authorization tab is for.

https://github.com/gig-projects/org_development/issues/189


Update Latex user guide

Description:
Update all training materials with new figures and text so users have accurate support materials
LaTex Help
User guide imagers
Tasks:

[x] Be sure to include inline and block features
[ ] Polish text and make sure it is user friendly (Camille)
[x] Update all figures
[ ] Update figure images on Github

Acceptance Criteria:

[ ] Updated latex user guide completed and available on the APT

@deborahUAH FYI in case you want to review this. Camille is working on reviewing/editing now. This guide was ~2 years out-of-date, so all of the figures are new.

@wrynearson The latex user guide is ready for production. Let me know if you need me to update the markdown file.
Figure images
Latex user guide

@bwbaker1 yes, if you would have time to update the markdown file, that would be fantastic.
The file is here. Feel free to send or post the updated Markdown file here and I can add it to staging.

@wrynearson This file is updated and ready for staging.

Sorry @bwbaker1, I'm not able to see your updates to the file. Could you create a new branch, commit the changes (if you edited the file directly in the github.dev codespace), and open a PR?
If not, no problem – feel free to email me the .md file and I can get it on staging 😄


adding couple of pages to service worker and not all of them

I learned how sw-precache works and also I found with-sw-precache  example by @chrisdwheatley which adds almost anything to service worker.
like this:
webpack: (config) => {
    config.plugins.push(
      new SWPrecacheWebpackPlugin({
        verbose: true,
        staticFileGlobsIgnorePatterns: [/\.next\//],
        runtimeCaching: [
          {
            handler: 'networkFirst',
            urlPattern: /^https?.*/
          }
        ]
      })
    )

but I need to be able to have control over service worker to add some of js files and not all of them which currently I don't know how.
I will be grateful If someone tells me how's that possible.

take a look at what I think might work:
    config.plugins.push(
      new SWPrecacheWebpackPlugin(
        {
          minify: true,
          navigateFallback: '/',
          staticFileGlobs: [
            ".next/bundles/pages/page1.js",
            ".next/bundles/pages/page2.js",
            ".next/app.js",
          ],
        }
      )
    )

I'm going to close this issue as it's over 6 months old. Feel free to post it on https://spectrum.chat/next-js if you still have this question.


After reviewing our team allocation and management, our team has decided to take up the responsibility of our assigned features.

I will be taking up the responsibility of creating the performance evaluation feature

Ownership for D1:
Areas of Improvement:

There was no clear and concise ownership of classes/features thus everyone was involved in everything and some details like the classes in the class diagram were not checked thoroughly.

As a result I will be taking ownership of the Quarterly Report feature and all it's related classes and diagrams.

Ownership for D1:
After the D1 consultation, i will be focusing more on the project board to update my own features, as well as taking the responsibility of View Resource and View Form feature.


[AutoPR hdinsight/resource-manager] [HDInsight] Add ListBillingSpecs API to HDInsight's  stable and preview version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6360

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/3285


Chart download

Download charts in either PNG or SVG format.

Looks good. Please move the button to the top right of the charts, to match others.

closes #609


expose docker container port

The port of the Pumpkin server needs to be exposed to be accessable from the docker container

So the only Problem im seeing here is what when we change the actually port? (which is possible in the config). This is usually done when wanting to have Proxy support

Thats no problem at all because the "expose" in the dockerfile is just a guideline and not actually exposing any ports so others know that this port is usually used. The actual port is set with the docker run "-p" flag so if someone would like to use another port they just have to change the 25565:25565 mapping to the specified port in the config

Ah okay, I just looked up the docs. Okay seems fine then. Thanks for the PR


Entities for E2E and a different data format

Proposed changes:

...

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

@Ghostvv Could you have a look at this? Generally, not much has changed, my main concern is about the saving/loading if DIET is the last element of the pipeline -- not sure if there is a better way of doing it.
I'd be super grateful if you could have a look at core/featurizers 🙏


Rules on parent class are not being applied.

I created a playground to reproduce the issue here.
Constraints:
@prefix : <http://example.org/ontology#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

:hasName a owl:DatatypeProperty ;
    rdfs:domain :Animal ;
    rdfs:range xsd:string ;
    rdfs:label "has name" ;
    rdfs:comment "Specifies the name of an animal.";
.

:Animal a rdfs:Class, sh:NodeShape ;
    rdfs:label "Animal" ;
    rdfs:comment "A general class for all animals." ;
	sh:property [
      rdf:type sh:PropertyShape ;
      sh:path :hasName ;
      sh:minCount 1 ;
    ] ;
.

:Dog a rdfs:Class, sh:NodeShape ;
    rdfs:subClassOf :Animal ;
    rdfs:label "Dog" ;
    rdfs:comment "A class for all dogs." ;
.

Shapes:
@prefix : <http://example.org/ontology#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

:Buddy a :Dog ;
#    :hasName "Buddy" ;
    :hasVaccinationStatus true .

Based on @HolgerKnublauch 's comments here I'd expect constraint validation to fail because Buddy does not have a name which is required by the animal class. Am I missing something?

Thank you for reporting. I would have to look at the code to confirm but I think we may not currently implement sub classes.
(You did forget :Mammal rdfs:subClassOf :Animal but it does not change the outcome)

@tpluscode Nice catch! I simplified my example for the issue, but broke it in the process. I've updated the link to a fixed example.

I'll have to dig more since I'm not familiar with the code base, but it looks like getInstances calls getInstancesOf which is supposed to collect sub classes.

the triple :Dog rdfs:subClassOf :Animal . should be in the data graph. See also https://github.com/w3c/data-shapes/issues/155

@giacomociti the updated playground link simpifies to only Dog and Animal but the validation still passes 🤔

Thanks @giacomociti for pointing that out. With this change, the playground example indeed works
I suppose we should close this issue then, lest we intend to deviate from the spec

Thank you for the clarification @giacomociti! Closing.


Fix for Amazon Echo Spot 2024 not finding multiple ESP32 devices

I updated my old echo dot 2nd Gen for a brand new echo spot 2024 only to find that my multiple 4 relay box stopped working. Deleted all devices and when I tried to add again I could only find one, and operating a random relay each time. This drove me nuts, until I digg into the code, repositories, issues, etc. Finally found that reformating the uniqueid did the trick. Here is what I did on fauxmoESP.cpp:
Changed this line (inside fauxmoESP::addDevice(...)):
snprintf(device.uniqueid, 27, "%s:00:00-%02X", mac.c_str(), device_id);
Into this:
snprintf(device.uniqueid, 27, "%02X:%s:AB-%02X", device_id, mac.c_str(), device_id);
Now it works flawlessly on my echo spot. Why? I guess that the spot is using only the first N digits of the uniqueid to separate devices, hence a counter in the first digits does the job.
Hope this helps someone.
PD. All devices where detected as philips hue lights.

Create a PR. Let's incorporate it. :)

My mistake.  In order to not mess with the original file, I just made a copy maintaining the same extension, so arduino IDE tried to compile both files.....
Now it is working.  Thanks very much for the solution. I am really glad with this library.

you're my hero bro!!

Thank you to PakoCosmos!!!
The ESPalexa Library driven solutions have the same issue.
https://github.com/Aircoookie/Espalexa/issues/228
But thanks to your proposed solution I could fix it in my environment.
Many thanks!!

Mine was slightly different for some reason? but You definitely helped me once I worked it out!!
original is snprintf(device.uniqueid, FAUXMO_DEVICE_UNIQUE_ID_LENGTH, "%s:%s-%02X", mac.c_str(), "00:00", device_id);
I changed it to snprintf(device.uniqueid, FAUXMO_DEVICE_UNIQUE_ID_LENGTH, "%02X:%s:%s", device_id, mac.c_str(), "00:00");
Seems like it looks at the first couple bytes only for ID, I saw it mentioned 12 bytes somewhere I think? In any case with one device and the same mac ID it was only finding one device instead of the 3 I wanted, deleting one would make the next show up and control was random, sometimes if I turned the one device it saw the 2nd or 3rd would change state instead.. Putting the device_id in the front made all 3 devices be discovered and all 3 work prefectly.. One ESP32 for ceiling fan.  1)fan light 2)dual fans and 3)fan rotation motor..  Now I get to wire it up and pat myself on the back and thank you for finding out why it wasn't working!!!

This absolutely has to do with the UniqueID of multiple devices hosted in the same network adapter. Using the adapter's MAC address to calculate the UniqueID of the device and appending a numeric suffix at the end  leads to this: AA:BB:CC:DD:EE:FF:00:00:NN (First the MAC, then 00:00:, then the device counter). We end with a 17+8=25 bytes.
What I did, (because I was suspicious of the ID), as the devices seemed to overlap on each other was to assume that the detection algorithm of the alexas only count on the first N-digits (N<=17) of the UniqueID to distinguish between devices. So, at this point I had no other choice than break the rule of the composition of the UniqueID on the code because it would never work with multiple devices.
As I saw other libraries composing the UniqueID in different ways, I thought that I can keep a pseudo-MAC format in it but allowing the ID to be different for each device hosted. So I started ID with the device counter and then appended the MAC, resulting in forcebly different UniqueIDs but still maintaining the 25 byte format that I don't know if it is required for some hardware. Resulting in the UniqueID calculation like this: NN:AA:BB:CC:DD:EE:FF:00:00 (As you see I only move the NN to the beginning from the original code, absolutely no other change). Everything started working since then and I was happy as this kept me mad many hours. Then I posted here my fix hoping to save someone's time.
As this only affects multi-device implementation in my Echo spot (the lib was working without the fix on my old alexa 2ºGen) I would keep the library code as is, but will add a comment or a conditional #define along with a couple lines in the docs just to avoid someone going mad again like me ;-) I have no chance of testing this on older devices at this time.
Happy coding ;-)

Thanks PakoCosmos! This fixed my problem too.
I have an ESP8266 which had been working without any problems with Alexa for years, then a few days ago Alexa lost all the devices and no matter how I tried, I couldn't get Alexa to find them again. It may be co-incidence but this happened just after I added an Amazon (Alexa) smart plug.
As you say, it may only affect multiple 'devices' on the same mac address - my ESP8266 had 10 pseudo-devices.
I spent sometime looking into this until I came across your comment. I updated the library along the lines of your earlier comment and Alexa immediately found all 10 devices.
Thanks again. :-)

I've commited a change for this - after much testing I used the change by @IronDuke123:
snprintf(device.uniqueid, FAUXMO_DEVICE_UNIQUE_ID_LENGTH, "%02X:%s:%s", device_id, mac.c_str(), "00:00"); since the one suggested by @PakoCosmos didn't work on my Gen2 device.
Please test and let me know if it works (and what device you're using). I'll leave this open while we see if it works for more devices. (I've tested on Echo Dot Gen 1, Dot Gen2, and Echo Gen4)
Thanks for the help on this guys!

It's hard to say exactly which version of the Alexa Dot that I have. It is 4th of 5th.
What is for sure is that it is running "Device Software Version" :<PHONE_NUMBER>6.
I am almost sure that it's a Gen 5 device. 201-220208.
Anyway, I cloned the lastest master of this repo and updated my platformio.ini
lib_deps =
c:\src\ExternalLibraries\fauxmoESP
And I have managed to get Alexa to find all 4 devices that I had created.
So, this fix seems to work on 5th gen devices.
Thanks for this software bridge :)
PS. You may find this an interesting curiosity: https://github.com/makeratplay/AlexaVoiceControl

I think it's safe to close this now - thanks for all the help on this everyone!
For reference, fixed in 273c470


Implement Gradient Checkpointing

Add the option to checkpoint gradients

Useful links for this:
https://github.com/microsoft/DeepSpeed/issues/63
https://github.com/microsoft/DeepSpeedExamples/blob/07d1ce0d26044602a7b8bb289e590a980f14aded/Megatron-LM/mpu/random.py

Useful links for this:
https://github.com/microsoft/DeepSpeed/issues/63
https://github.com/microsoft/DeepSpeedExamples/blob/07d1ce0d26044602a7b8bb289e590a980f14aded/Megatron-LM/mpu/random.py

@StellaAthena deepspeed handles this implicitly from within the deepspeed config, doesn't need any implementation

@StellaAthena deepspeed handles this implicitly from within the deepspeed config, doesn't need any implementation


derive and encode openapi version in mimetype

Fixes #973

Interesting. I chose to use gnostic specifically because it validates the specs. If we just look for a key in yaml, it's not really a known spec version, IMO.


[Feature,flag suggest]direct unzip(unzip keep layout+keepallfiles)

reason
for example.eget keepassxreboot/keepassxc
what you will get is the 3 exe without any dll.
(keep all files,include exe. flag?)
if any users wants to follow the repo layout / likes to use windows C drive program files.
its a must.Imagine you do eget xxx/xxx --to "thesweetfolder"&eget yyy/yyy --to "thesweetfolder"
The next time you open the "thesweetfolder"
OMG,its keepassxc+eget+fzf+yyy+(manually installed obs)+(10 manually installed apps)
they probably need to pray for the dll being compatible.
(keep zip inner layout flag?)
I think most zip extraction api should have a -keep layout option built-in.

I'm not sure I understand the desired behavior. If you want to extract every file in the archive, you can use
eget --all --file '*' [repo]

here is an example(with:eget --all [repo] )
Extracted activitywatch/aw-server/pytz/zoneinfo/US/Pacific to X:\apps\Pacific
The ideal output path is at>activitywatch/aw-server/pytz/zoneinfo/US/Pacific
(keeping and creating all the folder* just as its packaged in the zip)
in this case:"activitywatch/aw-server/pytz/zoneinfo/US/" all recursive folders are gone,the server mix with other stuff.other timezone mix,app folder is gone,
some packaged* application releases are very sensitive to the layer,direct extraction into a flat *path is not the way.
Thus i propose to add a new flag

after testing,i find:eget --all --file * [repo]
worked,the quote seems to throw:target '*' not found in archive

will do pr to add example to readme.

Although --all --file * is in the examples it is not clear why one would need to specify --file * when --all is... well supposed to extract all files. From experience with projects and co-workers, people will use --all, and wonder some time later why the tool didn't do what it was supposed to do. And then they blame the tools and want to replace it with another instead of realizing an acknowledging a mistake.
I just caught this unexpected behavior now while I'm trying out this nice tool (chezmoi does something similar while being a dotfile manager) and being very careful. But not everyone is.
So please update the documentation or at leas put a comment above said example that explains better the how and why of --all --file *.


std.datetime: Remove redundant try/catch around GetTimeZoneInformation

GetTimeZoneInformation is a Windows API function, and thus will never throw a D exception. Presumably, at the time this code was written, it was not marked as nothrow. However, instead of fixing the function's signature, the code contained try/catch blocks with messages such as assert(0, "The impossible happened. GetTimeZoneInformation() threw.");
CC @jmdavis

:white_check_mark:

Auto-merge toggled on


Use latest 2.x elasticsearch version 2.4.5

also upgrades Lucene to latest 5.x release. This PR is a replacement for #1662 against latest master.

Neat.


Migrate to codemod-cli

This removes much of the custom boilerplate (test setup, bin-support) in favor of codemod-cli. 🎉
/cc @rwjblue @chriskrycho
The invocation of the CLI is now a bit different, e.g.:
Before: ember-test-helpers-codemod --type=integration tests/integration
After: ember-test-helpers-codemod integration tests/integration
I could write a little check in cli.js to also support the old --type param, to remain backwards compatible, or bump the major version (which I would have to do anyways because of dropping node 4). Leaning towards the latter...
@kellyselden updating the invocation for ember-cli-update would just be a matter of updating the "manifest" (https://github.com/ember-cli/ember-cli-update-codemods-manifest/blob/v2/manifest.json#L19-L20), right? This would automatically get pulled in, users would not have to update their ember-cli-update version, right?

This removes much of the custom boilerplate (test setup, bin-support) in favor of codemod-cli. 🎉

Awesome! How was it? Please shoot me any issues with your thoughts on what can be made better/easier...

How was it?

@rwjblue pretty straightforward actually! Mainly moving files around, fixing imports etc. Given this was an existing codemod, I just had to figure out how codemod-cli expects to have things laid out, for a new codemod I would expect this to be even easier. So nothing to complain, nice job btw! 😆
Just one thing I wondered: if it makes sense to have some test harness for testing that cli.js is working. I guess the underlying function from codemod-cli (runTransform) is probably tested, but as there is some code in cli.js itself (that users might customize, as I was thinking about) it might be useful to have this tested in the codemod itself as well? There was some bin-test.js before (in parts stolen from ember-modules-codemod iirc), that test coverage seems to be missing now...

yep just a manifest update

Ya, @simonihmig that makes total sense. We should definitely add a cli/bin script test harness.


Cannot read properties of null (reading 'command')

Steps to Reproduce:

Create a blazor hosted web assembly app.
Try to run it.

This error message pops up when you try to run the app, the browser will no longer open. I've disabled all extensions, cleared any caches from vs code, reinstalled vs code, added all extensions back. I can successfully run console apps, but i can't start and debug a blazor wasm app.
If there's a way to find the source of this message, that might help. I've looked through every single log, in order to try to provide further information.  I can launch this as a console, but I want debug support and launch as blazorwasm.
Assistance appreciated.
Version: 1.81.0
Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97
Date: 2023-08-02T12:38:28.722Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.5.0

Sure enough ... after many hours on this issue, thinking about the error message, I added  "browser": "chrome" to my launch.json and it works successfully.  I don't know if this has changed / updated, but none of my launches ever had this.
I'm going to leave this here for anyone else running into this frustrating issue.  I'd still love to know how to get better information next time to hint at the issue or where to look.

Sure enough ... after many hours on this issue, thinking about the error message, I added "browser": "chrome" to my launch.json and it works successfully. I don't know if this has changed / updated, but none of my launches ever had this.
I'm going to leave this here for anyone else running into this frustrating issue. I'd still love to know how to get better information next time to hint at the issue or where to look.

This was super annoying, I'm thankful you figured out this issue and shared with others as I wasted a weekend on this.


DRILL-7064: Leverage the summary metadata for plain COUNT aggregates.

Please see DRILL-7064 for a description of this enhancement.  Please also see the design document attached to the parent JIRA for design details.
This PR adds a logical planning rule ConvertCountToDirectScanRule and creates a DirectScan plan for plain COUNT(*) and COUNT(column) aggregates with no group-by.   It does this by reading the Summary metadata cache file and fetching the totalRowCount and totalNullCount per column.
Note to reviewer:  Please review the DRILL-7064 commit here and ignore the DRILL-7063 which is the underlying metadata changes on which this PR is based.

@vvysotskyi  could you pls review.  Thanks.

@vvysotskyi , @dvjyothsna  I have addressed your review comments.  Pls take a look.

Looks good to me.

@vvysotskyi I have addressed the missed comment.  Pls take a look.  Also, I haven't yet rebased on latest master since master already has the DRILL-7063 commit, so I will need to decouple this PR such that only  the changes for DRILL-7064 can be applied.

Rebased on master.


monit monitors the wrong port of kubelet for health checks.

monit monitors kubelet's health using port 10248.
that port only has the default health handler that always shows kubelet as healthy.
monit should use https port 10250 or port 10255
@dchen1107 @lavalamp

Port 10250 would be better than 10255, because 10255 is the read-only port which only has the default healthz handler installed. The custom healthz handler is only running on the https port (10250).

@roberthbailey we need monit to able to use the https endpoint. I couldn't find documentation yet to able to do that.  ( I looked at https://mmonit.com/monit/documentation/#HTTP)

In that case, maybe making the healthz on 10248 (which is called the HealthzPort on the command line) seems like it might make the most sense.

Will do
On Thu, Jun 18, 2015 at 8:32 AM, Robert Bailey<EMAIL_ADDRESS>wrote:

In that case, maybe making the healthz on 10248 (which is called the
HealthzPort on the command line) seems like it might make the most sense.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/10003#issuecomment-113193279
.

@roberthbailey and I discussed offline.
We will use 10255 for the health check.
Reason: health checks are very kubelet-internals-specific. It is easier to add healthchecks on 10255, which has easy access to kubelet internals.

Also, we should audit uses of 10248 and remove it if it was only used by monit (which I believe is the case).

10248 currently is only used for monit. Validation cluster doesn't validate nodes healthy anymore. It is safe to remove it now.

We settle down to use 10255 the read-only port, plan to remove 10248 port. I lower down the priority to p2.

We should use the same healthz handler for ALL the ports that we serve healthz on.


[WFLY-15549] Move WildFly Preview to native Jakarta namespace variant of the Undertow subsystem module

https://issues.redhat.com/browse/WFLY-15549

@fl4via @darranl or @bstansberry please review

Fixed @yersan , thanks for pointing that out. I oversaw that JAX-RS dependency.


Replace web-console with better_errors

:+1: We should also add binding_of_caller so we get the advanced debug features.
Note that web-console additionally adds a generic rails console that can be accessed via the browser.. I don't ever use this (prefer the terminal one), but for the sake of comparison it's not quite apples-to-apples with better_errors. I still vote we remove web-console in favor of this.


NavigationDelegate & NavigationDecision

Hey, @SinyimZhi @hlwhl @BullsEye34 @Doflatango @uppet
I try with diffferent logic for NavigationDelegate & NavigationDecision and i think i'm close to this but there's some error so i think the code is not properly managed also i'm fresher in this.
if you have some time then please review it.
Error
`(webview_cef_demo:83150): Gtk-WARNING **: 19:33:57.888: gtk_disable_setlocale() must be called before gtk_init()
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
[0909/193357.995894:WARNING:angle_platform_impl.cc(48)] vk_utils.cpp:358 (GetAvailableValidationLayers): Vulkan validation layers are missing.
WARN: vk_utils.cpp:358 (GetAvailableValidationLayers): Vulkan validation layers are missing.
[0909/193358.038484:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:webview_cef/src/webview.dart': Failed assertion: line 87 pos 12: 'value': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      WebViewController.setNavigationDelegate (package:webview_cef/src/webview.dart:87:12)
#3      DashboardController.initPlatformState (package:webview_cef_demo/dashboard_controller.dart:60:24)
`

I have seen too many inconsistent text formatting changes in this PR, which increases the difficulty of the review.
The third/ref directory is planned to unify the CEF versions across different platforms in the future and reduce the size of pre built packages, so it is not recommended to delete it temporarily. Of course, if we can keep up with version updates in the future, we will no longer need this directory.
What is the biggest change between this PR and the PR you cancelled? Or which code do you think is better? Can you cancel the changes related to text formatting?


Marshal.GetLastWin32Error in CoreLib

Number of file I/O and similar APIs will move to CoreLib as part of NetStandard2.0 work. The implementation of these APIs depend on Marshal.GetLastWin32Error that is not available in CoreLib today.
The current solution that calls Interop.mincore.GetLastError() cannot be used for this as is because of it only works for APIs with trivial marshaling that won't overwrite the last error. It is not the case of many file I/O APIs today.
To unblock, I am adding hack to src\System.Private.CoreLib\src\Interop\Interop.manual.cs. This hack should be removed once this issue is fixed.

https://github.com/dotnet/corert/pull/2452


Code BR-GA-0 is not in error text in si-ubl-2.0-ext-gaccount.sch

Other error text contain the errorcode. But not for BR-GA-0

Indeed. The error text of BR-GA-0 is missing [BR-GA-0]. Should be added for clarity, just like with the other rules.


Connection toggle slow pulsing consume 5% GPU and is not noticeable at normal speed.

https://youtu.be/dwJ8NsbQenE?t=242
5x speed. I Switch on-off connection around 4min in.
I had no idea the toggle was pulsing until I played the video at 5x speed.
Connection to servers has always been a hit and miss on Windows, improving the feedback when it's connected or not connect would help a lot.
I've clicked and looked at that toggle so many times I can't believe I didn't notice the pulsing.

Further improved in e418971.


CC should refresh instances_retrievable services upon service update

Issue
As a developer, in order to have CF refresh its view of a service instance which has been modified out of bands (e.g. using dashboard), I need CF to refresh the service instance following a cf update-service command
Context
Some services instances might be modified out of bands, i.e. modifications are not triggered through the current CF instance. Example related use-cases:

the service instance was modified through a dashboard
the service instance is shared among multiple CF deployments, and was modified by another CF deployments
the service instance is shared among multiple OSB clients (e.g. a K8S osb client), and was modified by another CF deployments

While service brokers can express that the service instances is retrievable by publishing instances_retrievable=true in their catalog, the CC only currently uses this information to fetch service instance parameters using the GET /v2/service_instances/:instance_id broker endpoint, and ignores any updates made to the the service plan Id which remains cached.
Steps to Reproduce

Deploy a service broker which supports out of bands service plan updates (possibly CATS service_broker or overview-broker)
cf create-service service-offering plan1 myservice
update out of band the service instance from plan1 to plan2
cf update-service myservice

Expected result
cf service myservice and cf services show the service "myservice" with plan2
Current result
cf service myservice and cf services show the service "myservice" with plan1
Possible Fix
When instances_retrievable=true, a cf update-service should systematically trigger call to GET /v2/service_instances/:instance_id broker endpoint, to refresh the service plan, in addition to the dashboard url (as reported in #1390)
Additional details
Related code serving the cached service plan
https://github.com/cloudfoundry/cloud_controller_ng/blob/8b7d8eecd38eecf0df65a122554aa07c54bf9a32/app/controllers/services/service_instances_controller.rb#L153-L156
Related code using the fetch endpoint to serve refreshed service params
https://github.com/cloudfoundry/cloud_controller_ng/blob/8b7d8eecd38eecf0df65a122554aa07c54bf9a32/app/controllers/services/service_instances_controller.rb#L268-L273
https://github.com/cloudfoundry/cloud_controller_ng/blob/65a75e6c97f49756df96e437e253f033415b2db1/spec/unit/actions/services/service_instance_read_spec.rb#L19-L24

@addytripathi this relates to #1390 and would be worth taking into account for service instance v3. I suggested related pain entry in https://docs.google.com/document/d/1P5laZqVYjtl_boSdpksT5LHOFjhm6CQLzWVx24UpXpM/edit

workaround: have the broker support maintenance_info, and let the use perform a cf update-service --upgrade

Thanks for the update.
V2 is not in active development. As there is a workaround, we will close this issue for now.

Thanks for the update.
V2 is not in active development. As there is a workaround, we will close this issue for now.

Thanks for the update @pivotal-marcela-campo
Any chance to consider the suggested enhancement for V3 ?
The workaround isn't great in term of developer UX, and quite heavy for service broker authors and operators

Thanks for the update @pivotal-marcela-campo
Any chance to consider the suggested enhancement for V3 ?
The workaround isn't great in term of developer UX, and quite heavy for service broker authors and operators

/CC @FelisiaM in case my previous comment went unnoticed

Any chance to consider the suggested enhancement for V3 ?
The workaround isn't great in term of developer UX, and quite heavy for service broker authors and operators

/CC @FelisiaM in case my previous comment went unnoticed

Any chance to consider the suggested enhancement for V3 ?
The workaround isn't great in term of developer UX, and quite heavy for service broker authors and operators

Hi @gberche-orange, sorry for the delay. We will consider this for later enhancements to V3.
Thanks for the feedback!

Hi @gberche-orange, sorry for the delay. We will consider this for later enhancements to V3.
Thanks for the feedback!


Use env variables if account name/key/connection are not specified

Similar to the azure cli, use

AZURE_STORAGE_ACCOUNT
AZURE_STORAGE_ACCESS_KEY
AZURE_STORAGE_CONNECTION_STRING

environment variables as fallback variables

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Hi @NielsZeilemaker, thank you for submitting a PR! 👍
Unfortunately we do not think this should be included in the library, as we believe the user should be the one managing where the account credentials come from. We are different from Azure CLI in this aspect. Sorry!

@zezha-msft no problem, I'll pass the environment variables myself. Thanks for the reply.


Set isNewIdentifierLocation to true for JavaScript files

Issue: Completion list auto-select is leading to a poor editing experience in JS files for Salsa
ex:  var test = "test";
test.at auto-selects test.charAt
This is fine for TS where all completion items are high confidence.  For JS, the completion lists will often contain low confidence items (identifiers in file) so auto-selecting is undesirable.
Fix: Always set isNewIdentifierLocation to true for JavaScript files. This ensures that for JS completions IsBuilder is true and auto-select is disabled.

:+1:

Thanks - like the suggestion.


How to integrate an SDK V4 bot with Composer dialogs

"We also have a need to cover off guidance on how to add Composer dialogs to an existing SDK V4 Bot." from Darren J.

Closing as it is backlogged. Please reopen when necessary.


Unable to build PHP master with VS 2019 because of iconv/sqlite3 dependency mismatch

VS 2019 installed and updated to latest, attempting to build PHP-8.1.0-dev (master) with sqlite3 support (configure --with-sqlite3 ...) results in following error, which can only be resolved by disabling libiconv and libxml, or by not including sqlite3.
libiconv_a.lib(iconv1.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
fatal error C1047: The object or library file 'D:\php8-sync\phpmaster\vs16\x64\deps\lib\libsqlite3_a.lib' was created by a different version of the compiler than other objects like 'D:\php8-sync\phpmaster\vs16\x64\deps\lib\libiconv_a.lib'; rebuild all objects and libraries with the same compiler
LINK : fatal error LNK1257: code generation failed
NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe"' : return code '0x4e9'

Are you using the latest dependencies (check with phpsdk_deps -c)?

Are you using the latest dependencies (check with phpsdk_deps -c)?

@cmb69
Configuration: master-vs16-x64-staging

No updates are available.

@cmb69
Configuration: master-vs16-x64-staging

No updates are available.

This is fixable by exporting environment variable set LDFLAGS="/d2:-AllowCompatibleILVersions" before running configure, it does not appear to be an issue with this repo, rather the iconv lib supplied by https://windows.php.net/downloads/php-sdk/deps/vs16/x64/

This is fixable by exporting environment variable set LDFLAGS="/d2:-AllowCompatibleILVersions" before running configure, it does not appear to be an issue with this repo, rather the iconv lib supplied by https://windows.php.net/downloads/php-sdk/deps/vs16/x64/

I usually build ext/sqlite as shared extension, so I didn't notice this issue so far. But indeed, when building ext/sqlite as static extension, I'm hitting C1047 as well (VS 16.8.4, libiconv-1.16-3, sqlite3-3.33.0). That error has already been very annoying several times in the past, since it required to rebuilt several packages to be able to do the snapshot builds, and those rebuilt packages didn't work with older VS versions, what caused problems for others. So constantly rebuilding libiconv doesn't appear to be a good solution.

/d2:-AllowCompatibleILVersions

Thank you! I wasn't aware of this undocumented linker option. It might make sense to add it by default for the Windows builds to mitigate this issue. For now, I have at least documented it.

/cc @Jan-E, @weltling, may be interested in this info as well. According to https://developercommunity.visualstudio.com/content/problem/316532/c1047-after-update-from-157-to-158.html, it is safe to use it.

Thanks. I never ran into C1047, but I have added set LDFLAGS="/d2:-AllowCompatibleILVersions" to my VS16 build environment.


Implement a single package for controlling cert-manager RNG

Pull Request Motivation
cmrand is intended to be the single point which configures RNG across cert-manager, allowing for the RNG to be swapped out (e.g. for a HWRNG) but mostly ensuring that errors are minimised.
Importing math/rand instead of crypto/rand is catastrophic in most cases where cryptographically secure RNG is required. This change minimises that.
It also adds a single function for generating appropriate serial numbers for certificates, since that logic was duplicated several times.
In addition, many previous calls to the standard library key generation functions (mostly in tests) have been replaced with calls to our own generation functions, in turn removing another reference to an RNG.
Kind
/kind feature
Release Note
Add cmrand, an internal cert-manager package for helping to ensure cryptographically secure RNG is used properly.

@SgtCoDFish is there an easy way to verify that we did not miss any usages of RNG?

pkcs12 probably uses crypto/rand if no random number generator is injected, so we probably want to inject cmrand there too.

/test pull-cert-manager-master-make-test


Document clustering algorithms

The documentation on the clustering algorithms is scant, and in some cases, non-existent. The user interface should provide a brief description of each algorithm as well as guidance on how to pick the most appropriate one for their application as well as any pertinent tradeoffs.
Some are obvious from their names (or at least easily Google-able), but other are much more opaque.
PPM is a particularly egregious example, but since I just looked at the implementation, here's what it does:
PPM stands for Prediction by Partial Matching which is an arithmetic coding technique. The implementation that OpenRefine uses is based on the MIT SIMILE project's Vicino package, which, in turn, uses Bob Carpenter's arithcode package, which has a tutorial available here: https://raw.githubusercontent.com/bob-carpenter/java-arithcode/master/arithcode-1.2/doc/tutorial.html. The two strings to be compared are concatenated together and then "compressed" using the coder. The PPMModel uses 8 bytes of context and returns as the score the length of the encoded output. This is used four times to compute distance scores for (x,y), (y,x), (x,x), (y,y) (because the scores are directional) which are then combined together in this fashion to generate a final score:
10.0d * ((d(x,y) + d(y,x)) / (d(x,x) + d(y,y)) - 1.0d)
This score is relatively computationally expensive to compute and has to be done in a pairwise fashion for every pair of strings. To prevent an N^2 explosion, both the "nearest neighbor" clustering algorithms first divide the strings into manageable sized blocks and only does the pairwise comparison for members of the block. Depending on the blocking algorithm used, it's possible for two similar strings to end up in different blocks and never get compared to each other.

Hello @tfmorris and @wetneb.
I checked the OpenRefine Documentation but found nothing on clustering algorithms
To work on this issue will I need to be versed in the knowledge of clustering algorithms or can I learn as I go? If the latter, are there resources I could refer to?
Also, is there a guideline to follow?

Will I need to be versed in the knowledge of clustering algorithms or can I learn as I go? If the latter, are there resources I could refer to?

It's more about doing some basic explanation. So yes, you can do this issue. Maybe check the doc of the librairies used for the clustering algorithms to find more information? Wikipedia will also help you a bit, I guess! For the back and your own understanding.
Regards, A.

There are two locations in documentation where we already have information about the clustering algorithms:

https://docs.openrefine.org/manual/cellediting#clustering-methods (intended for end users)
https://github.com/OpenRefine/OpenRefine/wiki/Clustering-In-Depth (intended for those wishing to understand exactly how the clustering algorithms work)

I'd suggest first reviewing the information at https://docs.openrefine.org/manual/cellediting#clustering-methods and see if you think these need any more information. I think this needs to be aimed at a non-technical audience - I would not see information such as the detail of the implementation of PPM as suitable here.
The type of information that Tom gives above on PPM I'd see as more appropriate to https://github.com/OpenRefine/OpenRefine/wiki/Clustering-In-Depth

Hello @antoine2711 @ostephens. I have a few suggestions:

The phonetic algorithms Metaphone3
Cologne-phonetic,
[Daitch-Moktoff (https://en.wikipedia.org/wiki/Daitch–Mokotoff_Soundex)
, and Beider-Morse are not explained in the in-depth document but merely stated in the . I could add some flesh to them.

I could also make the clustering-methods document for the end users more skimmable.

If you approve these changes, could you assign me to work on them?

Thanks @Babi-B  - the first of these would be really great - please pay attention not just to the general description but also how they are implemented in OpenRefine (by examining the code) as (for example) I only recently found out that the Metaphone3 clustering only uses the first 8 characters of the Metaphone3 encoding of the value as the clustering key - these details are important.
I'd also say that examples are often helpful to explain so I'd recommend considering if adding examples helps make any of the documentation clearer as you write it.
I'm not 100% sure what you are proposing when you say you could

make the clustering-methods document for the end-users more skimmable

I don't know if you can explain here before doing the work or if it's easier to make a PR for the docs and get feedback on that - I'd be happy either way


[CT-3468] allow creating unit testing fixtures in non-root projects

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Right now we assume that all file fixtures for unit tests are in the current root project. It's possible that people might want to provide reusable fixtures with their packages.
Describe alternatives you've considered
Not allow folks to define fixtures in non-root projects
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

One of the things that we would have to decide how to handle, is how to specify an external package fixture.  "otherpackage.fixture_name"?


Parsing build output and build success

Hi! Is there a way to parse compiler output and show it in problems list? Also the task output doesn't show if the build was successfull or not

Since the vscode update in july the errors does not show up anymore.
I have to check how to display them again and how to see the compiler output

"Also the task output doesn't show if the build was successfull or not"
This only applied if the task is "re-run" in an prev. opened task tab.
So currently you havbe to close the task tab after one compilation step.
Then a new task tab will be opened and you should see the compiler command and output again,

No it doesn't. Even if the task is run first time, I don't see anything like Build successful, errors: 0, warnings: 0 or Build failed, errors: 1, warnings: 3. This forces to read through all the compiler log and see if there was error or not - very inconvenient
Here's a screenshot of first build after selecting the folder:

And even if it did solve the problem - closing the build task window every time is a PITA solution tbh, can't you just output a text message log as the last line?

Ah okay i thought u meant something else.
Yes, there is currently no list of how many warnings.
However, if there is an error in build the returned result from the task will be non zero.

Yes, I but how would I see the returned result of the build task if I start the build using the bottom toolbar button? :)

Warnings are again displayed in the "problems" tab


Parent object addition/removal

Adds ability to add/remove parent objects into the adapter.

Looks ok, although it allows to add only 1 object at a time. For example: while asking some external API for items, API will retrieve more likely list of items.

Fixed master conflicts.
Will work on adding list of items in a subsequent PR.

fixed comments

Looks good :+1:

Just a note that the library is going a different direction with  #83


Support for non-git buildpacks

Currently BUILDPACK_URL has to be a git repo.
There is (at least one) a buildpack which is distributed in pre-complied form (*.tgz). It's possible to pass link to the archive in heroku, buildpack in git requires some manual action (complication), so it won't work in Workflow.
Is it possible to re-implement this in Workflow?
As workaround I've unpacked provided archive and pushed it to separate git repo.

Sure, if someone wants to implement .tgz and .tar.gz support for BUILDPACK_URL it can be done here. One would just need to check the file extension and do a HTTP GET if it's a tarball, otherwise perform the regular git clone.

This issue was moved to teamhephy/slugbuilder#4


Cannot navigate onPress

<HoldItem
            items={[
              { text: 'Edit', icon: 'pencil', onPress: (term, definition) => { navigation.navigate('EditWord', { term, definition }) } },
              { text: 'Delete', icon: 'trash', isDestructive: true, onPress: () => { } }
            ]}
            actionParams={{ Edit: [word.term, word.definition] }} bottom={true}
>

onPress is unable to navigate to another screen

I am able to use the navigation on both Android and iOS. Here is the demo.
const { goBack } = useNavigation();

const items = [
    {
      text: 'Home',
      icon: 'home',
      onPress: () => {
        goBack();
      },
    }
]

https://user-images.githubusercontent.com/19428358/179858074-bf68d476-9398-4dee-9025-fbe236fd154d.mov
Do you think you're calling the navigation in the right place? Cannot repro and guess the problem with the current code snippets.


Individual Test Timeouts

https://grpc-testing.appspot.com/job/gRPC_pull_requests_sanitizers_linux/197/testReport/junit/(root)/aggregate_tests/run_tests_c_linux_msan/
It looks like only aggregate tests are timing out, making it difficult to determine the culprit.
Possibly related:
https://github.com/grpc/grpc/pull/8352

It looks like this might be timing out since we removed the --force_default_pollers and more tests are being run by sanitizers.
I'll look into increasing the timeout.

Timeout already increased by #7664.


Move Calculation off of Calculator

Description
We want to move complex logic off of the FE's and into the api, for better separation of concern and access to this logic.
This means we need to replicate the existing logic around the result calculation into the api. Create a service that performs this calculation (homeEnergy.service.js).
Technical Notes
Move this logic, specifically handleCalculation into the back end.

Create Unit tests! homeEnergy.service.test.js
A stand-alone piece of logic/service
DO NOT WIRE INTO ANY ENDPOINT (see below)

Risks
Related Issues Or Discussions
#30 Will be the continuation of this work to wire it together.

Assume that any required material for the calculations will be a) passed in from user request b) lives in the database

Ok
On Wed, May 22, 2024 at 10:50 AM Ryan Graue @.***>
wrote:

Assume that any required material for the calculations will be a) passed
in from user request b) lives in the database
—
Reply to this email directly, view it on GitHub
https://github.com/climate-cooperative/home-energy-assessment-database/issues/37#issuecomment-2125420467,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHSYIXJ7XFXFSSP4SOGNGMLZDTLIDAVCNFSM6AAAAABHJ4UJBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGQZDANBWG4
.
You are receiving this because you were assigned.Message ID:
<climate-cooperative/home-energy-assessment-database/issues/37/2125420467@
github.com>


Add an extra percent encoding layer when encoding DocumentURIs to LSP requests

The URI standard RFC 3986 is ambiguous about whether percent encoding and their represented characters are considered equivalent. VS Code considers them equivalent and treats them the same:
vscode.Uri.parse("x://a?b=xxxx%3Dyyyy").toString() -> 'x://a?b%3Dxxxx%3Dyyyy'
vscode.Uri.parse("x://a?b=xxxx%3Dyyyy").toString(/*skipEncoding=*/true) -> 'x://a?b=xxxx=yyyy'

This causes issues because SourceKit-LSP's macro expansion URLs encoded by URLComponents use = do denote the separation of a key and a value in the outer query. The value of the parent key may itself contain query items, which use the escaped form '%3D'. Simplified, such a URL may look like scheme://host?parent=scheme://host?line%3D2.
But after running this through VS Code's URI type = and %3D get canonicalized and are indistinguishable.
To avoid this ambiguity, always percent escape the characters we use to distinguish URL query parameters, producing the following URL: scheme://host?parent%3Dscheme://host%3Fline%253D2.

@swift-ci Please test

@ahoppen Thanks for this fix, I will test this out and give you an update.

@ahoppen This PR in combination with my semantic functionality PR fixes the issue and also makes semantic functionality to work as expected without needing any change in vscode-swift extension repo.
🎉
Thank you so much for fixing this

@swift-ci Please test

@swift-ci Please test Windows


LFS-823: As a user, I am stuck in a relogin cycle when deleting a form while editing that form

Fixes the bug present on the dev branch described by LFS-823
To reproduce that bug on the dev branch:

Create any form
While in the form, click the trash can icon to delete the form and confirm
You are prompted to login, logging in reopens the same login screen - this continues without end
To get out of the loop, you must clear the URL and return home

To test this PR:

Build the LFS-823 branch
Create a new Demographics form, enter some data, and close that browser tab without clicking the Save button.
Open CARDS again and this Demographics form should be present with the data entered from the previous step
Enter some more data in this same Demographics form and click on one of the sidebar links (don't click Save)
Open this Demographics form again - the data from the previous step should be present
Delete this form - you should not be prompted to re-login

Please note that sometimes I get prompted to login after these steps - however I cannot always reproduce it; it happens once in 6-7 attempts:

create new Demographic form
create new subject for the form
edit the form and close the browser tab without saving the form
open CARDS - sometimes (rarely) I get prompted to login, after which no data is lost and everything works as expected

Please note that sometimes I get prompted to login after these steps - however I cannot always reproduce it; it happens once in 6-7 attempts:

create new Demographic form
create new subject for the form
edit the form and close the browser tab without saving the form
open CARDS - sometimes (rarely) I get prompted to login, after which no data is lost and everything works as expected


Add an optional log file configuration in $HOME/.tpm2/config

We may optionally add "log foo.log" in "$HOME/.tpm2/config" as what "simple-tpm-pk11" has already done, see: https://github.com/ThomasHabets/simple-tpm-pk11#2-create-config

Options to log to file are added with commit #31d45ce73d69ee094e3ab58b31a6dfcebde339cd

# Logging settings
# Supported log levels:
#   0=>None(no messages)
#   1=>Infomation(only errors and warning are recorded)
#   2=>Verbose(including errors, warnings, and verbose logs)
#   3=>Debug(including errors, warnings and all debugging messages)
# The following lines will enable this experimental logging feature.
log-level 3
log /tmp/libtpm2-pk11.log
# stderr and stdout are used as built-in keywords here, like this:
# log stderr


Provided compatibility with Python 3.5

Provided compatibility of libindy python wrapper with Python 3.5 (previously Python 3.6+ was required) since Python 3.5 is the target platform for indy-node.
Fixed a bug in pool_genesis_txn_file fixture.
Fixed a bug in save_pool_genesis_txn_file function.

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


Question: Can this desktop be accessed from outside?

Can I access this desktop from an online vnc viewer like http://kanaka.github.io/noVNC/noVNC/vnc.html?
If yes, then how do I do it?

Yes, use a url like this: https://$C9_HOSTNAME/vnc.html
I believe it is something like https://user-project.c9users.io/vnc.html/

Yeah it worked. Thanks


fix(device_info_plus): suppress Android build deprecation warnings

Description
The plugin is updated to use Android v2 embedding, while keeping the registerWith() method for keeping backwards compatibility.
Since it's deprecated, there are warnings on every Android build.
This PR suppresses the warnings.
Related Issues
/opt/homebrew/Caskroom/flutter/2.5.0/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-2.1.0/android/src/main/java/dev/fluttercommunity/plus/device_info/DeviceInfoPlusPlugin.java:11: warning: [deprecation] Registrar in PluginRegistry has been deprecated
import io.flutter.plugin.common.PluginRegistry.Registrar;
                                              ^
/opt/homebrew/Caskroom/flutter/2.5.0/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-2.1.0/android/src/main/java/dev/fluttercommunity/plus/device_info/DeviceInfoPlusPlugin.java:19: warning: [deprecation] Registrar in PluginRegistry has been deprecated
  public static void registerWith(Registrar registrar) {
                                  ^
2 warnings

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

LGTM,
@nohli I wish you can send similar PR for other packages too. that would be awesome.

Ok, will do! 🙂
Thanks for adding hacktoberfest-accepted!

@mhadaily I opened PRs for the six other packages that use the deprecated method without suppressing warnings.
Would be cool if you also added the hacktoberfest-accepted tag.
I also updated the version and changelog to save you time, hope that's ok.

@nohli wouldn't it be better to remove the whole registerWith function, since new Flutter plugins also don't ship with this function anymore. See https://flutter.dev/docs/release/breaking-changes/android-v1-embedding-create-deprecation for more info.

Did you see my comment and the link in https://github.com/fluttercommunity/plus_plugins/pull/442#issuecomment-932521729?
Flutter advises to keep this method. Idk how old the linked docs are.
If new packages don't use the method any more, in my opinion it's okay because it's no breaking change for old users (that don't exist).
Removing it from a package that has been around for some time would be a breaking change, right?

@juliansteenbakker Did you see my comment and the link in #442 (comment)?
Flutter advises to keep this method. Idk how old the linked docs are.
If new packages don't use the method any more, in my opinion it's okay because it's no breaking change for old users (that don't exist). Removing it from a package that has been around for some time would be a breaking change, right?

I think you are right. I checked all official Google plugins and they all contain registerWith function. I'll change my PR accordingly (#442)
Just one more question, should the version of this package not be 2.2.1 instead of 2.3.0? It doesn't seem like that big of a change.

@nohli this is great, but can we focus on one PR for all of the package related to this, I commented on your PRs.
thanks

@nohli let me know when you can close all other PR and merge them all into one PR
thanks

@mhadaily have we decided on how to handle the deprecations?
Before opening another PR, I would like to clearly know the requirements.
The registerWith method takes Registrar which is deprecated.
Options:

Removing the method altogether and stop supporting Android v1 embedding
-> breaking change with major version upgrade?
Keeping the method and suppressing the deprecation warning

And do you want me to also close this PR and open a new one?

Let us remove Android v1 embedding support and release a new major version.
Let us be fully compatible with new APIs as most Flutter developers also use v2 embedding.
If there are still apps that use v1, they can use an older version.  I don't see any big concern about removing V1 support as long as we release a major version.
I'd recommend you also take a look at FlutterFire to see if they follow.
thoughts?

Okay, will do 😊
Your last sentence means to also open a similar PR over there?

If you are comfortable with this PR, please continue on this one and please close all others. I just like to see one PR for this issue to be honest. I'll leave it to you whether you open a new one or continue on this one, both works for me.

Closing because of https://github.com/fluttercommunity/plus_plugins/pull/495


Spyder opens then immediately closes

Issue Report Checklist

[X] Searched the issues page for similar reports
[X] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[X] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[X] Tried basic troubleshooting (if a bug/error)

[X] Restarted Spyder
[X] Reset preferences with spyder --reset
[X] Reinstalled the latest version of Anaconda
[X] Tried the other applicable steps from the Troubleshooting Guide

[X] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Spyder fails to load properly. It opens briefly for a couple of seconds but closes immediately. This is true whether I open Spyder independently or whether from Anaconda. There is an error message when I open it from Anaconda prompt. I tried the solutions (such as trying to open Spyder in a new environment) in this previous issue #https://github.com/spyder-ide/spyder/issues/16982 because I get a similar error message.
What steps reproduce the problem?
Opening Spyder
What is the expected output? What do you see instead?
Expect to see Spyder opening.
Paste Traceback/Error Below (if applicable)
link image0 hasn't been detected!
C:\Users\natha\anaconda3\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
Bad address (C:\ci\zeromq_1616055400030\work\src\epoll.cpp:100)
Bad address (C:\ci\zeromq_1616055400030\work\src\epoll.cpp:100)
Versions

Spyder version: 5.2.2
Python version: 3.9.13
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: Windows 10

Hey @Nathan-Thomas-Han, thanks for reporting. Please uninstall Anaconda and reinstall it again following the instructions i our video. I think that should solve your problem.

Hey Carlos, thanks for responding so quickly. I followed the instructions in the video but I still encountered the same problem and I got this error message instead:
(spyder-env) C:\Users\natha>spyder
fromIccProfile: failed minimal tag size sanity
Bad address (D:\bld\zeromq_1629967000004\work\src\epoll.cpp:100)
Traceback (most recent call last):
  File "C:\Users\natha\.conda\envs\spyder-env\lib\asyncio\windows_events.py", line 439, in select
    self._poll(timeout)
RuntimeError: <_overlapped.Overlapped object at 0x000001C5F1260420> still has pending operation at deallocation, the process may crash
Bad address (D:\bld\zeromq_1629967000004\work\src\epoll.cpp:100)
Bad address (D:\bld\zeromq_1629967000004\work\src\epoll.cpp:100)

Ok, this could be an issue with your antivirus or firewall. Please disable them temporarily and try again.

Hey Carlos, thanks for your timely responses. After looking around for a bit, it seems that the issue seemed to be coming from my use of a VPN. Spyder runs fine after I've resetted the winsock.

Great! Thanks for letting us know about it.


Allow to limit access to form submissions

This PR adds the construct_forms_for_user hook which allows us to limit access to form submissions.
I'll add tests and docs, if we decide that this is acceptable.

If this PR merged, we will be able to do something like
@hooks.register('register_permissions')
def register_permissions():
    wagtailadmin_content_type = ContentType.objects.get(app_label='wagtailadmin', model='admin')

    Permission.objects.get_or_create(
        content_type=wagtailadmin_content_type,
        codename='access_form_submissions',
        name='Can access form submissions'
    )

    return Permission.objects.filter(content_type=wagtailadmin_content_type, codename='access_form_submissions')

@hooks.register('construct_forms_for_user')
def construct_forms_for_user(user, queryset):
    if not user.has_perm('wagtailadmin.access_form_submissions'):
        queryset = queryset.none()

    return queryset

or even simpler:
@hooks.register('construct_forms_for_user')
def construct_forms_for_user(user, queryset):
    if not user.is_superuser:
        queryset = queryset.none()

    return queryset

@kaedroho thanks for feedback. I agree with you. Does filter_form_submissions_for_user sound better? Feel free to propose a name ;)

Yep, I think that's much better. Thanks!

Rebased on top of master
The hook has been renamed to filter_form_submissions_for_user
Documentation has been added
Tests have been added

@kaedroho, ready for review! ;)

Documentation has been updated in 2641a43
Thanks for the review and for the documentation tweaks! I'll merge this PR, when tests are green.

Merged in 48296e756858850042ffaabb0bf023cf6f144c49 + parent.
Thanks!


blog: llama3s

todo:

seo tags
cover image
cta at the bottom
minor fixes needed

alright, just needs a lgtm from @dan-homebrew


Update the favicon, currently squished

Observe that the logo is currently squished in the new UI

Current registry has the correct logo (not squished from being a square image):

Updated the favicon to use the current registries logo into the new one, as converting a rectangular logo into a square will squish the artwork.


[WFLY-12650] EL does not handle identifiers as JavaBeans

Fix for JIRA: https://issues.jboss.org/browse/WFLY-12650
As commented in the issue I decided to remove the local ImportedClassELResolver which was executed in the wrong order. If you prefer to maintain the class instead of completely removing it, just let me know.
Now the idea is using the ScopedAttributeELResolver from the spec library jboss-jakarta-jsp-api_spec. There is a snag, the implementation in the spec doesn't use a map to speed up class resolution. But if this is a problem can be treated in a different JIRA/PR.
Tests modified to include the new use-case.
Regards!

Can one of the admins verify this patch?

This is ok to test.

This will need an ok from @fl4via .
For reference the caching in ImportedClassELResolver was added in response to https://issues.jboss.org/browse/WFLY-10653 and https://issues.jboss.org/browse/JBEAP-14605.

Instead of removing ImportedClassELResolver
Current Implemntation
jastow-2.0.7.jar
JasperELResolver.java
add(new ImplicitObjectELResolver());
for (ELResolver appResolver : appResolvers) {
add(appResolver);
}
add(streamResolver);
add(new StaticFieldELResolver());
add(new MapELResolver());
add(new ResourceBundleELResolver());
add(new ListELResolver());
add(new ArrayELResolver());
add(new BeanELResolver());
add(new ScopedAttributeELResolver());
where appResolvers get populated by below class
package org.wildfly.extension.undertow.deployment
public class JspInitializationListener implements ServletContextListener {
public static final String CONTEXT_KEY = "org.jboss.as.web.deployment.JspInitializationListener.wrappers";

@Override
public void contextInitialized(final ServletContextEvent sce) {
    // if the servlet version is 3.1 or higher, setup a ELResolver which allows usage of static fields java.lang.*
    final ServletContext servletContext = sce.getServletContext();
    final JspApplicationContext jspApplicationContext = JspFactory.getDefaultFactory().getJspApplicationContext(servletContext);
    if (servletContext.getEffectiveMajorVersion() > 3
            || (servletContext.getEffectiveMajorVersion() == 3 && servletContext.getEffectiveMinorVersion() >= 1)) {
        jspApplicationContext.addELResolver(new ImportedClassELResolver());
    }
    // setup a wrapped JspApplicationContext if there are any EL expression factory wrappers for this servlet context
    final List<ExpressionFactoryWrapper> expressionFactoryWrappers = (List<ExpressionFactoryWrapper>) sce.getServletContext().getAttribute(CONTEXT_KEY);
    if (expressionFactoryWrappers != null && !expressionFactoryWrappers.isEmpty()) {
        final JspApplicationContextWrapper jspApplicationContextWrapper = new JspApplicationContextWrapper(JspApplicationContextImpl.getInstance(servletContext), expressionFactoryWrappers, sce.getServletContext());
        sce.getServletContext().setAttribute(JspApplicationContextImpl.class.getName(), jspApplicationContextWrapper);
    }
}

Modified Implementation
Current Implemntation
jastow-2.0.7.jar
JasperELResolver.java
add(new ImplicitObjectELResolver());
add(streamResolver);
add(new StaticFieldELResolver());
add(new MapELResolver());
add(new ResourceBundleELResolver());
add(new ListELResolver());
add(new ArrayELResolver());
add(new BeanELResolver());
add(new ScopedAttributeELResolver());
for (ELResolver appResolver : appResolvers) {
add(appResolver);
}
put ImportedClassELResolvers in last in the order instead of removing the feature

@fl4via Remember you have this PR here for you too. :-)
If you think we better improve the ScopedAttributeELResolver before this one we can start trying with the jakarta guys, although that stuff is usually slow.
Thanks!

Okis, I have changed this to use a system property that can disable the ImportedClassELResolver.
Regards!

retest this please

I've placed a hold on this based on this comment https://issues.jboss.org/browse/JBEAP-17730?focusedCommentId=13814576&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13814576. If I'm incorrect we can remove the hold tag.

@jamezp Done! I have done the two changes. Thanks!


Adding YouTube Clone in Frontend Projects

Closes:  #524

Title :  YouTube Clone
Name: : Ganesh Kumar
Idenitfy yourself: :  GSSOC

Screenshots 📷

Type of change ☑

What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Note to reviewers 📄

hey @Avdhesh-Varshney Check my PR

Also properly link your issue with the pr


An error "Error using mskoptimset" occurs inside quadprog

Error using mskoptimset (line 67)
Expected argument 2 to be a string parameter name or an options structure
created with mskoptimset.
Error in quadprog (line 78)
options          = mskoptimset(defaultopt,options);
Error in OptimalControler/solve (line 76)
[var_optim, ~, exitflag] = quadprog(obj.H, [], C_ineq1_relaxed, C_ineq2, C_eq1, C_eq2, [], [], [], options);
Error in ModelPredictiveControl/solve (line 21)
[x_nominal_seq, u_nominal_seq] = obj.optcon.solve();
Error in example_MPC (line 27)
u_next = mpc.solve(x);
Do you know how I can solve this problem? Thank you very much!

Currently I cannot access to matlab, but I geuss the reason. After googling, I found that mskoptimset is provided by MOSEK optimization solver.  And MOSEK is a third-party libraries. So probably you at some moment installed this software and, because of this,  quadprog that is originally provided by MATLAB is overwritten by the MOSEK's one. So probably, removing MOSEK or tweaking some setting of MOSEK side will fix the problem.
this website https://docs.mosek.com/9.2/toolbox/install-interface.html might be helpful.
Please tell me, if you can fix by that.

Thank you very much for your answer, which is very helpful for me. After removing the MOSEK, the code can work now. Finally, thank you for proving this code, and it is vey helpful for my study.

I have also met this issue. It is the truth that this issue is caused by overloading 'quadprog' function in mosek. Actually, one don't have to delate mosek package. An alternative  solution is to only delete the search path '/mosek/9.2/toolbox/r2015a' in matlab. Then, this bug will disappear. At last, I am appreciated to author for providing code. It's a good study material.

@loser-why thanks for reporting that!


feat: Add initial cloud linter command to preview

Add a cloud-linter command to the preview section of the cli. It doesn't do anything yet.

Looks like there is a fmt error
cargo fmt -- --check

otherwise LGTM


Update Blog “my-first-post”

Automatically generated by Netlify CMS

👷 Deploy Preview for singular-buttercream-e141a8 processing.

Name
Link

🔨 Latest commit
c20a6c8e0ce968731a3b878a6c638fc6d57831a4

🔍 Latest deploy log
https://app.netlify.com/sites/singular-buttercream-e141a8/deploys/640ba833e772080008ae8eb8


SnBufferTest.updatesOriginalSensor failed

Failed tests: SnBufferTest.updatesOriginalSensor:49 No interactions wanted here: -> at com.sigzig.sensor.SnBufferTest.updatesOriginalSensor(SnBufferTest.java:49) But found this interaction on mock 'Mock for Sensor, hashCode:<PHONE_NUMBER>': -> at com.sigzig.sensor.SnBuffer$2.run(SnBuffer.java:89) Actually, above is the only interaction with this mock.

@alex-palevsky it's a valid bug.

oops.. created in wrong project haha!


Missing command to set focus to "currently open project" in side bar

Someone closed out the last issue I had open for this, without a proper answer, so I'm creating a new one.
https://github.com/Microsoft/vscode/issues/3968

There's options for View: Focus into Side Bar and View: Focus on Working Files, but there isn't any option for View: Focus into Open Project. Please add this.

The "answer" that was authoritatively posted into that thread, only works if focus was not previously set to the Working Files section of the Side Bar. If Working Files was the last "area" to have focus in the Side Bar, before focus was moved away, then the CMD + SHIFT + E shortcut will simply return it to Working Files instead of the project.
SIDE NOTE: I'd recommend allowing people some time to respond, before closing out their GitHub issues. People who don't administer the GitHub project cannot re-open their issues, if they're closed out by a project member. Recently, I've been quite diligent about following up on tickets that I've reported, so I'd appreciate an opportunity to hash things out fully, instead of assumptions being made. The Visual Studio Code team has been doing some very good work; it's my hope that this continues.
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell

@pcgeek86 sorry but what is wrong with commenting on the closed issue so that I can reopen it? Am I missing something?

@bpasero Because there is a good chance that it will not be re-opened by someone, and disappear under closed issues long term. Perhaps with the VS Code team this is less of an issue, but I've seen it happen on other Microsoft projects, so I'm investing my time and effort in a way that I know it'll get noticed.

@pcgeek86 try it out please :)

@bpasero Thanks a lot! I'll test this out once it's available.


Cannot import test-ai

Hi!
I am in a Next.js application and there is an error when I try to import { ai } from tests-ai:

If i modify it to this:
import { ai } from 'tests-ai/src';
It wil llead me to this error:

Please resolve this issue, because I want to use this package.

This has been fixed - the bug was a problem at compile time.
fixed in v1.0.10


Check the private key type used when creating a aes256cbc.NewDecrypter

Is your feature request related to a problem? Please describe.
With the addition of different public key types, it is possible to create a signer with an incompatible private key
Describe the solution you'd like
Check private key type is valid before creating signer, currently it must be secp256k1
Describe alternatives you've considered
N/a
Additional context
crypto/cipher/aes256cbc/decrypter.go NewDecrypter method should check is key is compatible then return error if not

@robdefeo happy new year! May I work on this?

Hi @olimpias - sure thing. I've assigned you the issue.


Develop upstream sync 221031

https://github.com/ROCmSoftwarePlatform/frameworks-internal/issues/2849

retest Ubuntu-GPU-single please

retest Ubuntu-sanity please

retest Ubuntu-sanity please

retest Ubuntu-GPU-single please

retest Ubuntu-GPU-multi please

retest Ubuntu-CPU please


Adding latest cabana video to landing page

Hey! I'm not sure if it is intended that the latest cabana video does not show up on the landing page. But I changed it in this PR! I'm new to Jekyll so there might be better ways to implement it.

I've created a simple Badge for the cabana vids so viewers can differentiate between CC-Videos and Cabana-Videos on the Startscreen.
What are your thoughts? @shiffman @violetcraze @mikakruschel

Hi @gruselhaus, nice work!! Maybe it's not necessary for the cabana page itself but more for the homepage to distinguish? I like it but my concern is that it obscures the thumbnail image quite a bit? I am working with Jason Heglund on some new design sketches for the Cabana series so there might be something there too!

Hi @gruselhaus, nice work!! Maybe it's not necessary for the cabana page itself but more for the homepage to distinguish? I like it but my concern is that it obscures the thumbnail image quite a bit? I am working with Jason Heglund on some new design sketches for the Cabana series so there might be something there too!

@shiffman ok, thank your for your feedback. Nevertheless let's merge this PR and pick up the "Cabana" Banner later on.


Add BaseHTTPMiddleware to FastAPI

This PR closes #4405 .
The BaseHTTPMiddleware class is needed to define middleware that aren't defined using the FastAPI decorator @app.middleware.
However, this class is from starlette and isn't present in FastAPI. This PR adds a file fastapi.middleware.base which imports the middleware from starlette, for developer convenience.

@tiangolo could you please look into this?

Closing this PR, since there are no changes. 🙏


Oliinyk / 2197 Page with workshop details

#2197

How do look hyperlinks in footer:

Rating with number of ratings:

Direction image next to workshop name:

Translation of schedule:

Important notes:

Number of ratings displayed only in workshop details, not in list (maybe have to and if is - waiting that field in backend response);
Direction image is not displayed in details if workshop doesn't have direction


Cringer 1.0

Make Cringer a full plattform like in GTA 5 with a persistent db

All functions are now implemented. Now this needs to be tested.

Functions are all implemented and tested now.


Remove redundant sample in once

With effector@23 calling a derived Unit is an error, so a sample that guarded that behavior is no longer required.

However, user without TS won't know that returned event is not callable.
I believe, we should preserve current behavior for such a case.


Fix slip example error

The problem
Slip documentation give example result that doesn't mesh with current rakudo result #3709
Solution provided
Fixed example result. Checked with v6.c and the result in the original example was still wrong, so no versioning required.

Is it possible that you've done a merge instead of a rebase? I'm afraid all kinds of commits have got mixed, and you might have to force-push to fix it.

It is possible, though it seemed to me that this had happened in my branch upstream, and I had to pull it down and merge before I could push back to my branch. My concern is that someone may have accidentally pushed to my branch and I'll be blitzing their stuff.

Thanks. Did a force push and that's all looking a little happier...


How to dump once and save to multiple places?

I want to backup mysql, and the yml config just has 1 store_with i can set.
How to dump once and save to local and s3?
I don't want to set 2 models in config file.
Thank you.

I guess you can set local dump -> s3 as your 2nd model

models:
  local_backup:
    compress_with:
      type: tgz
    databases:
      dummy_test:
        type: mysql
        host: localhost
        port: 3306
        database: dummy_test
        username: root
        password: 123456
    store_with:
      type: local
      path: /data/backups
  s3_backup:
    archive:
      includes:
        - /data/backup_to_s3
    store_with:
      type: s3
      bucket: gobackup-test
      region: ap-southeast-1
      path: backups
      access_key_id:
      secret_access_key:

And then run:
gobackup perform local_backup
mkdir -p /data/backup_to_s3 && mv  /data/backups/*.tar.gz /data/backup_to_s3
gobackup perform s3_backup

What if s3 and gcs without local?


[FEATURE REQUEST] - Item exclusion from playlist download and tweaks

If I want to download all the playlists of a given channel but one, I have to put all their links in the command, it would be way more convenient to just put the playlist section of that channel and then add the link of the one I want to ignore with an exclusion command. I think downloading playlists should be more "tweakable" since various scenarios can present.

you may try to use:
$ youtube-dl https://yoursite.com/bla-bla --playlist-items 1-9,11,16
like that.

Thanks @shizeeg!

@yan12125
That's totally wrong, I was not talking about playlist items, but about playlists of a given channel.

Could you give some examples of channels and playlists?

Open any channel with more than a playlist in the playlists section and there you go.

Which website? YouTube? If so could you please provide an example link? That may sound ironic, but I'm not familiar with YouTube.

And there you go

Did you mean you want to choose specific playlists on https://www.youtube.com/channel/UCLW0TEV3YEt-J56pYZm-TgA/playlists instead of downloading all 10 playlists?

Yes. It's way inconvenient with channels with many playlists.

Thanks I got you.
Related to #10122

It seems to me it's not related at all to #10122

Currently
youtube-dl -vF https://www.youtube.com/channel/UCLW0TEV3YEt-J56pYZm-TgA/playlists

downloads all videos of all 10 playlists. And
youtube-dl -vF https://www.youtube.com/channel/UCLW0TEV3YEt-J56pYZm-TgA/playlists --playlist-items 1

download the first video of the first playlist. It should download all videos of the first playlist, just like the case in #10122


Named Transform Image Servlet: Image transformer not working for .SVG image formats

AEM Version : 6.3.0
ACS AEM Commons Version: 4.0.0
Reproducible on Latest? Yes
Expected Behavior :
Image transform should work for .svg image file formats.
Actual Behavior :
Image transformer is not working when applied for .svg image file formats.
Steps to Reproduce :

We have uploaded .svg image into AEM Dam and image is 'Tersco-02.svg'.

Below is the OSGI configuration for Named Image Transformer Factory and below are OSGI preoperties.
Transformer Name : psimg-1280
Image Transformers : resize:width=1280

Image transformer is not working with HTTP GET Request - http://localhost:4502/content/dam/transformer/Tersco-02.svg.transform/psimg-1280/image.svg

Thanks in advance.

@dillibabujata this feature only works w/ supported raster images due to the underlying java image library. SVGs are not supported; the inly way this would work is if you had a SVG DAM asset and it has raster (png/jpeg) web rendition.


Move run_example.sh & cleanup.sh from simple_app/ to sample_apps/

This commit pre-stages the location of two scripts that were developed for setting up and running the simple_app/ . The idea is to parametrize run_example.sh so that it can be used to build-and-test more than a few sample apps, starting from simple_app/. This extension will be done in follow-on PRs.

Attn: @jlmucb - This PR simply re-locates two scripts up one level, so that future changes to address issue #64 can be implemented, with few diffs in the change-set.