cURL transport error: 35 OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.spotify.com:443

Hey,
I'm using API in localhost, and I want to get tracks, but getting this error,
When it get 250 tracks and occur this error.
My Codes,
$getRandomSongsArray = array('%25b%25', 'c%25', '%25d%25', 'q%25', '%25i%25', 'i%25', '%25o%25', 'o%25');

        $count = 1;
        $total = array();
        $myfile = fopen(storage_path('app/public/data.txt'), "w") or die("Unable to open file!");

        do {
            $getRandomSongs = $getRandomSongsArray[array_rand($getRandomSongsArray)];
            $array = array('US','TR');
            $getRandomOffset = rand(1, 1000);
            $us_code = $array[array_rand($array)];
            $data =    $this->spotifyApi->search($getRandomSongs,['track'],[
                'market' => $us_code,
                'offset' => $getRandomOffset,
                'limit' => 50
            ]);
            // genre
            if($data->tracks->items) {
                foreach ($data->tracks->items as $item) {
                    $id = $item->artists[0]->id;
                    $genre = $this->spotifyApi->getArtist($id)->genres;
                    if ($genre) {
                        $genre = implode(",", $genre);

                    } else {
                        $genre = "";
                    }
                    $name = $item->artists[0]->name;
                    $spotify = $item->artists[0]->external_urls->spotify;
                    $txt = "$name \t $spotify \t $genre \n";
                    fwrite($myfile, $txt);
                }
                $total = array_merge($total,$data->tracks->items);
            }
            $count++;
            sleep(5);
        }while(count($total)<500);
        fclose($myfile);

@alibaraneser Hmm, are you running behind a proxy or something similar? Do you have another server to try it on?

Closing this due to a lack of activity.


db schema

add tables for library entries
const authorSchema = Schema({
  name: String,
  stories: [{ type: Schema.Types.ObjectId, ref: "Story" }],
});

const storySchema = Schema({
  author: { type: Schema.Types.ObjectId, ref: "Author" },
  title: String,
});

https://www.yesodweb.com/book/persistent


Does it actually checks that correct type were returned by path? Does it validates path?

Let's say I have such selector:
export const listOfFvPages = createSelector<AppState, PagesState>(
    ['data.fvPages'],
    fvPages => fvPages
)

If I change path to non-existing one, nothing warns me:
export const listOfFvPages = createSelector<AppState, PagesState>(
    ['notdata.fvPages'],
    fvPages => fvPages
)

This seems not very type safe.

I'm not certain what you are looking for is possible, as it would need to parse the string value and build a type interface from that resultant value. If you have any recommendations about how to improve the typings, though, PRs are always welcome! I am by no means a TypeScript guru, in fact the current typings were provided by @Dudeonyx as a benefit to the redux-starter-kit package (a radical improvement over the original ones I had).

Me guru in typescript either :) @Dudeonyx, any thoughts?

@deser @planttheidea
I wouldn't call myself a typescript guru either ;)
Unfortunately, nothing can be done about type checking the path because Typescript currently doesn't support concatenating string literals or RegEx type checking.
see https://github.com/Microsoft/TypeScript/issues/12754
The only way I can think of to get typechecking there would be to change the way string paths are entered to something like
export const listOfFvPages = createSelector<AppState, PagesState>(
    [ ['data','fvPages'] ],  // instead of ['data.fvPages']
    fvPages => fvPages
)

Then we would be able to typecheck  if AppState['data']['fvPages'] exists.
So given a path [['data','fvPages','page','chapter']] we could typecheck for AppState['data']['fvPages']['page']['chapter']
This would require breaking changes and a weekend of hair pulling for whomever has to create the typings

Well, if it helps that format is supported (under the hood it's just using get from the unchanged package), so it wouldn't be a bakiyng change.
Not volunteering to have said hair-pulling session, but if anyone is willing it's ready for you. 😆

Closed due to inactivity.


Should Podfile iOS version be bumped up to 13.0 as well?

platform :ios, '12.0'
inhibit_all_warnings!
source 'https://cdn.cocoapods.org/'

Should this be bumped up to 13.0

@eviltofu Ah yes. Also the deployment target at the bottom of the Podfile. Would you try running it on both M1 simulator and device? Just to be sure.

Should I also update all the code which has depreciation warnings?
ConfigureTransactionViewController.swift:146:16: 'setAnimationCurve' was deprecated in iOS 13.0: Use the block-based animation API instead

Sure. Separate PR? Deprecation aren’t that urgent so doesn’t have to be together

On iPhone X/iOS15.2 when I'm scrolling on the Wallet screen, it's not smooth. I think it's worse than the non 13 Podfile version.

Device or simulator? Are you saying this PR is causing the difference?

Device or simulator? Are you saying this PR is causing the difference?

I am not sure if there is an actual slowdown, how can I measure the scrolling smoothness? It just felt more jerky but that could be from several other factors.
After watching 0x73bceb1cd57c711feac4224d062b0f6ff338501e things get very choppy. However, after several hours, the scrolling is smooth now.

They are libraries that display FPS in-app or you can use Instruments. We haven't bothered with FPS much. But if you do check, remember to test on device, not simulator.

Already done in other PR, but #3718 finishes up what's missing.


fix(utils): test forked

Summary
@TODO
Description
@TODO
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

/canary-remove

/canary-remove

sadg


Add nightly binaries to README.md

Merging this should wait until our Mac nightlies successfully built at least once (otherwise we'll have dead links).

merged.


strings: add Reverse

Core package strings should have Reverse() method, which will return a new String reversed.
I couldn't find any discussion or issue around it. What can be the reason to not have a basic string operation, used commonly by developers (though not much frequent).

Do you have numbers to suggest it's used commonly? I've never needed it, except maybe in programming exercises while learning a new language.

It's also not a "basic string operation" once you take all aspects of Unicode into account.

Code using reversed (python) on github https://github.com/search?l=python&q=reversed(&type=Code&utf8=✓ .. though most of them are learning exercises, but are we sure reverse is really not needed (even doing statistical analysis) etc? IMO, all generic libraries, should include implementations to avoid different developer implement it different way, and having bugs.

Sorry, I'm going to close this. I've never needed reverse for real programs.
This bug seems hypothetical at best.


Numpy deep neural network

Thank you for this wonderful example, which helped me understanding the gradient descent implementation.
I just noticed a minor mistake:

dW_curr = np.dot(dZ_curr, A_prev.T) / m
db_curr = np.sum(dZ_curr, axis=1, keepdims=True) / m

should be:

dW_curr = np.dot(dZ_curr, A_prev.T)
db_curr = np.sum(dZ_curr, axis=1, keepdims=True)

In addition:

params_values["W" + str(layer_idx)] -= learning_rate * grads_values["dW" + str(layer_idx)]
params_values["b" + str(layer_idx)] -= learning_rate * grads_values["db" + str(layer_idx)]

should also be:

params_values["W" + str(layer_idx)] -= learning_rate / m * grads_values["dW" + str(layer_idx)]
params_values["b" + str(layer_idx)] -= learning_rate / m * grads_values["db" + str(layer_idx)]

Otherwise, the code will not work, for instance if one wants to extend it to implement a regression use-case instead of a classification use-case (i.e. "none" instead of "softmax" in the final layer + court-circuiting the final activation function in the code).

Not necessarily @marxav .If the derivative of the cost function to the activation of the output layer already takes into account "m", ie 1.) d(cost_fn)/d(activation) = (1/m)*((1-y/1-a)  - y/a), then there is no need to again divide the parameters or other gradients by "m", because when it gets divided by "m" in 1.) ,it gets propagated to all the parameters and gradients.


feat: 1222 spu endpoint

Description
Closes #1222
Fetch primary SPU information if a seedlot has a primary orchard, append that spu data to the seedlotDto
Changelog
New

Oracle Endpoint GET /api/seed-plan-unit/{spuId}

Changed

Postgres Endpoint GET /api/seedlots/{seedlotNumber}, added primarySpu: spuDto to the response dto

Removed

None

How was this tested?

[ ] 🧠 Not needed
[x] 👀 Eyeball
[x] 🤖 Added tests

What gif/image best describes this PR or how it makes you feel?

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend
Oracle-API

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

Thanks for the review, @RMCampos all comments should be addressed here: https://github.com/bcgov/nr-spar/pull/1224/commits/c7233a6e1922fab5d72ca6e05847cbb3adfdadcb


Update sbt-scalafmt to 2.3.0

Updates org.scalameta:sbt-scalafmt from 2.0.7 to 2.3.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-scalafmt" } ]

labels: semver-minor

Codecov Report

Merging #83 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   47.72%   47.72%
=======================================
  Files           1        1
  Lines          44       44
  Branches        1        1
=======================================
  Hits           21       21
  Misses         23       23

Continue to review full report at Codecov.

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


disable sysconfig_test due to sysconfig.get_path breakage

There is a problem with this test. Disabled upstream in a few places:
https://github.com/tensorflow/tensorflow/commit/695aaf9d9905bb2abb955e68525598af0984d10c
https://github.com/tensorflow/tensorflow/commit/b7fcfdf1f1ed9bca05d596732a4de5ef0db893d3
Seeing locally as well - disabling for now.

yeah, just noticed your comments in the description :)


Add claim rule that compresses steps on the cash leg

Merging into a side-branch for now.
This PR adds a version of the Claim rule that "compresses" settlement Steps on the cash leg, bypassing intermediaries.
I originally applied compression directly on RoutedSteps (within the RouteProvider) but then realised that this forces the intermediaries to be in the route, which might be undesirable.
The compress function however works for both Steps and RoutedSteps (as they both form a set of directed graphs). If we think it is a valuable addition to the library, we can

move it to a common place (to be defined, could be in D.F.Settlement)
use a type-class to abstract graph-like structures
have Step and RoutedStep implement such a type-class

Did you check if this works on top of the pre-release branch as well?
https://github.com/digital-asset/daml-finance/tree/pre-rel-20230615

Did you check if this works on top of the pre-release branch as well? https://github.com/digital-asset/daml-finance/tree/pre-rel-20230615

fyi, I tested this and it works fine on top of pre-release

Did you check if this works on top of the pre-release branch as well? https://github.com/digital-asset/daml-finance/tree/pre-rel-20230615

fyi, I tested this and it works fine on top of pre-release

Great, thanks!


Attachment conversion and other issues

Hi,
first of all, I'd like to make a big THANKS to developers for this open-source version.
I've installed it on an Ubuntu VM... fetchmail+procmail to process mail.. it works good!
I have some questions:

image attachments are converted also without --convert-attachment switch (but my $attachments_enabled = 1; GLOBALS in pdfconvertme.pl is enabled)....is it correct?
I'm facing troubles with Office attachment conversion, it doesn't work; it seems that it's trying to be converted using imagemagick! (error in procmail.log ->> convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.) I think that it depends to image in email signature that is tretaed as first attachment and then it will be processed instead of true attachment (like https://github.com/thunderkeys/pdfconvertme-public/issues/5#issue-645609863)
Italian characters link ì à ò (ecc...) are not correctly converted (wrong encoding?)

Thank you very much
Marco

Hi Marco,

The attachments_enabled flag is paired with the explicit --convert-attachment flag -- inline images/attached images don't need that flag.
Yes, that's likely what is happening.  I have some ideas but the easiest way to work around that is to disable your signature when sending in a non-image attachment conversion request.
Make sure your system is setup with UTF-8 as well as has all the necessary fonts installed on the system. It should all work with international character sets.

Thanks
Brian

Hi Marco,

The attachments_enabled flag is paired with the explicit --convert-attachment flag -- inline images/attached images don't need that flag.
Yes, that's likely what is happening.  I have some ideas but the easiest way to work around that is to disable your signature when sending in a non-image attachment conversion request.
Make sure your system is setup with UTF-8 as well as has all the necessary fonts installed on the system. It should all work with international character sets.

Thanks
Brian

Thank you very much for your suggestions.
Marco

Thank you very much for your suggestions.
Marco


Replace field for global search and replace does not scroll

Issue Type: Bug

Select the Search tab and extend the Replace menu so you are in the familiar "Search & Replace" mode.
Insert a whole file with many lines in the search field -> The field gets a scrollbar and the layout is still reasonable
Now insert the whole file in the replace field -> It does not get a scroll bar and the layout is broken
Use tab to navigate to the bottom where the replacements are previewed (tabbing as scrolling does not work)
5 The file replacement section is also broken and only show a single line partially (but you can scroll to see other lines)

VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T13:20:50.359Z)
OS version: Linux x64 5.4.0-47-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 3499)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
0, 1, 1

Memory (System)
7.68GB (0.12GB free)

Process Argv
--no-sandbox --unity-launch --crash-reporter-id 37c60d0f-5ff0-40fc-af12-228ad2696997

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu-wayland

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu-wayland

XDG_SESSION_TYPE
wayland

#105421


Expected method not found

I am trying to run ILC on a fairly complex codebase of mine, and it is crashing. Here is the error message and stack trace:
EXEC : error : Expected method 'Initialize' not found on type '[System.Private.CoreLib]Internal.Runtime.CompilerHelpers.StartupCodeHelpers'
System.InvalidOperationException: Expected method 'Initialize' not found on type '[System.Private.CoreLib]Internal.Runtime.CompilerHelpers.StartupCodeHelpers'
    at Internal.IL.HelperExtensions.GetKnownMethod(TypeDesc type, String name, MethodSignature signature)
    at Internal.IL.Stubs.StartupCode.StartupCodeMainMethod.EmitIL()
    at Internal.IL.ILProvider.CreateMethodIL(MethodDesc method)
    at Internal.IL.ILProvider.CreateValueFromKey(MethodDesc key)
    at Internal.TypeSystem.LockFreeReaderHashtable`2.CreateValueAndEnsureValueIsInTable(TKey key)
    at ILCompiler.Compilation.GetMethodIL(MethodDesc method)
    at ILCompiler.Compilation.ComputeDependencyNodeDependencies(List`1 obj)
    at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes()
    at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.get_MarkedNodeList()
    at ILCompiler.Compilation.CompileSingleFile()
    at ILCompiler.Program.Run(String[] args)
    at ILCompiler.Program.Main(String[] args)

Oddly, if I use a deliberately outdated copy of System.Private.CoreLib.dll, this issue will not occur. However, if I do so I will then get the problem being discussed in #1060. If I use the version of ILC and System.Private.CoreLib.dll from the exact same commit of CoreRT, this problem will occur.

You are using old ilc.exe, with live System.Private.CoreLib.dll.
\corert\bin\Product\...\ilc.exe is the current live version. You want to be using this one.
\corert\bin\tools\cli\bin\ilc.exe is months old version. It is the last version that got integrated into CLI.

I am using the copy under bin\Product (precisely, bin\Product\Windows_NT.x64.Debug\packaging\publish). It still has this problem. I have even deleted that file and rebuilt it from scratch, to ensure that it is not a stale build. No change.

Intergalactic facepalm! The version of ILCompiler.Compiler.dll that was being loaded was out of date: since I was using the corerun.exe shipped with .NET CLI, it was seeing its own, outdated copy of that DLL, and ignoring my more up-to-date copy! Changing the corerun program fixes this bug.


Add glossary

Glossary resource
There is a new resource called DialogicGlossary.
It has two properties:

entries (Dictionary)
enabled (bool)

Glossary editor
There is a new settings editor for glossaries that allows to create new glossaries and edit their entries.
Glossary subsystem
There is a new glossary subsystem. The most important part is the parse_glossary method that is used by the Text event.
Glossary event
There is a glossary event, but it is currently empty.
Other:

moves the example scenes into an folder in the ExampleAssets.

It would be nice that when we hover on settings like this ones we show a tooltip with how to edit that via code. I can create a ticket so that we can track those kind of improvements but wanted to leave here the comment as a reference:

The entries editor should be disabled if there isn't any glossary file.

Getting errors when I try to create an entry

Pressing tab to populate the field works until you want to go out of the Text editor and it doesn't change to the Extra input.
Same trying to jump from the Extra to Enabled. After that the focus continues working normally.

Having to press enter to "save" the changes to the entry name is a bit weird, specially if rename the entry and close the settings dialog. It should save on text modified.

Enabled on an entry should be on by default

You should be able to print variable values by using the usual { variable } syntax inside the glossary entry

If you create two entries with the same name, after closing the settings dialog, they first one will get overwritten by the second's entry. Not sure if there is an easy way to identify if the entry already exists but I would try to either warn you about it, or add _1 on the new one. It is one of those annoying things to fix, but it would suck to lose some data because of unknowingly naming two entries the same.

True. Another problem is that you can have two entries named the same in different glossaries. While this won't erase either of them, they won't both work in game as it expects the names of all entries to be different.

Made fixes:

Hide Entry Editor when no entry or glossary selected
Update name instantly
Add {variable} support to entry display


Appropriately deal with line endings in scripts

Moved from https://github.com/FabricMC/fabric-example-mod/pull/272 as per requested

Looks good, it will also need adding here: https://github.com/FabricMC/fabricmc.net/blob/main/scripts/src/lib/template/git.ts You should be able to do it without actually building the project, but do let me know if you want some help

That should be all, let me know if anything else is needed :)


Clean up the position of the plus icon to add new entities and content to entities

The plus icon is not centered or looking clean, this should be moved so that it looks better.
The plus icon that lets you add more content that is

Also make it such that only the actual component that you are hovering shows the buttons instead of all of the parents


How add easing to scroll content

Hi,
I have a question - How add easing (http://gsgd.co.uk/sandbox/jquery/easing/) to scroll content?
Thanks in advance

Hi @bojanbb
There are 2 types of scrollbar plugins: ones that uses native browser scroll and the ones that emulates it. jQuery.scrollbar plugin is the first type of plugins, so easing cannot be added. Use one of the plugins of the second type. Look at this sheet (although it's a little bit old, but still can be used for information): https://drive.google.com/open?id=1sjb7nGrTtflPNtPRkL6fryUEaT4Ls0CrGrpMiAl3YQw - look at the Type:emulator.


Update 2021-04-16-eclipse-vert-x-3-9-7.mdx

Good catch! Thank you @bataillec

You're welcome @tsegismont ! Sorry for the lack of description, and thank you for the great work on VertX!

Thanks for your kind words


Select java version used by mvn installed

Hi,
I know this works:
$ pkgx +openjdk.org@17 +maven.apache.org -- mvn --version
Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
Maven home: /home/felipecrs/.pkgx/maven.apache.org/v3.9.4
Java version: 17.0.10, vendor: tea.xyz, runtime: /home/felipecrs/.pkgx/openjdk.org/v<IP_ADDRESS>
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "<IP_ADDRESS>-microsoft-standard-wsl2", arch: "amd64", family: "unix"

But I want to install mvn, and still use java@17. How to do that?
The following does not work:
$ pkgx install mvn
$ pkgx install java@17
$ mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/felipecrs/.pkgx/maven.apache.org/v3.9.6
Java version: 20.0.2, vendor: tea.xyz, runtime: /home/felipecrs/.pkgx/openjdk.org/v<IP_ADDRESS>
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "<IP_ADDRESS>-microsoft-standard-wsl2", arch: "amd64", family: "unix"

I can imagine a similar situation for npm with node, and poetry with python. I know poetry has python as a dependency, and npm has node as a dependency, so does mvn has java as a dependency, but perhaps they should not be automatically installed.
Maybe a concept of peer dependencies can be introduced, where mvn would list java as a peer dependency.
A peer dependency:

Can still be automatically installed by pkgx if the system has no version available
Means the pkgx will give preference to whatever is in the $PATH, unless explicit by the user (+openjdk.org)

Then I think it would work, i.e. ~/.local/bin/mvn would respect ~/.local/bin/java.

$ env +java@17 && mvn --version`
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /Users/mxcl/.pkgx/maven.apache.org/v3.9.6
Java version: 17.0.10, vendor: tea.xyz, runtime: /Users/mxcl/.pkgx/openjdk.org/v<IP_ADDRESS>
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "14.2.1", arch: "aarch64", family: "mac"

possibly a good reason to deprecate it.

Deprecate the install command?!

If you in general by default want mvn to use java@17 then that's a good feature proposal that we should flesh out.

Nah, I don't think any specific version should be preferred. But if one has to be chosen, I'd say latest LTS (currently 21) is a good default.

Otherwise typically I would suggest using devenvs with dev to accomplish the package range restrictions.

Well... this is complicated. I'm allergic to injecting things on shell. I work a lot with containers, IDEs and pipelines that does not always use a shell to execute commands (they just get invoked directly, for which they need to be in PATH).

Nah, I don't think any specific version should be preferred. But if one has to be chosen, I'd say latest LTS (currently 21) is a good default.

Oh. Yeah. Well, I like to keep some version of mvn and java available handy, just in case I open some IDE in some unknown repository, and I still can have some kind of support (e.g. the VSCode Java extension requires JDK to be installed and Maven for a few operations).
Of course, the correct version should depend on the repo.
Java 20 is not even an LTS, so my immediate thought was to switch it to some LTS version, that's how I ended up with 17.

Which means I'm not really sure what you were asking for now

Ok, let me clarify. What I am really proposing is a way to make the maven installed by pkgx use my system's java.
So that:

pkgx install mvn
pkgx install java@17
at this point, I want mvn to use java@17 because that's my system's default
pkgx install java@20
now I expect mvn to use java@20

And I totally understand that this doesn't feel logical to how pkgx works today (because mvn declares a dependency on java and therefore pkgx has to manage it).
So, I would like to hear your thoughts on something like this.
PS: I'm not requesting anything. Just trying to open a discussion around it so we can come up with ideas.

That said, I think pkgx install +java@17 mvn would be a cool addition as well. Not exactly what I was looking for (i.e. mvn shouldn't have an exclusive version of java to run on, it should just run on any version). But should be useful in several other use cases. For example, if I want to force some tool to use a specific version of Python (pkgx install<EMAIL_ADDRESS>asciinema, even though asciinema depends on python@latest).

Or maybe... pkgx could "maintain" some kind of global pkgxenv for pkgx-installed tools. This way, when I pkgx install java@17, it would update java within such global pkgxenv for every tool that depends on java@*.

Hah, well I was thinking of making a separate tool that can install pkgs properly from the pkgx index. And then putting the existing install command into mash with a better name.

I think that's a great idea.

K I get what you are asking for.
I think it’s possible that companions could work this way. If we find a system version we use it.
We don’t currently have a way to check for this. We would have to implement something like “iterate the complete list of programs the package.yml provides and check if they exist in the same folder of PATH, if so then this dep is considered satisfied”.

Yeah, that sounds great. :)

For reference, the only way to make this work ATM is:
# Clean existing cache (important)
$ rm -rf ~/.pkgx

$ pkgx install java@17 mvn@3

# Run java so that it gets cached first
$ java --version
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment 1.1.6 (build 17.0.11+0)
OpenJDK 64-Bit Server VM 1.1.6 (build 17.0.11+0, mixed mode, sharing)

# With a cached version of java, mvn will reuse it because it depends on java@*
$ mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/felipecrs/.pkgx/maven.apache.org/v3.9.6
Java version: 17.0.11, vendor: tea.xyz, runtime: /home/felipecrs/.pkgx/openjdk.org/v<IP_ADDRESS>
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "<IP_ADDRESS>-microsoft-standard-wsl2", arch: "amd64", family: "unix"

@mxcl one quick way around it would be to undeclare java as runtime dependency of maven, and similarly undeclare node as runtime dependency of npm.
For obvious reasons when mvn and npm will fail when running without a node version, but this is can be a good thing.


brew: remove duplicated and outdated brew completion script

Homebrew has began to ship its own official zsh completion script.
So we could remove the duplicated and outdated version from OMZ.

Hi,
I didn't notice this PR when I created a dupe at https://github.com/robbyrussell/oh-my-zsh/pull/5190. It has been merged, so this PR can be closed


Change the default colors so there are no red or gray

Default colors shouldn't be red or gray.
By default the Rainbow Brace Level 2 is red which may make the editor look like there are errors.
Also levels 8 and 9 are shadows of gray which look like they are redundant and can be refactored out.
As an example: This is a screenshot of code with the default colors

And this is the same code after color changes

Environment:

Visual Studio Enterprise 2022 Version 17.10.0
Default Dark theme

Thanks guys, I can get rid of my personalization now.
I don't want to be pushy but looking at the code, the colors were originally coming from resistors color code.
It was probably some arbitrary convention to have a starting point but no longer seems to be applicable.
The comments relating to the resistor color code could be removed or changed somehow.

Yeah, I planned it, but later I did some refactor and forget to remove the comments. Maybe when I remember later, I'll do it.


scatter plot mode changed

When selecting groups following a umap reduction, I select the "select points" mode for the plot. After defining a custom group, I click on the checkbox to color that group on the scatter plot. When I do that click, the plot mode reverts back to the zoom/pan mode.
probably similar for PCA or any other scatter plot method. It's not a bug but it's kind of annoying

Addressed in a871e9a51f393825724ab3f76c3f220f840dddac


[DMS-138] [DMS-116] E2E: SchoolYearScenarios

@elopezgap you should monitor this pull request. Good learning opportunity.

@stephenfuqua please let me know if you prefer to change the file extension to .disabled, or if using @ignore at the top is sufficient.

@stephenfuqua please let me know if you prefer to change the file extension to .disabled, or if using @ignore at the top is sufficient.

I forgot to reply: we can test out @ignore.


Sortable Objects

Hello,
First of all , thank you so much for the very useful library, it is a big timesaver for me and it helps quite a lot the solid ecosystem.
I am currently struggling to make sortable objects (with multiple containers)
Could you please let me know how to tune the multiple container example available to accept them ?
For example multiple lists containing such objects :  { order : 1 , tasks : { name : "doing groceries" , description : " purchase this that and that" }}
Thank you so much ! :)

👋 I've updated the board example on solid-dnd.com to be more real-world. It now uses objects and a calculated 'order' value. Hope that helps.

that's so cool, thank you so much !


Added draft cost values

These are the draft costs and stubs with some marked todo because of measurement constraints and cross calibration required.
These new costs will not be enabled yet until clear deployment plan is rolled out.
Next steps:

Add snapshot testing to detect changes in TX costs.
Propose modifying VM call cost logic to suit our needs. Currently we cannot charge the way we want to
Set tighter bounds on constants
Move over to NativeContext

@tnowacki   @lxfind  @sblackshear @emmazzz
hey folks I could use a stamp on this. It doesn't do much now but it's one of multiple parts before we cut over to new costing logic/values.


Opening files without extensions

I've been exploring some of the really old files and folders on my phone, and I stumbled across a folder that has a large number of images in them, however the images have no extension. If I rename one of the files to have a .png (example) extension, Dir opens them with no issues. However, if I don't rename them first, and I attempt to open them, Dir displays a parse error indicating "There was a problem parsing the package."
For comparison, when I try to open one of these files without extensions in Amaze, an "Open As" menu is displayed with options to open the file as Text, Image, Video, Audio, Database, or Other.
It would be great if Dir would have similar functionality - rather than throwing a parse error, present the user with options of file types to open files without extensions as.

Thanks for this report. IIRC, Dir doesn't try to open files like that itself, but as for every file type, it shows a list of activities that match the intent (admittedly not the best solution).
Have you maybe selected "always open with" in that dialog for another file without extension? That error message is not part of Dir which again points to this being the issue.
Unfortunately the only way to remove that link would be to know which app gets launched by default, going into its Settings (from Android) and selecting Clear defaults.

Did you confirm whether this was because you've selected the "always" option when you launched a file without extension the first time?

Oh, sorry - forgot to follow up on this! No, I have not selected the "always" option for any file without an extension.


HCANN-123 Add support for querying record components as XProperty

https://hibernate.atlassian.net/browse/HCANN-123

Adding tests would require fiddling with Gradle for adding a test configuration that is only executed when run on a JDK 17+, which I don't know how to do properly (yet). I understand that this is suboptimal and will look into this, as I believe we might want to add tests for hibernate-core as well.


I am unable to retrieve certificates using spaceship

I am unable to retrieve production and development certificates using spaceship, but I can successfully obtain production_push and development_push certificates.
Here is the code:
login successful .
# Production push profiles
prod_push_certs = Spaceship::Portal.certificate.production_push.all #Array[1]
# Development push profiles
dev_push_certs = Spaceship::Portal.certificate.development_push.all #Array[1]
# Production identities
prod_certs = Spaceship::Portal.certificate.production.all #Array[0]
# Development identities
dev_certs = Spaceship::Portal.certificate.development.all #Array[0]

Thank you for answering my question

I konw it .

..


Update Team

Moved to Alumni: Denise, Mallory, Gage :(

:( :( :(
If I don't merge this, does it mean it never happened?

Worth a try!

On May 16, 2016, at 10:31 AM, Erin Braswell<EMAIL_ADDRESS>wrote:
:( :( :(
If I don't merge this, does it mean it never happened?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


Master listening on multiple port

Is it possible to let master listening on multiple port ? ( http + https ) Thanks.

It is, but additional https server instance has to be created. PRs are welcome )


Remove unused Django apps

Django comes with a lot of installed apps by default, and we're not going to use all of them, so try to remove the unused ones.

Solved.


Search button

Sometimes, when I need to find something really specific in the docs, it's harder to locate where I can find it then I expected.
Is it easy to implement simple search button at the corner of webpage? And can this be benefitial for users searching in our docs?

Oh... we have it... False alarm, my dark mode extension in web browser failed me and it hided the search button :D


Boolean attributes bug

I stumbled upon this issue yesterday when trying to render checked attribute of input element:
function renderCheckbox() {
  const flag = false;

  return (
    <input type="checkbox" checked={flag} />
  );
}

I would expect this to be rendered in the DOM:
<input type="checkbox" />
but instead, what I found is:
<input type="checkbox" checked="false" />
which, of course, always made the checkbox checked. :astonished:
A bug?

That's actually a iDOM bug. :frowning:

Ouch, okay then. :sweat_smile:
Currently I have a workaround like so (maybe it will be useful for others, too - at least for the moment):
function renderCheckbox(checked) {

  /**
   * HACK: A workaround for a iDOM bug.
   * @see https://github.com/jridgewell/babel-plugin-incremental-dom/issues/38
   * @see https://github.com/google/incremental-dom/issues/198
   */
  const booleanAttrs = {};
  if (checked) {
    booleanAttrs.checked = '';
  }

  return (
    <input type="checkbox" {...booleanAttrs} />
  );
}

Quite nasty, but it appears to be working.  :-)

You should be able to use:
<input type="checkbox" checked={checked ? true : undefined} />

Or for golfing:
<input type="checkbox" checked={checked || undefined} />

Wow, that indeed much clearer solution. Thanks for the hint, mate! :+1:


Updated CLI readme with additional instructions

Added a toml snippet to help Windows users with installation problems. This difficulty with the linker has resurfaced many times in the project bug reports and I think it would be suitable to add to the documentation.

Thanks for submitting this PR.
We generally try not to have operating system specific installation instructions somewhere for the following reasons:

They tend to be out of date quite soon (especially for windows)
There always will be another operating system we don't provide instructions for
In the end they are really specific to the environment the author used. (For this example: What is about other database systems, other install locations and so on).

Additionally all these things are documented in a general way in the readme's of the crates actually linking the corresponding libraries:

pq-sys
mysqlclient-sys
libsqlite3-sys


A package with publisher 'Microsoft', name 'Test', and a version compatible with '<IP_ADDRESS>' could not be found in the package cache folder 'c:\Users\xxxxx\Documents\AL\My Extension Testing./.alpackages'

Describe the bug
I am using a docker container and running 15.0.36560.0. I am following the instructions here...
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-advanced-example-test#writing-the-tests
...and am trying to develop tests for my extension.
In the app.json I have added my extension details as a dependency and then added "test":"<IP_ADDRESS>". I am prompted to download symbols but on the PROBLEMS tab I get the error...
A package with publisher 'Microsoft', name 'Test', and a version compatible with '<IP_ADDRESS>' could not be found in the package cache folder 'c:\Users\xxxxx\Documents\AL\My Extension Testing\./.alpackages'
...and on the OUTPUT tab I see....
[2019-10-17 15:32:11.27] Using reference symbols cache path: c:\Users\xxxxx\Documents\AL\Master Record Default Dimension Testing\./.alpackages
[2019-10-17 15:32:11.27] Sending request to http://bc-test4:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS>
[2019-10-17 15:32:11.27] Sending request to http://bc-test4:7049/BC/dev/packages?publisher=Microsoft&appName=Test&versionText=<IP_ADDRESS>
[2019-10-17 15:32:11.27] Sending request to http://bc-test4:7049/BC/dev/packages?publisher=Microsoft&appName=System Application&versionText=<IP_ADDRESS>
[2019-10-17 15:32:11.27] Sending request to http://bc-test4:7049/BC/dev/packages?publisher=Microsoft&appName=Base Application&versionText=<IP_ADDRESS>
[2019-10-17 15:32:11.27] Sending request to http://bc-test4:7049/BC/dev/packages?publisher=CompanyLtd.&appName=My Extension&versionText=<IP_ADDRESS>
[2019-10-17 15:32:11.31] The request for path /BC/dev/packages?publisher=Microsoft&appName=Test&versionText=<IP_ADDRESS> failed with code NotFound. Reason: No published package matches the provided arguments.
[2019-10-17 15:32:11.64] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.

As per instructions I have downloaded the test toolkit...
PS C:\WINDOWS\system32> Import-TestToolkitToNavContainer -containerName bc-test4 -includeTestLibrariesOnly
Copy from container bc-test4 (C:\ProgramData\NavContainerHelper\Extensions\onprem-Applications-15.0.36560.0-nz\Microsoft_Any.runtime.app) to C:\ProgramData\NavContainerHe
lper\Extensions\bc-test4\_Microsoft_Any.runtime.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\bc-test4\_Microsoft_Any.runtime.app
Synchronizing Any on tenant default
Installing Any on tenant default
App successfully published
Copy from container bc-test4 (C:\ProgramData\NavContainerHelper\Extensions\onprem-Applications-15.0.36560.0-nz\Microsoft_Library Assert.runtime.app) to C:\ProgramData\Nav
ContainerHelper\Extensions\bc-test4\_Microsoft_Library Assert.runtime.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\bc-test4\_Microsoft_Library Assert.runtime.app
Synchronizing Library Assert on tenant default
Installing Library Assert on tenant default
App successfully published
Copy from container bc-test4 (C:\ProgramData\NavContainerHelper\Extensions\onprem-Applications-15.0.36560.0-nz\Microsoft_Test Runner.runtime.app) to C:\ProgramData\NavCon
tainerHelper\Extensions\bc-test4\_Microsoft_Test Runner.runtime.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\bc-test4\_Microsoft_Test Runner.runtime.app
Synchronizing Test Runner on tenant default
Installing Test Runner on tenant default
App successfully published
Copy from container bc-test4 (C:\ProgramData\NavContainerHelper\Extensions\onprem-Applications-15.0.36560.0-nz\Microsoft_System Application Test Library.runtime.app) to C
:\ProgramData\NavContainerHelper\Extensions\bc-test4\_Microsoft_System Application Test Library.runtime.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\bc-test4\_Microsoft_System Application Test Library.runtime.app
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
App successfully published
Copy from container bc-test4 (C:\ProgramData\NavContainerHelper\Extensions\onprem-Applications-15.0.36560.0-nz\Microsoft_Tests-TestLibraries.runtime.app) to C:\ProgramDat
a\NavContainerHelper\Extensions\bc-test4\_Microsoft_Tests-TestLibraries.runtime.app
Publishing C:\ProgramData\NavContainerHelper\Extensions\bc-test4\_Microsoft_Tests-TestLibraries.runtime.app
Synchronizing Tests-TestLibraries on tenant default
Installing Tests-TestLibraries on tenant default
App successfully published
TestToolkit successfully imported

To Reproduce
Steps and to reproduce the behavior:

As per page indicated above, create a new project, specify a dependency between extension and test project, add dependency to test toolkit.

Expected behavior
I should not receive the error and be able to reference the test functions.
Screenshots
If applicable, add screenshots to help explain your problem.
5. Versions:

AL Language: 4.0.182565
Business Central: Platform 15.0.36510.0 + Application 15.0.36560.0

This doesn't seem to have anything to do with docker.
app.json should not have a "test": "<IP_ADDRESS>" line in 15.x
The way you add test apps in 15 is to add dependencies to the test apps like described here:
https://freddysblog.com/2019/08/30/running-tests-in-15-x-insider-containers/

Thanks Freddy. Apologies, it is difficult keeping up with all of these changes and I had assumed that the official Microsoft site would be up to date. Thanks for the heads up.


Add e2e test framework in frakti

add e2e test framework
add some scripts to build and run e2e tests
add a simple create podsandbox e2e test case as an example
fix some bugs in create podsandbox
add docs, describing how to run e2e tests

Ready for review. @feiskyer @resouer

This change is

Boilerplate missing or errored in: ././hack/lib/logging.sh.

Boilerplate updated.  While hack/test-go.sh will run all test files, e2e test package k8s.io/frakti/test/e2e should not be run in this way, should we filter this package? @feiskyer

@Crazykev Yes, e2e test shouldn't be included in hack/test-go.sh, it should be separated.
I think this e2e test can also be running in traivs, could you also add hyperd installation scripts and start hyperd on e2e tests?

@Crazykev  please update you pr :)

PR updated. FYI, hyperd install script still doesn't work well, needs do some work on hyperd deb package or just build hyper binaries inside travis before this PR could work. @resouer @feiskyer

@feiskyer Updated.

lgtm. thanks.


Simplify AliasData

We have Type::Hole, so lets use it!

The option is actually not there to indicate an unknown type but it is actually an indicator of an abstract type  (such as Array a). Having that hidden under Alias is perhaps not best so refactoring it may be a good idea. The notion of an abstract type should remain though as it is used for all native types.

Ohhh, ok. Sorry for misunderstanding!

What about having an Abstract variant under Type?

Or perhaps this is a job for existentials?

Yeah, was thinking something like that. Should be clearer than than how it is right now.

Ok, I made a new variant, Opaque. It seems that abstract is a reserved word in Rust 😉
I don't fully understand how to implement existentials, or whether they would be suitable for this purpose, but this works for now.

abtstract many be reserved but Abstract should not be no? opaque is fine as well though, any reason I am missing to not go for abstract?

What would I use for the constructor?

abs is for 'abstraction'. 😆

Ah, forgot about it being lower case there. I guess opaque is fine then, it should not confuse anyone I hope.

abstrakt? 😆

No? :p

Lets just go with opaque


Zone Cleaning

I figured since a few of us with D7's have gotten zoned cleaning that we can use this issue to report on the data we have seen and how to best add zoned cleaning.  Just now I was able to pull the botvac state while it was cleaning a specific zone and it seems like the user may need to do their own research to get the proper variables in place.
Here is the state output
{'version': 1, 'reqId': '1', 'result': 'ok', 'data': {}, 'error': None, 'alert': None, 'state': 2, 'action': 11, 'cleaning': {'category': 4, 'mode': 2, 'modifier': 1, 'navigationMode': 1, 'mapId': '2018-06-26T02:45:10Z', 'boundary': {'id': '009cdabd-5b38-4804-bdf2-da7de2e3f2d7', 'name': 'Hallway'}, 'spotWidth': 0, 'spotHeight': 0}, 'details': {'isCharging': False, 'isDocked': False, 'isScheduleEnabled': False, 'dockHasBeenSeen': True, 'charge': 94}, 'availableCommands': {'start': False, 'stop': True, 'pause': True, 'resume': False, 'goToBase': True}, 'availableServices': {'findMe': 'basic-1', 'generalInfo': 'basic-1', 'houseCleaning': 'basic-4', 'IECTest': 'advanced-1', 'logCopy': 'basic-1', 'manualCleaning': 'basic-1', 'maps': 'basic-2', 'preferences': 'basic-1', 'schedule': 'basic-2', 'softwareUpdate': 'basic-1', 'spotCleaning': 'basic-3', 'wifi': 'basic-1'}, 'meta': {'modelName': 'BotVacD7Connected', 'firmware': '4.3.1-180'}}
Major differences I see here is that mapId is required whereas before with category: 4 it would take the latest floorplan.  I am not sure how we can get the boundary id without using pybotvac but the name is something the user will know.
Will need to play around with the above parameters to see exactly what we need to give.
If anyone has any ideas on how we can retrieve the boundary id and mapId easily that would be great, the only way I can think of for now is to run individual zone cleanings to get the proper data.
When I get a chance to play with this more I will report back but lets make sure the data lines up with everyone else :)

I took a stab at this with my own branches to see how it works, I have not tested anything yet so I don't know how well it works :)  This requires you to know the above mentioned data so you will need to run pybotvac and clean all your zones to get the proper ID's and names.
pybotvac: https://github.com/dshokouhi/pybotvac/tree/zone_cleaning
HA custom component: https://github.com/dshokouhi/hass-neato-custom-component/tree/zone_cleaning


Possible port to forge/1.20.1

Hello,
I love the turnstiles and the independent ticket/IC Card System. I would like to use those alongside the create mod. Unfortunately, the server I am on uses forge and is on the 1.20.1 mod. I also lack the java knowledge to port it myself. Would it be a possibility for a port to be made to that version anytime soon (At least of the ticket/card system and the turnstiles) ?

At the moment, there should only be FABIRC

No, we only make Fabric versions.


Is it possible to port this library to be used by the Visual Studio compiler (MSVC)?

Title.

It is not supported yet, but it may be ported to MSVC in the future. However, in Windows, this framework is not supported for the time being.
I'm not familiar with MSVC, so it may take a long time. It is free to fork and modify Melon, and submit PRs if you would like to contribute and join in this project. That would be very grateful.

I see. Thank you for your reply.

Hello,
Currently, support for Mingw and MSYS2 has been added on Windows.
In the short term, there won't be consideration for MSVC support because of the inconsistent level of support for certain macro features by the compiler. This inconsistency results in a substantial amount of work and would complicate the codebase.
Hence, we'll temporarily close this issue. It will be reopened when support for MSVC is on to the schedule


fix compile error on fedora 17.

This fix issue in gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)

First two commits are libyami's problem
Latest one caused by limitation of gcc 4.7, but we had better fix it since tr1::array do not bring too much benefit in this context.
Jpeg still breaking because it have too many places need to change.

Hi @uartie :
Do you think it is ok to remove all array usage in jpeg decoder and encoder? I hope we can support more platforms if it’s no major function missed in those platforms.

+1

@xuguangxin,
The problem you're seeing with tr1::array usage and GCC 4.7 is caused by a bug in GCC (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25137).  Newer versions of GCC no longer enables the -Wmissing-braces with -Wall.  Thus, it's probably better to just add -Wno-missing-braces to the AM_CXXFLAGS in our configure.ac.

Also see the latest gnu docs (https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html) for -Wall enabled warnings.  In particular it says -Wmissing-braces (only for C/ObjC).


Live Tiles will get their data through supported scripting languages (or even executables), but data will be displayed with QML.

You might read that title and go, "Yeah, of course they'll use QML, it's what the Start screen is built with," but the interesting thing is that this could be set up in a way that an app would specify how the data would be shown on the tile. The Live Tile developer would (recommended) base their Live Tile off one of the templates, just like they would on Windows Phone (except it's like LiveTiles.FlipTile or something), or (if this makes sense) they could completely change their Live Tile to be more like an Android widget (if the button doesn't override everything) with a bunch of buttons and stuff to use. It'll probably just be based on the templates, though.
I don't exactly know how I'd store the customized Live Tile QML code inside the regular Tile QML code, but I'm sure there's a way to do it.
I'd have to figure out how to connect all the properties in the Live Tile's QML file so it displays properly. Might have to have an If statement that uses something in the .desktop file that says what kind of Live Tile is being used, since I might not know what everything is supposed to connect to. Actually, I probably wouldn't know, so it would be a super complicated problem to figure out. Maybe there's some way to connect all the properties without having to know what they are, for stuff like weather (unless the weather apps just used pictures on flipping around, which would be a lot simpler; stuff like emails and events could be lists of dictionaries).
I need to both look for open-source WP apps that are license-compatible and have Live Tiles to see how to implement my own ones. I also need to read Microsoft's documentation on Live Tiles to know what kinds there are, but that's a given.

If this doesn't work, a simpler idea would be to just store the properties in a Python script that has all the data flow through it. That way a picture can still be set and so can whether it flips or not. Would still have to figure out how it would update and get new content.
Updating would be done every 30 minutes by default of course, but the user should be able to choose different values for different tiles. For example, someone may want a weather app to update every 10 minutes, but a tech news app can update every hour.

I've realized that probably the easiest/simplest/most reliable way to get and load the data would be by using JSON and a config file that says what to run and which Live Tile layout to use for each supported size. For example, a weather app might have three items on its tile, which we'll say are the highs, lows, weather conditions in words ("cloudy", for example), and an image for the weather conditions for the next three days to make things simple. The JSON string would have three items as described in this pseudocode:
{
    item1: {
        image: "https:// (cloudy weather icon address)
        largetext: "monday"
        smalltext1: "78°F/68°F"
        smalltext2: "cloudy"
            }
     item2: {
        image: "https:// (thunderstorm weather icon address)
        largetext: "tuesday"
        smalltext1: "70°F/63°F"
        smalltext2: "thunderstorm"
           }
       item3: {
        image: "https:// (sunny weather icon address)
        largetext: "wednesday"
        smalltext1: "82°F/75°F"
        smalltext2: "sunny"
           }
}

Developers would have to remember to add an extra line (\n) to the start of the "smalltext2" text if they have the "smalltext1" also be multi-line, just to keep things from overlapping. There might be a better way to do that, but that's my first idea that came to mind.
The benefit of using JSON like this is that the developers would just have to provide a config file (or even specify it in the .desktop file, preferably, likely in a specified [LiveTile] section; not sure if I have to add the X-Retiled- to the front of the section name), then we can just see which tile type that the program wants and which program/script it wants to run to get the data, and we can just parse the JSON and show it.
One thing I think Windows Phone had was that if you open an app when something was on the tile, it'd go to that page, but I don't remember it ever doing that, so I just... won't do that. It doesn't make sense, anyway. Maybe I'm just imagining things or misremembering a dream as something real.
It's important to note that not all tiles are Live Tiles, as some are just deep links. However, I do wonder if it would be possible to allow Live Tiles on deep link tiles, such as for contact tiles so that recent emails, calls, and text messages can be shown from a specific contact on their tile. I'll have to make a program/script that returns recent stuff from a contact that's passed to it for that to work, then put the program path and stuff into the .desktop file's [LiveTile] section when it's pinned.
We should allow custom images to be created though, as some apps with deep links like TubeCast I think would put text on the tile, with the video's thumbnail below it. Not sure how that was done, but maybe it saved an image that was set on the tile and had the tile text hidden. That reminds me, there needs to be a way for tiles to hide their text if I haven't written this yet.
On the subject of links, webpage tiles were just screenshots of the page when it was pinned. Not sure how that would be implemented, but actually I thought about this before, and maybe we could let the user take a screenshot and crop it to what they want, considering the only way to have it well-integrated where it takes a screenshot on pinning would be to make a browser or fork one to add that functionality.

Can't remember if I mentioned this yet here, but the JSON response will have to be cached so the script/program that gets the data doesn't run every time the start screen is opened, and there needs to be a brief delay before tiles are updated when they're created and added to the start screen so that things don't get too slow with everything updating at once. Perhaps a random delay between 1 and 5 seconds (inclusive, so it can be a 1 second delay, 5 second delay, or anything in between) could help with that. Unfortunately, that means sometimes an app will take longer to update its tile than it usually does, but I think that's a worthwhile tradeoff. This will be important because people aren't always on the start screen, and wouldn't be using their phone when they're sleeping. I'd have to add a feature where tiles don't update when the screen is off, to save battery.
Earlier I mentioned caching the JSON response. I'll also have to cache the "last requested" time and date in UTC so that I can check if it's been greater than the amount of time the user configured for that Live Tile to update. I'll probably have it check to see if it needs to be updated once a minute, considering that'll be the minimum amount of time the user can set for tile data to be invalidated. Important: If a tile can't refresh its data for whatever reason, it should continue to show the cached JSON response.

Here's the tile schema for notifications, which could help to figure this out. Particularly useful is the thing to override the app's display name, which would be used for the Phone app when there's a carrier or no signal available. Multiple dialer apps exist, though, so I don't know if I should just set that for all of them or not.
https://docs.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/tile-schema

Here are some ways Live Tiles were done for the flip, iconic, and cyclic templates.
http://windowsapptutorials.com/windows-phone/different-tile-templates-properties-windows-phone/

I was going to say that calendar apps that show the current day and date can just be set to update every 24 hours at midnight, but then I saw a screenshot that included calendar events, so I don't know how to handle that. At least the small one can show just the date, so I can do the 24-hour thing with the small tile.


exec: "FR": executable file not found in %PATH%

Hello,
i am trying to use your package (by the way, thanks you for sharing !) but i have the following error when building:
github.com/mattn/go-sqlite3
exec: "FR": executable file not found in %PATH%
Do you know what i am missing ?
Regards

Hello,
I faced a similar issue with another go library (go-sdl2), and I found a cause for it :
When I run a go build -v -work -x -n, I can see that the library use cgo, which in turn call the C compilation command, by using FR instead of gcc.
FR -I "C:\\Users\\me\\Documents\\Projects\\src\\github.com\\veandco\\go-sdl2\\sdl" -m64 -mthreads ...

I'm still analysing why the cgo executable will change the executable's name, but as a workaround, you can create a copy of your gcc.exe file in your MinGW\bin directory, and rename it FR.exe (ugly, but do the job).
I think that this issue is more related to the use of cgo with MinGW.
Hope that will helps.

Hi !
I've got some news for you :)
Your issue is not related to go-sqlite3 but to your Windows/minGW installation. If you check the value of both %CC% and %GCC% in your console, you will probably see that one of those is set to FR.
cgo will use them if they're sets, or use gcc if not (you can see the explanation in this issue : https://github.com/veandco/go-sdl2/issues/317 ).
So you can just unset those environnment vars for fixing this issue.
Hope that will helps.


Change of license

The license will be updated from MIT to AGPL3 when unpack is merged back to master.
I am also considering of changing all licenses in WoWs-Info to AGPL3.

More info should be added in README because some parts are still under MIT.


Error: failed to load workspace: Value for undeclared variable: "mandatory_tags".

Describe the bug
When trying to set variables for a benchmark I get an error:
~$ powerpipe benchmark run aws_tags.benchmark.mandatory --var 'mandatory_tags=["Application", "Environment", "Department", "Owner"]'
Error: failed to load workspace: Value for undeclared variable: "mandatory_tags". If you meant to use this value, add a "variable" block to the mod.

Powerpipe version (powerpipe -v)
Powerpipe v0.4.0
Steampipe version (steampipe -v)
Steampipe v0.23.2
Plugin version (steampipe plugin list)
<EMAIL_ADDRESS><EMAIL_ADDRESS>To reproduce

Ensure Steampipe/Powerpipe and this plugin are installed and working
Confirm the benchmark works with defaults:

powerpipe benchmark run aws_tags.benchmark.mandatory

Add a variable to that benchmark. This is the example from the README:

powerpipe benchmark run aws_tags.benchmark.mandatory --var 'mandatory_tags=["Application", "Environment", "Department", "Owner"]'

Output is the following error:
Error: failed to load workspace: Value for undeclared variable: "mandatory_tags". If you meant to use this value, add a "variable" block to the mod.

Expected behavior
Benchmark should run correctly without the error
Additional context
If I try to set the variable in file steampipe.spvars I get the following similar error, but the benchmark does run, albeit with the default variable values.
Warning: Value for undeclared variable: "mandatory_tags". If you meant to use this value, add a "variable" block to the mod.

The same issue happens for all the benchmarks, and all variables I have tried, including:

prohibited_tags
mandatory_tags
tag_limit
expected_tag_values
tag_dimensions

Hi andymadge, Apologies that you are facing this issue. We tried to reproduce it on our end, but everything works fine for us. Could you please check if the variable mandatory_tags is defined in the (controls/mandatory.sp) file? That might be the cause of the issue.
Thanks.

Hi @khushboo9024 ,
Yes the variable is definitely defined. It must be because it works for the defaults.
The file contains:
variable "mandatory_tags" {
  type        = list(string)
  description = "A list of mandatory tags to check for."
  default     = ["Environment", "Owner"]
}

If I run:
powerpipe benchmark run aws_tags.benchmark.mandatory
I get output like this (I've redacted the account numbers):
+ CloudTrail trails should have mandatory tags ..........................................................................................................................   2 /   2 [=         ]
| |
| ALARM: OrganisationTrail is missing tags: Environment, Owner. ......................................................................................................... eu-west-2 ************
| ALARM: OrganisationTrail is missing tags: Environment, Owner. ......................................................................................................... eu-west-1 ************

If I modify the file<EMAIL_ADDRESS>by adding an extra value to the default:
variable "mandatory_tags" {
  type        = list(string)
  description = "A list of mandatory tags to check for."
  default     = ["Environment", "Owner", "Testing"]
}

That behaves as expected and checks the new value:
+ CloudTrail trails should have mandatory tags ..........................................................................................................................   2 /   2 [=         ]
| |
| ALARM: OrganisationTrail is missing tags: Environment, Owner, Testing. ................................................................................................ eu-west-2 ************
| ALARM: OrganisationTrail is missing tags: Environment, Owner, Testing. ................................................................................................ eu-west-1 ************

I've started a new project from scratch as follows:
$ mkdir test

$ cd test

$ powerpipe mod init
Created mod definition file '/Users/andym/powerpipe/test/mod.pp'

$ powerpipe mod install github.com/turbot/steampipe-mod-aws-tags                                                                   Installed 1 mod:

local
└──<EMAIL_ADDRESS>
This makes no difference.
Running powerpipe benchmark run aws_tags.benchmark.mandatory works properly.
Running powerpipe benchmark run aws_tags.benchmark.mandatory --var 'mandatory_tags=["Application", "Environment", "Department", "Owner"]' fails with the error

I've just been reading this:

Passing Variables for Dependency Mods
A Powerpipe mod can depend on other mods, and those dependency mods may include variables that you would like to pass. To set them, prefix the variable names with the mod alias and then set them like any other variable.

It doesn't seem like this should be relevant, because everything here is within a single mod, but I though I'd give it a try, and it worked.
I changed the variable name in the command from mandatory_tags to aws_tags.mandatory_tags like this:
powerpipe benchmark run aws_tags.benchmark.mandatory --var 'aws_tags.mandatory_tags=["Application", "Environment", "Department", "Owner"]'

And it now runs without the error.
Does this help to diagnose why the normal command doesn't work?

@andymadge Thanks for figuring this out, and apologies for the trouble caused by the wrong syntax in the command. We will update it as soon as possible.
Thanks.

Didn't you say it worked for you though? Does that mean there's something different in my config somewhere causing it to not work?

Apologies for the late reply. Thank you, @andymadge, for the information. We will update the aws-thrifty repo docs as well.


Add LLMAnnotator node (or equivalent feature)?

Though prompt chaining can be useful, it is currently not possible to use a prompt to 'rank'/classify responses when the number of LLMs in the input is > 1. This is because the information about the LLMs has been stripped from each response (although original prompt parameters are kept). There are two possibilities:

We could have some way of keeping the 'original LLM' info, as in adding it as another 'response variable', but then we face the problem of longer chains adding more and more response variables that are named like 'LLM_0,' 'LLM_1', etc.
We could also add a new node, LLMAnnotator, which looks like a prompt node except:

It does not allow more than one model (only one model can be the 'scorer')
It annotates responses (like an evaluator node), rather than producing new responses. In other words, the annotations become tagged onto the responses as an eval_result,
It cannot be linked to further prompt nodes because of this

Resolved in <IP_ADDRESS>.


drltrace can't output the trace of child process

Thanks for all the contribution and information in drltrace. I have just started the research of binary analysis in Windows. And I am trying to apply drltrace on my research to trace the library calls of Adobe Acrobat DC reader. However, I suffered from an issue that I can't get the Adobe related dll such as 'JP2KLib.dll' by applying -only_to_lib flag on drltrace.
My command is ".\drltrace.exe -logdir D:\Winfuzz_test\drltrace_win_x32\log -only_to_lib "JP2KLib.dll" -- "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" D:\Winfuzz_test\test\1.pdf"
And the environment is Windows 7 with visual studio 2013.
After I tried it on Acrobat Reader 9.0,  I can successfully get the 'JP2LLib.dll' in the trace. Maksim told me that maybe the reason is that Acrobat Reader DC will call 'JP2Klib.dll' in its child process, but drltrace can't get the log of the child process now. Can you help me to examine this issue? Thanks for all the help and information.

Thank you for opening this issue. Could you try debug version of drltrace on latest Adobe?
https://github.com/mxmssh/drltrace/releases/download/0.9d/drltrace_win32_debug.rar

Dear Maksim,
Thanks for the quick update. I will try it tonight and reply it to you as soon as possible.
Sincerely,
Wei-Han
取得 iOS 版 Outlookhttps://aka.ms/o0ukef

From: Maksim Shudrak<EMAIL_ADDRESS>Sent: Saturday, February 9, 2019 2:26:26 AM
To: mxmssh/drltrace
Cc: Huang, Wei-Han; Author
Subject: Re: [mxmssh/drltrace] drltrace can't output the trace of child process (#15)
Thank you for opening this issue. Could you try debug version of drltrace on latest Adobe?
https://github.com/mxmssh/drltrace/releases/download/0.9d/drltrace_win32_debug.rar
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mxmssh/drltrace/issues/15#issuecomment-462021750, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlhxiN-_-PWQAUAbYgYUG36XYSR0cW3_ks5vLngigaJpZM4ayJAl.

It can get the dll such as 'JP2KLib.dll' now. Thanks for all the contribution and help.

Great, thank you for feedback. The question is why release version doesn't work :)


[main] Upgrade to latest dependencies

release -matzew
/cc knative-sandbox/kn-plugin-operator-approvers
/assign knative-sandbox/kn-plugin-operator-approvers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack 92d8a0a...e11ac12:

/lgtm
/approve


Commissioning over Thread, communication over Ethernet afterwards (CON-1330)

Describe the question/query that you have
Hi! I am searching for some guidance on how enabling/disabling certain transports for commissioning/communication at runtime should be implemented. As far as I have seen, there are only straightforward options for enabling/disabling transports using the configuration files (which can only be changed at build time).
It would be nice if there was some official documentation, and preferably examples, available that show how this use case can be implemented. I have found https://github.com/espressif/esp-matter/issues/271, but to me it is not clear how the final implementation was achieved.
Additional context
I want to use an ESP32C6, which does not have a MAC. Therefore, I will add Ethernet capability using the W5500 and SPI. Since the use of ESP32C6 is quite common for Matter devices, I, and likely many others, would also appreciate it if there was some documentation, and preferably examples, on how to correctly apply a different Ethernet driver in a Matter application. I have found an example using esp-idf, but I am not sure how this should be integrated into esp-matter.

Have you seen the esp-thread-br example. This example has support for the W5500 ethernet. It is not a Matter example but probably will help you figure out how the W5500 should be configured in esp-idf.
A Matter example for this device would be great!

@bramvanneerven The multiple network feature will be supported in Matter 1.4. An example demonstrating this functionality will be available after its release.


feat: add rust impl

when feature="rust-backend", use this impl https://github.com/scroll-tech/rust-zktrie.  We can do a lot of testing with 2 backends side by side..

done


Enforce the use of indent rule from the js rule set

Considering that the indent rule for ts is broken (https://github.com/typescript-eslint/typescript-eslint/issues/1824), I suggest using the rule from js in the general default config until the broken rule is fixed or removed from the package.
related: https://github.com/eslint-stylistic/eslint-stylistic/issues/46 https://github.com/eslint-stylistic/eslint-stylistic/issues/52

I am not sure about it. I'd suggest you send PRs adding failing tests to the indent rules and we could work on a fix. Force to use the js rule would make many TS syntaxes uncovered by the rule. I would rather let it fail to surface the error (so we can fix it), rather that shallow it.

I am closing this for now. Feel free to bring another PR with failing tests so we could see how we can fix it. Thanks!


BinQ and spike compression fixes

See neuronsimulator/nrn#1548
Superceded by neuronsimulator/nrn#1556
CI_BRANCHES:NEURON_BRANCH=hines/binq-fix-rebase,

Please retest

LGTM. Maybe merge Olli's change from #720 before.

Yes.  But is this best done after #720 is merged to master?

Codecov Report

Merging #701 (b5889ff) into master (966533d) will increase coverage by 0.10%.
The diff coverage is 67.85%.

:exclamation: Current head b5889ff differs from pull request most recent head a2531f3. Consider uploading reports for the commit a2531f3 to get more accurate results

@@            Coverage Diff             @@
##           master     #701      +/-   ##
==========================================
+ Coverage   55.48%   55.58%   +0.10%
==========================================
  Files         107      107
  Lines        8940     8964      +24
==========================================
+ Hits         4960     4983      +23
- Misses       3980     3981       +1

Impacted Files
Coverage Δ

coreneuron/io/core2nrn_data_return.cpp
1.60% <0.00%> (-0.01%)
:arrow_down:

coreneuron/io/nrn2core_data_init.cpp
1.09% <0.00%> (-0.01%)
:arrow_down:

coreneuron/mpi/lib/mpispike.cpp
64.23% <0.00%> (-0.48%)
:arrow_down:

coreneuron/network/netpar.cpp
43.54% <33.33%> (-0.23%)
:arrow_down:

coreneuron/io/nrn_setup.cpp
85.73% <66.66%> (+0.05%)
:arrow_up:

coreneuron/mpi/lib/nrnmpi.cpp
55.55% <66.66%> (+0.48%)
:arrow_up:

coreneuron/apps/main1.cpp
49.04% <100.00%> (+0.99%)
:arrow_up:

coreneuron/network/multisend_setup.cpp
75.24% <100.00%> (+0.24%)
:arrow_up:

coreneuron/network/netcvode.cpp
74.36% <100.00%> (+0.24%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

Yes. But is this best done after #720 is merged to master?

Indeed

please retest

@alexsavulescu I notice test:neuron:intel has (among 9 test failures) a tqperf problem MPT ERROR: invalid option: --oversubscribe. It occurs to me that in nrn/test/external/tqperf/CMakeLists.txt the tqperf_neuron_prefix may be misleading as it is not used in COMMAND bash "./ci-test.sh". In the latter it is tempting to just replace ${MPIEXEC_OVERSUBSCRIBE---oversubscribe} with ${MPIEXEC_OVERSUBSCRIBE} but I'm wondering if the full ```${tqperf_neuron_prefix} should be somehow passed into ci-test.sh in case those special flags are needed in some cases.

https://github.com/nrnhines/tqperf/pull/5

${MPIEXEC_OVERSUBSCRIBE---oversubscribe}
But I was thinking the problem is that the test in nrn/test/CMakeLists.txt  unsets using

  if(NOT MPIEXEC_OVERSUBSCRIBE_TEST EQUAL 0)
    message(STATUS "mpiexec does not support ${MPIEXEC_OVERSUBSCRIBE}")
    unset(MPIEXEC_OVERSUBSCRIBE)
  endif()

so that the ci_test.sh file would do exactly the wrong thing if --oversubscribe is not a valid argument to mpiexec.

It is my understanding that we test via CMake if oversubscribe works with the current MPI library and sets or unsets MPIEXEC_OVERSUBSCRIBE. That is then passed to the test itself via MPIEXEC_OVERSUBSCRIBE=${MPIEXEC_OVERSUBSCRIBE} https://github.com/neuronsimulator/nrn/pull/1556/commits/a43bd8bc66290fa98f18b450c88d72f5199656d8
So if oversubscribe is not available, then we will have an empty $MPIEXEC_OVERSUBSCRIBE in the test scope.
With the changeset above, we now hit:
+ mpiexec -n 16 /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P29957/J111765/_/spack-build/spack-stage-neuron-develop-vkogqddlipn6wfzq2o4mkbt36t7uknzy/spack-build-vkogqdd/bin/nrniv -mpi -python test1.py
MPT ERROR: Not enough slots from job scheduler for requested ranks

whereas without the  ${MPIEXEC_OVERSUBSCRIBE---oversubscribe} we previously had:
 mpiexec -oversubscribe -n 16 /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P29772/J110989/_/spack-build/spack-stage-neuron-develop-vkogqddlipn6wfzq2o4mkbt36t7uknzy/spack-build-vkogqdd/bin/nrniv -mpi -python test1.py
MPT ERROR: invalid option: -oversubscribe

Looks like we need another strategy when we have HPE MPT

Also got a bit puzzled by - vs --, but we have the same error:
+ mpiexec --oversubscribe -n 16 /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P29811/J111242/_/spack-build/spack-stage-neuron-develop-mvn7s3za436y6xrhbspwpy7pbewubnvm/spack-build-mvn7s3z/bin/nrniv -mpi -python test1.py
MPT ERROR: invalid option: --oversubscribe

Looks like we need another strategy when we have HPE MPT

Do I have this right?  mpiexec on that machine does not accept --oversubscribe so ci-test.sh sees an empty ${MPIEXEC_OVERSUBSCRIBE. But -n 16 is too many for that machine.
Note that 16 ranks are used solely for complete coverage of the phase2 multisend code.  Perhaps we can skip the test if oversubscribe is not allowed and 16 real cores are not available.

Do I have this right? mpiexec on that machine does not accept --oversubscribe so ci-test.sh sees an empty ${MPIEXEC_OVERSUBSCRIBE. But -n 16 is too many for that machine.

Looks that way to me.

Note that 16 ranks are used solely for complete coverage of the phase2 multisend code. Perhaps we can skip the test if oversubscribe is not allowed and 16 real cores are not available.

Well we only care about coverage in the NEURON Code Coverage CI. I guess we can skip the test in the CoreNEURON CI based on some condition, i,e. if --oversubscribe is not available.

skip the test in the CoreNEURON CI based on some condition, i,e. if --oversubscribe is not available.

That's reasonable.  Or run with -n 2 if not available. Although the coverage won't be as good, many of the tests are still substantive.

Was thinking about something along the lines of: https://github.com/neuronsimulator/nrn/pull/1556/commits/e686c1d66f6be51f7409fcca996c6486c63b7bac

Now we get
CoreNEURON single and multiple threads
4 /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P30108/J112635/_/spack-build/spack-stage-neuron-develop-vkogqddlipn6wfzq2o4mkbt36t7uknzy/spack-build-vkogqdd/bin/nrniv: Could not find CoreNEURON library
4  near line 0
4  ^
        4 ParallelContext[0].psolve(50)
MPT ERROR: Rank 4(g:4) is aborting with error code -1.
	Process ID: 51011, Host: ldir01u05.bbp.epfl.ch, Program: /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P30108/J112635/_/spack-build/spack-stage-neuron-develop-vkogqddlipn6wfzq2o4mkbt36t7uknzy/spack-build-vkogqdd/bin/nrniv
	MPT Version: HPE HMPT 2.25  10/22/21 03:18:39

MPT: --------stack traceback-------
13 /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P30108/J112635/_/spack-build/spack-stage-neuron-develop-vkogqddlipn6wfzq2o4mkbt36t7uknzy/spack-build-vkogqdd/bin/nrniv: Could not find CoreNEURON library
13  near line 0
13  ^
        13 ParallelContext[0].psolve(50)
12 /gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P30108/J112635/_/spack-build/spack-stage-neuron-develop-vkogqddlipn6wfzq2o4mkbt36t7uknzy/spack-build-vkogqdd/bin/nrniv: Could not find CoreNEURON library

/nrniv: Could not find CoreNEURON library

@alexsavulescu : In case of GPU build, coreneuron is a static library and hence we have to use special to launch the simulation. nrniv can not be used to run coreneuron simulation.

/gpfs/bbp.cscs.ch/ssd/gitlab_map_jobs/bbpcihpcproj12/P30438/J115285/_/spack-build/spack-stage-neuron-develop-fwu47zj5ksgprg63usqqvmnfvuvjnlmc/spack-build-fwu47zj/share/nrn/nrnmain.cpp:
622ptxas warning : Conflicting options --device-debug and --generate-line-info specified, ignoring --generate-line-info option
623ptxas warning : Conflicting options --device-debug and --generate-line-info specified, ignoring --generate-line-info option
624Successfully created x86_64/special
625++ find . -type f -name special -print -quit
626+ special_exe=./x86_64/special
627+ mpiexec -n 16 ./x86_64/special -mpi -python test1.py
628MPT ERROR: Not enough slots from job scheduler for requested ranks
629	(HPE HMPT 2.25  10/22/21 03:19:55)

I thought this was fixed. Will take a look soon...

My intention for a substantive gpu test is to allow use of a POINT_PROCESS version of ARTIFICIAL_CELL IntervalFireSHA, assuming I can arrange for a gpu version of #include <openssl/sha.h> (though we could drop back to the less strict test using IntervalFire which only counts input and output events without checking event times.).  Anyway, that will provide good performance and validation of the spike buffering algorithms on the GPU.

GPFS finally reasonably working:


AvroSchemaRegistryClientMessageConverter not finding objects in reflectionCache

I'm getting an org.springframework.cloud.stream.schema.SchemaNotFoundException at org.springframework.cloud.stream.schema.avro.AvroSchemaRegistryClientMessageConverter.extractSchemaForWriting(AvroSchemaRegistryClientMessageConverter.java:350).
I believe this is because when it gets the cache on https://github.com/spring-cloud/spring-cloud-stream/blob/a9b1b4f2bbcf73a6e27472f002a452b828356c63/spring-cloud-stream-schema/src/main/java/org/springframework/cloud/stream/schema/avro/AvroSchemaRegistryClientMessageConverter.java#L370 the getCache() doesn't pass through the name to the cache manager:
https://github.com/spring-cloud/spring-cloud-stream/blob/a9b1b4f2bbcf73a6e27472f002a452b828356c63/spring-cloud-stream-schema/src/main/java/org/springframework/cloud/stream/schema/avro/AvroSchemaRegistryClientMessageConverter.java#L417.
If you agree, happy to submit a PR for this.

Yes, please submit a PR. What you explained makes sense, but PR will certainly clarify

Hi, will this still be backported into v2.2.1? I don't see any references to this issue it in the list of commits on the 2.2.x branch.


Support in-memory file via StringIO?

The README says:
If you want to upload a file directly to Cloud Convert, pass the file object to the file argument. Make sure that the file object you are passing responds to the read method. Examples: File, Tempfile, ActionDispatch::Http::UploadedFile, etc.

Well ... I thought StringIO supports read so I would use that.
But then:
~/.rvm/gems/ruby-2.2.4/gems/httmultiparty-0.3.16/lib/httmultiparty.rb:16:in `file_to_upload_io': undefined method `path' for #<StringIO:0x007fe726b27900> (NoMethodError)

Why path?

raw input just didn't work for me.
Only file worked.


chore(readme): add chrome extension

Add URL of @io-monad's chrome extension.

@homu r+
We want to merge.

:pushpin: Commit e45f922 has been approved by azu

:hourglass: Testing commit e45f922 with merge c22ffa9...

:sunny: Test successful - status


Fix: Sign Up Page layout

We need to fix Sign Up page layout like Sign In you can see current behaviour of Sign Up page

Please assign this task to me.
I am a contributer of GSSoC'23.

@Atharvasharma12 look for another

Okay @shivam-sharma7 just fix the layout and alignment!

Heyy @shivam-sharma7 is it done?


Add xhr property to RouterRequest

This indicates that the request is a XMLHttpRequest.

So looking into this I found that this is just a shorthand for headers["X-Requested-With"] == "XMLHttpRequest". I am not sure this is complex enough that it should be part of the core library. Also if we did include it, the name should be something like isXHR

After discussion, we decided to not support this functionality.


Pose Detection

Is there also a way to use the Pose Detection with this package ?

Assuming this is about ML vision you probably could do it with a custom ML model but it's going to take some work implementing the model and using the output.
In any case it isn't part of the default ML vision models.

https://github.com/FirebaseExtended/flutterfire/issues/3397


NOKOGIRI_USE_SYSTEM_LIBRARIES is not documented

http://nokogiri.org/tutorials/installing_nokogiri.html says nothing about the subject.

The --use-system-libraries option, along with most of the other available options, is now documented in the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html

That raises an error for me now:
gem install nokogiri --use-system-libraries -v '1.8.4' --source 'https://rubygems.org/'
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --use-system-libraries

An example from this page:
gem install nokogiri -- --use-system-libraries
`

@tibbon please make sure you've got -- in your gem install command before you use --use-system-libraries.
You used:
gem install nokogiri --use-system-libraries

but the documented syntax is
gem install nokogiri -- --use-system-libraries

Finally, this issue has been closed for over three years. If you have any further issues, please reach out on the nokogiri-talk mailing list, gitter, IRC, or open a new issue. Thanks!


updated version's dependency adding information.

Resolved an error that goes undetected by writing information in versions.

I think you better add it to the wiki, maybe FAQ page

I don't think it's appropriate for the readme, can you add it to the wiki FAQ?


init draft for chunk offline infer and ctc ensemble

What does this PR do ?
This is a draft.
Please don't merge!!!
TO DO:
Test the ctc implementation.
Implement the ASR clients
Test the perf
Change the naive chunk inference in nemo
1. change the preprocessor; instead of doing inference on one sequence at one time, we should do inference of batch of sequences together.
2. change the preprocessor and postprocessor to do chunking inference simply using the huggingface style.

Yes, I ran it before. Will delete it.
On Mon, Apr 1, 2024 at 5:13 PM Daniel Galvez @.***>
wrote:

@.**** commented on this pull request.
In
examples/asr/triton-inference-server/asr_ctc/model_repo/asr_ctc/1/model.py
https://github.com/galv/NeMo/pull/1#discussion_r1546990125:

   dtype = dtype_map[parameters["dtype"]["string_value"]]

   self.dtype = dtype

   if model_name_or_path.endswith(".nemo"):

     asr_model = nemo_asr.models.ASRModel.restore_from(model_name_or_path)

   else:

     asr_model = nemo_asr.models.ASRModel.from_pretrained(model_name_or_path)

   ctc_decoding = CTCDecodingConfig()

   ctc_decoding.strategy = parameters['decoding_strategy']['string_value']

   if ctc_decoding.strategy == 'beam_search':

       ctc_decoding.beam_size = int(parameters['beam_size']['string_value'])

   asr_model.change_decoding_strategy(ctc_decoding)

   self.model = asr_model.cuda()

   self.model.encoder.freeze()

   self.model.decoder.freeze()

   self.model.eval()

   self.model.to()

Just to check, did you run this code yet? I'm not sure if model.to() with
no argument is valid.
—
Reply to this email directly, view it on GitHub
https://github.com/galv/NeMo/pull/1#pullrequestreview-1972388938, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP63VAPRIMK33J6U446XSLY3HZ33AVCNFSM6AAAAABFIM4VCWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSNZSGM4DQOJTHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Basically finished asr ctc infer (one python backend or ensemble with tensorrt engine) and offline chunk infer (nemo chunk infer and huggingface asr chunk).
Haven't tested the dataset accuracy yet.
Next step is to test accuracy and test the performance on A100.
For accuracy, we can test librispeech test-clean and test-other dataset.
I would recommend to add a long audio file test as well.
For performance test, we need to test real dataset. However, fake data sample with fixed length could give us consistent performance. We can take it as a reference.
When sorting the test dataset and it could possibly boost the performance.
We need to come out a good benchmark for this.
We can use the same way  of calculating RTF as  the hf open asr board as well.
@galv

Some other things such as adding VAD seems important for asr_ctc. I used rnn-noise and webrtc before. Would like to learn the latest VAD solution.
Chunk inference should be able to handle long audio file.  We need some really long audio file (several hours?) to test.


Multiple Data inputs for a MR Job

The MapReduce API is going to change. A job be able to take an array of inputs instead of just a single path.

New pps pipeline tool supports this.
image pachyderm/foo

input bar
input baz

# bar and baz are visible here, qux is not
run ...

input qux

# bar, baz and qux are all visible
run ...


gnome2.vte: drop with all reverse dependencies

Motivation for this change
Using pygtk, which is python2 only.
 (LOL, it is not.)
https://github.com/NixOS/nixpkgs/issues/148779
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I second this. The only nit is that the commit dropping vte should come last so that it won't break eval on the intermediate commits.

Goodbye, lilyterm!

I'm afraid it only rhymes in german.

Fixed a typo in the throw for lilyterm.

evilvte:
s/depening/depending/
s/pythn2Packages.pygtk/python2Packages.pygtk/

Indeed, you could just use the same message on gnome2.vte and evilvte: Depends on pygtk, which will be dropped along Python 2.

Fixed two typos on the evilvte throw, but otherwise I consider it to be fine. Not sure where I would add a throw for gnome2.vte, since it has no aliases file and I'm not sure adding aliases to gnome2s default.nix is allowed.

A throw on aliases.nix would be useful, because it hinders anyone from trying to re-add it later.

Feel free to push that change.


chore: graphql-lookahead v1.0.0 release

graphql-lookahead v.1.0.0 release
Features

add depth and onError options (#10)
initial lookahead implementation (#1))

Bug Fixes

release workflow failing because of Nx Cloud (#11)
wrong initial selectionSet when fragments are present in operation (#9))
support for FragmentSpread selection (#5))
missing distribution assets in release (#4))
impossible to install on other Node version than 20.16.0 (#3))
release.yml workflow failing because the cli is not found (#2))

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


On Ubuntu 20.04 with pyenv, the system version has only pip2/pip3 and the Python module fails

Description
On Ubuntu 20.04, a globally installed pip command no longer points to Python 2's pip. Instead, there is only pip2 and pip3. However, after installing pyenv, a shim is installed for pip. Running pip with the system interpreter selected will fail with a message to that effect. However, the command does technically exist so the check $commands[pip] will return true.
This causes the pip command detection in the Python module to select the wrong pip command.
Expected behavior
The Python module works without errors and pip completion is loaded.
Actual behavior
This error message:
pyenv: pip: command not found

The `pip' command exists in these Python versions:
  [other versions]

Note: See 'pyenv help global' for tips on allowing both
      python2 and python3 to be found.

And pip shell completion is not loaded.
Steps to Reproduce

Install pyenv: curl https://pyenv.run | bash
Install any Python version through pyenv: pyenv install 3.8.3
Install shims: pyenv rehash
Set the system interpreter as default: pyenv global system
Restart zsh: exec zsh

Discussion
We coulde change the glob pattern so pip3 and pip2 get preference. However, this seems just as bad in the opposite direction.
If pyenv is installed, pyenv which could be used instead as a test: pyenv which pip >/dev/null returns false. Pyenv will set PYENV_ROOT (if the user did not set it), so we know when to use it.
Would a PR be welcome to fix this?
Versions

Prezto commit: cb69d2d3e471726a76ac3e4e484deac52a2abf56
ZSH version: 5.8 (x86_64-ubuntu-linux-gnu)
OS information: Ubuntu 20.04

We coulde change the glob pattern so pip3 and pip2 get preference. However, this seems just as bad in the opposite direction.

You're correct, this will break backwards compatibility and solving for Ubuntu 20.04 which will be a small fraction to begin with is not a good solution.

If pyenv is installed, pyenv which could be used instead as a test: pyenv which pip >/dev/null returns false. Pyenv will set PYENV_ROOT (if the user did not set it), so we know when to use it.

The python module already checks for pyenv, so it makes sense to add the additional pyenv check in pip module completion.
A PR would be welcome :smile:


Output errors to stderr

This commit outputs CLI errors to stderr, and outputs legacy package name warnings to stderr as well to close out #4
The outputs are covered by tests, including the CLI interface

@codehearts Thanks! Nice Catch!
I've released it as 1.3.2
https://github.com/azu/can-npm-publish/releases/tag/1.3.2


Fixes loading crash + Addresses GregTechCE/GregTech#1561 (salt water race condition)

@Rongmario I already added the fix for the Ex Nihilo fix in my PR #8

@Irgendwer01 see which gets pulled in first and we can rebase.


[ROS 2] Flaky tests in Eloquent

There are a couple of flaky tests that seem to occur only in Eloquent:

TestInteractiveMarkerClient

History
Output:

/tmp/ws/src/ros-visualization/interactive_markers/test/interactive_markers/test_interactive_marker_client.cpp:376
Expected equality of these values:
  mock_server->feedback_received_
    Which is: 0
  1u
    Which is: 1

/tmp/ws/src/ros-visualization/interactive_markers/test/interactive_markers/test_interactive_marker_client.cpp:380
Expected equality of these values:
  mock_server->feedback_received_
    Which is: 1
  2u
    Which is: 2

TestInteractiveMarkerServerWithMarkers

History
Output:

/tmp/ws/src/ros-visualization/interactive_markers/test/interactive_markers/test_interactive_marker_server.cpp:339
Expected equality of these values:
  mock_client_->updates_received
    Which is: 0
  1u
    Which is: 1

/tmp/ws/src/ros-visualization/interactive_markers/test/interactive_markers/test_interactive_marker_server.cpp:340
Expected: (mock_client_->last_update_message) != (nullptr), actual: 16-byte object <00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00> vs (nullptr)

Since Eloquent is EOL, and presumably this was only happening in Eloquent, I'm inclined to close this ticket.


fix(transformer): arrow functions transform find all functions

Arrow functions transform fails to identify "full" functions above an arrow function in many cases. e.g. foo in these cases:
function foo() {
  return () => this;
}

class C {
  foo() {
    return () => this;
  }
};

i.e. Statement::FunctionDeclaration and MethodDefinitions.
This PR fixes that. Rather than visiting Expression, Declaration etc, just visit Function.

#3619  👈
main

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

Join @overlookmotel and the rest of your teammates on  Graphite

I am completely wrong! There was nothing wrong with it!


issues between mek and enderIO

http://pastebin.com/CJA2xMQb
http://pastebin.com/84Ey2yDL
getting these crashes when booting up in my test server. seems to be that enderIO gas conduits, with oxygen in them from electrolytic seperators just doesn't play nicely. i'm sure thats probably not the only thing. i don't know if this is an enderIO problem, or a mek problem. but seeing as i just updated to mek 8 on my test server, to play with it, i'm posting it here.
using latest V8 mek, and enderIO

EnderIO needs to update its Mekanism integration :)

ok thanks, i'll let them know.

I've made our gas interfaces backwards-compatible. That should fix this issue in 8.0.1.

when will this be released?

or do i need to be membership to get access to dev version?

I think 8.0.1 should be out later today, unless we find any pressing issues with it.

ok thanks so mmuch, just got the reactor setup and its so amazing.


chore: workaround too long TMPDIR harder

On top of #4524 to avoid merge conflict and integrate with .shrc.local (you could force TMPDIR there)

This PR successfully sets TMPDIR to /tmp when direnv is enabled, and I successfully ran ./scripts/tests/gateway-reboot-test.sh while direnv was enabled.
I'm on MacOS and I have direnv installed via homebrew

direnv + just mprocs works on this branch for me, but it also works on master for me right now so can't validate a fix. If it worked for @kernelkind I'm happy to call it a fix.

conflict, rebased


Word wrap disables unexpectedly while writing code

Issue type: Bug

VSCode Version: 1.30.2 & older
OS Version: macOS 10.12.6 & macOS 10.13.6

Word Wrap keeps disabling itself although I have it set ON by default or although i just toggled Word Wrap back on.
Steps to Reproduce:
Working on a file, i notice the word wrap is off

Turn it back on with Toggle Word Wrap / [Alt] + [Z]
Continue coding
Notice Word Wrap is off again!

It might get deactivated by another key combination, maybe by [Enter], [Backspace] or else, although these key bindings are not defined for that purpose. In some attempts the toggle is triggered by a simple swipe up/down the trackpad i use.
I didn't find any reports of that issue. I don't understand what is going on, and this is a pretty frustrating bug. In last resort is there even a way to totally disable the Toggle Word Wrap feature to get rid of this issue?

Does this issue occur when all extensions are disabled?: No
I did a test, the GitLens extension may be triggering this.

Any feedback on this? I'm facing the same issue on Linux

Yes!
The setting gitlens.currentline.scrollable needs to be set to false.
Issue #43940 addresses the problem in vscode, and this one eamodio/vscode-gitlens#290 reports it on the gitlens repo. No plan to change how the setting messes up with the word wrap feature so far.

Let's track in #32856