Replace Zend_Service_Amazon_S3 with official AWS SDK.

This isn't tested yet but would like to get your feedback.
Thanks!

Thanks for the feedback.
For the marketplace you could package it up after running "composer install" locally so that the files are all included, but currently they still need to be include or linked up with the autoloader somehow. For github users that don't use composer you could add some additional installation steps such as "download AWS SDK here, extract, etc.." although I concede that is not ideal. Unfortunately since Magento 1 does not work with composer out of the box it is kinda messy, but I'm pretty sure you don't want to just include the entire Amazon SDK in your repo but that would be an option as well.
To avoid breaking existing installations you could merge the new version into a new branch such as "aws-sdk" (I'd recommend making this the new default branch at that point) which would be used for composer users and the packaged versions. Modman users using master and Composer users using "dev-master" would continue to get the old version so at least their installations wouldn't break. The new version could be a 2.x release so that 1.x remains on the Zend libs. Just some ideas.
There are some bugs with the code still so don't merge it, just wanted to get your feedback to see if this was a direction you were interested in taking it. If you are still interested I can push up the fixes so that the code works 100% but managing the branchs and release strategy will still be up to you. Let me know what you think and thanks for sharing your work!

Hi @colinmollenhour,
Yeah, I am happy to maintain two separate branches:

master and develop will track the latest changes that you have made here and use the official AWS PHP SDK henceforth. Once we've merged your changes in, we will increment the semantic major version to 2.
1.x will track the legacy code that uses the built-in Zend AWS library.

How do you feel about that?
Regards,
Thai

Sounds good! Will update this branch with a more thoroughly tested PR in the next week or two.

Pushed another commit. Still not tested thoroughly yet but I think it's just about there.


About

Hi, What is this repository all about, I mean what are it's uses ? Please tell me.

This is a login system, made with python. This repository is a random project that I have made. There is no purpose for this project, I mean someone could use this project by integrating this code with the app they are building for authentication. However the main reason I made this is because I felt like it, nothing much.  No use but fun to play with. You can ignore it or mess around with it.

If you don't have any other questions then please close this issue.

Yeah I don't have any other question, thanks for telling, by the way I'm new to GitHub, can you tell me about GitHub, I mean not here, if you're ok I will give my email address to you : )

Ya sure, I am open to meeting new people like navdeep, you etc. Send me your email on this issue. I will send an email to you back to confirm.

its<EMAIL_ADDRESS>please try sending an email to. Well asked out of curiosity, please don't take it personally, where are you from?

I'm from India

sent a mail right now, check it


Avoid ClassCastException

Avoid ClassCastException when injectee doesn't refer to a Class, but for example to a ParameterizedType

Thanks!


mzTab validation fix

Changed the charge value that's written to the results mzTab file to an integer value in order to comply with the mzTab standard.

Looks good. Can you update the changelog as well?

Sure thing - I just updated the changelog.


Improved performance of splitAroundQuotation

This increases perf of splitAroundQuotation up to 50% and reduces GC 0 allocation counts by 60-70% roughly.

@Horusiath this is the hot path for the report you sent us. When this is merged and a nightly is produced, would you be interested in trying out the nightly when using your code that makes use of Type Providers? Based on some perf testing we think this should help.

FYI in our own testing, we saw an order of magnitude reduction in gen0 allocations with this change.
The trace analyzed had 50% of CPU time focused on GC collections, almost all from gen0

So this should hopefully make things better when working with Type Providers that produce large numbers of provided types.

@cartermp What is the tool that produces that table with profiling results?

PerfView: https://github.com/Microsoft/perfview

Load an ETL trace
The table is in GCStats


Removes success callback requirement for the CreateVisFirst view

Fixes: https://github.com/CartoDB/cartodb/issues/4067

Frontend tests were OK :+1: (details)

@xavijam: for your eyes [only].

:+1:


verbs 'restore'  and 'recycle' do not work?

in an angular project:
import * as compromise from 'compromise';
console.log(compromise('add').verbs().toPastTense().out());

works, but both:
import * as compromise from 'compromise';
console.log(compromise('restore').verbs().toPastTense().out());

and
import * as compromise from 'compromise';
console.log(compromise('recycle').verbs().toPastTense().out());

do not.
any suggestions?

there seem to be a problem with verbs starting with re

hey Dave, yeah sorry this isn't very clear at all.
restore and recycle are both being (mistakenly) tagged as a noun.
to remedy this, you can co-erce them to be a verb, first, like this:
https://runkit.com/spencermountain/59b6b622b94eaf001183d6b5
this is pretty weird, i acknowledge.

there seems to be a problem with verbs starting with re

Indeed, these verbs are also tagged as nouns:

Refactor
Release
Revert

yeah, re- is pretty strong, but re is not as strong a signal as i had earlier hoped, i think.
i think, since we have our lexicon compression thing working by prefix, it's basically free to add these to our lexicon.
will do in v11,
got any more?

@spencermountain these also seem to fail:

repeat
rebuild
reconcile
record
redefine
recover
restructure
resolve

hey, haven't gotten to this yet, but as of v11, there's support in the api for defining irregular (or in this case, mistaken) conjugations:
https://runkit.com/spencermountain/59f34c4fce71dc00133b8eee
cheers

Found another verb: 'expose' isn't being categorized correctly either

Another verb: 'upgrade'

Another verb: 'introduce'


Add a function for collecting funds

Would be fantastic if the SDK had a collect function to make allowing end-users to collect their funds easy. Relevant code in drips-app: https://github.com/radicle-dev/drips-app/blob/69f4278392103274aaad57e766a7ea7133a527b7/src/store/index.js#L807-L830

Hey @efstajas @gh0stwheel! Just started working on this. 🤓
Quick question. In the code snippet above I see that we check if the collection happens from a project or the hubs contract.
Do we want to expose the same functionality  and support both collections? Or just the "lowel-level" of the Hub?
What do you say?

Just the "lower-level" of the Hub for now.
In the first versions of the SDK we're not including anything related to the membership/NFT functionality, because the future roadmap of that functionality is uncertain.


We need to use the 'more specific' relation in type promotion

The current rule for when an is-expression 'shows a type' uses subtyping to ensure that we always promote to a type that holds atleast the same information as the current type (in order to hold all type information through a single type).
This breaks down due the fact that subtyping is not a partial order. For instance:
class A { aMethod() {} }
class B { bMethod() {} }
List<A> list = ...
if (list is List) { // ok since List <: List<A>
  if (list is List<B>) { // ok since List<B> <: List
    list[0].aMethod(); // warning, since operator[] on List<B> returns a B
  }
}
We need to use the more specific relation (<< defined in §15.4) as the criterion for showing the type of an is-expression. In the example this will make the promotion from List<A> to List invalid and thus retain the information that 'list[0]' returns an A.
Currently the more specific relation is not defined on function types and void, so this needs to be added.
I propose that a function type T is more specific that Function, and more specific than another function type S if T is a subtype S, the return type of T is more specific than the return type of S (covariance), and that all parameter types of T are less specific that the corresponding parameter types of S, if any, (contravariance).
For void, I propose that we only have void << void to avoid any promotion that changes the known return type of a function to or from void.

Since List <: List<A> is no longer true in Dart 2, I believe this is no longer an issue.


Test on PHP 7.4 stable

Thanks for all the update

No problem. I'm going through all my dependencies recursively to check they have tests, CI, and the CI runs on PHP 7.3 and 7.4. :)


WiFi Broken Again?

I seem to be having issues similar to those outlines in #3 .  But for me the wireless still doesn't work.  I used the get_firmware script and your latest v4.19 boot img (I couldn't manage to make a signed image on my own).
I love this project!  Everything is working but wireless (I can get by with ethernet in a pinch).  I don't think I'm quite the kernel hacker you are.  Any pointers or advice on getting my wireless up would be greatly appreciated!  Also, please let me know what info you might need.  Happy to carry out tests and do diagnostics.

Hello there!
Thank you for opening this issue!
Can you please try with one of the attached boot images?

boot-5.5-rc5.zip

vartom.zip
Out of curiosity, which rootfs are you using?

Thanks for the reply! I'm quite busy at the moment, so it may be a while before I get back to you. But I greatly appreciate the files.
I adapted the Arch Linux rootfs that can be built with the scripts linux-on-pixelc provides (something like rootfs_builder). The default didn't work, but it was a good enough starting point to build a Arch Linux rootfs that runs and appears to be stable as long as I don't run up against some firmware I seem to not have. I got the brcm stuff from Google as recommended. And I built Mesa with tegra turned on.


Noticable Lag in the recorded footage and the actual action

I am using the ESP 32 multi-client code with RTOS and it is extremely slow . Like not exactly slow but its from the actual time of activity to the moment it shows up on the camera its basically 7 -10 seconds. So if i connect this camera with an NVR . How am i supposed to match the timing. Also is there any way to still use the RTOS all frames thingy and decrease the lag or at least make that lag consistent enough .
Even if i know that the recorded footage is always going to lag by 10 seconds i can account for that . But if that time is a variable then the recorded footage is usable but you just cant match the actions in that footage with respect to time because you never know them in first place that how much lag was there.

There is nothing in the code that holds the frames back.
In my experience the lag was caused by

Buffering on the client side (VLC for instance has a default of 1000 ms or so, but you can adjust that)
Faulty ESP32-CAM modules (I suspect slow PSRAM chip? I did not investigate).

ESP-EYE for now is clearly the winner. ESP32-CAM - really depends where you get them from.
I did not test on any other chips.
Hope this helps.

Ok so i am using the AI thinker board . I am not sure about how fast or slow the PSRAM chip is . I followed your exact steps but i didn't exactly understand that why did you actually made people download the esp-cam updated git and put your code into the same folder . What help would it do ? And doesnt the same things already come along when you actually update the Arduino core of esp32 ?

Latest Arduino core does not have the latest drivers for the camera. Hence the download.


[AutoPR containerinstance/resource-manager] chore: jsonfmt containerinstance

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

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


Missing description which ionoscloud_server.type corresponds to which product

The ionoscloud_server resource has a type parameter (argument reference), that can be either CUBE and ENTERPRISE. Unfortunately, I am unable to find the information about which product offering on your web site this corresponds to.
The "Servers" menu on your web site mentions these products:

Virtual private servers (VPS)
Cloud servers
Dedicated servers
Managed servers

Can you tell me what CUBE and ENTERPRISE correspond to?

Hi, good point we'll update the docs.
Cube servers are described better here.
Enterprise here


Fix python 3 support in IDA 7.4

This version gets the netnode part of BinCAT working on IDA 7.4sp1 with both python 2 and 3.
I haven't tested it against older IDA versions, but it should work on all versions >= 7.0 i guess.
Edit: I remember that keys() is broken, I haven't had time to debug it.

Hi all!
The keys() issue is just a infinite recursion. The good keys implementation should be:
    def keys(self):
        return [k for k in self.iterkeys()] # it was keys() here causing recursion

Appart from that it works like a charm! @williballenthin have you an idea of when this pull request could be merged ?

Thanks @RobinDavid, I've updated the pull request (I haven't tested it though)

same recursion issue (and fix) for values and items.

further py3 fixes here: 18f8558c80cadd67333aa8ecc030f92e65e01f8a
tests adjusted and pass on idapython py3.7

i dont have a idapython py2.7 installation anymore, so might #yolo release this.


Created EC2 Hosts stuck at 'Installing Rancher agent'

Rancher Versions:
Server: 1.5.1
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker Version:
Rancher server:
Version:      1.12.6
API version:  1.24
OS and where are the hosts located? (cloud, bare metal, etc):
AWS default OS (no change when selecting "add Host"
Rancher VM: Ubuntu 14.04 64, AWS
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node (docker quick start guide)
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
cattle
Steps to Reproduce:
Create cattle env
Add hosts
Select EC2
Enter credentials
Add to same Availability Zone as Rancher Server
Use security group provided by Rancher
Select 3 micro instances (everything set to default)
Create, wait, never finishes
Results:
Stuck at 'Installing Rancher agent'
Any idea what the problem could be?

I'd log into the instances and check they have internet access and inspect the security group applied to rancher server and nodes.

Installing the agent suggests it was able to SSH to the host to install docker but that the registration URL for rancher is either wrong, unreachable, or untrusted (self-signed SSL cert),

I'm not sure, but I think I don't have the ssh keypair which is used for rolling out the machines. They have been created by Rancher itself.
@vincent99 The untrusted cert is possibly the problem, any idea/hint how I can fix that? I don't have a CA signed cert at hand.

ok, I fixed it by using http:// instead of https:// for the registration URL. Thanks for the hint guys!


Support multiple seats

There are inbuilt assumptions of one InputDevice which might not be case if we have more than one wl_seat

@mcatanzaro is looking into this.


Only working with dev tools open

I've tried the hook and component methods using the latest version of the package and it only seems to work when i have dev tools open in device toolbar mode (chrome).
If i just open the site in Chrome, Safari or Firefox on a Mac and resize the screen it does not trigger or throw an error

Can you post your code, or a reproduction case on codepen or similar?

Closing since I haven't gotten a response.


more farmware page button actions

Coverage increased (+0.01%) to 21.151% when pulling c07a0afd64121e539966e66fa9019da453cd2daf on gabrielburnworth:master into 9d18b5324ca310b1abd501901d92a932ea3074c7 on FarmBot:master.

Coverage increased (+0.01%) to 21.151% when pulling 0fbd57540181e358df7a1aef0cce483fcea086f2 on gabrielburnworth:master into 708ff5eff149c4203bf2c65340947928ebe2dd4c on FarmBot:master.


Unique contraint on ChecksumFile.url and Collection.name

Adds a unique constraint on ChecksumFile.url and Collection.name

@AlmightyYakob, merge when ready and update the dependency in RD-WATCH to point to the git commit in this repo over in  https://github.com/ResonantGeoData/RD-WATCH/pull/42


apptestai-test 0.0.1

New Pull Request Checklist

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

@koral-- I will request a new pull request by correcting the points indicated in the review. Thanks.


bs & bsearch not working here, although bc works

I really like this, it's kind of what Bear's search should be
bc works for me but bs reverts to google search when I hit the space bar after typing 'bs'. Debug window gives me:
I'm running MacOS 12, Monterey.
[09:27:01.719] Logging Started...
[09:27:19.165] Bear[Script Filter] Queuing argument ''
[09:27:19.234] Bear[Script Filter] Script with argv '' finished
[09:27:19.237] ERROR: Bear[Script Filter] Code 127: /Users/kimaldis/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/DE1C2DE5-2BB3-4A62-9AD3-3A27F7D23088: line 1: cmd/search/search: No such file or directory

I can't reproduce this. cmd/search/search is there in the workflow I uploaded to GitHub. You might try to use the security command at the bottom of the README.

Also, I recommend trying bcs as it allows you to both search and create.

It seems that cmd/search/search is not there in the installed workflow, only cmd/search/main.go. Let me look deeper. kyp

So I re-installed the workflow and suddenly, there it was. Go figure.
thanks

Glad to hear it.


Cognoma Logo

I don't like looking at the bland/blank icon for the cognoma github organization. Anyone creative want to design a logo?

Yes, we'll need a logo for the GitHub organization and website. We'll also need a favicon. Perhaps the same person wants to design both?
It would also be great if the logo could start as a vector image (SVG perhaps) that we could export to whatever needed resolution.

Uh, obviously my artistic skill is terrible. But here is some idea throwing in there.  :D Please feel free to take the idea and make it better somehow (because I don't how, haha)

@cgreene can you make this the organization photo (maybe crop it to be more zoomed in).
We can let others make submissions as well, and then vote which we like best. But until then, I think we should use @tkhunkhe's logo!

Done!

a favicon. Ugh, I don't know how to upload this, but here is the link to the file.
link to favicon.ico file

Submitted a (very simple) pull request for this, as well as a video explaining it that will hopefully be instructive for people wanting to submit pull requests on their own. @dhimmel can you point to any front end people who can review the PR? @tkhunkhe would you be willing to provide feedback on whether or not you found the video helpful?

@stephenshank The video was very helpful! Especially the last two minutes, I was able to follow along and understand the picture of what is going on. I I like the energy too 😄 👍  Thanks!

@dhimmel can you point to any front end people who can review the PR?

I merged https://github.com/cognoma/cognoma.github.io/pull/1. Awesome work with the video!
We'll keep this issue open in case anyone wants to submit additional designs. But for now we have some cool logos. Awesome work @tkhunkhe and @stephenshank.

Closing since we have a logo. Thx @tkhunkhe. Can reopen if anyone signals interest.

I have a friend whose father does graphic design. I asked a while back about a logo, and recently received the following black and white image. I also added some color gradients, messing around with GIMP. Figured I'd share and see what everyone thought.

Wow those are awesome!

I have a friend whose father does graphic design.

Did you want to share his name so we can recognize his contribution? Maybe even get him on the GitHub!

Did you want to share his name so we can recognize his contribution?

His name is Jeff Riegler, and I think it would be great to recognize him.
I can submit a PR to this repository with the image in SVG format, if this is desirable.

I can submit a PR to this repository with the image in SVG format

Sounds good. Can you override the git author using:
git commit --author="Jeff Riegler<EMAIL_ADDRESS>

I can submit a PR to this repository with the image in SVG format

Yea SVG and a high res PNG.

@stephenshank the SVG logo would be nice -- is it ready for a pull request?

Closing as I think Jeff Riegler's logo is awesome. Thanks to @stephenshank, it's now available in the media/logo directory.


Date returned is in "TIME ago" format?

Describe the bug
Well, it's pretty simple. If I would iterate over videos and return the upload date, it is simply like "3 weeks ago". But how can I get the date?
To Reproduce
const p = await youtube.getChannel('UCV0qA-eDDICsRR9rPcnG7tw');
const videos = (await p?.videos.next(p.videoCount)) || [];
console.log('Date: ' + moment(videos[0].uploadDate).toDate());

Expected behavior
Return a real date.
Screenshots

Additional context
Or isn't this a bug? Well then, please tell me how to convert it to a date! Thanks.

E


Move config to lua setup

Idea
local palette = require('rose-pine.palette')
require('rose-pine').setup({
    variant = 'dawn',
    colors = {
        comment = palette.foam,
    }
})

Unfortunately, I am struggling to get this working properly without a dependency loop. With my attempts, config.lua requires palette.lua to set default colours and palette.lua requires config.lua for the variant to return the correct palette.

This is currently implemented on the canary branch. API may change before release.


Coverage of pkg/actors/internal/placement.go randomly fluctuate

In what area(s)?

/area test-and-release
What version of Dapr?
HEAD
Expected Behavior
Test coverage of pkg/actors/internal/placement.go is stable across run.
Actual Behavior
Coverage changes between runs.
Not only this causes incorrect coverage reporting, this may allow a bug to go in some times and cause flakiness after.
Steps to Reproduce the Problem
Check our pull requests to see coverage fluctuate even for unrelated changes.
Release Note

RELEASE NOTE:

This bug may be related to https://github.com/dapr/dapr/issues/2564, since we often see a correlation when one file gets increased coverage, the other sees a reduction. It is possible that these two code location gets covered in mutually exclusive scenarios.

cc @artursouza @wcs1only


As a Professor, I want to be able to create a dynamic syllabus, so that I can curate the learning experience for my students.

Background
Professors have a curriculum or general topics they want to teach their students. They typically turn to the Qiskit Textbook as a resource for hands-on experimentation. Currently, Professors have to painstakingly collect Qiskit Textbook links themselves, order a subset into a syllabus, and share via static documents
Goal
Professors should be able to create and share their own curated syllabus
Acceptance Criteria:

[ ] Professors should be able to create their own course overview page that shows their institution's name and their course name
[ ] Professors should be able to add and order Qiskit Textbook links to their custom course overview page (syllabus)
[ ] Each syllabus, at this MVP stage, would be an ordered list of Qiskit Textbook links
[ ] Professor should be able to select Qiskit Textbook, Lab, Summer School, Project content into a syllabus
[ ] Each syllabus will have a unique URL that is publicly sharable
[ ] Review Syllabus designs with Professors
[ ] Validate Syllabus Feature with Professors

Other

[ ] Instrument syllabus creation + visits into Segment

[ ] How many syllabi created per account?
[ ] How many people visit a syllabus?
[ ] For people who visited a syllabus, how many of them started reading the learning material in the syllabus?

Design
https://www.figma.com/file/f1QMqiXSgt2FCt0itvsA24/676-Professor-Syllabus?node-id=0%3A1
Tasks
Setup:

[x] #747
[x] #748
[x] #749

Prio 1:

[x] #771
[ ] #762
[ ] #763
[ ] #764
[ ] #765
[ ] #766
[ ] #767
[ ] #768
[ ] #769
[ ] #770

Prio 2:

[ ] #772
[ ] #773

Prio 3:

[ ] #774
[ ] #775

Prio 4:

[ ] #776
[ ] #777

After talking to @JRussellHuffman and @gracelindsell, we realised that Course Overview page is a great "output", so we need to figure out the UI flow for a Professor creating a custom syllabus as "input"

Architecture Review with @gracelindsell, @eddybrando, @techtolentino, and @Tansito

This is a reasonably simple prototype

Walked through @gracelindsell's prototype
Chapter Identifiers (@eddybrando): What if we change the title or delete Textbook sections? We don't have chapter identifiers and this is something we might need to figure out later
Save to Syllabus (@gracelindsell): "if a user can save a syllabus, and then can see the preview"...let's figure out a loader + toast once you save. If things are unsaved, we could change the focus colour. This could be a bit more complex from a technical perspective since we have to save + compare states (@eddybrando)
Deleting Content (@eddybrando): Should we get a confirmation message? We could reuse the Account Deletion UX. Plus deletion could be save
Database: We'll save this in our database, not Mathigon
What if a user deletes their account, what happens to the syllabus: We're not sure yet but let's try to table this for now. Deleted account syllabi would stay
What should a shared preview be: Let's keep this simple for now since it's a nice to have
Metrics: Out of scope for now...let's wait until later

Next Steps

[ ] @gracelindsell cleaning up prototype
[ ] This has a dependency on User Accounts...once @Tansito merges #271, it should be ready

#753 completed

v1 has been shipped and we will move v2 to a new user story. Great work to the syllabus feature dev, design, and product team.


Added original Bitcoin white paper

Added Bitcoin: A Peer-to-Peer Electronic Cash System by Satoshi Nakamoto

Thanks!


Theme Hot Reloading

Currently theme development with pc-compat is cumbersome on Kernel via pc-compat when compared to the experience offered by other mods. It's cumbersome to develop themes and have to manually reload them every time when most mods use a file watcher to automatically reload themes for you whenever they notice that a theme has been modified.

I would like to add a +1 to this issue.
Coming from someone who is spoiled from other client mods which do not require a manual reload to see saved changes-- despite this being a mere small inconvenience, it would definitely smoothen the workflow.
Regardless, I am thankful to the maintainer of this project.


Fix comparing version strings

Use version_compare() to compare version strings.
var_dump('2.9.6' > '2.9.14'); // bool(true)
var_dump(version_compare('2.9.6', '2.9.14', '>=')); // bool(false)

Also check if fixed_in has a value. null means that plugin has not yet been fixed.

Great :)

Great :)


Is it possible to code the header at the end?

I am dynamically populating a table in a function which returns ta string by calling to_string() in the end. My logic is such that I may end up in not adding any data at all to the table. In such cases I don't want to add any header to the table, so that to_string() returns an empty string.
Hence a feature to add the header at the end after knowing the number of rows (or whenever we wish) will be helpful. Currently I use workarounds to return an empty string from my function, as adding the header afterwards adds it after all the data added till then.

Hi!
I think it is not possible to do it at the moment.
At the moment it is possible to change current cell where content will be inserted. In current implementation after that new content will overwrite existing one.
As far as I understand you want to get another behavior - new inserted content should be in a brand new row and the old rows should just go below.
So as a generalization: you want somehow change (or be able to change) current strategy "overwrite old content with the new one" with the new strategy "insert new content, old content preserve" for content adding functions. Do I understand your problem correctly?

yes the snippet you posted is what I want to do.. For me as an user,  the header line should always be the at the top of the table; irrespective of the time when it is added/coded.
int main()
{
    fort::char_table table;
    table << fort::header << "N"
          << "Driver"
          << "Time"
          << "Avg Speed" << fort::endr;
    table << "1"
          << "Ricciardo"
          << "1:25.945"
          << "47.362" << fort::endr;
    table << "2"
          << "Hamilton"
          << "1:26.373"
          << "35.02" << fort::endr;
    std::cout << table.to_string() << std::endl;
}

please note that to add the header we need to do insert a special attribute to the able i.e. table << fort::header
So the table knows which is the header row. So why must we add the header the very beginning?  Why can we just add it whenever we want to?

In my view all these code samples should produce the same output, but they don't:
int main()
{
    fort::char_table table;
    table << fort::header << "N"
          << "Driver"
          << "Time"
          << "Avg Speed" << fort::endr;
    table << "1"
          << "Ricciardo"
          << "1:25.945"
          << "47.362" << fort::endr;
    table << "2"
          << "Hamilton"
          << "1:26.373"
          << "35.02" << fort::endr;
    std::cout << table.to_string() << std::endl;
}

int main()
{
    fort::char_table table;
    table << "1"
          << "Ricciardo"
          << "1:25.945"
          << "47.362" << fort::endr;
    table << "2"
          << "Hamilton"
          << "1:26.373"
          << "35.02" << fort::endr;
    table << fort::header << "N"
          << "Driver"
          << "Time"
          << "Avg Speed" << fort::endr;
    std::cout << table.to_string() << std::endl;
}

int main()
{
    fort::char_table table;
    table << "1"
          << "Ricciardo"
          << "1:25.945"
          << "47.362" << fort::endr;
    table << fort::header << "N"
          << "Driver"
          << "Time"
          << "Avg Speed" << fort::endr;
    table << "2"
          << "Hamilton"
          << "1:26.373"
          << "35.02" << fort::endr;
    std::cout << table.to_string() << std::endl;
}

btw what does << fort::header do? Apparently its just equivalent to << fort::endr << fort::separator

I got your idea. It doesn't work the way you thing because in libfort there is no a distinct entity such as header. All rows (ordinary rows and headers) are pretty much the same. In libfort header is just a property of the row. Rows that have this property just have another border and that's all.
Approach when we treat headers as some kind of special entity is simply not flexible (e.g. you can't have headers at the bottom, multiple headers etc.).
fort::header is just setting property for the row (it equivalent to ft_set_cell_prop(table_, FT_CUR_ROW, FT_ANY_ROW, FT_CPROP_ROW_TYPE, FT_ROW_HEADER);)

well, spreadsheet applications for example treat headers as special entities, and allow to customize the header in many ways, for example put it in every page in a printout. :)

Yes, I understand what you mean but as I said this approach with treating headers and ordinary rows differently is more complicated and also I believe current approach is more flexible. All that logic with some special behavior can be added externally in some kind of a wrapper(maybe I am wrong). So I prefer to keep things simple and implement more basic functionality.
Returning to you initial question. I can suggest adding new property to the tables (lets call it CONTENT_ADDING_STRATEGY (with 2 possible values REPLACE(default one), INSERT). I think this approach is rather flexible. Also it will fit well for some other scenarios.
In this case your code will look like this.
// in c++ api
std::string some_function()
{
  fort::char_table tbl;
  tbl.set_adding_strategy(fort::strategy::INSERT);
  // populate tbl with data

  // add header if some data were really added
  if (!tbl.is_empty()) {
     // note that you have to explicitly set current cell here
     tbl.set_cur_cell(0, 0);
     // you explicitly add header in place of the 0th row all other rows will be shifted
     tbl << fort::header << "hdr1" << "hdr2" << "hdr3";
  }
  return tbl.to_string();
}

// Also if you don't like to set this property for each table
// you can set it one time during some initialization
fort::default_props().set_adding_strategy(fort::strategy::INSERT);

Does it suit you? Or maybe you don't like it?

Hi. I implemented adding_strategies and merged branch to develop.
Now it is possible to add rows (and headers) at any time to any place in the table.
Here is a simple example:
int main()
{
    fort::char_table table;
    table.set_adding_strategy(fort::add_strategy::insert);

    // Fill table with data
    table << "1" << "2" << fort::endr;
    table << "3" << "4" << fort::endr;

    // explicitly add header as the top row
    table.set_cur_cell(0, 0);
    table << fort::header
          << "hdr1" << "hdr2" << fort::endr;

    std::cout << table.to_string() << std::endl;
}

Output:
+------+------+
| hdr1 | hdr2 |
+------+------+
| 1    | 2    |
| 3    | 4    |
+------+------+

The syntax is rather verbose but it is simple and straightforward. You have to explicitly specify adding_strategy as replace. After that when you want to insert some data inside the table you explicitly set current cell with set_cur_cell and then use ordinary functions to fill the cells.
If this solution doesn't solve your problems fill free to write here your suggestions or problems that you encounter.

thanks, so now we can code the header either at the start or at the very end. I tried the following
int main()
{
    fort::char_table table;
    table.set_adding_strategy(fort::add_strategy::insert);

    // Fill table with data
    table << "1"
          << "2" << fort::endr;
    // explicitly add header as the top row
    table.set_cur_cell(0, 0);
    table << fort::header << "hdr1"
          << "hdr2" << fort::endr;
    table << "3"
          << "4" << fort::endr;
    std::cout << table.to_string() << std::endl;
}

and this was the output
+------+------+
| hdr1 | hdr2 |
+------+------+
| 3    | 4    |
| 1    | 2    |
+------+------+

adding more data after adding the header gives counter-intuitive results.

Pressed the wrong button and the issue got closed...

That's expected behavior.
As I already said above there is nothing special with headers. They are ordinary rows. That's library design principle.
Functions set_adding_strategy and set_cur_cell also ordinary functions. They don't do any specific for headers. They designed in a general way so that they affect all inserted cells(either in headers or in ordinary rows). There is no reason to limit the functionality of adding cells to random place only for headers. Therefore when you specify that you will insert data to the beginning of the table library will add there all rows (headers and ordinary rows). It's a library user responsibility to specify where to place data. So in your last example if you want to add 3 and 4 to the end you have to explicitly specify it with table.set_curl_cell(2, 0); before pushing these data.
However, maybe what you want can be implemented with a little bit different API. Something like that:
int main()
{
    fort::char_table table;
    table.set_adding_strategy(fort::add_strategy::insert);

    // Fill table with data
    table << "1" << "2" << fort::endr;

    // Note that I explicitly specify row where I insert the header
    table[0] << fort::header << "hdr1"  << "hdr2" << fort::endr;

    table << "3" << "4" << fort::endr;
    std::cout << table.to_string() << std::endl;
}

So the idea of this API is that we can  apply modifiing operations not on the table as a hole but on the rows and that in this case this operations won't affect position of the current cell. I need to think about this possibility thoroughly and also how it will look with current  modifying operation on distinct cells (like tbl[2][3] = "some_data"; ) which affect position of the current cell. So I am not sure if it will be ok to implement it. Need to think about it anyway.

Wouldn't a header at the end typically be called a footer? :)
Since it is just decorative, perhaps renaming it as a cell/row border bolding or callout property?  Something like:  tables[123] << fort::emphasize << "Total:" << "123" << fort::endr;

appending the table at the end will be a footer, but pre-pending the table at the end will still be a header! :)


[DO-NOT-MERGE]feat: adding cli options commands hooks

Description of changes

added a field runtime_options to hooks-config.json to pass in cli options with their custom runtime.
added logic to pass runtime_options with commands file to run

Issue #11848

Docs PR: https://github.com/aws-amplify/docs/pull/5091)

Description of how you validated changes

added unit test to make sure runtime_options are passed
manually tested

PrePush.js -> console.log('hello')
preload.js -> console.log('this is from preload')
Hooks Config:

amplify Output:

amplify-dev output :

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #11898 (b24965f) into dev (984c0f8) will decrease coverage by 3.45%.
The diff coverage is 60.07%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev   #11898      +/-   ##
==========================================
- Coverage   49.45%   46.00%   -3.45%
==========================================
  Files         692      819     +127
  Lines       33424    37676    +4252
  Branches     6840     7736     +896
==========================================
+ Hits        16529    17333     +804
- Misses      15370    18647    +3277
- Partials     1525     1696     +171

Impacted Files
Coverage Δ

...y-appsync-simulator/src/resolvers/unit-resolver.ts
90.32% <0.00%> (ø)

...ages/amplify-appsync-simulator/src/schema/index.ts
70.68% <0.00%> (-1.25%)
:arrow_down:

...tor/src/velocity/util/transform/dynamodb-filter.ts
4.93% <0.00%> (ø)

...ync-simulator/src/velocity/util/transform/index.ts
21.05% <0.00%> (ø)

...ackages/amplify-category-auth/src/commands/auth.ts
0.00% <0.00%> (ø)

...es/amplify-category-auth/src/commands/auth/help.ts
0.00% <0.00%> (ø)

.../amplify-category-auth/src/commands/auth/import.ts
0.00% <0.00%> (ø)

...c/provider-utils/awscloudformation/import/index.ts
31.02% <ø> (ø)

...vice-walkthrough-types/cognito-user-input-types.ts
100.00% <ø> (ø)

.../awscloudformation/utils/auth-defaults-appliers.ts
91.17% <ø> (ø)

... and 401 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


bug: In pharmacy pin numbers is coming wrong

Bug Definition
While checking pharmacies pin number looks wrong. When if there is even only one pharmacy on that spot we are seeing 4 or even more in number tag.
-- Please add discord contact information
** discord username: notDepresseDeveloper#0919 **
## Bug environment
rc.afetharita.com
Describe how you are producing the bug step by step

Go to rc.afetharita.com
Filter pharmacies
Look for pharmacy regions
Zoom in to see real pharmacy size in that spot

Expected Behaviour
Pin count tag should be seen correctly
Screen shots

Desktop Information

Operating System: [for example iOS]
Browser [for example, safari]
Version [for example 22]

Mobile Phone Information

Devıce: [for example iPhone6]
Operating System (with the version): [for example iOS8.1]
Version [for example default browser, safari]
Browser Version [for example 22]

Additional Context
Add any other context about the bug here

I have tested this issue. this is not a bug and not happening in every location. some pharmacy locations have the exact same locations. so they are overlapping. @sevilayerkan @CyhnYldz


Train cars196 dataset with Pairwise postprocessing meet problem

I would like help with the training problem. I used the cars196 data set to test the training process of Pairwise postprocessing, but the hanging chain is very slow and the index is very low. Please help me how to set this up.

@chang48 @dapladoc @churnikov @alexmelekhin

Hi, @snow-wind-001
Thank you for your interest in OML. What is the problem exactly? Please, provide us with more infromation

My level is very limited, and the problem may also be due to my lack of understanding of this project, but then I ran the postprocessor.jpynb file and made modifications, but there were many problems. First, in order to save the training code and enable testing, I modified the code, but as the training progressed, the Metrics almost remained unchanged. Please help me point out my mistake.
from pprint import pprint
import torch
from torch.nn import BCEWithLogitsLoss
from torch.utils.data import DataLoader
from oml.datasets.base import DatasetWithLabels, DatasetQueryGallery
from oml.inference.flat import inference_on_dataframe
from oml.metrics.embeddings import EmbeddingMetrics
from oml.miners.pairs import PairsMiner
from oml.models import ConcatSiamese, ViTExtractor
from oml.retrieval.postprocessors.pairwise import PairwiseImagesPostprocessor
from oml.samplers.balance import BalanceSampler
from oml.transforms.images.torchvision import get_normalisation_resize_torch
from oml.utils.download_mock_dataset import download_mock_dataset
下载数据集
dataset_root = "mock_dataset/"
download_mock_dataset(dataset_root)
from typing import Optional, Union
from pathlib import Path
import torch
class CustomViTExtractor(ViTExtractor):
def init(self, arch: str = "vits16", normalise_features: bool = False, use_multi_scale: bool = False, weights: Optional[Union[Path, str]] = None):
# 在初始化时，不立即加载权重
super().init(weights=None, arch=arch, normalise_features=normalise_features, use_multi_scale=use_multi_scale)
    # 加载权重逻辑被移到这里，允许更灵活的权重处理
    if weights is not None:
        self.load_pretrained_weights(weights)

def load_pretrained_weights(self, weights: Union[Path, str]):
    # 检查路径是否指向一个本地文件
    if isinstance(weights, str) and Path(weights).exists():
        # 本地文件存在，直接加载
        ckpt = torch.load(weights, map_location="cpu")
        state_dict = ckpt["state_dict"] if "state_dict" in ckpt else ckpt
    elif weights in self.pretrained_models:
        # 使用预定义的模型键加载
        pretrained = self.pretrained_models[weights]
        downloaded_weights = download_checkpoint_one_of(
            url_or_fid_list=pretrained["url"],
            hash_md5=pretrained["hash"],
            fname=pretrained["fname"],
        )
        ckpt = torch.load(downloaded_weights, map_location="cpu")
        state_dict = ckpt["state_dict"] if "state_dict" in ckpt else ckpt
    else:
        raise ValueError(f"Cannot locate the weights file at {weights} and it's not a predefined model key.")

    # 加载权重到模型
    self.model.load_state_dict(state_dict, strict=False)
    pprint('加载权重到模型!!')

@classmethod
def from_pretrained(cls, path: Union[Path, str], arch: str = "vits16", normalise_features: bool = False, use_multi_scale: bool = False):
    """
    Create a CustomViTExtractor instance from a pretrained model file.
    If the path is not a local file, it attempts to download from the predefined model keys.
    Args:
        path (Union[Path, str]): The path to the pretrained model weights file or a predefined model key.
        arch (str): Model architecture key from supported types in the base class.
        normalise_features (bool): Whether to normalise output features.
        use_multi_scale (bool): Whether to use multi-scale processing.

    Returns:
        CustomViTExtractor: An instance with the pretrained weights loaded.
    """
    return cls(weights=path, arch=arch, normalise_features=normalise_features, use_multi_scale=use_multi_scale)

使用示例
extractor = CustomViTExtractor.from_pretrained('/content/best_siamese_model.pth', arch='vits16')
初始化模型和变换
extractor = ViTExtractor("vits16_dino", arch="vits16", normalise_features=False)
transform = get_normalisation_resize_torch(im_size=64)
进行数据推理
embeddings_train, embeddings_val, df_train, df_val =
inference_on_dataframe(dataset_root, "df.csv", extractor=extractor, transforms=transform)
构建Siamese模型和优化器
siamese = ConcatSiamese(extractor=extractor, mlp_hidden_dims=[100])
optimizer = torch.optim.SGD(siamese.parameters(), lr=1e-6)
设置训练数据和miner
miner = PairsMiner(hard_mining=True)
criterion = BCEWithLogitsLoss()
train_dataset = DatasetWithLabels(df=df_train, transform=transform, extra_data={"embeddings": embeddings_train})
batch_sampler = BalanceSampler(train_dataset.get_labels(), n_labels=3, n_instances=4)
train_loader = DataLoader(train_dataset, batch_sampler=batch_sampler)
设定训练轮次
epochs = 1000  # 可以根据需要调整此值
best_map = 0  # 用于跟踪最高的mAP值
best_model_path = "best_siamese_model.pth"  # 保存最佳模型的路径
for epoch in range(epochs):
for batch in train_loader:
ids1, ids2, is_negative_pair = miner.sample(features=batch["embeddings"], labels=batch["labels"])
probs = siamese(x1=batch["input_tensors"][ids1], x2=batch["input_tensors"][ids2])
loss = criterion(probs, is_negative_pair.float())
    loss.backward()
    optimizer.step()
    optimizer.zero_grad()

print(f"Epoch {epoch+1}/{epochs}, Loss: {loss.item()}")
if epoch % 20 == 0:
  # 验证数据集设置
  val_dataset = DatasetQueryGallery(df=df_val, extra_data={"embeddings": embeddings_val}, transform=transform)
  valid_loader = DataLoader(val_dataset, batch_size=4, shuffle=False)

  postprocessor = PairwiseImagesPostprocessor(top_n=3, pairwise_model=siamese, transforms=transform)
  calculator = EmbeddingMetrics(postprocessor=postprocessor)
  calculator.setup(num_samples=len(val_dataset))

  for batch in valid_loader:
      calculator.update_data(data_dict=batch)

  # 计算并打印指标
  metrics = calculator.compute_metrics()
  pprint(metrics['OVERALL']['map'][5])
  current_map = metrics['OVERALL']['map'][5]  # 假设metrics字典中包含map键
  if current_map > best_map:
      best_map = current_map
      torch.save(siamese.state_dict(), best_model_path)
      print(f"New best mAP: {best_map} saved")

最终验证，用最佳模型
siamese.load_state_dict(torch.load(best_model_path))
val_dataset = DatasetQueryGallery(df=df_val, extra_data={"embeddings": embeddings_val}, transform=transform)
valid_loader = DataLoader(val_dataset, batch_size=4, shuffle=False)
postprocessor = PairwiseImagesPostprocessor(top_n=3, pairwise_model=siamese, transforms=transform)
calculator = EmbeddingMetrics(postprocessor=postprocessor)
calculator.setup(num_samples=len(val_dataset))
for batch in valid_loader:
calculator.update_data(data_dict=batch)
计算并打印指标
metrics = calculator.compute_metrics()
pprint(metrics)
Epoch 782/1000, Loss: 0.723181962966919
Epoch 783/1000, Loss: 0.6584874391555786
Epoch 784/1000, Loss: 0.6846531629562378
Epoch 785/1000, Loss: 0.7408323884010315
Epoch 786/1000, Loss: 0.7202926874160767
Epoch 787/1000, Loss: 0.7067816257476807
Epoch 788/1000, Loss: 0.7001203298568726
Epoch 789/1000, Loss: 0.7115796208381653
Epoch 790/1000, Loss: 0.7126930356025696
Epoch 791/1000, Loss: 0.6817541122436523
Epoch 792/1000, Loss: 0.6886244416236877
Epoch 793/1000, Loss: 0.7140399217605591
Epoch 794/1000, Loss: 0.7016043663024902
Epoch 795/1000, Loss: 0.7147329449653625
Epoch 796/1000, Loss: 0.7019691467285156
Epoch 797/1000, Loss: 0.7078322172164917
Epoch 798/1000, Loss: 0.6625533699989319
Epoch 799/1000, Loss: 0.7391482591629028
Epoch 800/1000, Loss: 0.6767370104789734
Epoch 801/1000, Loss: 0.7265196442604065
Postprocessor's inference has been started...
cpu: 100%
 1/1 [00:00<00:00,  3.66it/s]
Metrics:
{'OVERALL': {'cmc': {5: tensor(0.7500)},
'map': {5: tensor(0.4167)},
'pcf': {0.5: tensor(0.0052)},
'precision': {5: tensor(0.6250)}}}
@AlekseySh

https://colab.research.google.com/drive/1o5CQbbafdKyiooewOHfAqmxJ1b--6UJ8?usp=drive_link

@snow-wind-001 have you tried to increase learning rate?
there is no access to your colab

Check a new example on how to train and use model as a postprocessor in a new OML 3.0: https://open-metric-learning.readthedocs.io/en/latest/postprocessing/postprocessing_home.html
If you still need help here, just re-open this issue


and some small code cleanup ;)

hahaha, oh wow, thanks :D
although having "horse" and "goat" in this word list is kind of... disturbing.
Array#sample is 1.9-specific, it was Array#choice in 1.8. Can you make that line work on both rubies? Something like if(@paragraph_list.respond_to?(:sample)) etc.

hahaha, oh wow, thanks :D

No problem - I had lots of fun checking sample results and inventing new keywords ;)
although having "horse" and "goat" in this word list is kind of... disturbing.

Yep, I know, but it's blasphemy man ;)
Array#sample is 1.9-specific, it was Array#choice in 1.8. Can you make that line work on both rubies? Something like if(@paragraph_list.respond_to?(:sample)) etc.

Ruby 1.8? Srlsly, someone's still using it? But sure, I can change it ;)

nah, not really using 1.8, but i'd love it to be green on travis for all the rubies now that there's a testsuite. so, waiting for new commit. in the meantime i'll set up travis :D

ok, added. In the meantime I'll do some research for new keywords :D


Prerequisites list is missing the Azure AD Powershell Module

https://www.powershellgallery.com/packages/AzureAD/<IP_ADDRESS>
or Install-Module -Name AzureAD

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

ID: 49643811-ee04-ae88-8153-aad4cc009b73
Version Independent ID: d1e1f15d-d988-7951-e453-f10ed6bb20bf
Content: Use a Windows VM system-assigned managed identity to access Azure AD Graph API
Content Source: articles/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-azure-ad-graph.md
Service: active-directory
GitHub Login: @priyamohanram
Microsoft Alias: priyamo

@IanMercer Thank you for your feedback . We will investigate and update this thread.

@IanMercer Thanks again for reporting this. I have added the PS requirement to the prerequisite list and it should be updated shortly.

We will now close this issue. We already have a pull request associated with this and it will be updated once approved by the author in the pipeline. thank you.


Mesh scripts: doc/typos/fixes/clarifications/simplifications

Improvements/corrections to the mesh expansion / vm setup script

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-cluster_wide-auth.sh
66d61fb5a94052fe0767e45fad8faa6a92b17ae6
link
/test e2e-cluster_wide-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Update README.md warning on initialization errors

Initialization errors should be caught within the callback. They won't emit the error event.
PR Checklist:

[x] I have run npm test locally and all tests are passing.
[x] I have added/updated tests for any new behavior.

[x] If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]

PR Description

@kamagatos thanks for the contribution!
Hmm, this seems like a bug more than a blessed way of doing things. I would rather we fix the issue instead of documenting a temporary workaround. @kamagatos Are you interested in creating a fix for this?


[Feature] Add 'Interrupted' cast bar

Describe the feature
In ElvUI, there is an option to show a cast that is interrupted, with a configurable amount of 'time to hold'. indicating how long the 'interrupted' bar should stay on screen before disappearing. I would like to see this in Cell_UnitFrame's cast bars, along with some extra features (listed beneath) that ElvUI does not support.
Below is an example as it appears in ElvUI:

Describe the implementation
I would like to be able to:

Choose the text label, with it defaulting to the word Interrupted
Optionally tell you the spell name of the cast that was interrupted
Optionally tell you the name of the unit that interrupted the cast, colored by the unit's class name, e.g. "Interrupted (Playername)" where playername is pink if the player is a paladin
Choose the duration for how long the bar stays on screen after changing to the 'Interrupted' state, defaulting to 0.7s (the default in ElvUI)

Implemented with #194.
Only thing not implemented is the source of interrupt, since this isn't information that is readily available outside of CLUE events; which I want to avoid.


Added postgresdb install and configured into kruize.

@msvinaykumar please resolve the conflicts

@msvinaykumar - I was looking at the pod describe log and I see a warning
Warning  Unhealthy  43s (x9 over 103s)  kubelet            Liveness probe failed: chmod: cannot access '/home/autotune/app/target/bin/TestDBConnection': No such file or directory
We will need to update the workflows to validate the working of liveness probe.

@msvinaykumar - Please update the deploy script too as it references the crc yamls and the path is now changed.


Support for container transition

Related to #188
This PR contains only one new class: Container (need to find a better name) allowing the usage of IBAnimatable animators to make transition between childViewController. The usage is really straightforward:
let transitionContext = ContainerTransition(animationType: .Fold(direction: direction, params: []),
                                                    container: containerView,
                                                    parentViewController: self,
                                                    fromViewController: fromViewController,
                                                    toViewController: toViewController) {
      self.currentViewController = toViewController
}
transitionContext.animate()

More details:

Doesn't support interactive gesture
Doesn't support for interface builder
If nil is passed as fromViewController, it will set the toViewController as default without animation
Handle all the logic to transit from a view controller to a new one, with an animation
Support every TransitionAnimationType

That feature doesn't really follow the main goal of IBAnimatable (a library for designers), but I'm sure it's worth it for every developers using it programatically.  What do you think?
If you are ok to merge it, I will update the CHANGELOG, README, and also add an example in the demo project.

@tbaranes thanks for your PR, I don't have better idea to call it, may call ContainerControllerAnimatedTransition or just ContainerTransition? it is your call to name it.
IB doesn't support ContainerView either, and we have to use code to support / switch multiple viewControllers, I actually like this PR because it can enable all ***Animators to use in sub controllers, not only for Push/Pop and Present/Dismiss transitions. That one principle when we architectured our Transition Animators / Controllers, they are all standard transition controllers conforming to UIViewControllerAnimatedTransitioning, we can use them in Apple's standard way for transitions.

Happy to see you like it! For the name, I was thinking about ContainerTransition too, so it will probably be the final name.
l will add an example, and update the docs this weekend 🎉

cool, thanks @tbaranes  🎉

Update of this PR:

Add a UITabBar using ContainerTransition example, it's accessible from the transitions tableView. Each UITabBarItem will be show with different animation: Explode, Fold, Portal, and NatGeo
Update the CHANGELOG
Didn't update the README since we are going to change its architecture

Ready to go 🎉

Cool, please merge it. 👍


Undocumented auto-included wildcard columns

Summary of problem or feature request
I'm selecting a few specific columns (id, name, email) using Eloquent, but for some reason DataTables adds in an additional users.* definition which means the rest of the table is also included in the result. However, in order to keep the data-set small, I'd like to limit this to the mentioned columns.
I haven't found anything in the documentation describing this behavior and whether it can be disabled somehow.
Code snippet of problem
$data = User::select(['id','name','email']);
return Datatables::of($data)->make();

This results in query:
select `id`, `name`, `email`, `users`.* from `users` desc limit 25 offset 0

I don't want it to include the users.* part.
System details

Operating System: Ubuntu
PHP Version: 7.0.18
Laravel Version: 5.4.19
Laravel-Datatables Version: 7.3

Seems like it's working fine as per this demo?

@yajra Odd, the query of that particular demo doesn't contain the whole table indeed:
      "query": "select `id`, `name`, `email`, `created_at`, `updated_at` from `users` where `users`.`deleted_at` is null order by `id` asc limit 10 offset 0",

Hmm for some reason the WithJoinTrait causes this issue. If I disable it, it works just fine.

I see, add select was added on this line: https://github.com/sleeping-owl/with-join/blob/master/src/SleepingOwl/WithJoin/WithJoinEloquentBuilder.php#L161
The problem is on that package.


Blur event on input is applying the blur directive

The input in ion-input has a (blur) event, this is triggering the blur directive which looks for [blur]. This is causing blur over input labels in safari.

Anyone that runs into this issue please install the nightly version for a fix: npm install<EMAIL_ADDRESS>--save


Feature/status static messages

@shippy @PiechZ
Status messages for loading, error, and no achievements implemented.
Please test and deploy if you think it's okay.


HTTP interface & docs

having some issues getting going with curl
I can access some endpoints fine from the host machine, e.g.
curl http://localhost:60610/status
{"msg":"RE Manager","items_in_queue":6,"items_in_history":0,"running_item_uid":null,"manager_state":"idle","queue_stop_pending":false,"worker_environment_exists":true,"re_state":"idle","run_list_uid":"910dbf55-cde0-491a-b115-a683c13ee6b2","plan_queue_uid":"723a63a5-3419-4480-b71f-4e2e0186b3bb","plan_history_uid":"49571337-691a-4ca1-be80-1b07400a28fa","devices_allowed_uid":"9f613759-4ead-4e37-b999-c901a9b08942","plans_allowed_uid":"c3b7c636-7b2c-4242-95cc-6bd8a841f503","plan_queue_mode":{"loop":false}

and
curl http://localhost:60610/queue/get
{"success":true,"msg":"","items":[{"name":"the_plan","args":[-70.0,92.0],"item_type":"plan","user":"qserver-cli","user_group":"admin","item_uid":"c68d8ba5-9cf5-41b8-a2f6-d63f8de134a6"},{"name":"the_plan","args":[-70.0,91.0],"item_type":"plan","user":"qserver-cli","user_group":"admin","item_uid":"aa4ddbe0-97fe-4dd5-8d88-fb43dcb298dc"},{"name":"the_plan","args":[-70.0,92.0],"item_type":"plan","user":"qserver-cli","user_group":"admin","item_uid":"fc555938-1cee-49bd-baf8-0e31ec8ff9bf"},{"name":"the_plan","args":[-70.0,91.0],"item_type":"plan","user":"qserver-cli","user_group":"admin","item_uid":"de16e991-cef2-4c58-b0c2-06a926554364"},{"name":"the_plan","args":[-70.0,92.0],"item_type":"plan","user":"qserver-cli","user_group":"admin","item_uid":"c4a1412f-d9c0-45de-aac7-47005dd27e83"},{"name":"the_plan","args":[-70.0,92.0],"item_type":"plan","user":"qserver-cli","user_group":"admin","item_uid":"60294f3f-8ef3-4f56-9365-810a184b63be"}],"running_item":{},"plan_queue_uid":"723a63a5-3419-4480-b71f-4e2e0186b3bb"}

Are there extra permissions or an API token needed for some endpoints?
curl http://localhost:60610/queue/start
{"detail":"Method Not Allowed"}

and the logs have
INFO:     <IP_ADDRESS>:60793 - "GET /queue/start HTTP/1.1" 405 Method Not Allowed

I am also not sure if I'm missing data when adding items to the queue:
curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"name":"the_plan", "args":[-70.0, 92.0]}' \
  http://localhost:60610/queue/item/add

{"success":false,"msg":"Failed to add an item: Incorrect request format: request contains no item info","qsize":null,"item":null}

where is a good place to look for the desired format? the generated API docs don't have much detail

@danielballan any pointers for digging deeper on this?

ok, I'm still having issues with /queue/start, but I found some tests and sorted out the queue append
request_to_json("post", "/queue/item/add", json={"item":{"name":"the_plan", "args":[-70.0, 93.0], "item_type": "plan"}})

{'success': True,
 'msg': '',
 'qsize': 7,
 'item': {'name': 'the_plan',
  'args': [-70.0, 93.0],
  'item_type': 'plan',
  'user': 'John Doe',
  'user_group': 'admin',
  'item_uid': '546e3baf-446a-4c6d-ab31-9d75cf5146dd'}}

and with curl:
curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"item":{"name":"the_plan", "args":[-70.0, 93.0], "item_type": "plan"}}' \
  http://localhost:60610/queue/item/add

{"success":true,"msg":"","qsize":8,"item":{"name":"the_plan","args":[-70.0,93.0],"item_type":"plan","user":"John Doe","user_group":"admin","item_uid":"494aa6ab-7c74-4777-8663-0eb7a963b6e0"}}

figured it out -- I had the wrong request type : |
curl -X POST http://localhost:60610/queue/start
{"success":true,"msg":""}


get_all_dielectrics_names

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
aedt API, should return a list of dielectrics
Steps To Reproduce
dielectrics = hfss.get_all_dielectrics_names
Which Operating System are you using?
Linux
Which Python version are you using?
3.10
Installed packages
_

Hi,
Looking at the code you shared I think you've forget to use () after commands dielectrics = hfss.get_all_dielectrics_names() and  sources = hfss.get_all_sources().
After correctin it the simple code below is returning the correct values:
import pyaedt

aedtfilepath = r"C:\Data\Support\HFSS\viawizard.aedt"
version= 2023.2

hfss = pyaedt.Hfss(projectname=aedtfilepath, specified_version=version, non_graphical=False)

dielectrics = hfss.get_all_dielectrics_names()
print("diel", dielectrics)
conductor = hfss.get_all_conductors_names()
print("cond", conductor)
sources = hfss.get_all_sources()
print("sources", sources)

# hfss.save_project()
hfss.release_desktop(close_projects=False, close_desktop=False)


nginxMainline: 1.27.1 -> 1.27.2

Changes: https://nginx.org/en/CHANGES

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 347419 run on x86_64-linux 1

4 packages built:

nginxMainline
nginxMainline.doc
nginxQuic
nginxQuic.doc


Any plans to support Angular2

It is very cool feature to have  in angular 2

did you read the website?! https://vitalets.github.io/angular-xeditable/

Not followed ,what you want me to read.
I have implemented x-editable including (password,request raised by me
)with angular1.x ,now thinking of  implementing same angular2 with type
script(tsd),but I am not sure how to inject  this.
On Mar 14, 2016 8:40 AM, "simpadmin"<EMAIL_ADDRESS>wrote:

did you read the website?! https://vitalets.github.io/angular-xeditable/
—
Reply to this email directly or view it on GitHub
https://github.com/vitalets/x-editable/issues/870#issuecomment-196118540
.

Would also love to know if you have any plans for Angular 2.  Thank you

if its being developed by any other person, its welcome
official team has no plans.

Yes I am working on template with angular2,material2, ng2 uploader,ng2
translator,ng2 maps.
On Jul 25, 2016 5:25 PM, "Jim Culverwell"<EMAIL_ADDRESS>wrote:
Would also love to know if you have any plans for Angular 2. Thank you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vitalets/x-editable/issues/870#issuecomment-234933217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCBuMNOmk_uJ0C8FfTFiCZ74-KWiuV9ks5qZKQqgaJpZM4Hk5B0
.

Not planned at this time

Is x-editable part of angular?


firebase_crashlytics build failing  com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed

Running with gitlab-runner 11.9.0-rc2 (227934c0)
on docker-auto-scale 0277ea0f
Using Docker executor with image cirrusci/flutter:latest ...
Pulling docker image cirrusci/flutter:latest ...
Using docker image sha256:a12fc3c81cefcf6d1e9d200f9409fe705077ff031e0bc681cb7c822ed4425595 for cirrusci/flutter:latest ...
Running on runner-0277ea0f-project-10398232-concurrent-0 via runner-0277ea0f-srm-1553269686-d6cf190b...
Initialized empty Git repository in /builds/kw2019ltd/plants_price_flutter_app/.git/
Fetching changes...
Created fresh repository.
From https://gitlab.com/kw2019ltd/plants_price_flutter_app

[new branch]      master     -> origin/master
Checking out f9c2ee1e as master...

Skipping Git submodules setup
$ flutter doctor -v
[✓] Flutter (Channel unknown, v1.2.1, on Linux, locale en_US.UTF-8)
• Flutter version 1.2.1 at /home/cirrus/sdks/flutter
• Framework revision 8661d8aecd (5 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /opt/android-sdk-linux
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /opt/android-sdk-linux
• ANDROID_SDK_ROOT = /opt/android-sdk-linux
• Java binary at: /docker-java-home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
• All Android licenses accepted.
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
$ flutter channel
Flutter channels:
Hixie-patch-1
beta
dev
fix-more-tool-tests-from-terminal
gallery
master
revert-28919-composite_elevations
revert-29010-re_enable_dart2js
revert-29323-roll_branch
stable
$ flutter channel stable
Switching to flutter channel 'stable'...
git: From https://github.com/flutter/flutter
git:    479be4447..475d93a17  master     -> origin/master
git:  * [new branch]          revert-29632-gallery_embedded_views -> origin/revert-29632-gallery_embedded_views
git: Switched to a new branch 'stable'
git: Branch stable set up to track remote branch stable from origin.
$ flutter build apk
Running "flutter packages get" in plants_price_flutter_app...        10.0s
Initializing gradle...                                             12.0s
Resolving dependencies...                                         105.1s
Running Gradle task 'assembleRelease'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.2/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-2.0.3/android/src/main/java/io/flutter/plugins/firebaseanalytics/FirebaseAnalyticsPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.3.1+1/android/src/main/java/io/flutter/plugins/firebase/core/FirebaseCorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-4.0.0+1/android/src/main/java/io/flutter/plugins/firebasemessaging/FlutterFirebaseInstanceIDService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.0.3/android/src/main/java/io/github/ponnamkarthik/toast/fluttertoast/FluttertoastPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.0+2/android/src/main/java/io/flutter/plugins/packageinfo/PackageInfoPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Calling mockable JAR artifact transform to create file: /home/cirrus/.gradle/caches/transforms-1/files-1.1/android.jar/5a8ccb9080388db5e1825d860fa87203/android.jar with input /opt/android-sdk-linux/platforms/android-28/android.jar
Calling mockable JAR artifact transform to create file: /home/cirrus/.gradle/caches/transforms-1/files-1.1/android.jar/0f6f3b7bb4abb6fed6fac20f77c93544/android.jar with input /opt/android-sdk-linux/platforms/android-27/android.jar
FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':firebase_crashlytics:verifyReleaseResources'.

java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed

/builds/kw2019ltd/plants_price_flutter_app/build/firebase_crashlytics/intermediates/res/merged/release/values/values.xml:276: error: resource android:attr/fontVariationSettings not found.
/builds/kw2019ltd/plants_price_flutter_app/build/firebase_crashlytics/intermediates/res/merged/release/values/values.xml:277: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 3m 45s
Running Gradle task 'assembleRelease'...                          226.4s (!)
Gradle task assembleRelease failed with exit code 1
ERROR: Job failed: exit code 1

+1

@kw2019ltd
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/393. Any further collaboration will be done there.


Is this a MIT, GPL License ?

We need to validate that you have some type of License agreement associated with this project.

I don't know much about the license, but what I know is It's free and anyone can use it change it and do whatever wants to do, can you suggest for that what license should I use?

I have added the MIT license.


Change socks5 lib from armon/go-socks5 to wzshiming/socks5

This does not magically support UDP, but does switch the library to something that can support it. I have tested this with a few websites and bittorrent, and all works well. Probably worth testing from you as well.
Documentation for wzshiming/socks5
Closes #15

I just did this to get the ball rolling, but it looks like you're already doing that, so no worries! Thanks for this :relaxed:

I just did this to get the ball rolling, but it looks like you're already doing that, so no worries! Thanks for the work you're doing ☺

So I implemented UDP proxy in the udp branch but I haven't tested them yet. Feel free to try it out and see if there are any issues.


Fix typo

Thanks for the contribution.

Thanks for all the long hours of work poured into this! This project fills a very important niche and does it with quality in general.


feat(preset-icons): add svg props customization

I'll add a hook to add handling of props to the final output. Since iconify merges the final properties into usedProps, it may not be the properties that the user ultimately wants.
close #3744

I also saw this weird behavior on roe.dev (Daniel Roe website), adding variants in linked playground works: checked:w-10 checked:h-10.

I also saw this weird behavior on roe.dev (Daniel Roe website), adding variants in linked playground works: checked:w-10 checked:h-10.
https://github.com/danielroe/roe.dev/pull/1395/files

It is also possible to use additional styles to fix the default behavior, but this may be a bit redundant.😂

@zyyv cannot be done via https://unocss.dev/presets/icons#icon-collection-customization ?


UI not show any pod or service

I installed gcp-live-k8s-visualizer according to the instructions of the readme. However when I go to the UI from the bowser I can not see any pod or service that is in my kubernetes setup. I only can see an empty page with kubernetes logo. What could be the reason for that?

looks like it only looks at the default namespace - if you have created your services/pods in another namespace you'll need to update the script.js


add explanation on how to submit a pull request

Thanks @Jobhdez for this change. Just change the last item in the list to number 6 then i can merge it

I made the change


Test wasm32-unknown-unknown in Azure Pipelines

Also gets rid of most of GitHub Actions with only E2E tests remaining.

@LarryOsterman can we even run E2E tests against Event Hubs? That requires actually-provisioned resources, right? If not, I can delete the entirety of the GitHub Actions workflows finally. /cc @hallipr

@microsoft-github-policy-service rerun

@LarryOsterman can we even run E2E tests against Event Hubs? That requires actually-provisioned resources, right? If not, I can delete the entirety of the GitHub Actions workflows finally. /cc @hallipr

No, the test_e2e tests for Event Hubs requires either the eventhub emulator running locally or actually provisioned resources. It's a live test in the classic vernacular.
As we get further into ADO pipelines, I'll probably bring up the test AMQP Broker (used in Go) to test the AMQP stuff locally, that will help with coverage.


Sort OptimizeResult.repr by key

Fixes #5485
OptimizeResult._repr_ now shows the result dict sorted in ascending order of its keys.

Thanks, looks useful. Can you also change the example in scipy.optimize.linprog to match, see
https://travis-ci.org/scipy/scipy/jobs/90911428#L3645

Thanks, merged


LwPolyLine missing last segment

If the last vertex of a lwpolyline is in the same place as the start and its not closed, then the last vertex is not added to the PolygonalVerexes collection, also the expanded arc segments are being compared with the last source vertex for welding.

Fixed in a slight different way. For small fixes, open an issue and I will fix it. There is no need for a "Pull Request".


Extract icon data to its own package?

My current employer loves this icon set - we're using it heavily in the redesign of our whole platform. So, thanks so much for making them, and letting us use them. :)
We've even built a custom icon picker - which posed a few challenges when we tried to find an exhaustive list of the icons available. 😓  We finally found what we needed in this (phosphor-home) package - which (as I understand it) is the basis for the search on the main Phosphor site. Awkwardly, that means we're installing this whole package just to get one piece of data from it (plus types) and (also awkwardly) the package has a debug message ("XXX Icons") that now appears for us in dev.
The data in question is super useful by itself, so I reckon it should be its own package. How would the maintainers feel about a task to extract it, for inclusion wherever? We'd be happy to try taking on this task ourselves, if that'd help. :)
Thanks again. :)

You're essentially looking for the catalog information -- icon names, categories, tags that we use on our homepage -- independent of implementation? I might consider extracting it into its own package, but I'm unfortunately pretty tied up right now, and it's not something I can do immediately.
We do have an undocumented public API available at https://api.phosphoricons.com which serves essentially the data that you're looking for, but it's really suitable only for build-time use (too slow for live applications, and not built for that kind of traffic). You're welcome to use it in that manner.
If you want some more information on it, or want to discuss further, please send us an email at<EMAIL_ADDRESS>

Thanks for the quick response @rektdeckard . Yep, the catalogue is what we're after. We're able to import them from phosphor-home/tree/master/src/lib/icons.ts but as mentioned, that involves installing the whole package, and also scores us some debug in dev. 😅
(Thanks also for the API idea, but I wouldn't want to add an API dependency for our build process if I can help it, both for the load on that API and the potential brittleness involved.)
Will you email about a potential PR for the new, isolated, package.

FYI @simonhildebrandt, we now have the @phosphor-icons/core package, which exposes our catalog, with tags, categories and everything, in a public NPM package 👍


ALE's completion source for deoplete prevents you from pressing enter sometimes

I'm currently using deoplete for my completion needs. While it mostly works together with ale, there are still some annoyances that happens when the two are loaded in.
For example, right now, if a complete is started, i can't double-enter to just enter the word without any completion. ALE hijacks the menu and keeps it open.
Is there a way to complete disable all completion integration/functions on ALE?

Use let g:ale_completion_enabled = 0, which is the default.

This is not really working. Even with the completion_enabled = 0, there seems to be some kind of hijacking happening on the completion menu.
https://asciinema.org/a/qmNGrVXR260LOYSxMUNJEiBtH
You can see that with ALE enabled when i type "set" and enter, it doesn't matter how many times i press enter, it never leaves the line and do the enter. Even with the option set. As soon as I disable ALE, it works.

Which version of Vim are you using? That shouldn't happen.

Neovim 0.3.5

Does it stop happening when you use :ALEDisable?

Nope, still happens. :(

Have you tried setting let g:ale_completion_enabled = 0 before ALE is loaded? I recommend getting on #vim-ale on Freenode to talk about this more, as that will be faster.

We spoke about this on IRC. A minimal config for repeating this bug is here: https://gist.github.com/edgard/8bb9c4d7596cc20a645f1f690c19007d
The problem appears to be caused by context['is_async'] = True in the completion source for deoplete, which is what the deoplete documentation tells you to do. This doesn't need to be done for languages ALE can't prevent completion data for, but it still breaks it anyway. Replacing return [] with return None at the end seems to fix the problem, even though the documentation tells you not to do that.
I've pushed that change now. Let me know if it fixes the bug.

If that fixes the bug, then I'll also throw in a check later to disable the source if there aren't any language server linters available for the current filetype that ALE can use to provide completion information. That will prevent some more issues in the future.

Yep! Updated from repo and re-added noinsert to completeopt and now it seems to be working properly! Awesome! Thanks!

Great! Thank you for letting me know about the bug. Later on, someone can tweak the completion source to not even try to provide completion data if the buffer doesn't have any ALE linters enabled which can provide completion data.

So.... Hate to be the bearer of bad news, but... This update for whatever reason bricked ale's completion completely for me. Completion from ale is no longer listed at all.

And I just confirmed that reverting the return None back to return [] fixes the issue.

@dsifford Okay, do you want to fix it? Try to make it work without also causing the issue brought up here.

Can't dig into it until maybe sometime next week. But just for the time being, can you or @edgard confirm that you're even able to get ale to completions through deoplete anymore?
Because if we "fixed" the issue of having to hit enter twice to insert a newline by bricking the ale completions completely, I'd consider that more of a regression than a fix and it should be reverted immediately until the real issue can be found.

I'd rather not include Deoplete integration than have it cause problems for people. I think the easiest way to fix this would be to add the check to see if the buffer has linters enabled, and then return None if there aren't any. I'll do that soon, and then both things should work.

@edgard @dsifford Okay, git pull again and try that out. Now None should be returned when there's nothing that ALE could get completion information from, and [] will be returned when ALE is able to ask for some completion data. Hopefully that should work.

@w0rp You are the master. :1st_place_medal:
After trying it for a minute or two, it seems to be working as expected again for me. I'll report back if something turns up, but looks like it should be good now. :pray:

Great! :+1: I'll wait for a response from @edgard before closing this.

Just to confirm that it still works! Thank you!! :)

Okay, thank you for letting me know. :+1:

I'm hitting this bug again right now, after having updated my plugins. As far as I can see the latest commit which is supposedly "fixing" this issue was included in the update. I also run Deoplete and Ale side-by-side. Forcefully disabling Ale (just commenting Plug w0rp/ale) "fixes" it, although that would probably not be my preferred solution. I'd be happy for any pointers.

Would you like to try and fix it?

@w0rp Absolutely, what should I do?

Okay, I'm going to remove the Deoplete completion source until someone can fix it.

For context, we had a chat on IRC and "solved" it by disabling deoplete as a completion source

I remove Deoplete support completely for now, until this can be fixed.


Can't get Starscream to work in a simple command-line app

I am playing with a simple command-line app:
$ swift package init --type=executable
After adding Starscream as a dependency, I added the following code in main.swift
import Foundation
import Starscream

let echoURL = URL(string: "ws://echo.websocket.org/")!

class WsClient: WebSocketDelegate {
    let socket: WebSocket

    init() {
        socket = WebSocket(url: echoURL)
        socket.delegate = self
    }

    func connect() {
        print("Connecting")
        socket.connect()
    }

    func websocketDidConnect(socket: WebSocket) {
        print("Connected")
        socket.write(string: "test") {
            print("Sent")
        }
    }

    func websocketDidReceiveData(socket: WebSocket, data: Data) {
    }

    func websocketDidDisconnect(socket: WebSocket, error: NSError?) {
        print("Disconnect")
        print(error)
    }

    func websocketDidReceiveMessage(socket: WebSocket, text: String) {
    }
}

let client = WsClient()
client.connect()

sleep(10)

I build the app and run it.
$ swift build
$ ./build/.../TestApp

However the delegate methods are not called, i.e. I see "Connecting" printed but not "Connected" (or "Disconnected".
Any help appreciated.
PS: I am running on latest macOS with Swift 3.0

The issue is using sleep. That blocks the main runloop from processing any of the delegate request that come back to it. Change the sleep to:
while(true) {
    RunLoop.current.run(until: Date())
    usleep(10)
}

This will achieve the "blocking" and keep the app from closing right on start, but still allow the runloop to process delegate callbacks.

Full code for clarity:
import Foundation
import Starscream

let echoURL = URL(string: "ws://echo.websocket.org/")!

class WsClient: WebSocketDelegate {
    let socket: WebSocket

    init() {
        socket = WebSocket(url: echoURL)
        socket.delegate = self
    }

    func connect() {
        print("Connecting")
        socket.connect()
    }

    func websocketDidConnect(socket: WebSocket) {
        print("Connected")
        socket.write(string: "test") {
            print("Sent")
        }
    }

    func websocketDidReceiveData(socket: WebSocket, data: Data) {
    }

    func websocketDidDisconnect(socket: WebSocket, error: NSError?) {
        print("Disconnect")
        print(error)
    }

    func websocketDidReceiveMessage(socket: WebSocket, text: String) {
        print("Got: \(text)")
    }
}

let client = WsClient()
client.connect()

while(true) {
    RunLoop.current.run(until: Date())
    usleep(10)
}

Duh!
Working with single-threaded languages for a long-time does this to you :)
Thank you!
On Mon, Sep 26, 2016 at 7:47 AM Dalton<EMAIL_ADDRESS>wrote:

Closed #254 https://github.com/daltoniam/Starscream/issues/254.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/daltoniam/Starscream/issues/254#event-801763669, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACR3m-1XTEwc5j2TsIx_D8TEfRb94rhks5qt05tgaJpZM4KF3qI
.

@gmosx how did you get around missing dynamic link refs when building the executable? I'm getting these issues, and I believe it's because Swift has no good way of dealing with dynamic frameworks for commandline apps. Coacocapods introduced a way to specify a framework as static, but Starscream doesn't appear to conform in its Podspec
https://github.com/CocoaPods/CocoaPods/pull/6811


Unable to create aws.pipes.Pipe with source PipeSourceParametersManagedStreamingKafkaParameters and clientCertificateTlsAuth authentication mode

What happened?
Unable to create aws.pipes.Pipe with source PipeSourceParametersManagedStreamingKafkaParameters and PipeSourceParametersManagedStreamingKafkaParametersCredentials set to clientCertificateTlsAuth authentication mode.
Interface PipeSourceParametersSelfManagedKafkaParametersCredentials specifies basicAuth as required and other modes as optional. There is no way to specify just clientCertificateTlsAuth.
interface PipeSourceParametersSelfManagedKafkaParametersCredentials {
        /**
         * The ARN of the Secrets Manager secret containing the basic auth credentials.
         */

        basicAuth: pulumi.Input<string>;

        /**
         * The ARN of the Secrets Manager secret containing the credentials.
         */
        clientCertificateTlsAuth?: pulumi.Input<string>;

        /**
         * The ARN of the Secrets Manager secret containing the credentials.
         */
        saslScram256Auth?: pulumi.Input<string>;

        /**
         * The ARN of the Secrets Manager secret containing the credentials.
         */
        saslScram512Auth?: pulumi.Input<string>;

    }

In AWS I am able to manually create a pipe with CLIENT_CERTIFICATE_TLS_AUTH, this does not require the basic auth to be specified.
Example
If both authentication credentials are specified then a pipe with basic authentication is created in AWS.
const pipe = new aws.pipes.Pipe(this.name, {
            source: `smk://${this.kafkaBrokerURL}`,
            roleArn: pipeExecutionRole.arn,
            sourceParameters: {
                selfManagedKafkaParameters: {
                    additionalBootstrapServers: [this.kafkaBrokerURL],
                    topicName: this.topic,
                    credentials: {
                        basicAuth: this.BasicAuthSecret.arn,
                        clientCertificateTlsAuth: this.MTLSAuthSecret.arn,
                    },
                }
            },
            target: queue.arn,
        }, {
            dependsOn: [
                sendSQSPolicy,
                getCredentialsPolicy,
                describeSecGroupsAndSubnetsPolicy
            ],
        });

    }

Output of pulumi about
`CLI
Version      3.78.1
Go Version   go1.20.7
Go Compiler  gc
Plugins
NAME        VERSION
aws         6.0.4
aws-native  0.80.0
nodejs      unknown
Host
OS       darwin
Version  14.0
Arch     arm64
This project is written in nodejs: executable='/Users/vladimir.vukojevic/.nvm/versions/node/v16.20.1/bin/node' version='v16.20.1'
Backend
Name           pulumi.com
URL            https://app.pulumi.com/vladimir_vukojevic
User           vladimir_vukojevic
Organizations  vladimir_vukojevic, razrmarketing
Dependencies:
NAME                VERSION
@pulumi/aws-native  0.80.0
@pulumi/aws         6.0.4
@pulumi/pulumi      3.81.0
@types/node         16.18.48
Pulumi locates its logs in /var/folders/dd/40r6j50s5tb5n3qq2brw6x140000gp/T/ by default
`
Additional context
Manual creation of Pipe in AWS allows to choose authentication more first and then prompts for the arn of the secret that needs to be used, may be good to explicitly declare the authentication mode.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thank you for reporting this issue! It's tracked upstream in https://github.com/hashicorp/terraform-provider-aws/issues/33025

Closing since the upstream issue has been closed in https://github.com/hashicorp/terraform-provider-aws/issues/33025


Note Moving

What is your question?
How do I move notes using events?
Like if I want to replace the enemy and player note positions, how do I code an event that does that.

Is it source code or LUA?

If Lua look at the wiki


Aggregate traintuples/algos

See also: https://github.com/SubstraFoundation/substra-chaincode/pull/5

[x] Creation of a new structure used for “inputting” a new aggtuple
[x] Creation of a new structure corresponding to elements stored in the ledger for a given aggtuple
[x] Creation of a new structure used for “outputting” an aggtuple; with the following elements
[x] Creation of a smart contract to create an aggtuple with the input mentioned above.
[x] Creation of smart contracts to query an aggtuple and query all aggtuples
[x] Creation of smart contracts similar to logStartTrain, logFailTrain, logSuccesTrain for aggtuples.
[x] Create a smart contract to add/get/list aggregateAlgo and compositeAlgo, which have the same structure as a normal Algo (and the same input and output)

There are still a lot of minor "TODO"s, but the main functionality works.

Marking the PR as "Ready for review" just so that we have Travis run unit tests

This is ready for review/safe to merge, cc @inalgnu @samlesu @jmorel
It might be easier to merge this PR into the feature/generic-composite branch first, and then review/test both composite and aggregate at the same time. Up to you. Feel free to do the merge!

I tested this in the following configuration and it's :+1:

substra: dev
substra-backend: dev
substra-chaincode aggregate
substra-tests: master

The only tests that fail also fail when I use the dev chaincode branch (the failing tests are all related to compute plans)
Note that the only piece that is not implemented yet is permissions for aggregate traintuples (we currently disregard them completely).

Thank you @AurelienGasser


NI1017 gives false positives involving array initializers.

The code below reports a failure of rule NI1017 but it shouldn't. Removing the Max at the end avoids the error but it is on its own line so it shouldn't be a problem.
private static int MaxCounts(IEnumerable numbers)
{
var max = new[]
{
numbers.Count(number => number == 1),
numbers.Count(number => number == 2),
numbers.Count(number => number == 3)
}
.Max();
return max;
}

@tsharma-ni

The analyzer code treats the three .Count as they are chained, so that it starts to scan whether there are whitespaces before .Count, but there aren't so that the analyzer throws an error.


A is_cross() function in the description scope

Is your feature request related to a problem? Please describe.
I need to know when my project is cross-compiling because it needs to requires a host package to use its binary (shader compiler).
I took package:is_cross() code as a reference:
https://github.com/xmake-io/xmake/blob/6d635f24fda7ce5e31c5350cf67415e26ff1452f/xmake/core/package/package.lua#L685-L707 to implement my own:
if has_config("renderer") then
	add_requires("nzsl >=2023.12.31", { debug = is_mode("debug"), configs = { symbols = not is_mode("release"), shared = not is_plat("wasm", "android") and not has_config("static") } })

	local function is_cross_compiling()
		if os.host() == "windows" then
			local host_arch = os.arch()
			if is_plat("windows") then
				-- maybe cross-compilation for arm64 on x86/x64
				if (host_arch == "x86" or host_arch == "x64") and is_arch("arm64") then
					return true
				-- maybe cross-compilation for x86/64 on arm64
				elseif host_arch == "arm64" and not is_arch("arm64") then
					return true
				end
				return false
			elseif is_plat("mingw") then
				return false
			end
		end
		if not is_plat(os.host()) and not is_plat(os.subhost()) then
			return true
		end
		if not is_arch(os.arch()) and not is_arch(os.subarch()) then
			return true
		end
		return false
	end

	-- When cross-compiling, compile shaders using host shader compiler
	if has_config("compile_shaders") and is_cross_compiling() then
		add_requires("nzsl~host", { kind = "binary", host = true })
	end
end

Describe the solution you'd like
I think knowing if we're cross-compiling is a common need and a is_cross function may be useful to many.
Describe alternatives you've considered
Implementing it myself, but it's a lot of lines for something xmake already does
Additional context
No response

Unrelated, but, can you cross-compile for Android, on Windows, without WSL? I couldn't find anything related to this in Xmake docs.

Unrelated, but, can you cross-compile for Android, on Windows, without WSL? I couldn't find anything related to this in Xmake docs.

Yes it's possible, use NDK Windows binaries.
But please don't use feature requests/issues to ask unrelated questions, create a discussion or ask on Discord

I added it. https://github.com/xmake-io/xmake/pull/4739

Thanks! but is it available in the description scope ?
I tried to use it by switching to the branch xmake update -s cross
xmake f --check
checking for Microsoft Visual Studio (x64) version ... 2022
error: .\xmake.lua:358: global 'is_cross' is not callable (a nil value)
stack traceback:
    [.\xmake.lua:358]: in main chunk

try it again. on dev

works great, thanks!


Update devops.md

Made the definition more definitive.
fixes#1026
Signed-off-by: Vrashabh Sontakke<EMAIL_ADDRESS>

Thanks @Vrashabh-Sontakke, but I'm afraid this change doesn't really improve the definition. I'll go ahead and close it.

@CathPag Actually, That definition was from the creators of DevOps.


chore(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2826

Questions ?
Please refer to the Backport tool documentation


Checking CORSIKA and sim_telarray output of integration tests

Most integration tests are confirming at this point mostly that a simtools has been used without any errors.
For tests using CORSIKA or sim_telarray, we should add:

test existence of expected output data and log files
test log files for error messages

This was being addressed here: https://github.com/gammasim/simtools/pull/875

Only partly. We should also have a look into the corsika / sim_telarray log files.

yes, but instead of overcomplicating it, I think we should fix what is already not working in https://github.com/gammasim/simtools/pull/875

Unless we still want to include testing the messages in the log files...

I think we need to look inside the log files and check for errors. I have seen cases where corsika showed a segmentation fault but the integration test reported success.