Some FCVT instructions missing frm as source register in dep-table.tex

It looks like the FCVT.L[U].S and FCVT.S.L[U] instructions are missing frm as a source register (with the note "*if rm = 111"). Here are the lines in question: https://github.com/riscv/riscv-isa-manual/blob/master/src/dep-table.tex#L368-L374

And also, does FCVT.D.W[U] raise an exception if there is an illegal rounding mode? If so, should it also have a dependency on frm, even though it produces exact results?

For simpler HW, FCVT.D.W[U] still checks the validity of the rounding mode.  I don't think this implies a dependence on frm in the PPO sense, though, because it only affects the exception behavior of the instruction, not its result; and the possibility of taking an exception doesn't create a PPO dependence from later instructions.
FCVT.L[U].S and FCVT.S.L[U] are bugs in the table, since they definitely round.  @daniellustig I'm just going to update the table, since this is presumably just an uncontroversial bugfix.

Thanks for the attention to detail, @acw1251.

Closed by 015acc5602587d9662c6b2db4685ae8b06d577d4


File handle not closed

Expected Behavior

File open (via FileName = FileA)
Save file as FileB (via SubmitChanges(filename)
Open file FileB, or any other file (via FileName = FileB)
Open FileA

Actual Behavior

File open (via FileName = FileA)
Save file as FileB (via SubmitChanges(filename)
Open file FileB, or any other file (via FileName = FileB)
Open FileA throws error. File in use

Steps to Reproduce the Problem
See above

humm after 30min of testing I can't reproduce your bug...
Can you put the code you use ?

Thanks for testing it, I just created some simple code to test it.
FYI I am using Winforms with .net 4.5.1.
Also, with this code, If I want to save a file but I didn't make any changes, the saved file will be empty. Am I missing something here?
public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private const string BinaryFileFilter = @"All files (*.*)|*.*";

        private void btnLoadFile_Click(object sender, EventArgs e)
        {

            var dialog = new OpenFileDialog { Filter = BinaryFileFilter };
            dialog.ShowDialog();

            if (System.IO.File.Exists(dialog.FileName))
            {
                heWrittenData.FileName = dialog.FileName;
            }
        }

        private void btnSaveFile_Click(object sender, EventArgs e)
        {
            var fileDialog = new SaveFileDialog
            {
                Filter = BinaryFileFilter,
                Title = @"Save a binary file"
            };
            fileDialog.ShowDialog();

            if (fileDialog.FileName == "") return;

            heWrittenData.SubmitChanges(fileDialog.FileName, true);

            heWrittenData.FileName = fileDialog.FileName;
            heWrittenData.IsModified = false;
        }
    }

Many thanks for this awesome control :-)

Cool thank you for code :) I will test with this night!
Thank for love my control :) do have put a start ? :smile:
PS: Check the lastest code with zoom in/out :grin:

Yes, now I did put a star :+1:
How does the zoom work? And any luck with reproducing?

Thank you for star :)
You can zoom with mouse wheel + Ctrl key or set in code ZoomScale property.
Get the lastest code on GitHub


Update draw2d to be used via Github

dep ensure is currently failing on anything that depends on this package gogeos because of this error:
init failed: unable to solve the dependency graph: Solving failure: No versions of github.com/paulsmith/gogeos met constraints:
	v0.1.2: unable to deduce repository and source type for "code.google.com/p/draw2d/draw2d": unable to read metadata: go-import metadata not found
	v0.1.1: unable to deduce repository and source type for "code.google.com/p/draw2d/draw2d": unable to read metadata: go-import metadata not found
	v0.1.0: unable to deduce repository and source type for "code.google.com/p/draw2d/draw2d": unable to read metadata: go-import metadata not found
	master: unable to deduce repository and source type for "code.google.com/p/draw2d/draw2d": unable to read metadata: go-import metadata not found

Any update on this @paulsmith ?


Consider tracing twice to detect Python side effects

User code that relies on Python side effects or interpreter state will behave differently under jit or pmap (in particular, the interpreter state will be effectively frozen at compile time).
One example is rng = random.PRNGKey(int(time.time())), which will freeze the RNG key at compile time and produce the same random numbers at every step. Currently we have no way of detecting that something like this is happening and flagging it as a warning or error.
One way of identifying code that relies on interpreter state would be to trace user code twice and check that the staged-out representation is the same. It would be straightforward to do this for existing initial-style tracers (compare the jaxprs), but I think jit specifically (as a final-style tracer with initial-style output) would require either switching to initial style or building and comparing two XLA HLO computations.
Are there cases this wouldn't detect, or reasons why this would be a bad idea other than performance hits to the cache-miss path? Do we feel confident in the level of determinism in the core infrastructure? Should we throw an error or a warning, and should we enable it by default or put it behind a flag or kwarg? (A similar approach was/is used in the tracing component of the PyTorch JIT, and a somewhat less similar approach is used to detect variable misuse in TF2)

This is probably an edge case, but tracing twice would be confusing if you use print statements to see how often compilation is happening. I have vague recollections of people using even fancier trace-time side effects, but I can't remember the specifics now, and maybe that's asking for trouble anyway :)
If we just wanna catch the rng = random.PRNGKey(int(time.time())) case, it might be simpler to expand the DynamicAxisEnv logic to create a context for jit as well as pmap, and have PRNGKey blow up under a jit. Unless there are use cases for creating random numbers in a jit'd function? This would also only catch this one case, not behavior-changing side effects in general. (Although tracing twice would only catch side effects that change the behavior of the second call, and in theory you could have side effects that aren't visible for a couple calls...)

No tracing twice! :) Closing old issues.


Consider adding description how it works

How it works? Is it for sending fully automatic messages (no human interaction)?
Is it somehow detecting new mappers in a given region?
It would be useful to add some explanation how it works and screenshots.
Is there some public deployment?
Is it possible to check is it used in a given region?

Is it for sending fully automatic messages (no human interaction)?

No, it detects new mappers in "your" region and suggests a welcome message (based on templates) that you can then (manually) send to the mapper.

Is it somehow detecting new mappers in a given region?

Yes.

It would be useful to add some explanation how it works and screenshots.

I can indeed add some explanation on how it works. 😄
No need for screenshot, the tool is publicly available here: https://welcome.osm.be/

Is there some public deployment?
Is it possible to check is it used in a given region?

https://welcome.osm.be/

The tool pre-fills the OSM message form. It opens in a new window, ready to send.

What happened if there is local areas inside a country ?
Does the user is listed in i.e the country and the area of a local group ?
If somebody send a welcome message from the country, does this is reflected on the local group ?
And vice-versa ?


Outdated Sunbird installation documentation

Issue moved to project-sunbird/project-sunbird.github.io #27 via ZenHub


get room owner on event 'room-join','room-topic'

wxwebApp had hide uin of room members from some routing. so we can't get owner by using uin anymore:
memberList = memberList.filter(m => m.get('uin') === ownerUin)
     if (memberList.length > 0) {
       return memberList[0]
     } else {
       return null
     }

but on 'room-join' and 'room-topic' event ,we got a ``ChatRoomOwner```  property from rawObj, it can be used to load owner..
rawObj:
   { Alias: '',
     AppAccountFlag: 0,
     AttrStatus: 0,
     ChatRoomId: 0,
     ChatRoomOwner: '@b261a88d4de1479cdf735c851fe22afe',
     City: '',
     ContactFlag: 2,
     DisplayName: '',
     EncryChatRoomId: '@dfee772e7d01ad0cfcdc5e2e8c81e558',
     HeadImgUpdateFlag: 1,
     HeadImgUrl: '/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=0&username=@@72317905edc07327e00aa61f690de1ea2a98117aca6ff32ddfe4eb0&skey=@crypt_9d729d2b_71e57bdd5f75
90fee74da393476f8160',
     HideInputBarFlag: 0,
     KeyWord: '',
     MMFromBatchGet: true,
     MMFromBatchget: true,
     MMInChatroom: true,
...

i hate whitespace...

@zixia  can not find thoese new modules?
https://travis-ci.org/wechaty/wechaty/jobs/178773741#L362
example/voice-to-text-bot.ts(13,31): error TS2307: Cannot find module 'request'.
example/voice-to-text-bot.ts(14,31): error TS2307: Cannot find module 'fluent-ffmpeg'.

issues 2: throw new Error('no user')
when i trying to use https://app.wechaty.io.
reproduce

start robot
and then opening wechaty.io
login
robot got error

/home/jas/projects/learning/wechat/wechaty-ts/src/wechaty.ts:127
      throw new Error('no user')
            ^
Error: no user
    at Wechaty.user (/home/jas/projects/learning/wechat/wechaty-ts/src/wechaty.ts:127:13)
    at WebSocket.ws.on.e (/home/jas/projects/learning/wechat/wechaty-ts/src/io.ts:221:45)
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/home/jas/projects/learning/wechat/wechaty-ts/node_modules/ws/lib/WebSocket.js:841:10)
    at /home/jas/projects/learning/wechat/wechaty-ts/node_modules/ws/lib/Receiver.js:536:18
    at /home/jas/projects/learning/wechat/wechaty-ts/node_modules/ws/lib/Receiver.js:368:7
    at /home/jas/projects/learning/wechat/wechaty-ts/node_modules/ws/lib/PerMessageDeflate.js:249:5
    at afterWrite (_stream_writable.js:387:3)
    at onwrite (_stream_writable.js:378:7)

i trace the code . when login in web , it will send a ws event 'update' to robot. and it will check call wechaty.user() , at the same time ,because your haven't login ,the wechaty.user() will throw errors.
i change it to wechaty.puppet.user directly . then everything is ok.
https://github.com/wechaty/wechaty/pull/105/commits/c222fa18796395cf505ca357c37b26c1b8750f09

Great hack for the ChatRoomOwner property, thanks!
I'll check the new module requirement problem in the package.json, it's my bad.
BTW: app.wechaty.io use a very early stage ws protocol to communicate with Wechaty Runtime, so there's expected others' problem as well, please be careful when you use it.

CI failed becasue I forgot to run npm install @types/request @types/fluent-ffmpeg --save-dev. fixed.


Vulkan: Tile artifacts with SpotLights

Godot version: Git https://github.com/godotengine/godot/commit/11cd8b8e4afdbd42f82459c48c9f6fd604ea1455
OS/device including version: Fedora 31, NVIDIA 440.44, GeForce GTX 1080
Issue description: Since clustered forward rendering was merged, SpotLights exhibit "tile-based" artifacts that flicker and move with the camera, regardless if they're using shadows or not:

This occurs both in the editor and when running the project.
Steps to reproduce: Edit and run the attached reproduction project.
Minimal reproduction project: test_spotlights_4.0.zip

This issue appears to be resolved as of master 96e17e4ea.


the website createjs.com does not work when Adobe TypeKit is blocked

I hope this is the right place to post issues with the website
http://createjs.com/ just fails when you try to load it under ghostery.  The code uses the check:
			Typekit && Typekit.load();

This will always throw an error if Typekit is not defined, preventing the page from loading.  The correct check is:
			(typeof Typekit !== 'undefined') && Typekit.load();

Thanks, we will update it!

Implemented. Cheers!


Update dictionary.txt, added silcrow/section sign

@DenverCoder1 Another one for hacktober-fest, please label it as hacktoberfest-accepted. Very happy to contribute in this project.

👍 Looks good! If you have more, you can combine them into one pull request to save time.

@DenverCoder1 sure i will researching for more and add the zodiac symbols also. Anyways nice to contributing your projecct buddy.  😄


Using a DbSession and an EngineSingleton to inject the engine

Small refactor to make the code a bit cleaner.
Using a DbSession and an EngineSingleton to inject the engine, instead of giving it to every router. This is cleaner (I think) and makes it easy to patch the engine for unittests. Note that FastAPI Depends would work as well for the routers, but not for other parts of the code.

I am not sure why in some tests sqlalchemy.engine.Engine is still used.

Thanks for the review! I indeed forgot to remove many usages of the Engine in the test. Fixed it in https://github.com/aiondemand/AIOD-rest-api/pull/199/commits/47b254c7e5d729f8767fbb1f45020f69660ae5e7.


Validator parse error with latest QOS develop version

Validator info including address info could not be parsed since latest QOS upgrading with internal testnet chain-id pre-2000
From corresponding qoscli the validator query information was shown as below:
[vagrant@vagrant-192-168-1-223 pre2000]$ ./qoscli query validators --node "tcp://<IP_ADDRESS>:26657"
[{"validator":"qosval1d880y3hmj62m4c9xx3spfkjm3lh32swrh9mffj","owner":"qosacc1d880y3hmj62m4c9xx3spfkjm3lh32swr04420l","consensusAddress":"qoscons1dxsrlf8tedxtjlvp2pfn8lshup7v6cn800zmj4","consensusPubKey":"qosconspub1zcjduepq5nssdqz29u52uh3rwtvhy50n9aa4mxrny7nx6500sukwn7ggqlnq0epc3v","bondTokens":"10000","description":{"moniker":"qos","logo":"","website":"","details":""},"commission":{"commission_rates":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"update_time":"0001-01-01T00:00:00Z"},"status":"active","InactiveDesc":"","inactiveTime":"0001-01-01T00:00:00Z","inactiveHeight":"0","minPeriod":"0","bondHeight":"0"}]

The filed validator and onwer is parsed from the same Address byte, only with differences of the address prefix

This issue is fixed with latest master commit, close it with positive feedback.


:bug: Fix for graphQL when query project->cohorts by id.

This PR is s simple fix when query project -> cohorts by string id.

Thanks @milo-hyben! Annoyingly, in my assorted fixes PR I fixed this exact issue with the cohort_template and yet skipped the cohort id itself!!
https://github.com/populationgenomics/metamist/pull/793/files


implement varlink createfromcontainer (aka commit)

Signed-off-by: baude<EMAIL_ADDRESS>

LGTM

Actually @baude Can you change the commit message to say you are implementing commit.

@baude Lint errors

LGTM once the lint error is gone

@rh-atomic-bot r+


Can not edit account names in current version of YNAB web

Name of Defective Feature
-Unknown at this time
System Settings (Required)

ToolKit Version: v 2.8.1
Operating System (Mac/Windows/Etc): Windows 10 uptodate
Browser (Chrome/Firefox/Safari):
Browser Version: Chrome
Other Extensions:

Export of Toolkit Settings (Bottom Left of Settings Page)

Settings Export
[{"key":"AccountsDisplayDensity","value":"2"},{"key":"AccountsEmphasizedOutflows","value":true},{"key":"AccountsStripedRows","value":true},{"key":"AdditionalColumns","value":true},{"key":"AdjustableColumnWidths","value":true},{"key":"AutoDistributeSplits","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":true},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":true},{"key":"CategoryActivityPopupWidth","value":"2"},{"key":"ChangeEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":true},{"key":"ColourBlindMode","value":true},{"key":"CompactIncomeVsExpense","value":true},{"key":"CreditCardEmoji","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomFlagNames","value":false},{"key":"DaysOfBuffering","value":true},{"key":"DaysOfBufferingHistoryLookup","value":"12"},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"1"},{"key":"DisplayTotalMonthlyGoals","value":true},{"key":"DisplayUpcomingAmount","value":true},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnableRetroCalculator","value":true},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"GoalIndicator","value":true},{"key":"GoalWarningColor","value":true},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideHelp","value":true},{"key":"HideReferralBanner","value":true},{"key":"HighlightNegatives","value":true},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":true},{"key":"MonthlyNotesPopupWidth","value":"2"},{"key":"NavDisplayDensity","value":"2"},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":true},{"key":"ReconciledTextColor","value":"1"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":true},{"key":"ResizeInspector","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"2"},{"key":"RowsHeight","value":"2"},{"key":"RunningBalance","value":"1"},{"key":"SeamlessBudgetHeader","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"ShowIntercom","value":true},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":false},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":true},{"key":"ToBeBudgetedWarning","value":true},{"key":"ToggleMasterCategories","value":true},{"key":"ToggleSplits","value":true},{"key":"ToggleTransactionFilters","value":"2"},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":true},{"key":"goalIndicator","value":true},{"key":"highlightNegativesNegative","value":true},{"key":"l10n","value":"0"},{"key":"pacing","value":"0"},{"key":"popupCalculator","value":true},{"key":"reports","value":false}]

Steps to Reproduce the Behavior

When the above toolkit setting are enabled cannot edit any account names ( application not responding messages)
Disable Toolkit for YNAB
 CAN edit account names in YNAB web

Expected Behavior

The account names would change to new value desired.
Actual Behavior

Based on your Settings Export, the Toolkit feature, Hide Edit Account Button, is not active. This is what  the setting looks like; {"key":"EditAccountButton","value":"0"},. The value being set to "0" is what shows that the default behavior will be "active". A value of "2" is what would be shown if the feature was "active".
Now, having said all that, there is a problem with this feature. If you set it to Default, an "edit" icon is shown when the mouse is placed anywhere over the row. If you set it to Hidden, the edit icon is not shown but the behavior is the same. IOW, if the mouse is to the left of the account name and you right or left click, the "Edit Account" dialog is shown. If the mouse is over the account name or balance and you right click, the Edit Account dialog is shown. Left clicking over these two areas does nothing.
I think the way that this has been implemented by the YNAB team makes it a little more difficult to override than what we've seen in the past.

@bradfordnhull Are you still experiencing issues? I've just used your settings and I seem to be able to edit account names just fine. Please let us know if we should continue looking or close this issue. Thanks!


Reconstruction

Description

Related Issue

Types of changes

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

Checklist:

[ ] I have read the Code of Conduct
[ ] I have updated the documentation accordingly.
[ ] All commits are GPG signed

Hello @2lambda123! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file ddm_inversion/inversion_utils.py:

Line 49:45: E231 missing whitespace after ','
Line 49:80: E501 line too long (131 > 79 characters)
Line 53:48: E222 multiple spaces after operator
Line 53:80: E501 line too long (99 > 79 characters)
Line 155:19: E222 multiple spaces after operator
Line 176:40: W291 trailing whitespace
Line 240:80: E501 line too long (118 > 79 characters)
Line 240:119: W291 trailing whitespace

In the file main_run.py:

Line 96:80: E501 line too long (247 > 79 characters)
Line 109:80: E501 line too long (241 > 79 characters)
Line 147:45: W292 no newline at end of file


Use Dagster with Pyarrow

As used in Flight Fusion.

https://github.com/dagster-io/hooli-data-eng-pipelines

Someone is building a dbt style tool with Arrow and dbt.

Decided to rely on DuckDB Python models for this.


roi_pool problem

when perform code in lib.networks.models._vgg_fc
feed_in, dim = (input, int(input_shape[-1]))

occur this problem:
feed_in, dim = (input, int(input_shape[-1]))
TypeError: __int__ returned non-int (type NoneType)
We've got an error while stopping in post-mortem: <class 'KeyboardInterrupt'>

I think caused by roi_pool. Hope you could help me to solve it.

Make sure you are using the correct version of TensorFlow


Add rate limiting to API

Context
https://trello.com/c/OE5G3TVw/181-add-rate-limiting-to-api
Changes proposed in this pull request

Adds a Redis service to every environment.
Adds API rate limiting (300 requests per minute, mirroring EAPIM API implementation)

Guidance to review
Verify Terraform changes meet Teacher Services standards.
Checklist

[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Add rate limiting to API


correctly use output filename and fix typo

The keras_to_tensorflow.py script currently ignores the output model filename that you pass in. This patch fixes that.

@vaguilar Thank you for the catch. My intention was to have the input file name and folder as the default values for the output file name and folder. Your fix was not what I intended to achieve. The master branch in now updated. Thank you for the contribution.


Setup Models

To create a map for database and setup models structure for each tables

This is new db structure. I found that we missed the authoration data last time like, username, password

New map above

[ ] Create a map using Drawsql
[ ] set up model for auth table
[ ] set up model for user_info table
[ ] set up model for category table
[ ] set up model for for prodcut table
[ ] set up model for tags table
[ ] build relationship among tables
[ ] set up ON DELETE options for relationship

This is the most updated map for database

Models are updated and Ondelete method is added


User Defined types - It is better tooltips for intellisense to display description before type

Is your feature request related to a problem? Please describe.
It is common to have some complex types defined. In that scenario when you use bicep parameters file with intellisense to see the parameter's tool tip the type is displayed first before the description. In case where the type is very long you need to scroll in order to get the description. I think it is important that the description is displayed before the type. Overall there should be a better way to visualize this type as currently this visualization is not very helpful.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I'm not sure structural names are super useful on types of that size. I'll check to see how these get handled in the TypeScript language server.
It might help if #11739 or something similar were implemented (so that type information could be viewed in the tooltip somewhere other than in the type name).

@jeskew It might be better to just display the basic type - array, object, integer, string or bool. I do not think many people use the tooltip to see what is the full structure of the type. Also it is very hard to read even if it  is smaller one as everything is displayed in one string.


Support user-defined color styles

Colorful uses a android's ability to mix style files together to build complex themes. Since these are stored in XML files in a standard naming format, the functionality could be added to allow users to provide additional colors via style files.

Implemented in #29


Update github/codeql-action digest to 39d8d7e

This PR contains the following updates:

Package
Type
Update
Change

github/codeql-action
action
digest
959cbb7 -> 39d8d7e

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

lgtm


Prototype should be moveable

Prototype currently doesn’t have a move constructor. The compiler generated move constructor doesn’t properly move the entity. This means the “moved from” and “moved to” objects both try to registry.destroy the same entity. This results in an assertion.
A well-behaved move constructor leaves the “moved from” object in a state that can safely be destroyed without affecting the “moved to” object. In terms of Prototype, this would involve moving the handlers and registry but entity requires special treatment. entity on the “moved from” Prototype must be left in a state that can safely be deleted without affecting the “moved to” Prototype. A null entity is a good state for a “moved from” Prototype to be left in.
As for the destructor,

If we want a null entity to have all of the same semantics as nullptr then destroying a null entity should be a no-op.
If we want want destroying a null entity to be an error, then the Prototype destructor will have to check for null and destroy if not null.

To be honest, I’m not sure whether 1 or 2 is the way to go but it probably doesn’t matter.
Copying a Prototype is an expensive operation. Either,

Copy constructor is not implemented
Copy constructor is implemented
Copy constructor is explicit
A dedicated clone member function

I think 3 or 4. I’ve haven’t needed to copy a Prototype. I don’t want to accidentally copy a Prototype but someone might want to copy it.

I agree. Copying is a pain to implement and probably isn’t needed.

Also, I'd prefer to have an assert in debug in case I try to destroy a null entity. It helps quite a lot while trying to debug errors. On the other side, silently destroy null entities could hide subtle bug that become even more difficult to track. My two cents.
It's a matter of putting an if in the destructor of the Prototype class, something we can easily change in future in case we find that the other solutions is somehow better for some reasons.

Sounds good to me!

See branch experimental. Does it work as expected?

My game runs without crashing and I presume the tests you wrote succeed. The code looks good. I think it's ready to merge.

Side note: if you have an open source project you want to put in the project list at the end of the README file, feel free to ping me.
Use cases for EnTT can help other users.

My project has no stars and it’s a bit of a mess at the moment. Not really a good example for EnTT. Thanks for the offer though!

Here's a GIF if you're curious
https://i.imgur.com/pPDtvzd.gif


Fix code problem in v2.22.0

Fix to solve a problem with version 2.22.0

Please add a descriptive title to we know what the fix is.
"Fix configurations import" etc so it can be found if needed


allow monitoring of vss memory as well as resident

It would be nice to monitor all of a processes memory usage, not just rss.

what the usecase? you can add you custom checker, add similar class in you app https://github.com/kostya/eye/blob/master/lib/eye/checker/memory.rb and replace get_value which get vss memory from Eye::Sigar

@kostya some memory leaks end up affecting vss w/o affecting rss, that's what we encountered that led to the request.


RecastAI does not match entities from conversation text that had no problem before.

Hey Guys
I have been working on a bot, and my entities have been coming through perfectly. Tried tonight, and now I am not getting any matched entities. The testing text has not changed at all.

Has anything changed drastically on how the request is processed. I am using recastai node package.

Hi @mellisdesigns,
Please open a new issue on https://github.com/RecastAI/Recast.AI as this does not concern the NodeJS SDK. In the meantime, I'll look at what's happening with your bot.
Cheers,


Create npm-publish-github-packages.yml

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

GITHUB_TOKEN


Add more historical results

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 16 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
427

Relevant Lines:
427

💛  - Coveralls


Add option to disable automatically deselecting rows on selection

Added this and turned it on to fix flashes when navigating. This doesn't change the current behavior. Just gives you an option to turn it off.

I think there's a case to make this false by default since clearsSelectionOnViewWillAppear is true by default. We revisit that when we make breaking changes though.

Cool this looks good to me as a fix for #65.

@soffes  @hyperspacemark Is this going to create a problem when user tries to do this   tableView.allowsMultipleSelection = true?

@aashishdhawan This diff doesn't change the current behavior, just adds a new option to control automatic deselections.

Thanks @hyperspacemark :heart:


⚠ ClamAV has degraded performance

In 31e640c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 24ca210 after 5 minutes.


Vanity does not work with Rails 3.1

Vanity is too nice to be missing the game with the new kid on the block !

Master is now passing tests under Rails 3.1, if you have any other specific problems please open a new ticket. Sorry this took so long!


feat: add options to list rules

The option --list is added that allow you to list rules matching a pattern and the option --show is present that allow you to pick the level of detail that you want to show for each rule.
Fixes #37

This is the output of --help
mats@fury:~/work/timescale/doctor$ timescale-doctor --help
usage: timescale-doctor [-U USER] [-d DBNAME] [-p PORT] [-h HOSTNAME] [--help] [--verbose] [--list [PATTERN]] [--show {brief,message,details}] [DBNAME]

Command-line interface to Timescale Doctor.

positional arguments:
  DBNAME                name of the database to connect to

options:
  -U USER, --username USER
                        user name to connect as
  -d DBNAME, --dbname DBNAME
                        name of the database to connect to
  -p PORT, --port PORT  database server port number
  -h HOSTNAME, --host HOSTNAME
                        database server host or socket directory
  --help                show this help message and exit
  --verbose, -v         Verbose logging. More options give higher verbosity.
  --list [PATTERN]      List rules matching pattern. If no pattern is given, will list all rules
  --show {brief,message,details}

This is the result of listing the rules:
mats@fury:~/work/timescale/doctor$ timescale-doctor --list
index.UnusedIndex:
    Find all unused indexes.
hypertable.HypertableCandidate:
    Detect candidate hypertable.
hypertable.ChunkPermissions:
    Detect bad chunk permissions.
compression.LinearSegmentBy:
    Detect segmentby column for compressed table.
compression.PointlessSegmentBy:
    Detect pointless segmentby column in compressed table.

This is how it looks when you select a section and show detailed and brief message.
mats@fury:~/work/timescale/doctor$ timescale-doctor --list=compression.* --show=details
compression.LinearSegmentBy:
    Detect segmentby column for compressed table.

    == MESSAGE ==

    Column '{attname}' in compressed hypertable '{relation}' has no
    distinct values.

    Column '{attname}' in hypertable '{relation}' as segment-by column
    is probably not a good choice since the number of values seems to
    grow with the number of rows of the table.

compression.PointlessSegmentBy:
    Detect pointless segmentby column in compressed table.

    == MESSAGE ==

    Column '{attname}' in hypertable '{relation}' is superfluous.

    Column '{attname}' in hypertable '{relation}' as segment-by column
    is pointless since it contains a single value.


Set limit on nested queries

The current Parse Server limits the number of nested queries to 3, i.e. nesting with whereKey(..., matchesKey: ..., inQuery: ...).

What is the reason for this limit? Was it for performance control or merely a pricing aspect since Parse.com priced on number of queries and with nesting one would get "3 queries for the price of 1".

Where is this controlled in Parse Server?

Would it be reasonable to be able to individually set this limit on the Parse Server?

You can try to use more than 3 nested queries, I don't believe there is such hard coded implementation in this implementation

Sorry, you are right, Parse Server doesn't have that limitation, only Parse.com has. I mixed up the connections in my test.


Improve BCF+LC2412 tutorial + update make_docs.rb

The ...a.svg file has text converted to curves.

While this is OK on a web browser, have you checked that SVG pictures can be rendered correctly by QTextBrowser on Windows and macOS ?
I suspect QtSvg or imageformats/qsvg plugin are needed (in fact I bundle them for QLC+ 5)

I've added PNG file that is included in html and deployed, and SVG source file for the case something needs to be changed and/or SVG format gets supported. I've even included two SVG versions: one original (bcf2000-lc2412.svg), and one with texts converted to curves (bcf2000-lc2412a.svg), so that custom fonts are not needed.
Maybe the svg files should go to new "source" subdir for now.

the docs folder needs to be restructured anyway.

Can you be more specific?

That's how I see the SVG source version.
I deleted it, cause most likely you used a font that is not present in Linux.

It's Latin Modern Sans Demi Cond, apt install lmodern. The idea was that it's easier to change the font to anything that to draw the whole thing again.
In the other version I converted the texts to curves, but then the texts are not editable anymore.

Yeah, I got the meaning of it, but we should use generic fonts present in every OS (like sans, times, courier, etc)
In any case let's not complicate things. All this stuff gets bundled in the official sources, and I'm not sure if it makes sense to deliver it.


Plugin not working on Internet Explorer 9, 10 and 11

I am testing this plugin on page https://chmin.github.io/flatpickr/ on IE11 (version 11.420.10586.0, update version: 11.0.32) and I don't think it's working. Tried using IE10 and IE9 mode and no luck either.
I did a brief debugging and I think the issue is caused by document's focus event, which cause the flatpickr to open and close immediately after that.

@xinsnake seems this issue is fixed by 103d280388cc859fd0adfee83c6a1dff652992b2, can you please confirm this?

Hello,
Thanks for pointing out the issue! Everything should be working fine now.
Jumping from flatpickr input to another using the TAB key is still broken in IE (after multiple rigorous attempts), so I'm just gonna leave it there since its not a critical issue.
Feel free to reopen the issue if I missed anything.


Get a two dimension array instead of a value from the previous continuation

Describe the bug
Follow the README and try to print the input and get a two dimension array instead of a value.
To Reproduce
var callbaq = require('callbaq')
var cb = new callbaq

cb.add(function(cbq, input) {
  console.log('1.', input)
})

cb.start('go')

It prints:
1. [ [ go ] ]

Expected behavior
It should prints:
1. go

Desktop (please complete the following information):

OS: macOS 10.13.4
node: v8.11.1

It's fixed. Thank you.


Implement callable support (closes #604)

According to the related issue, we are not implementing this feature


Fix race condition when calling mutate synchronously

Bug
We have this inconsistency issue in current version:
// we call `mutate` twice, synchronously, with a callback that reads the latest value
// let's assume the initial data is `0`

mutate('key', v => v + 1, false)
mutate('key', v => v + 1, false)

The data should be 2 after these 2 synchronous mutation calls. However if you test, it is actually 1 (here's a great bug reproduction from @derindutz).
The cause is that we are always updating the cache in async (as #619 tries to fix), so the argument v passed to the second mutation callback is still 0. To make it clear, here's a diagram addressing this bug:

Solution
We at first tried to make the mutate process synchronous (if the callback is not a promise or async function), but that brings another issue which is intermediate state:
mutate('key', v => v + 1, false)
mutate('key', v => v + 1, false)

Now it correctly renders 2 at the end, but there's a moment that 1 was rendered before that. Instead we should "batch"
synchronous mutations. It is because that the first mutation can't get deduplicated by the second one anymore. They both render the data.

To ensure the correctness of mutate, we need to make state broadcasting always asynchronous (kinda like React), but cache needs to be updated ASAP. So the latter mutations will always have the result from the former, but only the last mutation will get rendered:

The consequence of this fix is, if you mutate something and immediately check the result, it won't be updated. So in our test I added await 0 to delay the check in the next tick:
mutate('mutate-3', 'off', false)
await 0 // if no `await` here, it's gonna be wrong
expect(container.textContent).toMatchInlineSnapshot(`"off"`)

Fixes #566. Related to #619.

Great feedback @huozhi, thanks!

Tested a bit, should be fine to ship this :)


Fix issue with polyfilled array prototype functions

typeof children == 'array' is always false, since there is no type array (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof)

Some sites using ES polyfills like Array.remove() and in some use cases children is an array, but it is passed to appendChild, where for-in look also loops over polyfilled props -> error

Denyskoch,
Thanks for your attention about this project :)
The ugly and non-working typeof has been fixed by recent commits. A new tagged version is available : 1.1.0.


Crash of aeToJson, getProperties, AfterEffect CC 2017 <IP_ADDRESS>

Hi,
I have a problem with a after-effect project of 10s. When I launch a dump to Json it says the error message that I have to enable Network etc... in After Effect.
I copied the sources and modified them in order to investigate and figured out that if I comment the following line: https://github.com/Jam3/ae-to-json/blob/master/src/getProperties.js#L27  it works, (but without the subdata, normal).
I didn't find a solution yet, have you tips to avoid getting this error ? or a potential fix ?
In a VM it works perfectly, on my desktop station it doesn't (it has more RAM ... not logical).
Thanks

It seems it's when AfterEffect is not in english language that this crash occurs.


Johluo/rel/1.0.1

Hi @JunTaoLuo, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


Traceback inscrape_paid

Hello,
Was running in debug mode with v2.4.2 trying to see why new content wasn't being pulled and noticed this:-
DEBUG    Messages Count with Dupes 1680 found                                                                                messages.py:99
DEBUG    Messages Media Count with locked 106                                                                                scraper.py:60
DEBUG    Removing locked messages media                                                                                scraper.py:61
⠴ Getting paid media...
  Pages Progress: 1
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TRACEBACK failed with exception: scrape_paid() missing 1 required positional argument: 'job_progress'                                                                                scraper.py:368
TRACEBACK Traceback (most recent call last):                                                                                scraper.py:369
            File "/home/user/.local/lib/python3.8/site-packages/ofscraper/commands/scraper.py", line 361, in normal_post_process
              combined_urls=process_areas(headers, ele, model_id)
            File "/home/user/.local/lib/python3.8/site-packages/ofscraper/commands/scraper.py", line 216, in process_areas
              purchased_dict=process_paid_post(model_id,username)
            File "/home/user/.local/lib/python3.8/site-packages/ofscraper/commands/scraper.py", line 70, in process_paid_post
              paid_content=asyncio.run(paid.get_paid_posts(username,model_id))
            File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
              return loop.run_until_complete(main)
            File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
              return future.result()
            File "/home/user/.local/lib/python3.8/site-packages/ofscraper/api/paid.py", line 71, in get_paid_posts
              result=await coro or []
            File "/usr/lib/python3.8/asyncio/tasks.py", line 619, in _wait_for_one
              return f.result()  # May raise f.exception().
            File "/home/user/.local/lib/python3.8/site-packages/tenacity/_asyncio.py", line 88, in async_wrapped
              return await fn(*args, **kwargs)
            File "/home/user/.local/lib/python3.8/site-packages/tenacity/_asyncio.py", line 47, in __call__
              do = self.iter(retry_state=retry_state)
            File "/home/user/.local/lib/python3.8/site-packages/tenacity/__init__.py", line 325, in iter
              raise retry_exc.reraise()
            File "/home/user/.local/lib/python3.8/site-packages/tenacity/__init__.py", line 158, in reraise
              raise self.last_attempt.result()
            File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
              return self.__get_result()
            File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
              raise self._exception
            File "/home/user/.local/lib/python3.8/site-packages/tenacity/_asyncio.py", line 50, in __call__
              result = await fn(*args, **kwargs)
          TypeError: scrape_paid() missing 1 required positional argument: 'job_progress'

For the record I was running like this:-
ofscraper --sub-status active --username ALL --posts all --after 20230613 --dupe --output debug

As I am not seeing new content downloading.

I fixed the issue
By the way the paid search normally does by user name which is much faster then scraping the entire page.
But we discovered that this doesn't work if the model has deleted her account, or blocked you.
There is also a new
--scrape-paid option which should do just that scrape every single post.
The issue is that it takes quite a bit of time doing it the first time

OK thanks I no longer get the trace thrown. However running
ofscraper --sub-status active --username <model> --posts all --after 20230613 --dupe --output debug

Despite the fact I know there is new content in my messages from after that date.
The debug logs show nothing, it took about an hour to run.
Is there anything I can do to try and track this down ?

There should be less requests now for messages if the date args are passed in certain situations
I also added logs about the first date and last date, and the number of messages retrieved
It might be easier to understand if you pass
--no-cache --after 20230613
then your other args
That way it will iterate one by one instead of going trying to possibly make multiple request at once

Hi,
That worked really well thanks (v2.4.5). What do you say is the "recommended" way to run daily for example and pull everything new. I used to use
ofscraper  --sub-status active --username ALL --posts all

Copy anything new from the download folder and remove, and go again the next time. Is it worth using --after or --no-cache in regular operation.
Thanks for the quick reply and updates.
Cheers.

I run like this
ofscraper  --sub-status active --username ALL --posts all
I don't add --after or --before because I'm always adding new models. But if your subscribed to the same models it might be worth to add it. Just to speed things up. Even if the number of pages is similar for each type of posts either there aren't that many requests being made in the first place
or we try to make less requests with those arguments now
It also make it easier for me for testing, because now I don't have to comment out the line. To make search initial searches are working

All LGTM right now. Thanks so much.


Connect to Prisma Engine as a native library similar to Javascript N-API?

I would like to request that the Go client connect directly to the Prisma Engine in a manner similar to the N-API feature for Javascript.   This project, https://github.com/jensneuse/goprisma, seems to represent a good start on that effort.
Is this in the plans?

It's planned for the long, but not right now as this takes a lot of effort to properly implement and maintain, as it also needs work not just on the Go side but also on Rust.
more info in our slack https://prisma.slack.com/archives/C015HGAQZ0D/p1631032062008000


Jetson Nano CSI Raspberry Pi Camera V2 upside down 180 degree

I tried out the below youtube tutorial for Real-Time Object Detection. Everything runs well except the detector frame is upside down (180degree). How can I fix this?
https://www.youtube.com/watch?v=bcM5AQSAzUY
I have tried out the solution below but it won't work!
https://github.com/dusty-nv/jetson-inference/pull/336/commits/225d19b4514cb18801875b74515e3b72a5cc6f0e

Well, what about declaring the frame object in a cv::Mat format (from OpenCV) and flipping it?
Hope it helps

You probably need to do a sudo make install also.  Changing the flip-method argument in gstCamera.cpp should have worked.

You probably need to do a sudo make install also. Changing the flip-method argument in gstCamera.cpp should have worked.

Thanks a lot!!!

Hi @ARLunan, you need to change the flip-method in the source here:
https://github.com/dusty-nv/jetson-utils/blob/798c416c175d509571859c9290257bd5cce1fd63/camera/gstCamera.cpp#L416
In the next release, I have made flip-method modifiable from the command line.

Tnx for the response, but I would appreciate the specific location of the gstCamera.cpp file to edit and the installation process on my Nano. I note the source is in your jetson-utils github repository but not in the jetson-inference repository cloned to and compiled on my Nano. Was it downloaded and included during the jetson-inference compile? Do I clone the jetson-utils repository to my Nano, make the edit and compile?  Or what is the best action to take. Thanks

Jetson-utils is submodule, you can find it under jetson-inference/utils
The gstCamera.cpp line is 416 (linked to above)
After making the change, run make and sudo make install.

From: RossBots<EMAIL_ADDRESS>Sent: Saturday, June 6, 2020 11:59:48 AM
To: dusty-nv/jetson-inference<EMAIL_ADDRESS>Cc: Dustin Franklin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dusty-nv/jetson-inference] Jetson Nano CSI Raspberry Pi Camera V2 upside down 180 degree (#571)
Tnx for the response, but I would appreciate the specific location of the gstCamera.cpp file to edit and the installation process on my Nano. I note the source is in your jetson-utils github repository but not in the jetson-inference repository cloned to and compiled on my Nano. Was it downloaded and included during the jetson-inference compile? Do I clone the jetson-utils repository to my Nano, make the edit and compile? Or what is the best action to take. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/571#issuecomment-640081954, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGKY25IXKQWI3JVXB6SDRVJRXJANCNFSM4NAMQQXA.

The editing described in your post works (sorry didn't realize the location of the camera folder on my Nano) and huge appreciation to you (and your other NVidia developers). I have 2 RPi CSI cameras and USB C270 connected to my Nano & its great to easily use each one. I look forward to following the Inference Tutorial and showing what I am doing to colleagues in my community developing DIY Autonomous small robots & other vehicles. Any plans to add any stereo/depth image tutorials? I'm working with available image processing ROS code to generate PointCloud from the stereo camera pair to use with my onboard Nano Turtlebot Create.
May I also ask if you have read my post #38 on the ros_deep_learning concerning error compiling the repository clone?

Hi,
I have the inverted problem as well with the live CSI camera on Jetson Nano B01 dev kit.
How can I rebuild the "imageNet" at "~/jetson-inference/build/aarch64/bin" or fixed the "imagenet.py" file?  I have commented the following lines in the "utils/camera/gstCamera.cpp" file :
// 		if( mOptions.flipMethod == videoOptions::FLIP_NONE )
// 			mOptions.flipMethod = videoOptions::FLIP_ROTATE_180;
// 		else if( mOptions.flipMethod == videoOptions::FLIP_ROTATE_180 )
// 			mOptions.flipMethod = videoOptions::FLIP_NONE;
Is it correct?

Can you run this command:  imagenet.py --input-flip=rotate-180 csi://0

From: Sam Au<EMAIL_ADDRESS>Sent: Saturday, October 31, 2020 11:00:38 AM
To: dusty-nv/jetson-inference<EMAIL_ADDRESS>Cc: Dustin Franklin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dusty-nv/jetson-inference] Jetson Nano CSI Raspberry Pi Camera V2 upside down 180 degree (#571)
Hi,
I have the inverted problem as well with the live CSI camera on Jetson Nano B01 dev kit.
How can I rebuild the "imageNet" at "~/jetson-inference/build/aarch64/bin" or fixed the "imagenet.py" file? I have commented the following lines in the "utils/camera/gstCamera.cpp" file :
// if( mOptions.flipMethod == videoOptions::FLIP_NONE )
// mOptions.flipMethod = videoOptions::FLIP_ROTATE_180;
// else if( mOptions.flipMethod == videoOptions::FLIP_ROTATE_180 )
// mOptions.flipMethod = videoOptions::FLIP_NONE;
Is it correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/571#issuecomment-719945287, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK24IG4IHOS3CSVSZATSNQRBNANCNFSM4NAMQQXA.

You also want to undo your changes to gstCamera.cpp - you should no longer need to modify that source file, because i added it as command line option.
For more info, see here:    https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-streaming.md#command-line-arguments

Thanks; I used to do "./imagenet --input-flip=horizontal --headless csi://0 video_output.mp4".
May I also know if I like to modify your files and re-compile the imagenet/detectnet, which directory should I to run the "make" and any thing I need to be watchful?

May I also know if I like to modify your files and re-compile the imagenet/detectnet, which directory should I to run the "make" and any thing I need to be watchful?

You should be running make from your jetson-inference/build directory.   You will also want to run sudo make install:
$ cd jetson-inference/build
$ make
$ sudo make install

Thank you

You probably need to do a sudo make install also. Changing the flip-method argument in gstCamera.cpp should have worked.

Ok. So when I reversed the FLIP_NONE with FLIP_ROTATE_180, my camera shows up upright, but freezes instantly. if I reverse both FLIP_NONE with FLIP_ROTATE_180 and FLIP_ROTATE_180 with FLIP_NONE, nothing happens. its as if I never edited the file. So... what am I missing here? I attempted to use "jetson.utils.videoSource("csi://0", argv=["--input-flip=rotate-180"]) ", in place of "jetson.utils.gstCamera(width,height,'0')", and while code-oss accepted that, then "videoSource" doesn't recognize "CaptureRGBA()"  for showing the frame. How do I show the frame using videoSource instead of gstCamera?
I've been researching all day, trying all kinds of methods to get my camera in the upright position. Short of flipping the physical cameras over, which I'd rather not, I'm fresh out of ideas.

Hi @bigwhitebird29, can you try using the video-viewer / video-viewer.py tool first to confirm that your camera is working?
https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-streaming.md#input-options
video-viewer.py --input-flip=rotate-180 csi://0

If there is a problem there, please post the console log.
Here are examples of using the more recent videoSource interface:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-streaming.md#python
https://github.com/dusty-nv/jetson-utils/blob/0d3f59f5c0967a108ec1cd58a518ee5ad817d35b/python/examples/video-viewer.py

Hi @bigwhitebird29, can you try using the video-viewer / video-viewer.py tool first to confirm that your camera is working?
https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-streaming.md#input-options
video-viewer.py --input-flip=rotate-180 csi://0

If there is a problem there, please post the console log.
Here are examples of using the more recent videoSource interface:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-streaming.md#python https://github.com/dusty-nv/jetson-utils/blob/0d3f59f5c0967a108ec1cd58a518ee5ad817d35b/python/examples/video-viewer.py

jetbot@jetbot:~/jetson-inference/build$ video-viewer --input-flip=rotate-180
[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstCamera -- attempting to create device csi://0
[gstreamer] gstCamera pipeline string:
[gstreamer] nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=0 ! video/x-raw(memory:NVMM) ! appsink name=mysink
[gstreamer] gstCamera successfully created device csi://0
[video]  created gstCamera from csi://0
------------------------------------------------
gstCamera video options:
------------------------------------------------
  -- URI: csi://0
     - protocol:  csi
     - location:  0
  -- deviceType: csi
  -- ioType:     input
  -- codec:      raw
  -- width:      1280
  -- height:     720
  -- frameRate:  30.000000
  -- bitRate:    0
  -- numBuffers: 4
  -- zeroCopy:   true
  -- flipMethod: none
  -- loop:       0
  -- rtspLatency 2000
------------------------------------------------
[OpenGL] glDisplay -- X screen 0 resolution:  1280x720
[OpenGL] glDisplay -- X window resolution:    1280x720
[OpenGL] glDisplay -- display device initialized (1280x720)
[video]  created glDisplay from display://0
------------------------------------------------
glDisplay video options:
------------------------------------------------
  -- URI: display://0
     - protocol:  display
     - location:  0
  -- deviceType: display
  -- ioType:     output
  -- codec:      raw
  -- width:      1280
  -- height:     720
  -- frameRate:  0.000000
  -- bitRate:    0
  -- numBuffers: 4
  -- zeroCopy:   true
  -- flipMethod: none
  -- loop:       0
  -- rtspLatency 2000
------------------------------------------------
[gstreamer] opening gstCamera for streaming, transitioning pipeline to GST_STATE_PLAYING
[gstreamer] gstreamer changed state from NULL to READY ==> mysink
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
[gstreamer] gstreamer changed state from NULL to READY ==> nvvconv0
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter0
[gstreamer] gstreamer changed state from NULL to READY ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from NULL to READY ==> pipeline0
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv0
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter0
[gstreamer] gstreamer stream status CREATE ==> src
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline0
[gstreamer] gstreamer stream status ENTER ==> src
[gstreamer] gstreamer message new-clock ==> pipeline0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvarguscamerasrc0
[gstreamer] gstreamer message stream-start ==> pipeline0
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0
   Camera mode  = 5
   Output Stream W = 1280 H = 720
   seconds to Run    = 0
   Frame Rate = 120.000005
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
[gstreamer] gstCamera -- onPreroll
[gstreamer] gstBufferManager recieve caps:  video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1
[gstreamer] gstBufferManager -- recieved first frame, codec=raw format=nv12 width=1280 height=720 size=1008
[gstreamer] gstBufferManager -- recieved NVMM memory
[gstreamer] gstreamer changed state from READY to PAUSED ==> mysink
[gstreamer] gstreamer message async-done ==> pipeline0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> mysink
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> pipeline0
RingBuffer -- allocated 4 buffers (2764800 bytes each, 11059200 bytes total)
video-viewer:  captured 1 frames (1280 x 720)
[OpenGL] creating 1280x720 texture (GL_RGB8 format, 2764800 bytes)
[cuda]   registered openGL texture for interop access (1280x720, GL_RGB8, 2764800 bytes)
video-viewer:  captured 2 frames (1280 x 720)
nvbuf_utils: dmabuf_fd 1052 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD... Exiting...
NvBufferGetParams failed for dst_dmabuf_fd
nvbuffer_transform Failed
video-viewer:  captured 3 frames (1280 x 720)
[gstreamer] gstDecoder -- failed to retrieve next image buffer
video-viewer:  failed to capture video frame
[gstreamer] gstDecoder -- failed to retrieve next image buffer
video-viewer:  failed to capture video frame
[gstreamer] gstDecoder -- failed to retrieve next image buffer
video-viewer:  failed to capture video frame

Forcing camera-viewer to use NvBufferTransform_None (set flag to 0) also fails

@dusty-nv After further inspection it may be an issue with your custom mysink, calling gstreamer directly with gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=1280, height=720, framerate=30/1', format=NV12 ! nvvidconv flip-method=0 !  nvoverlaysink shows correct orientations without errors, works with ximagesink as well.

Hello @dusty-nv
I know this project is a bit old, but I was trying to make this object detection program and I ran across the same problem as the people above when testing. When running the detectnet program with my imx219 csi camera, the display is flipped upside down and I can't seem to get it right back up. I have tried many different methods such as commenting out the flip methods in gstcamera.cpp, changing around the values, and running the program with added code such as --input-flip=rotate-180 csi://0. When I run this command (imagenet.py --input-flip=rotate-180 csi://0), as you said to do, it displays the right way up, but I can't get it to do the same with detectnet. I may have also done some things wrong when trying to solve the problem since I am new to all of this.
Any help (preferably with detailed steps) would be much appreciated
Thank you so much

@dusty-nv
I have also noticed that I do not have the gstCamera.cpp code as some of the people in the beginning part of this thread. They talk about changing "const int flipMethod = 2", but I do not have that line of code in mine. I'm not sure why this is the case, but if you could also shed some light on that too that would be great.
Than you so much

UPDATE + SOLUTION
To fix the problem of the video being upside down you have to go to the gstCamera.cpp file located in jetson-inference/utils/camera. Then go to line 158 where you will see an if and else if statement. There will be outputs that say videoOptions :: FLIP_NONE or FLIP_ROTATE_180. Change all of the outputs that say FLIP_ROTATE_180 to FLIP_NONE. Then cd to jetson-inference/build and execute "make" and then "sudo make install". Then the camera should be right ways up.


chore: remove workspace name length check in onboarding flow

Pull Request Type

[ ] ✨ feat
[ ] 🐛 fix
[ ] ♻ refactor
[ ] 💄 style
[x] 🔨 chore
[ ] 📝 docs

Relevant Issues

resolves #1378
What is in this change?

Removed the name length check as suggested
Additional Information

Developer Validations

[x] I ran yarn lint from the root of the repo & committed changes
[x] Relevant documentation has been updated
[x] I have tested my code functionality
[x] Docker build succeeds locally

im unsure if you are in Discord, if so ping me for a contributor badge 👍


Accessibility (WCAG level A):  Meta tags with deployment information fail HTML 5 validation

Validate http://qa.nugettest.org/ using http://validator.w3.org/.

Result:  There'll be five validation errors, all traced to invalid name attribute values in the meta elements in the page.  (The X-UA-Compatible error is tracked separately.)
Expected:  Our pages should all validate against HTML 5.  For the new feature of adding deployment info in  tags, none of the current names we're using are registered, hence we fail validation. We can do a couple things about this:
a.  We can simply insert this information in an HTML comment in the head, achieving the same goal of human-readability without upsetting the standards compliance gods, or
b.  We can attempt to get this use registered at http://wiki.whatwg.org/wiki/MetaExtensions.  I'd prefer the former, since I don't expect other sites to ever use these same tags in the manner we do.

we have a new gallery design.


Issue facing while clicking on Try again button on image

Hey there I was facing a issue when click on Try again as it not try again also no error in console too so don't able to understand
Also can you add --stable-diffusion-prefix-prompt too it will be very helpful
Thanks men

@TruthSearchers I've added more logging for the "Try Again" button in the 0.1.5 update, which is just out.  It won't fix your issue, but should give us more information about what's going on.
If you see this again, could you please update this task with the error you're getting?  Thanks!

v0.1.6 is out, which I think might fix this.  Please reopen if it still happens on that version

Hey bro issue is still in logs this error coming
Error : Could not regenerate image : 404 not found (error code : 10062) : unknown interaction
Everything else working fine (no problem). In latest version

@TruthSearchers if you can try building from source, I'm 99.9% sure I've fixed this finally. :). Let me know!

I will try with branch thanks bro


Saving excel file makes it corrupt

Description
If you try to open and save an excel file, which has formatterd\colored\cell borders, it corrupts the file
xlsx, err := excelize.OpenFile("./Book1.xlsx")
	if err != nil {
fmt.Println(err)
return
}
err = xlsx.Save()
if err != nil {
fmt.Println("unable to save Internal timesheet, error: ", err)
os.Exit(1)
}
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Output of go version:
go version go1.12.5 darwin/amd64

Excelize version or commit ID:
github.com/360EntSecGroup-Skylar/excelize/v2 v2.0.1-0.20190601073747-d038ca2e9c75

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Mac OS
Excel for mac 16.13

Hi @RajatBanerjee, thanks for your feedback, could you upload the .xlsx attachment?

I can't upload the actual attachment since it has some confidential data, but it happens for any excel file, so let me recreate the scenario with a regular file and upload that.

@RajatBanerjee Hi RajatBanerjee, is the problem still there? We have issues while doing a small change in our excel (xlms) sheet using intensly activex controls and macros. The exel activeX control informations are lost afterwards.

Hi @dennisfleischmann, please provide code and file attachment to reproduce this issue if you can.

I had the exact same problem too. Opened excel with formatterd\colored\cell borders, and also formulas that referenced across sheets

@muhrifqii could you provide code and file attachment to reproduce this issue?

@xuri the code just open the file then save it, exactly like @RajatBanerjee code . It contains some credential data, could you please send

You can send me the file with credential data masking. xuri.me[at]gmail.com

Hi @muhrifqii, thanks for your feedback. I have fixed it. Please try to upgrade the library with the master branch code. I'm not sure if this fix will work for the issue you mentioned by @RajatBanerjee.

Thanks @xuri I tested on master branch and it fixed the issue


Update with changes done in korge-fleks

New feature was added which makes it possible to mark an injectable as
"used". Thus Fleks will not throw exception if the injectable is not
used directly at creation of system and listener objects. Ie. that makes
it possible to use the injected objects during init functions. Default
for use is still "false" as before.

I changed the target branch  to next which contains some version updates and also a bugfix for the benchmarks. The fleks benchmark doesn't work in the kmp branch because of wrong system creation arguments :D Seems like it got changed from allOf to allOfComponents, etc..
Also, I am wondering but didn't you have to modify some tests as well because fleks was using JUnit5 but Korge uses JUnit4?
By the way - thank you for your commitment and support with Fleks!

Ah, right. I changed the allOff arguments and removed the family classes. It was kind of obsolete without annotations;)
I guess here in Fleks we can keep junit5. That is why I did not take those changes over.

@jobe-m : I think I was able to convert the jvm project to a multiplatform project with currently only a jvm target. JS/native would theoretically work as well (code is commented out in build.gradle.kts) but some tests fail because e.g. Javascript has no IndexOutOfBoundsException. You can access invalid indices and I guess it then simply returns undefined ;)
For native there were other errors that I didn't look into yet. For JS I can imagine having separate unit tests for JVM/JS OR validate the out of bounds issues in Fleks and throw a custom exception but that will not align with the standards of those languages. I think different unit tests are a better way, what do you think?
The branch is called #38_gradle-kmp-setup. It is not final yet as I want to bring in js and native target as well. When you remove the signing plugin and the signing {...} block then you can execute the publishToMavenLocal task to create a local maven artifact.
I tried that with Dinoleon, the example game, and it looks like it works there including showing the comments. I removed some dokka custom tasks which seem to be not necessary anymore with the multiplatform setup.
I would appreciate it, if you can test that with KorGE. I think you should be able now to add Fleks as a normal "commons" dependency and it should hopefully work. At least for the jvm target at the moment.
For this PR I want o wait for the final gradle setup and then I will merge it :)

Okay, was now able to add JS and native target as well. For JS, as mentioned, I split up some of the tests. And for native everything was actually working when adding @ThreadLocal to the Inject object. Otherwise, it will fail because it is a frozen object that gets mutated.
Can you rebase your branch to this one please and try out that your changes are still working?
Sorry for the inconvenience but this should be a one-time thingy when we switch now to KMP for the future.

Great, sounds good! I will check it when I get some time. Probably the next days...

I could build locally this rebased branch and run publishToMavenLocal successfully.
But I don't know now I add it to the gradle script of my Korge game project.

Line 18 is what I added so that Fleks should be taken from maven local repo.
Line 28 is commented out. That was taking Fleks from korge-fleks module in Korge.

What a weird topic and I cannot find any good documentation. But thanks for trying! Found this thread but there was no real answer: https://forum.korge.org/topic/14/adding-external-libraries/2
So I fiddled around myself:

install Korge plugin for Intellij
create new project
update build.gradle.kts file

import com.soywiz.korge.gradle.KorgeGradlePlugin
import com.soywiz.korge.gradle.korge

buildscript {
    val korgePluginVersion: String by project

    repositories {
        mavenLocal()
        mavenCentral()
        google()
        maven { url = uri("https://plugins.gradle.org/m2/") }
    }
    dependencies {
        classpath("com.soywiz.korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
    }
}

apply<KorgeGradlePlugin>()

korge {
    id = "com.example.example"
    supportBox2d()
    dependencyMulti("io.github.quillraven.fleks:Fleks:2.0-RC1", registerPlugin = false)
// To enable all targets at once

    //targetAll()

// To enable targets based on properties/environment variables
    //targetDefault()

// To selectively enable targets

    targetJvm()
    //targetJs()
    //targetDesktop()
    targetIos()
    targetAndroidIndirect() // targetAndroidDirect()
}

the important part is the dependencyMulti line which adds Fleks. I got that by looking at what supportBox2d does internally
I had to deactivate targetJs and targetDesktop because it complains that it cannot resolve Fleks for those targets. I dont' understand yet why but I guess those targets are not properly published yet by Fleks???
updated the main.kts file

suspend fun main() = Korge(width = 512, height = 512, bgcolor = Colors["#2b2b2b"]) {
    val minDegrees = (-16).degrees
    val maxDegrees = (+16).degrees

    val image = image(resourcesVfs["korge.png"].readBitmap()) {
        rotation = maxDegrees
        anchor(.5, .5)
        scale(.8)
        position(256, 256)
    }

    class TestSystem : IntervalSystem(interval = Fixed(1f)) {
        override fun onTick() {
            println("tick")
        }
    }

    val world = World {
        system(::TestSystem)
    }

    while (true) {
        image.tween(image::rotation[minDegrees], time = 1.seconds, easing = Easing.EASE_IN_OUT)
        image.tween(image::rotation[maxDegrees], time = 1.seconds, easing = Easing.EASE_IN_OUT)
        world.update(1f)
    }
}

be astonished at the "tick" log every 3 seconds or so. I guuess the tween stuff is somehow blocking???

Will need to invest more time to understand why JS and desktop targets are not working. I really assume that they are not properly published somehow but I don't know why at the moment. Any help is appreciated! :)

Thanks for looking into this problem. I just tried it out and it works also for me :)
And you are right with adding the lib with dependencyMulti(). I now remember that I have seen it also in the past when I added the "supportFleks()" function into the korge-gradle-plugin. I just did not remember it in the first run.
Runing my Korge game with the jvm target and Fleks from maven local is now working. It also compiles for linux native but the exe crashes on startup. But I have the same error when using Fleks form Korge-fleks module. The Js target works also fine :)


[BUG] AzureCliCredential with specified tenant Id does not work

There is bug in the generating command line arguments for Azure CLI in AzureCliCredential:
https://github.com/Azure/azure-sdk-for-net/blob/f07fd00dc3fb6311f4a85a9e02e05b162b4f2976/sdk/identity/Azure.Identity/src/AzureCliCredential.cs#L182
Instead of --tenant there is -tenant argument which leads to following error:
unrecognized arguments: xxx
PR: https://github.com/Azure/azure-sdk-for-net/pull/23159

Thank you for your feedback.  Tagging and routing to the team members best able to assist.


Couldn't reproduce with Docker

I ran the training steps with Docker
docker build -f azure/Dockerfile . -t diffuser
docker run -it --rm --gpus all \
    --mount type=bind,source=$PWD,target=/home/code \
    --mount type=bind,source=$HOME/.d4rl,target=/root/.d4rl \
    diffuser \
    bash -c \
    "export PYTHONPATH=$PYTHONPATH:/home/code && \
    python /home/code/scripts/train.py --dataset hopper-medium-expert-v2 --logbase logs/docker"

However after 200k+ iterations it did not appear to increase the episode length. Could you provide more details on how you trained your agent and how I can reproduce it?

The guided sampling code has now been released; see this section of the README for instructions on how to run it. Let us know if you run into any issues!


Saving partially(?) broken in v45

Hi, since v45 of Lethal Company released, any custom suits that are added to the terminal with the PRICE tag automatically unlock themselves when you reload your save.
In other words, this mod no longer properly saves what suits you have/haven't bought. It just assumes you bought them all and unlocks them all after loading a previously played save file.

I found out someone with my exact issue already made a report here: https://github.com/x753/Lethal-Company-More-Suits/issues/17
but it was closed prematurely with the assumption that making a new save file fixes it; it does NOT fix it, I suggest you close this issue and re-open that one

The issue is now fixed as of v1.4.0

goated


current version of agent

Is there a way to be able to look at a content page and know what is the most up to date version of the agent?

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

ID: c04356b4-e2a0-c095-5f47-b7fc1d2b574f
Version Independent ID: 72900c81-5858-bb03-06fb-4af272317f20
Content: Use Azure Backup agent to back up files and folders
Content Source: articles/backup/backup-configure-vault.md
Service: backup
GitHub Login: @markgalioto
Microsoft Alias: markgal

@ran-ten21
Thanks for the feedback! We are currently investigating and will update you shortly.

@ran-ten21 We don't actually have a page for it at the moment, I will take this feedback and will bring it up to the product team.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Gh 2306 fix serialisation issue

Codecov Report

Merging #2307 into develop will decrease coverage by 2.23%.
The diff coverage is 59.53%.

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


Reverse alpha premultiplication

I have looked at your code and that's what I have to say: you are fundamentally wrong in dealing with alpha-premultiplied images. Alpha premultiplication was introduced to eliminate interpolation error on images with alpha channel. If image is not premultiplied you shoud premultipy it first before interpolation. Your code does opposite. https://en.wikipedia.org/wiki/Alpha_compositing#Description
I'll try to explain. Imagine you have an regular pattern of two colors: rgba(0, 255, 0, 0) and rgba(0, 0, 0, 255). You don't see green because green pixels are transparent. What will happen if you try to downsample this image without alpha premultiplication? Green color will leak from transparent pixels. You will see something grayish-greenish and partially transparent. Alpha premultiplication was introduced to eliminate this kind of artifacts.
See these examples (specially the last one): http://e-asphyx.github.io/resize.html

Thanks for the great explanation! I understand and see the problem now. I will create a test for that particular case and merge your changes. By saving the result in an image.RGBA or image.RGBA64 we could probably even get rid of doing any premultiplication, will try that out as well.

I'll add some review notes to your changes. Don't bother, they are for bookkeeping and I'll make the changes before merging. Of course, if you disagree with something, I'm open for discussion. Thanks again for the PR and the explanation of the issues, I'll merge this soon.

I think using premutiplied alpha as output format is not a good idea. Alpha premultiplication leads to loss of precision especially on 8bpp images. That's why I am against of storing premutiplied images at least as temporary output after first pass

You're right, there will be of loss of precision by storing the temporary and output images that way. But IMHO in our particular case this can be overlooked: We will have a loss of precision due the actual algorithm anyways (as in all interpolations) and they don't give a notable loss of quality. For other operations (e.g. brightening) this would be different, but for an interpolation this should be okay.


chore: More async test cleanup.

Shorten long sleeps.
Fix flaky sleep test.
Strip out tracing.

Pull Request Test Coverage Report for Build 03091008-052f-4227-b5df-c094e2a91845

0 of 0   changed or added relevant lines in 0 files are covered.
10 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 62.316%

Files with Coverage Reduction
New Missed Lines
%

internal/call/call.go
1
98.44%

pkg/trace/trace.go
2
71.3%

pkg/trace/otel.go
7
70.83%

Totals

Change from base Build 025d777a-8405-433b-97cb-392a998e2561:
-0.2%

Covered Lines:
2831

Relevant Lines:
4543

💛  - Coveralls


[WIP] Hypertuner class

What does this PR do?
This is redo of PR https://github.com/PyTorchLightning/pytorch-lightning/pull/1998. The last PR was too big land because it was a major refactoring, so I will try to split into more manageable pieces.
This PR is basically how the core structure of the HyperTuner class should look. It does not implement any functionalities yet. After this, I plan on 3 follow up PRs, one for each of the features that the HyperTuner class will include:

Lr finder (deprecate from trainer, add more tests, get working in ddp mode, add support for DataModule)
Batch size finder (deprecate from trainer, somewhat stable at this point, add support for DataModule)
new: n worker searcher https://github.com/PyTorchLightning/pytorch-lightning/issues/2196) (already have some code, just need to polish for the new api)

Tagging for input: @Borda , @awaelchli , @justusschock
Question: We have informed user that from v0.9 no more API changes would happen (before v1.0). This is a somewhat big API change, so to keep that promise, I see two options:

Wait with this to after v1.0
Let the hypertuner class be a functionality of bolts, and deprecate the lr finder and batch scaler in lightning

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@SkafteNicki  please wait a week... we need to finish refactors.

@williamFalcon completly fine with me, whatever makes most sense for the project :]

@SkafteNicki does it support user-defined callbacks to be used when calling lr_find or auto_scale_batch_size? as of now, it drops them.

Based on discussion the tuner class is being dropped for now, instead we will refactor tuner methods into a trainer.tune() method. Closing this.

Based on discussion the tuner class is being dropped for now, instead we will refactor tuner methods into a trainer.tune() method. Closing this.

Anyway, GREAT work on this PR! ❤

So with the new datamodule, is there no way to tune batch_size? I was really excited by the Hypertuner class in this thread, so am a little bummed this is closed for now.
For my current workflow, I tried to pass in trainer.tune(lightningmodule, datamodule) with auto_scale_batch_size. It tries to scale the batch size, (incorrectly) succeeds with every attempt, until it finds the batch_size of 2^26 (after 25 trials). Which it tries to then fit and fails. I looked into why this was happening and realized that datamodule isn't actually looked at by the scale_batch_size function in training_tricks.py.

@jcsagar Fixed in #3266 and #3271

@awaelchli Updated to master and works well. Great stuff, thanks!!!


Better thermistor cable help from MPE

Ask Nathan for help with better connectors for thermistor and thermistor cable

I believe this has been taken care of already.


Changement comments are missing

Since  2021-11-18 05:00  all changeset comments aren't displayed :

https://knooppuntnet.nl/en/analysis/hiking/fr/changes

https://knooppuntnet.nl/en/analysis/changeset/113930230/4806632

https://www.openstreetmap.org/changeset/113930230

A separate application is used to fetch the changeset comments from OpenStreetMap.  To avoid conflicts, this application was stopped during the recovery of the local OverpassApi database last Thursday, and forgotten to restart after knooppuntnet was back in sync on Friday morning.  In the mean while this application has been restarted, and the changeset comments are available again.


Move nodes to own hw

[ ] cosmos > 3
[ ] evmos > 2
[ ] stargaze > 1
[ ] crescent > 1

update SMART export script for RAID controller


blender: 2.81a -> 2.82

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/blender/versions.
meta.description for blender is: '"3D Creation/Animation/Publishing System"'.
meta.homepage for blender is: '"https://www.blender.org"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.82 with grep in /nix/store/d4nxgbwkkhvk4zr3qkm7nf9mrn4d8i6a-blender-2.82

directory tree listing: https://gist.github.com/02277a9df2b862c2196e4493acbd3344

du listing: https://gist.github.com/5cc0b69e425fe064761e2b3b723f363a

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
blender

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d4nxgbwkkhvk4zr3qkm7nf9mrn4d8i6a-blender-2.82 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A blender https://github.com/r-ryantm/nixpkgs/archive/8a2c2e48b40adab228a83ad673b9cb78cf6ad165.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d4nxgbwkkhvk4zr3qkm7nf9mrn4d8i6a-blender-2.82
ls -la /nix/store/d4nxgbwkkhvk4zr3qkm7nf9mrn4d8i6a-blender-2.82/bin

cc @cillianderoiste for testing.

@verbl Should we just build blender with alembic enabled?


Open picker manually by clicking on html element

Hello,
First, I would like to thank you a lot for "Framework7".
During my development, I found a kind of issue about "Picker" component (maybe it's not).
Indeed , I tried to open a picker manually, with javascript (by using method myPicker.open() ), by clicking on html element. However, I can't do that except if I set the "closeByOutsideClick" option to "false" in the configuration of the picker.
Here a simple example of what I wanna do (I took one of the documentation and I added a scenario close to my case):
HTML code:

Picker with single value

                                <input type="text" placeholder="Your iOS device" readonly id="my-picker" />                                <button id="open_picker_manually">Click !</button>

Javascript code:

var myPicker = myApp.picker({
            input: '#my-picker',
            cols: [
                {
                    textAlign: 'center',
                    values: ['iPhone 4', 'iPhone 4S', 'iPhone 5', 'iPhone 5S', 'iPhone 6', 'iPhone 6 Plus', 'iPad 2', 'iPad Retina', 'iPad Air', 'iPad mini', 'iPad mini 2', 'iPad mini 3']
                }
            ]
        });
        $("#open_picker_manually").on("click", function () {
            console.log("manual opening clicked");
            myPicker.open();
        });

Explanation
As you can see, I initialize my picker and I configure a click event listener on my button.
But, if you test that code and open the javascript console of your browser or debugger, when you click on the button, just the message is display and the picker is not open (visually).
I explored the JS code of Framework7, and I found why that happened. Because of this line :
if (!p.inline && p.params.closeByOutsideClick) $('html').on('click', closeOnHTMLClick);
Because I clicked in the "html", outside of the "input" setted, that open and instantly close my picker.
Actually, the only solution to solve that is to put the "closeByOutsideClick" option to "false" when you initialize the picker. But, in my case I wanna keep this behaviour to "true" and be able to open picker manually by clicking somewhere, not on input, in some cases.
The solution could be
Add an option in the picker, with a list of class and/or id to exclude in the line above and maybe elsewhere. Currently, no one else solution comes.
I'm pretty sure you will have better solution than me :smiley:
This is just a suggestion, about an issue I found in my case, maybe you already knew about that and decide to don't manage this case.

Hi, just use event.stopPropagation(); on that input button:
$$("#open_picker_manually").on("click", function(event) {
  event.stopPropagation();
  console.log("manual opening clicked");
  myPicker.open();
});

Fiddle: https://jsfiddle.net/valmar/Lh2a3102/
Does this fix the issue for you?

Hi :)
You're right, it works ! The issue is fixed :)
That seems so obvious and logic ! Thank you so much and sorry for the post :)

No problem :)

Hi, one question please, in a page of Framework using component, Can I use event onclick in tag html, I explain me:
Pass Parameter
I need pass a parameter a function when click button. I have many tag button with itself id. Thank

For questions try the community forum. http://forum.framework7.io
But to answer your question in v2 check out the kitchen sink page-loader-component.html
You should be able to use /page/?id=5&foo=bar
https://framework7.io/docs/view.html#router-api-methods-properties
But I think @click="functionName(pass something here)" would not work.


Pattern: Content Block(with aside elements):- Copy text and linklist section are not getting displayed properly on mobile devices.

Issue description:- In 'Content Block-->with aside elements' sub-pattern copy text is displayed with no spacing on left side of the screen whereas linklist section is not getting displayed properly. Happening on all mobile devices(iOS and Android)
Steps to reproduce the issue

Enter the url in the mobile browser.
Select 'Content Block' in sub-pattern section.
Select 'with aside elements' in content block
observe the 'Copy' text and 'Linklist' section.

OS:- iOS 13,12. Android 9,8
Devices:- iPhone, Galaxy, Google Pixel
Browsers:- Safari, Chrome, UC
URL:- https://ibmdotcom-react-staging.mybluemix.net/?path=/story/patterns-sub-patterns-contentblock--with-aside-elements

@jeffchew @RobertaJHahn : Same issue with 'Content Block Simple' pattern where on selecting render aside element, copy text is displayed with no spacing on left side of the screen whereas linklist section is not getting displayed properly. Happening on all mobile devices.
Note:- As discussed in yesterday's call , nature of issue is same but in different pattern so i am adding comment here.

Thanks @chetankan PR has been raised and merged into release branch to fix this issue for ContentBlock, ContentBlockMedia, ContentBlockSegmented, ContentBlockSimple, and ContentBlockMixed.


Move to Quay.io

This PR is part of the effort to move to Quay.
This is the list of changes in this PR:

Pushes to Quay instead of the Devshift registry
Uses an image hosted in Quay to build the RHEL based container image
Uses the new env-toolkit to load variables from jenkins-env
Changes the default path of the image to quay (note that this should not affect production because it is overridden in the saas repo)

A companion PR should have been submitted to the appropriate saas repo to change the staging url from devshift to quay. The PR to the saas repo should be merged before this one.
https://github.com/openshiftio/saas-openshiftio/pull/919

Ike Plugins (test-keeper)
Thank you @jmelis for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2116   +/-   ##
=======================================
  Coverage   69.04%   69.04%
=======================================
  Files         162      162
  Lines       15113    15113
=======================================
  Hits        10435    10435
  Misses       3730     3730
  Partials      948      948

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 c323d53...f8ff3e6. Read the comment docs.

/ok-without-tests


Usage with require.context?

Documentation Is:

[ ] Missing
[X] Needed
[ ] Confusing
[X] Not Sure?

Please Explain in Detail...
After upgrading to the 3.0 release with esModule defaulting to true, I had some code break. Given a loader config of:
const configureImageLoader = (isServer) => ({
  test: /\.(jpg|jpeg|png|gif|webp|svg)$/,
  use: {
    loader: 'url-loader',
    options: {
      outputPath: 'images',
      limit: 8192,
      emitFile: !isServer
    }
  }
});

...

  config: {

    ...

    module: {
      rules: [
        configureImageLoader(isServer)
      ]
    }
  }

This code stopped working:
function mapImages(context) {
  const imageNames = context.keys();
  const imagePaths = imageNames.map(context);
  const imageMap = new Map();
  for (let i = 0; i < imageNames.length; i++) {
    imageMap.set(imageNames[i].slice(2), imagePaths[i]);
  }
  return imageMap;
}

...

const images = mapImages(require.context('./images', false, /\.png$/));

The fix seemed easy enough. When creating the Map, change
 imageMap.set(imageNames[i].slice(2), imagePaths[i]);

to
 imageMap.set(imageNames[i].slice(2), imagePaths[I].default);

This makes sense to me because I'm now dealing with ES modules instead of the CommonJS format. If what I want is the
Your Proposal for Changes
Is a usage of Webpack's require.context interesting enough to warrant additional documentation? Or would you consider this "obvious"? (It took me a little figuring out/debugging before a lightbulb went off.) Maybe this issue is enough for folks to find their way?

It is expected because we use ES modules, you can use imagePaths[I].__esModule ? imagePaths[I].dfault : imagePaths[I],  it works the same for all modules, not only for url-loader, babel do same https://babeljs.io/docs/en/babel-plugin-transform-modules-commonjs, if you think we should documented that, please open issue https://github.com/webpack/webpack.js.org here, because it is not only for url-loader


Fix: Apply Now button

Fixes #52
This fixes the issue as well as extracts the link out to an include file that can accept a URL.
You can see the button on the product-manager page and the executive-assistant page.

@thekaveman @angela-tran Maybe for jobs where the application window has passed, the button could be disabled? with the disable https://getbootstrap.com/docs/5.3/components/buttons/#disabled-state

Here's what the disabled state looks like when I add btn disabled to the list of classes. I also added role="button" and aria-disabled="true" as specified in that Bootstrap page you linked @machikoyasuda.


Add: DevOps topic

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Added a topic from TODO List.

Liking it

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Added a topic from TODO List.

@sina6565


How to get ncm2 source merged into ncm2 organization

Hi @roxma, I developed a source for dlang viniarck/ncm2-d, how can I get it merged into ncm2 organization?
Thanks!

I've sent an invitation. You could transfer ownership to ncm2 after you joined ncm2 organization.