How to have an animated sprite play on screen through an event multiple times (read below for better explanation sorry!)

Describe your problem here.
I was able to create an event that basically plays an animated sprite on screen and tweens its alpha to fade away simple. What I did not realise was that when you try play the event right after you just played it, rather than playing it twice and keeping two on the screen it instead removes the first one to play for the second one meaning it is only possible to have one on the screen at a time (or at least the way I coded it which is most likely wrong) if anyone can help me out on how to make it so that when this event is played after one another that the animated sprite prior isnt cancelled out for the next one that would be great :) (essentially I want to be able to have multiple sprites using the same event if possible)

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

count = 0

function onEvent()
     count = count + 1
     makeAnimatedLuaSprite('huh'..count, image)
     --do the same ('huh'..count) with other lines
     --why was the tween here
     runTimer('huh'..count, tonumber(value2))
end

function onTimerCompleted(tag)
     if tag:find('^huh') then
          doTweenAlpha(tag, tag, 0, 1.2)
     end
end

function onTweenCompleted(tag)
     if tag:find('^huh') then
          removeLuaSprite(tag)
     end
end

count = 0
function onEvent()
count = count + 1
makeAnimatedLuaSprite('huh'..count, 'PowerUpText/huhText', 690,300)
addAnimationByPrefix('huh'..count, 'huhText', 'huhBounce', 24, false)
setObjectOrder('huh'..count, 18)
scaleObject('huh'..count, 1.7, 1.7)
objectPlayAnimation('huh'..count, 'huhText', false)
runTimer('huh'..count, tonumber(value2))
end
function onTimerCompleted(tag)
if tag:find('^huh') then
doTweenAlpha(tag, tag, 0, 1.2)
end
end
function onTweenCompleted(tag)
if tag:find('^huh') then
removeLuaSprite(tag)
end
end
haha sorry I noticed as I looked back at the image thinking why did I put the tween there lol. So it works it produces multiple sprites now thank you so much for that, but the issue I'm having now is that rather than stopping after I place for example 4 events it repeats and loops over and over even tho there is no event telling it to play why is that?

It may be triggering with other events because you didn't add the name check, I left it out on the example I sent but it's necessary if you have other events

Thanks for helping me solve this 👍 🥇


Deserializing csv with unknown column count and headers

Maybe I'm missing something, but from the docs it seems that the user needs to define a hard-coded record class in advance. There are some dynamic options, but this seems to be limited to removing or setting certain rows to optional.
I basically want to use FileHelpers for deserializing a localization csv that can contain any number of languages. Defining all possible languages in this world as fields in the record class wouldn't be a good solution. Rather, I'd like to have the csv deserialized dynamically, and then access the columns using an indexer or method I can define (e.g. Record.GetTerm("en-US")).
Is this supported yet, or can I somehow access the raw data? Thanks!

These kind of questions are better posted on StackOverflow with the FileHelpers tag.  However, you can use the class builder functionality to build up a dynamic type containing the colums and data types that FileHelpers could judge to be present.
If you then use that type to return a datatable, then you can access it dynamically as you would any DataRow/DataColumn/DataTable collection of objects.  If you return it as a list, you would have to use Reflection to be able to work out what fields/properties were present and dynamically query that property for a value on a specific instance (or row).


[react-form] export DynamicList interface

Description
Export DynamicList on types.ts so that we can import as:
import {DynamicList} from "@shopify/react-form"

instead of:
import {DynamicList} from '@shopify/react-form/build/ts/hooks/list/dynamiclist';

Is ReturnType<typeof useDynamicList> insufficient?

Is ReturnType<typeof useDynamicList> insufficient?
Alternatively, because in your example you're already accessing DynamicListBag you can get the type off that object shape too:
type DynamicList = DynamicListBag[keyof DynamicListBag];

Hi @BPScott!! I've tried that approach but it turns out that we will lose the ability to use the generic on DynamicList, i.e DynamicList<ProductField>
By using DynamicListBag[keyof DynamicListBag] we get a dynamic list of unknown 😕


Do you add xml comments to interfaces and classes?

Do you suggest adding xml comments to both interfaces and classes or just one of them to avoid duplication?

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

ID: 39152ded-70ce-012d-ffc3-a8b1a78f3308
Version Independent ID: 809078f6-169a-0ffe-5f33-d5a359aeefc5
Content: Documenting your code with XML comments
Content Source: docs/csharp/codedoc.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

I'd suggest adding to both, especially if you're generating documentation based on that.
The .NET team doesn't historically adds /// comments everywhere, but you can see an example here:
https://source.dot.net/#System.Runtime/System/Collections/Generic/ISet.cs,24ab7bbfbae81f24


Update README.md

Hi guys,
Today I propose you Aguacongas.Identy.Redis, my implemention of APS.NET Identity Redis Provider

@aguacongas thanks for the PR! @ajcvickers / @HaoK  - does this look good to merge?

@blowdart @HaoK Not sure whether you guys do any sanity checks on external references like this?

Not really no. We ought to add a disclaimer to these links.

@blowdart I'll copy the one we have in EF.


Error on save

Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/xxx/opt/miniconda3/envs/experimental-py37/lib/python3.7/tkinter/__init__.py", line 1705, in __call__
    return self.func(*args)
  File "/home/xxx/opt/miniconda3/envs/experimental-py37/lib/python3.7/site-packages/flowkey_dl/flowkey_dl_gui.py", line 165, in save
    strip_url(self.url.get()))+'.pdf'
TypeError: join() takes exactly one argument (3 given)

Btw, I also had to manually create /home/xxx/opt/miniconda3/envs/experimental-py37/lib/python3.7/site-packages/flowkey_dl/raw/ for the .png.

FYI -
flowkey_dl was installed into a conda virtual env, in the usual way with pip install flowkey_dl.

this error happens in the GUI only;
the CLI works.

Thank you for trying to fix this. I still have an issue unfortunately:
saving raw image of sheet  -  to /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/raw/i9uwQL5KqTiug46ZC.png Exception in Tkinter callback Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 1921, in __call__     return self.func(*args)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/flowkey_dl_gui.py", line 159, in save     save_png(self.image, self.url.get(),   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/flowkey_dl.py", line 190, in save_png     Image.fromarray(image).save(filename, pnginfo=metadata)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/PIL/Image.py", line 2317, in save     fp = builtins.open(filename, "w+b") FileNotFoundError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flowkey_dl/raw/i9uwQL5KqTiug46ZC.png'
cli works perfectly

The issue with raw images should not occur anymore with 0.1.4 - If the folder is not found, the raw image is not saved, but downloaded again next time the load button is hit.

Thank you! Now it works


Failed to load the dll from [c:\Users\erikr\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.7\host\fxr\7.0.7\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\Users\erikr\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.7\host\fxr\7.0.7\hostfxr.dll failed

Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
[Info  - 4:53:06 PM] Connection to server got closed. Server will restart.
[Error - 4:53:06 PM] Server initialization failed.

Log in C# DevKit:
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Starting Spawn .NET server...
.NET server started and IPC established in 1934ms
Completed Spawn .NET server (1958ms)
Completed Clear environment (2557ms)
Completed Open a solution with environment service (2847ms)
Starting Restore solution...
Completed Open a solution (3100ms)
Completed Restore solution (2203ms)
My Microsoft Account is not associated to a Visual Studio Subscription according.

Dotnet path: c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
Failed to load the dll from [c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll failed

Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
[Error - 10:58:01 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info  - 10:58:01 AM] Connection to server got closed. Server will restart.
true
[Error - 10:58:01 AM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
Dotnet path: c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
Failed to load the dll from [c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll failed
Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
[Error - 10:58:01 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info  - 10:58:01 AM] Connection to server got closed. Server will restart.
true
[Error - 10:58:01 AM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
Dotnet path: c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
Failed to load the dll from [c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll failed
Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
[Error - 10:58:01 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info  - 10:58:01 AM] Connection to server got closed. Server will restart.
true
[Error - 10:58:01 AM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 10:58:01 AM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
Dotnet path: c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
[Error - 10:58:01 AM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 10:58:01 AM] Stopping server failed
Error: Client is not running and can't be stopped. It's current state is: startFailed
at s.shutdown (c:\Users\my.account.vscode\extensions\ms-dotnettools.csharp-2.0.357-win32-ia32\dist\extension.js:2:2241411)
at s.stop (c:\Users\my.account.vscode\extensions\ms-dotnettools.csharp-2.0.357-win32-ia32\dist\extension.js:2:2240992)
at s.stop (c:\Users\my.account.vscode\extensions\ms-dotnettools.csharp-2.0.357-win32-ia32\dist\extension.js:2:2404164)
at s.handleConnectionError (c:\Users\my.account.vscode\extensions\ms-dotnettools.csharp-2.0.357-win32-ia32\dist\extension.js:2:2247499)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[Error - 10:58:01 AM] Server initialization failed.
Message: write EPIPE
Code: -32099
[Error - 10:58:01 AM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
Message: write EPIPE
Code: -32099
[Error - 10:58:01 AM] Restarting server failed
Message: write EPIPE
Code: -32099
[Error - 10:58:01 AM] Restarting server failed
Message: write EPIPE
Code: -32099
[Info  - 10:58:01 AM] Connection to server got closed. Server will restart.
true
Dotnet path: c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
Failed to load the dll from [c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll failed
Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
Failed to load the dll from [c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from c:\Users\my.account\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\7.0.10\host\fxr\7.0.10\hostfxr.dll failed
Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
[Error - 10:58:01 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 10:58:01 AM] The Microsoft.CodeAnalysis.LanguageServer server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 10:58:01 AM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097

Me Too.


⚠ AGEG website (redirect) has degraded performance

In c779e7f, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 3375 ms

Resolved: AGEG website (redirect) performance has improved in 4a7e66f.


Authentication failure

As I don't have a consumer key or consumer secret as I can't seem to find either on the tumblr site I've set up my authentication like so.
client = pytumblr.TumblrRestClient(
'oauth key',
'oauth secret'
)
This doesn't seem to work, so the question is where do I get the other keys? or are they not necessary as I suspected?

@karlinnolabs You should be able to retrieve your Consumer Key and Consumer Secret from the OAuth Apps page. If you do not see your application there, you may also register for one.
Once you have the Consumer Key and Secret, you need to use them to complete an OAuth 1.0a flow with tumblr to get the OAuth Token and OAuth Secret. You can use any OAuth 1.0a library of your choosing to do so.
Or, if you just need a single token for your user for debug/development purposes, you can go to https://api.tumblr.com/console and enter your credentials. You should then be able to click the Show Keys button on the top right to get a full set of OAuth credentials. Or, you can click the Python tab, and copy and paste the code you see to get started using pytumblr.
However, please note that the generated OAuth token is specifically for your user anyone who has access to that token has full access to modify your user, blog, and posts, so be careful how you use it. In production you'll likely want to direct each user through an OAuth flow themselves, so you can access their user instead.

I have the oauth keys but not the consumer key and secret, so instead of 4 strings I only have two.


Late Breaking Demo

We are currently not archiving LBDs.
Maybe this can stay a "manual process" and will not involve DBLP but maybe we want those on Zenodo?

worth re-raising to the board, but I believe the general sentiment is that LBD papers should be deemphasized since they are not peer reviewed. If only for practicality though, I'm happy to stick with "peer reviewed papers are the only ones to get DOIs" until there's sufficient clamoring for more.

Yes, you are right. DOI not required. However, often those are the most interesting ideas :)
But low prio.

fyi, for 2019 we added lbd papers to archives.ismir.net, but don't have a json data file or upload to zenodo. Do we want to add a json file in the same format as the year data files?


Usage of plugin

I saw your plugin that you are providing in Adobe Tags and I have a general question. I am the architect of an Adobe Partner and we are setting up a new customer in AEM as a Cloud Service. The customer itself also has Adobe Analytics and Adobe Target, but won't be using those products in the initial phase. They do however will be using Google Analytics. So I am searching for what would be the best solution for setting this up.
I would assume that the answer would be to use AEP Tags and install Web SDK extension so that it is already "ready" to use analytics / target if necessary in the future, but what about setting up the google tracking, how would we approach this? I thought about also loading in google tag manager on the page, but I see in your readme that it states this is not a good approach, so what would be a good approach?

hi @royteeuwen
Difficult to say without going in to detail, but sounds like a case for using AEP Tags plus a GTag plugin to start with: https://docs.acronym.com/analytics/adobe-launch/gtag#:~:text=Google Site Tag (gtag) - Acronym&text=An Acronym built Adobe Launch,Global Site Tag%2C or gtag.
Later AA and AT using the Google Data Layer and the WebSDK plugin.
This does still have two outgoing data connections though, and two clientside libraries.
If this is a completely clean install though, the best way would be to try WebSDK plus event-forwarding to Google .  That last bit needs a POC as the available plugin (Evolytics GA plugin) is quite basic.  In this way you have one data collection library and one endpoint for the client.

Re GTM, it is universally considered to be.. suboptimal to have two tag managers on a page.  Double-tagging.  That's two lots of tagging governance, skill sets, potentially duplicated rules, unnecessary load/script etc.

WebSDK is an extension for Tags (Launch) that sends data to the Edge network (Alloy.js + configurations + rules/dataelements/ etc).  The GTag plugin adds code for Google Marketing Platform (GA etc) to the page and as a result of this will generate and use a Google data layer.  You would then use the Google Data Layer Extension in Tags to give access to this to Adobe solutions


Add vumi dashboard

https://trello.com/c/HmRuJ1ON/79-8-rr-ussd-add-vumi-dashboard

@imsickofmaps Please review.  There are a few metrics still required that I'll add as I go - want to keep this issue size down.

Minor comments then :+1:


Run rollup as well before start development

Not sure if technically rollup -c is required too, since the later one watches the files and does the rollup stuff? It seems #554 is good enough to fix the issue on my side.


memcached version for php 8+ is wrong

Describe the bug
Symfony requires at least memcached php extension version 3.2.0 for php 8+ projects (https://github.com/symfony/symfony/blob/308652c1d7cbbc600b5b80186008fb8d63b38059/src/Symfony/Component/Cache/Adapter/MemcachedAdapter.php#L79). The memcached version here (https://github.com/shivammathur/homebrew-extensions/blob/master/Formula/memcached%408.0.rb#L13) for php8+ is still using version 3.1.5 but should be version 3.2.0 for php8+ https://pecl.php.net/package-changelog.php?package=memcached. Sury (packages.sury.org) for debian has memcached php extension version 3.2.0 for php 8+ as well.
PHP versions
8.0, 8.1, 8.2

@sschueller
Upgraded memcached to 3.2.0 for PHP 7.0 and newer

@shivammathur
I tested memcached 3.2 with php 8.0 and php 8.1 locally on MacOs 12.4 (M1). I get the following errors on php startup:
with 8.1
 PHP Warning:  PHP Startup: Unable to load dynamic library<EMAIL_ADDRESS>(tried<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): symbol not found in flat namespace '_php_msgpack_serialize'<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): tried<EMAIL_ADDRESS>(no such file))) in Unknown on line 0

with 8.0 similar:
PHP Warning:  PHP Startup: Unable to load dynamic library<EMAIL_ADDRESS>(tried<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): symbol not found in flat namespace '_php_msgpack_serialize'<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): tried<EMAIL_ADDRESS>(no such file))) in Unknown on line 0

Am I doing something wrong? do I need to install something in addition?

Apple M1
Homebrew 3.5.3
I have problem with memcached by php 7.1,7.2,7.3,7.4.
PHP Warning:  PHP Startup: Unable to load dynamic library<EMAIL_ADDRESS>-<EMAIL_ADDRESS>0x0009): symbol not found in flat namespace '_php_msgpack_serialize' in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library<EMAIL_ADDRESS>-<EMAIL_ADDRESS>0x0009): symbol not found in flat namespace '_php_msgpack_serialize' in Unknown on line 0

Other php versions works fine (5.6,8.0,8.1,8.2)

@shivammathur : I can confirm that your fix together with the update/reinstall/rm worked for php 8.0 and php 8.1.
for both I needed to remove all three old config files: rm msgpack.ini memcached.ini igbinary.ini
thanks for your work!

I am experiencing the exact same error.
Originally PHP 7.4, 8.0, and 8.1 were working.
I installed 8.2 and was not sure if something changed before or after but For 8.0 I had I fixed the error by looking at the loaded configs and saw that there was a 30-memcached.conf and a memcached.conf deleting memcached.conf and one other file that I don't remember fixed the problem.
you should see another file 20-xxxxx.conf delete the one without the 20- this is to ensure proper load order.
unfortunately, this is not the case for PHP 8.1.
PHP Warning:  PHP Startup: Unable to load dynamic library<EMAIL_ADDRESS>(tried<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): symbol not found in flat namespace '_igbinary_serialize'<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): tried<EMAIL_ADDRESS>(no such file))) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library<EMAIL_ADDRESS>(tried<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): symbol not found in flat namespace '_igbinary_serialize'<EMAIL_ADDRESS><EMAIL_ADDRESS>0x0009): tried<EMAIL_ADDRESS>(no such file))) in Unknown on line 0
PHP 8.1.8 (cli) (built: Jul  8 2022 10:58:31) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies
    with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans

This worked, I was reasonably sure I did this though 😂

@adampatterson
Please run
brew reinstall<EMAIL_ADDRESS>
Then check for ini files for PHP 8.1 in $(brew --prefix)/etc/php/8.1/conf.d directory.
it should show 20-igbinary.ini, 20-msgpack.ini, and 30-memcached.ini.
If you have a 20-memcached.ini or a memcached.ini, please delete those.
same for other versions if you have them installed.

@shivammathur  It's working now! My error was not restarting FPM but only restarting NGINX.
Thanks for the help and quick reply!


multiple bonding in JsMol

https://wiki.jmol.org/index.php/Support_for_bond_orders
https://chemapps.stolaf.edu/jmol/docs/examples/bonds.htm
if we do not take ones from the input for jsmol, we could use set autoBond https://wiki.jmol.org/index.php/Jmol_as_editor

implemented


SpecAugment-like time and frequency masks

Added time and frequency masks similar to SpecAugment (https://arxiv.org/abs/1904.08779)

The original SpecAugment paper uses much higher values for parameters: width_freq_mask = 27 (number of filter banks they use is 80; jasper uses 6 with 64 filter banks) and width_time_mask = 100 (jasper uses 6)
The Google's SpecAugment code https://github.com/tensorflow/lingvo/blob/master/lingvo/core/spectrum_augmenter.py#L37-L42 uses less aggressive values: width_freq_mask = 10 and width_time_mask = 50
Could you please comment if you tried more aggressive values (compared to 6)? Thanks!

Hmm, though Google's SpecAugment code seems to use freq_mask_count = 1 and time_mask_count = 1, so all in all the difference is probably not very significant


[DO NOT SUBMIT] Scripts to gather simulation data.

Datasets:

1 x NTT
1 x TCAM
Polybench

If I remember correctly the interpreter also uses verilog.data rather than interpreter.data. We should really move that to something like shared.data at some point

Hmm its been working with interpreter.data. I pulled it from here:
https://capra.cs.cornell.edu/docs/calyx/fud/examples.html

Misc thought: Make sure that you've got fud using the release versions of the interpreter and the like since this makes a notable difference for simulation time

Hmm its been working with interpreter.data. I pulled it from here: https://capra.cs.cornell.edu/docs/calyx/fud/examples.html

True but unfortunately stale. See https://github.com/cucapra/calyx/blob/master/fud/fud/stages/interpreter.py#L53
The interpreter just runs with all zeros if memory is not specified. I should probably make it emit a warning when that happens

Misc thought: Make sure that you've got fud using the release versions of the interpreter and the like since this makes a notable difference for simulation time

What's the path for release binary? ./target/release/interp?

The interpreter just runs with all zeros if memory is not specified. I should probably make it emit a warning when that happens

Ok changed interpreter.data to verilog.data.

Yup the release binary is
<PATH TO CALYX>/target/release/interp and similar for futil, though it doesn't strictly need to be in release mode

It may also be worthwhile to add the --no-verify flag to the interpreter execution so that it doesn't run the verification passes on the input futil as it's coming from a trusted source?

% fud config stages.interpreter.flags "--no-verify"
usage: fud [-h] {exec,e,ex,config,c,info,i,check,register} ...
fud: error: unrecognized arguments: --no-verify

Well that's annoying

% fud config stages.interpreter.flags "--no-verify"
usage: fud [-h] {exec,e,ex,config,c,info,i,check,register} ...
fud: error: unrecognized arguments: --no-verify

Well that's annoying.
For now I've added a function that verifies the interpreter is running the release binary.

This is python arg-parse being a menace, just add a space inside the quotes, you can also just do a -s when invoking fud

We're going to create a new repository to store the evaluation scripts and regularly commit collected data so that we can audit it. CC @EclecticGriffin

Closing this because they are in the evaluation repo.


#120 Trigger remove before stopListening() is called

+1
I think this should be a patch because previously the remove event handler would never have been called, so I think this is fixing that "bug".

Agree with @lukekarrys

Thanks again for the awesome work here @mmacaula!
Published as v7.4.1.


chore(bug-report): Failing test for issue Redirect with absolute path results in 404s

This is a failing test case for the issue Redirect with absolute path results in 404s.
Link to bug report issue: https://github.com/remix-run/remix/issues/5117

This was resolved in 1.11.0 - moved this test into redirects-test for future regression purposes

Unsure why CI isn't running - going to close and reopen and see if that jump starts it


Update section titles

the section titles weren't in portuguese

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution. This is superseded by #34955, which will solve it for all challenges of all languages, so I'm closing this PR.


Docs: Comments for undocumented functions

Adds Go-Doc comments
Relates to #176

I appreciate you adding to GoDocs, thanks for doing this work. After resolving the above comments, I'll make one more pass and then I think it will be good to merge

I am a fan of Semantic Linefeeds which is what is looks like your doing.

I was not aware of Semantic Linefeeds. The blog post was a good read, thanks for pointing it out. And the fact that Brian Kernighan seems to be the pioneer of it, I couldn't be more happier.

I think these errors are just a go mod merge issue with https://github.com/openpubkey/openpubkey/pull/201


Update release-process.md

Hmmm, this might not be enough detail.

Hmmm, this might not be enough detail.

Yeah we need to go into more detail. Happy to pair on this if you want?

@Vatyx I've blocked out the structure and added the commands that I'm aware of. You still need to:

Add any specific changes that have to be made to the client prior to building (i.e: do you need to hardcode a local ip?)
Add steps to run the client.

Should this have gone into master, or doc-release?

It should have gone in a while ago but I think master is ok? @oblm

master is correct for internal documentation as it's not subject to improbadoc publishing.
Side note, I've asked for usage guidelines for docs-release here: DOC-1083


feat: begin % support

early days implementation
needs:
tests
docs
consideration about support when not directly over the bracket
only supports brackets at the moment
middlebracket support for if/else/end
comment support
will close #3
and part of #5

This looks good to me - do you think it's worth adding a test now or good to wait until more dev has been done on the feature?

I am planning to add a test shortly, but i am just waiting until I finish a couple of minor type def/API changes which are in the other open PR

still checking this out. looks good so far.
re: "only supports brackets at the moment", the % motion is mostly done by the matchit plugin included in [neo]vim (you've probably already looked at this, just mentioning for anyone else reading this PR). Unfortunately, all the logic is contained inside one big function, so we can't call into it directly, but useful as a reference.

still checking this out. looks good so far.
re: "only supports brackets at the moment", the % motion is mostly done by the matchit plugin included in [neo]vim (you've probably already looked at this, just mentioning for anyone else reading this PR). Unfortunately, all the logic is contained inside one big function, so we can't call into it directly, but useful as a reference.

Thanks. I'm not sure how much more of the implementation I want to recreate at this stage.
I have decided that I want to where possible avoid using the vim functions and use lua implementations of their behaviour.
As a % user what else do you think is MVP for the % matching @baod-rate

I think that I am happy with this level of implementation
% as a motion when not on a bracket is a bit weird, especially with nested brackets
Sometimes it takes you to the end, sometimes it does nothing
I will give it some time to mull over, but then i think this can get merged


Modifying the importing of dataframes in cases where different columns of the same dataframe are loaded separately

Different columns of a dataframe are loaded in separate instances, where the same can be done by loading it once.
For example, see least_cost.py file:
'Q_DH_networkload = np.array(extract_csv(fName, "Q_DH_networkload", DAYS_IN_YEAR))
E_aux_ch = np.array(extract_csv(fName, "E_aux_ch", DAYS_IN_YEAR))
E_aux_dech = np.array(extract_csv(fName, "E_aux_dech", DAYS_IN_YEAR))
Q_missing = np.array(extract_csv(fName, "Q_missing", DAYS_IN_YEAR))'
Here the same file is loaded multiple times. The aim of this issue is to reduce such instances and thus speeding the optimization

PR merged


Using GPU mnist_deep.py throws OOM when allocating tensor with shape...

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No, I am using the mnist_deep.py with tensorflow 1.4.0
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 & Tensorflow 1.4.0 binary installation, Linux Ubuntu 16.04 & Tensorflow 1.4.0 built form source
TensorFlow installed from (source or binary): Windows 10 installed with TF binary, Linux Ubuntu 16.04 TF built from source
TensorFlow version (use command below): 1.4.0
Python version: 3.6.2 on Windows 10, 3.5.2 on Linux
Bazel version (if compiling from source): 0.7.0
GCC/Compiler version (if compiling from source): 5.4.0
CUDA/cuDNN version: CUDA 8.0, CuDNN 6.0
GPU model and memory: For Windows 10: NVIDIA GeForce 940MX, For Linux: HW similar to NVIDIA Jetson TX2
Exact command to reproduce: python mnist_deep.py

Describe the problem
The mnist_deep.py sample given in Tensorflow examples/tutorials works fine when run on CPU. But when the same example is run using GPU, an OOM occurs when trying to allocate memory for tensor (specifically 10000) in both the cases. It does not matter if one increases/decreases the number of iterations to train the model, the OOM occurs even after a single iteration is executed.
The other examples like mnist.py, mnist_softmax.py, mnist_softmax_xla.py, etc. runs properly without any issues on the GPU. I have also tried to use the config_proto options but none of them seem to help.
Source code / logs

Windows 10:
tensor_name="edge_75_Mean_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]
Caused by op 'conv1/Conv2D', defined at:
  File "mnist_deep.py", line 176, in
    tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "mnist_deep.py", line 137, in main
    y_conv, keep_prob = deepnn(x)
  File "mnist_deep.py", line 63, in deepnn
    h_conv1 = tf.nn.relu(conv2d(x_image, W_conv1) + b_conv1)
  File "mnist_deep.py", line 105, in conv2d
    return tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding='SAME')
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 630, in conv2d
    data_format=data_format, name=name)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 2956, in create_op
    op_def=op_def)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 1470, in init
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[10000,32,28,28]
         [[Node: conv1/Conv2D = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](reshape/Reshape, conv1/Variable/read)]]
         [[Node: Mean_1/_7 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_75_Mean_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

####Linux:
tensor_name="edge_75_Mean_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]
Caused by op 'conv1/Conv2D', defined at:
  File "mnist_deep.py", line 176, in
    tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "mnist_deep.py", line 137, in main
    y_conv, keep_prob = deepnn(x)
  File "mnist_deep.py", line 63, in deepnn
    h_conv1 = tf.nn.relu(conv2d(x_image, W_conv1) + b_conv1)
  File "mnist_deep.py", line 105, in conv2d
    return tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding='SAME')
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 630, in conv2d
    data_format=data_format, name=name)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 2956, in create_op
    op_def=op_def)
  File "C:\Program Files\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 1470, in init
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[10000,32,28,28]
         [[Node: conv1/Conv2D = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](reshape/Reshape, conv1/Variable/read)]]
         [[Node: Mean_1/_7 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_75_Mean_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Further detailed logs can be attached if needed. Your help and pointers to solve this will be much appreciated.

It seems to be related to #136. I suggest you modify the batch size to fit into the memory first.

@qmick Thanks for replying. The issue does not seem to be the one as #136. The OOM occurs even on smaller memory allocation blocks. Can you point me to the location for modification of batch size?

See ChinChangYang's solution: https://github.com/tensorflow/tensorflow/issues/136#issuecomment-292701072

Do you have open other tensorflow session ? I often get this, because I have multiple session up and running.

@qmick Thanks. The modifications by ChinChangYang worked according to his comment. Maybe that modification should be given as an implementation as mnist_cuda_deep.py. The documentation on TF talks about batch_size but does not show a quick way for newbies like me to implement it.
Thanks for your responses. I will close the issue. I can send a patch with the modified code as a PR to be included in TF if there is an agreement that we need such an example for CUDA. Thanks once again.

It's nice that you want to contribute to TF, but according to #6764, such patch is thought to be unnecessary.

Thanks @qmick. I will live it to that.

For the people stuck with this in models other than mnist.
A good method to drastically lower these parameters is to add:
subsample=(2, 2) (careful it lowers the resolution of images/data) in all the Convolutional layers above that Flatten layer,
if subsample doesn't work then it is stride=(2, 2).

reducing the batch size worked for me.


TypeError: Cannot read property 'email' of undefined

I know I'm missing here --> // TODO: Configure the gmail.email and gmail.password Google Cloud environment variables.
But I don't know how to configure and where to configure.

Check out the Cloud Functions Environment Configuration guide.


Cannot install soorgeon with conda?

I am getting the error
"PackagesNotFoundError: The following packages are not available from current channels:

soorgeon"

I have set conda-forge channel. Installing ploomber was no problem.

Hi,
that's expected. Soorgeon is only available via pip: pip install soorgeon


Generate lists of published data/tools for UFAL web pages (Drupal)

Will be possible with REST api (minor modifications only) but I regard it as a low priority. Moving to good ideas for later.

If you know the collection id, this is as easy as GET repository/rest/collections/2/items, but you can also do an exact match on metadata field (e.g dc.publisher), in that case you need to POST a MetadataEntry. There might be other ways, see the full documentation


Add more architectural documentation

The docs should be improved by adding

[ ] Sequence diagrams for the internal workflow from model to solver
[ ] Flow chart on internal component dependencies

This can be done via https://github.com/JuliaDocs/DocumenterMermaid.jl

A very small peek can be found in the devdocs for now https://termi-official.github.io/Thunderbolt.jl/dev/devdocs/ which describes the ideas from 10000 ft.


No target assembleLocalDebug

https://github.com/ngageoint/mage-android/blob/master/README.md#build says that
./gradlew assembleLocalDebug
should be used.
That isn't working for me. With a command line build, I get
$ ./gradlew assembleLocalDebug
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/bradh/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

FAILURE: Build failed with an exception.

* What went wrong:
Task 'assembleLocalDebug' not found in root project 'mage-android'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.123 secs

From the tasks list, I tried "assembleDebug" instead, but that failed with some resources problems:
:mage:processDefaultsDebugResources
/home/bradh/StudioProjects/mage-android/mage/src/main/res/xml/aboutpreferences.xml:6:22-42: AAPT: No resource found that matches the given name (at 'key' with value '@string/serverURLKey').

I'm trying to build on a Linux 1710 VM, javac 1.8.0_171, using the provided gradle wrapper.

@bradh I updated the instructions here: https://github.com/ngageoint/mage-android/#build
Also make sure you grab the MAGE SDK, build and deploy to your local maven repo.  Instructions here: https://github.com/ngageoint/mage-android-sdk#how-to-build.


Just obtained mesh of a part of object

Hi,
I trained neus-facto, then extract mesh of a person. However, just got the mesh of the belly as video below. I understand that I should scale the scene. Can you tell me which parameter to scale the scene to make it smaller?
https://github.com/autonomousvision/sdfstudio/assets/110378166/14dd629f-94c5-479f-8b72-32300eb4e236
During training time, the rendering is good, as shown in the picture below

Reproduce:

Capture a video with my phone
run ns-process-data
process_nerfstudio_to_sdfstudio.py
run extract_monocular_cues.py
ns-train neus-facto
ns-extract-mesh

Thank you

I guess that missing part of the object may come from "process_nerfstudio_to_sdfstudio" process. If you set "--include_mono_prior True", your data will be cropped and resized to 384*384, causing some image patches removed. By the way, could you share your detailed commands on "ns-train neus-facto"?  I am also researching how to reconstruct a person object.


[WIP] Add overCurrentContext to PresentationDesignable

This PR introduces a new way to make custom presentation but also finally close #198 !
What's in?

A new property in PresentationDesignable: overCurrentContext.

If true, the dimmingView will have the same frame as the controller who started the presentation
If false, the dimmingView will take the fullscreen as a default presentation

The implementation is a bit tricksy but (almost) working. The internal presentation is still in fullscreen, the main difference is that if we set overCurrentContext to true, we will forward all tap which make us able to tap outside.
I have still one issue left that I don't how to fix: in order to do this, I need to know which controllers is our context in order to set its frame to the dimmingView. Since we are already in the modal environment, we don't know which controller starts the presentation. There an easy solution when doing presentation programatically, but I have no idea how to get that context while supporting the interface builder. Any suggestions would help!
For example, here the result with a hard coded frame:

The first part is the one presenting the controller, but while being presented, the second stay clickable.
Other things missing:

[x] Demo app
[x] Changelog
[x] Docs
[ ] Documentation gif

One solution I think of is to add a custom segue for this particular case. When using programatically, you will have to set programatically the frame, but when using a segue, we can access to the source.

That solution is working. There's still a few bug for the modal position (related to the nav bar), but the result is closer than before, and easier to use from interface builder.
Still need to update the docs and fix that last bug.

Closing in favour of #424


wu_ros_tools: 0.2.6-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository wu_ros_tools to 0.2.6-1:

upstream repository: https://github.com/DLu/wu_ros_tools
release repository: https://github.com/wu-robotics/wu_ros_tools.git
distro file: melodic/distribution.yaml
bloom version: 0.9.3
previous version for package: 0.2.5-1

CI finished: https://travis-ci.org/github/ros/rosdistro/builds/669947674?utm_source=github_status&utm_medium=notification


Techdocs not working as expected

The documentation for this seems a little lacking, so this may be wrong on my end.
My attempt to provide techdocs is producing an embedded 404: https://dev-portal.diamond.ac.uk/catalog/default/component/uas-web-app/docs

Techdocs must be built in CI and published to our S3 bucket. This how-to guide should have what you need - the example GitLab workflow should be close to what you need. Let me know if you find anything to be unclear when  following it as you'll be the first real user

So, in the catalog, where shouild the techdocs ref point to?

As far as I'm aware it doesn't matter as the link is created from the S3 object to the entity, but convention is to point it to the directory the docs are built from (the one with the mkdocs.yaml file).

OK, I attempted a gitlab build similar to the one provided, unfortunately I get a fairly unhelp ful error and have no idea how to get more useful information out of the command line provided.
See: https://gitlab.diamond.ac.uk/uas/api-docs/-/jobs/133965


fedora build issues

fedora 33 with golang-bin, what golang devel packages do I need?
$go get -u github.com/greenpau/cni-plugins/cmd/cni-nftables-portmap
cannot find package "github.com/containernetworking/cni/pkg/types/current" in any of:
	/usr/lib/golang/src/github.com/containernetworking/cni/pkg/types/current (from $GOROOT)
	/home/louisgtwo/go/src/github.com/containernetworking/cni/pkg/types/current (from $GOPATH)

$go get -u github.com/greenpau/cni-plugins/cmd/cni-nftables-firewall
cannot find package "github.com/containernetworking/cni/pkg/types/current" in any of:
	/usr/lib/golang/src/github.com/containernetworking/cni/pkg/types/current (from $GOROOT)
	/home/louisgtwo/go/src/github.com/containernetworking/cni/pkg/types/current (from $GOPATH)

@louisgtwo , try running the below commands.
Basically you need to switch from GOPATH mode.
Try and report back.
GO111MODULE=on go get -u<EMAIL_ADDRESS>

That did the trick, Thanks. Second problem fedora does not have /usr/local/lib/cni or /usr/lib/cni. Where do I mv these to?

Fedora has this dir. Is this the right place?
$ ls /usr/libexec/cni/
bandwidth  bridge  dhcp  dnsname  firewall  flannel  host-device  host-local  ipvlan  loopback  macvlan  portmap  ptp  sample  sbr  static  tuning  vlan  vrf

Fedora has this dir. Is this the right place?

By default, CNI binaries are located in the following directories:

/usr/libexec/cni: default binaries
/usr/local/lib/cni: local system

I would say put them in /usr/local/lib/cni


Cannot compile grounstation

when trying to build the ground station it always errors at imgui, no such file or directory. I tried the original jeanlemotan ground station and it runs so its something with your version.
what version of raspi OS are you using?

Successfully installed Cython-0.29.37 PySDL2-0.9.16 cocos2d-0.6.10 glfw-2.7.0 imgui-2.0.0 pyglet-1.5.28
pi@ESP32FPV:/esp32-cam-fpv/gs $ make -j4
g++ -MT .o/src/main.o -MD -MP -MF .d/src/main.Td -std=c++17  sdl2-config --cflags -O3 -DNDEBUG -ffast-math -funroll-loops -Wall -Isrc -Isrc/utils -I../components/common -I/usr/include/ -I/usr/include/freetype2 -Isrc/imgui/ -Isrc/imgui//backends -DIMGUI_IMPL_OPENGL_ES2  -c -o .o/src/main.o src/main.cpp
g++ -MT .o/src/HUD.o -MD -MP -MF .d/src/HUD.Td -std=c++17  sdl2-config --cflags -O3 -DNDEBUG -ffast-math -funroll-loops -Wall -Isrc -Isrc/utils -I../components/common -I/usr/include/ -I/usr/include/freetype2 -Isrc/imgui/ -Isrc/imgui//backends -DIMGUI_IMPL_OPENGL_ES2  -c -o .o/src/HUD.o src/HUD.cpp
g++ -MT .o/src/PI_HAL.o -MD -MP -MF .d/src/PI_HAL.Td -std=c++17  sdl2-config --cflags -O3 -DNDEBUG -ffast-math -funroll-loops -Wall -Isrc -Isrc/utils -I../components/common -I/usr/include/ -I/usr/include/freetype2 -Isrc/imgui/ -Isrc/imgui//backends -DIMGUI_IMPL_OPENGL_ES2  -c -o .o/src/PI_HAL.o src/PI_HAL.cpp
g++ -MT .o/src/Comms.o -MD -MP -MF .d/src/Comms.Td -std=c++17  sdl2-config --cflags -O3 -DNDEBUG -ffast-math -funroll-loops -Wall -Isrc -Isrc/utils -I../components/common -I/usr/include/ -I/usr/include/freetype2 -Isrc/imgui/ -Isrc/imgui//backends -DIMGUI_IMPL_OPENGL_ES2  -c -o .o/src/Comms.o src/Comms.cpp
In file included from src/PI_HAL.h:3,
from src/PI_HAL.cpp:1:
src/IHAL.h:3:10: fatal error: imgui.h: No such file or directory
3 | #include "imgui.h"
|          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:131: .o/src/PI_HAL.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/HUD.cpp:2:
src/IHAL.h:3:10: fatal error: imgui.h: No such file or directory
3 | #include "imgui.h"
|          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:131: .o/src/HUD.o] Error 1
In file included from src/main.cpp:14:
src/IHAL.h:3:10: fatal error: imgui.h: No such file or directory
3 | #include "imgui.h"
|          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:131: .o/src/main.o] Error 1
src/Comms.cpp: In member function ‘void Comms::process_rx_packets()’:
src/Comms.cpp:1103:14: warning: unused variable ‘coding_n’ [-Wunused-variable]
1103 |     uint32_t coding_n = m_rx_descriptor.coding_n;
|              ^~~~~~~~
src/Comms.cpp: At global scope:
src/Comms.cpp:34:16: warning: ‘IEEE_HEADER’ defined but not used [-Wunused-variable]
34 | static uint8_t IEEE_HEADER[] =
|                ^~~~~~~~~~~
mv -f .d/src/Comms.Td .d/src/Comms.d
pi@ESP32FPV:~/esp32-cam-fpv/gs $

I am using 5.10.103-v7+ but this error is not related to os version:
src/IHAL.h:3:10: fatal error: imgui.h: No such file or directory
You have to fetch dependent mgui repository:
git submodule update --init --recursive
git pull

that got me this

geo@ESP32FPV:~/esp32-cam-fpv/gs $ git submodule update --init --recursive
Submodule 'components/esp32-camera' (https://github.com/RomanLut/esp32-camera.git) registered for path '../components/esp32-camera'
Submodule 'gs/src/imgui' (https://github.com/ocornut/imgui.git) registered for path 'src/imgui'
Cloning into '/home/geo/esp32-cam-fpv/components/esp32-camera'...
Cloning into '/home/geo/esp32-cam-fpv/gs/src/imgui'...
fatal: remote error: upload-pack: not our ref 9a808e5a935bac8ef6e8ab4d3241ea6d176c06f4
Fetched in submodule path '../components/esp32-camera', but it did not contain 9a808e5a935bac8ef6e8ab4d3241ea6d176c06f4. Direct fetching of that commit failed.

Fixed repo references, please try again.

its compiled but its not starting, I have 3 adapters the onboard os wlan0 and 2x ar9271 adapters as specified in the original instructiuons set as wlan1 and wlan2, I assume you have changed the card setup for a pi without wifi?

geo@ESP32FPV:~/esp32-cam-fpv/gs $ sudo -E DISPLAY=:0 ./gs
width:1280 height:720
(I) src/Comms.cpp: 722: Radiocap header size: 11, IEEE header size: 24
(I) src/Comms.cpp: 582: Opening interface wlan0mon in monitor mode
(E) src/Comms.cpp: 627: Error in pcap_activate: That device doesn't support monitor mode

With built-in wifi/nexmon drivers and 2db dipole, I have range ~20m

On the field I am using single rtl8812au card with wfb-ng drivers https://github.com/svpcom/rtl8812au

I am starting it like this:

cd /home/pi/esp32-cam-fpv
cd gs
sudo airmon-ng check kill
sudo ip link set wlan1 down
sudo iw dev wlan1 set type monitor
sudo ip link set wlan1 up
sudo ./gs -fullscreen 1 -sm 1 -rx wlan1 -tx wlan1

is there an easy way of getting it to run on startup? having to connect a keyboard and mouse when out testing isnt ideal.

I am using bluetooth mouse
Create .sh script with lines above and add it to autostart:
https://learn.sparkfun.com/tutorials/how-to-run-a-raspberry-pi-program-on-startup/method-2-autostart

does dual adapter diversity work?

this is the install instructions im using.
sudo apt-get update
sudo apt-get upgrade
sudo apt install libdrm-dev libgbm-dev libgles2-mesa-dev libpcap-dev libturbojpeg0-dev libts-dev libsdl2-dev libfreetype6-dev
git clone https://github.com/RomanLut/esp32-cam-fpv.git
cd ./esp32-cam-fpv/gs
git submodule update --init --recursive
git pull
make -j4
sudo nano fpv.sh
add

#!/bin/bash
echo "ESP32-FPV STARTUP"
cd /home/pi/esp32-cam-fpv
cd gs
sudo airmon-ng check kill
sudo ip link set wlan1 down
sudo iw dev wlan1 set type monitor
sudo ip link set wlan1 up
sudo ./gs -fullscreen 1 -sm 1 -rx wlan1 -tx wlan1

I cant get the REALTEK drivers to install, the instructions on svpcom aren't very clear. how did you install them ?

managed to get it installed with this
`
sudo apt update && sudo apt upgrade
sudo apt install -y raspberrypi-kernel-headers build-essential bc dkms git
mkdir -p ~/src
cd ~/src
git clone https://github.com/morrownr/8812au-20210629.git
cd ~/src/8812au-20210629
sudo ./install-driver.sh`

hmm some testing shows that its really unstable, its bouncing between 0 and 10fps after running for a few seconds. restarting with the ar9271 is fine.

its working but im getting barely 1fps, I have tried it on 32 and 64bit pi.

I had to install the aircrack tools for monitor mode to work correctly but its now working super smooth with the realtek adapter, the signal was really bad on the ar9271 I never realised til I have seen how much better the RSSI is on the realtek.
sudo apt update && sudo apt upgrade
sudo apt install libdrm-dev libgbm-dev libgles2-mesa-dev libpcap-dev libturbojpeg0-dev libts-dev libsdl2-dev libfreetype6-dev
sudo apt-get install -y aircrack-ng
sudo apt-get install dkms
sudo apt install -y raspberrypi-kernel-headers build-essential bc dkms git
mkdir -p ~/src
cd ~/src
git clone https://github.com/morrownr/8812au-20210629.git
cd ~/src/8812au-20210629
sudo ./install-driver.sh
no config yes restart
git clone https://github.com/RomanLut/esp32-cam-fpv.git
cd ./esp32-cam-fpv/gs
git submodule update --init --recursive
make -j4
sudo nano /home/pi/Desktop/fpv.sh

#!/bin/bash
echo "ESP32-FPV STARTUP"
cd /home/pi/esp32-cam-fpv
cd gs
sudo airmon-ng check kill
sudo ip link set wlan1 down
sudo iw dev wlan1 set type monitor
sudo ip link set wlan1 up
sudo ./gs -fullscreen 1 -sm 1 -rx wlan1 -tx wlan1

CTRL + O      save
ENTER           confirm
CTRL + X       exit
sudo chmod +x /home/pi/Desktop/fpv.sh

I have been trying to get an OSD to work but they are all made for the older gpu the pi 3 has so I haven't been able to get anything to even start on my pi 4.

Well I was going to implement MSP Displayport OSD, but it will take a some time, probably a month. I am not activelly working on this project currently.

Thats cool, it will give me some time to test some hardware and get the basics tested. I have it fotted to a plane and the booster arrived so il hopefully get some range testing done soon.

what is the current process for installing the groundstation?

what is the current process for installing the groundstation?

Please use release branch and this instruction https://github.com/RomanLut/esp32-cam-fpv/blob/master/doc/building_gs_image.md
Air unit pinout is here  https://github.com/RomanLut/esp32-cam-fpv?tab=readme-ov-file#air-unit
Now it looks more like a product.
Mavlink RC and DisplayportMSP OSD do work.
There is no OSD for GPIO joystick yet, but REC keys do work and joystick left/right changes resolution.

im following the install process and its erroring at "cd esp32-cam-fpv" saying no folder when Adding GPIO keys support

Thanks, fixed guide.

the method you used to run automatically on startup doesnt work, I reused my method and it started ok

mkdir /home/pi/.config/
mkdir /home/pi/.config/autostart
nano /home/pi/.config/autostart/fpv.desktop

[Desktop Entry]
Type=Application
Name=FPV
Exec=/usr/bin/bash /home/pi/esp32-cam-fpv/gs/launch.sh

save

im having a slight issue where it wont start when connected to my 1280x800 monitor but it starts when connected to my USB HDMI capture. I tried to change the settings using raspi-config but the resolution setting wont show up it just goes back to the menu.

I guess it fails because it can not set 1280x720 resolution. Please try adding -w 1280 -h 800 to gs command line:https://github.com/RomanLut/esp32-cam-fpv/blob/fd70638ed10efec0b8fdd9faf8e61d49eec45f03/gs/launch.sh#L12

Release branch updated, closes resolution is selected automatically, Closing this thread because issues are solved.


[Enhancement Request] - Few

Very intersting RA - thank you for that ,could you update these also in the readme

how to test the application (where will they get the public IP and what do with that)

Before the deletion also warn customer to delete the loadbalancer by the helm deployment to clean ,else the stack or terraform destroy will fail

You may refer to oci-devops-samples too from a link from Readme

@RahulMR42 would you be so kind to provide Pull Request with the README update?

@lfeldman  - its here #9

Now looks like the work is done. :) Closing ticket. :)


Fix #1431: Update AGP version and check before using deprecated API

fixes #1431
Tested manually by gradlew install and consuming from mavenLocal()
on these 3 projects (AGP 3.1.4, 3.2.1, 3.3.1)
Note: after this change 3.1 and 3.2 consumers will have to exclude AGP:
classpath 'com.android.tools.build:gradle:3.1.4'
classpath ('com.jakewharton:butterknife-gradle-plugin:10.1.1-SNAPSHOT') {
	exclude group: 'com.android.tools.build'
}

this is because butterknife-gradle-plugin does implementation deps.android.gradlePlugin instead of compileOnly deps.android.gradlePlugin

Any news when this pull request will be integrated, and a new butterknife version be released?

@JakeWharton what's keeping this from being merged
https://github.com/JakeWharton/butterknife/issues/1431#issuecomment-475208453 is not really a solution :(


Improve rubygems provider for gems without version

When a resource has no target version and a version is already
installed, we should only download metadata from rubygems when action is
:upgrade.
Fixes #3983

cc @aboten

This doesn't quite smell right to me.
What happens when we are doing :upgrade with new_resource.version nil, but we've already been upgraded to the latest version.  Don't we wind up not only downloading the list from rubygems, but then also forcing the upgrade to the version we already have installed?

I am not sure to understand what you mean.
To me, the expected behavior, when new_resource.version is nil, are:

current_resource.version
new_resource.version
action
behavior

nil or 1.0
nil
:upgrade
download metadata, install the latest gem

nil
nil
:install
download metadata, install the latest gem

1.0
nil
:install
do not download anything

This latest case was not correct before the patch (metadata were downloaded for :upgrade and :install action)

When the action is :upgrade, and new_resource.version is nil, and current_resource.version is 1.0 and when you download from rubygems and the latest version there is 1.0, then you should not 'upgrade' from 1.0 to 1.0.
With your code what happens?

With the patch activated.
gem_package 'mosespa' do
  action :upgrade
end

First run normally install the gem:
- upgrade package mosespa from uninstalled to 1.4.4

Second run, does nothing:
gem_package[mosespa] action upgrade (up to date)

It still feels like this should go into the parent package provider, and this is sort of how all providers should work, and the patch 'feels' kind of side-effect-ey.   But part of the problem is that the package providers are a mazy of twisty, badly documented APIs between the parent and the subclasses so its not clear what the right way to implement this should be offhand.

OK, for right now I think we're going to choose not to take this PR, in favour of doing the work described in #3996 to make sure this works across the board.


Time format and abbreviations are incorrect that will lead to confusion for MS_MY Locale

Description of the Issue and Steps to Reproduce:
Time format and abbreviation currently showing is incorrect for hh:mm A for MS_MY Locale:
- Time format and abbreviation should be as below for "hh:mm A":
(Morning) Pagi: 1:00 AM - 11:59 AM
(Afternoon) Tengah hari: 12:00 PM - 1:59 PM
(Evening) Petang: 2:00 PM - 6:59 PM
(Night) Malam: 7:00 PM -11:59 PM
(Midnight) Tengah malam: 12:00 AM - 12:59 AM
- In the format LT, the 24 hours clock is displayed, which also lead to confusion as in Malay as there it is 12 hour format.
For example, 8 o'clock in the morning would be 8 AM for Malay and 12 o'clock in the afternoon would be 12 PM. It would cause confusion if we do change it to 24hr format since we do not really use 24hr in Malaysia.
Expected:
Correct abbreviations for 12 hour format in hh:mm A format.
The clock displayed on LT format should be in 12 hour format.
Please include the values of all variables used.
hh:mm A
LT
Environment:
Applicable to all
Both the browser and the OS are important to us, particularly if you have an unsual environment like an IOT application.

MacOS, Safari and chrome

Other information that may be helpful:

The time zone setting of the machine the code is running on - IST
The time and date at which the code was run - IST
Other libraries in use (TypeScript, Immutable.js, etc) -Not Applicable

If you are reporting an issue, please run the following code in the environment you are using and include the output:
Ensure your issue is isolated to moment. Issues involving third party tools will be closed unless submitted by the tool's author/maintainer.

@sabnasusan can you please provide some supporting evidence (why do you think this is correct, and not the way it is now)
@weldan what do you think?


Regenerate button does not work

Response regeneration seems to be broken.

Confirmed. Not working on mine either

Fixed! Thanks!


Intel10G: extensive reconfig tests and better initalization

The manyreconf() function does two different tests: "VF-only": a hundred reconfiguration cycles for the same apps, the hardware is mostly set up once.  and "full PF cycle": a hundred full tear-down and reinitialization cycles.  Now the selftest does both.

The autonegotiate_sfi() was shown to do more harm than good when not needed, so it's now an optional part of the initialization.

When everything is going well, the NIC is initialized in typically 160msec, so the timeout is now 250msec, as per the Intel docs (down from 500).

If the NIC isn't up after 250msec, we reinitialize it, and in the vast majority of cases (well over 98%) it's done in 150-180msec.

In a few cases it won't come up until we do an autonegotiate_sfi().  After that, it behaves normally.

Some cards work most of the time on the first init, some always need exactly one reinit.

A few cards (notably :03: in grindelwald) do work consistently at one reinit most of the time, but sometimes it needs many more reinits (with autonegotiate_sfi() every five reinits).  Eventually it does come up and work normally.  Typically after 24-28 reinits, a few times it took ~60 reinits, once it was 87!  In every case it did work and then a few hundred times more with exactly one reinit.

In short, the initialization is a lot faster most of the time, and when needed, it does a few extra tricks automatically and always gets it to work.  I've run the full test (with over 100 reconfigs of each type) 500 times in a row with the most troublesome card and it didn't gave up even once.

Great work!
I ran this in a loop for over an hour on interlaken, cycling between NICs, and it worked every time.
One day when we have spare time I would love to review our init vs. the Intel ixgbe driver and also try to optimize the selftest down to ~ 10 seconds. However, reliability is what really matters. Great work!


added vega lite histogram

don't take this too seriously, just hacking!

Keep experimenting maybe Vega is better than nivo. Let's try and compare.

@seankross i'm going to pick this one up

[ ] renamed mutate to compute column
[ ] rename mean to average
[ ] polished the vega integration


Cropping with small crop area tends to break the UI

Notice the top portion where the crop icon is present.
After the cropping the Crop.preview() goes over the icon.
https://user-images.githubusercontent.com/43210323/225710226-ceb00d91-6f4d-45b4-ac6b-76aea0ee0f0b.mp4
Probably because the changing the aspectRatio messes up the logic? Just a guess

This issue is more likely caused by your UI implementation. I cannot reproduced it with the example app

close for inactivity, please let me know if you can reproduce it with the example app


Cabana: show MSB/LSB of signals in the BinaryView

Use a custom delegate to draw cells

a custom SelectionModel has beed added to https://github.com/commaai/openpilot/pull/26097.  I recommend merging 26097 first. so that this PR can be done better base on 26097.

Can we also give the vertical header the same padding as the cells? Looks a bit weird with the no padding.

almost done.may need to add some bounds checks for array

Fixed a crash caused  by different data size for the same address from different bus


Folder icons like .git do not look any different from other, yaml and yml files have exclamation mark as icon

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.icons
Description
I use mini.icons as standalone package. I tried both mapping Nerd Font Symbols only font or using patched JetBrains Mono font still get same results. I use latest Nerd Font version 3.2 + Kitty terminal emulator.
Neovim version
0.10
Steps to reproduce

Install JetBrains Mono Nerd from archlinux repo
Setup mini.icons with lazy.nvim
Open project with .git, .github folder, containing yml and yaml files

Expected behavior
Different icons for folders like .git, .github. Correct icons for yaml, yml files not exclamation mark.
Actual behavior

Everything works as expected:

There is no special icons for '.git' or '.github' directories because file explorer plugin in the screenshot (probably, 'neo-tree.nvim' or 'nvim-tree.lua') does not have direct support for 'mini.icons'. Instead it probably uses mocked 'nvim-web-devicons' which does not have support for special directory icons. You can verify that everything works as expected by executing the following command :=MiniIcons.get('directory', '.git') or by using 'mini.files'.
The exclamation mark for 'yml' is how its intended icon looks. You can navigate to https://www.nerdfonts.com/cheat-sheet and search for "yml".

Okay, thank you!


pull request for e2e test at 01/31/2017 02:26:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


merge from template-sync/template-coveralls

package.json

chore(deps): add ^15.3.30 remove ^15.3.29 (devDependencies.npm-pkgbuild)

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

npm package (@latest dist-tag)
v6.11.30
GitHub release

Your semantic-release bot :package::rocket:


Consider abstraction of the storage backend to enable alternative storage implementations.

This request is part of my Effort to enable WASM builds of cblite that do use the browsers indexDB storage as backend not sqlite
It would keep our overall maintain work lower if you would directly join that effort and adjust the project design for that needs.

Currently we do not have plan to provide this level of abstraction in CBL-C API.

@pasin that is fine i did forgotten that issue already and i am happy to report back that we got already great success we did provide the needed api's directly on the compiler level we integrated it via LLVM so compiling this C source via LLVM with the needed patches does work and is not blocked as you do not change anything fast.
i guess it will stay maintainable for years.


Why is this path closed with 3.0.7 version

The moveTo lineTo functions is not rendering like older versions of PIXI.
It seems that the new version of PIXI close path without reason (the same path was not closed with 3.0.6- version).
see this jsfiddle : https://jsfiddle.net/grefw7rz/

Same as this issue (workaround listed here): https://github.com/GoodBoyDigital/pixi.js/issues/1892

Duplicate of #1892.


Terminating Machines

Require Terminating trait in Machine events and break the main loop when such an event is received.

I think we should make terminating default to false in the trait.

So if I have some type Event, I need to write impl Terminating for Event {} instead of impl Terminating for Event { fn terminating(&self) { false }}.
Is the impact all that different? Consider, this only affects existing implementations of Machine - not all Fsms.

Actually, it only impacts the Event type, which is an enum quite often. So this terminating method actually becomes a matches statement. All good. Approved.


add check on URL for trailing slash

In an effort to prevent others from encountering my confusing situation I think it would be a good move to either validate the URL as done in this PR or at least do a check on the last character of the URL and log a warning.

Thanks for the PR. It was actually on my todo list.  I'll get it merged soon.
There's one more facet where if you use the SSL endpoint you must intentionally include a :443, which I don't really like either, and will probably have dynago fix for you instead.

Actually, changing the return value of NewAwsExecutor to be a 2-value return would actually be a breaking change :(
I'm torn on how to deal with that, maybe the right solution is to simply fix the URL for the user instead.

I realized that after I submitted the PR. The irony isn't lost that I asked for versioning and then did this...
Do you think adding the / and putting a loud warning in the comment would be sufficient?

@natebrennand Yes, I believe that's an acceptable solution for this purpose - After all, the library should be easy to use, and various reasons might cause someone to omit the slash - in theory, the URI's are equivalent as HTTP, but a minor detail with the representation in net/url makes them differ in talking to dynamodb's production servers

Ya, I was under the impression that the URI is used in the signature process and that is where it all broke down.

ping @crast, this PR is updated as discussed.

Thanks for the PR, but I opted to go for something which has less chance of messing with URL's that get passed to us (like say they have a legitimate path component, for some reason, and don't want a slash) and was easier to test in isolation.


How to set as require() within Image component?

I would like to use the RN doc example for a bounce effect on an <Icon/>. However, the Facebook example uses an Animated.Image component. I tried setting the source to the  but with no luck at all. Could you give an example of how to do so?
Thanks!

Hi, I'd try to wrap the icon in an Animated.View instead, but if you need Animated.Image specifically for some reason you can always use Icon.getImageSource.

@oblador  Here is a gist of how I am trying to use Icon.getImage - https://gist.github.com/tgoldenberg/5f9185111972d9d412cf. I tested to make sure the regular Icons are working, so it's a little confusing. Also, if I used the Animated.Image component, then the icon would still stay the same size, when what I want is the icon to adjust size for the bounce effect. Do you see a solution to this?

You are not referencing the icon you created, try source={this.state.userIcon} instead.

@oblador  Yeah, with that change it still produces no content. I also tried having an if / else statement to make sure that an undefined value doesn't get passed as the uri, but nothing. Could you post an example that works possibly? I think it would be very useful.

Well you're not using your Animated.Value anywhere, try something like:
<Animated.Image
  source={this.state.userIcon}
  style={{flex: 1, width: 20, width: 20, transform: [{scale: this.state.bounceValue}]}}
/>

Ugh, this is frustrating, but I already did that. I modified the original file to make a brief example and must have left that part out. Sorry for not providing a good example, but I'm pretty sure I am following the other instructions. If you or someone else can get something working locally and verify, that would probably be the best way.

Lol, I did verify it locally.

So I updated the gist. I'm not even able to render the <Image> element with the uri properly. Can you tell me what I'm doing wrong? Or maybe share your own example that you verified?

When I check the this.state.userIcon, it is something like<EMAIL_ADDRESS>uri<EMAIL_ADDRESS>But that file doesn't exist locally on my machine. Also the Core... is an abbreviation, but even when changed to CoreSimulator there is no file with that extension. Thoughts?

OKay, when I switch Core... to CoreSimulator, I'm able to access it, but does that mean that I have add a Regex to replace it?

Now I'm able to use the this.state.userIcon and access that image in my browser when I plug in the value. But still the <Image> isn't working with it as the uri. Very confused :/

I hope that there will be some example of this in the docs to make it clearer. I am giving up on this for now, but I hope that it gets resolved soon.

Dude, I'd suggest you read the docs and the examples from React Native. The absolute easiest way is to use Animated.View like I suggested:
<Animated.View style={{transform: [{scale: this.state.bounceValue}]}}>
  <Icon
    name="rocket"
    size={40}
  />
</Animated.View>

@oblador, Yes, the Animated.View works, but doesn't achieve what I want to achieve, which is to modify the transform of the action icon. Can you please put an example using <Animated.Image />, setting the source to an Icon, that works?

But it does work! You need help with RN basics and it seems I can't help you realize that. This is not a bug so try SO and see if they are more pedagogic.

@oblador  I thank you for the help. I was able to get it working by wrapping it in an Animated.View. However, I would disagree that this isn't a bug. There is no documentation in the examples for having an <Image/> component with the correct local file source, and the error messages I was getting could be experienced by anyone in the future.


[BUG] Zero Stage 2 - Access Item of Empty Dict duing Initialization

Describe the bug
In zero/stage_1_and_2.py, initialize_gradient_partitioning_data_structures tries to access self.param_to_partition_ids at param_id=0 but it's an empty dictionary.
This shows up with stage 2, does not happen using stage 3. Besides, in zero/stage3.py, there is some legacy code which is similar to this particular part of code in stage_1_and_2.py, but never get called.
To Reproduce
PyTorch v1.13.1
Transformers v4.21.0
DeepSpeed v0.8.3 (can reproduce with any version)
Run the following script on >= 2 nodes, 8 GPUs per node. (8 A100-40GB * 16 nodes in my case, but does not matter with the issue.)
import os
import deepspeed
import torch
import transformers
from transformers import (
    AutoModelForCausalLM,
    GPT2Config,
    GPT2LMHeadModel,
)

deepspeed.init_distributed(dist_backend="nccl")

model_config = GPT2Config(
    vocab_size=50257,
    n_positions=4096,
    n_embd=6144,
    n_layer=32,
    n_head=48,
    n_inner=None,
    activation_function="gelu_new",
    layer_norm_epsilon=1e-05,
    summary_type="cls_index",
    summary_use_proj=True,
    summary_activation=None,
    summary_proj_to_labels=True,
    gradient_checkpointing=True,
    use_cache=False,
    bos_token_id=50256,
    eos_token_id=50256,
    return_dict=True,
)

with deepspeed.zero.Init(dtype=torch.bfloat16):
    model = AutoModelForCausalLM.from_config(model_config)

model, optimizer, _, _ = deepspeed.initialize(
    model=model,
    optimizer=None,
    model_parameters=model.parameters(),
    config=os.environ("DS_CONFIG_PATH"),
)

ds_config.json:
{
    "fp16": {
        "enabled": false
    },
    "bf16": {
        "enabled": true
    },
    "zero_optimization": {
        "stage":2,
        "overlap_comm": true,
        "reduce_scatter": true,
        "reduce_bucket_size": 12600000,
        "allgather_partitions": true,
        "allgather_bucket_size":<PHONE_NUMBER>,
        "contiguous_gradients": true,
        "cpu_offload": false
    },
    "optimizer": {
        "type": "AdamW",
        "params": {
          "lr": 0.001,
          "weight_decay": 0.05,
          "bias_correction": true,
          "betas": [
            0.9,
            0.95
          ],
          "eps": 1e-8
        }
    },
    "train_micro_batch_size_per_gpu": 1,
    "gradient_clipping": 1.0,
    "gradient_accumulation_steps": 1
}

Expected behavior
The deepest trace of the error is like the following block on each rank
File "/opt/conda/lib/python3.9/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 687, in get_first_param_index
    if partition_id in self.param_to_partition_ids[group_id][param_id]:
KeyError: 0

System info (please complete the following information):

Ubuntu 20.04
2 nodes with x8 40GB A100s each
PyTorch v1.13.1
Transformers v4.21.0
DeepSpeed v0.8.3 (can reproduce with any version)

Launcher context
${SLURM_HOSTFILE} srun -N 1 docker exec ${CONTAINER_NAME} mpirun -N 8 --hostfile ${MPI_HOSTFILE} ...

Docker context
Nothing special. But you may refer to pytorch-training:1.13.1-gpu-py39-cu117-ubuntu20.04-sagemaker here. Install Transformers and DeepSpeed from source.

Any update when this will be resolved?

I looked into several source files and realized that with deepspeed.zero.Init is only usable for ZeRO-3. For Zero-1 and 2, we may have to remove the with block or set it like with deepspeed.zero.Init(enabled=is_zero3). However, it is likely to see it being very slow during this model initialization part using ZeRO-2 + HF

We acknowledge your solution is correct, which is that zero.init is only needed for ZeRO stage 3. This can be disabled by setting enabled flag to false. This will make it a noop and should not slow down model initialization.
As for unused legacy code, please provide references.


[FEAT]: multiple data connectors

What would you like to see?
it could be great to have additional data connector such as:

mysql
postgresql
sharepoint
network folder on the same machine

network folder on the same machine
You can just drag and drop these documents over. We for sure wont support this due to permission issues

sharepoint
This will be covered by Enterprise connectors or plugins because we find building each plugin per-use-case is really cumbersome since most go unused

mysql/pg
This is better covered by the @agent SQL connector. Data connectors are for pulling in static data to be embed and vector-search. Tabular data is very bad for most vector RAG applications and it wouldn't be wise to copy the whole DB into a vector db!

pgvector seemingly is getting much better than many vector only database now.


Shell command not working

Hey,
After using the shell command to create the vm it starts downloading en creating the VM, but after that i get this error:
400 Parameter verification failed.
boot: value does not match the regex pattern
qm set  [OPTIONS]
[ERROR] 255@140 Unknown failure occured.
Logical volume "vm-100-disk-1" successfully removed
Logical volume "vm-100-disk-0" successfully removed

Ok so I happened to be messing with this to. It seems to me that the error was being caused by this line

qm set $VMID
-boot order=sata0 > /dev/null

Which is in the second to last section. I tried a few things but in the end just deleting the line from the script had it working. If you haven't come to that conclusion already then give it a shot.

Same here on Proxmox Virtual Environment 6.2-4 (updated).
´Creating VM...
400 Parameter verification failed.
boot: value does not match the regex pattern
qm set  [OPTIONS]
[ERROR] 255@140 Unknown failure occured.
Logical volume "vm-107-disk-1" successfully removed
Logical volume "vm-107-disk-0" successfully removed´

Also with the script modified like @RootVerde advised it is not working for me.
400 Parameter verification failed. boot: value does not match the regex pattern qm set <vmid> [OPTIONS] [ERROR] 255@140 Unknown failure occured.   Logical volume "vm-107-disk-1" successfully removed   Logical volume "vm-107-disk-0" successfully removed

Any idea how to fix this issue? I can't change the VM because it's already removed before i can make changes to the VM

Since the error complains of the boot order, and that was last being changed in the latest commit you could use the previous commit to install (I did). You need to replace the url in the script with this URL instead https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh

Since the error complains of the boot order, and that was last being changed in the latest commit you could use the previous commit to install (I did). You need to replace the url in the script with this URL instead https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh

I confirm that what @PeterRemnemark suggested solves the problem!!!
Thanks

Also confirming the fix.
The full command for running it is: bash -c "$(wget -qLO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh)"

Thanks guys for helping

Thanks guys for helping

I too had the same issue and confirming this resolves the issue.

Just noticed today that using Proxmox 6.3-3 the problem do not occur!
When I had the problem I was using Proxmox 5.4.


Repositories to inherit

I'll create a checklist here for the repositories we want to inherit from other organizations. Feel free to check off, add, subtract, etc. as needed.

[x] JuliaLang/DataStructures.jl (see https://github.com/JuliaLang/DataStructures.jl/issues/261)
[x] JuliaLang/FunctionalCollections.jl (see https://github.com/JuliaLang/FunctionalCollections.jl/issues/30)
[x] JuliaLang/Iterators.jl (see https://github.com/JuliaLang/Iterators.jl/issues/96)
[ ] Keno/AbstractTrees.jl
[x] JuliaLang/SortingAlgorithms.jl

@keno, are you interested in moving https://github.com/Keno/AbstractTrees.jl here?

Yes

SortingAlgorithms doesn't entirely fit but is one of the very few remaining packages under JuliaLang

Meh, SortingAlgorithms is close enough IMO. ¯\_(ツ)_/¯

@keno, the org name has settled, so you should be able to transfer AbstractTrees.jl any time.

Would JuliaCollections like to own my new package for checking Iterators have been implemented according to the contract?
https://github.com/oxinabox/InterfaceTesting.jl

@oxinabox Looks neat. For now though it would probably make more sense for it to stay in your account as you're likely to continue to be the primary maintainer.

Bump @Keno re AbstractTrees. I just added https://github.com/JuliaCollections/LeftChildRightSiblingTrees.jl. It would make sense to give it an AbstractTrees interface, but not, I think, until it's clear that package is going to be maintainable.

I'll transfer it.

I think this is done?


Update of READEM file as it doesn't contain project admin information etc.

I would like to add a project admin information section which will give the user full information about the project owner and help incase of issues to contact them. Kindly assign it to me under the label gssoc-ext and hacktoberfest-accepted along with the level of the problem.
Thank you!

@Aditi-008 Feel free to proceed and if you need any additional info, reach out!!

Sir would you like me to tell what all infos of yours are you ok with to be put up. Also if possible you can share any discord or other channel if you have. Basic information like name,mail id and linkedin I am working on it.

https://linkedin.com/in/visheshrawal


Lesson 1 comments

"enriched by immunoprecipitation from cross-linked cells"
Consider defining more clearly what you mean as this is a bit jargon-y. Perhaps this would be clear from the lectures though.
"Test your antibody with the use of a Western blot"
I've never done a Western, but this sentence and the following one seem a bit vague as to what one should be looking for.
"Check a few regions by qPCR to confirm that the enrichment worked."
Also, this could be more clear. Something like "expected immunoprecipated regions"?
"TSSs you could design primers against the promoter "
Maybe too nitpick, but I am a bit confused by the use of "against" here. Are you using it in the context of adjacent or in the context of encompassing?
IgG control section is unclear. I don't fully understand what this is. Is this DNA added to the sample at some point? If so, when is this added? What is this non-nuclear antigen?
Quality Control, Input Control, Replicates and Sequencing Considerations lack any figures. Some figures would likely improve readability. First, it breaks up the wall of text, which is already somewhat achieved by bullets and is great. Second, it just helps the reader visualize exactly what you are trying to show.
Define Narrow vs. Broad peak profiles.

"NOTE on pooling to increase the amount of starting material. Is it okay? Under what circumstances?"
Need to add wording here.

"NOTE on pooling to increase the amount of starting material. Is it okay? Under what circumstances?"
Need to add wording here.

Getting @sjhosui  thoughts on this and will fill in the text

Made a few edits -
added a link to Western blots rather than explaining it.
reworded the PCR text a bit

edited IgG control, @Gammerdinger  let me know your thoughts


remove argument from save_lora_weights

In order to resolve below issue when running first command in TRL readme under the ddpo section, remove text_encoder_2_lora_layers as an argument to save_lora_weights
Traceback (most recent call last):
  File "/root/optimum-habana/examples/trl/ddpo.py", line 245, in <module>
    trainer.train()
  File "/usr/local/lib/python3.10/dist-packages/trl/trainer/ddpo_trainer.py", line 604, in train
    global_step = self.step(epoch, global_step)
  File "/usr/local/lib/python3.10/dist-packages/optimum/habana/trl/trainer/ddpo_trainer.py", line 315, in step
    self.accelerator.save_state()
  File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 2987, in save_state
    hook(self._models, weights, output_dir)
  File "/usr/local/lib/python3.10/dist-packages/trl/trainer/ddpo_trainer.py", line 439, in _save_model_hook
    self.sd_pipeline.save_checkpoint(models, weights, output_dir)
  File "/usr/local/lib/python3.10/dist-packages/trl/models/modeling_sd_base.py", line 883, in save_checkpoint
    self.sd_pipeline.save_lora_weights(save_directory=output_dir, unet_lora_layers=state_dict)
  File "/usr/local/lib/python3.10/dist-packages/optimum/habana/diffusers/pipelines/pipeline_utils.py", line 397, in save_lora_weights
    return super().save_lora_weights(
TypeError: StableDiffusionLoraLoaderMixin.save_lora_weights() takes from 2 to 8 positional arguments but 9 were given

closing as is redundant 1632 handles it better


sample pool instead of parameter space

Knowing that the target sample exists in an initial sample pool, I want to select samples from the initial sample pool in each iteration, is it possible to do that with emukit? The samples are continuous, but rather than defining a bound I would like to provide a list of the samples. Thanks.

Hi! Categorical and bandit parameters come to mind. Defining the list of samples as one of these is the closest Emukit could probably do out of the box. Would that work for you?

Hi, is the documentation for bandit available?

We don't have examples for it yet. There are a few tests that might help you understand the API a bit. Bandit was kindly implemented by @ekalosak , so I am tagging Eric here in case he has built something with emukit and bandits that can be shared.


add travis file, move to busted 2.x ...

busted 2.0 coming out. :)

Not really. Tests are broken. Closing in favor of #25. Will add Travis separately.


Version conflict between siwe and web3 (version 7)

When attempting to install siwe using Poetry with the command poetry add siwe, I encountered a version conflict issue. The error message indicates that siwe (version 4.2.0) depends on web3 (>=6.17,<7), which is incompatible with web3 version 7.
Steps to reproduce:

Run poetry add siwe in a project that already has web3 version 7 installed.
Observe the error message indicating a version conflict.

 poetry add siwe Using version ^4.2.0 for siwe Updating dependencies Resolving dependencies... (0.0s) Because no versions of siwe match >4.2.0,<5.0.0  and siwe (4.2.0) depends on web3 (>=6.17,<7), siwe (>=4.2.0,<5.0.0) requires web3 (>=6.17,<7). So, because fiblodex-service-app depends on both web3 (7) and siwe (^4.2.0), version solving failed.
Possible solution:
It's possible that siwe needs to be updated to support web3 version 7. Alternatively, a workaround could be to use an earlier version of web3 that is compatible with siwe version 4.2.0.
Please let me know if you'd like me to elaborate on this issue or provide any additional information!

the suggestion PR :
https://github.com/spruceid/siwe-py/pull/74