[FIX] should check fe host standing when coordinator is not found.

fix https://github.com/apache/doris/pull/37707

run buildall


mouse typings should support SVGSVGElement as target

Describe The Problem To Be Solved
@solid-primitives/mouse currently restricts the target to be (an accessor of) HTMLElement | Window | Document. I'd like the typings to include SVGSVGElement (and maybe all/more of SVGElement), which works fine in my testing.
Suggest A Solution
The docstring actually says Element instead of HTMLElement, but this doesn't match the typings of @solid-primitives/event. I couldn't quite decipher the TargetWithEventMap magic to make this work out, but ideally you could use the same typings from there.

Fixed in https://github.com/solidjs-community/solid-primitives/commit/7e7888a22adcc39b67968af41f947caa4186fb60
Element cannot be used, it has only "fullscreenchange" and "fullscreenerror" available events.


Null reference exception when attacked while wild shaped and concentrating

On <IP_ADDRESS>, there appears to be a null reference exception when a druid casts a concentration spell, casts wild shape, and then is attacked. Steps to reproduce:

Prepare a concentration spell
Enter combat
Cast a concentration spell
Wild shape into another form
Get attacked by something

It seems as though the game tries to roll a concentration check, but can't. Perhaps the wildshape itself is not treated as the one concentrating. I'm attaching the player.log, but this seems to be the relevant stacktrace:
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at SolastaUnfinishedBusiness.Patches.RulesetCharacterPatcher+RollConcentrationCheck_Patch.RollConcentrationCheck (RulesetCharacter __instance, System.Int32 saveDC, System.String damageType, RuleDefinitions+RollOutcome& outcome) [0x00073] in <19a45cd7ff024d578fb41c69ddd953d1>:0
  at SolastaUnfinishedBusiness.Patches.RulesetCharacterPatcher+RollConcentrationCheck_Patch.Prefix (RulesetCharacter __instance, System.Int32 saveDC, System.String damageType, RuleDefinitions+RollOutcome& outcome) [0x00000] in <19a45cd7ff024d578fb41c69ddd953d1>:0
  at (wrapper dynamic-method) RulesetCharacter.RulesetCharacter.RollConcentrationCheck_Patch1(RulesetCharacter,int,string,RuleDefinitions/RollOutcome&)
  at (wrapper dynamic-method) RulesetCharacter.RulesetCharacter.RollConcentrationCheckFromDamage_Patch0(RulesetCharacter,int,string,RuleDefinitions/RollOutcome&)
  at (wrapper dynamic-method) GameLocationCharacter.GameLocationCharacter.CheckConcentration_Patch2(GameLocationCharacter,RulesetCharacter,int,string,bool)
  at GameLocationCharacter.DamageSustained (RulesetCharacter character, System.Int32 damage, System.String damageType, System.Boolean wasConscious, System.Boolean stillConscious, System.Boolean massiveDamage) [0x00000] in <14069e0776c443f6af77ee3eeee86525>:0
  at (wrapper delegate-invoke) <Module>.invoke_void_RulesetCharacter_int_string_bool_bool_bool(RulesetCharacter,int,string,bool,bool,bool)
  at RulesetCharacter.SustainDamage (System.Int32 totalDamageRaw, System.String damageType, System.Boolean criticalSuccess, System.UInt64 sourceGuid, RollInfo rollInfo, System.Boolean& damageAbsorbedByTemporaryHitPoints, System.Boolean forceKillOnZeroHp, ConditionDefinition specialDeathCondition) [0x004a9] in <14069e0776c443f6af77ee3eeee86525>:0
  at (wrapper dynamic-method) RulesetActor.RulesetActor.InflictDamage_Patch1(int,DamageForm,string,RulesetImplementationDefinitions/ApplyFormsParams,RulesetActor,bool,ulong,bool,System.Collections.Generic.List`1<string>,RollInfo,bool,bool&)
  at (wrapper dynamic-method) RulesetImplementationManager.RulesetImplementationManager.ApplyDamageForm_Patch0(RulesetImplementationManager,EffectForm,RulesetImplementationDefinitions/ApplyFormsParams,bool&,int&,int&,string&,bool&,System.Collections.Generic.List`1<string>)
  at RulesetImplementationManager.ApplyEffectForm (EffectForm effectForm, EffectForm nextEffectForm, RulesetImplementationDefinitions+ApplyFormsParams formsParams, System.Boolean retargeting, System.Boolean proxyOnly, System.Boolean forceSelfConditionOrLightOnly, System.Int32& damageReceived, System.String& damageType, System.Boolean& firstDamage, System.Boolean& firstHealing, System.Int32& formIndex, System.Boolean& damageAbsorbedByTemporaryHitPoints, System.Collections.Generic.List`1[T] effectiveDamageTypes) [0x00386] in <14069e0776c443f6af77ee3eeee86525>:0
  at RulesetImplementationManager.ApplyEffectForms (System.Collections.Generic.List`1[T] effectForms, RulesetImplementationDefinitions+ApplyFormsParams formsParams, System.Collections.Generic.List`1[T] effectiveDamageTypes, System.Boolean& damageAbsorbedByTemporaryHitPoints, System.Boolean& terminateEffectOnTarget, System.Boolean retargeting, System.Boolean proxyOnly, System.Boolean forceSelfConditionOrLightOnly, RuleDefinitions+EffectApplication effectApplication, System.Collections.Generic.List`1[T] filters) [0x00068] in <14069e0776c443f6af77ee3eeee86525>:0
  at SolastaUnfinishedBusiness.Patches.CharacterActionAttackPatcher+ExecuteImpl_Patch+<ExecuteImpl>d__1.MoveNext () [0x0138f] in <19a45cd7ff024d578fb41c69ddd953d1>:0
  at TA.Coroutine.Run
 () [0x00019] in <14069e0776c443f6af77ee3eeee86525>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Trace:LogException(Exception)
TA.Coroutine:Run()

GameLocationActionManager:UpdateImpl()
GameLocationActionManager:FixedUpdate()

Please let me know if you need anything else from me to troubleshoot!
Player.log

Update to v15.

Oops. We missed that in the changelog, and I think we were all looking for "druid" and all 4 of us missed it.
We all also work in software. I've become the person we all despise...
Thanks ThyWoof :)

Damm users 🤣


libopencv-dev not installed

We are using the following Docker base image to build our ros application: dustynv/ros:noetic-ros-base-l4t-r34.1.1
Building our application upon this base we are encountering the following issue:
 ros-noetic-cv-bridge : Depends: libopencv-dev but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  libpcl-dev : Depends: libflann-dev but it is not going to be installed               Depends: libvtk7-dev but it is not going to be installed               Depends: libqhull-dev but it is not going to be installed               Depends: libvtk7-qt-dev but it is not going to be installed               Depends: libopenni-dev but it is not going to be installed
Any hints how this can be solved? May of our packages need libopencv-dev.

@tiesus OpenCV is actually installed, with CUDA enabled, it was just built/installed from source via deb packages as opposed to apt.  So the name gets different.
ROS Noetic is also built from source in container, so you probably just want to add your package to the rosinstall_generator command here:
https://github.com/dusty-nv/jetson-containers/blob/5dece56e74b6cc14ced9557cc103affcdde728c1/packages/ros/Dockerfile.ros.noetic#L61
rather than mix-and-match ROS apt packages with the source installation

Thank's for the quick response. Try out later, but pretty sure this solves my issue.

@dusty-nv We are also having this issue just for different packages. Any package that depends on opencv throws the above error, I know we could just purge opencv and install it using apt, but we would like to get the cuda enabled opencv.

Hi @nakai-omer, here is one such example of where I reinstall opencv_cuda after it was purged due to the ubuntu version in apt:
https://github.com/dusty-nv/jetson-containers/blob/cb6c847f88df221e705397a1ee98424c2e893243/packages/diffusion/stable-diffusion-webui/Dockerfile#L24
I keep that install_opencv.sh script under /opt for these kind of scenarios so that it can be re-installed as needed.

Ah nice, so first purge, install all  apt deps, and then reinstall, ok will try it out thanks a lot!

@tiesus OpenCV is actually installed, with CUDA enabled, it was just built/installed from source via deb packages as opposed to apt. So the name gets different.
ROS Noetic is also built from source in container, so you probably just want to add your package to the rosinstall_generator command here:
https://github.com/dusty-nv/jetson-containers/blob/5dece56e74b6cc14ced9557cc103affcdde728c1/packages/ros/Dockerfile.ros.noetic#L61
rather than mix-and-match ROS apt packages with the source installation

@dusty-nv Hello, beginner here, just need your confirmation on this.
So is the solution something like this? Where ros-noetic-cv-bridge is placed in the command?
rosinstall_generator ${ROS_PKG} vision_msgs image_transport ros-noetic-cv-bridge --rosdistro ${ROS_DISTRO} --deps --tar > ${ROS_DISTRO}-${ROS_PKG}.rosinstall && \


ISO calendar relative dates useful?

I have written an application that uses what I'm calling ISO calendar relative dates---year, week number, day of week, minute of day---instead of absolute dates.  I added a couple of methods to moment to convert back and forth between ISO calendar relative dates and moment objects.
This is useful because I am building a week calendar, and I only need the dates in terms of weeks.  It allows me to copy events across weeks and to not have to deal with full dates when I don't need to.
Do you think this would be useful for anybody else?  Would moment be benefited by having it?
Example Usage
moment(new Date(2011, 11, 23)).toRelative();
// [2011, 51, 5, 0]

It's pretty non-standard, so I'm not sure how many people would use it.
However, if you have a github repository for it, I can add a plugins section to the docs and list it.
Writing it as a plugin is pretty similar to writing a jQuery plugin.
(function(moment){
    moment.fn.toRelative = function() {
        return ...
    };
}(moment));

Also, you may want to find a more descriptive name than toRelative, as moment.fn.from and moment.fn.calendar both started out being named 'relative' something or other, and needed to be renamed for clarity. Maybe something like toISOWeek or toYearWeekDayMinuteArray or something. I don't know, naming is hard...

I started a plugin over at https://github.com/rockymeza/moment-isocalendar.  It provides a moment.fn.isocalendar method based on Python's isocalendar method.  It also provides the opposite function moment.fromIsocalendar.
I just finished ripping this out and I haven't tested it against real code, so it's not ready for other people to use, but I was wondering if you could look it over real quick.  I haven't seen any other moment plugins and I was wondering if that's how you sort of thought one would be written.

It looks great to me. I think once the tests run and everything passes, it should be good to go.
Here's a way to shorten your code a bit though.
var dayOne = function(year) {
    return moment(new Date(year, 0, 1, 0, 0, 0));
}

Could be this
var dayOne = function(year) {
    return moment([year]);
}

Creating a moment with an array that mirrors the parameters that are passed to new Date will default the skipped parameters to [year, 0, 1, 0, 0, 0].
Other than that, looks good, let me know when its tested and ready to go

I still need to take a little bit more time on this before I feel it is ready, but I just want you know that I have transferred ownership of it to fusionbox, where I work.  I made this at work, and I feel better if it is on their github account.  It now lives at http://github.com/fusionbox/moment-isocalendar

I'm going to close this issue, but please open another one when the plugin is ready so that I can add it to the docs.

I was just thinking about this and couldn't remember if you said it was finished or not. I saw you linking to it over in #166, want me to put it up in the plugins section of the docs?

I have it passing tests in browser and in node, but I don't have anything using it.  It is based on code that is running in production, but that used Sunday as the first day of the week.
Right now it should work for those guys in #166, but I also wanted to add some features to it, like the ability to decide whether the week starts on Sunday or Monday.
I think you can go ahead and put it in the docs, but I would like to have more people actually use it.
Thanks


add ParentChildRelationSqlService

This PR is to introduce parent child relation metadata in Metacat.
There are two major changes:
Change1: Add a ParentChildRelationshipService that is backed by mysql to store the parent child relation.
create:
Disallow creating an existing child table as a parent table of a new table.
Disallow having more than one parent for a child table
rename:
Rename child column and parent column that matches the old Name.
Based on the creation rule, we should only either rename the child column or parent column but since our default transaction isolation level is read_committed, I want to do direct update.
drop:
Prevent dropping any parent table that has child table.
Change2: Integrate it into the existing Metacat System:
For both create, rename, drop, if fail to update the parent child relation, revert back the tableProxy operation. We also log error message and will build alert based on the error message.
For get, we will always fetch the parent child relation from ParentChildRelationshipService

Another thing to discuss is should we put validation along with with mysql validation.
Since we are using read_committed, we may still face phantom read problem so having the validation inside the mysql query also does not help.


Add pqm4 import script & imported data

Nice work, thanks!
Some suggestions:
I'd prefer the import script to download the csv automatically. Further, instead of committing the csv to pqdb I'd suggest that we add the import date to the comments in the yaml files.

I'd prefer the import script to download the csv automatically.

I thought about that. But I wanted to always link to the revision of pqm4 where the data is actually from. In order to do that automatically, I'd have to some major git hackery to find out the hash of the current master etcpp. I decided it'd be easier to just download the csv and update the hash in the .py file.

I'd suggest that we add the import date to the comments in the yaml files.

I also thought about that. However, the date when we imported the data is not very interesting. Finding out the date when a specific benchmark was imported into pqm4 is also only possible by diving deep into the pqm4 repo so I opted against that.

Further, instead of committing the csv to pqdb

Yeah, maybe we should not commit it (and instead print some "get it from here (and update the commit hash in the sources field)" message), after all we would only run the import script when there's new data anyway. (ok actually, no: we should also run it after we've added a new scheme. mh)

Instead of doing git hackery you can use the Github API.
https://api.github.com/repos/mupq/pqm4/commits?path=benchmarks.csv&sha=master

Then take the sha property of the first entry of the returned array and put it into the comment in the yaml files. To be sure that you download the correct file version you can use the commit sha too.
https://raw.githubusercontent.com/mupq/pqm4/:commit_sha/benchmarks.csv


Tools > Options > CMake Fig, Not Current Version

"Cross-platform CMake development with a WSL 2 distro"
"5.Enable Visual Studio's CMake Presets integration. Select Tools > Options > CMake > General. "
The figure shown here is different from the current version.
My current version:
Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.3.6
The current version has the following configuration
CMake configuration file:
Always use CMake Oresets
Use CMake Presets if ....

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

ID: 04407792-a1b1-4238-16c0-2627f0aef2c9
Version Independent ID: 04407792-a1b1-4238-16c0-2627f0aef2c9
Content: Walkthrough: Build and Debug C++ with Microsoft Windows Subsystem for Linux 2 (WSL 2) and Visual Studio 2022
Content Source: docs/build/walkthrough-build-debug-wsl2.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Hi @Ohgochi, I've updated the UI in the doc. Thank you for bringing this to our attention. This should be live early next week.


UnknownShapesTest should not be flaky

I have seen this test failing in multiple unrelated PR workflows.
Example: https://github.com/eclipse/rdf4j/actions/runs/4269384547/jobs/7432529052
Error:  org.eclipse.rdf4j.sail.shacl.UnknownShapesTest.testComplexPath  Time elapsed: 0.261 s  <<< ERROR!
java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1661)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at org.eclipse.rdf4j.sail.shacl.UnknownShapesTest.testComplexPath(UnknownShapesTest.java:89)

Another example: https://github.com/eclipse/rdf4j/actions/runs/4270340337/jobs/7434077749

@hmottestad I have also seen this test be flaky - do you have any thoughts on the cause?


Error timestamp

Hi, I'm trying to test my Kafka Stream App using this plugin in JMeter. It publish perfectly to the Kafka topics but when the consumer of my Kafka Stream App starts it give me an exception:

Exception in thread "eqc-avro-4b4983f3-0925-4fdc-ab4c-e65b848d9ec6-StreamThread-1" org.apache.kafka.streams.errors.StreamsException: Input record ConsumerRecord(topic = streams-input, partition = 1, offset = 0, CreateTime = -1, serialized key size = 1, serialized value size = 30, headers = RecordHeaders(headers = [], isReadOnly = false), key = 1, value = TESTMESSAGE) has invalid (negative) timestamp. Possibly because a pre-0.10 producer client was used to write this record to Kafka without embedding a timestamp, or because the input topic was created before upgrading the Kafka cluster to 0.10+. Use a different TimestampExtractor to process this data.

How can a I fix this issue?
Thanks for the amazing work!

Hi,
I managed to solve this changing in pow.xml the kafka-clients version to 1.1.0
Regards!


karmor: 0.13.15 -> 0.13.16

Description of changes
change log: https://github.com/kubearmor/kubearmor-client/releases/tag/v0.13.16
diff: https://github.com/kubearmor/kubearmor-client/compare/v0.13.15...v0.13.16
added myself as a maintainer of karmor

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

karmor


Autoclose pop up if user navigates in menu

if you open "BUY INK" but then go and navigate to areas inside the hamburger menu, it doesn't close the SIGN IN button

done


org.mongodb.driver.connection]: Closed connection

I am getting following error once I set the plugin to use mongodb:
https://pastebin.com/dtW0Mcif
Config:
storage {     # The address and port for the database     # - Specify as 'host:port' if it differs from default     address=localhost     # The name of the database     database=pixelmon_prism     # The database engine     #   (H2, MongoDB, MySQL)     engine=MongoDB     # The amount of time records are stored for     expire-records="8w"     # Maximum size of the MySQL connection pool     maximum-pool-size=10     # Minimum number of idle connections that the pool will try to maintain     minimum-idle=2     # Credential for the database     password="PA$$W0RDH3R3!!?!"     # Amount of records to purge at a time     purge-batch-limit=100000     # The prefix of all SQL tables.     table-prefix="prism_"     # Credential for the database     username=pixelmon_prism }
Am I doing something wrong?

Authentication failed

Wrong username or password, maybe you can't login from the server's address, etc. Something with authenticating.
However, this project is fairly out of date so I'm not sure how useful it'll be for you.


GetPagedList orderBy parameter

My database table Plan has a column called SortBy that I want to use to order the request... the below code is giving me the error: 'IQueryable' does not contain a definition for 'SortBy' and no accessible extension method 'SortBy' accepting a first argument of type 'IQueryable' could be found (are you missing a using directive or an assembly reference?)
        var repoPlan = _unitOfWork.GetRepository<Plan>();
        var list = repoPlan.GetPagedList(predicate: p => p.IsActive == true, orderBy: p => p.SortBy, pageIndex: skip, pageSize: take);

Any help on how to do this properly?

using System.Linq;

...

repo.GetPagedList(orderBy: x => x.OrderBy(p => p.SortBy));
...

using System.Linq;

...

repo.GetPagedList(orderBy: x => x.OrderBy(p => p.SortBy));
...


Different Builds

I would like to see if I can build the OpenBT C++ libraries with different combination of compiler families and MPI implementations.  Since I might need to add in some temporary tools and tweak the contents of the repo, I'll do this work on a branch associated with this Issue.

I have successfully built an openbtmixing Python package that includes what I hope is a minimal and sufficient MPICH installation in it.  However, when I try to do the same with OpenMPI, I get a segfault when OpenBT calls MPI_Init.  If I uninstall my homebrew open-mpi installation, I get a harder failure because it cannot find error message content in .txt files hardcoded to the share folder in my open-mpi installation.
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    prterun-exec-failed
from the file:
    /opt/homebrew/Cellar/open-mpi/5.0.3/share/openmpi/help-mpirun.txt: No such file or directory
But I couldn't find that topic in the file.  Sorry!
--------------------------------------------------------------------------

Even if I put the share folder in the Python package, I suspect that I would get the same error because of the hardcoded path.


How to drag event without trigger a onClickEvent

Version
I'm using 2.0.4
Test Environment
Chrome, Windows, React v18
Current Behavior
Here's a reproduction: https://codesandbox.io/s/hopeful-mayer-7sbgj7?file=/src/App.js
I'm new to TUI Calendar. I don't want to use popup that why I set useDetailPopup and useFormPopup to false.
To trigger the opening of my modal, I use the event : onClickEvent. This event is triggered when a move an event (by dragging). Is it expected ? Do you have a solution to distinct a click or a drag ?
My current config:
    <Calendar
      usageStatistics={false}
      view="week"
      week={{
        eventView: ["time"],
        taskView: false
      }}
      onClickEvent={(event) => {
        alert(JSON.stringify(event));
      }}
      events={events}
      useFormPopup={false}
      useDetailPopup={false}
    />

Expected Behavior
Not trigger onClickEvent when the action is a drag.

@loiclegoff
I found that it's a bug inside the calendar.
We'll ship the fixed version this week.


Angular CLI adding hashed code internally in vendor.js file while running the build.

When I am running the "npm run build" then the Angular CLI is giving me the 5 different bundled files.

main.js
Inline.js
polyfills.js
styles.js
vendor.js

So inside the vendor.js file I can see something like below.
"form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main.234bhasd42341234","nav","ol","p","pre","section","table","ul"]
Above code is having main.234bhasd42341234 instead of main because of that I am getting an below  error while rendering. Please let me know If anyone is having any solution for this.

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


(chore) Fix Authors format

Follow up from #3024, fyi @olcayusta
Changes
The entries in the AUTHORS.txt should follow the npm people field short-format as they get included in the package.json.

See https://docs.npmjs.com/cli/v7/configuring-npm/package-json#people-fields-author-contributors
Checklist

[x] ~Added markup tests~
[x] ~Updated the changelog at CHANGES.md~
[x] Added myself to AUTHORS.txt, under Contributors

How do we prevent people from continuing to do this wrong - or else perhaps the format should not be so strict at all?  Just taking PRs to fix this constantly seems annoying...

Yes, I missed it. Obviously I added it as it is in the task list. I think this task can be removed. I don't think it will cause a problem.

@olcayusta No worries, you aren't in trouble... you're not the first person to get this tiny detail wrong... I just want to figure out how to resolve it more permanently... perhaps we need to update the issue template todo checklist to provide guidance?

How do we prevent people from continuing to do this wrong - or else perhaps the format should not be so strict at all? Just taking PRs to fix this constantly seems annoying...

Here you go, https://github.com/highlightjs/highlight.js/pull/3036


main should be moved, according to poetry

I get this when __main__.py is a root file, using poetry
/home/asiniy/.cache/pypoetry/virtualenvs/aioplate-jvuUMrzw-py3.10/bin/python: No module named app.__main__; 'app' is a package and cannot be directly executed

And this looks correct issue, my suggestion is to remove __main__.py to app/ folder

I decided to save only 1 option for environment setup. So, for beginners, version using pip & requirements is easier and I'l leave poetry from project.

I moved __main__.py to app/ folder and removed alternative way (pip) of environment setup.
Thanks for submitted bug!


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
17 seconds
clair-scan

✅ Succeeded
2 minutes
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
10 seconds
sanity-optional-label-check

✅ Succeeded
10 seconds
sanity-label-check

✅ Succeeded
9 seconds
show-summary


Select tool's shallowest behavior improvements and refactoring

A follow up pull request that for this pull request: https://github.com/GraphiteEditor/Graphite/pull/1016

Hers's a list of changes I made to the behavior of shallow select:
• appending a shape that has its parent already selected updates the layer tree to only select the parent and deselects the child.
https://user-images.githubusercontent.com/57922269/230975154-2418a518-84c1-4708-ba70-d0a8dc84819b.mov
• clicking on an already selected layer, no longer deselects other selected layers that are unrelated to the incoming layer selection. Fixes unexpected changes to the layer tree.
https://user-images.githubusercontent.com/57922269/230976268-64a84793-db10-4d4a-b703-85f95d8437ad.mov
https://user-images.githubusercontent.com/57922269/230979153-6a8f8f67-ac99-4bd3-a57c-e8717b915c65.mov
• Shift click now has one additional functionality. It now deselects a layer and updates the layer path true if there is a shallowest common folder between the currently selected layers and the incoming layer
https://user-images.githubusercontent.com/57922269/230979282-46a4cbc6-33ec-4454-9f1c-a32515bf4954.mov


Misc. comments/feedback on documentation pages that need to be addressed

Some comments from a documentation review with @cmungall on 10/16:

[ ] Remove Subsets section from TOC on RHS of index/landing page
[ ] Move Enumerations to it's own page on LHS, similar to 'full term table' and 'combinations'
[ ] Use CamelCase for enums
[ ] Remove Inheritance section from class (Checklist/Extension/Combination) pages (justification: they're developer focussed and not useful for consumers of the standard)

[ ] however, combo pages should state in simple terms what checklist and extensions they are composed from

[ ] Remake Terms table on class documentation pages so that the Inheritance column isn't shown anymore. Instead have another column at the beginning of the terms table called 'MIXS ID'
[ ] Be consistent when showing cardinality on term pages, i.e., show it in the way that it appears in the terms table on class documentation pages
[ ] Drop annotations for which values don't exist
[ ] Remove schema source section
[ ] Definitely show titles of elements [imp]

CC: @turbomam

I do not support removing subsets

https://github.com/GenomicsStandardsConsortium/mixs/issues/635


Example for usage for Jupyter Extensions

I don't really know which files need to be installed where for jupyter extensions to work (I'm currently using the pretty intransparent "magically working" build via jupyter-packaging), so could you please include an example configuration for this use-case?

The data_files example in the README is to mimic the behavior of data_files in setup.py
This is simply for copying certain data files to a path relative to the <installation-prefix>, meaning when you build your package using poetry blixbuild and you specify some data_files in your pyproject.toml, whenever you install the package via the wheel, or through pip install, it will also install those data_files into the installation prefix (installation prefix is sys.prefix or site.USER_BASE)
For example, if my pyproject had this:
...
[tool.blix.data]
data_files = [
    { destination = "share/data/", from = [ "data_files/test.txt", "data_files/anotherfile" ] },
    { destination = "share/data/threes", from = [ "data_files/athirdfile" ] }
]
...

And I'm working on a virtual env at: ~/.virtualenv/myenv
I can create the wheel file and include those data_files using poetry blixbuild
Then install the package from the wheel pip install <my-newly-built-wheel-file>.
The install would generate files at:

~/.virtualenv/myenv/share/data/test.txt
~/.virtualenv/myenv/share/data/anotherfile
~/.virtualenv/myenv/share/data/threes/athirdfile

So depending on what jupyter extension you are using, or whatever use case you need, you can generate required files using the data_files config.
An example could be nbconvert templates.  nbconvert uses templates in directory <installation prefix>/share/jupyter/nbconvert, so if your package needed to generate some nbconvert templates, you could include data_files such that when someone installs your package, it installs your nbconvert templates into that directory, and nbconvert will pick them up:
[tool.blix.data]
data_files = [
    { destination = "share/jupyter/nbconvert", from = [ "mytemplates/template1.html.j2", "mytemplates/template2.html.j2" ] }
]
...

data_files gives flexibility and support for installing any sort of support of arbitrary files in relative arbitrary directories from the <installation-prefix>, when your package is installed.  It's not something specific for jupyter extensions.

Thanks for the info! I'm working on a custom Widget and was wondering which data files need to go where (i.e. which exact values/files to specify in the data_files config) and was hoping you already knew the answer for that, but it seems I need to figure that out on my own. :sweat_smile:

@N-Coder I see that file has an example path for the data_files if that helps: https://github.com/jupyterlab/extension-examples/blob/master/widgets/setup.py#L25-L28
destination in data_files should be those paths, and then from is for the local files you have to copy to those paths


Fixes #(959): Fix TermStats.TermText access, add CLI comments and 1 CLI bug fix

[ ] You've read the Contributor Guide and Code of Conduct.
[ ] You've included unit or integration tests for your change, where applicable.
[ ] You've included inline docs for your change, where applicable.
[X] There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)
Fixes #959: Fix TermStats.TermText access, add CLI comments and 1 CLI bug fix
Description

Converts TermStats.TermText into a public property and changes it's case to follow .NET conventions.
Code sweep of all the Main(args) methods that relate to the lucene-cli so they now have XML summary comments that indicate that they are not intended for direct use but rather are used by the lucene-cli.   If the Main method is in a static class that looks to be designed solely for use from the command line then similar comments are added to the class.
In the process of doing the code sweep to add comments, I discovered one cli command Lucene,Net.Cli.BenchmarkFindQualityQueriesCommand that was wired up to the wrong command class.  So I fixed this bug as well by wiring it up the right one which is QualityQueriesFinder.Main(args).
the 4th commit was due to realizing that I had one failing test due to me making TermStats.TermText a public field rather than a public property.  So this commit fixes that and the failing unit test.

Hi Shad,
I appreciate the time you've taken to review the PR, but I have to admit that some of the feedback feels a bit discouraging. The comments in this contribution aim to significantly improve the documentation for these methods. While it's true that many of these static main(args) methods could technically be called by application code, they were designed with command-line usage in mind. I believe these comments provide valuable context for developers who might find such methods unusual in a .NET DLL. By pointing them to the Lucene CLI and even specifying the relevant commands, these comments help to clarify an otherwise puzzling aspect of the project.
In my view, the PR as it stands makes a positive contribution and moves the project forward. Rather than focusing on further refinement of the comments, I would suggest that the primary question should be whether this contribution, overall, improves the project. If it does, I believe it warrants approval.
Thanks again for your consideration!

Shoot, I did a bad merge. Going to force push to revert that

Addressed the following:

Reverted demo comment changes (apart from a few param docs that I left)
Changed to use <para />
Made the verbiage changes to remove the warning not to use directly
Made the verbiage/link changes to specify that lucene-cli is a .NET tool

Item 1 above and improving the documentation of the commands further can be a separate, future enhancement.


OpenAPI 2 converter

The cli now support open api 3.
Either we internally convert the document to openapi 3 version with kin-openapi or ask users to convert it.
Whichever way it is, conversion must be provided.

Added auto detection and converts to openapi v3


[no-commit] Test codemention

Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests.
How
How did you build this feature or fix this bug and why?
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2604  👈
#2603
main

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

Join @wschurman and the rest of your teammates on  Graphite


Two JSdoc parsing fixes

Correctly parse *=. Previously parseNonArrayType missed it because the scanner produces a single AsteriskEqualsToken for it.
Allow non-standard use of backticks around names in @param tags. For example:

/** @param {number} `a` some kind of number */
function f(a) { ... }

Fixes #22413

The CI failure is some whitespace lint.

nit: Could you add a test for var a = /* @type *= */(null) (or somewhere else we parse an unbracketed jsdoc type, if I'm misremembering and we never allowed that), just so we know it doesn't crash?

Good idea, since we went to make sure that we're getting tokens from the main scanner instead of the jsdoc one. Done.


Relationships do not work on nested items

Take the following documents for example
Document from Items collection
{
    "someValue": 232323
     "someObject": {
         "anotherObject": {
              "identifier": 33333
         }
   }
}

Document from RelatedItems
{
    "identif": 33333,
     "another": "abc",
     "property": "xyz"
}

Then in Items model
public function relatedItem() {
    return $this->hasOne(RelatedItems::class, 'identif', 'someObject.anotherObject.identifier');
}

doesn't seem to be working.

Has this been solved yet ?

Did you find solution?

Did you find solution?


qq: change wrapGAppsHook to makeWrapper

wrapGAppsHook default use makeBinaryWrapper as makeWrapper.
makeBinaryWrapper not support shell wrapper specifically for NIXOS_OZONE_WL.
Also, wrapGAppsHook doesn't seem to be used at all.
So I change it to makeWrapper (alias of makeShellWrapper).
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

1 package built:

qq


Reduce sourceamazing framework to its essence of getting data from Builders/DSL/XML into model classes

The sourceamazing framework was intended to be a "full-lifecycle" framework for code generation.
In the meantime, the focus is on getting data from sources like DSL or XML files into a object model including validation against the defined schema.
With the next major release, the legacy of code generation and the process skeleton should be removed.

Release with 3.0.0


Implement way how to retrieve list all permission policies (RBAC)

Clear and Concise Feature Request: Retrieve and Select Permission Policies for RBAC
Description:
Implement a method to retrieve a list of all permission policies (RBAC) for frontend use. The user interface (UI) should allow selecting a permission policy from the list when creating a new policy for a specific user.
Problem Resolved:
This feature will enable the retrieval of a complete list of permission policies using a REST method, facilitating seamless integration with frontend UI.
Additional Context:
No additional context or screenshots are provided at this time.
Acceptance Criteria:
The RBAC plugin's UI should be sufficiently informative to display the list of permission policies effectively. This includes the ability to render and select permission policies for creating new policies associated with individual users.

We have pull request which base on idea parse plugin from npm package name, but we not sure, that this solution will be working in 100 % cases. We need take a look more.

Related https://github.com/janus-idp/backstage-showcase/issues/623


Display silently fails when there are duplicates in links

Hi and thanks for the great work!
The following code silently fails (i.e. displays nothing without any error message).
faultylinks = [{'source': 'farm1', 'target': 'client1', 'value': 5}, {'source': 'farm1', 'target': 'client1', 'value': 10}]
SankeyWidget(links=faultylinks)

Obviously, having duplicates in the links should not happen, but I think an error message should be displayed when this happens rather than failing silently.
Not sure if this is due to ipysankeywidget directly, but a safety check could be performed anyway during the init.
I see two distinct solutions:

Automatically sum values for entries that have the same source and target. This should be what a large majority of users wanted to do. You can log a warning when this happens.
Raise an exception.

Solution 2 is easier to implement (there is no logging implemented for now) and probably safer too. Solution 1 focuses on ease of use in case that's what the widget aims for.
I can implement any solution or leave it to you.

Hi, thanks for reporting this! This is a problem in the underlying d3-sankey-diagram library, so one solution would be to fix it there, but it gets a bit complicated as you have to not only sum values but also decide which colour to use, how to set the title of the combined link and so on.
If people are wanting to sum multiple entries they maybe should be using https://github.com/ricklupton/floweaver anyway, which handles this as well as lots of other data processing, colours etc before you get to the actual Sankey diagram.
In the short term I think checking in ipysankeywidget and raising an exception would be best. And if d3-sankey-diagram later supports it, it would be easy to change the exception to a warning then.
If you would like to fix this then that would be great! Just let me know if you have any questions or want any help.


Allow passing nil as opts in setup()

This makes require('luatab').setup() and require('luatab').setup{} behave the same.

awesome, thank you!


Add new tests and a method in containerscan package

PR Type:
Tests

PR Description:
This PR introduces the following changes:

Adds a new test TestReturnsPointerIfPackageNameFound in the containerscan_test.go file to verify the functionality of retrieving files by package name.
Imports the github.com/stretchr/testify/assert package for assertion in tests.
Adds a new method GetFilesByPackage in the datastructuresmethods.go file. This method retrieves a list of files associated with a specific package name from the Packages field of the ScanResultLayer object.

PR Main Files Walkthrough:
 files:

core/pkg/containerscan/containerscan_test.go: Added a new test TestReturnsPointerIfPackageNameFound to verify the functionality of retrieving files by package name. Also, imported the github.com/stretchr/testify/assert package for assertion in tests.
core/pkg/containerscan/datastructuresmethods.go: Added a new method GetFilesByPackage which retrieves a list of files associated with a specific package name from the Packages field of the ScanResultLayer object.

/describe

PR was created as an example


Error when trying to run train.py file

Rasa Core version: 0.9.5
Python version: 3.6.5
Operating system (windows, osx, ...):Windows
Issue: I have been following a tutorial online and got to the point where I made stateless stories and copied the train.py code from rasa github to train my diagolue model. In my bot, I also have an action.py file that follows the exact same format as the examples provided. However, when I try to run the dialogue trainer, I get an error saying A"TypeError: ActionComInfo() missing 1 required positional argument: 'Action' "
Content of domain file (if used & relevant):
slots:
 company:
  type: text

intents:
 - greet
 - goodbye
 - Company_info

entities:
 - company

templates:
 utter_greet:
  - 'Hello. How can I help?'
 utter_goodbye:
  - 'Goodbye'
  - 'See you later'
 utter_ask_company:
  - 'What Company?'
actions:
 - utter_greet
 - utter_goodbye
 - utter_ask_company
 - actions.ActionComInfo

Content of Action file (if used & relevant):
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from rasa_core.actions.action import Action
from rasa_core.events import SlotSet

def ActionComInfo(Action):
 def name(self):
  return "action_cominfo"

 def run(self, dispatcher, tracker, domain):
  response = ""
  with open("database.txt") as input_data:
    for line in input_data:
     if line.strip()== 'UBS-Company Info':
      break
    for line in input_data:
     if line.strip()== 'End':
      break
     else:
      response+=line
  dispatcher.utter_message(response)
  return []

Content of train_init.py file (if used & relevant):
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from rasa_core import utils
from rasa_core.agent import Agent
from rasa_core.policies.keras_policy import KerasPolicy
from rasa_core.policies.memoization import MemoizationPolicy

if __name__ == '__main__':
    utils.configure_colored_logging(loglevel="INFO")

    training_data_file = 'data/stories.md'
    model_path = 'models/dialogue'

    agent = Agent("chatbot_domain.yml",policies=[MemoizationPolicy(), KerasPolicy()])

    training_data = agent.load_data(training_data_file)

    agent.train(
            training_data,
            augmentation_factor=50,
            max_history=2,
            epochs=500,
            batch_size=10,
            validation_split=0.2
    )

    agent.persist(model_path)

Found the error: I had def instead of class in the action file.


Where should I add documentation?

I was working on #488 and it's unclear to me where I should be added new documentation. For that ticket, I can easily just add the config parameters to the main readme, but if we ever want to break that mono-doc into smaller ones, we need a clear pattern or solution. Right now, we seem to have a couple:
Option 1: Wiki?
There is a Wiki, which seems to have some pages in it, but is only editable by project contributors, and is stored in a separate repo from the project. This seems like a bad long term solution, as it puts the documentation and the code in different places, allows the SHAs to diverge, and requires contributors to fork a second repo to add documentation.
Option 2: TSDocs / gh-pages branch
We seem to be hosting some pages at github.io via github pages, from the gh-pages branch I am guessing. However, it's not clear where that is being deployed from (since I assume it's auto generated somehow). As a result, it's unclear how to add documents to that setup. This seems like a good solution once we document how new markdown documents can be added to the gh-pages branch.
Option 3: docs folder hosted via github pages
I personally prefer the docs folder approach, as it lets us use the main/master branch to deploy our docs, and then brings documentation into the normal pull request workflow. It becomes very easy to link to other docs with relative linking.
I think Options 2 and 3 are easiest, but curious to hear what others think.

Thanks @ianconsolata!
Why don't you just start on a branch that you create from master, and put your Markdown documents in the documentation folder?
When you're done, I will then set up the CI to merge your documentation with the generated API documentation (the automated nature of the latter being the reason that we cannot directly write to gh-pages or have everything in docs on master.).

Thanks @ianconsolata!
Why don't you just start on a branch that you create from master, and put your Markdown documents in the documentation folder?
When you're done, I will then set up the CI to merge your documentation with the generated API documentation (the automated nature of the latter being the reason that we cannot directly write to gh-pages or have everything in docs on master.).

Sounds great! I just checked out the CI setup, and it's not super obvious
to me how it works so I really appreciate that. Do you want me to port the
wiki pages over to the docs folder too?
On Thu, Jan 21, 2021 at 10:19 AM Ruben Verborgh<EMAIL_ADDRESS>wrote:

Thanks @ianconsolata https://github.com/ianconsolata!
Why don't you just start on a branch that you create from master, and put
your Markdown documents in the documentation folder?
When you're done, I will then set up the CI to merge your documentation
with the generated API documentation (the automated nature of the latter
being the reason that we cannot directly write to gh-pages or have
everything in docs on master.).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/solid/community-server/issues/540#issuecomment-764843590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADC7WN266SZVJEUJ5BQ7S3S3BV25ANCNFSM4WNJSNEA
.

Sounds great! I just checked out the CI setup, and it's not super obvious
to me how it works so I really appreciate that. Do you want me to port the
wiki pages over to the docs folder too?
On Thu, Jan 21, 2021 at 10:19 AM Ruben Verborgh<EMAIL_ADDRESS>wrote:

Thanks @ianconsolata https://github.com/ianconsolata!
Why don't you just start on a branch that you create from master, and put
your Markdown documents in the documentation folder?
When you're done, I will then set up the CI to merge your documentation
with the generated API documentation (the automated nature of the latter
being the reason that we cannot directly write to gh-pages or have
everything in docs on master.).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/solid/community-server/issues/540#issuecomment-764843590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADC7WN266SZVJEUJ5BQ7S3S3BV25ANCNFSM4WNJSNEA
.

Do you want me to port the wiki pages over to the docs folder too?

Yes please; and do put a big note at top of each page as you port it, such that they are not updated anymore.

Do you want me to port the wiki pages over to the docs folder too?

Yes please; and do put a big note at top of each page as you port it, such that they are not updated anymore.

Added this to my PR at https://github.com/solid/community-server/pull/648. The docs were ported as of 5 minutes ago, but I don't have edit permission on the wiki, so I can't put that note on those pages. If you could do that I would appreciate it.

Branch has been merged so CI can be added now (after which the wikis can be removed).


Primitive::Symmetric::Cipher::Authenticated::GCM incorrect

The following test, if added to Primitive::Symmetric::Cipher::Authenticated::AES_GCM, fails:
property enc_dec_inverse_4 = dec.valid && (pt == dec.pt)
   where
     key = 0xeebc1f57487f51921c0465665f8ae6d1658bb26de6f8a069a3520293a572078f
     iv  = 0x99aa3e68ed8173a0eed06684
     pt  = 0xf56e87055bc32d0eeb31b2eacc2bf2a5
     aad = 0x4d23c3cec334b49bdb370c437fec78de
     enc = gcmEnc `{K=256, IV=96, AAD=128, T=128} {E=encrypt} {key=key, iv=iv, aad=aad, pt=pt}
     dec = gcmDec `{K=256, IV=96, AAD=128, T=128} {E=encrypt} {key=key, iv=iv, aad=aad, ct=enc.ct, tag=enc.tag}

The issue is that enc_dec in the GCM module is identical in the encryption and decryption case, but the spec referenced by the module (https://luca-giuzzi.unibs.it/corsi/Support/papers-cryptography/gcm-spec.pdf) indicates that the tag computation differs between encrypt/decrypt:

The authenticated decryption operation is similar to the encrypt operation, but with the order of
the hash step and encrypt step reversed.

The fix should be straightforward, which is to add a bit to enc_dec to select between the different encrypt/decrypt modes

I think I agree that it's wrong but it was a little hard to understand why. It's because we use C and P and then just try to swap them with the arguments of gcmEnc and gcmDec but of course that doesn't change them inside the function and you end up passing the plaintext into the tag for decryption, since that ends up in the C variable. I propose that instead of trying to be so clever we just make two functions like the paper does so you can see what's what.
for reference--
The encrypt functions from the paper

The decrypt functions from the paper

In case you're looking for one that follows the NIST spec, I'll leave this here.
GCM.tar.gz

In case you're looking for one that follows the NIST spec, I'll leave this here.
GCM.tar.gz

Cool; thanks for sharing @weaversa!


[Feature] Add dark mode to the website

Description
Currently the multi-color theme changer is a fantastic feature—it's clean, user-friendly, and gives the site a vibrant touch. Complementing this, adding a Dark Mode option will enhance user experience further.
Dark Mode is highly valued for reducing eye strain in low-light environments. It could be implemented as a standalone toggle (e.g., a moon icon) near the existing theme changer. This would make the site even more versatile and user-friendly!
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a KWOC'24 contributor.

Code of Conduct

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

Go ahead @Abankita

PR update pls @Abankita

@Rakesh9100 Sir thank you for the patience. Unfortunately, I am occupied right now with other academic deadlines. I have started the work of dark mode code and complete it by this week.
Thank you once again.

Any update, are you doing the work @Abankita

@Rakesh9100 Sorry for the delay. I have opened the PR. Please review and feel free to suggest any changes if needed.


Migrate iOS build from s3 to release/assets

Fixes #953

it worked: https://github.com/CocoaPods/Specs/commit/d4d98447780df5b4ef5a2f9d06479a04d00abb5a


Support for sub select

Hi,
I'd like to know if it's possible to do a select of a select, e.g:
SELECT
    *
FROM
    (SELECT
        *
    FROM
        contact) AS b
ORDER BY name ASC

After some research I found that Doctrine DBAL does something like this.
If there is no possibility, is there any way that I can get the query string without having to call execute()?

Hello you can do this subselect operations now on the developer branch.
Your Example:
$h->select(['b' => function($q)
{
	$q->table('contact');
}])
->orderBy('name')

Results in:
select * from (select * from `contact`) as `b` order by `name` asc

Or a little easier to understand:
$contactQuery = $h->select('contact');
$h->table(['b' => $contactQuery])->select()->orderBy('name');

Hi. Is this expected to support in join()s?
select * from `planificacion`
left join
	(SELECT kvps, id, MAX(ola) as max_ola FROM planificacion
		where `estatus` = 'realizada' and `file` is not NULL -- y la condición tipo
	 GROUP BY kvps ORDER BY ola DESC)
	AS a
	on `a`.`kvps` = `planificacion`.`kvps`
where `estatus` = 'realizada' and `file` is not NULL -- y la condición tipo
and `planificacion`.`kvps` = '08034' AND ola=a.max_ola


monthInterval, hourInterval, minuteInterval, secondInterval attributes added

The customer wanted to have a time picker with a minute interval of 15min. I really like your component but unfortunately the intervals are always 1 and can't be configured.
So I've extended it. Now you can specify the interval of month, hour, minute and second. Default value is 1 for every attribute

Thanks for the PR Glenn!

 I bumped the version nr a couple of times and changed the author just to test. Feel free to change these again. But credits arer always nice ;-)
On Wednesday, May 18, 2016 10:48 AM, Kate Miháliková<EMAIL_ADDRESS>wrote:

Thanks for the PR Glenn!—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


Guide: miniONE Edge Cloud install with Packet

https://docs.google.com/document/d/18IE0uqF6-KUScPS27B2t-IMP8pbBgqAXvebbZ2tx9g8/edit?ts=5e5695c6

on hold for the time being.


Automation

Fill out the JSON below with the following.

word [REQUIRED]: The word you are defining. Check this URL for all words we currently have.
content [REQUIRED]: The definition. No more than 3 sentences.
learn more URL [REQUIRED]: Page where people can visit to learn more about the word.
tag [REQUIRED, select one]: Tech category the word fits in. Options: compute, security, service, general, analytics, developer tools, web, networking, database, storage, devops, ai/ml, identiy, iot, monitoring.
abbreviation [OPTIONAL]: If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name [REQUIRED]: Your name.
author link [REQUIRED]: The URL you want your name to link to.

{
"word": "Automation",
"content": "The process of replacing a manual step with one that happens automatically",
"learn_more_URL":https://www.computerhope.com/jargon/a/automati.htm"",
"tag":devops"",
"abbreviation": "",
"author_name":"SP",
"author_link":https://thebasictek.com/ ""
}

Added, thank you :)


Update readme to reference related blog post

This PR updates this repository's readme to reference a blog post which now hosts the content alongside other related materials.

Thank you @vincerubinetti for the review! Merging this in now.


rocm-smi fails during initialization if old AMD GPUs are present

I have been using the deprecated rocm-smi for a while now to monitor the status of my GPUs. I have a FirePro S10000 (Tahiti), which works with amdgpu, but does not provide, or only provides on a different path, some of the hardware interfaces expected from newer GPUs (for example voltages, clocks, power draw/cap and gpu_busy_percent). This caused the now-deprecated rocm-smi to show a warning about being unable to read gpu_busy_percent, but otherwise it worked.
This new rocm-smi version sadly straight-up fails to deal with this and errors out during initialization.
> /opt/rocm/bin/rocm-smi
rsmi_init() failed
Exception caught: rsmi_init.
ERROR:root:ROCm SMI returned 8 (the expected value is 0)

I have already narrowed this initialization problem down to an attempt to read /sys/class/hwmon/hwmon2/in0_label, which does not exist on monitors of the Tahiti GPUs. This leads to the program to attempt to find "" within kVoltSensorNameMap, which throws an exception (Map::at).
Even without this issue, these GPUs don't provide a frequency table (as far as I know), which causes another exception:
» ./rocm-smi
======================= ROCm System Management Interface =======================
================================= Concise Info =================================
python3: [..]/src/rocm_smi_lib-rocm-4.1.0/src/rocm_smi.cc:895: rsmi_status_t get_frequencies(amd::smi::DevInfoTypes, uint32_t, rsmi_frequencies_t*, uint32_t*): Assertion `f->frequency[i-1] <= f->frequency[i]' failed.
[1]    69803 abort (core dumped)  ./rocm-smi

I don't expect rocm-smi to support these old GPUs, but it would be good if it still worked when old GPUs are present. Let me know if you need more information.
Relevant part of lspci:
0a:00.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ba)
0b:08.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ba)
0b:10.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ba)
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO GL [FirePro Series]
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970]
0d:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO GL [FirePro Series]
0e:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
0f:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
10:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c1)
10:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device ab28

Hardware monitor files of Tahiti:
» ls /sys/class/drm/card0/device/hwmon/hwmon2/
device       fan1_input   freq1_input  freq2_input  name   pwm1         pwm1_max  subsystem   temp1_crit_hyst  temp1_label
fan1_enable  fan1_target  freq1_label  freq2_label  power  pwm1_enable  pwm1_min  temp1_crit  temp1_input      uevent

Hardware monitor files of Navi21:
» ls /sys/class/drm/card2/device/hwmon/hwmon4
device       fan1_target  in0_input       power1_cap      pwm1_max         temp1_emergency  temp2_emergency  temp3_emergency
fan1_enable  freq1_input  in0_label       power1_cap_max  pwm1_min         temp1_input      temp2_input      temp3_input
fan1_input   freq1_label  name            power1_cap_min  subsystem        temp1_label      temp2_label      temp3_label
fan1_max     freq2_input  power           pwm1            temp1_crit       temp2_crit       temp3_crit       uevent
fan1_min     freq2_label  power1_average  pwm1_enable     temp1_crit_hyst  temp2_crit_hyst  temp3_crit_hyst

non-existing or empty files should be properly working now. Please reopen if it's still an issue.


Time.After doesn't release memory

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version: 1.6

What operating system and processor architecture are you using (go env)?
amd64, Debian 8 (stretch/sid)

What did you do?
Something equivalent to this:

package main

import (
	"errors"
	"time"
)

var q chan []byte

func push(data []byte) error {
	select {
	case q <- data:
		return nil
	case <-time.After(time.Millisecond * 4):
		return errors.New("push timed out")
	}
}

func main() {
	q = make(chan []byte)

	for true {
		go func() {
			data := []byte("we are bytes")
			push(data)
		}()
	}
}

It would take up a lot of memory and go oom within seconds on the machine in question.
[  208.259383] Out of memory: Kill process 1032 (timermem) score 883 or sacrifice child
[  208.259412] Killed process 1032 (timermem) total-vm:1229512kB, anon-rss:412480kB, file-rss:0kB

If I ran the debugger and stopped it early, I saw something like this:

I've used this on a MBP with 16GB of ram. The sample program got hit by the OOM killer after about 5 minutes.

The timer is a red herring. Your program is starting new goroutines as quickly as it can in a loop.
If there's an actual problem with timers, it needs a demonstration program without unrelated allocation problems.

Agreed, in the case of this program.
However, it was fixed in my original program via:
func push(data []byte) error {
	timeout := time.NewTimer(time.Millisecond * 4)
	defer timeout.Stop()

	select {
	case q <- data:
		return nil
	case <- timeout.C:
		return errors.New("DiskQ.Push timed out")
	}
}


[BUG]: Certain apps cause an infinite loop

Describe the bug
Certain apps like Angular cause an infinite loop when you open WC dev tools.
To Reproduce
Steps to reproduce the behavior:

Go to angular.io
Open WC dev tools
select the first element you see

Expected behavior
It not make my PC sound like it's mining crypto
Desktop (please complete the following information):

OS: Mac OS 11.6
Browser Chrome
Version 94

Additional context
They're not in the CE registry

The angular context seemed to be quite a hefty object to iterate through for analysis and was causing the issues. I added a preliminary compatibility layer for angular here, but in it's current state it doesn't quite list everything we would maybe want it to list.
I'm not experienced with angular, nor do I have a demo project to test the tooling on, so if you have a demo project with say, 2 kinds of properties, a few attributes and a few events, I'd love to test / develop the angular support against it.
But the preliminary fix should resolve the infinite loop problem, and will be shipped in the next release.
Closing this as it's been resolved, but if you have a test site with angular components as described above, please do share it with me via github/slack/twitter :)


[.Net] Newtonsoft.Json 13.0.1 (latest) version explicitly not supported

Platform
What platform is your issue or question related to? (Delete other platforms).

[X] .NET HTML

Author or host
Developer
Version of SDK
What version are you using? NuGet 1.2.1 -- (latest)
Details
Latest nuget doesn't support (explicitly prevents) Newtonsoft.Json 13.0.1 (latest) version

thanks @951p - we'll take a look :)

Which is plan for this? it is really a problem because it prevents to use the programmatically approach to write cards in lot of new projects. Why was the #5671 closed that is maybe more general than this? Thank you!

up

This is forcing package downgrades on other projects -- would be great if it could be addressed soon.

I believe this bug should be reopened given that the fix was reverted.

This is forcing package downgrades on other projects for me, I imagine many others will have similar problems -- would be great if it could be addressed soon.

It's definitely a problem, a growing problem.  Simply changing the Newtonsoft.Json version dependency to 13.0.1 on my local versions .nuspec fixed the issue and it seemed to work fine.  But perhaps there are unseen side effects.

Why does AdaptiveCards even have a dependency on Newtonsoft.Json? If you're going to implement serialization then it should be in its own package, like how NodaTime has NodaTime.Serialization.JsonNet. That way you can also switch to System.Text.Json, which I'm surprised hasn't happened yet,

A PR to revert the issue was opened, but it was never merged.
I am sorry for the confusion my comment caused.
As far as I know, the next version of AdaptiveCards will have unpinned versions.

Hi @paulcam206 , can you confirm this will be addressed in the next version?  Much appreciated.

This issue should be fixed in the latest .NET release


Live stream audio and video out of sync

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest.
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Demo app
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
Chrome and Edge, both Mac and Windows.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?

https://router.euddn.net/95b879fc5407bb2fc4ae3a1c74d69466/smil:live1.smil/playlist.m3u8?c=8000
What configuration are you using?  What is the output of player.getConfiguration()?

Default
What did you do?

Open live stream, let it play about 5 minutes
What did you expect to happen?
Live stream to play with audio and video in sync
What actually happened?

After about 5 minutes audio and video get out of sync.
The problem occurs in latest release and also on main, but in 4.3.2 everything works as expected (audio and video are in sync).

@joeyparrish can you review it?


[Bug] An "undefined" tab

Here is my configuration:
"apc.header": {
    "height": 28,
},
"apc.activityBar": {
    "position": "top",
    "size": 34,
},

How to reproduce
Step1: Close all the open files.

Step2: Then, just open any file or create a new file.
You will get:

Repeating the above steps, will get more "undefinde".

can't reproduce

can you open the developer tools?
Is there any error?


Mining Status: Starting miner and awaiting first graph time

My grin miner always says "Mining Status: Starting miner and awaiting first graph time...", and not works. The miner can get job from server, but not submit any share. What's the reason? Thanks!
Grin server:
Cuckoo Size: 30
This is Grin version 0.4.1 (git 0.4.0-133-gaf595fa), built for x86_64-unknown-linux-gnu by rustc 1.30.1 (1433507eb 2018-11-07). Built with profile "release", features "".
Grin miner:
Plugin: cuckatoo_mean_compat_cpu_29
This is Grin-Miner version 0.4.0 (git 648e49e), built for x86_64-unknown-linux-gnu by rustc 1.30.1 (1433507eb 2018-11-07).  Built with profile "release", features "" on Sun, 25 Nov 2018 13:54:57 GMT.
System:
LSB Version:	core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial
Hardware:
2 CPU , 8G Memory

I switch to an other machine, the miner works.
The new one is:
Ubuntu 14.04 x64
8 CPU, 16G Memory

That's probably because you are not running the wallet

I ad the same for poor CPU, when average time to find cycle is higher than attempt_time_per_block. It looks, this issue is the same:
https://github.com/mimblewimble/grin-miner/issues/67

should be fixed now

Any answers?
I am trying to mine on Ubuntu 16.04 with 8 CPU + GeForce GTX 1050 Ti and have Option::unwrap() on a None value': src/libcore/option.rs` :(
How to fix that?
Tried to use release and build from sources - nothing helps.


File not found: XML/LocalizableContent.xml

I tried to compile and run the game from this repository but I get the following error:
terminate called after throwing an instance of 'MLIException'
  what():  File not found: XML/LocalizableContent.xml
Abandon

It didn't took me long to realise that I need a file named XML/LocalizableContent.xml in the common.dat archive but I have no idea where I can get that file. I extracted the common.dat from the windows installer (http://www.mediafire.com/download/6bjuwci3iplr76x/MyLittleInvestigationsInstaller.exe), from the java portage of the game ( https://github.com/Steveice10/MyLittleInvestigations-Java ), from the source archive (http://www.mediafire.com/download/11h03j37asbsw0m/MyLittleInvestigationsSource.zip) but none of them have that file.
Where can I get an updated common.dat that actually work with the current commit?

You should get original game from the site, install it and update it to version 1.0.10 to get last version of common.dat file.

You can also grab those files from http://www.art-software.fr/files/MLI/common_data-1.0.10.tar.xz.
I use this archive to package the game for archlinux, so I try to keep up to date.

@mad-mix I don't have any windows or OsX machine to run the game. In fact, I already played the game with the − extremely buggy but at least working − java port and all I wanted is to compile this very repository. But I couldn't run the game because of this missing file. I tought it was kinda weird that this file wasn't downloadable anywhere, so I oppened an issue.
Running the game under windows in order to get the required file for linux is of course not a solution, all I wanted was a download link.
@mdevlamynck
It works. Thank you very much.
So the game do complie and run with linux. Couldn't believe that wine was the only solution. (It didn't even worked)


Swift 4 Migration Review

To provide an excellent developer experience around our Rides SDK, we've identified the following areas to fix, so we can cut a 0.7 release.

[x] Migrate the Rides SDK to idiomatic Swift APIs #150
[x] Migrate the Rides SDK to Swift 4
[x] Check for correct API usage: the Rides API has new parameters we can use, and V1.2 endpoints that support flat fares
[x] Remove China support

This migration is a huge change, so I've split the changes into six PRs. The PRs set the base branch to the previous PR's branch, so that you can see the incremental changes. However, the goal is to merge everything into the develop branch, and use that to cut a 0.7 release of the SDK. Once the SDK is released, we'll move those commits to master.
Each PR has its own notes that describe the specific changes implemented, but here's high level information to keep in mind for how the PRs interact with each other. See the full diff.
1. #175: Remove China from SDK
This is a simple change -- this removes China and China-related tests from the SDK. However, I didn't remove the concept of the Region when I made these changes, as it would have affected some extra APIs. The Region is removed in the next PR
2. #176: Swifty APIs
See PR notes
3. #177: Swifty APIs (Part 2)
See PR notes
4. #178: Migrate to Swift 4
See PR notes
5. #179: Remove ObjectMapper dependency
Many of the models are actually changed in the next PR as I updated the mock JSON and code to hit V1.2 endpoints, so if there's a model-specific concern, check the next PR to make sure that it actually hasn't been addressed.
6. #180: Migrate Endpoints to Swift V1.2
See above.
In conjunction with this work, I am starting work on:

[x] Update sample projects for Swift and Objective-C
[x] Update README, CHANGELOG and other documentation. Prepare release notes.

Things to address based on PR feedback:

[x] https://github.com/uber/rides-ios-sdk/pull/177#pullrequestreview-61366984

We are now on v0.7.0, which adds Swift 4 support!
https://github.com/uber/rides-ios-sdk/releases/tag/v0.7.0


Tab not rendered after dynamic ScrollableTab update

After ScrollableTab dynamically updated, sometimes Tab won't get rendered.
I modified the scrollableTab.js (from the Kitchen Sink example) for this issue, please follow the steps below to reproduce it:

use the attached code to replace scrollableTab.js file
lauch app, and goes to "Tabs > Scrollable Tabs" from menu
please click 'Tab3' immediately
after 5 seconds, the ScrollableTab will be dynamically udpated, and it shows that 'Tab5' is the highlighted one, however, the 'TabFive' content is not rendered, it shows an empty view.

import React, { Component } from "react";
import {
  Container,
  Header,
  Title,
  Button,
  Icon,
  Tabs,
  Tab,
  Right,
  Left,
  Body,
  ScrollableTab
} from "native-base";
import TabOne from "./tabOne";
import TabTwo from "./tabTwo";
import TabThree from "./tabThree";
import TabFour from "./tabFour";
import TabFive from "./tabFive";

class BasicTab extends Component {
  constructor() {
    super();
    this.state = { small: false };
  }

  componentDidMount() {
    setTimeout(() => {
      this.setState({ small: true });
    }, 5000);
  }

  render() {
    let tabs = (
      <Tabs renderTabBar={() => <ScrollableTab />}>
        <Tab heading="Tab1">
          <TabOne />
        </Tab>
        <Tab heading="Tab2">
          <TabTwo />
        </Tab>
        <Tab heading="Tab3">
          <TabThree />
        </Tab>
      </Tabs>
    );

    if (this.state.small) {
      tabs = (
        <Tabs renderTabBar={() => <ScrollableTab />}>
          <Tab heading="Tab4">
            <TabFour />
          </Tab>
          <Tab heading="Tab5">
            <TabFive />
          </Tab>
        </Tabs>
      );
    }

    return (
      <Container>
        <Header hasTabs>
          <Left>
            <Button transparent onPress={() => this.props.navigation.goBack()}>
              <Icon name="arrow-back" />
            </Button>
          </Left>
          <Body>
            <Title> Scrollable Tabs</Title>
          </Body>
          <Right />
        </Header>

        {tabs}
      </Container>
    );
  }
}

export default BasicTab;

@ray-wu placing the Tabs in separate components worked for me. Attaching a gif
Gif

Code
import React, { Component } from "react";
import {
  Container,
  Header,
  Title,
  Button,
  Icon,
  Tabs,
  Tab,
  Right,
  Left,
  Body,
  ScrollableTab
} from "native-base";
import TabOne from "./tabOne";
import TabTwo from "./tabTwo";
import TabThree from "./tabThree";
import TabFour from "./tabFour";
import TabFive from "./tabFive";

class Small extends React.Component {
  render() {
    return <Tabs renderTabBar={() => <ScrollableTab />}>
      <Tab heading="Tab4">
        <TabFour />
      </Tab>
      <Tab heading="Tab5">
        <TabFive />
      </Tab>
    </Tabs>
  }
}

class Large extends React.Component {
  render() {
    return <Tabs renderTabBar={() => <ScrollableTab />}>
      <Tab heading="Tab1">
        <TabOne />
      </Tab>
      <Tab heading="Tab2">
        <TabTwo />
      </Tab>
      <Tab heading="Tab3">
        <TabThree />
      </Tab>
    </Tabs>
  }
}

class BasicTab extends Component {
  constructor() {
    super();
    this.state = { small: false };
  }

  componentDidMount() {
    setTimeout(() => {
      this.setState({ small: true });
    }, 5000);
  }

  render() {
    return (
      <Container>
        <Header hasTabs>
          <Left>
            <Button transparent onPress={() => this.props.navigation.goBack()}>
              <Icon name="arrow-back" />
            </Button>
          </Left>
          <Body>
            <Title> Scrollable Tabs</Title>
          </Body>
          <Right />
        </Header>
        {this.state.small ? <Small /> : <Large />}
      </Container>
    );
  }
}

export default BasicTab;

Thanks for your smart workaround.
However, I still have a concern. I need to update the tabs dynamically, ie. the tabs could not be hard-coded, any idea how to apply your workaround in this case?
Seems  will remember its previous state, so is there any way to discard the saved state and create a fresh  once I need to update the tabs ?
Thanks.

I believe this is a bug of Tabs component, is it possible to be fixed ... ?

@ray-wu can you provide some sample code for this https://github.com/GeekyAnts/NativeBase/issues/2101#issuecomment-402768786.

@ray-wu we can wait for a day for your response

I need to update the Tabs component dynamically, so hard-coded the tabs (your wordaround) within a component is not acceptable.
I made another example based on your workaround, just use a dynamic prop. as you can see, the issue is still there after following the same steps:

use the attached code to replace scrollableTab.js file
lauch app, and goes to "Tabs > Scrollable Tabs" from menu
please click 'Tab3' immediately
after 5 seconds, the ScrollableTab will be dynamically udpated, and it shows that 'Tab5' is the highlighted one, however, the 'TabFive' content is not rendered, it shows an empty view.

import React, { Component } from "react";
import {
  Container,
  Header,
  Title,
  Button,
  Icon,
  Tabs,
  Tab,
  Right,
  Left,
  Body,
  ScrollableTab
} from "native-base";
import TabOne from "./tabOne";

class TabVariable extends React.Component {
  render() {
    const tabContent = this.props.tabs.map(tab => {
      return (
        <Tab heading={tab} key={tab}>
          <TabOne />
        </Tab>
      );
    });
    return (
      <Tabs renderTabBar={() => <ScrollableTab />}>
        {tabContent}
      </Tabs>
    );
  }
}

class BasicTab extends Component {
  constructor() {
    super();
    this.state = { small: false };
  }

  componentDidMount() {
    setTimeout(() => {
      this.setState({ small: true });
    }, 5000);
  }

  render() {
    return (
      <Container>
        <Header hasTabs>
          <Left>
            <Button transparent onPress={() => this.props.navigation.goBack()}>
              <Icon name="arrow-back" />
            </Button>
          </Left>
          <Body>
            <Title> Scrollable Tabs</Title>
          </Body>
          <Right />
        </Header>
        {this.state.small
          ? <TabVariable tabs={["Tab-4", "Tab-5"]} />
          : <TabVariable tabs={["Tab-1", "Tab-2", "Tab-3"]} />}
      </Container>
    );
  }
}

export default BasicTab;

@ray-wu try using Tabs props page. Modify the code based on your requirement.
import React, { Component } from "react";
import {
  Container,
  Header,
  Title,
  Button,
  Icon,
  Tabs,
  Tab,
  Right,
  Left,
  Body,
  ScrollableTab
} from "native-base";
import TabOne from "./tabOne";

class TabVariable extends React.Component {

  state = { initialPage: undefined, page: undefined }

  componentDidMount = () => {
    this.setState({ page: 1 })
  }

  render() {
    const tabContent = this.props.tabs.map(tab => {
      return (
        <Tab heading={tab} key={tab}>
          <TabOne />
        </Tab>
      );
    });
    return (
      <Tabs renderTabBar={() => <ScrollableTab />} page={this.state.page}>
        {tabContent}
      </Tabs>
    );
  }
}

class BasicTab extends Component {
  constructor() {
    super();
    this.state = { small: false };
  }

  componentDidMount() {
    setTimeout(() => {
      this.setState({ small: true });
    }, 5000);
  }

  render() {
    return (
      <Container>
        <Header hasTabs>
          <Left>
            <Button transparent onPress={() => this.props.navigation.goBack()}>
              <Icon name="arrow-back" />
            </Button>
          </Left>
          <Body>
            <Title> Scrollable Tabs</Title>
          </Body>
          <Right />
        </Header>
        {this.state.small
          ? <TabVariable tabs={["Tab-4", "Tab-5"]} />
          : <TabVariable tabs={["Tab-1", "Tab-2", "Tab-3"]} />}
      </Container>
    );
  }
}

export default BasicTab;

Closing this in a day in case of no activity

Thanks for your reply.
However, I am tired of these workaround. I won't use this package anymore.

@ray-wu we have plan to rewrite Tabs
Subscribe to NativeBase for updates

Hey guys, is this issue solved, or in the process of getting solved? Is it possible to render <ScrollableTab /> dynamically using the map() method? I seem to have the same problem too, tried wrapping it around <React.Fragment /> and <View /> but no success. As in 👇
rendered_data =
  <React.Fragment>
    {data.map(item =>
       <Tab heading={item.title} key={item.id}>
          <Text>Some data</Text>
      </Tab>
    )}
  </React.Fragment>

return (
  <Container>
      <Header hasTabs/>
      <Tabs renderTabBar={()=> <ScrollableTab />}>
          {rendered_data}
      </Tabs>
  </Container>
);

i have the same issue

I solved this issue. This is work for me to do the dynamically tabs using map()
rendered_data =(        <Tabs renderTabBar={()=> <ScrollableTab />}>                 {data.map(item =>                 <Tab heading={item.title} key={item.id}>                 <Text>Some data</Text>                </Tab> )}       </Tabs> )  return (   <Container>       <Header hasTabs/>          <Content>              {rendered_data}          </Content>   </Container> );


Typo in release name "inItegration"...

En passant...
see: https://github.com/rte-france/sirius-solver/releases/tag/antares-integration-v1.1
antres-initegration-v1.1 Latest
ps: tag seems OK

Fixed, thank you !


Button issue when multiple auths installed.

There is a button aliment and spacing issue with dolphin 7.2.0 when multiple authentication methods are in use.
See topic here for photos. http://www.boonex.com/forums/topic/Button-issue-when-multiple-auths-installed-.htm

Thank you @deano92964 - your fix was implemented, but for easier merging please make a pull request.


Add event before login

I've added a call to apostrophe-login:before event as in the web login, so that when we add a behaviour in the event, it affects to both, web and api logins.

Hmm, actually I'm a bit concerned this could go wrong. Code written for the beforeLogin event would probably assume it's OK to manipulate req.session or even redirect the user, neither of which would go well in a headless context.
I think a separate event would be a wise choice for 2.x.

As I have changed the event to a separate one which exclusive for headless, I've also change the event name from before to beforeLogin. Do you agree with this name?

In addition to adding it to the README, I have also added it to the CHANGELOG.

Thanks!

We're going to need to revert this. It is breaking failing several tests.


Python 3.8 instead of Python 3.7

It's time to move on to python 3.8. It was released half a year ago and vim core supports it. Most libraries which had supported python 3.7 also have support for python 3.8

Homebrew is still at 3.7.6: https://formulae.brew.sh/formula/python
There are some discussions here (https://discourse.brew.sh/t/why-python-3-8-has-not-been-updated-yet/6057/16) and there is a ticket (https://github.com/Homebrew/homebrew-core/issues/47274) tracking this migration.
Given that Homebrew hasn't switched over I prefer to not upgrade until they do it. Part of the reason is that it complicates our CI build scripts and also I think we should assume most users install the default python package instead of the explicit<EMAIL_ADDRESS>

I still don't agree with an idea "all ports should use one true python/java/(any other tool)". I'm asking about only Github version.
My personal opinion, that if Homebrew wants to stay behind using following ideology of "one true ..", they can patch vimrc and other defaults as they pleased.

I understand, that my proposition is not very nice, but Homebrew as any other package manager has much greater mobility to change params, code, and other things than users who use releases from Github like me.
Unfortunately, simply specifying python3.8 in a library path doesn't work well for me.

@ychin BTW, Your response sounds like "you use Homebrew/MacPorts to use MacVim with Python3.8 (and more likely 3.7) or build and maintain it manually".

So can you be more specific what supporting "Python 3.8" means?
Are you talking about how we automatically set pythonthreedll to be 3.7? Can't you just set that variable to the correct path yourself. The auto-detection is really a clutch because there's no way for Vim to be able to find all possible Python versions for you.
Or did you mean something else?

I can't just change pythonthreedll as ABI is not compatible between python versions(third number is compatible while second may be not). PEP-606 to provide backward binary compatibility was rejected.
So I need MacVim to be compiled with python3.8 and I'd like to update official vimrc from 3.7 to 3.8, that's it.
As I've said, Homebrew, Macports and any other port system may stay with compatibility ranges of MacVim by using little patch to vimrc and by provide an appropriate argument to configure script. Alternatively to make manual patches, configure/make script itself may patch vimrc,

They already changed the python to 3.8 across the Homebrew.

Nevertheless, I ask you for making official builds with 2-3 major python releases when it's possible. Other languages doesn't change so much as Python nowadays. This will give an opportunity to use an official build and use Python version they want.
For Homebrew only one build will not require an additional dependency installation, so price is small.

Homebrew migration to Python 3.8 is complete: https://github.com/Homebrew/homebrew-core/issues/47274#issuecomment-656361893
Latest MacVim snapshot 163 which is installed by hombrew-cask seems to be pointing to Python 3.7

:python3 in my homebrew cask installed macvim is no longer operational because it doesn't find python3.7
E370: Could not load library /usr/local/Frameworks/Python.framework/Versions/3.7/Python
E263: Sorry, this command is disabled, the Python library could not be loaded.

Maybe in the future MacVim can default to the 'Current' subdirectory instead of a hard-coded version-numbered subdirectory, like:
set pythonthreedll=/usr/local/Frameworks/Python.framework/Versions/Current/Python

When using homebrew's python, maybe in the future MacVim can default to the 'Current' subdirectory instead of a hard-coded version-numbered subdirectory, like:
set pythonthreedll=/usr/local/Frameworks/Python.framework/Versions/Current/Python

No, it's impossible to do as I wrote above Python resigned from PEP-606 to support backward binary compatibility. So you'll have problems with Python 3.7 used in MacVim & Python 3.8/3.9 etc.

:python3 in my homebrew cask installed macvim is no longer operational because it doesn't find python3.7
E370: Could not load library /usr/local/Frameworks/Python.framework/Versions/3.7/Python
E263: Sorry, this command is disabled, the Python library could not be loaded.

this is one of problems I want to avoid

I am getting the same error now and unable to use Macvim after homebrew upgraded to 3.8.

I'll fix this in the weekend. But yes, the current way we are handling it is non-ideal.

I am getting the same error now and unable to use Macvim after homebrew upgraded to 3.8.

I've resolved with:
brew install<EMAIL_ADDRESS>
then
ln -s<EMAIL_ADDRESS>/usr/local/Frameworks/Python.framework/Versions/3.7

Another possible workaround:
set pythonthreedll=/usr/local/Frameworks/Python.framework/Versions/Current/Python

Another possible workaround:
set pythonthreedll=/usr/local/Frameworks/Python.framework/Versions/Current/Python

I was using that for a while but started getting weird errors, it may have been some sort of binary incompatibility as mentioned by @eirnym above.

I am getting the same error now and unable to use Macvim after homebrew upgraded to 3.8.

I've resolved with:

brew install<EMAIL_ADDRESS>

then

ln -s<EMAIL_ADDRESS>/usr/local/Frameworks/Python.framework/Versions/3.7

It's also possible to set pythonthreedll to<EMAIL_ADDRESS>in your .vimrc

I believe @ichizok fixed this in d552421a21 already, and #1063 will make this compatible with binary install and MacPort as well. I think the issue here is the we haven't made a release yet so if you are using Homebrew Cask / official MacVim binary release you wouldn't have obtained that update that is built against 3.8 yet. I will try to make an update soon to address this.

Closing as version 164 is out.


Dynamic Prop Cannot Recognize Raw Object JS Data

According to the docs, dynamic props will "evaluate as JavaScript (any data type, not just strings)".
I attempted to send an arbitrary, small object through a dynamic prop:
<metadata-box :@data="{test: {tags: [1, 2], lol: 3}}"></metadata-box>
Where the component metadata-box is:

Compilation fails:
1. Having trouble writing to "./dist/2022/index.html" from "./src/archives/collectionDateArchives.njk" (via EleventyTemplateError)
2. Evaluating a dynamic prop failed: `:@data="{test: {tags: [1, 2], lol: 3}}"`.
Original error message: Unexpected token ':' (via Error)

Original error stack trace: Error: Evaluating a dynamic prop failed: `:@data="{test: {tags: [1, 2], lol: 3}}"`.
Original error message: Unexpected token ':'
    at ModuleScript.evaluateScript (/PROJECT/node_modules/@11ty/webc/src/moduleScript.cjs:71:10)
    at ModuleScript.evaluateScriptInline (/PROJECT/node_modules/@11ty/webc/src/moduleScript.cjs:44:23)
    at AttributeSerializer.evaluateAttribute (file:///PROJECT/node_modules/@11ty/webc/src/attributeSerializer.js:160:41)
    at AttributeSerializer.evaluateAttributesArray (file:///PROJECT/node_modules/@11ty/webc/src/attributeSerializer.js:179:39)
    at AstSerializer.renderStartTag (file:///PROJECT/node_modules/@11ty/webc/src/ast.js:447:55)
    at AstSerializer.compileNode (file:///PROJECT/node_modules/@11ty/webc/src/ast.js:1132:66)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async AstSerializer.getChildContent (file:///PROJECT/node_modules/@11ty/webc/src/ast.js:349:56)
    at async AstSerializer.compileNode (file:///PROJECT/node_modules/@11ty/webc/src/ast.js:1226:36)
    at async AstSerializer.getContentForNamedSlotNode (file:///PROJECT/node_modules/@11ty/webc/src/ast.js:590:29)

I got other strange results.
<metadata-box :@data="{tags: [1, 2]}"></metadata-box>
...creates output
[1,2]
.
<metadata-box :@data="[{test: {tags: [1, 2], lol: 3}}]"></metadata-box>
...creates output
[{"test":{"tags":[1,2],"lol":3}}]

So it appears that whatever is happening cannot recognize top-level objects correctly.

The docs sort-of mention this, albeit only in the section for @attributes: JavaScript is parsing the object as a code block and a label, so it needs to be wrapped in parentheses (like when e.g. using an arrow function's implicit return to return an object).
<metadata-box :@data="({test: {tags: [1, 2], lol: 3}})"></metadata-box> should work as expected.

Thanks for the info. I'll close this issue.


Gen2 40G Capture timestamp

timestamps on the 40G KU15P version are missing timestamps
In addition FCS calculation seems to be off for some reason.

timestamps fixed, FCS calculation still borked


V.06b6: error in log when queue finished

Error logged once a queue is completed:
Logger: aiohttp.server
Source: /usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py:405
First occurred: 16:45:08 (1 occurrences)
Last logged: 16:45:08

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 160, in serve_queue_stream
    await queue_stream.subscribe(client_id, resp.write)
  File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/streams.py", line 311, in subscribe
    assert not self.done.is_set(), "Stream task is already finished"
AssertionError: Stream task is already finished

should be fixed in b7 but I did not really test it

Finally, I  got to the point of verifying this one. Previous test attempts all ended up in various queuing issues.
Yes Solved in 2022.6.2 and probably earlier ;-)


offering typo

@swgupt : Thanks for your contribution! The author, @mgblythe, has been notified to review your proposed change.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/service-premium.md
:white_check_mark:Succeeded

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.

@swgupt : Thanks for your contribution! The author, @mgblythe, has been notified to review your proposed change.

@swgupt - thanks for the fix. #sign-off


Better error reporting

Various methods for catching errors exist in compilers. Document best approaches for doing so in this issue and tackle the following problems in error reporting:

[ ] Print location of statement before outputting any statement.
[ ] Print location of line number where a compile error happened to STDOUT.
[ ] Research and setup various error classes that can arise out of a badly written program and how they should be reported.

Preliminary resources:

https://www.obj-sys.com/docs/acv62/CCppHTML/ch02s06.html
https://softwareengineering.stackexchange.com/questions/39700/how-should-compilers-report-errors-and-warnings
https://en.wikibooks.org/wiki/Compiler_Construction/Dealing_with_errors


Adding Schema Regsistry attributes for kafka trigger and ouput

Kafka extension 3.9.0 has introduced additional attributes for Avro Schema Registry Support. This PR aims at exposing the attributes for out of proc model.
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

@jainharsh98 please also update the release notes; the "Pull request checklist" in the PR description needs to be filled in.

@liliankasem Updated the release_notes.md file. Please review.

Is it possible to add some tests covering support for Avro Schema Registry? We have extensions tests - here and Kafka samples - here for reference.

@surgupta-msft Kafka extension has language-based test cases in the extension repo itself. Since this repo does not have any test cases for kafka can we take it in a separate PR?

I think we also need to update the version to 3.10.0 in Worker.Extensions.Kafka.csproj. Would check with @liliankasem to confirm this.

I think we also need to update the version to 3.10.0 in Worker.Extensions.Kafka.csproj. Would check with @liliankasem to confirm this. Rest all looks good to me!

We can update this if we want to release this now


Add ptb tutorial

Related to #2576
Write the word2vec tutorial by writing the explanation of chainer/examples/word2vec/.
Although it is in WIP, please advice me to improve the tutorial.

I added some explanations and fixed some descriptions. Submitting those changes as review comments ins inefficient way, so I wrote the modified version here: https://github.com/mitmul/chainer-notebooks/blob/master/4_RNN-language-model.ipynb
All the code have been checked and those work fine. You can see the outputs of the code in the above jupyter notebook.

I finished fixing.

Jenkins, test this please

@keisuke-umezawa The doctest is failing due to this error:
17:06:05 Warning, treated as error:
17:06:05 /work/chainer/docs/source/tutorial/ptb.rst:: WARNING: document isn't included in any toctree

Could you check it and fix?

@mitmul
I fixed the warning. Please retry the test.

Jenkins, test this please

It seems I do not have the right to kick the CI...

Jenkins, test this please

LGTM