[Bug]: use model from planner options or prompt config

In JS SDK, it uses the model from prompt config. And if no model defined in prompt config, it uses the model from planner options.
However, in .NET SDK, it always uses the model from prompt config.
The reason is that .NET SDK creates semantic kernel instance and configures AI services with the planner options directly. https://github.com/microsoft/teams-ai/blob/889d249f72e235713a6bafaee1bcc26408c67098/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Planner/OpenAIPlanner.cs#L39-L41

is this a dotnet bug? could you either add js or dotnet tag please? :) And we should discuss at next scrum.

Yes, just for dotnet. Added dotnet tag.

Hi, since Steve's upcoming changes will no longer be using SK config, this bug can be closed as no op :)


How to init panel with ngModel  value?

How to init panel with ngModel  value?

Just set the model value.


Running Azure Dev Spaces on kubernetes continaer project .Net Core 2.2 with reference to simple project fail to run on no reference found

I created in Visual Studio 2017 with latest update and latest kubernetes tools "Container application for Kubernetes". I added from this project a reference to simple .Net Core class library project names EmptyProject.

Build ended successfully
Running this project via IIS runs successfully
Running this project without adding reference runs successfully
When I try to run it with the reference it fails with the following message:

Step 8/12 : RUN dotnet restore "AudioBurst.Podcasts.Analysis.Service/AudioBurst.Podcasts.Analysis.Service.csproj"
---> Running in fa221fa5004e
Skipping project "/src/EmptyProject/EmptyProject.csproj" because it was not found.
Skipping project "/src/EmptyProject/EmptyProject.csproj" because it was not found.
Restoring packages for /src/AudioBurst.Podcasts.Analysis.Service/AudioBurst.Podcasts.Analysis.Service.csproj...
Installing Microsoft.VisualStudio.Azure.Containers.Tools.Targets 1.1.1.
Installing Microsoft.VisualStudio.Azure.Kubernetes.Tools.Targets 1.0.0.
Generating MSBuild file /src/AudioBurst.Podcasts.Analysis.Service/obj/AudioBurst.Podcasts.Analysis.Service.csproj.nuget.g.props.
Generating MSBuild file /src/AudioBurst.Podcasts.Analysis.Service/obj/AudioBurst.Podcasts.Analysis.Service.csproj.nuget.g.targets.
Restore completed in 1.79 sec for /src/AudioBurst.Podcasts.Analysis.Service/AudioBurst.Podcasts.Analysis.Service.csproj.
Removing intermediate container fa221fa5004e
---> da90182c15f7
Step 9/12 : COPY . .
---> 73f5e5e6fb01
Step 10/12 : WORKDIR "/src/AudioBurst.Podcasts.Analysis.Service"
---> Running in 7385687e3843
Removing intermediate container 7385687e3843
---> 38de363c4348
Step 11/12 : RUN dotnet build --no-restore "AudioBurst.Podcasts.Analysis.Service.csproj" -c $BUILD_CONFIGURATION
---> Running in 163b4f8988d2
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
/usr/share/dotnet/sdk/2.2.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file '/src/EmptyProject/obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [/src/EmptyProject/EmptyProject.csproj]
Build FAILED.
/usr/share/dotnet/sdk/2.2.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file '/src/EmptyProject/obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [/src/EmptyProject/EmptyProject.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.09

Thanks for reporting the issue. Can you please confirm if the Dockerfile that was auto-generated contains instructions to copy "EmptyProject.csproj". I suspect this happened because the Dockerfile was generated when the reference to "EmptyProject.csproj" did not exist.

Closing as we need more details to investigate and have not heard back in over a month.

I have same issue raised here,
I am trying to run asp.net core webapi application in devspaces azure kubernetes service it is running good but when i am referencing dotnercore class library to webapi project and trying to run the application i am getting error as follows
Skipping project "/src/CommandStack/ClassLibrary1/ClassLibrary1.csproj" because it was not found. "/usr/share/dotnet/sdk/2.2.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file '/src/CommandStack/ClassLibrary1/obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [/src/CommandStack/ClassLibrary1/ClassLibrary1.csproj]"
My docker file is as follows:
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
WORKDIR /src
COPY ["CommandStack/WebApplication1/WebApplication1.csproj", "CommandStack/WebApplication1/"]
COPY ["CommandStack/ClassLibrary1/ClassLibrary1.csproj", "CommandStack/ClassLibrary1/"]
RUN dotnet restore "CommandStack/WebApplication1/WebApplication1.csproj"
COPY . .
WORKDIR "/src/CommandStack/WebApplication1"
RUN dotnet build "WebApplication1.csproj" -c Release -o /app

FROM build AS publish
RUN dotnet publish "WebApplication1.csproj" -c Release -o /app

FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "WebApplication1.dll"]

However i am able to run the application using IISExpress.
Any suggestions will be great help.

Hi,
I am little bit confused about this mail.
We opened a support call on Kubernetes and CronJob with dev spaces.
I don’t understand this ticket.
Sent from my iPhone

On 25 Oct 2019, at 17:18, saitejaprattipati<EMAIL_ADDRESS>wrote:
I have same issue raised here,
I am trying to run asp.net core webapi application in devspaces azure kubernetes service it is running good but when i am referencing dotnercore class library to webapi project and trying to run the application i am getting error as follows
Skipping project "/src/CommandStack/ClassLibrary1/ClassLibrary1.csproj" because it was not found. "/usr/share/dotnet/sdk/2.2.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file '/src/CommandStack/ClassLibrary1/obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [/src/CommandStack/ClassLibrary1/ClassLibrary1.csproj]"
My docker file is as follows:
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
WORKDIR /src
COPY ["CommandStack/WebApplication1/WebApplication1.csproj", "CommandStack/WebApplication1/"]
COPY ["CommandStack/ClassLibrary1/ClassLibrary1.csproj", "CommandStack/ClassLibrary1/"]
RUN dotnet restore "CommandStack/WebApplication1/WebApplication1.csproj"
COPY . .
WORKDIR "/src/CommandStack/WebApplication1"
RUN dotnet build "WebApplication1.csproj" -c Release -o /app
FROM build AS publish
RUN dotnet publish "WebApplication1.csproj" -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "WebApplication1.dll"]
However i am able to run the application using IISExpress.
Any suggestions will be great help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


critest: sandbox security context

[ ] NamespaceOption

[x] hostPID
[ ] hostIPC
[ ] hostNetwork

Closing it. Should be included in #20.


Add Payment Architecture to Master Branch and Package

Thad built the core architecture for payments in UST Events several months ago, but this architecture is in a stale branch that has not been added to the Master branch or the Summit Events package yet.  Getting these objects and fields into the package is a pre-req for people to be able to build their own payment integrations with SEA such as https://github.com/SFDO-Community-Sprints/Summit-Events-App/issues/29.
Per a November 9 meeting with Thad, here are the architecture items to be moved to the Master branch and package:

Objects: Summit Events Fees, Summit Events Payments, Summit Events Fee Attributes
New Fields for payments on the following objects: Events, Instance, Appointments objects
Add code to the "Submit" class so that inputs/outputs from custom code by users in the "Payment" class can be processed
Custom Setting for payment processing credentials to be stored
Permission Set edits to view new objects and fields
Recipe:  Move payment logic for TouchNet payments Thad wrote that is currently in the Submit class to a new "Payment" class

@tcdahlberg This is the last item left in the November 2020 release sprint, anything I can do to help get this one across the finish line?

@jimhubert, the following has been accomplished on the  payment_object_architecture branch and are ready for testing:

Objects: Summit Events Fees, Summit Events Payments, Summit Events Fee Attributes
New Fields for payments on the following objects: Events, Instance, Appointments objects
Permission Set edits to view new objects and fields
Optional donation visualforce page and settings have been added
Rudimentary layouts of new objects (Payment object doesn't have one yet as I do not receive a gateway response)

Note the payment_object_architecture branch has been merge with the guest user fix branch with the assumption that both will be rolled into master at a similar time
Please test and let me know your impressions. Things to pay attention to:

Object layouts
Field naming that doesn't make sense
Missing configuration
Functionality of fee collecting on the event

Things missing:

Any connection to a gateway
A method for triggering a gateway connection on the submit page
Storage for credentials

The above may be out of scope for this release


Show fees in satoshi per byte for incoming and outgoing tx

when I double click a transaction in the GUI it only shows the total fees paid for outgoing and no info whatsoever for incoming tx.
It would be very useful if fees were shown in sats/vbyte (or s/vkb) for both, incoming and outgoing tx.

Related issue: https://github.com/bitcoin-core/gui/issues/64

Let's keep discussion in #64.


Supabase auth mini

Description

Added auth endpoint that takes in access token and returns user information from supabase

Testing plan

🤷♂

write some unit + integration tests @VictiniX888 wdyt?

write some unit + integration tests @VictiniX888 wdyt?

Sure I might just take that on myself actually, just waiting on nick to address reviews and impl error handling
@nickraskop request review from me again once you push so that i get the notification


Support for Sentinel V *.pd0 format

Adding support for the *.pd0 format generated by the Sentinel V model.
I've copied the pd0.pd0_parser submodule and adapted it following TRDI's manual for the Sentinel V. The new submodule is pd0.pd0_parser_sentinelV.
Also added some messages that are printed when bad ensembles are skipped, and new functions to read all ensembles in a file and convert the output to an xarray.Dataset object with some metadata. So we can parse a *.pd0 file and readily save it as a netCDF file with the method .to_netcdf('filename.nc').

How large are your pd0 files?  I would love to test this out as part of the greater package.  I am currently translating very large V files to netCDF4.  These have two interleaved sampling schemes.

I'm reading files ~3GB. I'm still working on the conversion to netCDF with dask. Because this is my first time working with parallel code the function readers.ensembles2dataset_dask can probably be optimized a lot. But the function that does the conversion without dask (readers.ensembles2dataset) seems to be working fine with smaller files. I'll write a couple examples on the README when I'm done.

FYI for this thread, I eventually dealt with my very large file problem without xarray since the data was not conditioned well enough to work with xarray's methods.
I reshape the large file  and insure that time is even (e.g. deal with missing samples) - it can be done as one file or split into several here:
https://github.com/mmartini-usgs/ADCPy/tree/master/EPICstuff
This then allows the user to work with the data in xarray thus:
https://github.com/mmartini-usgs/ADCPy/blob/master/TRDIExampleProcessingCode/finalize ADCP currents data after reshape and repopulate V2.ipynb
Good luck,
Marinna


chore(deps): update common-dev-assets digest to 4b7c77b

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
64fc718 -> 4b7c77b

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This issue has been resolved in version 0.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove unnecessary null pointer checks

Removing useless non-null pointer checks before using delete and delete[] (see issue #55)

Thanks for your small source code improvement.


issue in audio pubnub webrtc for android

Heads up: http://stackoverflow.com/questions/36862267/issue-in-audio-pubnub-webrtc-for-android

@cvconover i am facing same issue . did you got any solution for this?

@cvconover check if this works for you
https://github.com/GleasonK/AndroidRTC/pull/14

Hey  should I change some params value in XirSysRequest thread class i.e
HttpPost request = new HttpPost("https://service.xirsys.com/ice");
List data = new ArrayList();
data.add(new BasicNameValuePair("room", "default"));
data.add(new BasicNameValuePair("application", "default"));
data.add(new BasicNameValuePair("domain", "kevingleason.me"));
data.add(new BasicNameValuePair("ident", "gleasonk"));


Question about Incremental Syncing

Thanks! This tool is awesome! Now I want to get the up-to-date version of conda pkgs and, is there possibility that I could check then just download the updated part of pkgs but not all of the pkgs?

cc: @pp-mo

Hi @Tigeraus --
conda-mirror does not currently support what you are asking for. Such functionality would not be particularly challenging to implement. I'd be happy to guide you through the process of contributing such a feature if you are interested.
If you are not interested in contributing such a feature that's ok too, but I cannot make any guarantees about when I would have time to add this myself.

@ericdill Actually I don't have much time now to do this, but I'm interested in it and I will do it when I'm free. One Way, I think, that could implement this functionality is checking the md5 of all files in the repo, store them somewhere else and then just download those whose md5 values have changed and update the md5 set.

@Tigeraus that's a good idea. My hesitation here is that repodata.json is the location where the md5 values are stored for local packages. I'd like to avoid inventing another place to store the md5 information from downloaded packages.  Let me go check my conda-mirror logs and see if any package has actually ever failed the md5 check. I have not checked those logs in a while. I'll report back later today with what I find.

That's interesting.
I made a little test of mirroring + changing the config file for selective updating.
A couple of things emerged :
Firstly
if a package is not in the (current) filter, it will remove the existing downloads, just as if it had been deleted in the upstream channel.
That obviously needs adjusting for partial / incremental updates to work.
Secondly
Even when you only add one package that was not previously there, the whole of the existing downloads are validated.  So when simply I re-added "pytest" to my mirror of  the linux-64bit anaconda channel, it took just seconds to download all those additional binaries, but then about 3 hours to re-validate everything ...
Thirdly
All that is practical stuff, but I think there is also a serious question about the usage and validity of incremental usage : The existing behaviour ensures that the result is a (possibly filtered) up-to-date replica of the upstream, so the meaning of the result is totally unambiguous. But not so if you allow partial updates...
For example, if I mirror anaconda, that is kind of "curated" resource -- so I can expect that the package versions there are mutually compatible.  But a partial update may break that -- and I can't see any automatic way of avoiding those problems, except doing a full update.


Abort a workflow : autopopulates with user id

Abort workflow tab gets autopopulated with my user name.
Would be nice to have it not do that!

Thanks!
I'm not seeing that happen on my end. It's possible that was leftover from a previous session of using the app?

No i had shut down my PROOF-cromwell server. So this was a a new sesh

I mean a new session of the app - by session i mean browser session.

AFAICT this was probably just a transient issue - closing - let me know if you see this again and we can reopen this

still happening apparently. just for Sita so far.
Not sure how it can happen.

Haven't seen this since February, wondering if this was maybe the Chrome browser errantly autofilling? Regardless, closing for now and can reopen if it pops back up.

Issue persists.

a few thoughts

It's definitely not ideal, but in the larger picture perhaps isn't a big deal? BUT, if you think it is an important thing Sita, do speak up
This is Shiny specific, so if we're going to abandon Shiny soon then might be worth ignoring it
I still can't reproduce this. If someone can give some kind of lead on this then we can try to address it

Totally upto you all. I am just here to raise things as I see it. Its not an "issue" per se.. but more of a cosmetic aspect. I just go to abort worflows and it is autopopulated with this.


Fix incorrect progressRatio reporting

Do not factor in tokens that do not have a valid tokenInfo object into the progressRatio
Fixes progress % dropdown in GUI from never disappearing.

The tokeninfo is held in the account. The enable bit of a token is held in the wallet. These are two data stores synchronized separately. If there is a conflict between two devices that edit data differently then  most recent wins.


Add support for selecting "first N rows", "sample N rows", other array comprehensions to defData

You often don't want to extract all the rows of a spreadsheet into the LLM context, so defData should support easily specifying how to select a subset of the rows to be used in the context.
You also might want to specify "all values in column N" as a way to slice a csv/spreadsheet.

in 1.31


REFRESH MATERIALIZED VIEW not implemented for PostgreSQL ?

The SLQ clause  REFRESH MATERIALIZED VIEW (for postgresql db)  is not implemented or i didn't find the way to do it ? (dbeaver v5.1.1)

This feature will be added in 5.1.2

Perfect ! Thanks for your quick reactivity !


Markdown linter not referenced in docs

The markdown linter is referenced here https://github.com/thoughtbot/hound/blob/master/CONTRIBUTING.md#linters
But not here https://houndci.com/configuration
is that intentional?

It is intentional. The markdown linter is still in an "alpha" phase, and we are battle-testing it internally. That's why it is not mentioned in the configuration documentation.

Once it is considered stable, it will be documented along with the others.

An example @jessieay pointed out, just for reference:
https://github.com/thornco/dumb-ruby/pull/117

I'm looping in @thorncp as he is the maintainer of the markdown linter

Remark is cool, but a ruby based tool like markdownlint is likely to work better with a jekyll blog.


nbf is checked if it is in the past

Just a small fix to the docs to avoid confusion. Unlike exp which must be in the future, nbf must be in the past.

Superseded


VideoConfig help

I'm still really green in this whole thing (my background is more in electronics hardware design than anything software), though I have managed to get ubuntu installed as well as getting homebridge running stably with a number of plug-ins, including harmonyhub, nest, and wemo.
Where I'm at now, I feel a little out of my element trying to get the camera-ffmpeg configured.  I'm pretty sure I have all the required software installed, and I was able to add the camera within the Home app, but I am completely certain that I have gone astray in my configuration.
The specific area of concern for me is the "source" field in the VideoConfig.  I'm assuming since I'm using a webcam plugged into the same machine that is running homebridge (the same machine as has ffmpeg), I can use the IP address of that machine.  I also understand that I may need to have my username and password ahead of that as well. Beyond that, I'm completely stumped as to what to enter.  I'm pretty sure it's the port followed by something else.  How/Where do I find/set these parameters? (I feel pretty silly asking since it seems pretty common knowledge around here, it's just something I've never previously been exposed to)
Thanks for any help you guys can toss my way.

Would you mind to share a little bit more about your camera setup so I can help? In general, you might be able to figure out the parameter for camera from ffmpeg wiki. For your case I guess you can focus on Linux section with v4l2.

Camera setup is just a Microsft Lifecam HD 3000.  I'm just confused as to which port etc. to put in my config.

This is the field from the config I'm having trouble with:
"source": "-re -i<EMAIL_ADDRESS>

The example I had is for remote camera. If the camera is plugged directly to the machine, you may want to try first run ffmpeg -f v4l2 -list_formats all -i /dev/video0 in terminal and see what are supported resolution and then in the source put something like -re -f v4l2 -framerate 30 -video_size your_resolution -i /dev/video0

it says I need to specify an output file, something I'm not sure how to do. (my inexperience is showing)

can you post a screenshot?

so you got the right resolution. now you just need to put -re -f v4l2 -framerate 30 -video_size 1280x720 -i /dev/video0 as the source in config file.

well, that did it!  Thanks for the quick response and help.

:)


Mildly speed up knife by moving deps into dep blocks

We can lazily load the requirements for knife plugins, but we don't do that for all our plugins. We should. Is this a game changer? Nope. It does make it 4% faster though, which makes it worth doing.
Side note: We have some dupe requires in here and we also requires mixlib-shellout and mixin-shellout when we only used mixin-shellout.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Closing this in favor of a 1 at a time PR that will make a bit more sense. Some of these requires don't need to be moved. They just need to be removed.


docs: Fixed pushing tag section for release process.

Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

Nice, points, fixed


Prepare next Dev Cycle v1.95.0-dev

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
Prepare next Dev Cycle v1.95.0-dev
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve


Fixes get wxid

fixes get wxid
add to get your own avatar url

Related issues: #59

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


getActivitySamples missing data

Hi guys, i'm trying to retrieve the steps count using getActivitySamples but for some reason I can't see some of the activities at all. But, once I add manual activity, I can see the specific activity with the steps count.
I tried to play around with bucketUnit and bucketInterval also but nothing, attaching code below:
const activities = await GoogleFit.getActivitySamples({
  startDate: "2022-08-25T00:00:00.000Z",
  endDate: new Date().toISOString(),
  bucketUnit: BucketUnit.SECOND,
  bucketInterval: 1,
});

Thanks.

If you just want to get total steps by given time range, then getDailyStepCountSamples() shall give your the better approximation.
However, if you only care about the step inside the activity, then it's hard to tell, based on my own experience, Google Fit always gave your "weird" result depending on the activity. Even though you can insert activity with steps, if the activity itself doesn't support "step", it might give some weird data back when you use getDailyStepCountSamples();
You can try out this one https://github.com/StasDoskalenko/react-native-google-fit#17-workout-experimental to compare the step, just to check out the differences

Hi @zarahackaton @aboveyunhai  I am facing the same issue. I can see activities in google fit but unable to fetch into our app. Have you got any solution on this ?

Same issue


Date Picker Crashing Site

Hi Guys,
When I try to use any of the date-picker functions in the admin area my whole browser freezes and seems to be have some sort of infinite loop. Im not logging any errors on in Chrome or in my terminal and  Im not getting any errors or missing dependencies when I open the 'posting or 'meetup' modals.
I'd love some help with this when you get a chance. I'm going to try to do a full re-install from the repo and see if that fixes it in the mean time.
Thanks!
~Kyle

I just solved this by updating the keystone package in package.json to "~0.3.0" then reinstalling.


Argument verification

I am imagining some syntactic sugar that could be a decorator or one line at the beginning of each function. Basically type checking, and disallowing certain combinations of arguments.
I am not sure whether there is already an existing package that does this.

There's definitely libraries for type-checking based on function annotations (and since I'm already using function annotations, that'd be straightforward to plug in). I'm not sure of a use case for a decorator that disallows certain combinations — specifically, I am not sure what combinations would be sufficiently generic to warrant a decorator instead of just doing the verification inline.

Shall we close this as won't fix?

Yeah.


Remove the hover effect from the headings of each card

I would like to work on this issue under gssoc'23

@karthiknadar1204 , This hover effect is perfectly fine. Please raise some good issues.


Tests to fix issue 751

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

Is this still a WiP?

I'm just double-checking that everything is rebased so that we don't break git history.
Will un-WIP it in a few minutes.


Fixed ArrayList guide

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@myluco thank you for your contribution.  Can you please remove the Portuguese files from this PR and submit with a new PR?  This PR is blocking newer PRs against guide/english/java/arraylist/index.md as we have limited Members that speak Portuguese.  Thanks!

Sorry, I never saw the other message before today. Let me know if still need some help.

@myluco Hey! If you wish to create a new PR to submit the change (names -> ages)  in guide/english/java/arraylist/index.md, please feel free to do so. You would need to update your fork of freeCodeCamp to ensure you have the latest changes from the codebase.
You're also welcome to submit changes in the portugese guides, but please do so in separate PRs, so we can review the english PR independently from the portugese ones.


Fix broken SE link

The refactor of the repository broke this link.
We also have some issues with rustup not being available on the az runners. I wasn't sure if we should add rustup installation to the tests or do it locally. wdyt @mkulke

yup I made a fix in #438


Extend data explorer for document-based data

Inspecting the data can be difficult since long strings are stretched horizontally in the explorer's table. The table view needs to be automatically adjusted based on the available data
### Tasks

Things to improve
1) Enable exploring datasets prior to loading
This can be easily done if the dataset is stored in parquet format since Dask can interface with different backend storage with fsspec
2) Visualize overview of pipeline run with subsets and fields
Visualize evolution of a chosen pipeline and schema

3) Ability to export the dataset to different format for user desired visualization
** Structured data: Parquet -> pandas, csv **
** Unstructured data** -> Mainly images for now, integrate the existing script to export the dataset locally.
4) Better view of documents

Enable hovering over a field to display the full content

Ability to export or visualize in a separate tab (to be investigated)

5) Comparing different pipeline runs
Some runners already provide this functionalities so let's keep it simple, goal is to understand how different parameters might be affecting the data processing. Data points can be linked together by ID.

Arguments (link arguments to certain outcome)
Images side by side (outcome of different processing parameters/m on image processing e.g segmentation)
Captions side by side (outcome of different processing parameters on image processing e.g. captioning )

6) Better understanding of components

Display component spec or script for selected component

6) Other

Filter
Search
Toggle

1) Enable exploring datasets prior to loading

Not convinced that this is within scope. Datasets prior to loading can have any format. In any case, I don't think it's high priority.

2) Visualize overview of pipeline run with subsets and fields

I think this makes sense as an overview page indeed. Maybe even for navigation. We should think about how it fits in the explorer.
Note that we should still add this to the pipeline SDK for iterative development in the future as well.

3) Ability to export the dataset to different format for user desired visualization

Not completely sure what this means, but I would keep as much as possible inside the data explorer.

4) Better view of documents

This is the most important one for now, and we should go further. We should be able to show formatted documents.

Properly show basic formatting like newlines etc.
Show html documents
Show pdf documents?

5) Comparing different pipeline runs

This could be a powerful one. We should think about:

How to show this, because there's a third dimension (row, column, run)
How to merge the two runs based on id

6) Better understanding of components

Not sure if this fits in the data explorer. It also doesn't have access to this content at this moment.

6) Filter, search, sort

These are important as well, and based on this link it seems like it is well supported with dataframes in Streamlit. This would be useful to eg. check all chunks of a document by filtering on the document_id and sorting on the chunk_id.

We should really tackle this with the RAG validation use case in mind, so I would focus on the following ranked priority-wise:

Better view of documents
Filter, search, sort
Comparing different pipeline runs


Move to goreleaser for all projects

I've long use tools like gox and simple asset uploads to deploy binaries. There are some nice things that come along with goreleaser such as a programmatic changelog, checksums, and more.

All tickets for migration have been opened and triaged.


pull request for e2e test at 12/23/2016 19:15:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix race conditions with email changes in backend events system

Following #3633, one of the 2 remaining things that is still broken in terms of potential races in our real-time sync system on the backend is the handling of email changes.
The root problem is that we still have a few data structures, like presence, that are keyed off of user email addresses, which is not properly handled by the code in zerver/lib/events.py.
#4162 has some work on this.

Removing some labels, since this is very low priority.


Allow Custom Components

Allow the creation of custom components initially provided by a v1.Container specification.

/assign @cliveseldon

Rakesh, I'd love to see you lead a discussion of this topic.
Is a custom component a "arbitrary image" or "arbitrary model server".
/assign @rakelkar

/area frameworks

I have documented some thoughts around ModelSpec and Custom ModelSpec here:
https://docs.google.com/document/d/1oLN6EvLBUaT-lUDDoTRZuRjP5FpHP6FqpeJmH7LvoQM/edit?usp=sharing

/close


gcfflasher: 4.3.0-beta -> 4.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dresden-elektronik/gcfflasher/releases.
meta.description for gcfflasher is: CFFlasher is the tool to program the firmware of dresden elektronik's Zigbee products
meta.homepage for gcfflasher is: https://github.com/dresden-elektronik/gcfflasher
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.4.0 with grep in /nix/store/50gc9abz389ji4ch0x89v78hjjsh4l3b-gcfflasher-4.4.0
found 4.4.0 in filename of file in /nix/store/50gc9abz389ji4ch0x89v78hjjsh4l3b-gcfflasher-4.4.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
gcfflasher

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/50gc9abz389ji4ch0x89v78hjjsh4l3b-gcfflasher-4.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gcfflasher https://github.com/r-ryantm/nixpkgs/archive/ddbddf5c406c3816fa5ab0d54bd0ecd24a70b23a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ddbddf5c406c3816fa5ab0d54bd0ecd24a70b23a#gcfflasher

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/50gc9abz389ji4ch0x89v78hjjsh4l3b-gcfflasher-4.4.0
ls -la /nix/store/50gc9abz389ji4ch0x89v78hjjsh4l3b-gcfflasher-4.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gcfflasher

Maintainer pings
cc @fleaz for testing.

Result appears to be working. Most of the changes were for windows builds anyway.


Lockfiles shouldn't be added to .gitignore by default

https://github.com/extension-js/extension.js/blob/09ac34e3d8f905528e835fca4758b7285439e501/programs/create/steps/write-gitignore.ts#L24
package-lock.json (and yarn.lock) shouldn't be part of .gitignore - they are expected to be committed into source control.
refs:

https://docs.npmjs.com/cli/v10/configuring-npm/package-lock-json
https://classic.yarnpkg.com/lang/en/docs/yarn-lock/#toc-check-into-source-control

I agree. could you send a PR to update it? I'm happy to approve

Hi @cezaraugusto, I have raised a PR to fix the issue.

Thanks for taking this up @akadotsh

related: @cezaraugusto what about extension-env.d.ts?
https://github.com/extension-js/extension.js/blob/f257dd5ba4da7bb6ce5e1a6b7c9afa6adabf3518/programs/create/steps/write-gitignore.ts#L24
I'm unsure if this has to be removed from .gitignore as well or not.

@arvindpunk we want to keep it in there. it's a required file for TypeScript project we auto-generate for every run, so if the user removes it we'll eventually rewrite, so no need to persist it.


vagrant plugin list is erroneously throwing an environment variable error

This error went away with the deprecation of the .env file (Issue #17)


persisting geojson

In openlayers2 there was a 'save' strategy. What is the replacement in ol3? How do I do ajax post call on adding new feature?

There is no replacement, it's up to the application level. There are several stack overflow threads on this IIRC.


(Sentinel) Track InfluxDB data, if disk usage exceeds certain threshold, send alarm

implemented through influx db alert


Custom pipeline resolver

** Which Category is your question related to? **
API
** What AWS Services are you utilizing? **
AppSync
** Provide additional details e.g. code snippets **
In doc https://aws-amplify.github.io/docs/cli/graphql#add-a-custom-resolver-that-targets-a-dynamodb-table-from-model, users can write the resolver in VTL and version control it under resolvers/ folder. What if I want to implement a custom pipeline resolver? What do I have to do differently from the doc?
Note I know how to add a pipeline resolver in AppSync console. In the question, I care only about a "version-controlled" solution.

Follow the same instructions for create a data source.

Create functions.

"EchoFunction": {
  "Type": "AWS::AppSync::FunctionConfiguration",
  "Properties": {
    "ApiId": {
      "Ref": "AppSyncApiId"
    },
    "Name": "EchoFunction",
    "DataSourceName": {
      "Fn::GetAtt": [
        "EchoLambdaDataSource",
        "Name"
      ]
    },
    "RequestMappingTemplateS3Location": {
      "Fn::Sub": [
        "s3://${S3DeploymentBucket}/${S3DeploymentRootKey}/resolvers/MyFunction.req.vtl",
        {
          "S3DeploymentBucket": {
            "Ref": "S3DeploymentBucket"
          },
          "S3DeploymentRootKey": {
            "Ref": "S3DeploymentRootKey"
          }
        }
      ]
    },
    "ResponseMappingTemplateS3Location": {
      "Fn::Sub": [
        "s3://${S3DeploymentBucket}/${S3DeploymentRootKey}/resolvers/MyFunction.res.vtl",
        {
          "S3DeploymentBucket": {
            "Ref": "S3DeploymentBucket"
          },
          "S3DeploymentRootKey": {
            "Ref": "S3DeploymentRootKey"
          }
        }
      ]
    }
  }
}

Create a pipeline resolver:

"QueryEchoResolver": {
  "Type": "AWS::AppSync::Resolver",
  "Properties": {
    "ApiId": {
      "Ref": "AppSyncApiId"
    },
    "DataSourceName": {
      "Fn::GetAtt": [
        "EchoLambdaDataSource",
        "Name"
      ]
    },
    "Kind": "PIPELINE",
    "TypeName": "Query",
    "FieldName": "echo",
    "RequestMappingTemplate": "# any pipeline setup goes here \n{}",
    "ResponseMappingTemplate": "$util.toJson($ctx.prev.result)",
    "PipelineConfig": {
      "Functions": [Fn.GetAtt("EchoFunction", "FunctionId")]
    }
}

@mikeparisstuff In my existing pipeline resolver, there is no lambda function involved. From your solution, I need some lambda functions. Why? Can I do it without using lambda functions?

I have figured it out by following https://github.com/incr3m/aws-amplify-starter/blob/master/amplify/backend/api/testampl2/stacks/AppVersionQueryResource.json

The solution by @mikeparisstuff worked with following notes:

"FunctionVersion": "2018-05-29" is a required property in EchoFunction.Properties, 2018-05-29 is the only version that is supported.
Fn.GetAtt in pipeline resolver is actually spelt Fn::GetAtt

Side note: There is no need for a lambda data source, any data source e.g. from dynamodb can be used, also RequestMappingTemplateS3Location can be used in place of RequestMappingTemplate, empty request template should at least have a {}

@Ricardo1980 incase you haven't cracked the code yet for your question about multiple functions sending queries in a single pipeline, what you would do is:

If you haven't already, create your AppSync data source pointing at Aurora, with a suitable IAM role
For each function you want to have in your pipeline (where a function does something like fire off a query to Aurora), define your function as shown in Step 2 of mikeparisstuff's answer above
Add each function you want to be part of the pipeline. List it in the PipelineConfig.Functions part of where you defined your Pipeline. See Step 3 of mikeparisstuff's answer above. So for example, if you have 2 functions, one to do a select statement and the other to insert something, the Functions part of your pipeline config would look something like:

    "PipelineConfig": {
      "Functions": [
        {
          "Fn::GetAtt": ["MyCustomSelectFunction", "FunctionId"]
        },
        {
          "Fn::GetAtt": ["MyFunctionToInsertRecords", "FunctionId"]
        }
      ]
    }

Thanks @bogan27
Very useful!


Restructure data with JS objects

Description

Create and use JavaScript objects to organize data related to the player and data related to the enemies.

Create object methods to perform player actions.

Integrated by commit 647f34c150313138ad8f2e960338a916587012d3


gnome-builder: 3.36.0 -> 3.36.1

Motivation for this change
Update of the gnome-builder package to its latest release
==============
Version 3.36.1
==============

 • Numerous bug fixes
 • Updated templates including Rust
 • Improved C++ detection and usage in clang support
 • LSP improvements
 • Snippets improvemnts
 • Improve fusermount support
 • Improve bubble drawing in editor
 • Fix buffer management when renaming files
 • Use :: as a trigger for completion in C++
 • Scroll to insert location after reloading a file
 • Improve support for project directories outside of $HOME
 • Translation updates

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thanks. Already merged #92161, though.


Save button breaks when enabling debug logging

After your recent refactoring, the save button is once again broken when debug logging is enabled, only logging
ReferenceError: imageNameFormat is not defined
    at TokenReplacerSetup._updateObject (token-replacer.js:152)

to the console. This is caused by this part of the code which I fixed just last week:
        if (isTRDebug) {
            if (folderNameFormat === "proper") {
                folderNameFormat = " ";
            }
            if (imageNameFormat === "proper") {
                imageNameFormat = " ";
            }
            console.log(`Token Replacer: Format Structure Setup: '${tr_tokenDirectory.activeSource}/${tr_tokenDirectory.current}/${diffName}${folderNameFormat}0_25/Monster${imageNameFormat}Name.png'`);
        }

because after your recent changes, these nameFormat variables no longer exist (instead you use the index from the dropdown in line 113, right below my now-outdated comment about not using const).
The logging should be changed accordingly (or removed entirely).

sigh sorry about that. Will get a new version out a bit later today.


Bug: chat-view-color class does not apply to header-less messages

see picture below:

Maybe is it possible to add the chat-view-color class also to the headerless bubbles following a header bubble?
Like this:
[Me=red, You=green]
< Me | Text <-this bubble already has .chat-view-red
< | More Text <- this bubble should have .chat-view-red
< | More Text <- this bubble should have .chat-view-red

You | Answer <- this bubble already has .chat-view-green
| More Answer <- this bubble should have .chat-view-green

I've published a new merge on the master branch. Can you check if this fixes your issue?


Canceling untrusted certificate connection throw unhandled exception

An unhandled exception of type 'System.Net.Http.HttpRequestException' occurred in mscorlib.dll
Additional information: An error occurred while sending the request.

Any stacktraces?

Can't repro, will continue watching

Repro:
try connecting to non-existent machine
in credentials popup type something
	[External Code]
>	Microsoft.R.Host.Client.dll!Microsoft.R.Host.Client.Host.BrokerClient.GetHostInformationAsync(System.Threading.CancellationToken cancellationToken) Line 90	C#
 	[Resuming Async Method]
 	[External Code]
 	[Async Call]
 	Microsoft.R.Components.dll!Microsoft.R.Components.InteractiveWorkflow.Commands.SessionInformationCommand.PrintBrokerInformationAsync(bool reportTelemetry) Line 43	C#

https://github.com/Microsoft/RTVS/commit/0c596e001c0d28b61a1be02008ee7d6deb01d21e


diff_drive_controller -> low_level_motor_controller seems to not be working

The stack works until /motor_{right,left}/target/motor/speed, but the low_level_motor_controllers are either crashing or not working correctly.

https://youtu.be/Io40k6IWt2k


Feature request: Override Serde tags if TS ones are provided

Is your feature request related to a problem? Please describe.
Hi, I'm using this crate via the qubit, which has ts-rs with default features enabled.
I describe the issue here, but I think it might be nicer to have this crate support the behavior instead. Unless it does, and qubit is doing something under the hood to prevent this?
Describe the solution you'd like
Even with the serde feature enabled it would be nice if the ts tag could overwrite the serde tag.
For example:
#[derive(Debug, Serialize, Deserialize, Clone, TS)]
#[serde(rename_all = "snake_case")]
#[ts(rename_all = "camelCase")]
pub struct PubkeyParams {
    pub activation_delay:       String,
    pub activation_threshold_percent: u8,
}

This would be nice in cases where on the rust side I'm fetching data, and then sending it to the typescript side. Where the latter the linter yells at me for not using camel case.
Describe alternatives you've considered
I'm not sure. This could be done with the serde-compat feature disabled I imagine? But that might have other awkward implications.
Additional context
I'm being a bit concise here, because most of my information is in the linked issue on qubit.

It would indeed make sense for ts-rs to give the ts attribute precedence over serde, but beware that if you use serde to send your rust data to ts and you have different rename_all values between the two, you will have type safety problems, as TypeScript will think the type's property names are camelCase, but serde will be sending snake_case data

Also of note, I just looked at the code and wrote a test, and ts-rs does in fact do this, the ts attribute overrides the serde attribute, I think the problem you have is with your serialization logic. Remember, ts-rs only generates type declarations for your TS code, it does not actually serialize data.
If you serde serialization is sending snake_case data and your type declarations are expecting camelCase cata you will have problems.
Consider using the following serde attribute instead:
#[serde(rename_all(serialize = "camelCase", deserialize = "snake_case"))]
This will make serde send camelCase data to your TS code, but it will still expect to receive snake_case data to deserialize if that is what your rust code is receiving
Also consider just making the ts and serde rename_all match, (i.e. set both to the same value - usually camelCase), that will solve your problem and make your code simpler

Yea it already does as you described.
I sadly cannot have them aligned as I explained. The rust calls an API which gets the JSON in snake case.
Our ts side the lints and complains that it is snake case.
For some of the types I may be able to do deserialize from snake case and serialize to camel case though.
If any types go back and forth in the TS side, I may have to make a clone of the type.


Explain OS X builds via Travis to me?

So, I realize OS X builds via travis are currently broken ( #537 ), but - could someone explain to me how they are normally (when not broken) generated via Travis-CI (?) (i.e. for openmoltools)?
I'm trying to figure out how to get Travis to generate and upload builds to anaconda.org for my package, modeling it after what openmoltools is doing in https://github.com/choderalab/openmoltools/blob/master/.travis.yml and https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh, but this actually only seems to generate linux builds via Travis-CI (yet I can conda install openmoltools on OS X) so I'm confused about where the OS X builds are coming from. I'm guessing the answer in this case is "not from travis", but if so, does someone have a working example of generating OS X builds from travis that I could consult?
Thanks.

Both the Linux and OS X packages on anaconda.org/omnia are built using the Travis CI associated with this repository. The OS X build process is actually simpler than the linux build, because there's no docker. On OS X, Travis's VMs run starting from this code in .travis.yml, which executes this script, which triggers a build of any recipe in this recipe which has been updated.
Neither https://github.com/choderalab/openmoltools/blob/master/.travis.yml nor https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh have anything to do with uploading compiled binaries to anaconda.org for conda install openmmtools.
Line 24 in https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh does upload a package to anaconda.org, but that package is called "openmmtools-dev", not "openmmtools" and is never built on OS X (because https://github.com/choderalab/openmoltools/blob/master/.travis.yml doesn't tell travis to use OS X -- it's linux only).

Sorry, I'm not to the omnia stage yet. I was just trying to figure out how
to build my own dev binaries for upload to anaconda.
Thanks for the pointer to the builds here though; I'll see if those recipes
help me.
On Fri, Jun 10, 2016, 6:15 PM Robert T. McGibbon<EMAIL_ADDRESS>wrote:

Both the Linux and OS X packages on anaconda.org/omnia are built using
the Travis CI associated with this repository. The OS X build process
is actually simpler than the linux build, because there's no docker. On OS
X, Travis's VMs run starting from this code in .travis.yml
https://github.com/omnia-md/conda-recipes/blob/master/.travis.yml#L36-L39,
which executes this script
https://github.com/omnia-md/conda-recipes/blob/master/devtools/osx-build.sh,
which triggers a build of any recipe in this recipe which has been updated.
Neither https://github.com/choderalab/openmoltools/blob/master/.travis.yml
nor
https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh
have anything to do with uploading compiled binaries to anaconda.org for conda
install openmmtools.
Line 24 in
https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh
does upload a package to anaconda.org, but that package is called
"openmmtools-dev", not "openmmtools" and is never built on OS X (because
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
doesn't tell travis to use OS X -- it's linux only).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225328327,
or mute the thread
https://github.com/notifications/unsubscribe/AGzUYTQHa1X-lPBbwOYks4qltEYz-Hsjks5qKgwfgaJpZM4IzbwB
.

I think these -dev binaries are a bad idea, which is one of the reasons that they haven't been widely used.
IMO conda is a useful tool for distributing released software to end users, which is what this repository is about. Conda is not well suited to distributing in-development snapshots to the developers themselves.
Sent from my iPhone

On Jun 10, 2016, at 9:23 PM, David L. Mobley<EMAIL_ADDRESS>wrote:
Sorry, I'm not to the omnia stage yet. I was just trying to figure out how
to build my own dev binaries for upload to anaconda.
Thanks for the pointer to the builds here though; I'll see if those recipes
help me.
On Fri, Jun 10, 2016, 6:15 PM Robert T. McGibbon<EMAIL_ADDRESS>wrote:

Both the Linux and OS X packages on anaconda.org/omnia are built using
the Travis CI associated with this repository. The OS X build process
is actually simpler than the linux build, because there's no docker. On OS
X, Travis's VMs run starting from this code in .travis.yml
https://github.com/omnia-md/conda-recipes/blob/master/.travis.yml#L36-L39,
which executes this script
https://github.com/omnia-md/conda-recipes/blob/master/devtools/osx-build.sh,
which triggers a build of any recipe in this recipe which has been updated.
Neither https://github.com/choderalab/openmoltools/blob/master/.travis.yml
nor
https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh
have anything to do with uploading compiled binaries to anaconda.org for conda
install openmmtools.
Line 24 in
https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh
does upload a package to anaconda.org, but that package is called
"openmmtools-dev", not "openmmtools" and is never built on OS X (because
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
doesn't tell travis to use OS X -- it's linux only).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225328327,
or mute the thread
https://github.com/notifications/unsubscribe/AGzUYTQHa1X-lPBbwOYks4qltEYz-Hsjks5qKgwfgaJpZM4IzbwB
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

To clarify -in this case really all I was trying to do was figure out how
the whole system works by uploading to my own conda channel before
bothering all of you to try and get it into omnia. Then I was going to
delete. I just felt I needed to go through all of it once so I'd understand
what was really going on.
I should have made more clear that this wasn't an omnia question per se as
much as a "how do people developing omnia do this" question.
Thanks. I think the clarification you provided helped.
On Fri, Jun 10, 2016, 6:29 PM Robert T. McGibbon<EMAIL_ADDRESS>wrote:

I think these -dev binaries are a bad idea, which is one of the reasons
that they haven't been widely used.
IMO conda is a useful tool for distributing released software to end
users, which is what this repository is about. Conda is not well suited to
distributing in-development snapshots to the developers themselves.
Sent from my iPhone

On Jun 10, 2016, at 9:23 PM, David L. Mobley<EMAIL_ADDRESS>wrote:
Sorry, I'm not to the omnia stage yet. I was just trying to figure out
how
to build my own dev binaries for upload to anaconda.
Thanks for the pointer to the builds here though; I'll see if those
recipes
help me.
On Fri, Jun 10, 2016, 6:15 PM Robert T. McGibbon <
<EMAIL_ADDRESS>wrote:

Both the Linux and OS X packages on anaconda.org/omnia are built using
the Travis CI associated with this repository. The OS X build process
is actually simpler than the linux build, because there's no docker.
On OS
X, Travis's VMs run starting from this code in .travis.yml
<
https://github.com/omnia-md/conda-recipes/blob/master/.travis.yml#L36-L39
,
which executes this script
<
https://github.com/omnia-md/conda-recipes/blob/master/devtools/osx-build.sh
,
which triggers a build of any recipe in this recipe which has been
updated.
Neither
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
nor

https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh

have anything to do with uploading compiled binaries to anaconda.org
for conda
install openmmtools.
Line 24 in

https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh

does upload a package to anaconda.org, but that package is called
"openmmtools-dev", not "openmmtools" and is never built on OS X
(because
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
doesn't tell travis to use OS X -- it's linux only).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225328327
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AGzUYTQHa1X-lPBbwOYks4qltEYz-Hsjks5qKgwfgaJpZM4IzbwB

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225329124,
or mute the thread
https://github.com/notifications/unsubscribe/AGzUYV85uMlwgiLk43oHXaqR3lcRriT6ks5qKg98gaJpZM4IzbwB
.

In that case, the key command you need to play with is just "conda build", and also possibly "anaconda upload".
Sent from my iPhone

On Jun 10, 2016, at 9:43 PM, David L. Mobley<EMAIL_ADDRESS>wrote:
To clarify -in this case really all I was trying to do was figure out how
the whole system works by uploading to my own conda channel before
bothering all of you to try and get it into omnia. Then I was going to
delete. I just felt I needed to go through all of it once so I'd understand
what was really going on.
I should have made more clear that this wasn't an omnia question per se as
much as a "how do people developing omnia do this" question.
Thanks. I think the clarification you provided helped.
On Fri, Jun 10, 2016, 6:29 PM Robert T. McGibbon<EMAIL_ADDRESS>wrote:

I think these -dev binaries are a bad idea, which is one of the reasons
that they haven't been widely used.
IMO conda is a useful tool for distributing released software to end
users, which is what this repository is about. Conda is not well suited to
distributing in-development snapshots to the developers themselves.
Sent from my iPhone

On Jun 10, 2016, at 9:23 PM, David L. Mobley<EMAIL_ADDRESS>wrote:
Sorry, I'm not to the omnia stage yet. I was just trying to figure out
how
to build my own dev binaries for upload to anaconda.
Thanks for the pointer to the builds here though; I'll see if those
recipes
help me.
On Fri, Jun 10, 2016, 6:15 PM Robert T. McGibbon <
<EMAIL_ADDRESS>wrote:

Both the Linux and OS X packages on anaconda.org/omnia are built using
the Travis CI associated with this repository. The OS X build process
is actually simpler than the linux build, because there's no docker.
On OS
X, Travis's VMs run starting from this code in .travis.yml
<
https://github.com/omnia-md/conda-recipes/blob/master/.travis.yml#L36-L39
,
which executes this script
<
https://github.com/omnia-md/conda-recipes/blob/master/devtools/osx-build.sh
,
which triggers a build of any recipe in this recipe which has been
updated.
Neither
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
nor

https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh

have anything to do with uploading compiled binaries to anaconda.org
for conda
install openmmtools.
Line 24 in

https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh

does upload a package to anaconda.org, but that package is called
"openmmtools-dev", not "openmmtools" and is never built on OS X
(because
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
doesn't tell travis to use OS X -- it's linux only).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225328327
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AGzUYTQHa1X-lPBbwOYks4qltEYz-Hsjks5qKgwfgaJpZM4IzbwB

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225329124,
or mute the thread
https://github.com/notifications/unsubscribe/AGzUYV85uMlwgiLk43oHXaqR3lcRriT6ks5qKg98gaJpZM4IzbwB
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@rmcgibbo: We were thinking of phasing out the -dev packages in favor of
uploading a 0.0.0 package to the dev label. Do you think this is a bad idea
too?
If so, any suggestions for packages that need to test against multiple
dependencies on Omnia that are still evolving? Frequent point releases
instead?

The dev "label" is slightly better than the -dev package, but yes, I still think that the best tools for developing software are git and pip install -e, not conda.
Sent from my iPhone

On Jun 10, 2016, at 10:22 PM, John Chodera<EMAIL_ADDRESS>wrote:
@rmcgibbo: We were thinking of phasing out the -dev packages in favor of
uploading a 0.0.0 package to the dev label. Do you think this is a bad idea
too?
If so, any suggestions for packages that need to test against multiple
dependencies on Omnia that are still evolving? Frequent point releases
instead?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Right, I got those working earlier. I was just trying to understand how the
process of "travis builds it for you on several platforms and then
automatically uploads it" works. I got that for linux now, so I think I'm
pretty much set.
Hopefully I can just move to getting a working recipe into omnia very soon
then.
Thanks.
On Fri, Jun 10, 2016 at 6:47 PM, Robert T. McGibbon <
<EMAIL_ADDRESS>wrote:

In that case, the key command you need to play with is just "conda build",
and also possibly "anaconda upload".
Sent from my iPhone

On Jun 10, 2016, at 9:43 PM, David L. Mobley<EMAIL_ADDRESS>wrote:
To clarify -in this case really all I was trying to do was figure out how
the whole system works by uploading to my own conda channel before
bothering all of you to try and get it into omnia. Then I was going to
delete. I just felt I needed to go through all of it once so I'd
understand
what was really going on.
I should have made more clear that this wasn't an omnia question per se
as
much as a "how do people developing omnia do this" question.
Thanks. I think the clarification you provided helped.
On Fri, Jun 10, 2016, 6:29 PM Robert T. McGibbon <
<EMAIL_ADDRESS>wrote:

I think these -dev binaries are a bad idea, which is one of the reasons
that they haven't been widely used.
IMO conda is a useful tool for distributing released software to end
users, which is what this repository is about. Conda is not well
suited to
distributing in-development snapshots to the developers themselves.
Sent from my iPhone

On Jun 10, 2016, at 9:23 PM, David L. Mobley <
<EMAIL_ADDRESS>wrote:
Sorry, I'm not to the omnia stage yet. I was just trying to figure
out
how
to build my own dev binaries for upload to anaconda.
Thanks for the pointer to the builds here though; I'll see if those
recipes
help me.
On Fri, Jun 10, 2016, 6:15 PM Robert T. McGibbon <
<EMAIL_ADDRESS>wrote:

Both the Linux and OS X packages on anaconda.org/omnia are built
using
the Travis CI associated with this repository. The OS X build
process
is actually simpler than the linux build, because there's no
docker.
On OS
X, Travis's VMs run starting from this code in .travis.yml
<

https://github.com/omnia-md/conda-recipes/blob/master/.travis.yml#L36-L39

,

which executes this script
<

https://github.com/omnia-md/conda-recipes/blob/master/devtools/osx-build.sh

,

which triggers a build of any recipe in this recipe which has been
updated.
Neither
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
nor

https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh

have anything to do with uploading compiled binaries to
anaconda.org
for conda
install openmmtools.
Line 24 in

https://github.com/choderalab/openmoltools/blob/master/devtools/travis-ci/after_success.sh

does upload a package to anaconda.org, but that package is
called
"openmmtools-dev", not "openmmtools" and is never built on OS X
(because
https://github.com/choderalab/openmoltools/blob/master/.travis.yml
doesn't tell travis to use OS X -- it's linux only).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225328327

,

or mute the thread
<

https://github.com/notifications/unsubscribe/AGzUYTQHa1X-lPBbwOYks4qltEYz-Hsjks5qKgwfgaJpZM4IzbwB

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225329124
,
or mute the thread
<
https://github.com/notifications/unsubscribe/AGzUYV85uMlwgiLk43oHXaqR3lcRriT6ks5qKg98gaJpZM4IzbwB

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225330073,
or mute the thread
https://github.com/notifications/unsubscribe/AGzUYXof2wtOwWW-3E35X_TILbwCa4NGks5qKhOrgaJpZM4IzbwB
.

--
David Mobley
<EMAIL_ADDRESS>949-385-2436

Back to the philosophy issues a bit:

IMO conda is a useful tool for distributing released software to end users, which is what this repository is about. Conda is not well suited to distributing in-development snapshots to the developers themselves.

I do use the dev snapshots a lot in my group - for example, it's not unusual we uncover a bug in a package which we report and which gets fixed. Once it's fixed, since I have some people who are using the software in question but not actively developing, it's often easier to tell them to make sure they are using, say, parmed-dev via conda install parmed-dev (and they can deviate from this if they know what they are doing) than to have them retrieve parmed themselves; this is especially true if (as is true in some cases in my group) the students are new undergrads and are ONLY used to installing via conda.
So, my take is there's room for conda-installable development versions, however we get access to them. We certainly use these a lot, in my group.

I do use the dev snapshots a lot in my group ...

I'm not sure what this shows -- the fact that your students use them is not in itself evidence that conda is a good tool for distributing development snapshots. For example, the parmed-dev files on anaconda.org are current clearly outdated with respect to the master branch. They were last updated 1 month ago while the latest commit to github.com/parmed/parmed was 7 days ago.
On the other hand, $ pip install git+git://github.com/parmed/parmed will actually install the latest version of the parmed.

Parmed-dev hasn't been updated because we had to disable the conda-dev-recipes when updates to conda-build-all broke that repo, you may recall. Fixing this is something we haven't had time to yet.
Your pip install suggestion only works if all dependencies are automatically installable via pip, right? What if some packages are only available via conda? Or what is the difference between installing some packages via their conda vs pip versions? These are not even guaranteed to be synchronized. And is this the best thing to use for testing if it isn't guaranteed that you are getting the conda versions of dependencies?
To me, the pip route sounds even WORSE than what we currently do, at least for packages that have dependencies in conda.

The -dev recipes are seemingly always somewhat broken or disabled though, which is my point. The pip solution actually does work.
Sent from my iPhone

On Jun 11, 2016, at 6:47 AM, John Chodera<EMAIL_ADDRESS>wrote:
Parmed-dev hasn't been updated because we had to disable the conda-dev-recipes when updates to conda-build-all broke that repo, you may recall. Fixing this is something we haven't had time to yet.
Your pip install suggestion only works if all dependencies are automatically installable via pip, right? What if some packages are only available via conda? Or what is the difference between installing some packages via their conda vs pip versions? These are not even guaranteed to be synchronized. And is this the best thing to use for testing if it isn't guaranteed that you are getting the conda versions of dependencies?
To me, the pip route sounds even WORSE than what we currently do, at least for packages that have dependencies in conda.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Really?

Python 2.7.11 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
[LSKI1497:~] choderaj% pip install git+git://github.com/parmed/parmed
Collecting git+git://github.com/parmed/parmed
  Cloning git://github.com/parmed/parmed to /var/folders/m1/wl3ptzqx2csf2r_q2bfy78n0h7kcfv/T/pip-YevjJn-build
Installing collected packages: ParmEd
  Running setup.py install for ParmEd ... done
Successfully installed ParmEd-2.5.1+49.ge9752f8
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[LSKI1497:~] choderaj% python
Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec  6 2015, 18:57:58)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import parmed
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/__init__.py", line 22, in <module>
    from parmed import unit, utils
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/unit/__init__.py", line 27, in <module>
    from parmed.unit.unit import Unit, is_unit
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/unit/unit.py", line 35, in <module>
    from parmed.utils.six import iterkeys
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/utils/__init__.py", line 3, in <module>
    from parmed.utils.pairlist import find_atom_pairs
  File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/utils/pairlist.py", line 5, in <module>
    import numpy as np
ImportError: No module named numpy
>>>

Looks like this doesn't work at all.
And how would it pull in openmm as a dependency?
I think we may have different definitions of "work".

I think the pip scheme could be made to work if we reengineered a new development package dependency installation scheme around it. But is it worth the investment in that, or in something based around dev labels and conda? I'm not sure which plan is best.

When you're developing software, you don't have numpy installed? We're not talking about distributing software to end users, we're talking about developers by assumption.
Sent from my iPhone

On Jun 11, 2016, at 12:42 PM, John Chodera<EMAIL_ADDRESS>wrote:
Really?

Python 2.7.11 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
[LSKI1497:~] choderaj% pip install git+git://github.com/parmed/parmed
Collecting git+git://github.com/parmed/parmed
Cloning git://github.com/parmed/parmed to /var/folders/m1/wl3ptzqx2csf2r_q2bfy78n0h7kcfv/T/pip-YevjJn-build
Installing collected packages: ParmEd
Running setup.py install for ParmEd ... done
Successfully installed ParmEd-2.5.1+49.ge9752f8
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[LSKI1497:~] choderaj% python
Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec  6 2015, 18:57:58)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org

import parmed
Traceback (most recent call last):
File "", line 1, in
File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/init.py", line 22, in
from parmed import unit, utils
File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/unit/init.py", line 27, in
from parmed.unit.unit import Unit, is_unit
File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/unit/unit.py", line 35, in
from parmed.utils.six import iterkeys
File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/utils/init.py", line 3, in
from parmed.utils.pairlist import find_atom_pairs
File "/Users/choderaj/miniconda/lib/python2.7/site-packages/parmed/utils/pairlist.py", line 5, in
import numpy as np
ImportError: No module named numpy

Looks like this doesn't work at all.
And how would it pull in openmm as a dependency?
I think we may have different definitions of "work".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Apologies for being unclear: I'm talking about automated travis testing involving upstream packages that rapidly change. The current system is mostly broken, and we're evaluating a few options for fixing this:

Insist on frequent point releases for all packages and only use upstream releases; don't upload travis-built packages to omnia.
Switch to having travis upload packages to the dev label, and use these packages if needed by manually specifying we need version 0.0.0 for testing
Build some automated system around pip to install directly from github for those packages that need it, requiring constructing some sort of mix of conda and pip
Other possibilities we may have missed?

I should probably have ParmEd declare numpy as an explicit dependency for pip to understand, so that's probably my fault.  That said, once numpy is installed, ParmEd just works.  If you need parts that need OpenMM, you'll be told to install OpenMM (which you can easily do via conda).
I tend to agree with @rmcgibbo that, at least for packages that work well with pip at the source level (so not OpenMM, for instance), beat the *-dev packages that never seem to work reliably for automated testing (and it's time consuming to even do it unreliably, too).
I've also never had problems with pip not understanding things that conda has installed, and vice versa.  They will never use each other to satisfy dependencies, but they harmonize with each other just fine.  So such a suggestion will not scale if you need to use lots of *-dev packages.
But if you're living on the bleeding edge for so many packages that sometimes using pip is too much of a pain, you're asking for a whole lot more problems than difficulty in resolving cross-package-manager dependencies.
So if you just need to make sure you get the latest ParmEd instead of the stable conda package, just use pip.

conda install parmed and then pip install master branch. conda will resolve all the dependencies and you'll get the latest parmed code. substitute parmed for anything

I'm inclined to chime in on the side of conda over pip. I've had undergrads
on Windows with no programming/computing experience who can conda install openmoltools-dev and have everything just work (despite me not knowing
whether this would really work on Windows) and getting them going with pip
would have been much more painful.
Matthew Harrigan's solution also sounds good. But certainly pip is not as
good a solution as conda for rookies (who sometimes DO need to use the
latest code).
On Sat, Jun 11, 2016 at 11:56 AM, Matthew Harrigan<EMAIL_ADDRESS>
wrote:

conda install parmed and then pip install master branch. conda will
resolve all the dependencies and you'll get the latest parmed code.
substitute parmed for anything
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/539#issuecomment-225385872,
or mute the thread
https://github.com/notifications/unsubscribe/AGzUYdNOEcKMlLp-smj5upVr1E2GWpi1ks5qKwTVgaJpZM4IzbwB
.

--
David Mobley
<EMAIL_ADDRESS>949-385-2436

I'm not sure if making it easy for undergrads on Windows with no programming/computing experience to get bleeding-edge academic code running should be our priority. This use case seems much better suited to frequent releases, stable releases, or both

I'm inclined to chime in on the side of conda over pip. I've had undergrads
on Windows with no programming/computing experience who can conda install openmoltools-dev

Are you sure? There are no Windows binaries for openmm-dev on anaconda.org.
Let me just run through the my memory of the sequence of events. When we started setting up conda-based buid infrastructure and continuous integration, IIRC a few of the PG projects like MDTraj and MSMBuilder changed their travis scripts to upload built binaries after testing to anaconda.org (then called binstar.org). John then began to use this pattern for some of his group's software as well. This was all done using travis-ci's linux build infrastructure. There were never any -dev packages for Windows or OS X. If I remember correctly, the packages were mostly intended to be used inside the travis-ci test scripts for other downstream packages that depended on MDTraj, MSMBuilder, and the other packages that produced these nightly build artifacts.
These binaries had a lot of problems, which led Matt and I to remove them for the packages that we worked on. Some of those problems, from my perspective, were.

The binaries were not cross-platform. They also didn't work on many linux distributions in common use like CentOS 5 and CentOS 6, which led to frustration. Compiling linux binaries that work cross-distro is kind of tricky. You can read a little bit about the problems and solutions in the PEP I coauthored.
The binaries were never versioned properly. We didn't want to use all of our storage on anaconda.org, so the version numbers were always wrong so that the packages would overwrite one another when uploaded.
The machinery to build and upload these packages was seemingly always broken. This seems to still be the case, given that the current parmed-dev binaries are outdated.

John and David seem to be talking about two different use cases in this thread.

How to configure automated testing for packages with rapidly-moving upstream dependencies?

This doesn't require any coordination between parties. My recommendation is that any mixture of conda install, pip install, git clone ... && python setup.py install is just fine, dependening on how you want to structure your scripts and tests, and you want to pull from conda/pypi vs. from github.

How to distribute software to users like undergraduates?

If a large fraction of your end users have a dire need for the tip of the master branch as opposed to the latest release of the software, that's a good signal you're probably releasing too infrequently in my opinion.


Measurement parameters

I started a SEV-SNP VM (using https://github.com/AMDESE/AMDSEV), no I want to precalculate measurement value of attestation report, but I'm not sure in the command  sevctl measurement build which parameters should be provided for --tik and  --launch-measure-blob? What are these attributes?

@pegahnikbakht you may create the integrity key (TIK) with sevctl session, before starting your VM, and may get measure blob from your hypervisor (e.g. QEMU) with query-sev-launch-measure command (via QMP interface).


Mysql gateway closing connection issue

Hi,
Trying to access Mysql gateway using jdbc driver from java gives error saying connection closed at the end.
New connection 7
[7] Got SQL: SELECT @@session.autocommit
[7] Got SQL: SET NAMES utf8mb4
[7] Got SQL: SET character_set_results = NULL
[7] Got SQL: SET autocommit=1
[7] Got SQL:  select page , sum( count ) as cnt from wikiticker  where (( __time >= '2015-03-12T00:00:00' ) and ( __time < '2016-09-13T00:00:00' )) group by page order by cnt asc limit 5;
[7] Error: Connection lost: The server closed the connection.
The java client code I used is as follows :
try {
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://<IP_ADDRESS>:3307/plyql1");
stmt = con.createStatement();
rs = stmt.executeQuery(
"  SELECT page, SUM(count) AS Edits FROM wikiticker WHERE '2015-09-12T00:00:00' <= __time AND __time < '2015-09-13T00:00:00' GROUP BY page ORDER BY Edits DESC LIMIT 5;"
);
  while (rs.next()) {
    String page = rs.getString("page");
    long count = rs.getLong("Edits");
    System.out.println(String.format("page[%s] count[%d]", page, count));
  }
} catch (SQLException | ClassNotFoundException s) {
  s.printStackTrace();
}

Hi what, mysql-connector-java version are you using? I can not repo this on the few versions I tried.

Hi @vogievetsky , I am using 6.0.2 which I think is the latest.

mysql
mysql-connector-java
6.0.2

The mysql installed on my local box is
mysql  Ver 14.14 Distrib 5.6.25, for debian-linux-gnu (x86_64) using  EditLine wrapper
Please note that, I am receiving the response from the gateway, just that I see an error message only on the mysql gateway console.

Hi @vogievetsky ,
While I am facing the issue I mentioned earlier, which I got while doing a sanity run for the new gateway exposed , I also have another problem on similar lines as follows :
I have an existing application which I am trying to connect to Mysql gateway using Jdbcdriver . Given a sql query, my application tries to first prepare a statement before executing the query. However, I am getting following error while trying to getConnection in the prepare phase.
18 May 2016 07:20:11 [5cfc3b48-6621-4a42-b84e-03b9c298f974] [C3P0PooledConnectionPoolManager[identityToken->z8kfsx9g1i1570919fgmt8|a3e05b8]-HelperThread-#1] WARN  com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3166dbe3 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (46 > -1). You can change this value on the server by setting the max_allowed_packet' variable.
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:610) ~[mysql-connector-java-5.1.32.jar:na]
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:427) ~[mysql-connector-java-5.1.32.jar:na]
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3222) ~[mysql-connector-java-5.1.32.jar:na]
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2393) ~[mysql-connector-java-5.1.32.jar:na]

The max_allowed_packet size here seems to be -1 which seems a bit weird. I am trying to increase the max_allowed_packet size but not sure how to do it in the Mysql gateway of Plyql.
On the other end, on the mysql gateway console I can see too many metadata queries which are being hit and the connection closed errors as mentioned earlier.
I am not sure if these two issues are interlinked. Please help.

Hi @vogievetsky ,
I am using version : 6.0.2

I am looking into this but failing to reproduce at the moment.
I am also a little confused as to your logs:
In your proxy log it shows:

Got SQL: select page , sum( count ) as cnt from wikiticker where (( __time >= '2015-03-12T00:00:00' ) and ( __time < '2016-09-13T00:00:00' )) group by page order by cnt asc limit 5;

Yet in your code you have:

" SELECT page, SUM(count) AS Edits FROM wikiticker WHERE '2015-09-12T00:00:00' <= __time AND __time < '2015-09-13T00:00:00' GROUP BY page ORDER BY Edits DESC LIMIT 5;"

Those do not match up, those are similar but different queries. Could you please check that you grabbed the correct query for the proxy log?

Hi @rajitha703 I just made some fixes for https://github.com/implydata/plyql/issues/29 that might have been affecting you (I am not sure) can you please try again?

Hi @vogievetsky ,
That's a typo from my end. I rechecked it again and the issue still exists. I receive the data but the mysql console gives Error: Connection lost: The server closed the connection. . This can be seen even in issue #29.
However, I am trying to get the new plyql code up on my box this way. But I get this error :
rajitha@IM0318-L0:~/Downloads/plyql-master$ bin/plyql -h localhost:8082 -i P2Y --experimental-mysql-gateway 3307
module.js:341
throw err;
^
Error: Cannot find module '/home/rajitha/Downloads/plyql-master/build/cli'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (/home/rajitha/Downloads/plyql-master/bin/plyql:7:13)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
Before this, I had pulled Imply latest code and from there could bring the mysql gateway up, but not really sure how to get the latest code of just plyql running on my box. Can you please help me here so that I can always update the latest changes of Plyql in my local? Thanks.

Sure thing, the plyql you download form master needs to be compiled. which is why you are not finding build/cli.
I assume you are on a mac:

make sure you have node installed (type in node --version) it should print version 4 or above
(if you do not, the easiest way to install node is with homebrew: brew update; brew install node

use npm to install plyql like so: npm install -g plyql then the plyql command should become available to you. Try plyql --version

Hi @vogievetsky ,
I use Ubuntu. I downloaded the latest code of plyql and did the following:
rajitha@IM0318-L0:~$ sudo npm install -g plyql
npm WARN lifecycle<EMAIL_ADDRESS>cannot run in wd %s %s (wd=%s<EMAIL_ADDRESS>./prepublish /home/rajitha/plyql
/usr/bin/plyql -> /usr/lib/node_modules/plyql/bin/plyql
/usr/lib
`--<EMAIL_ADDRESS>
However when I check the version , I don't see it updated.  Only the plywood version seems to be updated.
rajitha@IM0318-L0:~/plyql$ plyql --version
plyql version 0.5.4 [beta] (plywood version 0.7.19)
Also when I try to start the gateway from the plyql directory, I find this :
rajitha@IM0318-L0:~/plyql$ bin/plyql -h localhost:8082 -i P2Y --experimental-mysql-gateway 3307
module.js:341
throw err;
^
Error: Cannot find module '/home/rajitha/plyql/build/cli'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)

Hi @vogievetsky ,
Can you please help me here? I m badly stuck.
I am using Imply for bringing up the Mysql gateway of Plyql and it still is pointing to an older version.
http://imply.io/docs/latest/release
I am not still sure how to upgrade plyql separately and bring up the mysql gateway..Please help :(

Hi @vogievetsky , I had some older version of plyql being referred . Removed it and now it works. Thanks for checking on this. :)

Awesome!

Hi there,
I'm still having the exact same issue described in this post, and I'm using the latest version includid in Imply, the PlyQL 0.7.6
Could you pleas help me?
Thanks

I istalled the plyql 0.8.2 and still the same... May it's better not to use the imply bundle and install everything standalone?


Fix for InvBatPower2 register endian change

the latest H3 Pro firmware Master 1.53, Manager 1.22 has flipped the endian for this register; which now matches the Fox modbus definition (V<IP_ADDRESS>) see https://github.com/nathanmarlor/foxess_modbus/discussions/685#discussioncomment-10811413

Thanks!


Completion of error handling

Would you like to add more error handling for return values from functions like the following?

pthread_mutex_init ⇒ cupsMutexInit
strdup ⇒ cupsDNSSDServiceNew

Sorry, but these sorts of bug reports are worse than useless.

:thought_balloon: I suggest to avoid ignorance of return values a bit more.
Would you like to detect every error situation as early as possible?

:thought_balloon: Can you adhere to secure programming guidelines?


Updated validation for chart names

Closes the  https://github.com/helm/helm/issues/10537 issue
What this PR does / why we need it:

Added validation rules for chart names to ensure they are formatted correctly.
Provides  feedback to users when chart names are invalid.

Special notes for your reviewer:
N/A
If applicable:

[ ] this PR contains user facing changes (the docs needed label should be applied if so)
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

Thank you for your PR. I did pull it and try to test your changes but did hit an error.

@robertsirc  Thanks for the update. Can you tell what error you encountered so that I can retest again and push the updated one.

@Najeeb120 the change fails against the tests. That's what Robert was getting at.

@mattfarina I will recheck and update on the same.Also if you have any hint do let me know


'Telegram' logo does not respect logoColor value

Are you experiencing an issue with...
shields.io
🐞 Description
So basically, while I was trying to fancy up my GitHub readme with some badges, I added Instagram first and then I added Telegram. Now I realised that I could use the logoColor property on Instagram (for example https://img.shields.io/badge/-Instagram-red?color=DD2A7B&logo=instagram&logoColor=white to make the Instagram logo become white. But when I tried to make the Telegram logo white, I realised that the Telegram logo remains blue regardless of logoColor.
This is a bit of an annoying problem seeing as how I'm trying to give the badges in my ReadMe a consistent look, and the Telegram logo sticks out like a sore thumb.
🔗 Link to the badge
https://simpleicons.org/icons/telegram.svg
And for reference help: https://simpleicons.org/icons/instagram.svg
Images for visual help:

The code for the image directly above is:
![Telegram](https://img.shields.io/badge/-telegram-red?color=white&logo=telegram&logoColor=black)
![Instagram](https://img.shields.io/badge/-Instagram-red?color=white&logo=instagram&logoColor=black)

As you can see, while the logo color for the Instagram logo changes, the logo color for Telegram does not.
💡 Possible Solution
Possible solution: Talk to the people who run the Simple Icons API and let them know about this problem and ask them to fix it.

That's by design as we use a custom logo for telegram that takes preference over the SI reference. I believe the underlying calculus, which led us to keep telegram as one of the handful of custom logos we maintain, remains unchanged so I don't anticipate changing anything on our side.
In this case I think your best bet is to get the logo you want (via SI or otherwise) and adjust the color as needed, and then leverage our custom logo feature to embed that version in your badge
https://github.com/badges/shields/blob/master/doc/logos.md
https://github.com/badges/shields/issues/2510
https://github.com/badges/shields/pull/2880

This is by and large a duplicate of #6208, shall we continue the discussion there?

Agreed, closing

update: https://github.com/badges/shields/issues/6208#issuecomment-1328051956


Add ability to specify from and to AVA version as CLI flag

I want to reuse the command in many projects and don't want to go through the interactive interface each time.

Do you want the ability to tell CLI to use the default files too? i.e. something like ava-codemods --from 0.13.0 --to 0.14.0 --defaultFiles

I was thinking we could create an upgrade ava command that read the current version from package.json, bumped AVA and ran the appropriate codemods all at once.

Ah sounds nice!


Ami fails to compile

When I run "mvn package" (per README), I get this compile error:
[ERROR] Failed to execute goal on project ami2: Could not resolve dependencies for project org.xml-cml:ami2:jar:0.3.0: Failed to collect dependencies for [org.xml-cml:norma:jar:0.3.0 (compile), org.xml-cml:diagramanalyzer:jar:0.1-SNAPSHOT (compile), org.apache.lucene:lucene-core:jar:4.10.3 (compile), org.apache.lucene:lucene-analyzers-common:jar:4.10.3 (compile), com.google.guava:guava:jar:18.0 (compile), junit:junit:jar:4.11 (test), blogspot.software-and-algorithms:stern-library:jar:0.1 (compile), org.vafer:jdeb:jar:1.3 (provided), com.jayway.jsonpath:json-path:jar:2.0.0 (compile), com.univocity:univocity-parsers:jar:1.5.6 (compile)]: Failed to read artifact descriptor for org.xml-cml:norma:jar:0.3.0: Could not transfer artifact org.xml-cml:norma:pom:0.3.0 from/to ebi-repo (http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo/): Failed to transfer file: http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo/org/xml-cml/norma/0.3.0/norma-0.3.0.pom. Return code is: 500 , ReasonPhrase:Internal Server Error. -> [Help 1]

I like to get a build environment as I want to write a plugin to use a controlled list of nanomaterial names ("NM-100") to be extracted the occurrence of articles...

Thanks - I will try to get a new AMI released which will have better
dependencies.
On Tue, Nov 29, 2016 at 6:59 AM, Egon Willighagen<EMAIL_ADDRESS>wrote:

When I run "mvn package" (per README), I get this compile error:
[ERROR] Failed to execute goal on project ami2: Could not resolve dependencies for project org.xml-cml:ami2:jar:0.3.0: Failed to collect dependencies for [org.xml-cml:norma:jar:0.3.0 (compile), org.xml-cml:diagramanalyzer:jar:0.1-SNAPSHOT (compile), org.apache.lucene:lucene-core:jar:4.10.3 (compile), org.apache.lucene:lucene-analyzers-common:jar:4.10.3 (compile), com.google.guava:guava:jar:18.0 (compile), junit:junit:jar:4.11 (test), blogspot.software-and-algorithms:stern-library:jar:0.1 (compile), org.vafer:jdeb:jar:1.3 (provided), com.jayway.jsonpath:json-path:jar:2.0.0 (compile), com.univocity:univocity-parsers:jar:1.5.6 (compile)]: Failed to read artifact descriptor for org.xml-cml:norma:jar:0.3.0: Could not transfer artifact org.xml-cml:norma:pom:0.3.0 from/to ebi-repo (http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo/): Failed to transfer file: http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo/org/xml-cml/norma/0.3.0/norma-0.3.0.pom. Return code is: 500 , ReasonPhrase:Internal Server Error. -> [Help 1]
I like to get a build environment as I want to write a plugin to use a
controlled list of nanomaterial names ("NM-100") to be extracted the
occurrence of articles...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ContentMine/ami/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsxSz3TBNUTMrbMNVflksnt7cfTe2Gsks5rC81tgaJpZM4K-oeD
.

--
Peter Murray-Rust
Reader Emeritus University of Cambridge +44-1223-763069
and
ContentMine Ltd

So, I need an ami/ branch which is updated for the cmine/cproject migration... I now have >170 compile fails... some of these are simple cmine/cproject changes, but I also see API changes...
Is there an ami/ branch that is updated to use cproject?

I sort of got this working now with this patch: https://github.com/ContentMine/ami/pull/68


Document configuring mailhog via Docker

How do I configure mailhog via Docker? I would like to add auth but I have trouble figuring it out.

Found a docker-compose example on
https://technotrampoline.com/articles/how-to-intercept-nodemailer-emails-with-mailhog/
Check it out may be it is something for you.
version: "3"
services:
  mailhog:
    image: "mailhog/mailhog"
    container_name: "mailhog"
    ports:
      - 8025:8025
      - 1025:1025

Please have a look at this issue, it shares the compose file including the injection of the auth file and setting the environment variable.
Another approach would be to create your own Dockerfile, copy your auth file to the container and set the environment variable with the Dockerfile ENV command.
This could then look like:
FROM mailhog/mailhog:v1.0.1

WORKDIR /conf/
COPY auth.file .

ENV MH_AUTH_FILE=/conf/auth.file


DHCPv6 server "Apply changes" deletes all settings

Modifying static mappings for DHCPv6 hosts results in a dialogue at the top of the screen that prompts the user to Apply changes, before the updated mappings will take effect.  Clicking the button destroys all configuration for the DHCPv6 server and saves the result, meaning that all the user's settings are lost and must be configured from scratch.  This is pretty severe.  I imagine this is because the form for the apply button submits to the same action URL, but doesn't include any parameters.
I suspect this problem effects any other screens that include an Apply changes prompt, though I have no great desire to test this by destroying my DHCPv4 settings (one other screen I know uses this workflow).
EDIT: A workaround for users in the mean time is to use the Save button, and never click the Apply changes button.

The issue should be fixed with https://github.com/opnsense/core/commit/64d21efdbe4306f6bbd9617c032b958dacf44e6d apparently a apply also saved the empty post data....

Forgot to mention, the ipv4 screen doesn't seem to have this issue on my machine.

Good stuff @AdSchellevis.  It'd probably be prudent to check other screens that use the Apply changes workflow - I feel like this isn't the only screen I've seen this happen on, but I could be wrong.

Thanks, I have checked quite some pages, but with the very different approaches used in all the pages it's quite hard to figure out if this is really all. At least we know why we really need to move away from the untestable legacy code...
In case you stumble into other weirdness, just let us know.

Ouch, thanks for the efforts @AdSchellevis, will do.


Man! What can I say!☝🤓The acronym should be: HELICOPTER

Human-Enabled-Large-Information-Collection-Oriented-Proficient-Transformer☝🤓

AI modelling guys are so crazy about acronym nowadays😂