Parallel writes to the same repo

I don't know if anyone else has shared the problem of making multiple writes to the same repo and dealing with fast forward commits and conflict. You will likely get an error like refs/heads/master expected to be at ee1cd720841a4b5b06a8339c333c56b1748e66f9
Spent this weekend tackling this problem in Hubfs.js and thought that some of the code might be useful for anyone who comes across this problem. Might be overkill for this library, since it ended up being a little tricky to implement. Basically, if a write is already in progress, subsequent writes are batched together and committed in a single commit when the current write is finished.

@gmaclennan Hi! Thanks for that, looks interesting. TBH, I'm fairly new at maintaining this and I'm not sure it can even do batch writes in its present state; repo.write just does PUT /repos/:owner/:repo/contents/:path and doesn't do anything with the Git data API.
So, getting that to work would be the first thing. Definitely taking another look at your implementation afterwards, though. :+1:

No, it can't. If you repo.write a second time on the same repo before the first write is finished it will give an error. I was using this library before, but put together hubfs.js to overcome some issues like that. repo.write in this library used to use the Git data API, before the pull request that broke many things changed it. The contents API simplifies things, and reduces the number of requests which is great for browser implementations, but it has some shortcomings like a 1Mb limit for reads, and a small issue with consecutive writes sometimes failing if they are too close together.

Putting in the queue for 0.10.8, giving P3. Ensuring writing functionality is able to handle things like multiple writes is important.

As I mention in this article and as reported by this StackOverflow comment this seems not possible due to an issue of the API.

This issue can be closed. The temporary solution is described here. Once we fix this issue, writing in parallel won't be necessary anymore.


more bends

More bends module like in novo.It is ported to 1.8.9 from a mod called mo's bends https://github.com/mobends/MoBends.it adds very sexc animations to the game.

cant u just like add this to your mods folder

alr


added an example for math.argmax

added an example for math.argmax

closing this PR as the changes are meant to Master

closing this PR as the changes are meant to Master


when trying to run analytics server throw MQTT Exception occurred when starting listener

Hi
I have build product-iots 3.0.0 server, when i have run analytics server given error like:
Failed to create an https connection.
Connect to localhost:9443 [localhost/<IP_ADDRESS>] failed: Connection refused
[IoT-Analytics] MQTT Exception occurred when starting listener
please help me
Thanks/Regards
Arun Patel

This is just a warning, This is also fixed in upcoming 3.1.0 release, hence closing the issue.


Add support for NativeAOT

Originally posted by @dotMorten in: https://github.com/nohwnd/mstest-runner-examples/issues/1
Summary
One of my biggest griefs with MSTest is I can't test if my stuff works right in an AoT build.
Try building your project with dotnet publish -c Release -p PublishAot=true -r win-x64 and run it, and you'll get loads of build warnings, and a runtime crash.
Now I understand why it currently doesn't work (too much reflection and datacontract serializers), but solving this would be huge for ensuring AoT compatibility.
It would likely require a little code generator for each TestMethod attribute instead of relying on reflection discovery, and using the new System.Text.Json serializers.

The new MSTest runner which lives in https://github.com/microsoft/testfx/tree/main/src/Platform/Microsoft.Testing.Platform is internally fully NativeAOT compatible, and can already do this. It inserts itself into the executable you building, which makes it work nicely with dotnet publish and it's various options. Including trimming and PublishAOT.
What is missing is a test framework that can do such thing. As you describe MSTest relies internally on reflection. But we have an alternative implementation which is now shipped in Microsoft.Testing.Framework, and we want to eventually use the same approach for mstest.
As an output you will get an application that can run tests, and has no additional dependencies.
I've added an example here, of how you can achieve nativeaot test running with the existing pieces right now. For actual integration of this into MSTest we don't have a public plan yet.
https://github.com/nohwnd/mstest-runner-examples/blob/main/NativeAOTProject1/README.md

This ticket will be used as epic so removing it from 3.3 miletsone.

Here is super early preview of the nativeAot for MSTest.
We've created a whole new engine and a source generator that are published as MSTest.Engine and MSTest.SourceGeneration nuget packages on our preview feed (https://aka.ms/mstest/preview) under our Microsoft Testing Platform Tools license.
Both the engine and source generator are in alpha, so please don't consider any of the public APIs final.
Here is an example of project that can run tests in native aot. Putting it together it quite manual, but we are working on improving this.
How to use?
Create a new mstest or console project. Set <OutputType>exe</OutputType> and <PublishAot>true</PublishAot>. Reference the listed packages, and add test application setup to Main method.
Run dotnet publish -r win-x64 to publish the application.
Run the application from the publish folder.

<!-- file TestProject1.csproj -->
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>

    <OutputType>exe</OutputType>
    <PublishAot>true</PublishAot>
  </PropertyGroup>

  <ItemGroup>
    <!-- From preview feed. -->
    <!--
      Experimental MSTest Engine & source generator,
      close sourced, licensed the same as our extensions
      with Microsoft Testing Platform Tools license.
    -->
    <PackageReference Include="MSTest.Engine" Version="1.0.0-alpha.24151.3" />
    <PackageReference Include="MSTest.SourceGeneration" Version="1.0.0-alpha.24151.3" />

    <!-- From nuget.org. -->
    <PackageReference Include="Microsoft.Testing.Extensions.TrxReport" Version="1.0.2" />
    <PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
    <PackageReference Include="MSTest.Analyzers" Version="3.2.2" />

  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\ClassLibrary1\ClassLibrary1.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
  </ItemGroup>

</Project>

// file Program.cs
using Microsoft.Testing.Extensions;
using Microsoft.Testing.Framework;
using Microsoft.Testing.Platform.Builder;
namespace TestProject1
{
    internal static class Program
    {
        public static async Task<int> Main(string[] args)
        {
            var builder = await TestApplication.CreateBuilderAsync(args);
            // Registers TestFramework, with tree of test nodes
            // that are generated into your project by source generator.
            builder.AddTestFramework(new SourceGeneratedTestNodesBuilder());
            builder.AddTrxReportProvider();
            var app = await builder.BuildAsync();
            return await app.RunAsync();
        }
    }
}

// file UnitTest1.cs
using ClassLibrary1;

namespace TestProject1
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            Assert.AreEqual(3, new Class1().Add(1, 2));
        }

        [TestMethod]
        [DataRow(1, 2)]
        public void TestMethod2(int left, int right)
        {
            Assert.AreEqual(3, new Class1().Add(left, right));
        }

        [TestMethod]
        [DynamicData(nameof(Data))]
        public void TestMethod3(int left, int right)
        {
            Assert.AreEqual(3, new Class1().Add(left, right));
        }

        [TestMethod]
        [DynamicData(nameof(Users))]
        public void TestMethod4(User u)
        {
            Assert.AreEqual(3, new Class1().Add(u.Left, u.Right));
        }

        public static IEnumerable<object[]> Data { get; } =
        [
            [1, 2],
            [-3, 6],
        ];

        public static IEnumerable<object[]> Users { get; } =
        [
            [new User { Left = 1, Right = 2 }],
            [new User { Left = -3, Right = 6}],
        ];
    }

    public class User
    {
        public required int Left { get; init; }
        public required int Right { get; init; }
    }
}

source:  mstest-native.zip
What is working?

Simple test TestMethod
TestMethod with DataRow
TestMethod with DynamicData

What is not working?
Setups, teardowns, parallelization options, and anything else that you can think of that is not in the working list is probably not working.
Let us know which features you miss the most so we can prioritize.

This works great when running the published executable, but is it supposted to work with the visual studio integration at the moment?
Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Could not find testhost

I'm not sure how visual studio runs the tests, but since it is actually discovering them, my guess is that it's not through compiled code, but rather source analysis?

It's only working/supported when using MSTest runner.

So glad you are adding AOT test capability!
I've been able to create both AOT and JIT test projects by writing AOT tests first and then linking the .cs files from the AOT project into JIT MSTEST projects.
Is there any way to tell the Test Explorer in Visual Studio to just completely ignore the AOT tests?
the errors Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Could not find testhost
in the output window when Test Explorer is used are a mild nuisance.

I'll just note that one reason this would be really useful is to help validate that code is Native AOT compatible. In the process of converting a code base away from using reflection it's possible to have issues that only show up at runtime. Being able to run all the unit tests in "AOT mode" would help improve confidence.


Could not read the contents of downloads: Error opening directory '/config/downloads' permission denied

i mapped a shared folder on my synology nas called /downloads to the container directory /config/downloads. However when i try to download a file from firefox, I'm getting permission denied error.  /config/downloads is the default download folder in the container right? How do I fix this permission issue?

i figured it out. it was due to the nas shared folder permissions


fixes in loop partitioning algorithm 2) added a testcase

This fixes https://github.com/dmlc/tvm/issues/2898. The main changes are:

partitioning based on when a condition is false (in addition to when a condition is true)
Recursively partition pre-subrange, middle subrange and post-subrange when necessary.

I did my best to keep the changes as small as possible, i.e., if we remove the code for any of the changes above, we won't generate correct code.
@tqchen @ZihengJiang please review.

@derisavi please also tag more reviewers

@anijain2305 @MarisaKirisame @xqdan @yzhliu Please review. Thanks.

Handling multiple variables in the same condition is very helpful. Does it also solve the issue that you pointed out in #2898?

To be clear, the code before my change did handle multiple vars in the same condition. My change fixes other problems (e.g., in some cases we didn't recursively partition pre- or post-subranges, and we didn't partition based on when conditions are false).
One testcase that demonstrates the problem is given in #2898.

Thanks @derisavi , this is merged


Dummy polygon defaults

Please do not create a pull request without creating an issue first.
Changes need to be discussed before proceeding, pull requests submitted without linked issues may be rejected.
Please provide enough information so that others can review your pull request. You can skip this if you're fixing a typo – it happens.

[ ] I have added tests to tests to cover my changes.
[ ] I have updated docs/, if necessary.
[ ] I have updated the README.md, if necessary.

What existing issue does this pull request close?
Put closes #issue-number in this pull request's description to auto-close the issue that this fixes.
How are these changes tested?
This pull request includes automated tests for the code it touches and those tests are described below. If no tests are included, reasons why must be provided below.
These changes are tested with [...]
Demonstration
Demonstrate your contribution.
For example, what are the exact commands you ran and their output, related screenshots, screen-recordings, test runs, anything that can showcase.
Provide additional context.
Provide as much relevant context as you like.

Codecov Report

Merging #687 (88b594c) into main (1f0f415) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #687      +/-   ##
==========================================
- Coverage   89.40%   89.38%   -0.03%
==========================================
  Files         158      158
  Lines       12854    12854
==========================================
- Hits        11492    11489       -3
- Misses       1362     1365       +3

Impacted Files
Coverage Δ

dataquality/schemas/semantic_segmentation.py
98.64% <ø> (ø)

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Permission names are too long

In the editor models, the permission names are too long.
The string 'Can pick exams to be featured on the front page.' has len(...) = 52; but the django auth Permissions model declares this field as max_length=50.  Mysql will silently truncate this, but PostgreSQL will throw an error.
See (e.g.): http://www.davidpashley.com/2009/02/15/silently-truncated/

Thanks for spotting this! I hadn't tried setting up the editor with Postgres yet.
I've spent a bit of time working through what else needs to happen when you install with Postgres. It turns out not much, but for convenience I've created a branch of the editor-vagrant scripts which uses postgres instead of MySQL; it's at https://github.com/numbas/editor-vagrant/tree/postgres
Let me know if you spot anything else!

Hi Christian,
Thanks for this!  FYI I’ve created a github fork of both the editor and Numbas runtime for my deployment (Department of Statistics, University of Manitoba http://www.stats.umanitoba.ca http://www.stats.umanitoba.ca/).
I have quite a bit of Django experience (using and developing applications for 6 years now), so my hope is that I will start contributing any necessary changes back via pull requests rather than bug reports.
Cheers and thanks!
—Dave.

On Jan 29, 2015, at 5:49 AM, Christian Perfect<EMAIL_ADDRESS>wrote:
Thanks for spotting this! I hadn't tried setting up the editor with Postgres yet.
I've spent a bit of time working through what else needs to happen when you install with Postgres. It turns out not much, but for convenience I've created a branch of the editor-vagrant scripts which uses postgres instead of MySQL; it's at https://github.com/numbas/editor-vagrant/tree/postgres https://github.com/numbas/editor-vagrant/tree/postgres
Let me know if you spot anything else!
—
Reply to this email directly or view it on GitHub https://github.com/numbas/editor/issues/231#issuecomment-72012012.


Handle SPDX exceptions

NPM allows for some non-SPDX expressions:

"SEE LICENSE IN <filename>"
"UNLICENSED" (not to be confused with Unlicense!!)

See https://docs.npmjs.com/files/package.json#license
I changed the code to use the package validate-npm-package-license, however, it depends on this package and this might create a circular dependency. Is this a problem?

Sorry, I just noticed that maybe your package is not targeted only at NPM license fields but as a generic SPDX tool. In that case my code change is not really useful for you. However, the UNLICENSED case might still be worth looking at.

Thanks for the patch!
Unfortunately, you're right: This package attempts to correct invalid SPDX expressions to valid SPDX identifiers.  It shouldn't internalize any npm-specific behavior.  npm adapts and slightly extends SPDX expressions.


Update README.md

@jbrh530 This project will evolve far from the initial entry; the inspiration for the authentication mechanism is best put as a reference.

👍


make relocations const by default to improve analysis

Need to test the implications of doing this and likely make it a configurable option.

Relocated data variables aren't always constant. Doing this would break analysis for a few cases.


Feedback Component & MailClient Improvements

Summary of Changes
React Application Changes:

BugReportFeedbackForm and RequestFeedbackForm have been updated to take a subject. RatingFeedbackForm was updated for minor visual inconsistencies.

A constants file was added for hardcoded text for Feedback and its nested components.
Discovered that we were not correctly handling failures of feedback requests -- updated relevant code in ducks/feedback and FeedbackForm to correctly propagate errors to the application and display a failure message.

Flask Changes:

Updated base_mail_client.send_email() abstraction to also support dictionary of form data. For Lyft's new use case it will be best to send the form data from the feedback forms so we can execute some extra logic based on those values.
Updated the feedback send mail request to also pass the subject and form_data.

Tests

Unit tests were added for Feedback and its nested components. Updated application code test thresholds.
Mock mail clients in /api/mail/test_v0.py were updated to match the changes made to base_mail_client.

Documentation
Added a docstring for base_mail_client.send_email()
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes all tests documented in the developer guide
[x] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

@danwom all set! Let me know if you want to flesh out that margin stuff offline and then file an issue.


Alpha vantage - KeyError: 'Time Series (15min)'

Home Assistant release with the issue:

0.67.1
Last working Home Assistant release (if known):
0.67.1 - I think it worked in the latest release, but maybe is unstable?
Operating environment (Hass.io/Docker/Windows/etc.):

CentOS 7.4.1708
Component/platform:

https://www.home-assistant.io/components/sensor.alpha_vantage/
Description of problem:
KeyError traceback observed in the logs, component not working.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
  - platform: alpha_vantage
    api_key: XXXXXXXXX
    symbols:
      - name: Red Hat
        symbol: RHT

Traceback (if applicable):
20 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform alpha_vantage
Traceback (most recent call last):
  File "/home/hoose/homeassistant/lib64/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 82, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/opt/rh/rh-python36/root/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/hoose/homeassistant/lib64/python3.6/site-packages/homeassistant/components/sensor/alpha_vantage.py", line 90, in setup_platform
    timeseries.get_intraday(symbol[CONF_SYMBOL])
  File "/home/hoose/homeassistant/lib64/python3.6/site-packages/alpha_vantage/alphavantage.py", line 176, in _format_wrapper
    data = call_response[data_key]
KeyError: 'Time Series (15min)'
2018-04-22 08:57

Additional information:

Oh, I see this was recently updated and that will be included in 0.68. Maybe this will be resolved then - I'll try the pre release.

I just tried the pre-release, but I got another unrelated exception. It looked much more serious, but unrelated to alpha vantage. So I downgraded again, I'll try again later when I have more time.

... and this seems to be working fine now. So maybe it was an API issue. I'll close this and maybe reopen if it is working.

(sorry, I failed to actually close it it seems)


ValueError when using rclone.hash()

Hello,
I am currently facing an issue where I am computing the hashes for every file in a bucket on my Wasabi remote directory. The hash command was working properly without errors on my local machine for testing, with the same remote linked up.
However, when it came to the production machine running my code, the error is there.
Error trace:
Traceback (most recent call last):
  File "/root/rclone-backup-filechecker-python/main.py", line 145, in <module>
    main()
  File "/root/rclone-backup-filechecker-python/main.py", line 43, in main
    dict_of_remote = get_hashes_from_files_remote(remote_path)
  File "/root/rclone-backup-filechecker-python/main.py", line 53, in get_hashes_from_files_remote
    result = rclone.hash(HashTypes.md5, remote_path)
  File "/usr/local/lib/python3.10/dist-packages/rclone_python/rclone.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/rclone_python/rclone.py", line 507, in hash
    value, key = l.split()
ValueError: too many values to unpack (expected 2)

My code: https://gitlab.atfdev.co.uk/alicethefemme/rclone-backup-filechecker-python
Does anyone know why this might be happening? Thanks!

Upon further inspection of the error, the line 522 in rclone.py is the issue. Not sure what is causing this error, but will have to check.

I managed to fix this using #43 to fix the error. The pull request passed without any other errors in CI/CD


help

I can not run on the 🚜

Yes, not being able to run the tractor is a common problem, but it can have lots of different causes.
To narrow down on your issue: Can you give some more details? E.g. type label and license tag of your tractor?
Finally, please run   and tell me if this resolves your problem.
(btw sorry for the late answer, I was not busy writing code)

Yes, not being able to run the tractor is a common problem, but it can have lots of different causes.
To narrow down on your issue: Can you give some more details? E.g. type label and license tag of your tractor?
Finally, please run   and tell me if this resolves your problem.
(btw sorry for the late answer, I was not busy writing code)

Ooooooooh, just seen your edit. Sorry, I must have totally gotten this wrong. It wasn't about running the :tractor: itself, it was running the code on the tractor! Good thing we settled this misunderstanding.
Unfortunately, I don't have much experience area of the project myself, but I have some general life advice for you:

I don't know any specifics about the momentum of the :tractor: and your relative position, but in case it's currently moving towards you at more than, like, 5 m/s, you may want to make a step to the side, shortly before the :tractor: enters the spot where you are currently standing. I have never done this myself and would in no way consider myself an expert in this, but people who have done this usually report what a great feeling it is not to be brutally knocked over by a :tractor:.
The same is valid in case the tractor is hovering over your current position, even if it's not currently moving towards you. Tractors generally tend not to hover there for very long, so please consider stepping out of the way. Reportedly, even if the tractor is currently moving upwards, this may equally fast change, and the tractor will start falling down. Again, no personal experience, but reportedly it's a great feeling to be in one piece.


Log all disk creation at DEBUG, not just data disk

Aides in debugging disk creation issues.

minor suggestion, 👍  lgtm


[deps] update to latest revenge

requirements
as per title, there are some breaking changes
specs
{optional: describe technical specs to implement this feature, if not obvious}
misc
{optional: other useful info}

closed by 72da0eecdeb9ff9992125596f8a5dbb971a9868c


[locale] Remove abbreviation period for may in SL locale

In the Slovene language the word for month may is maj and does not need to be abbreviated with a period like other months.
Mentioning original author for approval as per contributing instructions:
@sedovsek

Coverage decreased (-0.06%) to 88.352% when pulling d5de50f35799545ec9bdf32beeae12f663019cc5 on janezkranjc:fix_sl_short_month_may into 13a61b285c095bda7ea8e33156090ea5ccfeaef1 on moment:develop.

Coverage decreased (-0.06%) to 88.352% when pulling d5de50f35799545ec9bdf32beeae12f663019cc5 on janezkranjc:fix_sl_short_month_may into 13a61b285c095bda7ea8e33156090ea5ccfeaef1 on moment:develop.

Coverage decreased (-0.06%) to 88.352% when pulling d5de50f35799545ec9bdf32beeae12f663019cc5 on janezkranjc:fix_sl_short_month_may into 13a61b285c095bda7ea8e33156090ea5ccfeaef1 on moment:develop.

I am a native speaker and this is also easily verifiable in any dictionary. Can this get merged?

Dear all,
Yes – these changes make sense. Thanks!
Best,
Robert.

So I've been doing a bit of research and apparently the abbreviation is ok because when a calendar date is abbreviated in such a way the month is in the second declination which would make the word: maja and gets abbreviated to maj.
So, maybe it's best to just close this and not merge it.
Here's a source (in slovenian)
https://www.lektorsko-drustvo.si/jezikovni-pogovori/pisanje-datumov-v-slovenscini


Corrected positional arguments for NS profile creation

It seems there were some typos, positional variables were overlapping each other. Also I have put a default output file name.

LGTM. @bewest / @jasoncalabrese, any reason not to merge this?


Fix VS2013 build failures.

VS 2013 does not accept defaulting the move constructor.  This fixes the build problems with it.

Pushed upstream as 2e644e45785bb221294c32bf02a4ac867de49dc4


Fix auto suggestion example

Thank you! Merged in: https://github.com/jonathanslenders/python-prompt-toolkit/commit/cc0f785fbbcb47e551c1dadc2faa02733b61c0c3


chore(v3.0.0-alpha.2): updated version for npm release

affects: @buildit/gravity-ui-web
Release v3.0.0-alpha.2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unsopported default language

I'm trying to translate messages, but the string is never found. I specified as default language in app.conf "it", with i18n.default_language = it. This is my structure:
app/
    messages/
        user.it

And the content of user.it:
user_not_found=User not found.
wrong_credentials=Wrong credentials.

Then in my controller I try to retrieve the message with c.Message("user_not_found"), but the string is never found. Log (terminal) content:
2017/07/07 16:42:46 i18n.go:228: Unable to read locale cookie with name 'REVEL_LANG': http: named cookie not present
2017/07/07 16:42:46 i18n.go:193: Found Accept-Language header value: it-IT
2017/07/07 16:42:46 i18n.go:63: Unsupported language for locale 'it-IT' and message 'user_not_found', trying default language
2017/07/07 16:42:46 i18n.go:66: Using default language 'it'
2017/07/07 16:42:46 i18n.go:70: Unsupported default language for locale 'it' and message 'user_not_found'

The messages folder needs to be at the same level as the app folder - see the i18n example app here
https://github.com/revel/examples/tree/master/i18n

Oh, well thank you, maybe it's better to update the documentation, the structure is wrong: https://revel.github.io/manual/i18n-messages.html

O wow it totally is, thanks for pointing that out .. Sorry about that..
BTW like the goatee

Ahah no problem, I updated the comment, BTW thank you, I like revel, so we are ok I suppose (?)
Can you check the other issue about cache with no expiration? Thank you!


Doesn't work with the latest meteor

Meteor <IP_ADDRESS>
While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to
publish it for your platform.

Hi, the problem is that I haven't published binaries at all for any platform. When I was creating this package I didn't know that I have to. You can solve this by installing node-canvas for your operating system by yourself.
Right now I don't have time to deal with it because I'm busy with development of the Astronomy package

Got it.
Btw. astronomy is awesome!


Figuring out 'txInfoSignatories' format

I have a validator that is fairly straight forward:
validateSpend :: ValidatorType Burner
validateSpend (MyDatum addrHash) _myRedeemerValue ScriptContext { scriptContextTxInfo = TxInfo { txInfoSignatories = [addr] } } =
   addrHash == sha3_256 (getPubKeyHash addr)
validateSpend _ _  _ = traceError "Expecting exactly one signatory."

I compiled this plutus script, built a transaction manually and can lock funds successfully. I do this via wallet api, cardano-cli and other cli tools, because plutus isn't complete yet.
Now I want to lock funds for myself, so I can redeem them, but in order to do that I need to understand the exact format/encoding/hashing of txInfoSignatories. I've been searching for hours and tried many variations, using the wallet pubkey, account pubkey, address pubkey, hashing with Blake2b_224 etc. pp.
I find it hard to find in the documentation 1) what exact pubkey is this and 2) what exact hash/format is this and how can I create this hash from the command line given that I have full access to the wallet that signed the transaction.
All my attempts so far redeeming the funds ended with:
Command failed: transaction build  Error: The following scripts have execution failures:
the script for transaction input 0 (in the order of the TxIds) failed with The Plutus script evaluation failed: An error has occurred:  User error:
The provided Plutus code called 'error'.

Thanks.

@luigy still doesn't work for me. With latest cardano-node etc I get:
Command failed: transaction build  Error: The following scripts have execution failures:
the script for transaction input 0 (in the order of the TxIds) failed with:
The Plutus script evaluation failed: An error has occurred:  User error:
The provided Plutus code called 'error'.
Caused by: [ (force (builtin headList)) (con list (data) []) ]

The full code is here: https://git.io/JPD3v

Ok, I was able to track down the issue further.
As described above, we use a redeemer dummy type, because whether redeeming works or not is supposed to be discovered by the txInfoSignatories, not the redeemer datum:
-- | Redeemer holds no data, since the address is taken from the context.
newtype MyRedeemer = MyRedeemer { _nothing :: () }
PlutusTx.makeLift ''MyRedeemer
PlutusTx.unstableMakeIsData ''MyRedeemer

I followed down the code of cardano-api in the node, which apparently does the json encoding/decoding: https://github.com/input-output-hk/cardano-node/blob/d95ef21062a50acf8f35f1f5d94f8a8a70f7510b/cardano-api/src/Cardano/Api/ScriptData.hs#L431
In a repl, I was then able to generate the the json from the node code directly:
> Data.Aeson.encode $ scriptDataToJson ScriptDataJsonDetailedSchema $ (fromPlutusData $ builtinDataToData $ toBuiltinData (MyRedeemer ()))
"{\"constructor\":0,\"fields\":[{\"constructor\":0,\"fields\":[]}]}"

In my code, I tried the json values "", "{\"constructor\":0,\"fields\":[]}" and some other combinations, but none of them match the above. After fixing that, I could submit the redeem transaction and got a different error:
the script for transaction input 0 (in the order of the TxIds) failed with:
The Plutus script evaluation failed: An error has occurred:  User error:
The provided Plutus code called 'error'.
Script debugging logs: owner has not signed
PT5

This is much better. Now the script actually tells me that it couldn't find the signature in the txInfoSignatories. After further tests, these apparently evaluate to an empty list, although I'm passing --required-signer to cardano-cli transaction build.
So that's at least some progress.

@hasufell nice, well done. With the new error you might be bumping into a bug that was fixed by https://github.com/input-output-hk/cardano-node/pull/3319 in which PaymentExtendedKeys were being dropped from requiredSignatories list. I skimmed through how your keys are being converted and it might be the case
https://github.com/hasufell/proof-of-burn-cardano/blob/26bfa911a371d37e69812321bc787df933e03d92/docker/cardano-cli/wallet.sh#L343
https://github.com/input-output-hk/cardano-node/blob/d95ef21062a50acf8f35f1f5d94f8a8a70f7510b/cardano-cli/src/Cardano/CLI/Shelley/Run/Key.hs#L533

Ok, I was able to track down the issue further.
As described above, we use a redeemer dummy type, because whether redeeming works or not is supposed to be discovered by the txInfoSignatories, not the redeemer datum:
-- | Redeemer holds no data, since the address is taken from the context.
newtype MyRedeemer = MyRedeemer { _nothing :: () }
PlutusTx.makeLift ''MyRedeemer
PlutusTx.unstableMakeIsData ''MyRedeemer

I followed down the code of cardano-api in the node, which apparently does the json encoding/decoding: https://github.com/input-output-hk/cardano-node/blob/d95ef21062a50acf8f35f1f5d94f8a8a70f7510b/cardano-api/src/Cardano/Api/ScriptData.hs#L431
In a repl, I was then able to generate the the json from the node code directly:
> Data.Aeson.encode $ scriptDataToJson ScriptDataJsonDetailedSchema $ (fromPlutusData $ builtinDataToData $ toBuiltinData (MyRedeemer ()))
"{\"constructor\":0,\"fields\":[{\"constructor\":0,\"fields\":[]}]}"

In my code, I tried the json values "", "{\"constructor\":0,\"fields\":[]}" and some other combinations, but none of them match the above. After fixing that, I could submit the redeem transaction and got a different error:
the script for transaction input 0 (in the order of the TxIds) failed with:
The Plutus script evaluation failed: An error has occurred:  User error:
The provided Plutus code called 'error'.
Script debugging logs: owner has not signed
PT5

This is much better. Now the script actually tells me that it couldn't find the signature in the txInfoSignatories. After further tests, these apparently evaluate to an empty list, although I'm passing --required-signer to cardano-cli transaction build.
So that's at least some progress.

I was also stuck with the same issue (wrong redeemer format), we are also not using the redeemer and were passing [] as a dummy redeemer value. For the longest time, we were looking into the Datums because we were not using the redeemer so we didn't think the problem was there, if not were for your finding we would still be looking.
This was the error we were getting:
The Plutus script evaluation failed: An error has occurred:  User error:
The provided Plutus code called 'error'.
Caused by: [ (builtin unConstrData) (con data #80) ]

@hasufell nice, well done. With the new error you might be bumping into a bug that was fixed by input-output-hk/cardano-node#3319 in which PaymentExtendedKeys were being dropped from requiredSignatories list. I skimmed through how your keys are being converted and it might be the case https://github.com/hasufell/proof-of-burn-cardano/blob/26bfa911a371d37e69812321bc787df933e03d92/docker/cardano-cli/wallet.sh#L343 https://github.com/input-output-hk/cardano-node/blob/d95ef21062a50acf8f35f1f5d94f8a8a70f7510b/cardano-cli/src/Cardano/CLI/Shelley/Run/Key.hs#L533

I rebuilt with that commit and it indeed fixed it and I could submit the redeem transaction to testnet and it apparently validated correctly and I got my funds back.
So, to reiterate (I'll probably write an article on it too):

feed your data (either Datum or Redeemer) to the function Data.Aeson.encode . scriptDataToJson ScriptDataJsonDetailedSchema . fromPlutusData . builtinDataToData . toBuiltinData to figure out the final encoding
make sure to use cardano-cli transaction build --tx-in-redeemer-file $FILE1 --tx-in-datum-file $FILE2 with files that contain the json content from the step above when constructing transactions (details: there are two json schemas for decoding... the extended one ScriptDataJsonDetailedSchema is used when reading files as opposed to direct json strings and has better errors in my experience)
make sure to run at least with cardano-cli commit d95ef21062a50acf8f35f1f5d94f8a8a70f7510b, so txInfoSignatories are not dropped
if the script fails without a PT<int> error, it didn't even manage to evaluate, but failed during decoding
generating wallet pubkey (e.g. for use in datum or redeemer) can be done like so: cardano-cli address key-hash --payment-verification-key "$(echo "<your recovery phrase>" | cardano-address key from-recovery-phrase Shelley | cardano-address key child "1852H/1815H/0H/0/0" | cardano-address key public --with-chain-code)" (make sure to include it via cardano-cli transaction build --required-signer=key.skey, which requires the signing key of the same derivation path... I also had to set --witness-override 2, not sure if that's still needed)

Thanks for all your help.

@AngelCastilloB glad to hear

Nice! :tada:


caseInsensitive error: expected a Terminal (e.g. "abc")

ohm-js version: 0.14.0
i got an error after moving my working grammar from the online ohm-editor to my node program.
when running the following in node:
// test.js
const ohm = require('ohm-js')

ohm.grammar(`
Test {
  Match = i<"foo">
  i<x> = caseInsensitive<x>
}
`)

it fails with the error, complaining about the rule i<x>, apparently:
~/Programming/sceditor $ node test.js
/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/errors.js:233
      throw errors[0];
      ^

Error: Incorrect argument type: expected a Terminal (e.g. "abc")
    at createError (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/errors.js:20:9)
    at Object.incorrectArgumentType (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/errors.js:143:10)
    at Apply.pexprs.Apply._assertAllApplicationsAreValid (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/pexprs-assertAllApplicationsAreValid.js:98:20)
    at Apply.pexprs.PExpr.assertAllApplicationsAreValid (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/pexprs-assertAllApplicationsAreValid.js:24:8)
    at /Users/n642275/Programming/sceditor/node_modules/ohm-js/src/GrammarDecl.js:115:12
    at Array.forEach (<anonymous>)
    at GrammarDecl.build (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/GrammarDecl.js:107:30)
    at Semantics.Wrapper.Grammar (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/main.js:85:20)
    at Operation.doAction (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/Semantics.js:659:16)
    at Operation.execute (/Users/n642275/Programming/sceditor/node_modules/ohm-js/src/Semantics.js:627:18)

replacing the application of i<"foo"> with righthand caseInsensitive<"foo"> is a workaround the issue.
it works in the online editor, which doesn't complain about this. might be that the hosted ohm-js script version is newer/older than the npm package?

@alexwarth @pdubroy
i see the npm version is 0.14 and the latest version on github is 0.15.
would you mind npm publish the latest version?

dead project

why is it though? last commit is from february this year, so i didn't assume it was dead? sorry to see a waste of good energy.. in these great, fast-changing, fast-forward times

I wish I knew. But it's quite obvious when the npm is  not updated and issues remain unanswered for months that something is fundamentally broken here. Maybe work goes on elsewhere?

OTOH. you can install the github version from npm with just npm i harc/ohm I think.

Hi htor,
The issue is that the caseInsensitive rule is not actually a rule. In fact, if you look at the code you'll see that we called it "case insensitive terminal". It exists to give the author of a grammar a way to express that a terminal is not case sensitive (which is what you get by default in Ohm). At the time, @pdubroy and I spent considered just adding a different syntax for case-insensitive terminals, but in the end we decided on this pseudo-rule because it is more explicit. The down side is that the fact that it's not a full-fledged rule is also confusing, as you've discovered. Sorry about that!
And to address ashnur's comment: yes, it's been some time since we last made any changes to the code, or published a new version of the npm. But this project is certainly not dead! I for one am still using Ohm in a bunch of different projects.
Best,
Alex


Upgrade to latest protoc-gen-go

Right now we are using an older version of protoc-gen-go:
https://github.com/spacemeshos/api/blob/1b0c5bd2bc25ce694d4ddbd0c8649f87df7be3c0/Makefile#L106
The newest version lives at google.golang.org/protobuf/cmd/protoc-gen-go; see https://developers.google.com/protocol-buffers/docs/reference/go-generated and https://github.com/protocolbuffers/protobuf-go/releases.
However, since v1.20.0 this breaks grpc, see golang/protobuf#1053. The changes have landed but are unreleased.
Consider upgrading when this is all sorted out.

I now see a v1.25.0 of protoc-gen-go at https://github.com/protocolbuffers/protobuf-go (see https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.25.0). We appear to have v1.24.0 pinned via github.com/golang/protobuf/protoc-gen-go.


Gray or Dim the run button instead of having it does nothing

Observed during  walkthrough with BJ & Rob
Steps to reproduce
Expected result
Actual result
(include screen grabs where appropriate)
Environment and GUI version

Fixed already by earlier fixes.


Release v0.22.1

This just updates the changelog.  The only change included in v0.22.1 is a cherry-pick of #520.

LGTM


Update image_segmentaion.py

fix the funny pallete for visualizing voc labelling map.

Are you sure the generated pallete is exactly the same with original?

yes
On Thursday, 29 September 2016, Eric Junyuan Xie<EMAIL_ADDRESS>wrote:

Are you sure the generated pallete is exactly the same with original?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/pull/3413#issuecomment-250531482, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AArhc8i3oKfy64hdhYI1jRSucVCuNVfrks5qu_IXgaJpZM4KKPzl
.

--
郑帅
Shuai Zheng (Kyle)
http://kylezheng.org/

@piiswrong  this look good to me, except for the tab space. thanks @bittnt .

@bittnt I have a GPU permutohedral lattice implementation at https://github.com/piiswrong/permutohedral as mxnet plugin. Please have a look if interested

@piiswrong nice. I will have a look on this.


remove async

Detailed Description
Remove async routes and awaits as fast api will already run concurrently
Context

api seems to get blocked at the moment

Possible Implementation
remove async and `awaits

@simlmx Simon Lemieux
I did some tests yesterday about that on pv sites yesterday but I couldn’t find the “bug” I was looking for. Normally calling a route twice at the same time should take twice as much time as calling it once, but it wasn’t the case on PV Sites, it was indeed faster. If it runs on multiple processes that could explain it, but I don’t  understand the EBS setup well enough.
I did some tests in a toy project where I set up async def  and def routes with “sleeps” (both with and without await) and indeed having an async def without await inside run in series.

Relevant doc for fastAPI is here:
https://fastapi.tiangolo.com/async/


@hiranya911

@hiranya911
I am using the string value as it is from service account key JSON without the help of environment still it is showing the same error.
Please help its super urgent.
Originally posted by @rahulj3716 in https://github.com/firebase/firebase-admin-python/issues/188#issuecomment-585756045

Please follow up through StackOverflow or contact Firebase support. This is not a support channel. And when you do follow up, please specify the code you're trying to run and any error messages you're seeing.


add x.svg for mobile hamburger

#2 Added a switch between icons according to state

That looks nice now. Thank you @ojaswa1942 :)


Reminders for Process Steps

inge
The StepOptions above are to help the user get reminders for documents they need to process, and this should be done to all stepUsers(public + team + user) based on the option they select.
You are required to do a feature discovery and implement a functionality that will add this support. This probably is going to be cronjob or a background deamon. However you choose to do it. It should work effectively and not eat up our server CPU cycles because of probably some infinite loop.
Also consider that at any given point in time we may have x number of steps for thousands of processes so your implementation should be simple and should work well under these conditions

This was done


Web API Permission Requests are shown twice in API Management

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
When a SPFx solution is installed the Web API Permission Request should be showed once in the API management.
Observed Behavior
When I install a SPFx solution with 'webApiPermissionRequests', the API Management shows the same request twice in Pending Approval.

Steps to Reproduce
Install a SPFx solution with one webApiPermissionRequest.
"webApiPermissionRequests": [
     {
        "resource": "**********.SPFx.API",
        "scope": "user_impersonation"
      }
    ],

Tried several different solutions, all have the same issue in our tenant.

What are the exact steps that you're following? Every time you deploy the solution in the app catalog, a new permission request will be added to the list. Could it be, that you deployed your solution multiple times?

I'm able to reproduce it by dragging and dropping a solution in the App Catalog and overwritting an existing solution. Next I check-in the file.
After drag/dropping the package, it's checked out in the library and only one approval request is added. When I check-in the file, the second Approval Request is created for the same solution.

Right, so the solution has been previously deployed and you're updating it, which triggers re-issuing the permission requests from the solution.

The UX here has a few issues.  Here's a (not complete) list of what we are addressing around here.  Errors will be reported in the UX (not as a red line saying 400 error), duplicates won't show up, and each permission for the same service scope will appear separately (so 4 permissions against graph will show up as 4 lines).

Web API Permission Request is not shown in my API Management

Was the solution deployed without any errors?

The other thing to check is if it was deployed less than 20 minutes after you created the app catalog. If it was, redeploy and they will appear.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Waldek Mastykarz<EMAIL_ADDRESS>Sent: Thursday, March 29, 2018 3:05:07 AM
To: SharePoint/sp-dev-docs
Cc: Pat Miller (SHAREPOINT); Comment
Subject: Re: [SharePoint/sp-dev-docs] Web API Permission Requests are shown twice in API Management (#1389)
Was the solution deployed without any errors?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/SharePoint/sp-dev-docs/issues/1389#issuecomment-377187715, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADl-SUwHEZIB8cWlwb_69vOPrq4WlgFwks5tjLHTgaJpZM4SPBT-.

no ,there were no errors when solution deployed.

Right, so the solution has been previously deployed and you're updating it, which triggers re-issuing the permission requests from the solution.

Is there any plan to address this? Or is there an alternate way to update a solution? Having to tell a user to delete requests anytime they update our app isn't an ideal solution.

Hey @lworkman - is your question "will the admin page stop showing requests for scopes that have already been granted"?  If so, the answer to that is yes.  It's a bug, and we will get it cleaned up.

Thanks for the info @patmill - is there an github issue somewhere I can subscribe to?

Not that I am aware of.  I know we have our own "clean up the admin UX" work item on our backlog.

@patmill any progress on this?
During development this means getting LOTS of requests in the admin panel.
Also, it seems there is a limit of 100 items that are being shown in the list.

'Also, it seems there is a limit of 100 items that are being shown in the list.' - indeed there is a limit in /PermissionRequests endpoint and those /Deny calls seem to be a workaround here (kind of server side cleanup driven by client side script) - each call 'abandons' single past deployment; so basically - (1) if you deploy new version of SPFx packages quite often and (2) you don't access 'API access' page in SP admin on daily basis (i.e. during morning cup of coffee) THEN you notice how messy (and funny) this design is;
what I can advice is to add an extension to your browser (there are many e.g. in Chrome Web Store) that reloads the page after specified delay - in this case 15 seconds was enough for us (you need to refresh page and wait few seconds for those 100 calls to complete - they are pretty quick though) - and leave it for some time (minutes/hours - depending i.e. on how early you realized about this design flaw) - after this you should be able to approve new permission requests (however I'm not sure how it looks if there are more than 100 permissions being used on single tenant in total - thankfully we have not reached this point on our environment so far);

This issues should be fully solved and fixed, given the work we have done in engineering in this area. To ensure that we clean up the backlog of the issues, we will be closing this one. If you still have issues on this particular area, please open up a new issue so that we can get updated issue description and reproduce steps. We do apologize the non-optimal handling of these old issues and are looking into improving this in future.


[osg] build with set(osg_OPENGL_PROFILE GLES2+GLES3) failure

Operating system
Windows 10 x64
Compiler
VS 2019
Steps to reproduce the behavior

add 'set(osg_OPENGL_PROFILE GLES2+GLES3)' to file '.\vcpkg\triplets\x64-windows.cmake'
call cmd at folder '.\vcpkg' and run install command 'vcpkg install osg:x64-windows'

Failure logs
Computing installation plan...
warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows. Consider using --triplet x86-windows or --triplet x86-uwp.
The following packages will be built and installed:
<EMAIL_ADDRESS>Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\lenovo\AppData\Local\vcpkg\archives in 255 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz.
-- Cleaning sources at D:/Devs/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Devs/vcpkg/downloads/openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz
-- Applying patch link-libraries.patch
-- Applying patch collada.patch
-- Applying patch fix-sdl.patch
-- Applying patch fix-nvtt-squish.patch
-- Applying patch plugin-pdb-install.patch
-- Applying patch osgdb_zip_nozip.patch
-- Applying patch openexr3.patch
-- Applying patch unofficial-export.patch
-- Applying patch fix-min-max-macro.patch
-- Applying patch fix-error-c3861.patch
-- Using source at D:/Devs/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
Working Directory: D:/Devs/vcpkg/buildtrees/osg/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\Devs\vcpkg\buildtrees\osg\config-x64-windows-dbg-CMakeCache.txt.log
D:\Devs\vcpkg\buildtrees\osg\config-x64-windows-rel-CMakeCache.txt.log
D:\Devs\vcpkg\buildtrees\osg\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
D:\Devs\vcpkg\buildtrees\osg\config-x64-windows-rel-CMakeConfigureLog.yaml.log
D:\Devs\vcpkg\buildtrees\osg\config-x64-windows-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
ports/osg/portfile.cmake:94 (vcpkg_cmake_configure)
scripts/ports.cmake:192 (include)
error: building osg:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle osg:x64-windows: 42 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+osg
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[osg]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2FDevs%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md[config-x64-windows-dbg-CMakeCache.txt.log](https://github.com/user-attachments/files/17539924/config-x64-windows-dbg-CMakeCache.txt.log)
Files:
config-x64-windows-dbg-CMakeConfigureLog.yaml.log
config-x64-windows-out.log
config-x64-windows-rel-CMakeCache.txt.log
config-x64-windows-rel-CMakeConfigureLog.yaml.log
Additional context
No response

Is there any way to fix this problem ?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EGL_LIBRARY (ADVANCED)

The port osg does not explicitly depend on egl. If you're using classic mode, just install egl before installing osg. If you're using manifest mode, create an overlay port for osg and add egl into its manifest.

I have solved this problem. The reason is the cmake options osg_OPENGL_PROFILE can not read from file ".\triplets\x64-windows.cmake", but from ".\ports\osg\portfile.cmake" at line 80. We can replace "set(osg_OPENGL_PROFILE "GL2")" to "set(osg_OPENGL_PROFILE, "GLES2+GLES3")" and delete the folder ".\buildtrees\osg" if you have built once. Then execute "vcpkg install osg:x64-windows" again.

The reason is the cmake options osg_OPENGL_PROFILE can not read from file ".\triplets\x64-windows.cmake", but from ".\ports\osg\portfile.cmake" at line 80.

This is not right. Line 80 isn't reached when the triplet sets osg_OPENGL_PROFILE.
And the initial CMakeCache.txt.log proves that with
OPENGL_PROFILE:STRING=GLES2+GLES3


[ValueError: invalid dmin dmax] during training.

I took 24 photos of a scene within close orientation and distance. However when I tried to train the model, it crashed and throw an exception
"train.py" in <module>   785:  train()   train.py "train.py" in train   559:  ), dataset.sfm)   train.py "train.py" in __init__   312:  raise ValueError("invalid dmin dmax")   train.py ValueError: invalid dmin dmax
In the Setup environment procedure, the results are:
Points (973, 3) Visibility (973, 24) Depth stats -4.047071137830014 47.063423996075706 14.221906796195023
I succeeded in training with 12 photos before. However this time it goes wrong.
Due to some privacy reason, I cannot attach the photos here, sorry for that.

Some previous logs in the training procedure.
Loaded data/demo -3.68708241275155 41.57292747755938 recentered (3, 4) no planes.txt or bounds.txt found Overriding offset 200-> 80 dmin = -3.137571, dmax = -7.258236, invz = 0, offset = 80 TRAINING IMAGES: 21 VALIDATE IMAGES: 3

Sometimes, COLMAP reconstructs point clouds behind the reference camera which causes negative distances from the camera to planes. (invalid dmin/dmax approximation) We recommend you to use different images for training or capture new images of that scene again.

Sometimes, COLMAP reconstructs point clouds behind the reference camera which causes negative distances from the camera to planes. (invalid dmin/dmax approximation) We recommend you to use different images for training or capture new images of that scene again.

However, there must exist some constraints of the photos. I tried several times with different scenes, and it happens frequently. So I guess something I did is wrong.


Display workspace ID in API keys

Description

People constantly ask us where to find their workspace ID and we always answer "after the w in your URL". This is just bad UX
Let's make the workspace ID available neatly :)

Risk

Deploy Plan

Discussed IRL will review once Ed's reco is implemented 🙇🏻♀

Added modal with workspaceid and API key after creation
https://github.com/user-attachments/assets/12bb5277-de19-42fb-9c17-6bed61ef09b7

Thanks! I tried it locally and it works well, I'm a bit worried about the fact if they close the modal there's no way to open it back and it was wondering if maybe we could allow opening it back while we still display the key.

If the modal is closed, the key is still displayed fully in the list for 10 minutes :)

If the modal is closed, the key is still displayed fully in the list for 10 minutes :)

Yes, that is not what I'm saying on my message! I am saying that if you close the modal you cannot reopen it (while you can still access the key) which seems maybe not the best UX to me. But I'm no designer!


HTTP 500 internal server error

I'm getting 500 internal server error when invoking the chat request. Please let me know what I should be checking in order to provide additional information.

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Microsoft.SemanticKernel.HttpOperationException: Rate limit is exceeded. Try again in 2 seconds.
Status: 429 (Too Many Requests)
ErrorCode: 429
Maybe I have reached the max rate for open ai

Hi @emleblanc365
yes it's seems that you hit the rate limit for openai requests
You can check the details on limits and how to request more here: https://learn.microsoft.com/en-us/azure/ai-services/openai/quotas-limits
Best


Search in multiple fields

Hello.
I have an issue that once i managed to resolve. But the solution is not working anymore.
I want to filter among people according to two different criteria : name and email.
Separately.
For example if I have a person called Francesco Totti with email<EMAIL_ADDRESS>i would like that will show up that person by searching 'francesco' or 'roma'
I thought i had found a solution with this code:
 -->
but somehow is not working anymore.
I would like to ask: that is still the proper way to procede?
How exactly can i obtain to search in multiple fields with angular ui-select?
Thank you!

See propsFilter in examples: https://github.com/angular-ui/ui-select/blob/cb75ecff41be55c1a835b59156470eab737a32b4/examples/demo.js#L7


fix: router Expected "0" to be defined

Types of changes

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

Description

Fix https://github.com/vuejs/vue-router/issues/2496
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #4394 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #4394   +/-   ##
=======================================
  Coverage   91.29%   91.29%
=======================================
  Files          56       56
  Lines        1919     1919
  Branches      482      482
=======================================
  Hits         1752     1752
  Misses        155      155
  Partials       12       12

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 744f402...ca3552b. Read the comment docs.

related change in Vue Router: https://github.com/vuejs/vue-router/blob/v3.0.2/src/create-matcher.js#L193

Tested it recently on my project and solved the error that I got earlier. Thanks for such a fast response and fix!


Unpooling Layers for Conv AE

Are there any plans for implementing unpooling layers for convolutional autoencoders or FCN's, like the ones described in section 3.2.1 in Hoh - "Learning Deconvolution Network for Semantic Segmentation"?

We were getting good performance using strided deconvolution instead of unpooling. Have you tried using that?

Thanks for the quick response. Currently trying out something similar in architecture to the conv-ae example. I'll let you know how it goes.

@eracah I would also like to see how to use unpooling instead of strided deconvolution ? Please do share your results and implementation once you're done. Thanks!

@eracah +1, i would have thought unpooling to more effective? anyway, isn't there a way to do it using just the autodiff of the pooling layer (using last convolutional maps as inputs) ?

Hi,
Though we'd love to see a pull request for this, we don't have any plans internally to implement unpooling layers at this time.
If you want to see a successful application of the strided deconvolution approach, I'd recommend checking out @anlthms ' right whale localizer code


please update documentation license grant

Similar to libkv, please update license grant for documentation with proper statement (including version of the license) and the scope of the license. Thanks.

@onlyjob looks like this can be closed now that https://github.com/docker/swarm/pull/1474 is merged?

As far as I'm concerned #1474 is not a perfect fix due to noise and unconventional text of the license grant. Why not apply license as recommended? Canonical text of the license grant makes automatic detection easier...
At very least I would drop "All rights reserved, except as follows.";
replace "under the terms and conditions set forth" with "also included"
and replace "a duplicate copy of the same" with "the full text of the".
Also it may be better to use the same license for documentation and code.

Closing due to lack of activity. Please reopen if you wish to continue discussing it.


Remove extraneous symlink at /home/vmagent/app/app

Currently, /home/vmagent/app/app is a circular symlink to /home/vmagent/app
Caused by running 'ln -s /home/vmagent/app /app' twice, once in the
python-runtime Dockerfile, and a second time in this Dockerfile.

Yep, looks like a good call to me. LGTM, please merge.


MinibatchDiscrimination layer

Added the MinibatchDiscrimination layer described in Improved Techniques for Training GANs, as brought up in #3615 .
I added an example script for a MNIST DCGAN that uses the layer. Without the layer the GAN collapses to a single point (blank space) within 3 epochs. Ideally there should be BatchNormalization layers in the net, but I was unable to get it to run with those layers. With a mode=0 layer, I get the possibly expected "Exception: You are attempting to share a same BatchNormalization layer across different data flows. This is not possible.". With a mode=2 layer, compilation failed with "ValueError: Dimension 3 in Rebroadcast's input was supposed to be 1 (got 8 instead)" when running the first training batch on the discriminator.
The example works without the BatchNormalization layers, the generated samples are just not as high quality as those in the paper.
I also added a testing script with what seems to be the standard layer tests. The tests passed when I removed "-n 2" from the test run options (doesn't play nice with my computer). Didn't commit any changes to the pytest.ini

I am not sure this deserves a new layer (in fact, a new module). This can be implemented simply as a Dense layer with bias=False and activation=None followed by a Lambda layer.
I suggest that you remove the custom layer and incorporate the layer into your GAN example as a Dense + Lambda layer. The GAN example is a welcome addition to the example bank.

I made a new module because it didn't seem to fit into any other module (Core?), but it can be moved. How could I use the Lambda layer to concatenate the output of the Dense layer (with modifications) to the input of the Dense layer?

How could I use the Lambda layer to concatenate the output of the Dense layer (with modifications) to the input of the Dense layer?

You use a Lambda that takes two inputs.

Would this require that I use the functional API?

@fchollet do I need to use a Merge layer to accomplish this?

I can use the functional API as suggested in #2364 but I prefer working with the object-oriented interface.

@LukasMosser What version of TensorFlow are you using? Version r0.12's docs say that this notation should be fine. It also seems very weird that a string is expected here, since that's supposed to be the shape argument (you'd expect integers). You likely get the same error if -1 is replaced with some positive integer. Are you able to use K.reshape in any way which does not error?
It's possible the shape argument is being misinterpreted as 'name', which would be a bug in your version of tensorflow that could result from shape having been made optional, but the argument order not having been preserved. If that's the case, this could be fixed by changing the tensorflow backend call to say shape=shape instead of inserting shape as the second arg.
On a side note, this PR has been lying stagnant since August since I still need to know if it's possible to create the same effect as this custom layer using a Lambda layer with the object-oriented interface, and how to do so.

@mcgibbon Thanks for the quick feedback!
My current tf version is 0.12.0-rc1 . Running the windows gpu version.
I will try your workaround and also check if I can call reshape anywhere without an error.
I think this PR should be revived as many applications of GAN networks perform better with subpixel convolution.

Closing outdated PR. If you still care about the content of the PR, please submit a new PR to master, updated for the Keras 2.0 API.


Auto-Orient to enable Exif rotated images to work

I'm seeing failures to display Exif rotations coming through on the web pages. This commit adds a flag that will rotate the images based on the exif data, and fixes the problem. Interestingly the converted images appear correct when viewed alone, but as part of the web page they are not displayed correctly. I've found bugs in Webkit [1] and Mozilla[2] and I think they are ignoring it. It seems Exif rotation is not well supported anyway. [3]
[1] https://bugs.webkit.org/show_bug.cgi?id=19688
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=298619
[3] http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/

If you add the "-auto-orient" flag, the image is rotated properly, but the script needs more work to support the image rotation functionality.
The problem is not webkit or the browser cutting off the image.  The problem is that the script calculates the height and width of the image before it rotates it.  Then uses the pre-rotated values to generate the HTML template.  So if you look at the HTML output for the rotated image, you will see the height property is all wrong -- that's what's cutting it off.
Best way I can think of to fix this is to grab the orientation when we pull the width and height (around line 392), and if it's 90/270 degrees, swap the width/height values.  However, I couldn't get my imagemagick to tell me %[orientation]  :(


doc: add documentation link to the README

@quintesse don't hesitate to suggest changes to the text. I was not really inspired :p


Mismatch between example and SDK

[Enter feedback here]
Using java example.
AttachmentCollectionPage attachmentCollectionPage = new AttachmentCollectionPage(attachmentCollectionResponse, null);
This line above is listed; however, AttachmentCollectionRequestBuilder the second param is non-nullable. What is an example of something I put in there?

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

ID: d3b984b6-9100-69aa-f0f8-84bcdcea20dd
Version Independent ID: 3f8b622d-becd-f287-98ac-18e408200523
Content: Send mail - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/user-sendmail.md
Product: outlook
Technology: microsoft-graph
GitHub Login: @abheek-das
Microsoft Alias: MSGraphDocsVteam

The code snippet was updated based on the new v6 version and there is no such thing anymore. You can check more info about the new version in the v6 announcement blog post.


looks like a couple of words got swapped when describing the ConfigMa…

…p for kube-dns, just fixing that up

This change is

I signed it as an employee of Red Hat.

Please rebase.

I'll just rebase this during the merge.


⚠ Bofrost.fr has degraded performance

In da2cd93, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 939 ms

Resolved: Bofrost.fr performance has improved in 983b9b3 after 12 minutes.


Specify registry url with new form of docker image name

:tada: This PR is included in version 1.24.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Security]Conducting A Penetration Test On A Router Using Routersploit

Proposed title of article
Conducting a router penetration test
Proposed article introduction
Routers are a priority target of network attacks. Hackers look for vulnerabilities in routers. They then use the vulnerabilities they find to conduct attacks. It is essential to know how they look for these vulnerabilities in order for us to fix them before they are exploited.
In this tutorial, we are going to use routersploit to conduct vulnerability analysis. We are going to be using Kali Linux throughout the tutorial. Anyone using Parrot operating system can follow through.
Key takeaways

Installing routersploit on Kali Linux.
Installing python 3-pip on Kali Linux.
Stepwise process of conducting a router penetration test.
Security measures to take to avoid this kind of network attack.

Article quality
This article will be more in-depth. It will also be beginner-friendly.
References
N/A

@ahmadmardeni1 I have suggested an alternate topic.

Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

@FINCH285
We're really looking for unique/original content, and based on the content provided, it seems that information that you intend to cover is already readily available through the documentation or via many other blog sites.
Could you please expand upon how your content will differ from what is already available through other websites and documentation? We lean towards content that offers an original viewpoint/approach around programming-centric topics.

@hectorkambow
This article will also cover in detail the modules present in routersploit framework. In addition, besides showing how to analyze the routers for vulnerabilities it will also give the readers handy tips on how to secure their routers.


Docs: shallow#isEmpty page seems to have a bug

Page affected: shallow API
Click the isEmpty link and you'll be taken to this page. There doesn't seem to be a corresponding html page for it, like there are for other methods.
Didn't really look too much into what the issue is, but I noticed it while writing tests.

Turns out this was missing from the table of contents in the readme (including the mount one).
Pages have been updated to the latest tagged version.

Thanks @ljharb !


Update gitianbuild docs for bionic

Since ec6d86d, Gitian uses Ubuntu Bionic as the base virtual image instead of Trusty.
Need to update our docs for bionic instead of trusty.
Also might need to update the dependencies to create the bionic image. For example, I needed to follow these steps to add further dependencies to my debian host.

@marcus290 yes, we need to update the docs, but we are no longer using LXC we instead use docker
It's much easier to setup and no longer needs a VM as long as you can run ruby + docker on host machine.

Basically you do this:
sudo apt install docker ruby
git clone https://github.com/devrandom/gitian-builder.git
git clone https://github.com/navcoin/navcoin-core.git
cd gitian-builder
bin/make-base-vm --docker --arch amd64 --suite bionic
USE_DOCKER=1 ./bin/gbuild -j<threads> --commit navcoin-core=<branch> --url navcoin-core=<repo_url> ../navcoin-core/contrib/gitian-descriptors/gitian-<os>.yml

Using LXC required a VM to run LXC vm inside.
The new process using docker can be run from host machine, so much easier to setup and less overhead requirement on performance.


Allow to connect to server by default in console

When using rails console to manage jobs, one have to connect first to given server via "connect_to".
I believe for most of the apps there will be only one server, so connecting to it by default would be convenient.

Ah yes, definitely! If there's only one app and one server, we should use just that. The UI does this but I forgot about the console.


Changed schedule to show PSF as Silver sponsor #426

This PR updates the leadership_summit_2024.md file to reflect the correct sponsor tier for the Python Software Foundation.
Original text:
10:15 am - 10:20 am: Gold Sponsor Lightning Talk - Python Software Foundation
Updated text:
10:15 am - 10:20 am: Silver Sponsor Lightning Talk - Python Software Foundation
Reason for the change:
The Python Software Foundation should be listed as a Silver sponsor, not a Gold sponsor, in the schedule for the event.
Related Issue:
This change addresses issue #426.

Approved, but in the future please request to work on the issue and wait to be assigned.

I have noticed something that may be of concern and its causing playwright tests to fail. In this specific conference page the Swahili and Spanish translations are not happening thus 404 timeout errors. This is evident in the error file lines 58, 65 and  78.

I have noticed something that may be of concern and its causing playwright tests to fail. In this specific conference page the Swahili and Spanish translations are not happening thus 404 timeout errors. This is evident in the error file lines 58, 65 and 78.

Great catch can you file an issue on this and let's plan to skip those tests and make subsequent issues to correct those issues.


Not clear which is selected in large dropdown

See gif, this is in the Buttons > Dropdown demo.

The selected one doesn't even show up on screen. :)

The physics aren't correct in the dropdown.  It needs the special behavior where it will stay overscrolled until you start scrolling it back in range.  Once you overscroll it less, it shouldn't let you overscroll more.

The old code has a one-frame delay hack to make this work.  The new scrolling system is more resistant to hacking, so we might need to fix this for real without the one frame delay.

The fix for this needs a change in https://github.com/flutter/flutter/pull/8547

Speculatively punting to M3.

A flavor of this was seen in Material Design review:
"Dropdown spinner animate-scrolls when it opens. Shrine > Tap the first item > Tap Quantity dropdown > Choose 5 > Tap the dropdown again : observe dropdown popup content animates/scrolls"
Which I believe is the same underlying bug.  If not, I'm happy to split out a new one @abarth

We should fix this as part of our Material work in the coming months.

Any updates on this problem?

Reproducible on the latest master 1.20.0-8.0.pre.125.

Minimal reproducible sample
// Flutter code sample for DropdownButton

// This sample shows a `DropdownButton` with a large arrow icon,
// purple text style, and bold purple underline, whose value is one of "One",
// "Two", "Free", or "Four".
//
// ![](https://flutter.github.io/assets-for-api-docs/assets/material/dropdown_button.png)

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

/// This Widget is the main application widget.
class MyApp extends StatelessWidget {
 static const String _title = 'Flutter Code Sample';

 @override
 Widget build(BuildContext context) {
   return MaterialApp(
     title: _title,
     home: Scaffold(
       appBar: AppBar(title: const Text(_title)),
       body: Center(
         child: MyStatefulWidget(),
       ),
     ),
   );
 }
}

class MyStatefulWidget extends StatefulWidget {
 MyStatefulWidget({Key key}) : super(key: key);

 @override
 _MyStatefulWidgetState createState() => _MyStatefulWidgetState();
}

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
 String dropdownValue = '30';

 @override
 Widget build(BuildContext context) {
   return DropdownButton<String>(
     value: dropdownValue,
     icon: Icon(Icons.arrow_downward),
     iconSize: 24,
     elevation: 16,
     style: TextStyle(color: Colors.deepPurple),
     underline: Container(
       height: 2,
       color: Colors.deepPurpleAccent,
     ),
     onChanged: (String newValue) {
       setState(() {
         dropdownValue = newValue;
       });
     },
     items: <String>['1' ,'2' ,'3' ,'4' ,'5' ,'6' ,'7' ,'8' ,'9' ,'10' ,'11' ,'12' ,'13' ,'14' ,'15' ,'16' ,'17' ,'18' ,'19' ,'20' ,'21' ,'22' ,'23' ,'24' ,'25' ,'26' ,'27' ,'28' ,'29' ,'30']
         .map<DropdownMenuItem<String>>((String value) {
       return DropdownMenuItem<String>(
         value: value,
         child: Text(value),
       );
     }).toList(),
   );
 }
}

flutter doctor -v
[√] Flutter (Channel master, 1.20.0-8.0.pre.125, on Microsoft Windows [Version 10.0.18362.900], locale et-EE)
   • Flutter version 1.20.0-8.0.pre.125 at C:\Development\flutter_master
   • Framework revision 9c4a5ef1ed (13 hours ago), 2020-07-15 21:41:27 +0100
   • Engine revision 774ae0313d
   • Dart version 2.9.0 (build 2.9.0-21.0.dev 89fe12b12a)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
   • Android SDK at C:\Users\Isa\AppData\Local\Android\sdk
   • Platform android-30, build-tools 30.0.0
   • Java binary at: C:\Users\Isa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763\jre\bin\java
   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
   • All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
   ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Android Studio (version 4.0)
   • Android Studio at C:\Users\Isa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763
   • Flutter plugin version 47.1.2
   • Dart plugin version 193.7361
   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (3 available)
   • SM G950F (mobile)       • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
   • sdk gphone x86 (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
   • Web Server (web)        • web-server         • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

https://github.com/flutter/flutter/issues/8266#issuecomment-280822889
At last master it is possible to show selected one correctly.

The selected one doesn't even show up on screen. :)

At last master it is possible to show selected one correctly.

This is still reproducible on the latest master 1.24.0-8.0.pre.344 with the sample above.

flutter doctor -v
[√] Flutter (Channel master, 1.24.0-8.0.pre.344, on Microsoft Windows [Version 10.0.19041.630], locale et-EE)
    • Flutter version 1.24.0-8.0.pre.344 at C:\Development\flutter_master
    • Framework revision de56c6ad72 (15 hours ago), 2020-11-23 05:28:06 +0900
    • Engine revision 23a8e027db
    • Dart version 2.12.0 (build 2.12.0-62.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\202.7660.26
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (6 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.630]
    • Web Server (web)            • web-server         • web-javascript • Flutter Tools
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 87.0.4280.66
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 86.0.622.68

• No issues found!

But it clearly shows the selected item?
It will be displayed even if you select 15.

The selected item (30) isn't centered. That's also why the issue is about large dropdowns
See https://github.com/flutter/flutter/issues/8266#issuecomment-280822976

https://user-images.githubusercontent.com/11473691/104105562-008d0980-52ea-11eb-832e-7a27f88acd9c.mp4
Is this behavior as expected?
cc @markusaksli-nc @abarth @eseidelGoogle

https://user-images.githubusercontent.com/11473691/104105562-008d0980-52ea-11eb-832e-7a27f88acd9c.mp4
Is this behavior as expected?
cc @markusaksli-nc @abarth @eseidelGoogle

This is certainly a possible fix but whether it's an acceptable solution or not isn't up to me. There should probably be some more discussion about this on your PR.

This is certainly a possible fix but whether it's an acceptable solution or not isn't up to me. There should probably be some more discussion about this on your PR.


add api page

To tell people how to use our api, ref:
https://github.com/cdnjs/cdnjs#api

We can construct this page http://api.cdnjs.com/

I've started working on this here.

@willyb321 I think it's time to claim your bounty on the page 👍

@PeterDaveHello done!

Confirmed!


Enable User Registration and ability to use Koel as Guest

Please I would love You to Enable User Registration and also add ability to use Koel as Guest

Not on my road map, sorry. You can of course fork and implement it yourself.

Hey @bridgeyuwa, I really wanted this feature so I wrote some instructions at https://gist.github.com/rascal999/a7141263386e61a455190b144bd2978b
The solution I used was to have nginx inject some JavaScript on GET / which would set a JWT, seamlessly authenticating the user.


Bump Refinery to Latest Version

Bump Refinery
Update Refinery to latest version

closed via https://github.com/honeycombio/helm-charts/pull/378


Saved games don't check against quest changes

If the quest/scenario has changed the save is no longer valid, but it will try to load anyway.  Perhaps save a hash of the quest with the save?

the idea is that an scenario can be translated without editing the rest of it so a saved game can work for modified scenarios is the scenario changes are only translations. A scenario will have a localization file so the hash could be created from main file only.

Yep, I was think that (at least all ini data, as it is possible to have multiple).

New plan: include the whole quest in the save game (as zip).  Don't think we need to support changes mid quest and this way loading will always work.


As a rock star, I can select the top N populated countries in a region so that I can plan my concerts there

changed actor


Work on experimental speedups

Awhile back you described writing a toned down version of libuv (which I see is partially implemented) and also trying out mtcp. I'm interested in working on this myself, so before I start I just wanted to know if you had any design/details in mind. For example, should I use function pointers to swap in/out the mtcp calls? i.e uws_connect(), which is either set to ::connect() or mtcp_connect()
Also, I seem to recall another branch which you were using to work on this, does that have more work done than the uUV stuff in the master?

I'm unemployed, I cannot afford working on ultra low level stuff nobody uses anyways. I wanted to write a complete TCP stack but it's not going to happen.  I would not use function pointers though but hey nobody cares anyways

Haha, alright. I'll start submitting PRs on this when I can, possibly as early as this weekend.

What I would like to see is a TCP stack with no per socket buffers whatsoever. The driver would just call back with the data as it comes in. Imagine having billions of connections to a single Raspberry Pi. It should be possible, source: gut feeling.

but hey nobody cares anyways

I care but I don't understand why it's not preferred and pretty curious about it. Can I have some enlightenment pls?

The only reason this project has more than 4 users is because it leeches off of Node.js's massive popularity.  If you start to deviate from Node.js by fixing low level stuff that cannot possibly be used in Node.js itself you lose 99% of the interest since it doesn't apply to Nodesters anymore. In fact, even by hinting about the fact that Node.js has terrible performance leads to loss of interest since it doesn't line up with the made up unicorn chocolate land of those 99%. It is basic PR, not tech.

We love JS(and node), and you are creating a silver bullet for us.

If you start to deviate from Node.js by fixing low level stuff that cannot possibly be used in Node.js itself you lose 99% of the interest since it doesn't apply to Nodesters anymore. In fact, even by hinting about the fact that Node.js has terrible performance leads to loss of interest since it doesn't line up with the made up unicorn chocolate land of those 99%. It is basic PR, not tech.

I like the idea of being able to write apps in a scripting language (in this case, JS) while having a performant low-level implementation underneath (uWS). It would be awesome to be able to just swap require('http') with require('uws/http') and get a faster application for free. Compatibility with frameworks is a nice bonus but for me it doesn't matter since most frameworks nullify the performance boosts.


Updated readme with bespoken sections

Ideas behind

I used the MSFT Docs as "copy & paste" target to explain the diffrent layout principals
I used the "Related links" from the Surface Duo compose sample repository
I added the screenshots in full resolution and in shrinked to the project

Sorry in advance

I'm not a native English speaker. There's a high chance of typos and gramma mistakes
I deleted a section to replace it with one of mine - it was not meant to offend anyone

Fixes #30

@tscholze I think the content is fine - it's all relevant to a new reader. I'm familiar with the collapsing details element, but I think it works better for hiding supporting info or log data. For our samples readme let's share everything in an easily discoverable way 😊

Whoop whoop! 🤗


Problems piping output from watch()

Given:
var browserSync = require("browser-sync");
var reload = browserSync.reload;

function fileChanged(event)
{
	gulp.src("./webpack.config.js").
		pipe(webpack.watch(event.path,
		{
			useMemoryFs: true
		}, function(stream, err, stats)
		{
			gulp.src(event.path).
				pipe(webpack.proxy(err, stats)).
				pipe(webpack.format(
				{
					version: false
				})).
				// Resolves relative to webpack.config.js:output.path
				pipe(gulp.dest(".")).
				pipe(reload({stream: true}));
		}));
}

gulp.task("browser-sync", function()
{
	browserSync(
	{
		proxy: "http://localhost:8080/",
		notify: false
	});
});

gulp.task("watch", ["browser-sync"], function()
{
	gulp.watch(buildConfig.srcDir + "**/*.js", ["javascript"]).on("change", fileChanged);
});

I am expecting pipe(reload({stream: true})); to get passed the modified files. Instead, I am seeing webpack.watch() updates files on disk (good!) but pipe(reload({stream: true})); never gets invoked (or maybe it's getting passed an empty list).
Can you reproduce this on your end?
(This used to work in 0.2.8)

@cowwoc As I understand Index.js should exist at target/classes directory. Correct?

Yes, the file is being written but browser-sync is not getting notified. Meaning, I am forced to refresh the browser manually (hitting F5) as opposed to having browser-sync do this for me (yeah, I'm lazy :)).

@cowwoc Please see https://github.com/mdreizin/gulp-webpack-build-issue7/tree/3f3a0c34980a25ec88d1715efcdcb6a6a15c1c9a

@cowwoc Currently it is not working with useMemoryFs. I will fix that.

@mdreizin FYI: I just tested with useMemoryFs = false. browser-sync is still not notified.

@cowwoc Please see the updates https://github.com/mdreizin/gulp-webpack-build-issue7/commit/e282b22a61952186b6b09230a753769996521159.

@mdreizin It took me forever to notice the problem in my code. It turns out that I was invoking: webpack.watch(event.path, webpackOptions,  function(stream, err, stats) { ... }). That first argument is wrong. Any chance you could throw an error if the first argument of webpack.watch() is a non-object?
Also, the documentation for stream is very vague. I had no idea that you could pipe() on it instead of invoking gulp.src(event.path) inside the callback. This stream is very useful. Is there any way you could improve the documentation here? Perhaps use stream in the sample code and have the documentation point to that sample?

@cowwoc I will update the documentation.


How to check vm status?

Hi!
Thank you for awesome project!
krunvm create docker.io/library/alpine:latest --name alpine_16 --mem 16
microVM created with name: alpine_16
krunvm start alpine_16 /bin/ls -- -l /bin/
thread '<unnamed>' panicked at 'Kernel doesn't fit in RAM', src/arch/src/x86_64/mod.rs:77:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Segmentation fault (core dumped)

krunvm list
alpine_16
 CPUs: 1
 RAM (MiB): 16
 DNS server: <IP_ADDRESS>
 Buildah container: alpine-working-container-3
 Workdir: /root
 Mapped volumes: {}
 Mapped ports: {}

But vm is dead.
How to check if vm  crashed?

Hi! By design, in krunvm the VM's lifetime is tied to the command executed on it, which is usually a shell and, in your example, /bin/ls. Once the command finishes the VM shuts down too. If you execute a second command, a new VM is instantiated (VM start up usually takes less than 100ms).
If your example, the VMM is crashing early on because the amount of RAM configured (16 MiB) is so small that the kernel doesn't fit in.

I know. That just easy crash example.
My real containers start program and  works endless.
While they not crash by some reason. :(
So I need check this all times and sometimes restart .
I try to find more stable and less huge by memory variant than standart podman.
That important because I need thousants of vms.
But looks like for my case microVM has no advantages?


Assignment 2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Added code to Patient Data
What did you learn from the changes you have made?
I leaned some Python coding
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I kept getting error messages when I entered the path to the file. I sought help.
How were these changes tested?
By running the code.
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

You have fixed items 2 and 3. Well done!
For item no. 1, I am still seeing assignment_1.ipynb changes in the branch and the PR. https://github.com/RMB2025/python/pull/2/files

Thank you Anjali!
Sent from my iPhone
On Dec 13, 2024, at 10:36 PM, anjali-deshpande-hub @.***> wrote:

@anjali-deshpande-hub approved this pull request.
Its fixed now. Very good!
—
Reply to this email directly, view it on GitHubhttps://github.com/RMB2025/python/pull/2#pullrequestreview-2503505484, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM5DMWZ3VFSLS3BWHZ7DJOL2FORTTAVCNFSM6AAAAABTHZFEOOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMBTGUYDKNBYGQ.
You are receiving this because you authored the thread.Message ID: @.***>


Update Jackson versions, sbt, etc.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   86.27%   86.27%
=======================================
  Files          11       11
  Lines         102      102
  Branches        8        8
=======================================
  Hits           88       88
  Misses         14       14

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 a85d1a5...ef74c13. Read the comment docs.


Add dynamic-stdc++

Depending on your project statically linking libstdc++ from your sysroot
might not be viable. For example if you rely on other shared libraries
that link the shared version, linking the static version to a binary
might result in ODR violations. This new dynamic-stdc++ sets the
compile flags correctly but doesn't force the static version, so the
sysroot's shared version will be preferred.

i think i need diff flag here, in my testing it's still using the static version

nvm, this does work as long as you have a valid libstdc++.so in the sysroot

ci fix: https://github.com/bazel-contrib/toolchains_llvm/pull/427