Add "attranslate" to "Localization" - Improve support for "polyglot architectures"

attranslate is a new tool for "synchronizing" translation-files: https://github.com/fkirc/attranslate
Now you might ask: Why do we need yet another translation-tool?
The short answer is that the landscape of iOS-development changed significantly over the last years.
Right now, there exist tools like https://github.com/netbe/Babelish or https://github.com/metasmile/strsync for "synchronizing" iOS translations.
Those tools are perfectly fine for "traditional" apps that use only Android-XML-files and iOS-string-files.
However, due to frameworks like https://capacitorjs.com/ or https://flutter.dev/, so-called "polyglot architectures" have become increasingly common.
"Polyglot architectures" are not just a theoretical spin. In fact, I observed real apps that use JSON-translations, iOS-translations and XML-translations within one and the same project.
To support such "polyglot architectures", I wrote attranslate: https://github.com/fkirc/attranslate
Of course, attranslate works as well for any traditional iOS apps.
I preferred to open an issue instead of a PR, because this might be a little bit controversial for "traditional" iOS developers.

Closing in favor of https://github.com/vsouza/awesome-ios/pull/3015


Does shields.io have a gitter room or something similar?

I am making a badge similar to those found in shields website, and I had some questions to ask. I recon github issue is not the right place. So, it would be nice to add have a gitter page if you don't. Otherwise, great job

Hi! Thanks for the suggestion. I've been chatting with @Daniel15 about this very thing!
We thought we would give Discord a try. Reactiflux adopted it a couple years ago when they outgrew Slack. See reactiflux/volunteers#25 for the discussion which led to that decision.
If that doesn't work out well, we can try Gitter. Gitter's advantage is Github login, though the UI is not as nice.
Stay tuned, will post here when that's online.
Meanwhile, you could open an issue for the new badge, to describe what you want to do and ask questions. Or you could DM me on Gitter.

Great!! I will wait for any announcements.

I created a Discord room: https://discord.gg/HjJCwm5
I sense a Discord badge in our future. 🔮
Let's finish setting things up and then publicize it!

Badge added to readme in #982.


require Stealth and Intimidate targets to be in play

This was originally a fix only for this bug:

where you can see Intimidate allowing to select characters from the discard and dead piles.
But then I looked back at 3d0f64b500c72f0fb96a2ebc754e652bb1d20059, where DukeTax fixed the issue of prompting for stealth when there are no target in play. That was a required fix. But still, when there are valid stealth targets in play, it looks like the current code will allow to select among both in play and out of play targets. This PR should also fix that issue.


Labels test data

Hi,
Thanks for the all the documentation and the google colab, very useful! When I compare the results I get from the google colab from the 'Train Xpresso model for human data' section with Figure 2B from the paper, I get slightly different results. The actual values range between -1 and 3, but the labels in test.h5 range between -1.5 and 2.1. How can this difference be explained? Am I missing an important scaling step here?

Hello,
Yes, they were treated slightly differently. The reason the scale is a bit different has to do with the Line 170 of the following script:
https://github.com/vagarwal87/Xpresso/blob/b5d1da2b7f7e9376e8b6eca2b6cc73cd361734a3/Fig1_S2/setup_training_files.py#L170
The 0th column of this table is the Expression level, which is Z-score transformed.
Hope that helps!


Alt integration

Basic alt integration
Alt makes it simple to share the same store between components mounted at different nodes.
This integration adds alt_store rails helpers that makes it possible to populate store with data directly from controller.
TODO:

[x] js side integration
[x] alt_store helper
[ ] alt_container helper ?
[ ] readme update

this will be moved to external plugin


WIP: Integrate CoreCLR with latest changes from master

This doesn't build yet, for the same reason, it seems, that others can't build the CoreCLR branch.
Some help with fixing that up would be nice. I think it has something to do with myget and/or versions of dnx.
Proto-compiler at least builds.

Great! Some of the errors I see in the build
[00:00:31] WARNING: Unable to find version '1.0.0-beta6-12032' of package 'dnx-coreclr-win-x86'.
[00:00:31] WARNING: Unable to find version '1.0.0-beta5-12077' of package 'dnx-mono'.
[00:00:31] Unable to find version '1.0.0-beta6-12032' of package 'dnx-coreclr-win-x86'.
[00:00:31] Unable to find version '1.0.0-beta5-12077' of package 'dnx-mono'.

[00:01:01]   Unable to resolve System.Security.SecureString (� 4.0.0-beta-23225) for DNXCore,Version=v5.0.

[00:02:48] The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (156,61)" does not exist in the project, and will be ignored.

[00:02:51]   EXEC : warning : Unable to find version '1.0.0-beta6-12032' of package 'dnx-coreclr-win-x86'. [C:\projects\visualfsharp-radou\src\fsharp\FSharp.Build-proto\FSharp.Build-proto.fsproj]

[00:03:08] C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets(89,5): error : Couldn't find the required information in the lock file. Make sure you have .NETFramework,Version=v4.5 mentioned in your targets. [C:\projects\visualfsharp-radou\src\fsha

I will look at this, this evening, I apologize for the delay, I am currently swamped on Update 1 preparations. I think the fix will likely be teeny tiny.
And thanks for looking at this, I was dreading the merge.
Kevin

It may well be that there are still errors left after these first issues are resolved. It was a messy merge. :)
If you haven't resolved this by Saturday, I'll probably take a closer look then.

@rojepp Hi, I have checked in an updated project.json and an updated tests/fsharp/single-test-buildandDeploy.fsx.
@rojepp
This should fix the nuget portion of the build.] errors.  Yes, it was a very messy merge, which was I dreaded it.  I really should have put a stop to the refactorings until the coreclr was completed.  But Don was having such a good time :-)
I am going to remain slammed for at least the remainder of this week and probably the first half of next week.  If you need me to look at something I can fit it in in the evenings though.
Let me know how it goes.
Thanks for looking at this,
Kevin

@KevinRansom :+1:
Interesting to note that the coreclr branch also no longer builds. So we're trying to solve two problems at once (building and integrating latest changes). :/
I'll take a look at getting the base coreclr to build.

Current error if we ignore a ton of warnings:

Build started 10/14/2015 12:01:51 PM.
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (156,61)" does not exist in the project, and will be ignored.
Project "C:\projects\visualfsharp-radou\src\fsharp-library-build.proj" on node 1 (default targets).
Project "C:\projects\visualfsharp-radou\src\fsharp-library-build.proj" (1) is building "C:\projects\visualfsharp-radou\src\fsharp\FSharp.Core\FSharp.Core.fsproj" (2) on node 1 (Build target(s)).
C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets(89,5): error : Couldn't find the required information in the lock file. Make sure you have .NETFramework,Version=v4.5 mentioned in your targets. [C:\projects\visualfsharp-radou\src\fsharp\FSharp.Core\FSharp.Core.fsproj]
Done Building Project "C:\projects\visualfsharp-radou\src\fsharp\FSharp.Core\FSharp.Core.fsproj" (Build target(s)) -- FAILED.
Done Building Project "C:\projects\visualfsharp-radou\src\fsharp-library-build.proj" (default targets) -- FAILED.

@KevinRansom  - the refactorings were actually not large :) There was little structural change in the code, just localized cleanup and file renames.
In truth the compiler needs much more cleanup, refactoring and documentation to put it on a really good technical basis going forward and address some of the key issues. I think it's really good that you have started to allow this kind of work to happen...  Branches are inevitably affected by cleanup integrations, but that's just the nature of things :)

@rojepp CORECLR branch should build fine.  There is however, an issue with deploying the compiler for tests because the nuget package format has changed, with implementation files now being in different packages, one per platform and pointed to by a runtime.json file.
@dsyme ... I agree the work is necessary, It's just my luck to be in a separate branch and mucking with the same code while it happens.  And anyway it's important that we all have a good time, except Robert who unwisely volunteered to ease my pain :-)
Kevin

@rojepp it looks like nuget is not resolving some of the packages correctly.  And nuget has an opaque configuration story so maybe I have a local configuration that is allowing them to resolve on my laptop but not from the ci machine.  I will see if I can figure it out.
Kevin

@KevinRansom Right now it's unclear that I'm easing anyones pain. :) I'll keep looking for errors in my branch then, since compilation still fails there.

@rojepp A pain shared is a pain doubled my friend :-)

@rojepp if you want I will take a stab at doing the merge.  At least that way, I will have some chance of figuring out why I changed the code that caused the conflict.
Kevin

Absolutely!

@rojepp That error that you got is something that I just got around in #687 by adding a bunch of /p:ResolveNuGetPackages=false in appveyor-build.cmd.

@ctaggart Interesting, thanks. Resolving nuget packages should be a good thing though?


bugfix: fix register branch thread hang on tcc mode

Signed-off-by: slievrly<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
bugfix: fix register branch thread hang on tcc mode
Ⅱ. Does this pull request fix one issue?
fix #1888 #1862
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
#1401
Ⅴ. Special notes for reviews

Codecov Report

Merging #1889 into develop will increase coverage by 0.07%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             develop   #1889      +/-   ##
============================================
+ Coverage      55.22%   55.3%   +0.07%
- Complexity      2381    2382       +1
============================================
  Files            423     422       -1
  Lines          14299   14282      -17
  Branches        1700    1698       -2
============================================
+ Hits            7897    7899       +2
+ Misses          5687    5670      -17
+ Partials         715     713       -2

Impacted Files
Coverage Δ
Complexity Δ

.../main/java/io/seata/rm/tcc/TCCResourceManager.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...java/io/seata/rm/datasource/DataSourceManager.java
27.41% <ø> (-3.35%)
7 <0> (ø)

...main/java/io/seata/core/rpc/netty/RmRpcClient.java
31.86% <0%> (+3.15%)
10 <0> (ø)
:arrow_down:

...server/store/file/FileTransactionStoreManager.java
58.54% <0%> (+1.58%)
30% <0%> (+1%)
:arrow_up:


Summarization chain

Using this chain takes lots of time for generating out put i.e., summary
Here is the reference which I used
https://js.langchain.com/docs/modules/chains/other_chains/summarization

try this const chain = loadSummarizationChain(model, { type: 'stuff' }); if your content is not too long

Thanks @arronKler  for this but what to do if the content is long like 6000 words

Thanks for your contribution

@arronKler Do you know how can i see the intermediate steps using Langchain JS as I'm not sure my prompt is being applied? I think the default prompt is always applied for some reason.

you may need this
https://js.langchain.com/docs/production/tracing


Allow option to select by partial text in the selectByVisibleText method.

Pre-requisites:

Have a form that has multiple option labels:

<select>
   <option ...>1234 test</option>
   <option ...>5678 test</option>
   <option ...>9012 test</option>
</select>

Using:
$getText->selectByVisibleText("1234");
will return no results, wheareas it could also return the partial matches by changing:
$xpath = './/option[normalize-space(.) = '.$this->escapeQuotes($text).']';
with:
$xpath = '//option[contains(text(), '.$this->escapeQuotes($text).')]';

@cryptton2004 Hi, nice idea, I would rather not change current behavior, but it could e.g. be added as a selectByVisiblePartialText() method, what do you think? Could you send a pull request?

This was released as part of version 1.3.0.


Add react-router as a peerDependency, instead of as a dependency.

Version
latest

Steps to reproduce

Add react-router-dom as dependency
Add connected-react-router as dependency
See warning about react-router being a peer dependency of connected-react-router

Expected Behavior

Add react-router-dom as dependency
See warning about react-router being a peer dependency of connected-react-router

IMO, it should follow (React -> ReactDom)'s pattern: https://github.com/facebook/react/blob/master/packages/react-dom/package.json#L22
Some more info
https://github.com/supasate/connected-react-router/issues/92

Peer dependencies are for packages that are expected to be installed, but are not imported by the package declaring the dependency (an implicit relationship).
react-router-dom has an explicit dependency on react-router because it re-exports react-router's exports. If it was a peer dependency, then someone using react-router-dom would have to explicitly install react-router, which is not desirable.


Updated risk scenario example

The example risk scenario included two events and used inconsistent language (mixing causes, results in) compared to the definition of a risk statement. It also included two events that may complicate the introduction for new users which I have simplified.
This commit also includes minor SPAG fix and there were some inconsistent line-endings which my text editor has converted, e.g. lines 1, 7, ... 59, 79.

NB: PDF will need regenerating if accepted.

Yep, simplify for the first example.
Perhaps in the future we can demonstrate how you can have chains of events, or even sources.


Create Assassin's Creed III

Add graphicPacks  Assassin's Creed III

This PR along with the Barbie PR are incorrectly done. Please look at how the packs are setup for the build script.


Make AutoIdentifierExtension thread safe

This PR makes AutoIdentifierExtension thread safe when using a single MarkdownPipeline in multiple threads.
https://github.com/dotnet/docfx/issues/2972

Thanks! 👍

Thank you @xoofx. When can I expect an NuGet update, or is there a pre-release NuGet feed with latest changes?

I have pushed a new version 0.15.1 to the CI, it should be up in a few minutes.

you are awesome 🥇


⚠ ClamAV has degraded performance

In 436baf9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 232 ms

Resolved: ClamAV performance has improved in e3ff927 after 5 minutes.


No Documentation

I have looked everywhere and have not found any documentation on this build system. Is there even documentation to begin with.

I have the same question with you.  https://github.com/google/blueprint/issues/347
They closed my issue. I have to research by myself.

Well, What did you find?

Hope the documentation can help you
https://note.qidong.name/demo/soong_build/

You can change attributes like "manifest","src" in Android.bp

Thanks!

I was looking for a fast build system that uses ninja

I thought this was the solution
But instead, I found GN
Much better and comes with really nice documentation. You should check it out!

Thank you, your documentation is very exact and helpful

Closing this since we won't be writing documentation after the archival of the project.


Hide unfriendly mappings in template builder sidebar

Split field mappings into three sections in the template builder. Bundles, Basic and Advanced
Added help text to several of the object mappings in the template builder
Added expand all / collapse all links that are specific to each of the three sections
Labels

geBodyFieldBundlesLeftCol
geHelpTextAccount1Mapping
geHelpTextAccount2Mapping
geHelpTextAddressMapping
geHelpTextAllocation1Mapping
geHelpTextAllocation2Mapping
geHelpTextAllocationBundle
geHelpTextContact1Mapping
geHelpTextContact2Mapping

Critical Changes
Changes
Gift Entry Enhancements

We refined the list of Template Builder fields to show the most common ones higher up in the screen and added information about how to use the different form fields and field bundles.

Issues Closed
Community Ideas Delivered
New Metadata
Deleted Metadata

**lurch: attach W-038289

Tracking W-038289

Just reviewed all the changes with @bdvorachek. I'm all good to go with this PR when he pushes his changes discussed during our call. CC @ptewson-sfdo

Looks good to me too for UX look and feel consistencies. Thanks! cc @ptewson-sfdo


XcodeTask must include references to existing referenced native libraries

You can use the linkJ2objcLibs to link precompiled libs with j2objc-gradle.
What I have a pre translated .m and .h files that are not part of .a library. How can I include them too?
As an example the following lib: https://github.com/vals-productions/sqlighter It has implementations written in objective-c which should not be translated from any Java source.

OCNI could be used but that's kind of a hassle: http://j2objc.org/docs/Writing-Native-Methods.html
If those files are already translated, then it would be best to have them be translated every time as part of the build.

Correct me if I am wrong. When I use OCNI on the objective-c side you are forced to use JNI on the Android side. This is not what I want. Please take at: https://github.com/vals-productions/sqlighter
The lib has Java implementations for Android and implementations written in Objective-C for the ios side.
This plugin should have a way to handle this as I suppose there will be more libs like this in future.

@advayDev1 - what's your opinion on this?

The correct thing is not to include the files in your gradle project, but instead to link/include them via a separate gradle project.  So create a separate gradle project following the instructions here:
https://docs.gradle.org/2.4/userguide/nativeBinaries.html
(unrelated to the plugin).
Then follow this FAQ (where the project you created above is called 'A'):
https://github.com/j2objc-contrib/j2objc-gradle/blob/master/FAQ.md#how-do-i-setup-a-dependency-on-a-native-library-project
Make sure your settings in j2objcConfig use a prefixes file as specified by that third-party library:
https://github.com/vals-productions/sqlighter#j2objc
Otherwise the class names won't match up.

BTW: The separate Gradle project 'A' is for the source and headers of the third-party project.

@advayDev1 Thank you. I created a project for the native files and compiled the lib.
model {
    components {
        sqlighterlib(NativeLibrarySpec)
    }
}

The compilation works without problems.
I included the native lib in my shared project:
extraNativeLib project: ':sqlighter', library: 'sqlighterlib', linkage: 'static'

Then I did gradle j2objcXcode and I get the following error:
No static library binary available for library 'sqlighterlib' with [flavor: 'default', platform: 'x86_64', buildType: 'release']

Here are the native libs that are generated.

It seems that the correct libs are generated but j2objc-gradle cannot link them.

Yes j2objcXcode and pods haven't been updated to support any of the dependency features I've added recently.  Someone (you?) who actually uses pods would need to implement it:
https://github.com/j2objc-contrib/j2objc-gradle/issues/432

@advayDev1 I will try this. Any advices what to do?

Let's just solve the issue of an existing native library here, it is simpler than solving all dependencies.
Since I am definitely not a pod expert, here is a guess as to how this should work:

Given an external library, I don't think the plugin should be responsible for creating a podspec for that library.  So I'd manually create one for that other library and put it somewhere easy to find.
Add an optional map argument to extraNativeLib pointing to the podspec for that library.
Somehow reference that podspec in the the files that are created in XcodeTask.

There's more work for referencing other j2objc projects that the plugin itself makes, but first let's get the easier case of an existing library done.

thanks @confile  - assigned to you

@confile, while what I've stated above is an issue, you have a bigger issue :)
You haven't compiled that sql library with all the required ios architectures.
Start with this Gist for the sql library's build.gradle:
https://gist.github.com/advayDev1/2bdf04f05c2bafd7df25
Fix all the places it says "FIX THIS" and put the right library name everywhere it says YOURLIBRARY (like sqlighterlib).
Then just do the build for that library, and do the build for your overall project.
Remember build skips the pod stuff, so let's just get your build working first.

@advayDev1 Sure I use only x_86:
j2objc.release.enabled=false
j2objc.enabledArchs=ios_x86_64

That'll only build for the iOS simulator. You need ios_armv7 and ios_arm64
to also build for the iOS devices.
Should we add a warning for "j2objc.enabledArchs=ios_x86_64"? To explain
this issue?
On Wed, Sep 9, 2015 at 8:21 AM Michael Gorski<EMAIL_ADDRESS>wrote:

@advayDev1 https://github.com/advayDev1 Sure I use only x_86:
j2objc.release.enabled=false
j2objc.enabledArchs=ios_x86_64
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/446#issuecomment-138799401
.

The plugin will create the podspec for the translated code. it's not that
difficult - you can see an example copy below.
As a stop gap, we could add support for the plugin to reference extra
podspec's in the Podfile. The Podfile is what is loaded by the Xcode
Workspace and the leads to all the magic happening with CocoaPods. For now,
all these files can be manually edited but the Podfile will be overwritten
when j2objcXcode is run again.
Pod::Spec.new do |spec|
spec.name = 'j2objc-base-debug'
spec.version = '1.0'
spec.summary = 'Generated by the J2ObjC Gradle Plugin.'
spec.public_header_files = 'j2objcOutputs/src/main/objc/**/*.h'
spec.resources = 'j2objcOutputs/src/main/resources/**/*'
spec.requires_arc = true
spec.preserve_paths = 'j2objcOutputs/src/main/objc/**/*'
spec.libraries = 'ObjC', 'guava', 'javax_inject', 'jre_emul', 'jsr305',
'z', 'icucore', 'base-j2objc'
spec.xcconfig = {
    'HEADER_SEARCH_PATHS' =>
'/Users/brunobowden/dev/j2objc-versions/j2objc-0.9.8/include',
    'LIBRARY_SEARCH_PATHS' =>
'/Users/brunobowden/dev/j2objc-versions/j2objc-0.9.8/lib
/Users/brunobowden/dev/taptap/base/build/j2objcOutputs/lib/iosDebug'
}
end

On Tue, Sep 8, 2015 at 7:23 PM Advay Mengle<EMAIL_ADDRESS>wrote:

Let's just solve the issue of an existing native library here, it is
simpler than solving all dependencies.
Since I am definitely not a pod expert, here is a guess as to how this
should work:

Given an external library, I don't think the plugin should be
responsible for creating a podspec for that library. So I'd manually
create one for that other library and put it somewhere easy to find.
Add an optional map argument to extraNativeLib pointing to the
podspec for that library.
Somehow reference that podspec in the the files that are created in
XcodeTask.

There's more work for referencing other j2objc projects that the plugin
itself makes, but first let's get the easier case of an existing library
done.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/446#issuecomment-138640367
.

@brunobowden @confile - there are 3 issues:

sql library needs to be built with proper architectures AND proper naming conventions AND be fat
your project overall needs to have the right set of architectures to support simulation (not technically required, but pretty useful)
the pod/podspec files need to list the dependency to the sql library.

let's start with the first issue first.
You need to setup the gradle file for the sql library correctly, otherwise your main project has no way of linking to it correctly.  The Gist above sets up your sql library gradle file in a way that matches the conventions of j2objc so that linking can be done correctly.
What does the sql build.gradle file look like right now?

@brunobowden I used this j2objc.enabledArchs=ios_x86_64 to build for the simulator only to get a faster translation and compile.

@advayDev1 I tried what you said but I got this error:
16:20:45.705 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.assemble' to state Mutated.
16:20:45.705 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.assemble' to state Finalized.
16:20:45.705 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.assemble' to state SelfClosed.
16:20:45.705 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.assemble' to state GraphClosed.
16:20:45.706 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Transitioning model element 'tasks.assemble' from state GraphClosed to GraphClosed
16:20:45.715 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 2.633 secs
16:20:45.721 [ERROR] [org.gradle.api.Project] Project 'sqlighter' is missing finalConfigure():
https://github.com/j2objc-contrib/j2objc-gradle/blob/master/FAQ.md#How-do-I-call-finalConfigure
16:20:45.729 [ERROR] [org.gradle.BuildExceptionReporter]
16:20:45.730 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
16:20:45.730 [ERROR] [org.gradle.BuildExceptionReporter]
16:20:45.730 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
16:20:45.731 [ERROR] [org.gradle.BuildExceptionReporter] Build file '/Users/mg/Downloads/Majestella/sqlighter/build.gradle' line: 44
16:20:45.731 [ERROR] [org.gradle.BuildExceptionReporter]
16:20:45.731 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
16:20:45.731 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating project ':sqlighter'.
16:20:45.732 [ERROR] [org.gradle.BuildExceptionReporter] > Failed to apply plugin [class 'org.gradle.language.objectivec.plugins.ObjectiveCLangPlugin']
16:20:45.732 [ERROR] [org.gradle.BuildExceptionReporter]    > Cannot add rule org.gradle.language.objectivec.plugins.ObjectiveCLangPlugin$Rules#registerLanguage(org.gradle.platform.base.LanguageTypeBuilder<org.gradle.language.objectivec.ObjectiveCSourceSet>) for model element 'languages' at state Created as this element is already at state GraphClosed.
16:20:45.733 [ERROR] [org.gradle.BuildExceptionReporter]
16:20:45.733 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
16:20:45.733 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
16:20:45.734 [LIFECYCLE] [org.gradle.BuildResultLogger]
16:20:45.735 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED

Here is my build.gradle
Here is native.gradle

No, your build.gradle for sqllighter can't have j2objc plugin applied - there's no Java to translate!
What you called 'native.gradle' should instead be your entire sqlighter/build.gradle file.

@advayDev1 I did the change. Now I got the following after gradle build:
:sqlighter:ios_arm64DebugSqlighterlibSharedLibrary SKIPPED
:sqlighter:compileIos_arm64DebugSqlighterlibStaticLibrarySqlighterlibObjcpp
/Users/mg/Downloads/Majestella/sqlighter/src/sqlighterlib/objc/SQLighterRsImpl.m:76:54: error: cannot initialize a parameter of type 'const jbyte *' (aka 'const signed char *') with an rvalue of type 'const void *'
    IOSByteArray *ba = [IOSByteArray arrayWithBytes: [ d bytes] count:(int)[d length]];
                                                     ^~~~~~~~~~
/Applications/J2Objc/j2objc-0.9.8b/include/IOSPrimitiveArray.h:152:1: note: passing argument to parameter 'buf' here
PRIMITIVE_ARRAY_INTERFACE(byte, Byte, jbyte)
^
/Applications/J2Objc/j2objc-0.9.8b/include/IOSPrimitiveArray.h:61:54: note: expanded from macro 'PRIMITIVE_ARRAY_INTERFACE'
+ (instancetype)arrayWith##U_NAME##s:(const C_TYPE *)buf count:(NSUInteger)count; \
                                                     ^
1 error generated.

:sqlighter:compileIos_arm64DebugSqlighterlibStaticLibrarySqlighterlibObjcpp FAILED

FAILURE: Build failed with an exception.

that's something to take up with the sqlighter folks.  it has nothing to do with our plugin.  file a bug with them.
possibly check what version of j2objc they are using versus you.

any luck with this?   i don't currently see a bug re: the plugin here.

When I compile the code in Xcode it works fine. With the gradle-j2objc plugin I still getting the error.

Can you please be more specific?  What did you build in Xcode?
If you make share a github of the exact xcproj and other files that you are building in Xcode we might be able to debug.

I translated the interfaces with j2objc and included the .h and .m files of the implementations of these interfaces to my Xcode project.

@confile - Ok, please go into Xcode and do the following:
Menu View -> Navigators -> Show Report Navigator.
In the left pane, find a successful 'Build' and within the report for that Build find a message like:
'Compile SQLighterRsImpl.m' (if that is the file with an error).
Right click that line and click Copy and paste the clang command here (minus anything sensitive).
You may need to Clean then Build if that file hasn't changed recently.

I do not think we can generically implement this in the plugin anytime soon as there is no convention for distributing J2ObjC-enabled libraries that include both Java and separate Objective-C source (and build steps).
We already provide the tools for you to do this yourself, and many of my internal projects use it.  But I think at this point you are in power-user land, and it is acceptable that you have the user has to understand the Clang options themselves.  Providing abstractions over Clang is just complicating matters  - the gcc conventions have existed for years and we'd just be obfuscating them.


rust-analyzer-unwrapped: 2024-01-29 -> 2024-02-19

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rust-analyzer-unwrapped is: A modular compiler frontend for the Rust language
meta.homepage for rust-analyzer-unwrapped is: https://rust-analyzer.github.io
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024-02-05 with grep in /nix/store/s6j8l8dvva2whnaixrljfql23m0cpkjy-rust-analyzer-unwrapped-2024-02-05
found 2024-02-05 in filename of file in /nix/store/s6j8l8dvva2whnaixrljfql23m0cpkjy-rust-analyzer-unwrapped-2024-02-05

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
ra-multiplex
rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.rust-lang.rust-analyzer

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s6j8l8dvva2whnaixrljfql23m0cpkjy-rust-analyzer-unwrapped-2024-02-05 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/dc02bee72de791d56dd024eae1ec6cf40ed34b2c#rust-analyzer-unwrapped

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s6j8l8dvva2whnaixrljfql23m0cpkjy-rust-analyzer-unwrapped-2024-02-05
ls -la /nix/store/s6j8l8dvva2whnaixrljfql23m0cpkjy-rust-analyzer-unwrapped-2024-02-05/bin

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

4 packages built:

ra-multiplex
rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.rust-lang.rust-analyzer

Maintainer pings
cc @oxalica for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rust-analyzer-unwrapped is: A modular compiler frontend for the Rust language
meta.homepage for rust-analyzer-unwrapped is: https://rust-analyzer.github.io
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024-02-12 with grep in /nix/store/m0swk46ajqlhimqkf614wi1ywy3k53d0-rust-analyzer-unwrapped-2024-02-12
found 2024-02-12 in filename of file in /nix/store/m0swk46ajqlhimqkf614wi1ywy3k53d0-rust-analyzer-unwrapped-2024-02-12

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
ra-multiplex
rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.rust-lang.rust-analyzer

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m0swk46ajqlhimqkf614wi1ywy3k53d0-rust-analyzer-unwrapped-2024-02-12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/3981f56b13ad98d0ea44afc182c4ecdf1c27c05f#rust-analyzer-unwrapped

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m0swk46ajqlhimqkf614wi1ywy3k53d0-rust-analyzer-unwrapped-2024-02-12
ls -la /nix/store/m0swk46ajqlhimqkf614wi1ywy3k53d0-rust-analyzer-unwrapped-2024-02-12/bin

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

4 packages built:

ra-multiplex
rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.rust-lang.rust-analyzer

Maintainer pings
cc @oxalica for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rust-analyzer-unwrapped is: A modular compiler frontend for the Rust language
meta.homepage for rust-analyzer-unwrapped is: https://rust-analyzer.github.io
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024-02-19 with grep in /nix/store/1aw49hfda5ylqs6dfv3jjpdzkf35jf8z-rust-analyzer-unwrapped-2024-02-19
found 2024-02-19 in filename of file in /nix/store/1aw49hfda5ylqs6dfv3jjpdzkf35jf8z-rust-analyzer-unwrapped-2024-02-19

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
ra-multiplex
rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.rust-lang.rust-analyzer

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1aw49hfda5ylqs6dfv3jjpdzkf35jf8z-rust-analyzer-unwrapped-2024-02-19 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/cc46bc1a2e6b40fe6139b35ff44c186e96ebfc7f#rust-analyzer-unwrapped

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1aw49hfda5ylqs6dfv3jjpdzkf35jf8z-rust-analyzer-unwrapped-2024-02-19
ls -la /nix/store/1aw49hfda5ylqs6dfv3jjpdzkf35jf8z-rust-analyzer-unwrapped-2024-02-19/bin

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

4 packages built:

ra-multiplex
rust-analyzer
rust-analyzer-unwrapped
vscode-extensions.rust-lang.rust-analyzer

Maintainer pings
cc @oxalica for testing.


Hue not responding with lights

Issue
Launch homebridge and it requests from hue bridge get /lights and the bridge responds ok, but then nothing happens and after a few seconds the process repeats indefinitely.
Log Messages

[2019-5-27 14:51:18] [Hue] Initializing platform accessory 'Philips hue'...
[2019-5-27 14:51:18] [Hue] Philips hue: 2 services
[2019-5-27 14:51:18] [Hue] Initializing platform accessory 'Screen Color'...
[2019-5-27 14:51:19] [Hue] Philips hue: bridge request 4: get /lights
[2019-5-27 14:51:19] [Hue] Philips hue: bridge request 4: ok
[2019-5-27 14:51:24] [Hue] Philips hue: bridge request 5: get /lights
[2019-5-27 14:51:24] [Hue] Philips hue: bridge request 5: ok
[2019-5-27 14:51:29] [Hue] Philips hue: bridge request 6: get /lights
[2019-5-27 14:51:29] [Hue] Philips hue: bridge request 6: ok
[2019-5-27 14:51:34] [Hue] Philips hue: bridge request 7: get /lights
[2019-5-27 14:51:34] [Hue] Philips hue: bridge request 7: ok
[2019-5-27 14:51:39] [Hue] Philips hue: bridge request 8: get /lights
[2019-5-27 14:51:39] [Hue] Philips hue: bridge request 8: ok
[2019-5-27 14:51:44] [Hue] Philips hue: bridge request 9: get /lights
[2019-5-27 14:51:44] [Hue] Philips hue: bridge request 9: ok
^C

Debug Files
For some reason my homebridge isnt dumping the log files to the right spot and I cant find them. So instead i attached a .txt file with the terminal output when I run homebridge -D
terminal output.txt

homebridge-hue.json.gz

What happens if you run homebridge with only homebridge-hue?  Looks like another plugin is preventing homebridge from starting its server.

So I ran it with only homebridge-hue and it worked fine so I reinstalled the other plug in i was using for the 23rd time and it works now. So its resolved.
Thanks for taking a look


Proposal: Exclude folders from copyDirectory

Laravel Mix Version: 4.0.14
Node Version: 11.3.0
NPM Version: 6.5.0
OS: Mojave

Description:
Hello! I'd like to revisit the idea of how copyDirectory works. I think we can change this in a backwards-compatible way and also fill a hole in mix's functionality since the prior version where copy had this method signature
copy(from, to, flatten = true)
Although copy and copyDirectory work for most cases, it seems like many people are missing a way to copy a directory but exclude certain files/folders. For example, in one of our apps we have some older jquery code that we don't want to load on every page. This is organized into subfolders of js files, and we need to publish them to the public folder. I'd like to use mix to copy all the js files (while maintaining folder structure!), but not copy things like .vue components.
Steps To Reproduce:
In the example screenshot, the components folder contains .vue files. There is no way to copy everything in the JS folder except the components directory while maintaining original folder structure.

Happy to discuss options or provide more info as for why we'd need this if wanted. Thank you!

Is this something that might be added again in a future version of mix? Seems like it would be pretty useful and I've yet to find any workaround.

Would be great to have. My use case is that I'm using Subversion (yeah, I know) and pulling some assets via svn:externals. When external are checked out, for each external there is a .svn directory with SVN internal data. I'd like to exclude .svn folders from copying by Mix. For production build currently I'm using:
"scripts": {
    "build": "cross-env NODE_ENV=production webpack --progress --hide-modules && rimraf public/*/*/.svn"
  }

In watch or hot builds it won't work that way and things breaks often because TortoiseSVN (I'm on Windows) likes to block some files in .svn folders.

I'd be happy to submit a PR for this if it would be something that might be added back in. Would love to not publish our vue component source files to the public folder 👍

@jeffreyway is this something that would be a welcome addition?
On Sun, Aug 18, 2019, 9:03 AM stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JeffreyWay/laravel-mix/issues/1973?email_source=notifications&email_token=AAEMPPKJSWVDE2OQKXARKZ3QFFQDRA5CNFSM4GTZO232YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RB2MA#issuecomment-522329392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEMPPIC7AWJLES7ZQEF62TQFFQDRANCNFSM4GTZO23Q
.

Still need this.
[webpack-cli] Error: Cannot overwrite directory '/Users/jordan/Projects/jottful/public/css/icomoon/.DS_Store' with non-directory '/Users/jordan/Projects/jottful/resources/assets/sass/icomoon/.DS_Store'.


Update Program.cs

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Pull Request Test Coverage Report for Build 518936785

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 517197153:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

Pull Request Test Coverage Report for Build 518936785

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 517197153:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Tabs widget and the Rotated widget that it uses.

The tabs widget and dependencies extracted from binding-scroll.
This does static and dynamic tabs, and also includes a Rotated widget that it uses to rotate tab labels.
Things that maybe should change:

The way Rotated messes with the invalidation region is a bit rough and ready.
I didn't want to come up with an elaborate scheme as the best way to do it needs discussion
Axis probably should be promoted out of Flex
CrossAxisAlignment for tabs might be an over-re-use. But not sure.
Possibly the event methods in tabs (when events should be passed on to children) should move onto the Event enum.
Possibly the event transform in Rotated should move there too.

I left both where they were as its probably easier to review

Some things I noticed from the example:
If I click on a new tab I see the content of the previous tab I was on. I.e if I click on "Advanced" I see the content of "Basic" and If I then click on "Page 3" I see the content of "Advanced". But then the button does not work, I guess because I am on "Page 3".
I am not sure that the child widget size should be set to the entire tab space, now I cant have fixed width on a label, and if I add a background color to the label it fills the tab.
I am not a fan of downward text but if we where to have it I dont like to have each letter rotated, I think it would be better in that case for it to be like this:
P
a
g
e
3
otherwise it feels like I should tilt my head to the side to read it

On rotation: this is fairly standard. E.g IntelliJ does it. I have literally never seen your recommendation outside of motel signs. If you 'don't like' the rotation, don't use it.
I have not seen the behaviour you describe at all wrt tabs. Possibly this is a platform issue? I'll test it again but it sounds very odd.
I don't get why you wouldn't add your own spacing to the child, ie put it in a Flex or whatever. Having dead space invented by the tab widget seems strange to me.

I can't recreate the behaviour you describe. I hope its fairly obvious I would have noticed that... is this on Windows? I wonder if its a platform event handling difference or something? Really doesn't make a lot of sense. Does the same happen with the dynamic tabs?

The issue is also with the dynamic tabs, I am on windows.
Sure you can put widgets inside a flex but I tought it was odd to overwrite the widgets behavior, ie a textbox filling the entire width of the tab instead of the width you'd expect it to have.
For the suggestion to have downwards tabs without the text being rotated, if you dont want to have that thats fine, but saying "if you dont like it dont use it" is not the wording I would use if somebody asked for a feature.

You are asking to remove a feature. You literally don't have to use it - leave the tabs not rotated by setting the rotation to None.
I have no idea what you mean by overriding the widgets behaviour. It does exactly the same thing as e.g ViewSwitcher.
If this is a Windows only issue it must be fairly fundamental.

What I ment was this, top one being a textbox in viewswitcher and bottom one in a tab

I managed to get something like it to happen on GTK in a linux VM. It might be some difference in the way the animations work.
I'll investigate tomorrow.

I think its because I do .expand() on the tabs body (which does work like ViewSwitcher internally), this was I think also to make the animations look sensible (using the whole width of the tab). I'll see if there is a better way to do it...

@rhzk I think both of those issues might be fixed now - no longer use expand, the tab body expands itself (which leaves children alone).
The animation one was a bit odd, I had to add in another call to request_paint. I think it might be that the mac shell ends up painting anyway when animation frames happen and I was accidentally relying on that. So possibly a bug in the mac shell.
I guess the lesson is to always try at least two platforms!
I haven't tested Windows as I don't have it.
I will try out the web again at some point
I also noticed on Linux that the circle with an X on it symbol wasn't in the default font. This was pretty much a placeholder anyway. I may paint it directly or use images - but not sure we have a good answer on shipping around images in the druid library? Probably painting is better. Can do some kind of hover then too

Looks like its all working on Widows now!

http://chil.rice.edu/research/pdf/byrne2002hfes.pdf <- On rotated text. There is always a creaky old paper to be wheeled out

@rjwittams and I discussed this earlier today, and we agreed to split out the rotation work into a subsequent PR.

I think I have changed the essential bits.


Don't reload stack report on tab change in VS code

Currently, stack report is reloaded for the same stack when the user navigates away and then comes back to the stack report tab. It would be better if we can cache the result and not reload it every time for this scenario.

closing as dup of https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/issues/89


remove most of THREE dependencies in vendor (fixes #720)

something's up with the tests

something's up with the tests

if I revert my local "0.74.0-beta5" to "0.74.0-beta3" then the tests fail. so I guess that's why; the files moved.

specifically, examples doesn't exist in beta3

what do we gain with this? each time I want to use a three js module I have to do PR in three-dev? I see this like becoming a three js fork and becoming a burden we have to also maintain

colladaloader require is duplicated

we're already maintaining several files in the vendor . i think this is easier since we just point to where the file is in three.js.
three-dev doesn't make modifications to three, we just use it to publish the version we want to be on

what do we gain with this? each time I want to use a three js module I have to do PR in three-dev? I see this like becoming a three js fork and becoming a burden we have to also maintain

each time you use a new three.js module, you reference it the same way I've done in THREE.js.
we're making manual modifications to these vendor/ files (module.exports = function (THREE) { … }, for example), which are unnecessary (since we're already polluting the window.THREE global now, since a few months back). and every time we update to the latest version of THREE, we have to remember and manually edit these vendor/ files - and doing copying + pasting + diffing by hand seems riskier if we're already using three as a module.

What's going on with the tests?

What's going on with the tests?

what I said above: https://github.com/aframevr/aframe-core/pull/721#issuecomment-165935693
this is dependent on an upgrade to three.js's dev (#722, formerly #719)

I merged https://github.com/aframevr/aframe-core/pull/722. Can we rebase to see if it fixes the tests?

will do, thanks


Working on README and examples

Trying to clarify what is HAL specific and what is RP specific.

Suggest we squash-merge this monster!

I'm going now. No more typing...


Add Andrew Wyman to Contributors list

@seawolf631, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

I'm very grateful for your page. As soon as I finished my contribution to
your repository, I went straight to your first contributions app and sent a
pull contribution to NumPy. For me, git and understanding even how to go
about contributing anything to open source was what was stopping me from
the open source community, not the actual coding part. One suggestion I
would have for your page would be a brief sentence or two under each
section explaining the concept of what a fork or a pull is, like a
definition.
Thanks,
Andrew Wyman
On Fri, Dec 22, 2017 at 1:14 PM, Roshan Jossey<EMAIL_ADDRESS>wrote:

Merged #1864
https://github.com/Roshanjossey/first-contributions/pull/1864.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roshanjossey/first-contributions/pull/1864#event-1399950569,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALHjRp0Tdnk7Xpysnue2_1BWjjpTpm47ks5tC_GQgaJpZM4RKkHx
.

As soon as I finished my contribution to
your repository, I went straight to your first contributions app and sent a
pull contribution to NumPy

Thats awesome Andrew. 🎉 You should totally share it in our slack group.
I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


Table: Add key to RowRendererParams type definition

defaultRowRenderer accepts a type of RowRendererParams and destructures key, which isn't present in the type definition.  This pull request updates the type definition and the Table documentation for rowRenderer.

closed in 147fa55181fd186c8312c07507fe6cad38a7d190
I was unable to push changes onto your branch.
thanks for doing this!

Not a problem.  Thanks for seeing it through.


Refine hardware page and break down per GPU usage

Refine hardware page and break down per GPU usage

Track in  issue #4024, close this one


@craigspaeth => [EOY] firefox scroll fix

wow really? haha 👏

👍 not worried at all about the build being affected by this one line CSS change, so mergin.


[Feature Branch] Logger Framework

This PR serves as the feature branch for the logger framework refactor, all PRs pertaining to loggers will be merged into this, and this branch will land into main, I have tried to use a stacked PR approach here:

[X] Move existing logger manager into sparseml.core and Update existing modifiers to use logger manager from sparseml.core: This has been merged into main #1759
[x] Add model level logs #1783

[x] Add convenience methods for log_strings #1855

[x] Output info logs to console and all logs to log-file #1861

Love ~0~ 553 line PRs 😄


Sitemap path in robots.txt not recognized

On a site with sitemap path specified in robots.txt Norconex doesn't recognize this specification.
The SitemapResolverFactory is configured to respect only specifications from robots.txt by setting the empty path tag:
<sitemapResolverFactory ignore="false" lenient="true"
    class="com.norconex.collector.http.sitemap.impl.StandardSitemapResolverFactory">
    <path/>
</sitemapResolverFactory>

Content of the robots.txt:
User-agent: *
Disallow: /fileadmin/_temp_/
Disallow: /t3lib/
Disallow: /typo3/
Disallow: /typo3_src/
Disallow: /typo3conf/
Disallow: /clear.gif
Allow: /typo3/sysext/frontend/Resources/Public/*
Sitemap: https://www.skd.museum/index.php?id=1&type=841132

I have enabled log level DEBUG for the collector in log4j.properties: log4j.logger.com.norconex.collector.http=DEBUG
But if I start crawling, the logging says "No sitemap paths specified.":
[non-job]: 2020-11-16 15:49:02 INFO - Starting execution.
[non-job]: 2020-11-16 15:49:02 INFO - Version: Norconex HTTP Collector 2.9.0 (Norconex Inc.)
[non-job]: 2020-11-16 15:49:02 INFO - Version: Norconex Collector Core 1.10.0 (Norconex Inc.)
[non-job]: 2020-11-16 15:49:02 INFO - Version: Norconex Importer 2.10.0 (Norconex Inc.)
[non-job]: 2020-11-16 15:49:02 INFO - Version: Norconex JEF 4.1.2 (Norconex Inc.)
[non-job]: 2020-11-16 15:49:02 INFO - Version: Norconex Committer Core 2.1.3 (Norconex Inc.)
[non-job]: 2020-11-16 15:49:02 INFO - Version: Norconex Committer Solr 2.4.0 (Norconex Inc.)
skd-de: 2020-11-16 15:49:02 INFO - Running skd-de: BEGIN (Mon Nov 16 15:49:02 CET 2020)
skd-de: 2020-11-16 15:49:02 INFO - skd-de: RobotsTxt support: true
skd-de: 2020-11-16 15:49:02 INFO - skd-de: RobotsMeta support: true
skd-de: 2020-11-16 15:49:02 INFO - skd-de: Sitemap support: true
skd-de: 2020-11-16 15:49:02 INFO - skd-de: Canonical links support: true
skd-de: 2020-11-16 15:49:02 INFO - skd-de: User-Agent: XIMA-Crawler
skd-de: 2020-11-16 15:49:02 INFO - skd-de: Initializing sitemap store...
skd-de: 2020-11-16 15:49:02 DEBUG - skd-de: Cleaning sitemap store...
skd-de: 2020-11-16 15:49:02 INFO - skd-de: Done initializing sitemap store.
skd-de: 2020-11-16 15:49:03 DEBUG - URL redirect: https://www.skd.museum/robots.txt -> https://www.skd.museum/robots.txt/
skd-de: 2020-11-16 15:49:03 DEBUG - Fetched and parsed robots.txt: https://www.skd.museum/robots.txt
skd-de: 2020-11-16 15:49:03 DEBUG - No sitemap paths specified.
skd-de: 2020-11-16 15:49:03 DEBUG - Sitemap locations: []

[...]

What could be the issue here?

This occurred because the robots.txt is redirecting to robots.txt/. Since it is expected at a standard location, it tried to read it from robots.txt (no slash) and failed since it is not returning expected content.  I just deployed a new 2.9.1-SNAPSHOT version that will follow the redirect.  Please try and confirm.

Thanks for your reply and for providing the snapshot! At the moment I have plenty of work under my hands but I will try as soon as possible and give you feedback.


Add dftx ICXSubmitDFCHTLC and TxnBuilderICXOrderBook.

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
Adds support to create ICXSubmitDFCHTLC custom transactions from jellyfish side.
Which issue(s) does this PR fixes?:

Fixes part of #533
Additional comments?:

Looks good to me


2024 Missing Reports

Hi thanks for maintaining this repository. Your project is pioneering a pretty critical service to industry professionals in essentially creating a timeline of the threat landscape at large.
However, I am curious how three of the highest fidelity and arguably the most objective industry proven, actionable, and technical reports such as: RedCanary, Blackpoint, and Huntress amongst some others are being missed?
Is it lack of awareness, care, etc? Anything the community can do to assist? It is a fantastic idea and has the potential to really be high value but oversights such as these are concerning as an observer and professional who uses such reports to generate signals, trends, and collect data as opposed to your average reader looking to consume.

Yep I can work on that, or you can feel free to issue a PR and I can merge.

@ank0ku I was unable to gather the Huntress report linked in this issue, but I have uploaded the other reports. Just waiting to update the readme once all three have been gathered. If you are able to gather the final report it would be very helpful.

All 3 reports noted in original issue have been added.


init window if it does not exist

We need to use the module in a mobile application and there's no window object, so can we initialise it if it is not present as otherwise we get a null reference object here)

Thanks, closed in favor of #71


Export structure without generating HTML

Hey guys, I'm doing a bit of research on documentation generation for the next version of the Foundation framework. Our needs are very specific because we combine HTML, Sass, and JavaScript documentation into one page.
Hologram looks super slick, and I'm curious to know if it's possible to get the raw data from the documentation parser, before it's compiled into HTML templates. I may or may not even need the Markdown formatted, I just need the data the parser collects for the templates. Basically I would eventually get it converted into JSON so I can mash it up with other documentation data generated by SassDoc and JSDoc.
It's all still speculative at the moment; I'm just exploring if it's possible with the tools out there. Thanks for your help!

I spent some time tonight carefully examining the source code, and I was able to figure something out.
require 'hologram'
require 'json'

plugins = Hologram::Plugins.new({}, []);
parser = Hologram::DocParser.new('./scss', nil, plugins)
puts JSON.generate(parser.parse)

That lets me parse a directory without needing to set up any configuration or templating.

@gakimball I can't believe you found that! It's a secret @jdcantrell feature. :)

Haha, I barely know how Ruby works, I just started at the unit tests for doc parsing and blindly derived backwards from there until it worked :)


wkhtmltopdf processes never stop

We have an option in our code:
['window-status'=>'ready-to-print']
However on some occasions this code is not set in js. In this case wkhtmltopdf processes will never stop. And after some time we have hundreds of zombie-processes. Is it possible to set max execution time for wkhtmltopdf

This is rather a feature request for our php-shellcommand library, which we use here to execute wkhtmltopdf. You can open another issue there, but as such a feature would be non trivial to implement I wouldn't expect a solution anytime soon, sorry.

I wrote a more explained issue here:
https://github.com/mikehaertl/php-shellcommand/issues/24

Any news on this?


Cannot Update Advertisement Data

I'm trying to build a BLE server which provides some changing data with advertisements. I figured, that even though I'm trying to reset the advertisement every time I want to change the data, the new data gets appended and not replaced.
Here is my code
char data =0;
void loop() {
  Serial.println(data);
  NimBLEAdvertising *pAdvertising = NimBLEDevice::getAdvertising();
  pAdvertising->addServiceUUID(serviceUUID);
  pAdvertising->setServiceData(serviceUUID, std::string(data,1));

  pAdvertising->start();
  delay(5000);
  pAdvertising->removeServiceUUID(serviceUUID);
  pAdvertising->stop();
  pAdvertising->reset();
  data=data+1;
  delay(500);
}

I expected the service data to be changed at every 5 seconds. But what happens is that the broadcasted service data starts with "0x01" and every five seconds another "01" is appended until the length exceeds the allowed size.
Any idea what I did wrong? And how to achieve my goal?

Thank you for reporting this. The code you have should work as intended, I will have a better look tomorrow when I have some more time and get back to you.

The issue is located here:
pAdvertising->setServiceData(serviceUUID, std::string(data,1));

You (accidentally) use the fill constructor of std::string which is defined as
std::string(size_t n, char c);

"Fills the string with n consecutive copies of character c."
And this is exactly what happens in your sketch.
Instead you need use the from buffer constructor which is defined as
std::string (const char* s, size_t n);

For this you need to pass in the address of your data and it's length like so:
pAdvertising->setServiceData(serviceUUID, std::string(&data,1));

For more information about std::string see here
Here is my test sketch:
#include <Arduino.h>
#include <NimBLEDevice.h>

NimBLEAdvertising* pAdvertising;
NimBLEUUID serviceUUID("BEEF");
char data = 0;

void setup() {
    Serial.begin(115200);

    NimBLEDevice::init("ESP32 Advertising test");
    pAdvertising = NimBLEDevice::getAdvertising();
    pAdvertising->addServiceUUID(serviceUUID);
}

void loop() {
    Serial.printf("data: %d\r\n", data);
    pAdvertising->setServiceData(serviceUUID, std::string(&data, 1));
    pAdvertising->start();

    delay(5000);

    pAdvertising->stop();
    data++;
}

IMO the issue is not real issue. You just have tyo stop and re-start advertising after changing data.

The issues is std::string(data,1) vs std::string(&data,1)
Even if you stop and restart the advertising (what i am actually do in my sketch above), the std::string's fill constructor is used and will lead to the same problem.

@chegewara if you look at my code, you will see that the advertising is restarted after changing data.
@sivar2311 thank you very much for your comment! That solved the issue!


task: update unversioned libs

These are used for evg testing and don't have a stable release so dependabot doesn't pick them up
Task generation still works as excepted for shrub
Test config whcih uses the simulated terminal still works as expected

Also another reason why dependabot < renovate :)


Compass code

Hello, not exactly an "issue" but, please, if you can, let me understand better a thing.   :-)
I found this example here:
https://www.microbit.co.uk/functions/compass-heading
In particular the following lines:

while true do
degrees := input → compass heading
if degrees < 45 then
basic → show string("N", 100)
else if degrees < 135 then
basic → show string("E", 100)
else if degrees < 225 then
basic → show string("S", 100)
else
basic → show string("W", 100)
end if
end while

I converted this code to PXT this way:
basic.forever(() => {
    var degrees = input.compassHeading();
    //
    if (degrees < 45) {
        basic.showString("N");
    } else if (degrees < 135) {
        basic.showString("E");
    } else if (degrees < 225) {
        basic.showString("S");
    } else {
        basic.showString("W");
    }
})

This code "works" but for one reasons I don't like it.
Correct me if I'm wrong but:

N should be shown when degrees is an integer > 315 or < 45
E should be shown when degrees is an integer > 45 and < 135
S should be shown when degrees is an integer > 135 and < 225
W should be shown when degrees is an integer > 225 and < 315

Is there any reason why they coded it this way?

I would say the reason they went with the former approach was to keep the program simple.
The more "accurate" approach would be:
basic.forever(() => {
    if (input.compassHeading() >= 315 || input.compassHeading() < 45) {
        basic.showString("N")
    }
    if (input.compassHeading() >= 45 && input.compassHeading() < 135) {
        basic.showString("E")
    }
    if (input.compassHeading() >= 135 && input.compassHeading() < 225) {
        basic.showString("S")
    }
    if (input.compassHeading() >= 225 && input.compassHeading() < 315) {
        basic.showString("W")
    }
})

In the future, please post questions regarding content on the micro:bit support page:
https://support.microbit.org/support/home


how to have a delay before filter is removed

what I mean by this if there was a face that was detected stops being detected the filter will wait like 5 seconds before it get removed and if it does find the face again before the 5 seconds it doesn't get removed
thanks in advanced

Hi

Say hi (your mother should have taught you),
Say something understandable. Use punctuation to make separate sentences, start you sentences with an uppercase character,
Explain your issue, what you want to do, what did you try, and on what demo. Provide logs, videos, code... Like other people who do want to get help do,
Reread yourself and currently you should realize how bad is your posted issue.

Also your issue seems not related to an issue in the library, but it seems related to a custom implementation issue. So its place should be in discussions, not in the issue part.

Hey I am really sorry for wasting your time you were right I would try to make my point more clear  if had any other issues.


Bugfix/travis release

Another attempt at fixing the publish stage.
Looking around I think that the previous fix would've been correct, but I wrote the build:ci script as yarn tsc instead of tsc.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Introducing TR Events Framework & Batch Processing

Summary
There are many long running backend operations we want to be able to provide but are currently hampered by the short runtime for twilio serverless functions.  Well not any longer!
This PR introduces a protocol around batch processing that allows us create a array of work items that are then processed in batch. handing results from function to function in a daisy chained manner.
The use case tackled to flush out this protocol was syncing worker objects with an array of their eligible queue sids - which can then be used on the teams view to concretely see which agents are eligible for which queues.
some points to note about this approach

worker object has a max 4KB object size, 56 queue sids will take up about half this available space so there is a limit to the success of this approach.
extensive testing with batch processing has shown it to work very reliably.  I have been testing 5100 agents and the processing takes ~5 minutes, the error handling we have built into all of our functions has paid dividends here.
in the future i imagine this approach being used for en masse updates of worker skills or anything else that will take a lot of operations
the batch processor passes back a sync doc id that can be used to monitor progress on the front end for future use cases.

I've created this draft PR before taking this any further to solicit some feedback or identify any other holes that may require some refactoring before moving to documentation.
For the moment the branch has the workspace event callback url set to the functions but i think we might want to disable that by default for the final output - open to feedback here if you think otherwise.
Checklist

[x] Tested changes end to end
[ ] Updated documentation
[x] Requested one or more reviewers

This has been re-homed ➡ https://github.com/twilio-professional-services/tr-events-batch-processing


Unable to deserialize HashSet

I'm unable to deserialize HashSets with Jil:
    public class HashSetTest
    {
        public HashSetTest() {
            Tags = new HashSet<string>();
        }

        public HashSet<string> Tags { get; set; }
    }

Exception:
  Jil.DeserializationExceptionExpected: {, null
     at _DynamicMethod1(TextReader, Int32)
     at Jil.JSON.Deserialize(TextReader reader, Options options) in c:\Users\kmontrose\Dropbox\jil\Jil\JSON.cs: line 972
     at Jil.JSON.Deserialize(String text, Options options) in c:\Users\kmontrose\Dropbox\jil\Jil\JSON.cs: line 997

This is by design, Jil will deserialize a list to anything that implements IList<T> which HashSet<T> does not.  Supported types are mentioned in the README.
As to why this is... JSON doesn't have a notion of a unique set of elements, and it's lists/arrays are ordered.  It would make me nervous to have Jil change the order of elements in an array when serializing a deserialized bit of JSON.

This prevents us from ever using this library... HashSet implements ISet, and ISet is unordered, it just can't have duplicate values in it.. ( http://msdn.microsoft.com/en-us/library/dd412081(v=vs.110).aspx ). A sorted set will handle sorting the data as you put into it.. So deserializing that without worrying shouldn't be a problem..

If you are worried about duplicate data then let the runtime throw the error. If the user wants to put garbage in, he can get an error out.

JSON doesn’t have a notion of uniqueness, so it’s logically out of scope for a deserializer.
Implementing a ToHashSet on the caller side is trivial: http://stackoverflow.com/questions/3471899/how-to-convert-linq-results-to-hashset-or-hashedset

Yeah, I understand what your saying.. But why not try to deserialize the array to it and if it blows up for non uniqueness than its not your (Jils) problem but the user for giving it garbage. For example I want to use jil to serialize my object that has a hashset and put it into redis cache.. Getting it out I know its unique.

I think from a design perspective (not to put words in Kevin’s mouth), it becomes Jil’s problem because this would be asking it to do something more heuristic that deterministic. It introduces a new class of error.
A JSON deserializer should handle things that have clear representations or analogs in JSON. Hashsets do not. So, let the caller decide.
Jil’s handling of dates is analogous. It requires the caller specify exactly what date format to understand – Jil doesn’t get into “trying” to figure it out. Too heuristic. If one wants to parse dates heuristically, the caller can implement their own logic.

I don't mean to be a PITA... I guess I don't understand why this is such a problem (even though I understand what you are saying). Why do you support ICollection or IList? Shouldn't you only support T[]? My thought is you would just to do the conversion and under the hood it would call TryConvert on the type or something?
By the way a HashSet of String is serialized as ["My", "String", "Array"]

@niemyjski fyi, this is now supported via #219 and released as 2.14.0.

Thank you!!!!


[TFLite] axis can be a scalar

if tensor is scalar, then "tuple(axis_value)" will raise "TypeError: iteration over a 0-d array"

ok, I will add a UT

I didn't find tflite converter test case in tests/python/frontend/tflite/test_forward.py,   those code didn't use any function
in python/tvm/relay/frontend/tflite.py, where can I find some similar tflite converter test case?

I think it should be in https://github.com/apache/incubator-tvm/blob/master/tests/python/frontend/tflite
Feel free to add a unitest to that folder

I have readed the https://github.com/apache/incubator-tvm/blob/master/tests/python/frontend/tflite, but the problem is that I need to generate a tflite op which its axis is scalar. I'm not familiar with tflite, bt I will try it and reopen this PR later.


Questions - no response when emailing..

As getting no response to emails sent I thought I would try asking here instead:-
Firstly just for info - dead link on https://docs.excepticon.io/ the link to            “Client Libraries” is dead    - missing an r in libraries 😊
And now on to the questions I asked via email on 29/10
Firstly I would like to say I have spent ages researching and testing some of the other available solutions, and was so glad to find your product specifically aimed at indie developers like myself, as you say a lot of the other products available are so bulky with unneeded areas and always seem to be aimed at teams of 5 at a minimum

I have been testing the same exception using VB.NET with all products, and this particular exception as two inner exceptions – in your product this is not being shown in the stack trace etc – and is obviously a big issue

More of an issue is that it seems to log error fine when I run app in debugger (Visual Studio), but NOT when I am running app standalone as it would normally run

The NuGet package seems to add an amazing amount of extra DLL’s to my product – 26 in total – and quite a few of them seem to be related to AspNetCore which I am not even using.  Other products tested add one maybe two DLL’s – so this could do with being improved if possible?

You really need some sort of email alert to be sent out when a new exception is logged

For info I am using your solution in a WinForms app using VB

12 days later - no response to any emails I sent or on here - so will assume project is dead

Hello - my apologies for failing to respond in a timely manner.  Due to a lack of interest, there is no active development happening on this project.

To be fair I am not surprised a lack of interest when emails from 17 days ago go unanswered, doesn't exactly inspire confidence.  But thanks for at least finally letting me know I was wasting my time. Shame as the idea was good even if it has a lot of issues.


Select/DeSelect All Method for Chipset

Feature request type
Enhance component
Component name
MudChipset
Is your feature request related to a problem?
I would like an intuitive way to select/deselect all options within a chipset.
Describe the solution you'd like
Ideally something I could trigger via button click from separate component or integrated into the component like Select All on a multi-select.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
I've tried manually re-rendering and tracking selected options externally to specify IsDefault in the foreach. I've also tried pushing selected options to bound array of selected options.
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Using selected values on the chipset accomplished what I needed.


Recursively build abell files

Currently, abell-renderer CLI only supports building one file,
abell-renderer --input src/index.abell --output dist/index.html

It would be very helpful if we can build every .abell file when folder is provided
abell-renderer --input src --output dist

Note: Since abell-renderer is low-level API we will have to do this without adding any additional dependencies unless there's no other way to do it.
Files to change:
src/bin.js includes all the code that is executed when CLI is called

Hey i would like to work on this

cool cool! go ahead @Pika1998

Close this issue :)


HD pp adjustments

Followed changes done on https://github.com/Francesco149/oppai-ng
closes #8

All seems to work :)
Thanks!


Add DaData API

Added the ability to request legal entity data via the API from the official DaData resource.


deprecation: IonQ Harmony

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Are we also planning to replace Aspen-M3 with Ankaa-2 everywhere?

Are we also planning to replace Aspen-M3 with Ankaa-2 everywhere?

That'll be another PR, as it's more involved; this one only makes changes in examples where Harmony appears.

Are we also planning to replace Aspen-M3 with Ankaa-2 everywhere?

That'll be another PR, as it's more involved; this one only makes changes in examples where Harmony appears.

Sounds good, just wanted to make sure that we don't miss out changes to any of our integ_tests as part of the arn changes for AspenM3 in this PR.


add a missing step in kubeadm-upgrade flow.

In case of external etcd, we should also modify kubeadm-config.yaml to set api.advertiseAddress to the local node's IP address.

/assign @bradamant3

/assign @detiber @chuckha

@chuckha @detiber ping, please?

@Bradamant3 sorry, this one slipped under the radar, i can run through these instructions when i run through the 1.12 => 1.13 upgrade scenario as well in the next few days.

/approve
thanks for fixing the omission

/hold cancel
/approve


Lack of Typescript definition

@stas-ut21 Hello
I see that, current implementation lack of Typescript definition similar to https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ws/index.d.ts
Is it right ?
I think Typescript definition is necessary.
Many thanks

@hopbkpro92 Hello
I agree that this is necessary
Soon to be added

@hopbkpro92 Hello
Added in 4.2.2 version


Intelliesens in cshtml does not work

Product and Version: Visual Studio Pro
OS Version: Windows
Live Share Extension Version: 0.3.1100.0
Target Platform or Language C#, MVC, cshtml:
Steps to Reproduce / Scenario:

Join share
Open cshtml and try to do changes

Closing due to inactivity.


all: fix some typos

Warnings

:warning:

It looks like you're editing the versioned copy of our website. This affects only users on the 'current' version of detekt, and it's correct only if you intend to fix the documentation for an already released version of detekt. Most of the time you want to update also the docs inside website/docs/ as well, so this change will reflect also for documentation on future versions of detekt.

Messages

:book:

Thank you very much for making our website better :heart:!

  Generated by :no_entry_sign: dangerJS against 36a9d615a462aeb410cba857aaa60410e188a782

Needs a rebase once #7119 is merged.


fix ci typo in release

test_version_and_changelog -> test_changelog_and_version

✅ LGTM, self-merge is good for this kind of thing.


Support node v8+

Resolved in https://github.com/devinivy/clowncar/commit/2fe35899bd10bba17e6c15fc6356be7a7a24e803


Exec tachikoma update<PHONE_NUMBER>4802

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Coverage remained the same at % when pulling bf7ef753005d50822f03afdb69ebb91e886ebe3e on tachikomapocket:tachikoma/update-20150128164802 into ddf31327ec9d3097b29bd6c49c1071d946319912 on sanemat:master.


Add torus-qt Unix release artefact

Attach three binaries in total:

Windows GUI binary
Linux GUI binary
Linux headless binary

and build linux headless Docker image


Gulp generates files as collections in eXist

Hello, based on the tutorial from https://github.com/cceh/papyri
at the command "gulp deploy-local"
gulp generates the files and folders as collections in eXist
instead of saving it in apps/
Any suggestions for a solution?
eXist Version is 2.2

Same thing here. When running gulp deploy eXist creates a top level collection for every resource/collection. The urlencoded path is treated as the collection's name.


KDE Discover support

Hi,
Great fan of the extension, but I was wondering if there's any way to get the flatpak to open via KDE discover and install through that way, opposed to opening in GNOME software.
Cheers!

@shawnshyguy That's more likely an issue with your browser, all the extension does is provide a URI like appstream:com.rafaelmardojai.Blanket.
In testing I have found despite the system defaulting to Discover (tried in a terminal with xdg-open com.rafaelmardojai.Blanket), Firefox will still default to GNOME Software and had to be overridden.


Configurable networks.json Override Filepath

Make networks.json override filepath configurable via environment variable NETWORKS_OVERRIDE_PATH instead of exclusively defaulting to src/networks.local.json.

@tombeynon could I please get a review here?

Lovely, thank you!


move getting started leviathan guide here

Change-type: patch
Signed-off-by: Ryan Cooke<EMAIL_ADDRESS>

@vipulgupta2048 LGTM?


How do large websites like dotabuff/yasp know that a game is ended?

How do dotabuff/yasp know that a game is ended? It looks like they can grab the information as soon as the game ends. I know we can get the match detail information from the steam API but how do I know that the game is ended?

Basically it doesn't show up until the game is over.
On Mar 16, 2016 3:38 PM, "gerlaic"<EMAIL_ADDRESS>wrote:

How do dotabuff/yasp know that a game is ended? It looks like they can
grab the information as soon as the game ends. I know we can get the match
detail information from the steam API but how do I know that the game is
ended?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/RJacksonm1/node-dota2/issues/254

I know it doesn't show up until the game is over. But how do you know the matchID of a recent ended game?

Use the sequence number API.  The match rate can be up to 20 matches a
second so make sure your application can handle it.
On Mar 16, 2016 3:56 PM, "gerlaic"<EMAIL_ADDRESS>wrote:

I know it doesn't show up until the game is over. But how do you know the
matchID of a recent ended game?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/RJacksonm1/node-dota2/issues/254#issuecomment-197592805


Make dark mode as toggle option

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Describe alternatives you've considered
Additional context
If we can set a toggle button to switch themes dark/light.
Also if it's possible to save the current theme (dark or light) in localStorage of browser (same as filament does :) )
Thanks

yes, this will be available in v3.


Unable to parse using Swift 2

I tried to parse this JSON using the following swift code but failed:
let jsonData = NSData(contentsOfFile: NSBundle.mainBundle().pathForResource("provinces", ofType: "json")!)
        if jsonData != nil {
            let json = try? NSJSONSerialization.JSONObjectWithData(jsonData!, options:NSJSONReadingOptions.AllowFragments)
            let array: Array<Dictionary<String, String>>? = json as? Array<Dictionary<String, String>>
            if array != nil {
                for dic in array! {
                     //never reaches here
                }
            } else {
                //always reaches here
                print("found nil array for province json")
            }

Since the same code is working for other JSON files, I assume there is some syntax error with respect to Swift.

The JSON exported by this module is valid and tested. If you're still having trouble, feel free to comment here.


Failure in release job

The following was seen after launching a release job:

This should be closed by https://github.com/elastic/apm-agent-java/pull/1436


Move BUILD from api/v1 to the top.

This is just to show an idea.  It will break the build.
Bazel external depencies are so different between mixer,  proxy, and with ESP.  It is better to break them.  My idea is  mixer is using top level BUILD to build go_porto files.   when proxy/ESP use "new_git_reposity" to get mixer it,  it will use its BUILD to override the top level mixer BUILD.  Its BUILD will build anything it wants with its own dependencies.  This ideal only works if there is not BUILD file in the api/v1 folder.
If we go with this idea, we can revert back the last cc_option PR.

This change is

@douglas-reid  if you are ok with this idea,  could you fix mixer BUILD?

This breaks the current Mixer build, so we will need to, at the very least, fix the libs/binaries that depend on the proto libs inside of Mixer if we go with this approach.
Instead of relying on an overlay, could we just also include a filegroup() for the proto files?  Then the ESP or whatever builds could just use that bit of the Mixer build to retrieve and build protos however it wants? Would that work?

It will be great if we can do filegroup.  But I am afraid we could not.  MIxer needs a BUILD file to define it. But ESP could not use that BUILD file.  Otherwise we could not break the dependency.

The mixer client code should now move to
https://github.com/istio/mixerclient
All istio wide protos  (including mixer, config, etc) are available at
https://github.com/istio/istioapi

@qiwzhang what if we close this PR and work quickly on an approach that will work for both repos in istio/api ?

sure.


Merge dev-3.1.0 to dev branch

add saga transaction
add XA JDBC transaction

Pull Request Test Coverage Report for Build 5458

274 of 394 (69.54%)  changed or added relevant lines in 46 files are covered.
8 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.05%) to 66.979%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/src/main/java/io/shardingsphere/core/executor/sql/execute/SQLExecuteCallback.java
0
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/rule/DataSourceParameter.java
0
1
0.0%

sharding-core/src/main/java/io/shardingsphere/spi/xa/XABackendDataSourceFactory.java
8
9
88.89%

sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/backend/jdbc/JDBCBackendHandler.java
0
1
0.0%

sharding-transaction/sharding-transaction-base/sharding-transaction-base-saga/src/main/java/io/shardingsphere/transaction/manager/base/SagaTransactionManager.java
20
21
95.24%

sharding-transaction/sharding-transaction-base/sharding-transaction-base-saga/src/main/java/io/shardingsphere/transaction/manager/base/servicecomb/SagaExecutionComponentHolder.java
13
14
92.86%

sharding-transaction/sharding-transaction-xa/src/main/java/io/shardingsphere/transaction/manager/xa/convert/DataSourceParameterFactory.java
2
3
66.67%

sharding-transaction/sharding-transaction-xa/src/main/java/io/shardingsphere/transaction/manager/xa/convert/DataSourceReflector.java
7
8
87.5%

sharding-core/src/main/java/io/shardingsphere/core/constant/transaction/ProxyPoolType.java
0
2
0.0%

sharding-core/src/main/java/io/shardingsphere/core/executor/StatementExecuteUnit.java
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/core/datasource/ShardingDataSource.java
1
20.0%

sharding-core/src/main/java/io/shardingsphere/core/rule/DataSourceParameter.java
1
0.0%

sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/backend/jdbc/execute/JDBCExecuteEngine.java
2
10.84%

sharding-core/src/main/java/io/shardingsphere/core/executor/StatementExecuteUnit.java
4
0.0%

Totals

Change from base Build 5452:
-0.05%

Covered Lines:
7724

Relevant Lines:
11532

💛  - Coveralls


The README.md reflects 1.11 which does not have ExportBinder

<dependency>
    <groupId>org.weakref</groupId>
    <artifactId>jmxutils</artifactId>
    <version>1.11</version>
</dependency>

The maven dependency does not reflect the correct class since ExportBinder is unavailable in 1.11. Have checked version 1.18 where it is available. May be you could point to the latest considering the other code samples are up to date

Fixed, thanks!


NoSuchFieldError: net/minecraft/block/BlockHorizontal.FACING

Crash report: https://paste.dimdev.org/awayivikew.mccrash

It turns out, I totally uploaded the wrong file to CurseForge. Thanks for letting me know.

No problem.


[Mentorship Session Request][ Community  ] Script Foundation

Script Foundation
What do you want the speaker to talk about?: Any latest Technology
Are you looking for a specific tech stack expert? If yes, mention
Any additional comments?
Will this session be recorded?: NO live session
Where are you going to publish the recording?: YouTube
What will be the attendance?:50-100
Preferred Timing?:6  Please reference other open issues for
formatting.
Markdown is real. Learn it. Use it.
./Tanay
I am a mentor for college grads. if you or someone you know wants to learn
JS, or get a job. Check out learncodingfree.org and jobChallenge.dev
On Tue, 21 Apr, 2020, 12:34 AM jaisadana1999<EMAIL_ADDRESS>wrote:

Script Foundation What do you want the speaker to talk about?: Any latest
Technology Are you looking for a specific tech stack expert? If yes,
mention Any additional comments? Will this session be recorded?: NO live
session Where are you going to publish the recording?: YouTube What will
be the attendance?:50-100 Preferred Timing?:6 Pm Mentor suggestion?(have
a look at mentor's list and then suggest) Your Name and Contact Details
Jai Sadana
7011723246
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tanaypratap/mentorship-karona/issues/45, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACN6LH62TYEGB3ZWMHZSTCLRNSMC7ANCNFSM4MMWB74Q
.


Add proper userSettings object

Currently the only userSetting that is loaded is the keyUiLocale
We should probably have a proper UserSettings object where settings can be queried.
One additional one that should be loaded up front is the userStyle as that is required for the headerbar/ui styling

@Markionium @nicolayr
Possible duplicate issues?  https://github.com/dhis2/d2/issues/72 . Do we still need userStyle to be uploaded upfront?

Since all user settings can be fetched from the API with one query now (it wasn't before), it's no longer necessary to treat userStyle (which has been renamed to keyStyle) in a special way.
And yes, this is definitely a duplicate of #72 - so I'm closing this one :)


Is there "parsing" of PacketIn packets into Python data structs?

I see in https://github.com/p4lang/p4runtime-shell/blob/main/usage/packet_io.md that one can use Pythonic syntax to fill in the controller packet metadata fields:
P4Runtime sh >>> p = packet_out()
P4Runtime sh >>> p.payload = b'AAAA'  # Note that the payload must be a byte string
P4Runtime sh >>> p.metadata['egress_port'] = '1'  # Note that the value must be a string
P4Runtime sh >>> p.send  # send the packet-out message

But I did not see any way to take a PacketIn message and access its payload and metadata fields in a similar style.  I only found that one could use the PacketIn class to receive packets as Python Protobuf data structures.
Did I miss some feature to take the PacketIn's and make them readable using syntax like mypktin.payload, mypktin.metadata['egress_port'], etc.?

From looking at the code, it doesn't seem that this functionality is available at the moment


Drop Shadow Filter

Drop a shadow "behind" the image.
/filter('shadow', 45, '#333', 0.8)
Arguments are angle, color and alpha percentage.

Changes image size. Won't be done.


Add three action and delete first one, second one disappeared, On toggle from JS to Non JS it comes back

This is not fixed
https://images.zenhubusercontent.com/275993885/878e7aff-e5b9-4c15-a19a-68aa2d9ceb13/screen_recording_2023_03_03_at_11_20_00_am.mov


add process misreads process status

For several processes on my RHEL 7.3 server, goss seems to misrecord the statuses of processes...
As a test, I pipe every process in ps into a goss add process command...
for p in $(ps -ef | grep -v '\[' | cut -b49- | cut -d" " -f1 | cut -d: -f1 | rev | cut -d/ -f1 | rev |sort -u); do
  ../goss a process ${p}
done

Apart from the fluff (CMD from ps header, and ps, cut, rev, sort used in the command above), one would expect all these processes to be actual running processes.   Yet, goss reports several of them as NOT running.
If I take just systemd processes as an example:
ps -ef | grep systemd
root         1     0  0 May21 ?        00:00:51 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
root       898     1  0 May21 ?        00:01:01 /usr/lib/systemd/systemd-journald
root       932     1  0 May21 ?        00:00:00 /usr/lib/systemd/systemd-udevd
dbus      2353     1  0 May21 ?        00:00:23 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root      2383     1  0 May21 ?        00:00:08 /usr/lib/systemd/systemd-logind

We see 4 processes all running since May 21.   If we examine the goss.yaml file we see this:
grep -A1 systemd goss.yaml
  systemd:
    running: true
  systemd-journald:
    running: false
  systemd-logind:
    running: true
  systemd-udevd:
    running: true

3 of the 4 are listed as running, but even though systemd-journald is running, it is reported as false...
Whatever is happening is consistent, in the sense that validation will pass confirming "systemd-journald" is not running when goss re-executes.
There are a few other processes (excluding ps, cut, rev, sort from the command that fed goss) from a vendor product on my system that similarly report as running false when they are actually running...
Any idea what is happening to cause this strange behavior?
[This is using v0.3.7 AMD64]

I was able to reproduce this, I'll have to investigate further.

any news on this issue?

I assume you've hit this bug.
Can you give me the process experiencing this issue.
Also, can you provide the output of ps -p <PID> -o comm,cmd

Yes I have this bug in one of my docker images.
Here is the output of ps:
root@3f4893efc885:/app# ps -p 1 -o comm,cmd
COMMAND         CMD
lightdata_endpo /app/lightdata_endpoint

and this is the goss yaml i use for the check:
process:
  lightdata_endpoint:
    running: true

I see that COMMAND is somehow truncated, maybe that is the problem?

Yeah, it's based on the command name. The document was updated sometime after this ticket was created to clarify that process
Does goss a process work just fine with the output of ps -p 1 -o comm?

Yes if I use the name that ps -p 1 -o comm shows it works. So the problem is, that ps truncates the command name after 15 characters. It would be cool to mention that in the process documentation as well.

It can be mentioned in the documentation, but it's a little more nuanced than just truncated process name.
In most cases comm will be a truncated basename of the first argument to command/args but it's not something that's enforced and isn't always the case.

argv is an array of pointers to strings passed to the new program as
its command-line arguments.  By convention, the first of these
strings (i.e., argv[0]) should contain the filename associated with
the file being executed.  The argv array must be terminated by a NULL
pointer (Thus, in the new program, argv[argc] will be NULL.)

https://www.man7.org/linux/man-pages/man2/execve.2.html
contrived example:
import os
os.execlp("sleep", "foo", "30")

running that python code, here's the output of ps -o comm,command
$ ps -p 415 -o pid,comm,command
  PID COMMAND         COMMAND
  415 sleep           foo 30

real world example: firefox:
COMMAND         COMMAND
firefox         /usr/lib64/firefox/firefox
Web Content     /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 173662 -schedulerPrefs 0001,2 -parentBuildID<PHONE_NUMBER>3750 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 5005 true tab
WebExtensions   /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 4111 -prefMapSize 173662 -schedulerPrefs 0001,2 -parentBuildID<PHONE_NUMBER>3750 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 5005 true tab

That all said, I'm open to any suggestions or recommendations on how to word the process documentation better. It currently reads as follows:

NOTE: This check is inspecting the name of the binary, not the name of the process. For example, a process with the name nginx: master process /usr/sbin/nginx would be checked with the process nginx. To discover the binary of a pid run ps -p  -o comm.

Looks like switching to gopsutil will fix this. That's scheduled for v0.4.0 of goss since it's a breaking change. see #597

Keeping this open, there are some challenges with gopsutil, so this is not fixed yet. Had to remove gopsutil from v4 release.

gopsutil was not released as part of 4 due to it being too magical and difficult to reproduce as an end user.
That said, the documentation has been updated to recommend: cat -E /proc/634/comm for getting the process name.
For example:
$ cat -E /proc/634/comm
systemd-journal$
$ goss a process systemd-journal
Adding Process to './goss.yaml':

systemd-journal:
  running: true

I don't believe this is still a bug as the documentation has been updated to reflect expectations.
There are still some enhancements I'd like to make to the process detection (e.g. duplicates processes with same name), but I consider those feature enhancements.
Anyways, let me know if you disagree.. if not, I'll close out this issue in a week or two.

Closing, feel free to comment on here or open a new issue if this is still an issue.