chain_controller::validate_tapos failed when sending transactions.

1401228ms thread-0   chain_controller.cpp:398      _generate_block      ] The transaction was {"refBlockNum":2827,"refBlockPrefix":971425546,"expiration":"2017-09-25T02:24:58","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b8203000000000000"}],"signatures":["1f408d018fd5afc1cc7c00aec52d950df281ebfce75d8ee59b4f43ec4e68de5fce1b2aa23b2209660f100b79c503d5f8d8b914f00d543e469b748d17e45ff2b99b"]}
1401229ms thread-0   chain_controller.cpp:395      _generate_block      ] Transaction was not processed while generating block due to {"code":3030000,"name":"transaction_exception","message":"transaction validation exception","stack":[{"context":{"level":"error","file":"chain_controller.cpp","line":870,"method":"validate_tapos","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T02:23:21"},"format":"Transaction's reference block did not match. Is this transaction from a different fork?","data":{"tapos_summary":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000"}}},{"context":{"level":"warn","file":"chain_controller.hpp","line":319,"method":"validate_transaction","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T02:23:21"},"format":"","data":{"trx":{"refBlockNum":2827,"refBlockPrefix":971425546,"expiration":"2017-09-25T02:24:58","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b8303000000000000"}],"signatures":["1f5d99e7d08895e73ae3f26a43c6d6f8fdce1b7ce22498cb71c2097bd6383cf9334e479d0b32249abc972cfc7bd22edffd36922c0ece6bfaa148ad71fc586ad440"]}}},{"context":{"level":"warn","file":"chain_controller.cpp","line":979,"method":"apply_transaction","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T02:23:21"},"format":"","data":{"trx":{"refBlockNum":2827,"refBlockPrefix":971425546,"expiration":"2017-09-25T02:24:58","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b8303000000000000"}],"signatures":["1f5d99e7d08895e73ae3f26a43c6d6f8fdce1b7ce22498cb71c2097bd6383cf9334e479d0b32249abc972cfc7bd22edffd36922c0ece6bfaa148ad71fc586ad440"]}}}]}

I have looked into the code. Sounds  like it was caused by the following two objects do not update in the same time .
dynamic_global_property_object
block_summary_object
Something wrong with block producer?

first threw a duplicate transaction exception in validate_uniqueness and then validate_tapos threw a exception too.
1242011ms thread-0   chain_controller.cpp:395      _generate_block      ] Transaction was not processed while generating block due to {"code":3030011,"name":"tx_duplicate","message":"duplicate transaction","stack":[{"context":{"level":"error","file":"chain_controller.cpp","line":839,"method":"validate_uniqueness","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T09:20:42"},"format":"Transaction is not unique","data":{}},{"context":{"level":"warn","file":"chain_controller.hpp","line":319,"method":"validate_transaction","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T09:20:42"},"format":"","data":{"trx":{"refBlockNum":7039,"refBlockPrefix":3767977222,"expiration":"2017-09-25T09:22:16","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b9602000000000000"}],"signatures":["1f0e0b63aeafa47b2573704b3b62a07e3dc32c01de6cfd1be0b779a8a66ce4054113571098724dcfb23848d61300e7c4d14ce2c56822af6963e72476de34e5baf6"]}}},{"context":{"level":"warn","file":"chain_controller.cpp","line":997,"method":"apply_transaction","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T09:20:42"},"format":"","data":{"trx":{"refBlockNum":7039,"refBlockPrefix":3767977222,"expiration":"2017-09-25T09:22:16","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b9602000000000000"}],"signatures":["1f0e0b63aeafa47b2573704b3b62a07e3dc32c01de6cfd1be0b779a8a66ce4054113571098724dcfb23848d61300e7c4d14ce2c56822af6963e72476de34e5baf6"]}}}]}
1242012ms thread-0   chain_controller.cpp:398      _generate_block      ] The transaction was {"refBlockNum":7039,"refBlockPrefix":3767977222,"expiration":"2017-09-25T09:22:16","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b9602000000000000"}],"signatures":["1f0e0b63aeafa47b2573704b3b62a07e3dc32c01de6cfd1be0b779a8a66ce4054113571098724dcfb23848d61300e7c4d14ce2c56822af6963e72476de34e5baf6"]}
1242013ms thread-0   chain_controller.cpp:881      validate_tapos       ] trx.refBlockNum 7040: block_id._hash[0]: 0 trx.refBlockPrefix:<PHONE_NUMBER> block_id._hash[1]: 0
1242013ms thread-0   chain_controller.cpp:395      _generate_block      ] Transaction was not processed while generating block due to {"code":3030000,"name":"transaction_exception","message":"transaction validation exception","stack":[{"context":{"level":"error","file":"chain_controller.cpp","line":888,"method":"validate_tapos","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T09:20:42"},"format":"Transaction's reference block did not match. Is this transaction from a different fork?","data":{"tapos_summary":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000"}}},{"context":{"level":"warn","file":"chain_controller.hpp","line":319,"method":"validate_transaction","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T09:20:42"},"format":"","data":{"trx":{"refBlockNum":7040,"refBlockPrefix":2874117022,"expiration":"2017-09-25T09:22:19","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b9802000000000000"}],"signatures":["1f2b0c5ec4f9baa37201bcac02cfdf6b8084a2844c4a99e507155ebef7fcaca1c31da8aafddc2776a4edb01a5fa48cc0e1a8b4272ad9c6d70e0f70fcfaa81d76c2"]}}},{"context":{"level":"warn","file":"chain_controller.cpp","line":997,"method":"apply_transaction","hostname":"","thread_name":"thread-0","timestamp":"2017-09-25T09:20:42"},"format":"","data":{"trx":{"refBlockNum":7040,"refBlockPrefix":2874117022,"expiration":"2017-09-25T09:22:19","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b9802000000000000"}],"signatures":["1f2b0c5ec4f9baa37201bcac02cfdf6b8084a2844c4a99e507155ebef7fcaca1c31da8aafddc2776a4edb01a5fa48cc0e1a8b4272ad9c6d70e0f70fcfaa81d76c2"]}}}]}
1242013ms thread-0   chain_controller.cpp:398      _generate_block      ] The transaction was {"refBlockNum":7040,"refBlockPrefix":2874117022,"expiration":"2017-09-25T09:22:19","scope":["currency","inita"],"readscope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"currency","permission":"active"}],"data":"00000079b822651d000000008040934b9802000000000000"}],"signatures":["1f2b0c5ec4f9baa37201bcac02cfdf6b8084a2844c4a99e507155ebef7fcaca1c31da8aafddc2776a4edb01a5fa48cc0e1a8b4272ad9c6d70e0f70fcfaa81d76c2"]}

close it since everybody are at hard work and it's it is not easy to reproduce I can't solve this problem alone. I will post the same issue again if it still there after a few month.


Address output warnings of python scripts

The output generation works as intended, but there are still some warning messages during the output generation. Although they do not lead to an error they should be reduced to minimize warning outputs and only show dedicated error output.

Delete unused resources to reduce warning output with #12.


Test Numba 0.49 release candidate

Numba team did a big refactoring and we must test rbc using this new release.
Steps to upgrade numba
conda install -c numba numba=0.49.0rc1

Resolved via #54


curses.A_UNDERLINE doesn't render an underline

Windows Terminal version
1.13.11432.0
Windows build number
10.0.25131.1000
Other Software
windows-curses 2.3.0
Steps to reproduce
Run the following code using Python 3.10.4
import curses
from curses import wrapper

def main(stdscr):
    stdscr.clear()

    stdscr.addstr("Text 2" , curses.A_UNDERLINE)

    stdscr.refresh()
    stdscr.getch()

wrapper(main)

Expected Behavior

Actual Behavior

If I had to guess, this is because the curses-windows library is using COMMON_LVB_UNDERSCORE (Windows-specific flag, supported only by Windows) instead of SGR 4 (VT underline, supported by everyone). LVB was originally intended for use with CJK locales...
We have work tracked to get the LVB attributes working/passed over to Terminal in a reasonable way, so on this hunch I'm going to close this as a /duplicate of #8037.

If I had to guess, this is because the curses-windows library is using COMMON_LVB_UNDERSCORE (Windows-specific flag, supported only by Windows) instead of SGR 4 (VT underline, supported by everyone). LVB was originally intended for use with CJK locales...
We have work tracked to get the LVB attributes working/passed over to Terminal in a reasonable way, so on this hunch I'm going to close this as a /duplicate of #8037.

Alright thanks.

Thank you, for the report!


Shaking Entities and Items

MCreator Version: 2023.2
I've made a report about the item shaking already with a video of what's happening, its issue #150 atm, and I've discovered that entities do basically the exact same thing. They are completely fine for the most part, but after looking at them for a long period of time they start to shake more and more until eventually the model is rag-dolling transparently through the air above them. It's essentially the same visual bug as items, which can be viewed on the video I linked.

2023.2 is not going to receive any further updates.


GUI does not show Market Trades in view only mode (no registered Account)

GUI does not show Market Trades in view only mode (no registered Account)

also no Order Book
no buy and sell orders

also no Order Book

Scroll a bit down to show order book? Looks like you're in horizontal order book mode?

yeah looks likes but wasn`t.
however fixed now and already working on OL.


ign -> gz Environment Variable Migration : gz-rendering

See: https://github.com/gazebo-tooling/release-tools/issues/734
Actually no environment variables need to be migrated (though how it's been implemented means there isn't really a way to emit warnings...)
They were implemented like so in the namespace migration:
  const char *env = std::getenv("GZ_RENDERING_RESOURCE_PATH");
  env = (env) ? env : std::getenv("IGN_RENDERING_RESOURCE_PATH");

I just noticed that we're not printing warnings when the user uses the IGN_ vars. Would you mind adding warnings as part of this PR?

https://github.com/gazebosim/gz-rendering/pull/639/commits/5192651901a098b0ba6278a01660141f5e30ec9b !


Join code

Generate and display shorter join codes so it's easier to join a session. Ideally, a 6-digit number split into two 3-digit numbers.

Our notes from today's meeting:
joinCodes collection

ID is six-digit joinCode
has creation/update timestamp
has ID of session

rules for documents in the joinCodes collection:

can always be created
can be updated (to point to a different session) if non-active

to allow re-using old expired join codes
maybe "can be updated if it's non-active and it hasn't been active for a certain additional amount of time".

can be deleted if user is owner of referenced session ID
can be gotten by ID if "active"
can be gotten by query ("listed") if user is owner of references session ID and joinCode is active

teacher flow:

session created
session lobby has button to create joinCode

this button creates joinCode in joinCodes collection using the set() function with generated 6 digit ID
if there is an error it retries multiple times
after a certain number of retries, we give up and show an error snackbar
we expect that collisions shouldn't be too likely, since join codes have a short lifespan (there aren't too many of them active at once).

joinCode can be removed by teacher at any time

we can figure out the UI for that later

student flow:

student enters join code on join page
tries to get that join code document from the joinCodes collection
if we get the join code successfully (which only happens of the join code is active), we read its session ID field
then we join that session as normal.

("active" means "created not more than 3 hour ago" or something like that.)


Remove myself from maintainer list [ci skip]

I'm currently not using this package.

ok, no problem.


No executable found matching command "dotnet-ef"

Originally reported on comments section of another issue by @christianrondeau

I could not find any solution or reference to a solution in #3925 - I am using
When I run (in the Package Manager Console)
> dotnet ef
No executable found matching command "dotnet-ef"

Here's the dotnet version:
> dotnet --version
1.0.0-preview1-002702

Here's the project.json pieces that relate to EF:
{
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.0-rc2-3002702",
      "type": "platform"
    },
    "Microsoft.EntityFrameworkCore": "1.0.0-rc2-final",
    "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-rc2-final",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview1-final"
  },

  "tools": {
    "Microsoft.EntityFrameworkCore.Tools": {
      "version": "1.0.0-*",
      "imports": "portable-net452+win81"
    },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "dnxcore50",
        "portable-net452+win81"
      ]
    }
  },

I have installed Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1 and Microsoft .NET Core 1.0.0 RC2 - SDK Preview 1 (x64), I have fully uninstalled RC1 before and dotnet restore works... I'm out of ideas.

I'm seeing this too. Note that running dotnet ef via Powershell works fine, it's only in the VS Package Manager Console that it's not working.

I hit the same error. Then I changed the current directory to the one where project.json was present and it works.

Ah, I missed that. You are using dotnet ef in Package Manager Console? That's not really an intended thing to do since we have proper PowerShell commands that have much richer context on the project etc. than the command line tool. You would typically use Add-Migration, Update-Database, Scaffold-DbContext etc. from Package Manager Console.

Too bad dotnet/NuGet don't support "global commands" yet (https://github.com/NuGet/Home/issues/1605). DotNet CLI can only resolve "dotnet-ef" when it is within the project directory. This is something EF can't do anything about.

Thanks @rowanmiller, I confirm that I indeed can run dotnet ef when outside of the Package Manager Console. I understand that you can't even display a helpful error message, since your code doesn't even get called. dotnet however still responds in the Package Manager Console, so maybe something can be done there to either give a helpful message or make it work there too? It's a very convenient place to run project-related commands :)

you can't even display a helpful error message, since your code doesn't even get called.

@christianrondeau bingo. We'd need changes to dotnet, NuGet, or VS to make this easier to use. Potential feature requests that may help:  https://github.com/dotnet/cli/issues/917, https://github.com/dotnet/cli/issues/2939, NuGet/Home#1605

so maybe something can be done there to either give a helpful message or make it work there too? It's a very convenient place to run project-related commands :)

It should work if you cd into the project directory within Package Manager Console. The error is because PMC is at the solution directory by default. Though you will hit a rough edge where PMC will report an error even though the command executes correctly.
If you have PMC, is there a reason you would use dotnet ef over the PowerShell commands?

Closing as there isn't really anything we can do here. dotnet commands need to be invoked in the directory for the project that the command is registered in. Happy to keep discussing on this thread though.

@natemcmaster thanks for the issue links!
@rowanmiller the reason I'm using "dotnet ef" instead of PowerShell commands in PMC is simply because I don't know better yet :P I'm following guides and tutorials to learn ASP.Net Core and EF7 together, so since I usually ran FluentMigrator in PMC, and dotnet worked there, I assumed dotnet ef would too.

Oh and I confirm it does work when entering the project directory. I think it didn't work before (same error message) because I was missing the EF tools package.

But Default project is set to right one.
Who does not use that? dotnet? PMC? ef?

But  Default project  is set to right one. Who does not use that to provide a path? dotnet? PMC? ef?

The PowerShell commands make use that setting - since they have access to all the extra context of PMC. I can see the logic in saying that the dropdown should control the working directory of PMC - though I can also see the logic that says the working directory is at the solution directory. If this were to change, it would be a NuGet change - https://github.com/NuGet/Home.

@rowanmiller Fine lets continue talk here:
I created a default asp.net core .NET Core project with user authentication.
When I am inside the project dir on the CMD and do:
dotnet ef migrations add init
I get the error you see in the screenshot.
How can this be?

You forgot to type "ef" http://ef.readthedocs.io/en/latest/miscellaneous/cli/dotnet.html

I'm trying to get this to work on Mac, I tried the same instructions but I still get "No executable found matching command "dotnet-ef", even when I'm within the directory for thre project. Any suggestions ? or maybe some extra steps are requred for Mac ?

I confirm that it works, I just forgot to add:
"tools": {     "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",     "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"}

@ErikEJ Thanks with DNXCore50 it worked!

I just got a problem with this today and have been scaffolding a zillion times before without a problem.
I am using "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview3-22299" with dotnet core version 1.1.0-alpha1-*.
The error I get is:
dotnet : No executable found matching command "dotnet-ef"
Any ideas?

I ran this from the command-line to get it to work again:
Install-Package Microsoft.EntityFrameworkCore.Tools.DotNet -Version 1.0.0-preview3-22299
It seems as the dotnet tools got corrupted for some reason that the dotnet restore couldnt resolve. I tried to clear the package cache etc before I ran the above. After I reinstalled the package dotnet crashed and after that it has begun to work again.

To anyone targeting EF Core 1.1 who might be wondering why @johanskoldekrans's solution worked, be sure to read the "Upgrading to 1.1" section in the EF Core 1.1 release announcement blog post.
As of EF Core 1.1, the EF Core tools package is now Microsoft.EntityFrameworkCore.Tools.DotNet rather than Microsoft.EntityFrameworkCore.Tools.

Changing the package name to Microsoft.EntityFrameworkCore.Tools.DotNet as @benjamincburns mentioned finally did the trick. Thank you!

@benjamincburns LIFE SAVER THANKS MAN !

@benjamincburns Nailed it! Thanks 👍

Using Package Manager Console within Visual Studio 2017 RTM, you must first run a CD and be inside the project root folder.
After that you'll get all PS/DOS commands from dotnet ef cli

Has anyone been able to make this work on the GA version of Visual Studio 2017 for Mac? I keep getting message Package 'Microsoft.EntityFrameworkCore.Tools.DotNet 1.0.1' has a package type 'DotnetCliTool' that is not supported by project 'EFGetStarted.AspNetCore.NewDb'. when I try to add Microsoft.EntityFrameworkCore.Tools.DotNet, version 1.0.1.

@reynjoz  I get the same error. It can be an error in Visual Studio for Mac. I couldn't find the way to handle database in VS for MAC.

@reynjoz I found the solution.
stackoverflow_link

Kindly help me. I just created demo project on my MAC and error appear.

@hkumipig - Few questions.

Did you run dotnet restore?
Is your csproj file containing DotNetCliToolReference is inside demo folder? If not then cs into folder containing the csproj.

If above does not fix the problem then share your directory structure and csproj file please.

Yes already run the dontnet restore "Packages successfully restored."
Please see attached file, how i run the 'dotnet ef'.

netcoreapp2.0

---------------------------------------------------------------------------------------

@smitpatel
Below are the code in my csproj

netcoreapp2.0

Already answered to @hkumipig in a different thread.
For others, if you are using VS for Mac then you would need to run dotnet restore on command line manually. Even though VS for Mac says packages restored successfully it does not restore DotNetCliToolReference properly.
Tracking external issue https://developercommunity.visualstudio.com/content/problem/198601/vs-restore-function-not-the-same-as-cli-when-resto.html


Bug with Canary - invalid value passed to interaction, maybe you forgot to use .value

Hi @nandorojo,
tried the Canary and so far, everything was working as expected without breaking changes.
While I tried your release-note example, which was looking dope, I encountered this issue:
<MotiPressable>
  {(interaction) => {
    return (
      <MotiView
        animate={() => {
          'worklet'

          const { pressed, hovered } = interaction.value

          return { opacity: pressed ? 0.9 : 1 }
        }}
      />
    )
  }}
</MotiPressable>

Some informations:

react-native-reanimated v2.5.0
react-native-gesture-handler v2.1.1
moti v0.18.0-alpha.10

Hmm weird, thanks for sending. I haven't tried reanimated 2.5 yet, I wonder if that's related (I'm on 2.3).

FYI: if you're using a custom-dev-client like I do, you will need to disable expo autolinking for rea inside the package.json
  "expo": {
    "autolinking": {
      "exclude": [
        "react-native-reanimated"
      ]
    }
  },

I reproduced this in my app, will investigate.

Dealing with reanimated internals is tricky! Think I got it, will push shortly.

I am dealing with those internals since 3 days to fix an ugly bug but I am close to give up!
Thanks for investigating

Hm, reanimated may not allow this specific case for some reason. Going to try to repro and send a PR. Thought I had it working, might have been mistaken.

It will work for the animate prop, but the child as a function may not work out of the box yet.

Here is a reproduction that shows it's not possible with Reanimated: https://snack.expo.dev/@beatgig/courageous-bubblegum
Will open an issue there.

Closing for now since it's a reanimated issue. Will make a note of this on the canary release notes.

Closing this will most likely cause duplicate reports, or?

I pushed a fix that solves the animate prop allowing a worklet. As for the MotiPressable child case, I added a note to the release notes:

closing, as we're beholden to reanimated for this to work and it's documented that it isn't ready yet.


Command-line mode doesn't stop and keeps running tests repeatedly

Expected behavior
When I run my test in the GUI it runs just fine.
My sample is just to hit slashot.org with 1 thread and 1 time.
Running in the GUI it runs once and then stops.
I am using this as a reproducer, my real test hits our web server to test REST endpoints.
Actual behavior
When I run my Slashot.jmx file from the command-line it never stops and just keeps running the same tests over and over.
Steps to reproduce the problem
Load the attached Test plan and run it in both the GUI and command-line.
Rename the Slashdot.jmx.txt to Slashdot.jmx I had to rename it to upload it.
Run with command line: jmeter -n -t Slashdot.jmx -l results.txt -e -o output
You can also see the results I get and then ultimately kill it with Ctrl-C.
It's like the command-line mode is ignoring my Thread Group settings since I said to use 1 thread for 1 count.
jmeter.log
results.txt
Slashdot.jmx.txt
JMeter Version
5.6
Java Version
JDK 17
OS Version
MacOS and Linux (Fedora 39)

Just tried with 5.6.3 and the same issue.

Jmeter5.4.1 works normal
 > jmeter -n -t Slashdot.jmx
Creating summariser <summary>
Created the tree successfully using Slashdot.jmx
Starting standalone test @ Thu Aug 08 10:12:32 CST 2024<PHONE_NUMBER>481)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
summary +      1 in 00:00:01 =    0.7/s Avg:  1382 Min:  1382 Max:  1382 Err:     0 (0.00%) Active: 1 Started: 1 Finished: 0
summary =      1 in 00:00:01 =    0.7/s Avg:  1382 Min:  1382 Max:  1382 Err:     0 (0.00%)
Tidying up ...    @ Thu Aug 08 10:12:34 CST 2024<PHONE_NUMBER>186)
... end of run


Document steps after installation

I had to google what to do after installation to cause the auto code generation to take effect.
I found this link: http://stackoverflow.com/questions/3563145
An answer is provided by Marcus S. Zarra. I'll summarize below.
The explanation is very simple. After installing, right click your .xcdatamodel file, select "Get Info" then select the "Comments" tab. In the comments section at the text: "xmod".
The "xmod" in the comments tab is the flag that causes mogenerator to generate files. This gives you the ability to enable / disable generation per .xcdatamodel.

Xmox is RIP. Closing this out.


Fix websocket: close 1005 close loop

Close on all errors to prevent "websocket: close 1005" loop.

Hi, thanks for wanting to help, indeed I have found that bug and it is fixed in the 'dev' branch.

I did not see dev branch.  Sorry.
I see you switch to x/net/websocket package in dev branch. Test carefully in Chrome.

Thank you for alerting me!
I will do so, I am going to merge dev with master today, even with that caveat. In time, once I have all features in place I will be in a place to switch back to gorilla/websocket – but the interfaces of the x/net/websocket package were much more simple for me to come to grips with. Until the beginning of the year I had never done anything with web development let alone websockets before. This is my way of teaching myself!


Moroccan university added

The website of the university
http://www.emsi.ma/

@xyriox Could you please:

rename lib/domains/ma/emsi-edu to lib/domains/ma/emsi-edu.txt (please note that .txt extension is mandatory)
provide a link to a page on the official website or other similar proof saying that students have emails in   emsi-edu.ma domain (because it is different from the official website domain).
Thank you!

@xyriox Could you please comment the issue I commented about above?

@philipto Yes, understood. there's no official proof but they told us that using these emails gives us free office 2016 which is true as shown in the picture below

@xyriox Thank you for the clarification. Pull request merged. Thank you!

@philipto When would it be functional ?
I just tried right now it says : "Your email address does not belong to any university that we know. Contribute your university to our list."
Was it a mistake of mine in creating the file to enable this domain<EMAIL_ADDRESS>right ?

@xyriox Please try again. Usually, it takes about 30 minutes to be
activated. Please let me know if something does not work still.
2016-09-05 16:55 GMT+03:00 xyriox<EMAIL_ADDRESS>
@philipto https://github.com/philipto When would it be functional ?
I just tried right now it says : "Your email address does not belong to
any university that we know. Contribute your university to our list."
Was it a mistake of mine in creating the file to enable this domain ? "
<EMAIL_ADDRESS>right ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/2240#issuecomment-244752698, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtjL76ZGYTpX-I1yIxQ6B4-kPcw1MJTks5qnB9ngaJpZM4JxjYq
.

@philipto Thanks it works :)


Subsetting table

Not sure if this is what you had in mind @avahoffman, but adding a table for the subsetting lecture and will also try to do a table  for the current resource on when to use what

I like this and I think it will help folks. But in #304 I was referring to how different functions have different behavior. Especially filter(). If you do something like mtcars %>% filter("mpg" > 30) it doesn't work as expected.

I like this and I think it will help folks. But in #304 I was referring to how different functions have different behavior. Especially filter(). If you do something like mtcars %>% filter("mpg" > 30) it doesn't work as expected.

gotcha - will keep working on this

@avahoffman how is this for the lecture?

I actually removed the table - cause I don't want to add too many details about conventions at this point


Create simple ways  for people to use the Intel HAX modue and/or Genymotion

Both of these approaches can speed up and improve the use of the emulator, but are not simple to install.   We could provide documentation and/or some help from our installer.   How well can we do?
The HAX information is at
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
and setup documentation for my class with Genymotion is at
https://docs.google.com/document/d/1x1zvXGPQ2HhSRh2wKVsEHmIOGcaIElnGBsHnr1Pn8tA/edit

I can help with this... I think the only difficult part is setting up Oracle's VirtualBox, which at first I struggled with a bit as I didn't understand all of the options...

The latest Windows emulator package installs and uses HAXM. Updates to the macOS and Linux versions will follow.


Deleting graph while graph window is open throws errors

Pretty obvious what went wrong when this happens, but errors are thrown every update so it seems like it should be handled in some way.
Repro

Create a graph (I used MonoGraphModel) and open it
Add a node
Delete the graph component

Result: this error is thrown until the window is closed
SerializedObject target has been destroyed.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
NewGraph.NodeModel:SetPosition (single,single) (at Assets/NewGraph/Models/NodeModel.cs:174)
NewGraph.NodeController:SetPosition (single,single) (at Assets/NewGraph/Editor/Controllers/NodeController.cs:67)
NewGraph.NodeView:SetPosition (UnityEngine.Vector2) (at Assets/NewGraph/Editor/Views/NodeView.cs:313)
GraphViewBase.GraphElement:ApplyDeltaToPosition (UnityEngine.Vector2) (at ./Library/PackageCache/com.gentlymad.graphviewbase@9e7e3c3574/Editor/Elements/Graph/GraphElement.cs:128)
GraphViewBase.GraphElementContainer:HandleDrag (GraphViewBase.DragEvent,GraphViewBase.BaseNode) (at ./Library/PackageCache/com.gentlymad.graphviewbase@9e7e3c3574/Editor/Elements/GraphElementContainer.cs:208)
GraphViewBase.GraphElementContainer:OnDrag (GraphViewBase.DragEvent) (at ./Library/PackageCache/com.gentlymad.graphviewbase@9e7e3c3574/Editor/Elements/GraphElementContainer.cs:202)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Expected result
I'm not sure what the preferred / simplest way to handle this would be. When deleting open scenes in Unity, the behavior is that the scene is marked dirty and you're asked if you want to save it whenever you close it or the editor. Just closing the graph window would make sense as well. Catching the error and throwing a message to tell the user to close the window also seems fine.

Bonus:
If you delete the graph when it has corrupt graph data as in #50 the error is different:
ArgumentException: Object at index 0 is null
UnityEditor.SerializedObject..ctor (UnityEngine.Object obj) (at <80a8ce1980c648dca8e68f0d8aa3b930>:0)
NewGraph.GraphModelBase.CreateSerializedObject (UnityEngine.Object scope, System.String rootFieldName) (at Assets/NewGraph/Models/GraphModelBase.cs:147)
NewGraph.MonoGraphModel.CreateSerializedObject () (at Assets/NewGraph/Models/MonoGraphModel.cs:61)
NewGraph.MonoGraphModel.get_BaseObject () (at Assets/NewGraph/Models/MonoGraphModel.cs:44)
NewGraph.GraphSettings.SetLastOpenedGraphData (NewGraph.IGraphModelData graphData) (at Assets/NewGraph/Editor/Settings/GraphSettings.cs:36)
NewGraph.GraphController+<>c__DisplayClass43_0.<Load>b__0 () (at Assets/NewGraph/Editor/Controllers/GraphController.cs:452)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEditor.RetainedMode.UpdateSchedulers () (at <cc76bab7efe9480f901125fd04a708b6>:0)


Back  to Top Button is not working

I can fix that , please assign it to me

I would like to contribute to this repo, Can you assign me this issue please.............

Hye, can you please assign me this issue, I want to contribute to your repository

please assign this issue to me


Improve ingest CLI command output

Currently, it generates a lot of logs... we need to be a bit more gentle with the user :)
Indexing throughput: 89.9745106657528 MB/s
Indexing throughput: 90.07158226380345 MB/s
Indexing throughput: 90.16786857649046 MB/s
Indexing throughput: 90.26716727049924 MB/s
Indexing throughput: 90.36647593475185 MB/s
Indexing throughput: 90.44777911943304 MB/s
Indexing throughput: 90.54539179022733 MB/s
Indexing throughput: 90.64253507394052 MB/s
Indexing throughput: 90.7485972388706 MB/s
Indexing throughput: 90.84515109617249 MB/s
Indexing throughput: 90.9318797810533 MB/s
Indexing throughput: 91.03117384718254 MB/s
Indexing throughput: 91.12573511261424 MB/s
Indexing throughput: 91.23040821948301 MB/s
Indexing throughput: 91.32475041000305 MB/s
Indexing throughput: 91.4156596405211 MB/s
Indexing throughput: 91.51178292241703 MB/s
Indexing throughput: 91.61268170242735 MB/s
Indexing throughput: 91.71921045754382 MB/s
Indexing throughput: 91.81315134215917 MB/s
Indexing throughput: 91.90207446695112 MB/s
Indexing throughput: 91.99657774834867 MB/s
Indexing throughput: 92.09651668246548 MB/s
Indexing throughput: 92.18533771260948 MB/s
Rate limited, retrying in 1 second...
Rate limited, retrying in 1 second...
Rate limited, retrying in 1 second...
Rate limited, retrying in 1 second...
Rate limited, retrying in 1 second...
Rate limited, retrying in 1 second...
Rate limited, retrying in 1 second...

Fixed by #2879


Add the option to specify a previously downloaded file

Adding Berks to make it easier to upload the cookbook. :)

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@mdietz94

Please sign the CLA here.

GitHub is having a bad hair day...


feat: add git hook to enforce conventional commit

Resolves #41
What changed
See https://www.conventionalcommits.org/ and https://github.com/conventional-changelog/commitlint
Testing instructions
run following:

yarn && yarn prepare
touch bar && git add bar && git commit -m 'foobar'

output should be similar to below:
$ git commit
⧗   input: foobar
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]

✖   found 2 problems, 0 warnings

@theyokohamalife hey we don't have any notes around this format expectation yet in the readme. @theyokohamalife can you make an issue for this?


Create CTA component

Note that there is a primary and secondary CTA. When styling these, keep in mind the ability to make these theme-able later on. Use variables for the colors.

I don't know if this is how we want to do it, but here's something I tried before to make a themeable button. @label determined the theme style changes.
<button
  class="dotbc-button dotbc-button--{{@label}}"
  data-test-dotbc-button
  ...attributes
>
  {{yield}}
</button>


element-dataset depends on babel-runtime

Avoid using transform-runtime on libraries, especially when they are intended to run on browsers; this requires that users bundle babel-runtime, which will end up bundling a second copy of core-js (a regular copy + a library mode copy) should the user also use babel-polyfill.
You could require that users provide a polyfill for Object.defineProperty and Object.getOwnPropertyDescriptor; however, this polyfill would not work anyway without native support for them. The only reason they are getting replaced by transform-runtime is to add Symbol support, which is not used by this polyfill.

PS: If you change const map = {} to const map = Object.create(null), core-js might be able to make an object that can have Object.defineProperty called on it on IE8. Note that I never tested this.

I think this is relevant https://github.com/babel/babel/issues/965


SymbolBlock error...??

hey i m getting an error while building model for classification...when i first implement this i was not getting this error But nows i m getting this....
java.lang.ClassCastException: class ai.djl.nn.SequentialBlock cannot be cast to class ai.djl.nn.SymbolBlock (ai.djl.nn.SequentialBlock and ai.djl.nn.SymbolBlock are in unnamed module of loader jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader
heres my code very similar to what described in djl docs:
ImageClassificationTranslator translator =
ImageClassificationTranslator.builder()
.setPipeline(new Pipeline()
.add(new Resize(416,416))
.add(a -> a.div(255f))
.add(new ToTensor())
.optSynset(synset)
.optApplySoftmax(true)
.build();
Criteria<Image, Classifications> criteria = Criteria.builder()
.setTypes(Image.class, Classifications.class)
.optProgress(new ProgressBar())
.optArtifactId("resnet")
.optFilter("layers", "50")
.optFilter("flavor", "v1")
.optFilter("dataset", "cifar10").build();
Model model = ModelZoo.loadModel(criteria);
System.out.println("Lond");
SequentialBlock newBlock = new SequentialBlock();
System.out.println(model.describeOutput().keys()+"----"+model.describeOutput().values());
SymbolBlock block =  (SymbolBlock)model.getBlock();
block.setInitializer( new NormalInitializer());
block.removeLastBlock();
newBlock.add(block);
newBlock.add(Blocks.batchFlattenBlock());
newBlock.add(Linear.builder().setUnits(256).build());
newBlock.add(Activation.reluBlock());
newBlock.add(Linear.builder().setUnits(128).build());
newBlock.add(Activation.reluBlock());
newBlock.add(Linear.builder().setUnits(2).build());
model.setBlock(newBlock);
model
I already tried this to train cifar 10 where this was not an issue... i dont know why its giving me now...pleaase do help me?

It might be that the Criteria is loading a different model. Try running ModelZoo.listModels(criteria) for your criteria. If this contains multiple models, it might mean it is giving you a different model than the one you are expecting. The loadModel has the same search, but stops after it finds the first model.
If you have added any DJL Model-Zoo dependencies, it could result in having more models available to be loaded and a different one actually loaded.

Okk now training has done model loaded !!.but...whatever image i put it always give me one result.. i mean ..it always return first class as output....why is that..? i m guessing i m doing transfer learning on imagenet Weights which are already trained..how can i just train this predefined network on my dataset without using imagenet trained weights..i m assuming SymbolBlock.removeLastBlock() only remove last FC layers And Output but other than that major Cnn part is pre trained on imagenet...how can i just train resnet on my dataset intead of taking levearage imagenet weights...please explain me a bit??

When you train, you improve the weights so the model performs better on your dataset. This requires that there are starting weights.
Usually, starting weights are created randomly using an Initializer. Another options is to use starting weights from training on another dataset such as Imagenet. If the dataset has any similarities to your dataset, it can make it train faster and more reliably because the starting weights are closer to what you need. So, I recommend using the imagenet weights since you already have them. See this section of the D2L book form more details. If you don't want this, just use a custom block and run trainer.initialize.
If your model is always returning the first class, are the probabilities changing or are they constant?

yes probability of first class is always 0.99....no matter what image i use to predict........i m a little confuse about something in transfer learning..
please clarify me...
.My dataset has hand gestures images like one finger for label 1 and two finger for 2 each are just 50x50x3 dimentions..So if I train my network on Imagenet which i m doing using resnet18 with imagenet..and after using Symbole.removelastBlock()
So my real question is..
1.ImageNet has hand images trained weight ..so after training on ..will the hand weights help in my gesture dataset recognization..
2.if i run train.initialize() will evrything on resnet18 or whatever backbone architecture i m using train from scratch and get result what i want...How many epochs and Hyperparam do i needed...please help me ?
Currently i m also building vgg16 from scratch which is too time consuming..but still i m doing it..may i dont know Good use of transfer learning ..???

Try passing in something like manager.zeros(...) and manager.ones(...). Does that change it?
When training on something like imagenet, it learns how to detect items like cars or boats near the end layers which don't apply to your model. But, the early layers detect things like lines, shapes, and colors that are applicable. It saves your model some time as it doesn't have to relearn to detect these basic primitives.
You need to figure out the epochs and hyperparameters yourself. Try to experiment with different values and see what works. For epochs, train until the learning plateaus. Other hyperparameters you will just need to test.
We have an implementation of VGG already made. You can use it, but Resnet is a better model than VGG.

so is there any way i can just take vgg16 model ..and train on my dataset instead using pre trained weights..i dont want weights of imagenet ....
can i extract layers and trained them on my dataset for example..is there any way i can train my network from 4th or 5th conv2d layer ..rest of the layers before 5th will be untrained and layers occuring after 5th will get triained on my dataset...if it could..i can i do it ??...

You don't keep the pre-trained weights. As an analogy, imagine if you are traveling to New York. Using random weights is like starting really far away in San Fransisco. Using imagenet weights is like starting in Chicago. You still change all the weights to the New York weights (or the weights for your dataset), you just have less distance to travel to get there.
If you don't want that, use the VGG class I already mentioned. It doesn't load any weights from somewhere else and you don't need to do anything special with it.

I have already implement VGG class...But it take a lot to create a model from scratch.....I just wanted model which we obtain using model zoo ..And on criteria instead of using using dataset="imagenet/cifar10"..Can choose to pass value null or none ..Means no pre trained weights to start ... just plain model...Then i ll just start train  on my dataset..Using image folder.is this possible?


Use a specific ubuntu version for actions instead of latest

Motivation
See https://github.com/intel/rohd/pull/297

use ubuntu-22.04 instead of ubuntu-latest. Major updates are best done manually.

Desired solution
Same as in ROHD: https://github.com/intel/rohd/pull/297
Alternatives considered
No response
Additional details
No response

This was already the case when filed.


OAuth is not a constructor

I followed the README, and my react-app returns me an error saying "OAuth is not a constructor":
code bellow
FlickrService.js:
import FlickrConfig from "configs/FlickrConfig";
import { createFlickr } from "flickr-sdk";

const { upload } = createFlickr(FlickrConfig);

const FlickrService = {};

FlickrService.post = async (file) => {
    return upload(file, {
        title: "Works on MY machine!",
    });
};

export default FlickrService;

FlickrConfig.js:
const FlickrConfig = {
    consumerKey: "xxxxxxxxxxxxxx",
    consumerSecret: "xxxxxxxx",
    oauthToken: "xxxxxxxxxx",
    oauthTokenSecret: "xxxxxxxxxxxxxx"

export default FlickrConfig;

Ok, i found the error, somehow the classes are interfering each other, im usind ant-design on my project, and it have a class with same name declared with "var" i dont know if it change on the problem or not.


EL1: Update our servers to use AWS TimeSync for clock time instead of unauthenticated NIST (revisit 10/11/22)

From EO:

Agencies shall use a GPS master station clock as a baseline reference for timestamps used for logs and systems producing logs. If GPS reference is not possible, agencies shall use NIST’s authenticated time service.

Using NIST's authenticated time service requires physically shipping a key from NIST to our team. Instead, we're going to use the AWS TimeSync service, which uses a GPS master clock station and is FedRAMP authorized.
Acceptance Criteria

[ ] Customer logging systems updated to use time from AWS TimeSync instead of NIST's unauthenticated time service
[ ] Platform logging systems updated to use time from AWS TimeSync instead of NIST's unauthenticated time service

Background

Presidential Memorandum M-21-31.
Notes from discussion with assurance team about M-21-31

Notes

Configuring NTP for Bosh

Implementation sketch

[ ] Find where NTP is configured for log plaform

Possibly in this Bosh config?

[ ] Update NTP config to use AWS Timesync

From the M-21-31 doc: "Software developed by agencies or by contractors on behalf of agencies must log timestamps for each event in
accordance with these requirements. If the software does not produce data in this format, Federal agencies will
transform records to conform to these standards before the data is ingested into the SIEM or stored in bulk storage. "

Useful blog for configuring AWS time sync: https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service/

https://github.com/cloud-gov/cg-deploy-bosh/pull/496

Need updated SSP

Plan, per convo with @pburkholder :

Update SSP
Merge change to use AWS Timesync time servers
Add it to this list of things for 3PAO to assess in annual review

Needs update on SSP status from @pburkholder or @Chiakao before this can be implemented.

We will complete the Pages migration and then provide that version for updates.

@Chiakao Does the Pages migration relate to this work to update all of our infrastructure to use AWS TimeSync for clock time?

we're going to use the AWS TimeSync service, which uses a GPS master clock station and is FedRAMP authorized.
I can't find any evidence that TimeSync is authorized. It's not listed in https://aws.amazon.com/compliance/services-in-scope/FedRAMP/ and I can't find it in "other documents" that I have access to.

Does anyone else have evidence?
cc: @cweibel

Added a Confidential Amazon Time Sync document to #discuss-aws-nda channel - this will take more work to determine if it meets M-21-31. Need to defer to next PI it seems.


Back out "Align directory name for normalize-colors"

Summary:
Reverting due to internal failures
Changelog: [Internal]
Reviewed By: fkgozali
Differential Revision: D50292716

Closing as no longer necessary


Denominator Forecasting

Developing capacity to run @SamuelBrand1's model from https://github.com/CDCgov/pyrenew-hew/pull/54 on NSSP data.
Closes https://github.com/CDCgov/pyrenew-hew/issues/47

This PR will also close #69 .


TLS support?

How do I enable TLS support?

@joeferner

What do you mean with TLS support?

Client side - access via HTTPS?  Supported with PR #339. Available via git checkout or docker image.
Not available via npm install right now...

Version with TLS support release to NPM too, will close issue as this should be resolved by now. Feel free to reopen and provide additional information to describe your problem if needed.


Delete removes only Stack, but not Bucket and Roles

Describe the bug
Delete command removes only Stack, but not Bucket and Roles
To Reproduce
Steps to reproduce the behaviour:
Go through
amplify init

Create cloud data by using a profile
Then lunch
amplify delete

Expected behavior
To remove everything
Desktop (please complete the following information):

OS: Windows 10
Browser: CLI
Version: 0.1.36

Because S3 bucket might have contents and the IAM roles might be used by other applications, so to be safe, the CLI does not delete them.
I will mark this as a feature request, we will think about how to improve the UX for amplify delete.

It would be better if CLI will warn what exactly is going to delete. Then it won't be an issue. Right now you can only wonder what delete actually does (as turns out, almost nothing).

Hi all, any update on this ?

Closing this in favor of duplicate #89


A bug is detected when the text is deleted and another address is returned.

When you search for a new address without clicking on the close icon, but instead you delete the text and type again, the following error occurs:
Cannot create property '_leaflet_id' on string '193'.
If you press the close or search icon again, the component works again.

@alberto-perdiguero I was trying to replicate this, but was unable to. When I search for an address, the tool is automatically closed - is there a way that you've set it up so that the search tool remains open after selecting an address?

@alberto-perdiguero actually, this bug originated in the leaflet-geosearch module, and has been fixed there in a recent update. If you update to the latest version of this repo, which uses version 3.1.0 of leaflet-geosearch, that will resolve the problem.
Note that this update hasn't been deployed to NPM yet, so you'll need to use the Github source until then.

This bug is still there ..
has anyone found the solution ?


[Feature] Add interactive with 'flutter pub' commands

Flutter has a command line with some useful commands for development, some examples are:
flutter pub add packageName
this command add a package with the informed name
flutter pub run packageName executable
this executes a command from an executable from a package
So, I think that a possibility of run this commands inside the neovim there is a great  additional for the plugin

So would what you want be to be able to run the terminal commands with a wrapper like :Flutter <command>? An easier alternative would be to run the commands with !flutter <command>. If you want to do the asynchronously you could use tpope/vim-dispatch and do it as :Dispatch flutter <command>.
Are you asking more so for autocomplete with this?

Similar to the point @joshpetit makes, this doesn't really seem necessary since nvim already has a built-in terminal, and you can just run the commands there. Seems like basically adding a bunch of logic to replicate just typing these commands into a terminal or as pointed out above you can achieve the same with just a !

Your arguments that you can run the commands in a terminal also serve for: "Why have a command to run the project with 'FlutterRun' when you can just run that command in the terminal?" or "Why see the devices with the 'FlutterDevices' command when I can just run the command in the terminal?"
This was just a suggestion that I thought while developing, that it could be interesting to have the possibility to execute these commands inside the editor, a way to help the development, which I think is the purpose of this plugin

@leoncruz these actually are not the same with the flutter run command as an example the reason why it's valuable to have built in is that often choosing a device can cause clashes. If you have both an emulator and the device connected, which I often do, so it's useful to have the plug-in have a specific command which can actually handle conflicts by opening up a floating window. Also, on choosing a device it's nice to be able to see what your available options are and just select one. Whereas in the terminal you would have to run the flutter list devices command and then get the ID and then run the command with a specific ID. So actually having a custom command improves your workflow. I'm less convinced that this advantage would exist with the flutter pub command, it might do, but frankly I'm not really looking to take on that work right now. If you'd like to submit a PR for that, I'd be happy to look over it.
Unfortunately I don't have an infinite amount of time so I can't just add every flutter command that the binary gives only those that have a clear value that can't be achieved easily with just the CLI

I understand your point. I'm sorry if I sounded rude in my previous comment, I didn't mean to impose anything. Of course, it doesn't make sense to add every command that flutter offers, but I just wanted to expose here a small suggestion to hear your opinions about it and maybe someone, or myself, implement

@leoncruz I too was looking/hoping for the same features with this plugin. I've started working on a plugin for this that will at least take care of most commonly used commands (pub add, get, build_runner etc).

@leoncruz I too was looking/hoping for the same features with this plugin. I've started working on a plugin for this that will at least take care of most commonly used commands (pub add, get, build_runner etc).

@p4-k4 Imo there's already specialized packages that do what you're looking for. You can use https://github.com/akinsho/pubspec-assist.nvim for pub commands, you can use something like https://github.com/pianocomposer321/yabs.nvim (there's many alternatives) for running arbitrary commands like build_runner etc. Also, FlutterPubGet, FlutterPubUpgrade are already commands in this package!

@p4-k4 I mentioned above that probably the biggest blocker to this was someone actually contributing the changes 🤷🏾 obviously it's FOSS so entirely your prerogative but if you had wanted those features I would have thought that submitting a PR to help this plugin out would have been an easier place to start than building a plugin from scratch just for that purpose 🤷🏾♂ anyway, entirely your choice.

Hello @p4-k4, I agree now with @akinsho and with @rlch. I'm not interesting anymore on this functionality. I thought would be good, but now I think is unnecessary, so I'm closing this issue.


Patch 1

First documentation of agisoft orthomosaic overview.

This belongs over here now: https://github.com/weecology/wiki. Sorry for the confusion. I'll archive the other repo.


Running danger local on a fork yields "Local repository was not found on GitHub."

~/source/grape/grape/dblock (master)$ danger local
Running your Dangerfile against this PR - https://github.com/dblock/grape/pull/1465
Turning on --verbose

Local repository was not found on GitHub. If you're trying to test a private repository please provide a valid API token through DANGER_GITHUB_API_TOKEN environment variable.

v3.4.0 fixed it. 🎉

I am still facing this problem. I am on v4.0.5

having the same issue on 5.2.2


watch configmaps and secrets

Signed-off-by: Miek Gieben<EMAIL_ADDRESS>

thanks for reviewing. Will add/fix those things.
os.Rename doesn't do what I want, so i need to move the individual files into the correct place and them remove the tmp dir - this is some more work. Updates are propagated to disk, so that all works.

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] watch..." ]

@pires commented on this pull request.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
In systemd/watch.go:

clientset *kubernetes.Clientset

  // maps are indexed by "namespace.name"

  configs map[string][]*corev1.Pod

  secrets map[string][]*corev1.Pod

+}
+
+func newWatcher(clientset *kubernetes.Clientset) *Watcher {

  return &Watcher{

          configs:   make(map[string][]*corev1.Pod),

          secrets:   make(map[string][]*corev1.Pod),

          clientset: clientset,

  }

+}
+
+func (w *Watcher) Run(p provider.Provider) error {

  cmwatcher, err := w.clientset.CoreV1().ConfigMaps(corev1.NamespaceAll).Watch(context.TODO(), metav1.ListOptions{})

Can you please point me to where the watch is re-established?

this? https://github.com/virtual-kubelet/systemk/blob/main/systemd/watch.go#L49

Well, so it kinda seems the code only handles one failure. Because if this call fails, no error is returned and this code will never ever be called again. Can you please confirm?

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] watch..." ]

Well, so it kinda seems the code only handles one failure. Because if this call
fails, no error is returned and this code will never ever be called again. Can
you please confirm?

maaaybeeee? prolly. We are planning to move this to the proper k8s interfaces anyway (and
possibly upstream it into VK), so I don't care that much now. I want to focus one the many
missing parts here: cleanup and deletes (you have some code waiting for this), and the
many options for configmaps.

Gotcha! Just asking because my memory isn't what it used to be and I usually write these details down as comments on the code so the future-self doesn't forget or whoever is reading the code at that point in time. Thanks for clarifying.


Ability to debug memory leaks under Visual Studio 2003 and higher.

Add possibility to debug memory leaks under Visual Studio 2003 and higher by using its _CrtDumpMemoryLeaks() API which is described in detail on MSDN - Interpreting the Memory-Leak Report.
This functionality becomes automatically available in OpenSSL if library local memory debugging is switched off by defining OPENSSL_NO_CRYPTO_MDEBUG.
Visual Studio will then give useful log if such leaks occurred in the application:
Detected memory leaks!
Dumping objects ->
crypto\init.c(45) : {166973} normal block at 0x06371C68, 8 bytes long.
Data: <        > 00 00 00 00 01 00 00 00
crypto\err\err.c(652) : {166972} normal block at 0x0BC915F0, 392 bytes long.
Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
crypto\init.c(45) : {161936} normal block at 0x09131470, 8 bytes long.
Data: <        > 00 00 00 00 01 00 00 00
crypto\err\err.c(652) : {161935} normal block at 0x0BC91280, 392 bytes long.
Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
crypto\init.c(45) : {99666} normal block at 0x06369250, 8 bytes long.
Data: <        > 00 00 00 00 01 00 00 00
crypto\err\err.c(652) : {99665} normal block at 0x061D8928, 392 bytes long.
Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.
The program '[9604] test.exe' has exited with code 0 (0x0).

@richsalz, @dot-asm, updated code according your comments.

Finalized corrections.

As a general comment I'm not actually fond of this suggestion. I mean the fact that it's engaged by default in debug build. I suppose it's interesting if both application and library use _malloc_dbg, but this kind of implies that it probably should be configurable or switchable at run-time. Though of course one can argue that in debug build one doesn't have to be that picky...

@dot-asm I agree kind of agree with you.

Hoping I am not 'off topic' : for myself I stoped relying on _CrtDumpMemoryLeaks() when I heard about and tried Visual Leak Detector for Visual C++. It's free, open source, less intrusive, much easy to use, and finally find it very much helpfull.
https://vld.codeplex.com/

I don't think this is interesting any more...


Update dependencies

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (bcc5410) 100.00% compared to head (715b9de) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          455       456    +1
  Branches        62        62
=========================================
+ Hits           455       456    +1

Impacted Files
Coverage Δ

src/aroma/datasets/neurawkes.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Support for dispatch_after, dispatch_apply, and dispatch_once

Async.main(after: 1) {}
Async.customQueue(queue: _, after: 1)

Hi. Could you please explain why no need dispatch_once in Swift. Thanks


jquery min lib is missing

remove .min

@JelteMX please also create a new release. The Brackets plugin, pulls in still the broken version.


OSX Issue: terminating with uncaught exception

Hello everyone.
I have OSX 10.9.4 and following libraries:

boost 1.56,
LLVM 3.4.2 with option --disable-terminfo,
OpenImageIO 1.5.2dev 881987ee5f with options BUILDSTATIC=1 LINKSTATIC=1,
OpenShadingLanguage 1.5.10 cbbdf6fead with options BUILDSTATIC=1 LINKSTATIC=1 LLVM_STATIC=1

The issue can be easily reproducible with testshade and testrender. For example when I run testshade I have following error message:
libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >
Abort trap: 6

bt looks like this:
(gdb) bt
#0  0x00007fff95ae9866 in __pthread_kill ()
#1  0x00007fff9718535c in pthread_kill ()
#2  0x00007fff8d9a7b1a in abort ()
#3  0x00007fff93fedf31 in abort_message ()
#4  0x00007fff94013952 in default_terminate_handler ()
#5  0x00007fff8f889322 in _objc_terminate ()
#6  0x00007fff940111d1 in std::__terminate ()
#7  0x00007fff94010c5b in __cxa_throw ()
#8  0x0000000100013877 in boost::throw_exception<boost::lock_error> (e=@0x7fff5fbfb158) at throw_exception.hpp:69
#9  0x0000000100014ea3 in boost::mutex::lock (this=0x1016bc460) at mutex.hpp:119
#10 0x0000000100016ae3 in lock_guard (this=0x7fff5fbfb248, m_=@0x1016bc460) at lock_guard.hpp:38
#11 0x0000000100016a6d in lock_guard (this=0x7fff5fbfb248, m_=@0x1016bc460) at lock_guard.hpp:39
#12 0x0000000100925d7a in OpenImageIO::v1_5::pvt::ImageCacheImpl::purge_perthread_microcaches (this=0x103001e00) at /Users/victor/Development/OpenImageIO/src/libtexture/imagecache.cpp:2730
#13 0x0000000100927717 in OpenImageIO::v1_5::pvt::ImageCacheImpl::invalidate_all (this=0x103001e00, force=false) at /Users/victor/Development/OpenImageIO/src/libtexture/imagecache.cpp:2650
#14 0x00000001009205c5 in OpenImageIO::v1_5::pvt::ImageCacheImpl::attribute (this=0x103001e00, name=<value temporarily unavailable, due to optimizations>, type=<value temporarily unavailable, due to optimizations>, val=0x7fff5fbfc4f4) at /Users/victor/Development/OpenImageIO/src/libtexture/imagecache.cpp:1771
#15 0x00000001008f26a0 in OpenImageIO::v1_5::pvt::TextureSystemImpl::attribute (this=0x102803d70, name=<value temporarily unavailable, due to optimizations>, type=<value temporarily unavailable, due to optimizations>, val=0x7fff5fbfc4f4) at /Users/victor/Development/OpenImageIO/src/libtexture/texturesys.cpp:301
#16 0x000000010090243f in OpenImageIO::v1_5::pvt::TextureSystemImpl::attribute (this=0x102803d70, name=<value temporarily unavailable, due to optimizations>, val=1) at texture_pvt.h:72
#17 0x0000000100123006 in RendererServices (this=0x1016fcfe8, texsys=0x0) at /Users/victor/Development/OpenShadingLanguage/src/liboslexec/rendservices.cpp:65
#18 0x0000000100026709 in SimpleRenderer (this=0x1016fcfe8) at /Users/victor/Development/OpenShadingLanguage/src/testshade/simplerend.cpp:147
#19 0x00000001000266d5 in SimpleRenderer (this=0x1016fcfe8) at /Users/victor/Development/OpenShadingLanguage/src/testshade/simplerend.cpp:164
#20 0x000000010000edb4 in __cxx_global_var_init31 () at /Users/victor/Development/OpenShadingLanguage/src/testshade/testshade.cpp:84
#21 0x000000010000f0ba in global constructors keyed to a () at /Users/victor/Development/OpenShadingLanguage/src/testshade/testshade.cpp:354
#22 0x00007fff5fc11c2e in __dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE ()
#23 0x00007fff5fc11dba in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE ()
#24 0x00007fff5fc0ea62 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#25 0x00007fff5fc0e8f6 in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
#26 0x00007fff5fc021da in __dyld__ZN4dyld24initializeMainExecutableEv ()
#27 0x00007fff5fc05560 in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_Pm ()
#28 0x00007fff5fc0127b in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKclS2_Pm ()
#29 0x00007fff5fc0105e in __dyld__dyld_start ()

It looks like boost's lock_guardboost::mutex throws EINVAL exception at mutex.hpp:119
Thanks for reading this. How is it possible to fix that?

having a similar issue, were there any solutions to this? I'm open to debugging tips as well. : )

@alobaidizt, What versions of OIIO, OSL, and Boost are involved?

@lgritz Thanks for the quick response. I actually ended up resolving the issue. I was just not passing the needed arguments. Haha, it happens.

OK, awesome.
As far as the original issue goes, every component is such an old version now, we should close the issue and re-open if it's a continued problem for anybody on modern versions.

 Why you didn't wrote the missing arguments?

@effolkronium Are you encountering this same issue with a current version of OSL?


AugmentAnimator causes parallel inheritance trees

We should consider making every augment inherit from or contain augmentAnimator so we de don't get parallel inheritance trees for different types of augments.

Hold on a minute, I wrote the different subclasses of BarrelAnimator to do different kinds of animations that should be general enough to be used in a lot of different barrels, thus not causing parallel inheritance trees.

Regarding the class that is currently named HatBarrelModel, I did want to rename it and generalize its member names, but I kinda forgot to do so. It should work as a general animator for barrels with magazines and a firing animation.
I'd like to point you towards PinAnimator, which is used for both the shotgun and the bullet barrel.

In that case, we should really reconsider our naming scheme for these classes

In that case, we should really reconsider our naming scheme for these classes

The only one with a real issue is HatBarrelModel though, which I've already stated that I intended to rename. PinAnimator could be renamed to have Barrel in its name, I suppose. With that in mind, I don't see an issue with the naming scheme 🤔
On the topic of naming schemes, I think we should rename HatBarrel to something like MeshProjectileController if we can make it general enough. At the very least it should end with ProjectileController and not Barrel since that sounds like it inherits from GunBarrel 🙃

I think the diversity of the behaviours contained in each augment, including a lack thereof too in some instances, usually calls for specific implementations for some or most augments.
I think we should generalize stuff like mesh projectiles, but the way of handling animations should either be component based or there should be common class of which augments that needs it inherits from.

We could invert the responsibility so that animators listen to delegates on projectile controllers and the like, which would allow us to have any amount of different animation scripts attached to an augment.
However, I don't think we would need specific animations for every single augment. Barrels will be quite similar in behavior, at least they have been so far, and I suspect that extensions will be quite boring in the animation department for the most part. Bodies are a different beast with all the weird mechanics we use on them.


[FEATURE] Move scheduling Redux state.

Pull Request Test Coverage Report for Build 278

57 of 90 (63.33%) changed or added relevant lines in 12 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.05%) to 32.719%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/containers/Tabs/ScheduleTransaction/components/Fields/SchedulingToggle/SchedulingToggle.tsx
0
1
0.0%

common/selectors/schedule/current/windowSize.ts
1
3
33.33%

common/containers/Tabs/ScheduleTransaction/components/Fields/ScheduleTimezoneDropDown/ScheduleTimezoneDropDown.tsx
0
3
0.0%

common/selectors/schedule/transaction.ts
0
3
0.0%

common/actions/schedule/actionCreators/fields.ts
12
17
70.59%

common/selectors/schedule/fields.ts
16
23
69.57%

common/reducers/schedule/schedule.ts
5
17
29.41%

Files with Coverage Reduction
New Missed Lines
%

common/containers/Tabs/ScheduleTransaction/components/Fields/ScheduleTimezoneDropDown/ScheduleTimezoneDropDown.tsx
1
6.25%

Totals

Change from base Build 273:
0.05%

Covered Lines:
2424

Relevant Lines:
6225

💛  - Coveralls


The Chatbot is not working properly and is unresponsive

Description
The AI chatbot for the website is not answering good results and is totally unresponsive. It's a major issue and poses a great threat to the authenticity and the user experience of the webapp.
It's answering in a way that is not related to the webapp and there is no button to navigate back or close the chat. It's completely unresponsive even on larger screens.
Screenshots

Additional information
No response
What browser are you seeing the problem on?
Chrome, Microsoft Edge
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@Nishitbaria Assign this issue to me. I will create a new chatbot with custom webapp data and integrate it into the webapp so that it only answers questions in this context. I will also make it responsive for all screens and dimensions

Please assign me this issue as I am a GSSOC contributor


[ELE-1481] Job name not populating

Describe the bug
In dbt invocations table the job is always blank only the job_id is populating
ELE-1481

Hi @svyas15 ! thanks for reaching out! are you a dbt cloud user? if so, job name is not something that is being passed automatically in dbt cloud (job ID is indeed something that is being passed automatically) - see what's supported by default in dbt cloud here. You can pass your job name to the dbt command either via vars or via env vars as documented here.
Closing this issue for now, please feel free to say if you need further assistance or if what mentioned here doesn't solve it for you and I'll re-open the issue.

Hi @svyas15 ! thanks for reaching out! are you a dbt cloud user? if so, job name is not something that is being passed automatically in dbt cloud (job ID is indeed something that is being passed automatically) - see what's supported by default in dbt cloud here. You can pass your job name to the dbt command either via vars or via env vars as documented here.
Closing this issue for now, please feel free to say if you need further assistance or if what mentioned here doesn't solve it for you and I'll re-open the issue.


Feature request: Exclude some content by tags from public stream

Please add possibility to exclude some content by tags from public stream for admins.
It's for nsfw tagged posts in public stream.

@git-marijus Hello! I tried to do git cherry-pick 721496f9220fa59059f90d16d3b3fb19337b2f16 but it falsed because conflicts... I'm thinking about switching to dev branch completely on my hub.
Please tell me, is it safe for the database? Could i then switch to master branch without losing data later?

@git-marijus @zotlabs I switched to dev branch.
I see Do not import Public stream posts with this text textfiled in admin menu, but it doesn't work.
After adding some text (#nsfw or just nsfw) and pressing submit, this textfield is cleared, all my content is deleted.

@git-marijus @zotlabs With last commits textfiled Do not import Public stream posts with this text in admin menu works fine, it saves results:

But this functionality doesn't work at all, NSFW posts doesn't excludes from public stream:

This post looks as if it came from Diaspora. Make sure you pull updates to hubzilla-addons as well as hubzilla as those posts are filtered within the Diaspora protocol plugin.
Also if you enable 'safe mode' on your /directory page you will be spared the adult tags on your pubstream page (in the 'Trending' widget). I believe this is the default condition.

I've just tested and the filter is working perfectly on my system for messages originating on zot and Diaspora. I have not yet tested OStatus and ActivityPub but I see no reason why they shouldn't work as well; and these posts are obviously coming from Diaspora. It's clear there is something wrong but I can't figure out what it is. For me the feature is working perfectly.

Just curious - you updated the addons but did you also change branch to 'dev' in the addons directory? I'm thinking that the addons might still be on master branch which could potentially be the reason why it is working for me but not for you.

Thanks, it was my issue - i didn't change branch to 'dev' in the addons directory... Now i do it, and it looks fine. Already 15 minutes are not imported new nsfw-posts, looks like everything fine with this issue. But trending cloud highlights these tags because of old posts highlights these tags:

Is it possible to quickly clear all imported stream posts in order to start forming this cloud from the very beginning?
ps Also with dev branch of addons there cavatars in public stream now, it's great. Thanks again!

About clear all imported stream posts: https://github.com/redmatrix/hubzilla/issues/1208#issuecomment-394154998
Excluding some content by tags from public stream feature works fine in dev branch now. Thanks!


DictionaryMatch: Throw error if empty string in dictionary

If a dictionary contains an empty string, throw an error when the dictionary is used for matching

Closed in v0.5.0


ci: specify reusable workflow version

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

v5.10.2
GitHub release

Your semantic-release bot :package::rocket:


Remove version requirement for Jinja template library.

There might be a better way to do this (maybe a range of versions?) however this allows the build to work and we are not heavily using the Jinja library, so should not be too sensitive to the version.

Closed in favor of #695


Correcting typo in docs

Correcting a typo of 'come' -> 'some' when describing usage of Capistrano from a non-tty source.

Thanks :) recent addition to the docs there from a PR from a non native speaker, nice catch and thanks again!


Add shutdown hook for WebSphere and checkError() to detect disconnected client

fixes https://github.com/Netflix/Hystrix/issues/346
WebSphere won't shutdown a servlet until after a 60 second timeout if there is an  instance of the servlet executing a request.  Add a shutdown method to enable a hook to notify Hystrix to shutdown.  You must invoke this method at app server shutdown, perhaps from another servlet's destroy() method.
Also added explicit checkError() in poller loop to detect disconnected client.

Hystrix-pull-requests #234 SUCCESS
This pull request looks good

Thanks @jboyd!

This fix does not seem to have fixed the WebSphere issue.
"Also added explicit checkError() in poller loop to check for
disconnected client."


Split models into multiple files.

Before models.py gets any more unwieldy, splitting it into a directory might be a good idea. See https://stackoverflow.com/questions/6336664/split-models-py-into-several-files for ideas.

Due to refactoring, this process was started in https://github.com/terjekv/hubuum/pull/67.


Upgrade pip before installing beta

The legacy pip can't resolve dependencies smartly enough, and will cause failure (https://github.com/Azure/azure-cli/issues/17598):
azure-cli 2.21.0 requires azure-mgmt-authorization~=0.61.0, but you have azure-mgmt-authorization 1.0.0 which is incompatible.
azure-cli 2.21.0 requires azure-mgmt-compute~=19.0.0, but you have azure-mgmt-compute 20.0.0 which is incompatible.
azure-cli 2.21.0 requires azure-mgmt-resource==12.0.0, but you have azure-mgmt-resource 16.0.0 which is incompatible.
azure-cli-core 2.21.0 requires cryptography<3.4,>=3.2, but you have cryptography 3.4.7 which is incompatible.
azure-cli-core 2.21.0 requires PyJWT==1.7.1, but you have pyjwt 2.0.1 which is incompatible.

Also remove --pre as it will cause preview versions of dependencies to be installed.

Docs Build status updates of commit 0128de9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 9bafeb8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-azure-cli-beta.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Added a new query as FAQ

As per suggestions, added a new point in FAQs section to guide users if they want to show the computer name in diagnostic data.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/4740

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@joinimran - please merge the commit on the copy/edit review done by illfated. Thank you.

Suggestions applied, Ready to go live.

@illfated - Thanks for helping do the copy/edit review of this PR.

@jaimeo - PR has been copy edited and is ready for final review. This is based on issue #4740.
Thank you.

@MatthewMWR  is this edit OK with you? Do not merge w/o this confirmation from the PM.
Some changes:

Delete "consumer."
"Recent versions" will not fly--specify starting with which version of Windows 10 this is the case.

Actually, let's do this: This question was already answered in the Troubleshooting topic. If you insist on duplicating the information in this topic, just copy/paste the same text from https://docs.microsoft.com/en-us/windows/deployment/update/windows-analytics-faq-troubleshooting#device-names-not-appearing-for-windows-10-devices:
Device names not appearing for Windows 10 devices
Starting with Windows 10, version 1803, the device name is no longer collected by default and requires a separate opt-in. For more information, see Enrolling devices in Windows Analytics. Allowing device names to be collected can make it easier for you to identify individual devices that report problems. Without the device name, Windows Analytics can only label devices by a GUID that it generates.

@joinimran - please apply the recommended changes to this PR from jaimeo. Thank you.

Suggestions applied. Ready for review.

Thanks, joinimran!


[fix][broker] Duplicate LedgerOffloader creation when namespace/topic…

Motivation
#21590
When namespace/topic policies are updated, will call this method to try to apply new policies of offload.
https://github.com/apache/pulsar/blob/eebd821e00aaabb15e0ddfa9516f854c9bfacdec/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L1373-L1392
But, in this case(#21590), Never hit 1380 lines. offloader.getOffloadPolicies() and  offloadPolicies are always unequal.
Reason:

In #21590 reproduce step, set a useless config: fileSystemProfilePath.
This configuration is then ignored when converted to properties, then offloader.getOffloadPolicies() result not be included fileSystemProfilePath
offloadPolicies is built from the broker configuration, which contains this configuration.
So, the two are not equal

Note:
In v3.1 after. This pr: #20804 introduces a managedLedgerExtraConfigurations variable, which is also always unequal if the user does not set the value. (null vs empty map)
So after v3.1, In this case(#21590), this issue will appear regardless of whether you have fileSystemProfilePath set.
Modifications

Changed toProperties method:  Regardless of the user's configuration, we should all convert.
The toProperties and create(Properties properties) methods should be complementary.
Fix managedLedgerExtraConfigurations conversion issue.

Verifying this change
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository

Codecov Report

Merging #21591 (652999e) into master (403faa4) will decrease coverage by 0.09%.
Report is 1 commits behind head on master.
The diff coverage is 90.47%.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #21591      +/-   ##
============================================
- Coverage     73.35%   73.27%   -0.09%
+ Complexity    32711    32685      -26
============================================
  Files          1892     1892
  Lines        140707   140663      -44
  Branches      15483    15484       +1
============================================
- Hits         103211   103066     -145
- Misses        29394    29493      +99
- Partials       8102     8104       +2

Flag
Coverage Δ

inttests
24.19% <28.57%> (-0.06%)
:arrow_down:

systests
24.68% <71.42%> (-0.38%)
:arrow_down:

unittests
72.58% <90.47%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...lsar/common/policies/data/OffloadPoliciesImpl.java
85.66% <90.47%> (+2.02%)
:arrow_up:

... and 78 files with indirect coverage changes


records-rest: change license (shared case)

Problematic packages:

[ ] pyPEG2 GPLv2 (from invenio-query-parser) (same as in https://github.com/inveniosoftware/invenio-search/issues/130)

Closed by #194 and #191


RangeError: Maximum call stack size exceeded

I am getting this error when trying to deploy a large bucket.
RangeError: Maximum call stack size exceeded
    at /home/circleci/bold/frontend/node_modules/gatsby-plugin-s3/node_modules/klaw/src/index.js:53:23
    at go$readdir$cb (/home/circleci/bold/frontend/node_modules/graceful-fs/graceful-fs.js:162:14)
    at FSReqWrap.args [as oncomplete] (fs.js:140:20)

Seems to be caused by https://github.com/jprichardson/node-klaw/issues/37
Not sure if anyone has workaround.
I am willing to make the change to walk if you agree , or if there's something else to do here to fix it :)

I don't think we're particularly attached to klaw. I'd be happy to review a PR that replaces it with walk.

Hey i am wondering if you have any ideas on how to test this out. Would it work if i build the plugin and just call the bin.js with the right environment variables?
if this works i could test on circleci as well by sshing in to test it works with our large bucket.

You can use npm link to symlink your local copy of the plugin into your site. See here: https://www.gatsbyjs.com/docs/creating-a-local-plugin/#using-npm-link-or-yarn-link
This is likely something that we won't test in our e2e test suite, as I think generating and uploading ~200,000 files each test run would make the tests quite slow.
Thanks!

Looks like its way too slow walk. plus it needed a lot of changes given that it doesn't have streamable reads. i making a PR in klaw to fix. Should i keep open to notify once its released so we can update the plugin dependency as well?

Please do!


Refactor with Book struct and set default edition for each book

Description of changes:
Turns out default editions are different for each book: https://rust-lang.zulipchat.com/#narrow/stream/237824-t-lang.2Fdoc
Refactored the dashboard code to include an extensible Book structure which contains all information related to a particular book. This allows us to set the correct default edition for the examples in each book.
Resolved issues:
Resolves #666
Testing:

How is this change tested? Running dashboard locally.

Is this a refactor change? No, but includes some refactoring.

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Thanks @zhassan-aws ! Rebased and added two minor comments, merging now.


Missing template literal in email-messages.ts updateEmailAddressSuccessEmail

In line 52 a normal string is used instead of a template literal resulting in the email looking like this:
Your email address for ${APP_NAME} has changed.

Good catch!  Thank you.  I put the wrong type of quotes around the string so it wasn't interpreting the variables around the string.  Thanks for very much for finding this.  It is fixed now!


ETC v OPT

I used sudo apt-get install openhab-runtime openhab-addon-binding-mqtt openhab-addon-io-myopenhab which installs to /ETC... but when following the instructions, I noticed some code was defaulting listed to OPT, I was getting an error at the end..... I read that OPT should be changed to ETC on these instances for the RPi, but not sure, especially since we will be installing addons, sites, script for the MQTT bridge.py thingy, openhab.cfg - I want to make sure everything is pointing to the right place. I have/changed:

sudo mkdir /etc/openhab/
etc/openhab/
chown -hR pi:pi /etc/openhab/
cd /etc/openhab/configurations
sudo nano openhab.cfg
etc/openhab/configurations/items
etc/openhab/configurations/sitemaps

also, sudo curl --create-dirs -o /etc/openhab/ninjaCapeSerialMQTTBridge.py https://raw.githubusercontent.com/perrin7/ninjacape-mqtt-bridge/master/ninjaCapeSerialMQTTBridge.py  defaulted to /etc/...., so I figured:
cd /etc/openhab/
sudo curl --create-dirs -o /etc/openhab/ninjaCapeSerialMQTTBridge.py https://raw.githubusercontent.com/perrin7/ninjacape-mqtt-bridge/master/ninjaCapeSerialMQTTBridge.py
sudo chmod +x ninjaCapeSerialMQTTBridge.py
of course, Im getting an error still when I run:
./ninjaCapeSerialMQTTBridge.py

The python script doesn't care where it's being run from - I have it in my home directory.   The ninjaCape bridge has no dependencies on openHAB at all.  I've actually moved away from openHAB and started using home-assistant.io which I find better for my use-cases.   The python script simply translates the serial data from the ninjaCape (either on the pi or BBB) into MQTT messages.
It sounds more like an installation issue with python or openHAB, rather than an issue with the script.
@carlossg wrote the wiki on the installation - so maybe he can help?

sorry to spam this, but awesome find on home-assistant. I may look into this, I have a feeling my use case would be similar to yours (given you're still using ninja-block with it)

nice....some plans to throw a home-assistant.io guide?   Plus its all python :smiley:
@aelg305 no plans on a home-assistant.io guide.. I've only been playing with it for a week or so
This script is platform agnostic, MQTT is designed to be compatible with any platform - so this wouldn't be the "right place" for it.  If anywhere I'd contribute to the home-assistant.io project!

the references to /opt are only useful when installing by hand, when using debian packages all the config is under /etc

@perrin7 any luck with HA? I completely migrate (except for the ninjacape-mqtt-bridge integration, of course).
Thermostat, kodi, some lights working, but can't get to figure out how to connect HA to NinjaCapeSerialMQTTBridge because of the pip3 v pip. I read somewhere that is not the same, and you have to do some trickling to get it to work.
Since I have 2 RPi with ninjablocks, I was thinking on setting one with HA and one with OH, and then have then talk to each other (no pretty, but at least a solution) problem is, I can't get to make OH work with the Cape.

@aelg305 Mine works flawlessly - I have the script running on the ninjablock and it reports data to a MQTT broker which I have installed on the same server as hass.
Hass release 0.16 includes support for a MQTT broker, so I will transition from an external MQTT broker to the Hass one.  You should be able to point my script at the broker for hass and it will be done!

Care to share the step by step? I tried installing the mqttbridge first
(and omiting the OH) and then HA, but as I recently learned, the HA
installation breaks the mqttbridge and serial requirement.
I would be forever thankful if you could share that missing integration of
mqttbridge and Home Assistant
On Apr 5, 2016 12:58 AM, "perrin7"<EMAIL_ADDRESS>wrote:
@aelg305 https://github.com/aelg305 Mine works flawlessly - I have the
script running on the ninjablock and it reports data to a MQTT broker which
I have installed on the same server as hass.
Hass release 0.16 includes support for a MQTT broker
https://home-assistant.io/blog/2016/03/26/embedded-mqtt-broker-uber-yamaha-growl/,
so I will transition from an external MQTT broker to the Hass one. You
should be able to point my script at the broker for hass and it will be
done!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/perrin7/ninjacape-mqtt-bridge/issues/9#issuecomment-205644255


请问docker里面python对应的依赖要怎么装呢

脚本对应的依赖

How to install dependencies corresponding to Script

Thank you

The only prerequisite is Docker on your machine. Could you be more specific?

For example, I use your project to execute a script. The script needs to use the aiohttp module. What should I do

If you need to use any extra dependencies I think you need to create a new Dockerfile extending mitmproxy/mitmproxy, and build your Python project within this Dockerfile including any dependencies.

OK， Thank you


fix issue #9526

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4686/
Test PASSed.

Thanks for your contribution @lodocj! We appreciate it very much.
You'll need to sign the CLA and fix the PR title and email before we can merge this change.
Thanks again!

Closing as this was now fixed in https://github.com/Alluxio/alluxio/pull/9556 and cherry picked to branch-2.0 with https://github.com/Alluxio/alluxio/pull/9600


List all possible commands on patch-list context menus

Items on the Patches list treeview have some commands available to them as buttons and others on the context (a.k.a. right-click) menu.
The context menu should always be a superset of all the available commands, neatly organised.

Demo:
(the blue is just because on the second screenshot I happened to have the item selected too, nothing that got changed)

Before
After

Results:
🚀 Enhancements

patch-list: show all possible actions for a patch on its context menu (right click)
patch-list: add new context-menu action "Refresh Patch Data" for a patch item

🩹 Fixes

patch-list: sort changed file entries placing correctly always to the top those located at the root directory of the repo


activating dart devtools

After I upgraded the Flutter framework to 2.0, I found that there was an extra step in the process of launching the app —— “Activating Dart DevTools...”. I have been waiting for a long time, but this process is still running.Because I have been blocked at this step, my flutter app cannot be debugged normally. Is there any way I can choose or skip this step?

@tongyangsheng can you please print the output of flutter doctor?
This is surprising to me. I thought as of https://github.com/flutter/flutter/pull/74859, we no longer waited to activate devtools before running a user's application? @Hixie @jonahwilliams

Looks like #74859 missed the 2.0 train.

@tongyangsheng Do you have the same problem if you switch to the latest dev channel build?

Hi,@kenzieschmoll,This is my local configuration information
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.0, on macOS 11.0.1 20B50 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.47.3)
[✓] Connected device (2 available)

Hi, @Hixie,I think the merger you mentioned can effectively solve the problem, but it is a pity that it is not included in Flutter 2.0. I will switch my branch to the beta branch to try it later. By the way, when will this merge be merged into the stable branch?

It'll be in the next stable. There's about 4 stables yer year.

I don't see the reported behavior anymore by running a sample app using latest stable (2.10.4) on iOS simulator:
Launching lib/main.dart on iPhone 13 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           66.9s
Debug service listening on ws://<IP_ADDRESS>:52017/zEv6i2Vo-xg=/ws
Syncing files to device iPhone 13...

[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.4 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (3 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

Closing as fixed.


Configure codegen to define DateTime as string

Sandbox die beschreibt warum hack notwendig ist.
Entweder muss die Definition im comet angepasst werden, oder welche Maybe (oder InputMaybe) Definition von codegen verwendet werden soll (das könnte möglich sein, habs mir aber jetzt nicht genauer angesehen).

yes, null is incompatible with undefined, sometimes annoying but understandable.
please create a PR with the proper fix in comet, starter is the last place where we want hacks

I hope I resolved the issue in this merge-request: https://github.com/vivid-planet/comet/pull/1245

@Ben-Ho Your fix in Comet was published in v4.4.2 and the Starter was updated to 4.4.2 in #21. So you can proceed here

@johnnyomair this pull-request is updated.

@Ben-Ho please fix the pipeline (unused import)

FYI: The pipeline fails because @comet/cms-admin was forgotten during the recent Comet version bumps due to human error. I fixed that in https://github.com/vivid-planet/comet-starter/pull/27. Once it's merged, the pipeline in this PR should finally pass.


etcd package installation failing on centos7

yum -y install etcd-2.2.2-5.el7.x86_64  is failing, hence the version should be either removed from the json or should be upgraded to 3.1.x version to work. Will update  the working file shortly.

Committed and tested in Oregon, issue closed.

for now, i have removed the version specific and instead used yum etcd that installs 3.1.x
If we want to stick to a specific version, that a tar file should be used along with make. In my case, I havent use the tar file as yum etcd installed the latest version that worked.