text:
Card-action missing border-radius

Description
The title basically says it; the card-action is missing the border-radius, which will mess up the card.
Repro Steps
Make a card with a card-action.
Codepen not needed, it be seen on the official website: http://materializecss.com/cards.html

Good catch!
Fixed in 2ed5598

authors: acburst justinkruit

repo: Dogfalo/materialize


text:
Materialize Select is not focusable with key tab

Tested on this page http://materializecss.com/forms.html

:+1:

:+1:

The following elements support the tabindex attribute: A, AREA, BUTTON, INPUT, OBJECT, SELECT, and TEXTAREA.
I'm not sure how we would solve this issue atm, sorry.

Can you please reopen this task. I'm working on this functionality and it is almost done. I will create a pull request in few days.
Thank you.

Here is promised pull request https://github.com/Dogfalo/materialize/pull/582

source: gharchive/issue

authors: acburst kevinliteon robinbortlik zen6

license: mit

license_type: permissive

license_source: bigquery


text:
#3955 - Issue with Tabs Jumping Scroll Position

#3955 - Issue with Tabs Jumping Scroll Position
The reason for that was that the content for the previously active tab was being hidden before the content for the next tab was being shown, which was shortening the document.
As a fix the next tab content is shown first before the old tab content is hidden.
If the tabs are much different lengths then the document will still be shortened and there will still be some movement, but only if the bottom of the shorter tab is above the bottom of the screen

Thanks!

source: gharchive/pull-request

authors: acburst johann-abraham


text:
Installation issue on macOS

Hello, I've got localhost:3000 set up, but trying to start the service I get this popup error in the browser window:
python remind_sansprint.py /bin/sh: python: command not found
I do have python installed.
Terminal shows this output:
(node:7626) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 ○ Compiling / ...
 ✓ Compiled / in 4.9s (3528 modules)
 GET / 200 in 5254ms
 ✓ Compiled in 896ms (1760 modules)
 ○ Compiling /[id] ...
 ✓ Compiled /[id] in 1572ms (1763 modules)
 ✓ Compiled in 726ms (1748 modules)
 GET /api/tags 200 in 2395ms
 GET /api/tags 200 in 2ms
 GET /favicon.ico 200 in 2701ms
 GET / 200 in 92ms
 GET /favicon.ico 200 in 40ms
 GET /api/tags 200 in 18ms
 GET /api/tags 200 in 3ms
 ✓ Compiled /api/install-service in 491ms (1796 modules)
 GET /api/install-service 500 in 536ms
 ✓ Compiled /api/start-service in 279ms (1798 modules)
 GET /api/start-service 500 in 305ms
 GET /api/start-service 500 in 16ms
 GET / 200 in 221ms
 GET /api/tags 200 in 71ms
 GET /favicon.ico 200 in 80ms
 GET /api/tags 200 in 8ms
 GET /api/install-service 500 in 19ms
 GET /api/install-service 500 in 19ms
 GET /api/install-service 500 in 19ms
 GET /api/start-service 500 in 15ms
 GET / 200 in 37ms
 ✓ Compiled /api/chat in 360ms (134 modules)
Error: [TypeError: fetch failed] { cause: [Error: AggregateError] }
 POST /api/chat 500 in 454ms
Error: [TypeError: fetch failed] { cause: [Error: AggregateError] }
 POST /api/chat 500 in 16ms
 GET / 200 in 29ms
 GET /api/start-service 500 in 17ms

It’s possible that Python commands on your Mac are running with python3 instead of python. If that's the case, you can try the following update:
In the route.ts file located in the src/app/api/start-service/route.ts folder, modify line 6:
Current code:
exec('python remind_sansprint.py', (error, stdout, stderr) => {

Change it to:
exec('python3 remind_sansprint.py', (error, stdout, stderr) => {

Thanks for letting me know; I will adapt it to work with both setups.

Thanks, I've modified the file, now I get this error:
Error: Command failed: python remind _sansprint.py Traceback (most recent call last): File "/Users/andylin/Documents/ReMind/remind_sansprint.py", line 12, in <module> import rumps
ModuleNotFoundError: No module named 'rumps'

normally rumps module should be installed within the installer ,
try to do first pip install rumps and start the service after this, let me know

I did pip3 install rumps and the Start Service button ran for longer, then gave me an error about psutil
So then I did pip3 install psutil and tried to start the service again, now it gives this error:
Error: Command failed: python3
remind
_sansprint.py DEBUG:root:Database not
found at /Users/andylin/Library/Application
Support/RemindEnchanted/regular_data.db,
running
/Users/andylin/Documents/ReMind/Regular_dat
abase.py Traceback (most recent call last): File
"/Users/andylin/Documents/ReMind/remind_san
sprint.py", line 85, in <module>
subprocess.call(['python', regular_db_script])
File
"/Library/Developer/CommandLineTools/Library/
Frameworks/Python3.framework/Versions/3.9/li
b/python3.9/subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p: File
"/Library/Developer/CommandLineTools/Library/
Frameworks/Python3.framework/Versions/3.9/li
b/python3.9/subprocess.py", line 951, in
_init_ self._execute_child(args, executable,
preexec_fn, close_fds, File
"/Library/Developer/CommandLineTools/Library/
Frameworks/Python3.framework/Versions/3.9/li
b/python3.9/subprocess.py", line 1821, in
_execute_child raise
child_exception_type(errno_num, err_msg,
err_filename) FileNotFoundError: [Errno 2] No
such file or directory: 'python'

I understand now, you will need to change all the pip commands to pip3 in the installer.py, and do the same for the python command.
Your system uses python3 and pip3, but in the installer, it is currently done with python3 and pip.
Make the changes and let me know. In the meantime, I'll update the installer code to work with both pip/pip3 and python/python3 tomorrow.

Thanks.
Couldn't figure out how to uninstall, so I just deleted the folder and re-downloaded. I fixed the pip3 and python3 stuff. During install it threw these warnings:
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated electron-packager@17.1.2: Please use @electron/packager moving forward. There is no API change, just a package name change

Then, when installing the service, it still gave me an error with pip. So I ran the command manually in Terminal: pip3 install --upgrade pip -r requirements.txt
Then it looks like it "failed building wheel for pyaudio":
Building wheels for collected packages: pyaudio, pyautogui, pygetwindow, pypika, pyscreeze, pytweening, mouseinfo, pymsgbox, pyperclip, pyrect
  Building wheel for pyaudio (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyaudio (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-universal2-cpython-39
      creating build/lib.macosx-10.9-universal2-cpython-39/pyaudio
      copying src/pyaudio/__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/pyaudio
      running build_ext
      building 'pyaudio._portaudio' extension
      creating build/temp.macosx-10.9-universal2-cpython-39
      creating build/temp.macosx-10.9-universal2-cpython-39/src
      creating build/temp.macosx-10.9-universal2-cpython-39/src/pyaudio
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Wno-error=unreachable-code -DMACOS=1 -I/usr/local/include -I/usr/include -I/opt/homebrew/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9 -c src/pyaudio/device_api.c -o build/temp.macosx-10.9-universal2-cpython-39/src/pyaudio/device_api.o
      src/pyaudio/device_api.c:9:10: fatal error: 'portaudio.h' file not found
      #include "portaudio.h"
               ^~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyaudio

@andyylin - this is how I fixed the pyaudio problem.  Make sure you have homebrew installed.
xcode-select --install
brew remove portaudio
brew install portaudio
pip3 install pyaudio

Also, I should mention that the installation goes much smoother if you use a virtual environment when installing. Simply do:
python -m venv .venv && source .venv/bin/activate

before running the npm install command.

authors: DonTizi andyylin kjarnot

repo: DonTizi/ReMind

license_source: github-api


text:
Large amounts of EMC link item I/O may cause client to hang when opening the Transmutation Tablet

Install all of the mods in the below mod list.
Create a new world with cheats enabled.
Recreate the following setup, as shown in the image.

Place a Trash Void from Cyclic.
Place a Golden Hopper from Cyclic pointing into the trash can.
Place a Final EMC Link from Project Expansion on top of the golden hopper.
Set the EMC link to export stone, cobblestone, or any other item with EMC value 1.
Accelerate the setup with a Dark Pedestal and activated Watch of Flowing Time on top of the Trash Void.

Give yourself a Transmutation Tablet and a Fading Matter, and transmute the Fading Matter to start the process.
No significant lag yet, as there's only two items in the player's knowledge. Give yourself a Tome of Knowledge and insert it as well.
Immediately after the Tome of Knowledge is inserted, the render thread gets stuck updating the player's EMC value on the client and what items the player can learn. Therefore, the next frame on the client will not render until the player's EMC is depleted or the setup is broken or disrupted in any way.

According to the spark profiler results generated at https://spark.lucko.me/HlILvmyN5h, almost all of the time after the first few seconds was spent in moze_intel.projecte.network.packets.to_client.knowledge.KnowledgeSyncEmcPKT.handle
Modlist:
  [✔] Cyclic-1.18.2-1.7.1
  [✔] ProjectE-1.18.2-PE1.0.1
  [✔] ProjectExpansion-1.18.2-1.0.10
  [✔] spark-1.9.11-forge

Considering this is a bug caused by both tick acceleration and learning every item in the game, the latter of which wouldn't happen in normal gameplay, I'm considering this a non-issue

learning every item in the game, the latter of which wouldn't happen in normal gameplay

Actually, not every item is required to be learned for the hang to occur. The time spent handling the packets is proportional to both the item I/O activity in the EMC links (per real life second) and the amount (not percentage) of items that the player has currently learned.
1,000 is approximately the number of items that is present in vanilla Minecraft.
Some large modpacks may have upwards of 10,000 items or more, many of which have an EMC value. This means that, after some exploration, the player may have thousands of items in their knowledge pool without knowing it. Combine this with an automated setup that is tick accelerated and uses EMC links to input or output items, and the client-side hang behavior originally described may occur without the player realizing beforehand.

I'm not considering the amount of items to not be my problem, I'm considering the tick acceleration to not be my problem

repo: DonovanDMC/ProjectExpansion

license: MIT


text:
submit egg文件但是就是识别不了里面的爬虫怎么回事

submit egg文件但是就是识别不了里面的爬虫怎么回事

你可以看看运行的scrapyd的日志， 可能是提交错误了，但是api返回的是正常。

可能服务器的环境有问题，没有部署成功，请查看：6800/jobs页面，如果部署不成功，会有错误提示。我之前就是Twisted版本没装对。

repo: DormyMo/SpiderKeeper


text:
SA1127 Wrong analysis?

I have this method which causes SA1127:
public static IQueryable<T> Get<T>(this DbSet<T> dbSet, Expression<Func<T, bool>> predicate) where T : class
Why is this method causing the warning? It shouldn't.

That is weird indeed. The only thing that I can think of is that you have word wrapping turned on in the editor. If that is the case, the editor will show the where clause to be on its own line, but the Roslyn compiler does not see / have this line break, resulting in an SA1127 diagnostic.
Can you verify that this isn't caused by word wrapping? (There is an arrow like symbol at the end of the line if word wrapping is happening)

That is weird indeed. The only thing that I can think of is that you have word wrapping turned on in the editor. If that is the case, the editor will show the where clause to be on its own line, but the Roslyn compiler does not see / have this line break, resulting in an SA1127 diagnostic.
Can you verify that this isn't caused by word wrapping? (There is an arrow like symbol at the end of the line if word wrapping is happening)

I don't have word wrapping.

I don't have word wrapping.

@cryo75 You need to move the generic type constraint for that code to not produce a warning:
public static IQueryable<T> Get<T>(this DbSet<T> dbSet, Expression<Func<T, bool>> predicate)
    where T : class

SA1127 should provide a code fix that shows you the corrected code automatically. See the SA1127 documentation for more information and examples.

authors: cryo75 sharwell vweijsters

repo: DotNetAnalyzers/StyleCopAnalyzers


text:
InvalidOperationException in EmptyCollectionsShouldNotBeEnumerated [VS 15.5 only]

Hi,
I updated VS till 15.5 release version and I get the following exception.
I tried 6.4.1.3596 and 6.7.0.4267 versions of SonarAnalyzer.CSharp package.
Thank you.
using System;

namespace ConsoleApp8
{
    class Program
    {
        static void Main(string[] args)
        {
        }

        public Program(string id)
        {
            if (string.IsNullOrEmpty(id)) throw new ArgumentNullException(nameof(id));
        }
    }
}

Analyzer 'SonarAnalyzer.Rules.CSharp.EmptyCollectionsShouldNotBeEnumerated' threw the following exception:
'Exception occurred with following context:
Compilation: ConsoleApp8
SyntaxTree: C:\Workplace\Temp\ConsoleApp8\ConsoleApp8\Program.cs
SyntaxNode: Program(string id) { if (id < 1 ... [ConstructorDeclarationSyntax]@[358..498) (15,8)-(20,9)

System.InvalidOperationException: This operation does not apply to an empty instance.
   at System.Collections.Immutable.ImmutableStack`1.Peek()
   at SonarAnalyzer.SymbolicExecution.ProgramState.PopValue(SymbolicValue& poppedValue)
   at SonarAnalyzer.Rules.CSharp.EmptyCollectionsShouldNotBeEnumerated.EmptyCollectionAccessedCheck.<>c__DisplayClass15_0.<GetArgumentSymbolicValues>b__0(ArgumentSyntax argument)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
   at SonarAnalyzer.Rules.CSharp.EmptyCollectionsShouldNotBeEnumerated.EmptyCollectionAccessedCheck.RemoveCollectionConstraintsFromArguments(ArgumentListSyntax argumentList, ProgramState programState)
   at SonarAnalyzer.Rules.CSharp.EmptyCollectionsShouldNotBeEnumerated.EmptyCollectionAccessedCheck.ProcessInvocation(ProgramState programState, InvocationExpressionSyntax invocation)
   at SonarAnalyzer.Rules.CSharp.EmptyCollectionsShouldNotBeEnumerated.EmptyCollectionAccessedCheck.PreProcessInstruction(ProgramPoint programPoint, ProgramState programState)
   at SonarAnalyzer.SymbolicExecution.CSharpExplodedGraph.<>c__DisplayClass3_0.<VisitInstruction>b__0(ProgramState ps, ExplodedGraphCheck check)
   at SonarAnalyzer.SymbolicExecution.CSharpExplodedGraph.<>c__DisplayClass4_0.<InvokeChecks>b__0(ProgramState ps, ExplodedGraphCheck check)
   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
   at SonarAnalyzer.SymbolicExecution.CSharpExplodedGraph.InvokeChecks(ProgramState programState, Func`3 invoke)
   at SonarAnalyzer.SymbolicExecution.CSharpExplodedGraph.VisitInstruction(ExplodedGraphNode node)
   at SonarAnalyzer.SymbolicExecution.AbstractExplodedGraph.Walk()
   at SonarAnalyzer.Rules.CSharp.EmptyCollectionsShouldNotBeEnumerated.CheckForEmptyCollectionAccess(CSharpExplodedGraph explodedGraph, SyntaxNodeAnalysisContext context)
   at SonarAnalyzer.SymbolicExecution.FlowAnalysisExtensions.Analyze(CSharpSyntaxNode declarationBody, ISymbol symbol, Action`2 analyze, SyntaxNodeAnalysisContext context)
   at SonarAnalyzer.SymbolicExecution.FlowAnalysisExtensions.<>c__DisplayClass0_0.<RegisterExplodedGraphBasedAnalysis>b__0(SyntaxNodeAnalysisContext c)
   at SonarAnalyzer.Helpers.DiagnosticAnalyzerContextHelper.<>c__DisplayClass0_0`1.<RegisterSyntaxNodeActionInNonGenerated>b__0(SyntaxNodeAnalysisContext c)
   at SonarAnalyzer.Helpers.SonarAnalysisContext.<>c__DisplayClass16_0`1.<RegisterSyntaxNodeAction>b__0(SyntaxNodeAnalysisContext c)
   at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__43`1.<ExecuteSyntaxNodeAction>b__43_0(ValueTuple`2 data)
   at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info)

Sorry, wrong project :)


text:
SA1642 (constructor summary text) cannot be split across lines

The following text results in SA1642 being reported because the summary is split across lines:
/// <summary>
/// Initializes a new instance of
/// the <see cref="ApiStatus"/> class.
/// </summary>
/// <inheritdoc/>
private ApiStatus(string name)
    : base(name)
{
}

I initially assigned @pdelvo since he did a great job with the initial implementation. I'll take a look soon if you don't have time.

I went ahead and fixed this one as well because it was causing many false reports in one of my projects.


text:
Accessible readonly fields are reported twice

Currently an externally-accessible readonly fields is reported as both SA1304 and SA1307. In this case, only SA1307 should be reported (see #557 for more information).
I'm marking this as enhancement instead of bug because the reference implementation of StyleCop reports both warnings for this case. We are only reporting one to simplify the presentation and code fix for users.

Im working on this

@pdelvo Have a look at #861 and use the same mechanism when disabling part of SA1304 please.

authors: pdelvo sharwell vweijsters


text:
Error in project?

This issue was imported from CodePlex
taprmv wrote 2015-07-23 at 07:13
Hello! I try project point from ArcGIS spatial
"PROJCS["MSK70_2",GEOGCS["GCS_Pulkovo_1942",DATUM["D_Pulkovo_1942",SPHEROID["Krasovsky_1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]],PROJECTION["Gauss_Kruger"],PARAMETER["False_Easting",2250000],PARAMETER["False_Northing",-5912900.566],PARAMETER["Central_Meridian",77.7333333333],PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1]]"
To two spatials CK1942 and WGS, but get the same result
"GEOGCS["GCS_Pulkovo_1942",DATUM["D_Pulkovo_1942",SPHEROID["Krasovsky_1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]"

"GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]"
This 2 spatials must be different. How solve it?
Thanks.

What coordinate you are trying to reproject, and what coordinate you expects?

Close it since there is no response much time.

repo: DotSpatial/DotSpatial


text:
How to test the model?

@DoubtedSteam
Hi~
How can I eval the model and get the result in your paper after training?
Thanks!

set epoch to 0 and resume the checkpoint
you can add the resume: path/to/the/checkpoint into yaml file

Thanks a lot!
If I enable the resume in training process, how can I update the epoch num instead of epoch0?

edit num_epoch in yaml file

edit num_epoch in yaml file

Just edit the "num_epoch" in SYSU.yml doesn't work, isn't this "num_epoch" represent the max epoch?

It is for max epoch

In Chinese:
恢复训练时的epoch是从0开始的，这样似乎会覆盖之前的checkpoint,如何修改使重新训练的epoch是从resume的轮数开始呢？

I didn't achieve this function.
You can add a start_epoch parameter for def get_trainer()  in engine/init.py

I see, thanks for you kind reply~

authors: DoubtedSteam ZhengLeon

repo: DoubtedSteam/MPANet


text:
Misc error corrections

Hi Fernando,
Here are some minor corrections (compiler warnings removal, platforms adaptions).
Also, it correct an error in the last merge : va_end was not called
Have a great week-end

Thank you, Pascal! Much appreciated as always! :) :+1:

authors: Dovyski pthom

repo: Dovyski/cvui


text:
Max/min charge/discharge voltages

This may be a stupid question, but why are you doing this bulk/absorption/float dance?
IMHO you should simply use the lowest charge voltage you get from the batteries. No configuration required.
Same for discharge (using the highest voltage of course).
Current is a bit more complicated, as the batteries' internal resistances vary. However, when you see some nontrivial charge current you can calculate the per-battery relation between the reported actual and maximum currents, and use that to calculate a safe overall maximum. Same for discharge.
https://github.com/Dr-Gigavolt/dbus-aggregate-batteries/blob/af2e5203dcb4a31fdf47547d981f00354c470284/aggregatebatteries.py#L288

This dance is just to be able to measure absorption time before float. But there are different opinions whether it is necessary or at least useful in case of Li batteries.

Those concepts are from lead batteries where they are useful for getting a good charge into them. IMHO they're entirely useless, if not harmful, on Lithium.
What's more, there are adaptive BMSes out there which recognize that the charge curve on LiFePo4 is seriously non-linear. One effect of this is that "all cells are at 3.35V while one is unbalanced and at 3.5V" requires a substantially lower max charge voltage than "all cells are at 3.4V" – assuming that you want to prevent the cell overvoltage protection to trigger the protective relay / charge FET. Disconnecting a single battery is potentially dangerous because the current destined for N batteries now goes through N-1 …
As to what's good for the batteries, well, again, for lead batteries those charge dances make sense because of their chemistry, and it basically works because the charge curves are uniform and the cells self-balance when you charge them to 100%, they simply heat up / create hydrogen+oxygen, and thus burn off the extra charge.
Lithium? not so. Lithium batteries die when you overcharge them, that's why you need that balancer. They degrade with (a) too high cell voltage (b) lots of charge cycles. There's a reason why the typical LiFePo4 BMS is set for max cell voltage of 3.6V but the overall maximum voltage is 3.45*16 (or however many cells you do have).

OK, I can remove the time measurement and keep the Vbat <= 0.96VcellMaxN and Vcell <= VcellMax. So it would be N3.45V / 3.6V for LiFePO4 and N2.6V / 2.7V for LTO.

Done.

authors: Dr-Gigavolt smurfix

repo: Dr-Gigavolt/dbus-aggregate-batteries


text:
level up gd mauvais ping

Si il y a un seul level up, le joueur qui a fait le gd est ping au lieu du joueur qui a level up

Conditions du bug :
Qu'une ou plusieurs personnes level up mais pas la personne qui gd
Ici, la personne qui gd level up, donc les autres pings vont bien :

Ici, il y a 3 personnes dans la guilde : 1 level 100 qui fait le gd et 2 level 1
Les 2 level 1 level up mais pas le level 100, donc ça ping 2 fois le level 100

Le problème a été découvert pendant des tests avant l'implémentation des shards, c'est donc pas la cause du problème, je pense qu'on récupère juste l'id du joueur qui a effectué la commande ce qui expliquerait le problème

Non c'est un bug avec l'implémentation de la commande addExperience dans le guilddaily
https://github.com/DraftBot-A-Discord-Adventure/DraftBot/blob/master/src/commands/guild/GuildDailyCommand.js#L71

On voit que le paramètre passé est entity et pas member

authors: Pietagorh niqore quenquentin

repo: DraftBot-A-Discord-Adventure/DraftBot


text:
Insert into FA Ledger Entry

Hi,
I can edit all values in table 5601 (FA Ledger Entry) but I can't insert a new record into it.
I'm pretty dense about Business Central, so I thought I could add all permissions listed here into Pag81000.DETDataEditorBuffer.al; these two
 tabledata "FA Ledger Entry", tabledata "Maintenance Ledger Entry" = RMID

were already there, so I added
tabledata "FA Depreciation Book" = RIMD, tabledata "FA Register" = RIMD

I also added the following to PermissionSet81000.DETDataEditorTool.al
table "FA Ledger Entry" = X,
tabledata "FA Ledger Entry" = RIMD,
page "FA Ledger Entries" = X,
table "FA Depreciation Book" = X,
tabledata "FA Depreciation Book" = RIMD,
table "FA Register" = X,
tabledata "FA Register" = RIMD,
table "Maintenance Ledger Entry" = X,
tabledata "Maintenance Ledger Entry" = RIMD;

to no avail.
What am I missing?
Thank you in advance!
Best regards

Hello,
This is your local issue regarding permissions.
Here is example of user setup where I am able to modify and insert new records in FA Ledger Entry.

As you can see there is no SUPER permissions. Most likely your current user does not have Insert permissions to this table.
Look for an entry in your permissions that excludes permissions to insert a record into this table.
Tested on BC22.
@fzbeatrice

That might be the problem.
In the effective permissions page, I see that the insert permission is listed as Indirect (reduced) and when I click on it I get a weird message about licenses

I don't get it, as my license are pretty normal:

But I guess the problem lies elsewhere.
Again, thank you very much, Data Editor is an awesome tool!
Best regards
Francesco

authors: Drakonian fzbeatrice

repo: Drakonian/data-editor-for-bc


text:
ДЗ2

музичні витвори ?
дані не описані
модулі не описані
приклад на 30 рядків -?

Під музичними витворами мається на увазі пісні( можлива назва композиції), назви яких я отримую з сайту. Помилку з описом інформації виправив та доповнив, приклад з використанням модулів завантажив остаточну версію.

repo: Dranixia/UCU-Semester-Work


text:
Add PageMargin to ViewPager in SessionsFragment

Issue

This PR has no issue 🙇

Overview (Required)

This is just suggestion.  🙌
Add page margin 16dp to ViewPager in SessionFragment.
I think each cards should be splitted, but there are sticking to cards in next page.

Details

This margin can be seen when only scrolling.
set Viewpager.pageMargin is not enough, and to achieve this correctly, we have to add android:clipChildren="false" to parents of CardView. (To show left and right shadow of CardView.)

Links

No links.

Screenshot

Before
After

:cool:

I learned a lot 👍 Thanks!

authors: takahirom yt-tkhs


text:
Bug - 1.10.2 Natura Not completely cutting tree down

Can you please fix this?

To supplement, I want to say that current 1.11.2 release is completely not supporting Natura

repo: DuchLord/TreeChopper


text:
Constructor without parameters not initalize all fields

	union{ 		SSO		t_sso; 		NON_SSO	t_non_sso; 	};
SSO / NON_SSO constructor is without initialization fields by zero.
So sometimes string can contain some content before assign anything.
This issue reproduce randomly (compiler MSVC2015 / 32 bit) when use cpp_str()

Thank you for spotting this!

authors: DuffsDevice defterai


text:
doesn't update when state changes

Hi, i'm new to griddle, and react.  I hate posting an issue when it's really that I just don't know how to do it.
Regardless,  I have  I have a flux implementation.  The get initial state returns an empty array, and then miliseconds later it sets state to an array of objects.
I have put console.log for the this.state.clientSummaries and I see it log once [] and once with a populated array.  I copied and pasted the populated array and hard coded it into state, and that worked, so I know that the data is coming in in the correct format.
My understanding is that if I change the state it should update the children.  That said, I'm not setting props on the grid, so I'm a bit confused about how I'm supposed to do this.
Thanks for your help.
R

aha! I discovered your glitter room. I'll ask there, sorry to create an "issue" out of it.

repo: DynamicTyped/Griddle


text:
WIP Adds EEC diagnostic logs to support_archive package

K8S-10826
Description
Adds EEC diagnostic files to the support_archive package if Prometheus feature is enabled and files exist.
How can this be tested?
Deploy dynakube with Prometheus feature enabled and disabled.
Execute the support-archive command :
kubectl exec -n dynatrace deployment/dynatrace-operator -- dynatrace-operator support-archive --stdout > operator-support-archive.zip

Compare contents of zip packages.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 101 lines in your changes missing coverage. Please review.

Project coverage is 64.23%. Comparing base (bb0cfaf) to head (ad3337b).

Files
Patch %
Lines

cmd/support_archive/eecDiagLogs.go
0.00%
100 Missing :warning:

cmd/support_archive/builder.go
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3602      +/-   ##
==========================================
- Coverage   64.54%   64.23%   -0.31%
==========================================
  Files         399      400       +1
  Lines       21405    21506     +101
==========================================
  Hits        13815    13815
- Misses       6265     6366     +101
  Partials     1325     1325

Flag
Coverage Δ

unittests
64.23% <0.00%> (-0.31%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: aorcholski codecov-commenter

repo: Dynatrace/dynatrace-operator


text:
🛑 EC-Nordbund is down

In c921fd5, EC-Nordbund (https://www.ec-nordbund.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC-Nordbund is back up in a4be1ad.

repo: EC-Nordbund/uptime


text:
Hotfix auth

checkin.py
auth=None
if checkin_client_secret:
    auth=(checkin_client_id, checkin_client_secret)
    refresh_data.update({"client_secret": checkin_client_secret})
r = requests.post(token_url, auth=None, data=refresh_data)
r.raise_for_status()
return r.json()

r = requests.post(token_url, auth=None, data=refresh_data)
should be like this:
r = requests.post(token_url, auth, data=refresh_data)

good catch!
Can you submit a PR? I will approve it right away

checkin.py
auth=None
if checkin_client_secret:
    auth=(checkin_client_id, checkin_client_secret)
    refresh_data.update({"client_secret": checkin_client_secret})
r = requests.post(token_url, auth=None, data=refresh_data)
r.raise_for_status()
return r.json()

r = requests.post(token_url, auth=None, data=refresh_data)
should be like this:
r = requests.post(token_url, auth, data=refresh_data)

ERROR: Permission to EGI-Federation/egicli.git denied to UkrainskyiRostyslav.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

you need to fork and submit the PR from there. If too much of a hassle I can create the patch myself.

Hello @enolfc
I've created the PR, so feel free to review it. If there are any additional actions required from me (e.g. additional notes in PR's description or commits' style), please leave me a comment.

authors: UkrainskyiRostyslav enolfc kstepanovdev

repo: EGI-Federation/egicli


text:
Task jobs cleaning strategy

Hi ! First of all, thanks for your amazing work on implementing the TES API with a Kubernetes-based solution ! We would like to use your project and even contribute if the project is still active and if contributions are allowed and welcomed.
We were wondering what is your task jobs cleaning strategy. Do you use a custom cronjob to clean them once completed or do you have another mechanism ?
We plan to use the Kubernetes TTL Controller with the ttlSecondsAfterFinished spec property of a Job. For that, the Kubernetes Java client needs to be upgraded to the latest version. Is it something that you could be interested of ? We are ready to do a PR with that update.
Cheers !

Hi! TESK project is still active, although the code itself might move to a different place in the near future (should be fairly transparent to users/contributors). We do accept contributions. Updating the K8s client is sth I was about to do myself soon. I believe the client is not exactly backwards compatible, so some changes in the code apart from bumping the version are likely going to be necessary. You can wait for me (should be a couple of days), but I will be more than happy to accept a PR with the client update as well, if you are ready.
Jobs deletion strategy is not there at the moment. Keeping the jobs forever as K8s objects is not a long term viable option, so one solution is deleting them after some time. CronJob was considered at one point, but never made it as an official part of TESK. Adding an optional TTL for TESK Jobs is a nice solution and I would welcome a PR around it as well.
Other options that were considered is additionally adding a task delete endpoint for use cases where tasks are no longer needed after their state was retrieved and to let the clients decide.
Finally, the lack of external storage for task metadata is one of TESK features (almost no dependencies apart from K8s), which is cool for prototyping, demo installations, but adding a regular DB for task metadata to be able to store finished tasks forever/long term without impairing performance  has also been considered, but never implemented.

Hi ! We can update the K8s client. We'll push a PR for that. Regarding the TTL for jobs, we could do it once the K8s client update is merged. Is it okey for you ?
Cheers !

repo: EMBL-EBI-TSI/tesk-api


text:
🛑 EC3 portal for EOSC-Synergy is down

In 1755243, EC3 portal for EOSC-Synergy (https://servproject.i3m.upv.es/ec3-synergy/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC3 portal for EOSC-Synergy is back up in 1f6618f.

repo: EOSC-synergy/status


text:
get action api error

Exception in thread "main" client.exception.EosApiException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "context_free" (class client.domain.common.ActionTrace), not marked as ignorable (8 known properties: "trx_id", "act", "inline_traces", "console", "receipt", "cpu_usage", "elapsed", "total_cpu_usage"])
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 1381] (through reference chain: client.domain.response.history.action.Actions["actions"]->java.util.ArrayList[0]->client.domain.response.history.action.Action["action_trace"]->client.domain.common.ActionTrace["context_free"])
at client.impl.EosApiServiceGenerator.executeSync(EosApiServiceGenerator.java:48)
at client.impl.EosApiRestClientImpl.getActions(EosApiRestClientImpl.java:217)
at io.eos8.server.wrapper.ActionTest.getActions(ActionTest.java:60)
at io.eos8.server.wrapper.ActionTest.main(ActionTest.java:37)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "context_free" (class client.domain.common.ActionTrace), not marked as ignorable (8 known properties: "trx_id", "act", "inline_traces", "console", "receipt", "cpu_usage", "elapsed", "total_cpu_usage"])
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 1381] (through reference chain: client.domain.response.history.action.Actions["actions"]->java.util.ArrayList[0]->client.domain.response.history.action.Action["action_trace"]->client.domain.common.ActionTrace["context_free"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:60)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:822)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1152)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1589)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1567)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1611)
at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1203)
at retrofit2.converter.jackson.JacksonResponseBodyConverter.convert(JacksonResponseBodyConverter.java:32)
at retrofit2.converter.jackson.JacksonResponseBodyConverter.convert(JacksonResponseBodyConverter.java:23)
at retrofit2.ServiceMethod.toResponse(ServiceMethod.java:122)
at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:217)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:180)
at client.impl.EosApiServiceGenerator.executeSync(EosApiServiceGenerator.java:40)
... 3 more
Process finished with exit code 1

use mainnet node: https://eos.greymass.com

I have the same problem.

authors: hiluoyun yangqihua

repo: EOSEssentials/eos-java-rpc-wrapper


text:
Found vulnerabilities in a wasm.

https://github.com/WAVM/WAVM/issues/93
https://github.com/WAVM/WAVM/issues/94
https://github.com/WAVM/WAVM/issues/96
https://github.com/WAVM/WAVM/issues/97
https://github.com/WAVM/WAVM/issues/98
https://github.com/WAVM/WAVM/issues/99
https://github.com/WAVM/WAVM/issues/100

@kotbegemot at the moment the WASM is not executed with WAVM, eosio uses binaryen
https://github.com/EOSIO/eos/tree/75635168e743c3e65bb6345a1eaedd905581e6b0/libraries/chain/webassembly
WAVM can be used experimentally though, but none of the block producers use it in production.

Those particular crashes were reported to block.one via the bug bounty program (https://hackerone.com/eosio) and fixed in the WAVM code that eosio uses today. The reporter also submitted these directly to the WAVM maintainer after some additional time. It might be prudent to use fixes straight from WAVM instead of our original fixes, but we're protected from these issues regardless.
In the future I would encourage you to report potential security issues through the bug bounty program. block.one will probably not pay out for issues disclosed publicly first.

@spoonincode
I had no task to get bonuses.
I had a desire to protect the system.
Please show a list of commits that address these vulnerabilities .

Mostly through these
https://github.com/EOSIO/eos/commit/c7e050740b2bca9198c515881c7c82adcb544d3a
https://github.com/EOSIO/eos/commit/91ecbe78827286714bf9314bc4fb54d73232c7f4

repo: EOSIO/eos


text:
Transaction logging rel 2.0.x

Change Description
This PR splits the transaction_tracing logger into transaction_success_tracing and transaction_failure_tracing loggers; in addition, it adds logging statement for failed signature condition.
Change Type
Select ONE

[ ] Documentation

[ ] Stability bug fix

[ ] Other

[x] Other - special case

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[x] Documentation Additions
transaction_tracing logger is removed

The following two loggers are added

transaction_success_tracing - detailed log that emits successful verdicts from relay nodes on the P2P network.
transaction_failure_tracing - detailed log that emits failed verdicts from relay nodes on the P2P network.

Do we want to replace existing logging config in release/2.0.x. My opinion is that we have changed much greater things in release/2.0.x, but this needs to be flagged and well documented.

Need to update programs/nodeos/logging.json. Also in develop.

It was decided with @b1bart that we should keep the existing transaction_trace logging identical to the user and just added transaction_failure_trace to allow user to just get failure logging.

authors: brianjohnson5972 heifner huangminghuang


text:
Don't default to merging data sections, it can blow out nodeos limits

Change Description

In LLVM9, special handling was added for rodata when creating the data segments. Before that, it was not handled and therefore was always not merged. This restores that behaviour to prevent having segments that are too large.
An alternative would be to remove the handling inside lld, but this feels like the less intrusive solution and clearly communicates the behaviour we want.
API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Based on my test with eosio.system from eosio.contracts, and the 2 example apps here in CDT, this produces nearly identical data sections.
Which I think should make sense, right? The strings should be read-only data and since that wasn't being handled before, they weren't getting merged anyways.


text:
eosjs - unable to set the contract using front end method call

Hi,
I am working on a dAPP whose front end is in reactJS and currently getting the .abi and .wasm files from backend nodeJS via an API response; and trying to set the contract on user's account by taking permission/signature from scatter at front end.
1. Please find my code snippet bellow,

2. After accepting the scatter permission I am getting this error, ( I am using binaryen too)

3. Nodeos showing following error,

Note - I tried the same thing by providing the keys with binaryen also, but it flags the same error msg.

the log says:
authroization =
Object
  data: [numbers]
  type: Buffer

So that looks like a typo..
The option is called {binaryen} not {binaryen1}..  That is needed and used only if the very beginning of your smart contract data starts with (module ..
Although setcode works with a buffer, I do wonder if HEX might help.  You can try with result.data.wasm.data.toString('hex') ..
Lets see more details just about the wasm data your sending, that is what the error is about.  You can try creating Eos with Eos({forceActionDataHex: false, ..}) so you can more easily see what is getting submitted.

Hi @jcalfee ,
Thanks for your response,
I did correct the typo,  and tried again; And now tried to see if there is any difference in file's content type.
when I read the file in back end and send it in json, its basically converts the buffer type file to JSON.stringify(wasm) format.
So It was still failing to convert it back to the buffered format which we need to pass to eosScatter.setCode() method. Also the JSON.parse(wasm) don't work on received data in front end.
Please check the following results' screen shots
1. Front end code

2. Front end failing

3. Back end code and output

I would be really appreciate if you could guide for this ...
Thanks in advance.

Hi,
I was able to solve that one with following line of code
eosScatter.setcode(account.name, 0, 0, Buffer.from(JSON.parse(JSON.stringify(result.data.wasm)).data), options2).then((res1, error1) =>{ ...... }
-- Now sure  how did work though, but its actually changing the code of an account checked via cleos.
Thanks.

Hi,
I still stuck at setAbi(), does it has overridden method which takes version as parameter or anything ?
I am using this function here
eosScatter.setabi(account.name, Buffer.from(result.data.abi.data), options3).then((res, error) => {

Please guide for the above error

Version is the 1st field it tries to parse in the ABI.  Try eosjs@16.0.2, it accepts more object types for the ABI including Buffer (as seen in the error message).

I am able to solve these both the problems using following code snippet.
eosScatter.setcode(account.name, 0, 0, Buffer.from(result.data.wasm.data), options2).then((res1, error1) => { ............ }
and
eosScatter.setabi(account.name, JSON.parse(Buffer.from(result.data.abi.data)), options2).then((res, error) => { ................ }
Note : Make sure you send your WHOLE response from back end in the form of string
Thanks.

authors: amolmaid jcalfee

repo: EOSIO/eosjs


text:
How do I convert my EOS ERC20 to EOS?

How do I convert my EOS ERC20 to EOS?

Off topic for eosjs

authors: lijixy tbfleming


text:
Conda build is broken

The conda build is broken since February 5: https://github.com/ESMValGroup/ESMValTool/actions?query=workflow%3AConda-build+
On CircleCI it runs out of memory (4GB max) and on GitHub Actions it looks like it times out after running for 6 hours.

so a few updates with the new esmvalcore=2.2.0 off conda and the iris3 branch here:

environment solves fine (f a bit slow)

installation of ESMValTool and tests flagged with -m "not installation" pass fine

conda build locally on my 8GB laptop is going into swap when using >4GB memory and from there it needs to be killed manually otherwise the whole show grinds to a halt

(base) valeriu@valeriu-PORTEGE-Z30-C:~/ESMValTool$ conda build package -c conda-forge -c esmvalgroup
No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for esmvaltool-python
INFO:conda_build.metadata:Attempting to finalize metadata for esmvaltool-python
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Attempting to finalize metadata for esmvaltool-julia
INFO:conda_build.metadata:Attempting to finalize metadata for esmvaltool-julia
INFO conda_build.metadata:finalize_outputs_pass(748): Attempting to finalize metadata for esmvaltool-julia
Attempting to finalize metadata for esmvaltool-ncl
INFO:conda_build.metadata:Attempting to finalize metadata for esmvaltool-ncl
INFO conda_build.metadata:finalize_outputs_pass(748): Attempting to finalize metadata for esmvaltool-ncl
Attempting to finalize metadata for esmvaltool-r
INFO:conda_build.metadata:Attempting to finalize metadata for esmvaltool-r
INFO conda_build.metadata:finalize_outputs_pass(748): Attempting to finalize metadata for esmvaltool-r
Attempting to finalize metadata for esmvaltool
INFO:conda_build.metadata:Attempting to finalize metadata for esmvaltool
INFO conda_build.metadata:finalize_outputs_pass(748): Attempting to finalize metadata for esmvaltool
BUILD START: ['esmvaltool-python-2.1.1-py_0.tar.bz2', 'esmvaltool-julia-2.1.1-0.tar.bz2', 'esmvaltool-ncl-2.1.1-0.tar.bz2', 'esmvaltool-r-2.1.1-0.tar.bz2', 'esmvaltool-2.1.1-0.tar.bz2']
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... Killed

so...whatever is causing conda to go mentally memory-hungry has nothing to do with the esmvalcore version (not sure if that's good or bad), I suspect there is a bug somewhere in conda, I'll try backtrack see when we had our last succesful build on GA and sniff around what has changed in that 24h period :+1:

It looks like the conda installation of ESMValTool v2.1.1 also requires more than 4GB of RAM since the same date, the last successful installation on CircleCI was on February 4: https://app.circleci.com/pipelines/github/ESMValGroup/ESMValTool?branch=master

yeah, all hell broke loose after this merge https://github.com/ESMValGroup/ESMValTool/pull/1963 on Feb 4th, but for the life of me if I can see why that would introduce an issue in the environment, think it's just circumstantial

here's an even stranger find - the build environment for a job that was fine is the same as the for a job what failed

Did the conda version change?

nope - 4.9.2 since November last year

here's an even stranger find - the build environment for a job that was fine is the same as the for a job what failed

Are the links correct? I see an XML file when I click them.

here's an even stranger find - the build environment for a job that was fine is the same as the for a job what failed

Are the links correct? I see an XML file when I click them.

yes, I see a nice txt file in browser, but you can just go ARTIFACTS -> build_env from the two jobs (first failed/last passed).
Speaking of conda: I see a Python 3.9 build linux-64/conda-4.9.2-py39hf3d152e_0.tar.bz2 in https://anaconda.org/conda-forge/conda/files - whereas both my machine and the CircleCI are using python38 builds: py38h578d9bd_0 (me laptop which is slightly newer) and py38h06a4308_0 Circle, I am going to try and install that (by upgrading the base Python)

there is a Miniconda3-py39_4.9.2-Linux-x86_64.sh released for py39 in late Dec 2020 - I grabbed that, and tested the conda build - jumped in the same puddle - memory just shoots up to 4.5G and keeps going until it completely fills my swap too (so an extra 2G) in like 5 seconds when solving the env - it's definitely the conda solver that's reacting badly to a set of changes in dependencies that happened around the Feb 4th mark date

ok so I created the env for esmvaltool with conda env create ... no problem, installed just esmvaltool via pip install -e .[develop] no problem too (with esmvalcore=2.2, python=3.9 etc) - all this from scratch in the new miniconda for python39 base - I think it's one of the Julia or R bits that's killing us here @bouweandela

sanity check: it's the esmvaltool-python package build that chugs huge memory, I incrementally turned off the R, Julia and NCL package builds, leaving only the Python one to build. I'll see if I manage to determine which dependency is causing conda to go into an infinite solver loop; btw running with --debug doesn't really give much info

pinning (more) packages in meta.yml like this doesn't do much either:
        - cartopy>=0.18
        - cdo>=1.9.8
        - eccodes!=2.19.0  # cdo dependency; something messed up with libeccodes.so
        - cdsapi
        - cf-units
        - cftime
        - cmocean
        - dask>=2.12
        - ecmwf-api-client  # in esmvalgroup channel
        - eofs
        - esmpy>=8.0.1
        - esmvalcore>=2.2.0,<2.3  # in esmvalgroup channel
        - fiona>=1.8.18
        - gdal>=3.1.4
        - iris>=3.0.1
        - jinja2
        - joblib
        - lime
        - matplotlib>3.3.1  # bug in 3.3.1
        - mpich>=3.3,<3.4  # avoid 3.4.1 external_2 from conda-forge like the plague
        - natsort
        - nc-time-axis
        - netCDF4>=1.5.5
        - numpy>=1.20.1
        - pandas
        - pyproj>=2.1
        - python>=3.6
        - python-cdo>=1.5.4
        - pyyaml
        - rasterio>=1.2.0  # replaces pynio
        - scikit-image>=0.18
        - scikit-learn>=0.24

I found what the problem is - specifying - python>=3.6 in the run section of the build for esmvaltool-python makes it go into an infinite loop - not asking for python as a dep package solves the immense memory drain and the env gets solved well and fast. Note that even just unpinning python but keeping it as a dep, it will make the solver go into madness and infinite loop and freeze. Why are we actually listing python as a dep when that is a system constant? Pinning to >=3.6 is useless anyway since nothing will make the env be built with <3.6

We're pinning it to reduce the size of the search space.

yeah, that makes sense - but why is it SO importnat and able to make go conda go mental if in the deps list and the build to hang if it's not. BTW - my latest experiment: I tried to see if an environment with the esmvaltool-pithon dependencies from meta.yaml gets built - I created an environment file with all those deps (including python>=3.6) and...it bloody solves and gets created. How is conda env create different at env solving than the solver inside conda-build - this smells like a 100% conda bug

here is the list of the packages I have in that env I created from the list of deps from the build file, this could be useful if we start pinning stuff, but note this is done with Miniconda3 for python39
pkgslist.txt

@jvegasbsc could you please also look into this - we need this to be fixed before release, and it's better if more eyes look at it. I've hnoestly got no idea just yet :beer:

I'm on it

I can not get even a hint on why it is failing to resolve. Conda outputs, even with the --debug option do not provide enough info

yeah - the env solves well if from an environment file (see https://github.com/ESMValGroup/ESMValTool/issues/2016#issuecomment-777736240 ) but fails at env solving inside the conda build process - well, it doesnt fail, it just goes in an infinite loop, eating up more and more memory. Having python removed from the deps list in meta.yml is the secret, but that makes the build hang later, after the env had been solved successfully

I'll try downgrading conda-build see what we get

I think we are getting more packages from conda in the package that with the environment, as we relay on pip quite a bit in the last case

downgrading conda-build to 3.21.3 and making sure all conda- components are from the main channel is not solving the issue. I am quite sure it's got to do with Python 3.9 and one of the deps that is in conflict with it - that's why removing python from the dep list in meta.yml makes the env solve fine - and yeah, you're right Javi, that offending dep is probably from pip in the build environment and from conda-forge in the envv via an env file

I managed to build successfully on CircleCI by setting python>=3.8 in the - run section of the esmvaltool package: https://app.circleci.com/pipelines/github/ESMValGroup/ESMValTool?branch=conda-build-test
Maybe that could provide a hint?
I looked at the conda solver some time ago and I think I remember that packages that are specified directly are treated differently than their dependencies. If I understood it correctly, for the specified direct dependencies it tries a bit harder to get the latest version, while for the rest it tries to find something that works.

very very good @bouweandela - have you tried running this on your laptop? I'd be curious to know how much is the actual memory consumption, I have tried this exact pin on my machine yesterday and I quickly ran out of memory, but given that my available mem is only order 2G it may not be enough for me but good enough for the CI machine and Github Actions (the ones we care about)

I just tried again on me laptop and went 1.8G into swap (meaning I've used my 2 odd gigs of free RAM and entered another 1.8G in swap) - but that's with the py39 miniconda, but if that works on the remote machines - go for it!

It was about 1.6 GB on my own machine and the same on CircleCI. The only issue with using this would be that we would like to build the package for Python versions 3.6-3.9, not just 3.8 and up.

I do not think that we must worry too much about building the package for the older python versions. We expect users to install esmvaltool conda package in their own isolated environment and, if they don't do, python compatibility is likely to be the least of their dependency issues.
Anyway, 3.6 end of life is this year so we should start thinking on dropping support for it

I agree with Javi, but the problem is that if the user has Python<3.8 in their anaconda environment and they want to keep it that way, the installation of a package built with Python>=3.8 will not work. This is probably going to happen in 1% of the cases, but we can't safely say we support Python=3,6 and =3.7 in this case

we can't safely say we support Python=3,6 and =3.7 in this case

We can be more explicit and say that our conda package only supports python >=3.8, but ESMValTool can be installed in >= 3.6 from source

I would be fine with dropping Python 3.6 support, but I think it's too early to already consider dropping support for Python 3.7.

authors: bouweandela jvegasbsc valeriupredoi

repo: ESMValGroup/ESMValTool


text:
issue credits

issue 10000 credits to @ctessum

 Follow up
On Monday, 26-Feb-24 14:40:09 UTC by Gov4Git dev
Issued 10000 credits to member @ctessum.


text:
Date-Time Format Issue on Save

When saving any changes via the REST Service, any date-time fields are filled with a format like:
2021-02-25T00:00:00.00-04:00
This causes a 500 error when trying to view in the OSCAL Viewer, presumably because that format is incorrect.
Setting the date manually to the format:
2021-02-25T00:00 instead seems to be the proper format.

The first format should be a valid dateTime-with-timezone, and this seems to be working for me.
Are there specific date-time fields you're noticing that aren't working, and can you point to an example?

A few more questions to help narrow down the cause:

Does the error occur on the POST/PUT request (actually processing the new data and/or storing) or on the GET (loading the data back from disk)?
Are you able to reproduce in a scenario where you can pull the stack trace from Spring?
Is this actually a 500 error that you get for the service? Or another "Yikes"/unmounting of the OSCAL Viewer?
What browser (and version) are you using?
Are you using the Docker container or another means to run the server?

@kylelaker, I tested it out and got the error. Here are my results.
How the application was run: Docker
Browser: Google Chrome Version 101.0.4951.67 64-bit
Request type: PATCH (Update of SSP version)
Error Message in Console: Failed to load resource: the server responded with a status of 500 ()
Error Message in Viewer:  Yikes! Something went wrong loading the OSCAL data. 500
Here is the spring logs of the error. The top line is the first entry after the PATCH request was made.

Here is the stack trace:

@mikeisen1, can you also give info on:

OS version
Docker version
Run command used
When the image you're using was last pulled (or what sources built from)

@mikeisen1 Thanks for that report! So while there is an issue there, I think it's actually more related to #98 (because this is an AccessDeniedException). But I am really interested to hear more

@mikeisen1, can you also give info on:

OS version
Docker version
Run command used
When the image you're using was last pulled (or what sources built from)

OS version: Windows 11 Version 21H2
Docker version: Docker version 20.10.12, build 20.10.12-0ubuntu2~20.04.1
Build command (run after starting the docker daemon): docker build --build-arg OSCAL_REACT_GIT_BRANCH=develop --build-arg OSCAL_REST_SERVICE_GIT_BRANCH=develop --tag oscal-editor-all-in-one .
Run command: docker run -p 8080:8080 -v "$(pwd)"/../../oscal-demo-content:/app/oscal-content oscal-editor-all-in-one

authors: hreineck kylelaker mikeisen1 rgauss

repo: EasyDynamics/oscal-rest-service


text:
EE-2687 - Automatic version manifest update

Ticket reference
EE-2687
Overall changes

Added new script (.github/scripts/update_version_manifest.py) and helping functions in order to automatically update the version manifest
Added a github action, triggered by the creation of a PR to main that calls the script.
Added documentation (GH action and script)

Future TO-DOs
NA

For the reviewers: note that probably all GH actions will fail: validation will fail because of the installation failing (addressed on another PR), the linter will fail because it always complains about something, and the version manifest will fail because this branch is not in the format of semantic versioning.

For the reviewers (@aaclan-ebi & @andresfsilva), note that due to another ticket that I was committing to "main" of my fork, this PR now has... a bit too many modified files.
If I were you, what I would look at is simply four files:

The logic of .github/scripts/update_version_manifest.py
Both the Version Manifest (VM) file (docs/releases/version_manifest.json) and schema (docs/releases/VM_schema.json)
The README for releases (docs/releases/README.md)

Resolved conflicts with main with the last commit (https://github.com/EbiEga/ega-metadata-schema/pull/75/commits/48e7c57ff3e5883a098c23891b421ea794fd82c4)

repo: EbiEga/ega-metadata-schema


text:
I want to add Operating System book in this repo

I want to add Operating System book in this repo

Hi! Can I take this one?

Can I add OS book in repo ?

To add resources to this repo, please, read CONTRIBUTING carefully, then send a PR

repo: EbookFoundation/free-programming-books


text:
Adding Git & Github tutorial to the English (screencast)

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s)
For resources
Description
This screencast was performed by ShankyJS, and does a walk-through the main concepts of Git and also explains Github and the relation between Git  and Github.
Why is this valuable (or not)?
Is valuable because this is a 2 hours video with free-content about Git and Github.
How do we know it's really free?
It's a public video on youtube without ads :+1:
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[X] Not a duplicate
[X] Included author(s) if appropriate
[X] Lists are in alphabetical order
[X] Needed indications added (PDF, access notes, under construction)

Finally, all checks passed, the screencast added was done by me :raised_hands: please merge :+1:

For youtube, we prefer "playlist" links and the name of the producer/creator.

Hi @eshellman, this youtube content is a screencast of 2 hours in the same link, I have added a new commit adding the author to the name of the content.

Thanks, and welcome to free-programming-books!

authors: ShankyJS eshellman


text:
Build of conventions.html

Don't merge yet. Any idea why I am not getting the TOC? This is the output I'm seeing. I can't spot anything there about TOCs or conventions.html.

@albop
Nevermind, I'll leave it to you.

repo: EconForge/dolo


text:
data:twitter account

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

LGTM, but suggestion is that you should add more because profile is too short

@nithin999989 I agree with @SurajPratap10 suggestion particularly as your bio is very similar to that used in the Docs example - it is a good idea to make this as personalised as possible.  However this is not a blocker so I will merge your Pull Request

repo: EddieHubCommunity/LinkFree


text:
[REVIEW]: Please Review my Portfolio

Please ensure that you don't have any personal details in your Portfolio that you don't want to share publicly.
Portfolio link: https://yashsehgal.github.io/portfolio_v_2/
You can also join the discord community here
Feel free to check out other cool repositories of EddieHub Community here

Some suggestions from my side.

Maybe take a look at the mobile view of your portfolio

I would highlight the projects or education with a heading or making them bold

and I think a navbar would be really nice to know what to expect on scrolling down your portfolio

was it intended to include social links at the top and at the bottom?

Otherwise I really love the clean and simple design of your portfolio!

Some suggestions from my side.

Maybe take a look at the mobile view of your portfolio

Yeah, right now I am working on the responsiveness of my portfolio so it will be good on mobile devices too.

I would highlight the projects or education with a heading or making them bold

Alright, This is a nice point, I will look into this.

and I think a navbar would be really nice to know what to expect on scrolling down your portfolio

Yeah Sure, I will try to make a UX like this 😃

was it intended to include social links at the top and at the bottom?

Yes, I did it so that the visitor can go to my profiles from both sections. Isn't it looking clean??

Otherwise I really love the clean and simple design of your portfolio!

Really thanks for the compliment

Edit:

I am Yash Sehgal, I am a Developer, A Designer and A Former Computer Science Student.

Take a look at the a / A

Sure, I will do the listed changes
Really appreciate your reviews. Thanks for your time :) 👍🏽 @schmelto

was it intended to include social links at the top and at the bottom?

Yes, I did it so that the visitor can go to my profiles from both sections. Isn't it looking clean??

Just wonder why the same information on two places but if this was intended from you I think you can keep it.

Improve your layout design & also add light/dark mode features there if ever.

Improve your layout design & also add light/dark mode features there if ever.

Yeah Light/Dark feature would be great 😃

I was going to bring up points about responsiveness and layout but since that's been done,
I want to talk about the content of it
It's very minimal information about yourself and to the point which Is really great, I know a lot of people that struggle to do that
I'd like to add something about the resume, I think you're using two different fonts, that's why the headers and the description do not look consistent.
Overall, It's a great portfolio :)

I was going to bring up points about responsiveness and layout but since that's been done,
I want to talk about the content of it
It's very minimal information about yourself and to the point which Is really great, I know a lot of people that struggle to do that
I'd like to add something about the resume, I think you're using two different fonts, that's why the headers and the description do not look consistent.
Overall, It's a great portfolio :)

Yeah @felixfaisal, I need to change my Resume too it's being updated for so long. Thanks for reminding me 😃 👍🏽

Thank you for sharing - we will review on a livestream when time allows :)

No bot these need to stay.

Reviewed on live stream https://www.youtube.com/watch?v=XT3_O4jULRE
Looks great, here are some thoughts

love the photo
love the social links
skills section is clear, however the hover felt like it was going to be clickable
if possible feature 1 video and 1 blog post higher up so you stand out more (your favourite video for example)

authors: eddiejaoude felixfaisal nhcarrigan schmelto vinzvinci yashsehgal

repo: EddieHubCommunity/support


text:
[REVIEW] AnishDe12020

Portfolio link
https://anishde.dev/

Love the progress indicator an the scroll to top button 🚀

Love the progress indicator an the scroll to top button rocket

Thanks a lot!


text:
Help me fix Table Markdown on my GitHub Org. PH

I was setting up GitHub Org. for my local tech community. Can anyone help me fix this?

Look on the issues first, pull request is welcome.

Repo Link: https://github.com/surpathcommunity/hacktoberfest-philippines
GitHub Page: https://surpathcommunity.github.io/hacktoberfest-philippines/

Created PR, do  check it☺

Created PR, do check it☺

Sure, thanks!

Thanks for help @Nitesh-thapliyal , will close the issues now.

Great team work 👍

Thank you @eddiejaoude ☺

authors: Nitesh-thapliyal eddiejaoude vinzvinci


text:
shareWithOptions() issues with \n or  in plain text for e-mail body

Hi all, thanks for that great cordova plugin !
I use window.plugins.socialsharing.shareWithOptions  to share files or e-mail body message and I have issues with new line breaks "\n" or "".
In my case i made test with mots popular e-mail app's this days.
Legend
'-' is not supported
'+' is supported

new line support
br
\n

Mail(default iOS):
-
+

CloudMagic
-
+

AirMAil
-
+

Inbox
+
-

Outlook
+
-

1-st group of apps: Mail, CloudMagic and AirMAil not support HTML tag
and my question is how to enable HTML mode to 'TRUE' for method shareWithOptions() ?
If it's not possible to use HTML e-mail how to detect in socialsharing plugin
which app user is select and base of his choose I will change body message formatting? I found something similar:
http://stackoverflow.com/questions/34695055/new-line-in-whatsapp-vs-mail
Is it possible that type of functionality to be implemented in SocialSharing-PhoneGap-Plugin ?
Thanks in advance !
BR, Svetoslav.

any solution?

Hi,
as far as I remember we chosen variant with : \r\n
this is row 15 from screenshot.

in test i was using iOs applications:
Mail (default iOS client), Spark, CloudMagic, Inbox, AirMail, Gmail, Outlook and Hop
Best regards, Svetoslav.

My case is a bit different...  While this works well for mail sharing... WhatsApp ignores the \r\n
I need share on WhatsApp too :(
Thanks, @sivanov.
Zeca.

Any solution For whatsApp?

authors: FURQAN2050 ealbuquerque sivanov


text:
Cannot find namespace 'android'

after type in console tns run I'm getting this error:
ERROR in node_modules/nativescript-nfc/nfc.android.d.ts:3:18 - error TS2503: Cannot find namespace 'android'.

3     savedIntent: android.content.Intent;
                   ~~~~~~~
node_modules/nativescript-nfc/nfc.android.d.ts:11:22 - error TS2503: Cannot find namespace 'android'.

11     ndefToJSON(ndef: android.nfc.tech.Ndef): NfcNdefData;
                        ~~~~~~~
node_modules/nativescript-nfc/nfc.android.d.ts:12:28 - error TS2503: Cannot find namespace 'android'.

12     messageToJSON(message: android.nfc.NdefMessage): Array<NfcNdefRecord>;
                              ~~~~~~~
node_modules/nativescript-nfc/nfc.android.d.ts:13:26 - error TS2503: Cannot find namespace 'android'.

13     recordToJSON(record: android.nfc.NdefRecord): NfcNdefRecord;
                            ~~~~~~~

I'm working on Android Emulator, in Nativescript Angular

Thx for reporting. There are a few ways around this, but I think it's best to fix that in the plugin itself - give 4.1.0 a spin.

I'm fixed it by install tns-platform-declarations and added reference.d.ts
on root folder. I'm suggest that you should add this  infromation in
readme.md.
śr., 6 lis 2019, 17:18 użytkownik Eddy Verbruggen notifications@github.com
napisał:

Closed #51 https://github.com/EddyVerbruggen/nativescript-nfc/issues/51.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EddyVerbruggen/nativescript-nfc/issues/51?email_source=notifications&email_token=AH2RYFWYORJUEGPZ4J5DNT3QSLU6BA5CNFSM4JJS7HYKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUV24ZCI#event-2775960713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH2RYFQLR7QLO5OHAOLEUW3QSLU6BANCNFSM4JJS7HYA
.

That was what I could have said, but I did one better and fixed it in the plugin like I mentioned.

Hey, is there any way to enable NFC only in one component? Already it is
enabled on whole application, and everytime I'm getting this information:
*Ndef discovered, but no listener was set via setOnNdefDiscoveredListener. *
I'm wish to use nfc only in components where I have listeners.
Thanks for help in advance.
Best regards, Rafał
śr., 6 lis 2019 o 18:37 Eddy Verbruggen notifications@github.com
napisał(a):

That was what I could have said, but I did one better and fixed it in the
plugin like I mentioned.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EddyVerbruggen/nativescript-nfc/issues/51?email_source=notifications&email_token=AH2RYFUSOTVRANG4LUGZ6R3QSL6FTA5CNFSM4JJS7HYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHLXRI#issuecomment-550419397,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH2RYFSOFJ2GRKGAMLSHV2DQSL6FTANCNFSM4JJS7HYA
.

We can remove that console.log, if that helps. But please don't hijack other issues with unrelated questions.

authors: EddyVerbruggen Rav-Naz

repo: EddyVerbruggen/nativescript-nfc


text:
error when runing Object_detection_image.py

get the error when running Object_detection_image.py
(py3) jakey@jakey:~/Downloads/models-master/research/object_detection$ python Object_detection_image.py
2019-02-13 17:29:49.107347: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File "Object_detection_image.py", line 98, in
feed_dict={image_tensor: image_expanded})
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1121, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
anybody know what's wrong with it?

in faster_rcnn_inception_v2_pets.config do like this
train_config: {
batch_size: 1
optimizer {
momentum_optimizer: {
learning_rate: {
manual_step_learning_rate {
initial_learning_rate: 0.0002
#schedule {
# step: 0
#learning_rate: .0002
#}
schedule {
step: 900000
learning_rate: .00002
}
schedule {
step: 1200000
learning_rate: .000002
}
}
}
momentum_optimizer_value: 0.9
}
use_moving_average: false
}
or maybe in generate_tfrecord
def class_text_to_int(row_label):
if row_label == 'nine':
return 1
elif row_label == 'ten':
return 2
elif row_label == 'jack':
return 3
elif row_label == 'queen':
return 4
elif row_label == 'king':
return 5
elif row_label == 'ace':
return 6
else:
None

get the error when running Object_detection_image.py
(py3) jakey@jakey:~/Downloads/models-master/research/object_detection$ python Object_detection_image.py
2019-02-13 17:29:49.107347: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File "Object_detection_image.py", line 98, in
feed_dict={image_tensor: image_expanded})
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1121, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
anybody know what's wrong with it?

Hi @longjie1986,
According to the type of error, it seems that the image is of type None. This error could be possible because the image has not been loaded successfully in the "image_expanded" variable. How can be this possible if the path to the image is correct? I don't know. However, it seems that the "imread" function of the OpenCV library has some problems when trying to read an image with the absolute path but not with the relative path.
So, try to replace the line 92 with this code "image = cv2.imread('./' + IMAGE_NAME)", for example. With this solution, we provide the image relative path to the "imread" function instead of an absolute path like before.
I really hope this could fix your problem.
Greetings,
@diegomjb94

get the error when running Object_detection_image.py
(py3) jakey@jakey:~/Downloads/models-master/research/object_detection$ python Object_detection_image.py
2019-02-13 17:29:49.107347: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File "Object_detection_image.py", line 98, in
feed_dict={image_tensor: image_expanded})
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1121, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
anybody know what's wrong with it?

Hi @longjie1986,
According to the type of error, it seems that the image is of type None. This error could be possible because the image has not been loaded successfully in the "image_expanded" variable. How can be this possible if the path to the image is correct? I don't know. However, it seems that the "imread" function of the OpenCV library has some problems when trying to read an image with the absolute path but not with the relative path.
So, try to replace the line 92 with this code "image = cv2.imread('./' + IMAGE_NAME)", for example. With this solution, we provide the image relative path to the "imread" function instead of an absolute path like before.
I really hope this could fix your problem.
Greetings,
@diegomjb94

Worked for me, thanks!

@diegomjb94 Thank you so much for providing the solution of the above problem.I was stuck since 2 days.Thanks man!

get the error when running Object_detection_image.py
(py3) jakey@jakey:~/Downloads/models-master/research/object_detection$ python Object_detection_image.py
2019-02-13 17:29:49.107347: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File "Object_detection_image.py", line 98, in
feed_dict={image_tensor: image_expanded})
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1121, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/jakey/anaconda3/envs/py3/lib/python3.5/site-packages/numpy/core/numeric.py", line 538, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
anybody know what's wrong with it?

Hi @longjie1986,
According to the type of error, it seems that the image is of type None. This error could be possible because the image has not been loaded successfully in the "image_expanded" variable. How can be this possible if the path to the image is correct? I don't know. However, it seems that the "imread" function of the OpenCV library has some problems when trying to read an image with the absolute path but not with the relative path.
So, try to replace the line 92 with this code "image = cv2.imread('./' + IMAGE_NAME)", for example. With this solution, we provide the image relative path to the "imread" function instead of an absolute path like before.
I really hope this could fix your problem.
Greetings,
@diegomjb94

thanks, it works great!!!


text:
Erroneous values displayed for durations and positions above 1 minute

See in https://github.com/EdoanR/controls-for-yt-shorts/blob/master/js/utils.js:
function formatTime(seconds) {
  const minutes = Math.floor(seconds / 60);
  seconds = Math.floor(seconds);

  const minutesFormatted = minutes.toString().padStart(2, '0');
  const secondsFormatted = seconds.toString().padStart(2, '0');

  return `${minutesFormatted}:${secondsFormatted}`;
}

Some results:
formatTime(60); // 01:60
formatTime(61); // 01:61
formatTime(119); // 01:119
formatTime(120); // 02:120

The calculations are obviously incorrect, we should use the remainder (%) operator.
Possible fixes:
If seconds parameter is always an integer, we could do:
  const minutes = Math.floor(seconds / 60);
  seconds = seconds % 60;

To obtain correct results even if seconds parameter has a decimal part:
  const minutes = Math.floor(seconds / 60);
  seconds = Math.floor(seconds % 60);

I would prefer the latter.

The currentTime and duration properties (from HTMLMediaElement ← HTMLVideoElement) are floating-point values, so we definitely want to floor the results.

repo: EdoanR/controls-for-yt-shorts


text:
We need some Blogs on various topic

Topics

Importance of community
Importance of Hackathon
What is hackathon
Tech community

hey i can help out with blog on importance of community. please assign this to me.

@SahityaRoy I had created a pr in a topic mention above that is hackathon.

i want to write blog on tech community, please assign me.

Hey there ,I want to write a blog on these topics please assign me the task.


text:
Internal Exception: java.util.ConcurrentModificationException

Versions: Origins (Forge) 1.10.0.1, Forge 47.1.0
Sometimes (but not every time), when I try to generate a new world, the game fails and shoes the error Internal Exception: java.util.ConcurrentModificationException.
Here is the part causing the issue from the logs:
[Netty Server IO #5/ERROR] [net.minecraft.network.Connection/]: Received class net.minecraft.network.protocol.game.ClientboundDisconnectPacket that couldn't be processed
java.lang.ClassCastException: class net.minecraft.server.network.ServerGamePacketListenerImpl cannot be cast to class net.minecraft.network.protocol.game.ClientGamePacketListener (net.minecraft.server.network.ServerGamePacketListenerImpl and net.minecraft.network.protocol.game.ClientGamePacketListener are in module minecraft@1.20.1 of loader 'TRANSFORMER' @781711b7)
	at net.minecraft.network.protocol.game.ClientboundDisconnectPacket.m_5797_(ClientboundDisconnectPacket.java:7) ~[client-1.20.1-20230612.114412-srg.jar%23166!/:?]
	at net.minecraft.network.Connection.m_129517_(Connection.java:174) ~[client-1.20.1-20230612.114412-srg.jar%23166!/:?]
	at net.minecraft.network.Connection.channelRead0(Connection.java:159) ~[client-1.20.1-20230612.114412-srg.jar%23166!/:?]
	at net.minecraft.network.Connection.channelRead0(Connection.java:50) ~[client-1.20.1-20230612.114412-srg.jar%23166!/:?]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.local.LocalChannel.readInbound(LocalChannel.java:299) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:445) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:50) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:403) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar%23123!/:4.1.82.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar%23123!/:4.1.82.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar%23123!/:4.1.82.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[netty-transport-4.1.82.Final.jar%23128!/:4.1.82.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar%23123!/:4.1.82.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar%23123!/:4.1.82.Final]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

Okay, this one should be fixed in both of the places it can be caused.

authors: MerchantPug QuantumXenon

repo: EdwinMindcraft/origins-architectury


text:
Crashens on mp3 stop

The version I downloaded on 1/4/2022 did work well.
The actual version has some problems:

'stop' command gives 'D: ESP32-Radio called with illegal parameter: stop'
same for 'resume' and 'settings'
changing preset (rotary, remote control, command) crashes (and reboots with same preset)

crash.txt
using VS1053, VS1838B, rotary encoder, NEXTION

At the moment I cannot reproduce the crash.  Commands "stop" and "resume" are not supported in this version, the buttons are also removed from the webinterface.  The command "settings" works, it is used in the webinterface to show the current settings and the presets.

I managed to reproduce the crash, so I was able to debug the program.
It is fixed now.

this is fixed, indeed.
Thanks.


text:
GUI!

Here's you go.
My next project will be getting linefeeds and other special characters working in the Lua script.
But that's a task for later...

This is amazing thanks!!

authors: AdarkTheCoder EgoMoose


text:
chore: css: remove redundant font stack sass and use semantic variable

SUMMARY:
Removes $octuple-font-family SASS variable in favor of var(--font-stack-full) semantic variable.
JIRA TASK (Eightfold Employees Only):
N/A
CHANGE TYPE:
N/A
TEST COVERAGE:
N/A
TEST PLAN:
Pull the PR branch and run yarn and yarn storybook. Verify the font in all components.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@8525e42). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #660   +/-   ##
=======================================
  Coverage        ?   84.65%
=======================================
  Files           ?      845
  Lines           ?    17770
  Branches        ?     6340
=======================================
  Hits            ?    15043
  Misses          ?     2657
  Partials        ?       70

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

authors: codecov-commenter dkilgore-eightfold

repo: EightfoldAI/octuple


text:
Android.Eis4TY.XRStereoscopicViewer

找不到Android.Eis4TY.XRStereoscopicViewer文件夹，是要放在sdcard的根目录下么？

路径应该是类似于： 此电脑\Quest Pro\内部共享存储空间\Android\data\com.Eis4TY.XRStereoscopicViewer\files。
如果看不到 'XRStereoscopicViewer' 文件夹，试试先打开应用程序再关闭。应该就有了

我把文件放到了 Android\data\com.Eis4TY.XRStereoscopicViewer\files 目录下，但进去后还是空的

你要在这个目录下建立一个叫 'Media' 的文件夹，再把图片放进去

搞定，感谢！~


text:
Fix: catastrophic backtracking and esbuild platform

Fixes #235
Fixes #219

Codecov Report

Merging #238 (e0a3c25) into master (bf528f1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #238   +/-   ##
=======================================
  Coverage   82.14%   82.14%
=======================================
  Files          46       46
  Lines        1960     1960
  Branches      465      440   -25
=======================================
  Hits         1610     1610
  Misses        348      348
  Partials        2        2

Impacted Files
Coverage Δ

src/esbuild/esbuildBundler.ts
18.29% <ø> (ø)

src/partialHydration/mountComponentsInHtml.ts
84.21% <ø> (ø)

Continue to review full report at Codecov.

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

A performance test is added. You can observe the performance issue with following commands:
# run the performance test
npx jest src/partialHydration/__tests__/mountComponentsInHtml.spec.ts

# use old regex and run again. It will hang and eat up your CPU
git checkout master -- src/partialHydration/mountComponentsInHtml.ts
npx jest src/partialHydration/__tests__/mountComponentsInHtml.spec.ts

repo: Elderjs/elderjs


text:
improve e2e docu

Tasks

[ ] ReadMe.md should be renamed to README.md
[ ] title could be shorter
[ ] Installation does not describe how to use Dockerfile, probably solves #782
[ ] Quickstart does not say in which folder I need to be
[ ] documentation guidelines not used everywhere (e.g. one sentence one line)
[ ] ENV Variables: is there also .env support?
[ ] Dont -> Don't or do not
[ ] "Make sure to have a solid understanding about the Gherkin syntax" -> link to tutorial

Use case
No response
Related Pull request
No response

is there also .env support?

Good idea. I will commit a .env with default values.

"Make sure to have a solid understanding about the Gherkin syntax" -> link to tutorial

Are these links not sufficient? They are at the end of the Writing .feature files section.

repo: ElektraInitiative/PermaplanT


text:
Fix full plant name not shown.

Basics

[x] I added a line to changelog.md
[x] The PR is rebased with current master.
[x] Details of what you changed are in commit messages.
[x] References to issues, e.g. close #X, are in the commit messages and changelog.
[ ] The buildserver is happy.

Checklist

[ ] I have installed and I am using pre-commit hooks
[ ] I fully described what my PR does in the documentation
[ ] I fixed all affected documentation
[ ] I fixed the introduction tour
[ ] I wrote migrations in a way that they are compatible with already present data
[ ] I fixed all affected decisions
[ ] I added automated tests or a manual test protocol
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
[ ] Code is consistent to our Design Decisions
[ ] Exceptions to any guidelines are documented

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] I've read through the whole documentation
[ ] I've checked conformity to guidelines

@badnames when I rename the seeds, still the old (additional) names are shown. Is this a different issue? After complete reload the new names are fetched.

Might be because the query cache never gets updated. I'm looking into it.

jenkins build please

It is not stale anymore but there is still another problem:

user A puts a plant from a seed on the map X
user B looks at X

expected behavior: user B also sees the additional name (like user A).
actual behavior: user B doesn't see the additional name (unlike user A).

The problem at the moment is that seeds can only be accessed by the user who created them.

If you want I can fix this by sending the additional name alongside the seed id.
The other option would be to restructure our seeds/inventory endpoint such that users can access seeds other than their own.
Doing this in a secure manner would not be trivial.

If you want I can fix this by sending the additional name alongside the seed id.

Sounds good, doesn't that make sense anyway to get everything in a single endpoint request?

@markus2330 I think we should hold of on adding end to end tests for this feature until #869 is merged.
Otherwise I would have to reimplement a significant amount of its functionality.
That might lead to nasty merge conflicts down the road.

It is enough if you only manually write what should be tested.
Did you test already if a concurrent user correctly sees plants?

@badnames there are clippy problems. Looking forward to get this merged :heart:

Did you test already if a concurrent user correctly sees plants?

Yes and it should work now.

jenkins build please

Unfortunately, clippy is still not happy. I try to fix it in #1070 but I didn't understand what you wanted to do, so I maybe fixed it wrongly. Please always comment what the code should do, not about what you attempted to do but then decided otherwise.

Unfortunately, clippy is still not happy. I try to fix it in #1070 but I didn't understand what you wanted to do, so I maybe fixed it wrongly. Please always comment what the code should do, not about what you attempted to do but then decided otherwise.

All clippy errors have now been fixed.

Thx, unfortunately still buggy in concurrent use: if I have an additional listener on the plants*, the browser that does the action does not see the additional name (the browser that listened to the action, gets the correct name).

in a later test this was not even needed?

And then later it was not possible anymore to put seed plants anymore at all?
What is being planted also does not show the additional name?

Thx, unfortunately still buggy in concurrent use: if I have an additional listener on the plants*, the browser that does the action does not see the additional name (the browser that listened to the action, gets the correct name).
* in a later test this was not even needed?

And then later it was not possible anymore to put seed plants anymore at all?
What is being planted also does not show the additional name?

Thanks for reporting this bug.
I made sure that the additional name is added to the frontend store of the local browser.
Can you verify that this is no longer an issue?

Much better, still two minor bugs:

[ ] when changing the additional name (in inventory), and planting this plant, a concurrent viewer doesn't see the first plant planted (later planted plants are seen)
[ ] the planting mode window still doesn't show the additional name

the planting mode window still doesn't show the additional name

Does this only occur in conjunction with the first issue or does this always happen?
Because at the moment I can not replicate this locally:

I mean the little window in the bottom middle (not toolbar left bottom).

Sorry, I thought you ment the plant layers left toolbar.

So everything that was requested should hopefully now be implemented.
Big Disclaimer:
I am perfectly honest, I am not proud of this code as it is ugly, inefficient and insecure (altough, our entire action broadcasting system was not built with security in mind) but it should get the job done.
Initially (yes, I know I say this often) I did not expect that this fix would need that many changes so I did not see this coming.
Doing it properly would require some significant reworks of the action broadcasting system.
I will add the missing manual tests to our test protocol tomorrow and hopefully fix the broken e2e test, then we should be able to merge.

jenkins build please

@horenso @danielsteinkogler @absurd-turtle can you do a review here please?


text:
[Bug Report] Sorting failure of table

Element UI version
2.3.6
OS/Browsers version
windows 10/Chrome 64.0.3282.119
Vue version
2.5.2
Reproduction Link
https://jsfiddle.net/liuke115/aLssb8n2/
Steps to reproduce
点击table的表头日期旁边的排序按钮，但是排序不起作用
What is Expected?
希望使用 来填充的列也能排序
What is actually happening?
貌似使用 来填充的列就不能使用排序功能

排序列需要指定 prop 属性。

我懂了，多谢

repo: ElemeFE/element


text:
[Feature Request] Much better support for Mobile

Existing Component
Yes
Component Name
All Eelement components
Description
I think element-ui is freaking awesome. Probably one of the most well balanced UI frameworks out there. However, for mobile it really doesn't come out well at all.
Yes, I get that there is Mint-UI. Are they inter-operable? For that to work, the ability to detect media needs to massively improve in element-ui. Right now the <el-col :xs="" ...> is the only thing that works OK. The CSS hidden-on-... classes don't work for me.
As Mint-UI it looks nice, but I don't want to have to redevelop my app for mobile, good design these days is mobile first. Please see what can be done to make element-ui brilliant on mobile.
The biggest issue I am facing is responsiveness on fonts and then the CSS hidden-on-... don't work.
Thanks for the excellent work in element-ui. I've been using it since 1.x for the last year or so. Brilliant

#4223


text:
[Bug Report] [Bug Report] pagination can't go to prev page or first page when total >= 0 && current-page-size > 0

Element UI version
2.4.0
OS/Browsers version
win7/Chrome62
Vue version
2.5.2
Reproduction Link
https://codepen.io/anon/pen/NzJoGv
Steps to reproduce
Click prev button, no current-change event emitted, so no alert.
ref
What is Expected?
emit current-change.
What is actually happening?
none

这个issue 里提到，current-change只响应用户的交互，但是这种经过validate之后，代码层面的变动未触发。那这种情况，用户现在怎么更好的处理比较好呢。基于ElPagination搞一个高阶组件达到最大化的复用？

直接 watch currentPage，handleCurrentChange 放到 watch currentPage 的处理函数里面去

@wacky6 i.e. v-bind.sync
看起来不错。


text:
Can [Feature Request] Table Components Support Search

Existing Component
是
Component Name
table
Description
现有的例子中只有一个带搜索的，而且不是表格组件本身的搜索功能，我使用这种方式的搜索后，会跟表格组件的selection功能冲突，当表格在dialog中时，我搜索后选择的行选择状态会消失，希望能给出这种场景下的解决方案，谢谢。

We will consider to support this.