fix(core): mark form unsubmitted on reset form.

What kind of change does this PR introduce? Bug fix

This change is

Codecov Report

Merging #591 into master will decrease coverage by 0.11%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #591      +/-   ##
==========================================
- Coverage   94.09%   93.97%   -0.12%
==========================================
  Files          16       16
  Lines         745      747       +2
  Branches      215      216       +1
==========================================
+ Hits          701      702       +1
- Misses         44       45       +1

Impacted Files
Coverage Δ

src/core/src/components/formly.field.ts
92.42% <100%> (ø)
:arrow_up:

src/core/src/components/formly.form.ts
90.72% <66.66%> (-0.86%)
:arrow_down:

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 b3fa781...9067618. Read the comment docs.


Pure Virtual Call

I have been testing lab for a behavior tree for AIs.  I got a pure virtual call error and crash while using it.  It also seems to drop the frame rate in the editor, but not in a build.  I have made some changes to lab, but I don't think I did anything that could cause the crash.

Lab is still in very alpha stage, mostly because of an editor issues, some bus and lack of documentation.
If you really want to try lab in current state, could you provide more information like callback or sample project?

I meant callstack, autocorrection ;)

The project is a bit big, so I can't send it.  I did a test on a build and I did not get an error.  It might just be the editor side.  If I do find out anything more, I will let you know.


Display buffers and cached memory

Addresses #46

Pull Request Test Coverage Report for Build 94

13 of 15 (86.67%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.8%) to 46.287%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/metrics/ram.rs
13
15
86.67%

Files with Coverage Reduction
New Missed Lines
%

src/metrics/ram.rs
2
79.59%

Totals

Change from base Build 92:
0.8%

Covered Lines:
268

Relevant Lines:
579

💛  - Coveralls


bashtop

Add support for bashtop. Maybe would this be the time to start supporting "generic" projects from github?

This probably wants to be implemented on top of #22


Multiline /  TextArea Inside dialog

[x] The issue is present in the latest release (I believe so. 4.9.9?)
[x] I have searched for the issue (for waaay too long) :P
[x] I have added minimum working (breaking example in code pen)
[x] Documented the issues below

Issue Summary
I have been unable to get a text area working 100% inside a dialog component. There are a combination of symptoms when using a combination of options.
Without setting autoFocus (false) the input seems to lose focus after every key press.

When setting autoFocus (true) this resolved that issue... (albeit, there are still issues)

...but I actually also need multiline enabled, when doing so... the cursor seems to be stuck at the beginning of the input at each keypress... resulting in a backwards typing effect..

Steps to Reproduce 🕹
Working Example
Context 🔦
I ideally need the textbox to not lose focus while inside a dialog, as well as have proper multiline support.
Environment 🌎
Dev environment is OSX.
Mainly targeting Chrome... but the app is a PWA meant to run on android + safari mobile browsers
Relevant Packages
"@material-ui/core": "^4.9.9",
"@material-ui/icons": "4.9.1",
"@material-ui/lab": "^4.0.0-alpha.48",
"@material-ui/styles": "^4.9.6",
"react": "16.12.0", (although the sandbox example is on 16.13)

You create a new DOM node at each keystroke. It won't work well.

@oliviertassinari thank you for getting back to me, but do you mind explaining what you mean by that? How do I prevent creating a new DOM input? That is obviously not what I meant to do. Could you please provide some guidance on how to rectify this?


Support of two TRCT5000 devices per meter to detect direction of meter disc

With installed solar panels it might happen that the Ferraris Meter runs in reverse order as energy is fed into the electric net if the panels provide more energy as consumed locally. So far the project does not detect the direction change and the energy supplied is counted as consumtion.
With two TCRT5000 modules the rotating direction of the meter disk can be detected by evaluating the detection sequence of the disc mark. This should result in either a message reporting the direction or a negative value of the power calculated or both.
As this project supports several meters with a TCRT-module per each, one approach could be to combine the detection of two TCRT-modules mounted to the screen of one meter.
I already developed a design how to mount two TCRT5000 modules to the meter screen. You can find it in https://www.thingiverse.com/thing:5820811

Yes, very important note with reverse rotation.
You printed 3D design prevents reading the meter manually. So it might me better to change orientation for both to the bottom or I even read that some people use the sensors in 90°. Have you tested something like that?
A problem I see with supporting two rotation directions is: how to design the configuration dialog?
Because now, each meter is configured separately. When two are combined, we either loose half of the supported number or need some complicated UI. Any ideas how to do that?

Thanks for your comment and the hint that the plate covers the meter. I posted an additional design on Thingiverse, where the meter can be read. In my case there are two totalizers (day/night-time). The lower totalizer can be read from the side.
Yes, I used the modules as delivered. A hysteresis could make it easier for this project.
I found a schematic of the sensor here: https://www.hotmcu.com/ir-reflective-sensor-tcrt5000-p-184.html
In the schematic the analogue output is missing, but it seems to lead directly to the '-'-input of the OP. With a resistor between OP-output and '+'-input a hysteresis could be implemented, as far as I can remember my electronic lessones ages ago.
But for a general purpose module the possibillity to adjust the hysteries were needed too. And two potentiometers would interfere each other in this easy case.
I had also some problems to find a mounting position to reduce false detection. Therefore I tried to find the best position for the optocouplers. In my case it resulted in mounting the optocouplers in horizontal orientation to the disc to minimize reflections from the 'silver'-cover plate. And the reason for one module top of and the other one below the disc is to bring both opto-transistors as near as possible to the middle and the IR-leds right and left from these. With this mounting I had the best results of clear detection vs. false detection. Therefor I skipped the options to mount the modules side by side or 90° turned by.
I could not discover oscillation. But there might occur false detection due to unround disc or reflections of the disc teeth, if it is this, what you mean.
A false detection lasts usually only a short time in relation to the detection of the disc mark. These false detections could be elimited by defining a minimum length of detection duration. And addtionally a transit of the disc causes also a concurrent detection period of both modules over a minimum duration.
In case of really oscillating output I would try to bridge a small capacitator betwenn VCC and ground directly at the TCRT-modules.
I must confess I did'nt looked up the code in detail so far, so false detection might be filtered already. I'm still struggeling a bit with getting the cloned projet running on my PIO installation. The installation of the iot-framework causes error messages which I could not solve so far due to the fact that I'm a fairly new PIO-user.

Hi again, concerning support of two rotation direction i forgot to comment:
On a first step it probably could be possible to combine only explicitly two input channels (e.g. the first and the last) as an option to be selected by e.g. compiler switch. Then only one channel gets lost and the effort to be done changing the UI could be postponed if this option is wanted by other users too. Calibration of the second sensor involved can be done by changing the wires without changing the UI. The introduction of a '-'-character or another mark for revers rotation is not a severe problem for the UI, i hope.

So many (good) topics you address . . . I will try to answer them during the next weeks.
Just to give some background: I just started using this project some weeks ago. The original author does not have a Ferraris meter anymore, so it would be task of others to continue. I still struggle with stability issues (WLAN, oscillation) but since yesterday I think I have solved them.
I like the idea to be able to count in both directions.
Regarding the oscillations:
Others call them bouncing, but this is not mechanical bouncing as this would have a defined time duration and could be solved with typical de-bouncing techniques.
Just imagine the meter is turning very very slow. Then the change between silver to red is not a hard cut, but a very slow slope. At the input of the comparator you will get any intermediate voltage for any time duration (it has just to be slow enough).
As the comparator is wired in simple comparator mode, a threshold is set via the potentiometer. At the moment the incoming analog value from the IR detector is reaching the threshold, the comparator will change output state. This will change the green LED, which will change the current consumption of the sensor. This will cause a supply voltage drop/rise that may change the operation point of the comparator. So it will switch again, what will change the supply voltage which will change . . .
As conclusion: if the meter is slow enough, it is possible that the output will toggle at any arbitrary frequency for any arbitrary time. It is impossible to de-bounce that. The only solution is an analog hysteresis for the comparator.
And you remember right, it is just a resistor (100k ..1M) from + to out. With that simple solution it is not possible to get a defined hysteresis, but at least something in that direction. For a real and well designed hysteresis you would have to place another resistor in front of the + input. But the layout of the sensor prevents easy access to that wire.

Thanks a bunch for your reply and that you will continue working on that project.
My Ferraris energy counter will be replaced by a modern type latest in 2027.
I also detected bouncing you described during the beginninng and the end of the red-zone-passing. Of course more visible during slow speed, but I could see this also on higher speed, if the sensors were mounted unhandy. As soon as the red-zone covered most of the sensor, this bouncing stoped.
Excuse me please if I write too much stuff already known or considered:
One fact which might be less considered: The sensor is a reflective sensor mainly to detect a certain distance.However, in this project it is used to detect a colour change. During the 'silver'-phase it shall detect 'near' (LED on), during the 'red'-phase it shall detect far (LED off). So the principle used is, that the red zone (hopefully) reflects less IR-light than the silver zone.
To do this with a fairly good reliabillity the sensor should 'see' the disc and as less as possible the plate covering the innards of the energy-counter.
Thats the reason why I put a mask over the sensor LED, to reduce the IR-light projected to the plate (not completely, but noticeable).
With my way of mounting I could measure on the analogue pin a voltage-ratio of about 1:1,5 in best case (1,2V silver, 1,8V red).
The better this ratio the fewer the bounces.
I just measured the current used by the sensor: 15,4 mA with LED off and 17.2 mA with LED on. So the LED uses less than 2 mA. If this 2 mA leads to the effect you described due to power drop, I assume either a weak power source or too long or too thin cables. Nethertheless for testing purpose I would bridge the power pins of the sensor with a capacitor of some µF and perhaps a high frequency blocking capacitor with some nF. If this does not help removing the LED or it's series resistor should work.
I dropped two videos to youtube with slow and fast disc speed (+ 2,1 KW) with my test installation.
Low speed:  https://youtu.be/MF94PpN3KXA
Fast speed: https://youtu.be/FgT2etckv6I
I'm still struggeling get the code running on my PIO installation. Following the intallation guide of the esp8266-iot-framework still ends up with error messages. Other esp8266-based code I tried could be compliled and uploaded successfully. I'll keep trying ....

Very interesting.
I get a voltage difference of only 25mV ! Even with optimal mounting position.
It is possible to control the mounting with a digital camera. You can see the IR light and if it gets reflected or not with an old smartphone (my new one has an IR filter). And I can clearly see the reflected light from silver and darkness for the red mark.
I also tried your lightshade, no effect at all.
(New sensors are ordered)

25mV seems to be insufficient.
Reasons beside mounting could be:

weak TCRT-Modules,
geometric problems e.g. the slot is too narrow so too much light is reflected by the plate or the distance between disc and pane ist to far,
optical reason: the red zone reflects IR-light nearly as good as the silver zone.

You must ensure, that the TCRT modules are mounted directly to the pane.
In annother article a user put pieces of shrink tube over the IR-led and the opto-trans.
A proffessional solution were to put a lense in front of the IR-led.

Hallo Hans, sorry dass ich so lange beschäftigt war! Aber ich musste zuerst meinen Zähler überhaupt zum Zählen bringen und danach dafür sorgen, dass er zum Testen auch mal rückwärt läuft.
Finally I solved my voltage difference issue and can count now. It needed several TCRT5000 modules and in the end I had to design and manufacture my own board. Probably my glass cover is disturbing the IR light.
My new board is out of the box capable of dual direction counting!
I will start testing to count in dual directions from now on.

I assume the Shelly will work more stable. But they are quite expensive.
First tests here look promising with nice counting in both directions.
Thank you for the idea of this feature!

solved with PR #23


ENH: add EpicsPathSignal

Docstrings and cleanups would follow if this is deemed reasonable.
Basic idea is that on a Device level (specifically FilePlugin) we should be specifying a Cpt(EpicsPathSignal, 'FilePath', path_semantics='nt') instead of a regular EpicsSignal. This would then take care of set_and_wait_path for us.
I believe the base EpicsSignal should be more easily customizable to allow such things without massive copy/pasting, but opted to keep changes minimal for this proof-of-concept.
Notes

Alternative to https://github.com/bluesky/ophyd/pull/703
_ensure_trailing_slash could then be removed, and classes would be modified to use this.
This would need changing as well: https://github.com/bluesky/ophyd/blob/master/ophyd/areadetector/filestore_mixins.py#L432 (not sure why we aren't calling .set() and then wait(status) there instead?)

Have a few minutes for some input on the idea, @tacaswell @danielballan @teddyrendahl @ZLLentz?

When I saw this PR title go up I thought, "Why didn't we think of this before?" Having a custom type with its out set() method feels like the right place to put this logic. :+1:

👍
On Mon, Aug 12, 2019, 1:08 PM Dan Allan<EMAIL_ADDRESS>wrote:

When I saw this PR title go up I thought, "Why didn't we think of this
before?" Having a custom type with its out set() method feels like the
right place to put this logic. 👍
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bluesky/ophyd/pull/749?email_source=notifications&email_token=AARMUMFCIJCQ5ANPYNTWPLTQEGRLFA5CNFSM4IJBLVBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DLOOA#issuecomment-520533816,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARMUMHIK2VSBEEP3P5TPMTQEGRLFANCNFSM4IJBLVBA
.

I see this is still a draft. Any reason to wait to merge this?

Yes, a good reason - I think the signal itself could be refactored slightly making a set hook much easier. The EpicsPathSignal itself would then only be a few lines long.

@ronpandolfi and I discussed this on today's Pilot call. This may be the right place to solve an issue that he has been having.

I don't have tests just yet to mark this as ready to review, but perhaps @ronpandolfi could give this a try to see if it fixes the issue he ran into?

We can perhaps bring this into pcdsdevices and see how it functions.

Can we keep pushing on this here?

You're welcome to continue the development, @tacaswell

There isn't parallel work going on in pcdsdevices?

This just needs tests, right?

Tests + integration into ophyd.areadetector

Aiming to finally get this into a release in the next week or two.

One more thing (as said over a private channel but reiterated here for the record) we should remove _ensure_trailnig_slash as well before we merge. It is not needed and is known to be broken.

The CI failure is real. It seems that EpicsPathSignal's custom set_and_wait logic doesn't yet work as intended.
E               TimeoutError: Attempted to set EpicsPathSignal(read_pv='13SIM1:HDF1:FilePath_RBV', name='det_hdf1_file_path', parent='det_hdf1', value='/tmp/data1/2020/09/17/', timestamp=1600362472.980279, auto_monitor=False, string=True, write_pv='13SIM1:HDF1:FilePath', limits=False, put_complete=False, path_semantics='posix') to value '/tmp/data1/2020/09/17' and timed out after 10 seconds. Current value is '/tmp/data1/2020/09/17/'.
``

I think the problem is that we are directly using set_and_wait(signal, value) here, rather than signal.set(value).wait(timeout). This circumvents EpicsPathSignal's ability to use set_and_wait_path rather than old set_and_wait.
https://github.com/bluesky/ophyd/blob/f0e5dd744a9f65cbfa3f9e02a59c3c1f8fb53a3a/ophyd/areadetector/filestore_mixins.py#L430-L432


Add "Chapters" to allegations flow

Business Context:
NOIPM has asked for a new field on allegations that links the allegations to chapters in the NOPD rules. We'll achieve this by adding a new table for the chapters and letting them choose from the list when adding an allegation to an officer
As an NOIPM employee
I want to be able to choose from a list of NOPD rule chapters when adding an allegation
So that I don't have to look those up, type them in, and then tweak the referral letter to display them right
In Scope

Migration to add chapters table to database and add a foreign key from officers_allegations to chapters
Create a seeder for chapters (using loadCsvFromS3 script like the allegations seeder)
Create handler that returns all chapters (GET /rule-chapters)
Call chapters handler from the allegations page to populate an optional dropdown labelled "To Wit Chapter"
Update `officers-allegations handler to include the chapter selected in the dropdown

Out of Scope

Being able to add new chapters via the dropdown
Clearly marking the other allegation fields as required

Open Questions

Acceptance Criteria

Scenario:
Given
When
Then

Scenario:
Given
When
Then

Mockups
Checklist (should be reviewed before grooming as the BA or Pair are writing the card—NOT reviewed for the first time at grooming)

[ ] Ensure to include all necessary mockups to this card.
[ ] Discuss what success/failure user feedback messages would be present, if any occur (front end/back end).
[ ] Discuss Feature Flag: Where could a development flag go to flag off incomplete work? Do we want to keep the flag long-term?
[ ] If this card is part of a sequence of cards, discuss if this card should be blocked until the testing of previous cards in the sequence have been finished.
[ ] Have we added edge cases as ACs that we're considered from a QA perspective
[ ] Should the new functionalities be offered only to users with certain permissions?
[ ] How should this functionality differ between different orgs, and if it does differ, what is the hingepoint we should use for that functionality?

Notes:


style search widget for notebook search

[x] use bootstrap input group
[x] use search glyphicon
[x] pull widget to the right of the navbar

Looks perfect, thank you!


on Mac OS/X compile for iOS (eg. arm64/armv7)

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

I think this is superceeded by #6410, and makes this one something we should close.


[getline.ts] integration tests

We desperately need some integration tests with a fake blockchain provider (like ethereumjs-testrpc).

We now have integration tests.


Google Dev Board / GPIO give user  'Mendel' permissions to access.

Description
I am trying to combine the environmental sensor and detect.py functions in one code.
I do not want use sudo on the start , how can I give GPIO noon root permissions.
 raise GPIOError(e.errno, "Setting GPIO direction: " + e.strerror)
periphery.gpio.GPIOError: [Errno 13] Setting GPIO direction: Permission denied

Click to expand!
Issue Type
Support
Operating System
Mendel Linux
Coral Device
No response
Other Devices
No response
Programming Language
Python 3.6
Relevant Log Output
Traceback (most recent call last):
  File "/home/mendel/google-coral/examples-camera/gstreamer/detect_1.py", line 145, in <module>
    main()
  File "/home/mendel/google-coral/examples-camera/gstreamer/detect_1.py", line 106, in main
    enviro = EnviroBoard()
  File "/usr/lib/python3/dist-packages/coral/enviro/board.py", line 69, in __init__
    self._display = ssd1306(serial_interface=spi(gpio=pGPIO(), port=port, device=0, gpio_DC=138, gpio_RST=140),
  File "/usr/lib/python3/dist-packages/luma/core/interface/serial.py", line 261, in __init__
    bitbang.__init__(self, gpio, transfer_size, DC=gpio_DC, RST=gpio_RST)
  File "/usr/lib/python3/dist-packages/luma/core/interface/serial.py", line 159, in __init__
    self._DC = self._configure(kwargs.get("DC"))
  File "/usr/lib/python3/dist-packages/luma/core/interface/serial.py", line 170, in _configure
    self._gpio.setup(pin, self._gpio.OUT)
  File "/usr/lib/python3/dist-packages/coral/enviro/rpi_gpio_periphery.py", line 33, in setup
    self._gpios[channels] = GPIO(channels, mode)
  File "/usr/lib/python3/dist-packages/periphery/gpio.py", line 43, in __init__
    self._open(pin, direction)
  File "/usr/lib/python3/dist-packages/periphery/gpio.py", line 91, in _open
    raise GPIOError(e.errno, "Setting GPIO direction: " + e.strerror)
periphery.gpio.GPIOError: [Errno 13] Setting GPIO direction: Permission denied

@kiteklan Did you try to change the udev rules for the GPIO ?

I did not tried it , I do not know what rules exactly I need write for the
environmental sensor.
Devadm info is as follows ,can you give me a ref to write this rule?
devadm info --path=/sys/class/gpio --attribute-walk
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/class/gpio':
KERNEL=="gpio"

SUBSYSTEM=="subsystem"

DRIVER==""

looking at parent device '/class':
KERNELS=="class"

SUBSYSTEMS=="subsystem"

DRIVERS==""

On Tue, Aug 31, 2021 at 4:40 PM Manoj @.***> wrote:

@kiteklan https://github.com/kiteklan Did you try to change the udev
rules for the GPIO ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google-coral/edgetpu/issues/457#issuecomment-909248519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASI2NW3JKDNIE7MZGAA5WBTT7TLV7ANCNFSM5DDZ5I6A
.

I had tried:
sudo nano /lib/udev/rules.d/60-rpi.gpio-common.rules
SUBSYSTEM=="bcm2835-gpiomem", KERNEL=="gpiomem", GROUP="dialout", MODE="0660"
SUBSYSTEM=="gpio", KERNEL=="gpiochip*", ACTION=="add", PROGRAM="/bin/sh -c 'chown root:dialout /sys/class/gpio/export /sys/class/gpio/unexport ; chmod 220 /sys/class/gpio/export /sys/class/g$
SUBSYSTEM=="gpio", KERNEL=="gpio*", ACTION=="add", PROGRAM="/bin/sh -c 'chown root:dialout /sys%p/active_low /sys%p/direction /sys%p/edge /sys%p/value ; chmod 660 /sys%p/active_
changed the root to Mendel
sudo udevadm control --reload-rules
sudo udevadm trigger --verbose
sudo /etc/init.d/udev restart
and reboot  ,did not work.
then tried the ultimate command :)
sudo chmod -R 777 /sys/class/gpio
it works , but can someone tell me a more elegant way.

@kiteklan One way is what you have mentioned. Other is mentioned here : https://stackoverflow.com/a/30940526/8321574 (This is for RPI but should also work for the Dev Board)

@kiteklan One way is what you have mentioned. Other is mentioned here : https://stackoverflow.com/a/30940526/8321574 (This is for RPI but should also work for the Dev Board)

@manoj7410 thanks for the help, it looks better. I will try that too.

@kiteklan Did it work for you ? Let us know if we can close this ticket ?

Yes, it worked . Thanks for the support.

Thanks for confirming.


BCSaaS Environment Upgrade Handling

Hi Freddy,
we would love to integrate more BC Admin Center API Requests into BCContainerHelper.
In this PR i start with Environment Upgrade Handling. You can check if a upgrade for an environment is scheduled by running Get-BcScheduledUpgrade and reschedule upgrades by running Reschedule-BcUpgrade.
The Functions use this API: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/administration-center-api_reschedule_updates
I tried to copy the style of your other bcsaas functions :)
Feedback is welcome!

Thanks for this - Looks good - could you add two lines to the releasenotes.txt with info on the two functions.

we also need to add the functions to the BcContainerHelper.psd1 file.
The .psd1 file gets generated on publish, but there are also cases, where the module is imported by running the .ps1 file and for that purpose, the .psd1 file needs to be updated as well.

Hey Freddy,
i updated the releasenotes and the .psd1 file. Hope the version is correct like this

Thanks
Sorry for not being specific, the ReleaseNotes should be under 3.0.12 (which is the version currently in preview).

Rebased and fixed the releasenotes

Thanks


[sidenav] container styles not updated after sidenav destroy or mode change

Bug, feature request, or proposal:
Regression
Expected

Destroying a open sidenav should update container styles
Modifying an open sidenav's mode should update container styles

Reproduction
http://plnkr.co/edit/eKqzpiCPUXGVHjknmq6F?p=preview
cc @crisbeto

Probably best to wait for this until https://github.com/angular/material2/pull/6260 is merged.

@crisbeto, @mmalerba no major refactors are underway right now are they? I feel like this is a very important regression, especially the mode changing aspect.

This one is a really painful regression, any chance of getting an expedited merge, even so we can start using it via material2-builds?

The fix for changing modes has been merged: #6260. The fix for drawer removal is ready but not merged yet: #7060

@mmalerba I don't this the fix in #6260 is working then, because switching modes only takes effect if you toggle the sidenav.
For example, if it's open and set to side and then you set it to over while it is open, it doesn't update. You need to close and re-open the sidenav for the new mode to take effect.
See Plunkr (based on issue template plunkr): http://plnkr.co/edit/ODfeJBJEece2dvMJesNj?p=preview
Should I create a new issue?

@rosslavery I think @mmalerba meant https://github.com/angular/material2/pull/6712 for the mode changes.

Ah...well then that one doesn't seem to be working either? Or is #6712 not
in beta 11?
Now I'm just confused 😛
On Sep 27, 2017 7:28 PM, "Will Howell"<EMAIL_ADDRESS>wrote:
@rosslavery https://github.com/rosslavery I think @mmalerba
https://github.com/mmalerba meant #6712
https://github.com/angular/material2/pull/6712 for the mode changes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/material2/issues/6271#issuecomment-332683867,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoF9AMG7syBlQOzMcX2PI3oqGOUzCQ_ks5smtocgaJpZM4Otvw9
.

@rosslavery I think it just barely missed beta.11. It's also not yet available in the material2-builds yet due to some CI issue


[incubator][VC] put the cluster nameserver in front of the pod spec one

we should act as the kubelet
https://github.com/kubernetes/kubernetes/blob/v1.16.5/pkg/kubelet/network/dns/dns.go#L383
Signed-off-by: zhuangqh<EMAIL_ADDRESS>

/lgtm
/approve


refactor pod api

Added

Skip istio/linkerd-proxy/init container when mirroring a pod without a specific container name. Closes #556
Add "linkerd.io/inject": "disabled" annotation to pod created by mirrord to avoid linkerd auto inject.
mirrord-layer: support -target deployment/deployment_name/container/container_name flag to run on a specific container.

Changed

mirrord-layer: refactored pod_api.rs to be more maintainble.
Use kube config namespace by default. Closes #557

bors r+

bors r+


Outdated code in repo?

@icidasset npm reports version 0.12.0, but in this repo has 0.11.4

Forgot to push version bump, code is up to date.


wip

This is my snyk integration test

Coverage remained the same at 100.0% when pulling 71ccd2dd617591405090c68ad6f964027f597814 on test into 83fb9dd755d71916fc06cf2da023ec3bc3af834e on master.


No MultiPart FormData support

Any usage of a MultiPart aka Dio's FormData option, fails when supplying this as the Body() argument.
Here's an example block of the generated code:
Future<Response> uploadPhoto( int userId, FormData formData) async {
    final queryParameters = <String, dynamic>{};
    final data = <String, dynamic>{}; <------- my FormData should be set here
    data.addAll(formData ?? {}); <----- this is wrong
    return _dio.request<dynamic>('users/$userId/photos',
        queryParameters: queryParameters,
        options: RequestOptions(
            method: 'POST', headers: {'Content-Type': 'multipart/form-data'}),
        data: data);
}

Consider adding an annotation for FormData that then sets the data: <formdata> value appropriately on the request or adjusting the Body annotation to take into account the argument class type.
Edit: I've created a PR for this change (https://github.com/trevorwang/retrofit.dart/pull/8)

@gfranks Sorry for the late respose.
You should put an annotion to the Map which defined as a pamameter of FormData.from.


chapter 3,the cluster prediction’s issue.

the print “Probability of belongs to cluster 1:” should be “Probability of belongs to cluster 0:” ??
or i miss the meanings?

I think this is the case as well. Earlier in the chapter he states:

A priori, we do not know what the probability of assignment to cluster 1 is, so we form a uniform variable on  (0,1) . We call call this  p1 , so the probability of belonging to cluster 2 is therefore  p2=1−p1 .

and defines the variables as:
with pm.Model() as model:
    p1 = pm.Uniform('p', 0, 1)
    p2 = 1 - p1
    p = T.stack([p1, p2])
    assignment = pm.Categorical("assignment", p,
                                shape=data.shape[0],
                                testval=np.random.randint(0, 2, data.shape[0]))

where p1 is the probability of belonging to the lower-mean (~120) cluster and p2 is the probability of belonging to the higher-mean (~190) cluster.
But later on he refers to the clusters as cluster 0 and cluster 1

we are interested in asking "Is the probability that  x  is in cluster 1 greater than the probability it is in cluster 0?", where the probability is dependent on the chosen parameters.

Where cluster 0 is the lower-mean cluster in this case and cluster 1 is the higher-mean cluster:

but then uses p_trace (p1) which is the probability of belonging to cluster 0 instead of using p2 (1-p1):
v = p_trace * norm_pdf(x, loc=center_trace[:, 0], scale=std_trace[:, 0]) > \
    (1 - p_trace) * norm_pdf(x, loc=center_trace[:, 1], scale=std_trace[:, 1])

print("Probability of belonging to cluster 1:", v.mean())

I think this typo stems from the swtichup in syntax of "cluster 1 and cluster 2" to "cluster 0 and cluster 1"


Performance count

It seems like the profiler outputs weird numbers :
nt = 4903
Section loop_p_src_0<3,1> with OI=0.72 computed in 0.003 s [Perf: 0.00 GFlops/s]
Section loop_p_rec_0<3,5733> with OI=2.91 computed in 3.812 s [Perf: 0.00 GFlops/s]
Section main<3,2802,1983,413> with OI=4.20 computed in 6246.826 s [Perf: 0.08 GFlops/s]

Even at 1 flop per point that's 2802x1983x413x 4903/(6246.826x1e9) = 1.8GFlop/s
And for the exact same model but less time-steps:
nt = 50
Section loop_p_src_0<3,1> with OI=0.72 computed in 0.000 s [Perf: 0.01 GFlops/s]
Section loop_p_rec_0<3,5733> with OI=2.91 computed in 0.022 s [Perf: 0.07 GFlops/s]
Section main<3,2802,1983,413> with OI=4.20 computed in 63.921 s [Perf: 7.43 GFlops/s]

I just quickly checked. nt seems to be the duration in ms, rather than the actual number of timesteps. So the 0.08 -> 1.8 GFlops/s might be explained.
Why there's such a big variation in performance between the two test cases is not clear. It could be that we're leaking memory, and in the first case we end up swapping to disk. This is not that unlikely, given that huge mesh size... now why we'd be swapping, that I still don't know. We should first check this out.
Things to try:

Instruct us on how to reproduce
Please, re-run the first model and after a few thousands of secs take a look at the memory consumption, from another shell on the same node. You can htop or even watch numastat -m. Then share the output of these two commands somewhere

It is possible that we are swapping even in the second scenario with 7.43 GFlops/s, but the effect is less evident given the shorter duration.

This i modelling only, I have 128G of RAM so no memory issue. ANd nt is the actuall number of time steps. As I  don't save the wavefield, the emory usage in both case is the same, the only difference is the printed performance that don't make sense.
All wath run with no legacy and advanced dse and dle

So the Perf problem is related to the fact that you see that 3 instead of nt in Section main<3,2802,1983,413>. I re-checked my acoustic and tti problems and they are fine. So something odd is going on here, I need a reproducible test case.
BTW, out of curiosity, what's the memory consumption?

No, the problem is [Perf: 0.08 GFlops/s]

No, the problem is [Perf: 0.08 GFlops/s]

That's related to that 3

Oooooh, that make sense :)

@FabioLuporini Ignore all of that, I am a dummy who forgot to update master. Closing.


Bring back FTDI support

Investigate how we can bring back FTDI support

Just for reference, part of the answer is to yell at me.

Yes. USB support also of interest for iot-core devices...

I can probably see about uploading a copy of my old NModbus version where I have the cross-platform FTDI capability.  I haven't tested it in forever, but it shouldn't have stopped working.


created_at and updated_at date-time format

As a user, I would like to see created_at date and time in local time zone
The following record was created at 10:54 local time.

@LocoDelAssembly @jlpereira afaikt there are 2 solutions, let me know what might be best.

Use a gem, this involves adding some javascript overhead (https://github.com/kbaum/browser-timezone-rails/issues/45)
Let the user define a timezone in a new User attribute, and load it.

Others?

https://momentjs.com/


Definition of "restart deployment" in Deployment panel?

What would you like to be added:
I wonder what is the definition of "restart deployment" in Deployment panel? I have searched k8s doc without finding a command named "restart deployment". Thanks!
(The second button in this panel: )

Why is this needed:
N/A
Environment you are Lens application on:

Kubernetes distribution: [EKS, AKS, GKE, Rancher, ...] hosted
Desktop OS: macos

Lens patches the spec which causes kubernetes to recreate the resources, in essence restarts the deployment. It is analogous to a (>1.15) kubectl rollout restart.


set_format("np") no longer works for Image data

Describe the bug
dataset.set_format("np") no longer works for image data, previously you could load the MNIST like this:
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array

but now it doesn't work, set_format("np") seems to have no effect and the dataset just returns a list/array of PIL images instead of numpy arrays as requested.

A quick fix for now is doing this:
X_train = np.stack(dataset["train"]["image"])[..., None]

This error also propagates to jax

Hi! We've recently introduced a new Image feature that yields PIL Images (and caches transforms on them) instead of arrays.
However, this feature requires a custom transform to yield np arrays directly:
ddict = datasets.load_dataset("mnist")

def pil_image_to_array(batch):
     return {"image": [np.array(img) for img in batch["image"]]}  # or jnp.array(img) for Jax

ddict.set_transform(pil_image_to_array, columns="image", output_all_columns=True)

@albertvillanova @lhoestq WDYT? The Audio and the Image feature currently don't support the TF/Jax/PT Formatters, but for the Numpy Formatter maybe it makes more sense to return np arrays (and not a dict in the case of the Audio feature or a PIL Image object in the case of the Image feature).

Yes I agree it should return arrays and not a PIL image (and possible an array instead of a dict for audio data).
I'm currently finishing some code refactoring of the image and audio and opening a PR today. Maybe we can look into that after the refactoring

This has been fixed in https://github.com/huggingface/datasets/pull/5072, which is included in the latest release of datasets.


Tecture Pack inconsistency

Describe the bug
Rift collections have custom tp icons even with just vanilla tp enabled.
Profile/Location
https://sky.shiiyu.moe/stats/kada49/Raspberry#Collections
Expected behavior
SHow player heads like in the boss collections in the category below.
Screenshots

Desktop (please complete the following information):

OS: Fedora 39 on Linux 6.7.6
Browser: Mozilla Firefox
Version 123.0

Smartphone (please complete the following information):

Device: Samsung Galaxy A52 4G (SM-A525F)
OS: Android 13, One UI 5.1
Browser: Samsung Internet
Version: <IP_ADDRESS>

I can confirm that this issue also occurs on desktop. The issue is also present for the Magmafish, Chili Pepper, Sulphur, Hard Stone and Gemstone collections. I will look further into this issue to see if I can solve it.

I also found that the mithril collection has the same issue

I have just identified the source of the issue. The issue stems from the file following file: src/scripts/update-collections.js, more specifically on line 22. This code automatically takes the ID of item (from API), and adds that as the texture of the item. I'll see if I can fix this behavior at a later time, unless you or someone else is willing to resolve this issue soon.

Turns out, I have no idea how to test changes with texture packs (when I launch development servers it has no working textures), so I can't really help with this, at least not with the knowledge I have right now.


You must link with -lpthread on linux.

I noticed that when marl, embedded in another library is loaded, it will crash without -lpthread on linux.
Not sure what the right solution is, maybe trying to dynamically load pthreads when run?

#61 builds and runs the tests and examples without directly linking pthread (it should already be linked due to the dependency on the marl target`).
I have to say, I'm a little perplexed by this one.

@AWoloszyn what do you want to do with this bug?

Hi! @AWoloszyn Did you use CMake as the build tool? If so, could give this patch a try? https://github.com/myd7349/marl/commit/5d0691565ecd75402ab1b7c08864d39230bd2886
Thanks!

@myd7349 - @AWoloszyn seems rather busy.
If it's okay with you, shall we merge your change?
It looks like a more idiomatic way of using CMake, and could fix this issue that I've been unable to reproduce.

Fixed by https://github.com/google/marl/pull/108.


Debugging companion. Error reporter.

Because the pending api tasks run in the background, you never really know when you have an error with an API call. a 401, 500, 403, etc you don't really get unless the dev handles them him/herself.
The lib should have a dev debug mode. Something that when an API error besides a 200 triggers, it gives you an alert. Well, actually, it should have diff levels of debugging. You might care about the 200 errors to assert that the API call actually ran.
Show a taskbar notification, log to Studio, log to a companion app on device (write to a shared file on the OS that each app can read/write to), whatever it needs to be.

I have another use case for this. While writing my app, I created a new pending api task. I want to make sure that it runs after I do a certain action and a 200 returns. It would be nice to see tasks that return back 200 as well to make sure it succeeds.
A companion desktop app would be nice. Would be more convenient while developing.

I am going to skip this for now because it may be out of the scope of Wendy.
I added Wendy debug logging functionality in this commit which will help the dev get farther along.


Feature request: add integration to HACS

It will be good if this integration can be added to HACS (Home Assistant Community Store):
https://hacs.xyz/docs/publish/start
This will simplify installation and updates, thank you!

Second this! You'll also increase your reach greatly, I initially searched HACS for ipmi and found nothing before I found your script here. Thanks!

Does HACS support addons? I don't see anything related to addons on that page.

I'll have a look at HACS to add this integration there.
On the other hand I wanted to include the other integration that I have done too but that one requires an addon to do the job: https://github.com/ateodorescu/home-assistant-ipmitool
What do you think would be the proper way to do for the ipmitool integration? Should I add it to HACS too and just let the users know that it needs an addon to run or just leave it out?

I would suggest to merge both integration in one made available in HACS.
Users can be instructed on how to install the add-on during the integration installation flow.
The integration can then detect if the ipmitool add-on is available, and offer the possibility to the user to select it in the configuration screen or fall back to rmcp if not.

So, there's only one integration now that knows how to use the addon if available, otherwise it falls back to the python library. I'm waiting for the brands PR to be merged (https://github.com/home-assistant/brands/pull/4512) and then the actions for HACS to run successfuly (https://github.com/ateodorescu/home-assistant-ipmi/actions).
I guess that's all I have to do so that the integration goes into HACS.

Waiting for PR to be merged in HACS: https://github.com/hacs/default/pull/1962

Thanks! In the meantime I've manually installed the integration using custom depot in HACS and it works fine.

@35gh how does the PR merge work? I saw that you reviewed the PR. Who can do that? Are you part of the HACS team or simply anyone interested could review a PR?

I think we have to wait. When I published mine, there were frustrating weeks while waiting for the 3 required approvers to make time reviewing it and approving it. There seems to be alot of PR's waiting

The PR has been merged to HACS.

Finally the PR was merged and the integration is available in HACS.


no matching manifest for windows/amd64 10.0.18363 in the manifest list entries

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...
no matching manifest for windows/amd64 10.0.18363 in the manifest list entries

The same issue.
docker pull nginx
Using default tag: latest
latest: Pulling from library/nginx
no matching manifest for windows/amd64 10.0.18363 in the manifest list entries


Babel queries for loaders

I cannot get happypack to work when I have:
{
        test: /\.js$/,
        exclude: /node_modules/,
        loaders: [
          {
            loader: 'babel',
            query: {
              plugins: [
                'transform-runtime',
                'add-module-exports',
                'transform-decorators-legacy',
                'transform-react-display-name',
                'typecheck',
                'transform-react-jsx-self',
                'transform-react-jsx-source'
              ],
              presets: ['react', 'es2015-webpack', 'stage-0', 'react-hmre'],
              cacheDirectory: true
            }
          },
          'eslint-loader'
        ],
      },

Errors with:
/Users/mmahalwy/Sites/sparrow/node_modules/happypack/lib/WebpackUtils.js:9
  var loaderStrings = string.split('!');
                             ^

TypeError: string.split is not a function
    at disectLoaderString (/Users/mmahalwy/Sites/sparrow/node_modules/happypack/lib/WebpackUtils.js:9:30)
    at Array.map (native)
    at normalizeLoaders (/Users/mmahalwy/Sites/sparrow/node_modules/happypack/lib/HappyPlugin.js:171:10)
    at /Users/mmahalwy/Sites/sparrow/node_modules/happypack/node_modules/async/lib/async.js:713:13
    at Immediate.iterate (/Users/mmahalwy/Sites/sparrow/node_modules/happypack/node_modules/async/lib/async.js:262:13)
    at runCallback (timers.js:570:20)
    at tryOnImmediate (timers.js:550:5)
    at processImmediate [as _immediateCallback] (timers.js:529:5)

If I move it to the new HappyPack({ id: 'js', loaders: ...}) if throws error:
assert.js:89
  throw new assert.AssertionError({
  ^
AssertionError: HappyPack[js]: Loader must have a @path property or be a string.
    at /Users/mmahalwy/Sites/sparrow/node_modules/happypack/lib/OptionParser.js:31:7
    at Array.reduce (native)
    at parseAndValidateOptions (/Users/mmahalwy/Sites/sparrow/node_modules/happypack/lib/OptionParser.js:19:30)
    at new HappyPlugin (/Users/mmahalwy/Sites/sparrow/node_modules/happypack/lib/HappyPlugin.js:33:17)
    at Object.<anonymous> (/Users/mmahalwy/Sites/sparrow/webpack/dev.config.js:69:5)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

@mmahalwy try running against the master branch and see if the issue is solved. Once you confirm we can make another release. Thanks!

works great! Thank you!

The changes are published in the new release 2.1.3, closing this now!


Add igroup attribute to container interface

Overview

Added IGroup attribute to IContainer interface instead of using groupId, groupName directly.

Changes

Added IGroup attribute to IContainer interface
Corrected to reference IContainer's IGroup.
Name convention of from groupId to id, groupName to name

Assignee Checklist:

[x] The base branch is correct (See: Types of Branches)
[x] The branch name follows the Branch Naming Conventions
[x] The correct assignees and reviewers have been designated for this PR
[x] The coding style follows the Coding Style Guide
[x] All the related issues are associated with this PR
[x] All criteria in the associated issues are met (please tick the checkboxes)
[x] My changes do not generate new warnings or errors (especially in the console)

Reviewer Checklist:

[x] The code follows the generic best practices and our Coding Style Guide
[x] Code is well-commented and easy to understand
[x] UI changes accurately reflect the provided design

@kotaaaa There is an error in build time. I am not sure why the status check is not triggered... Could you try a build locally and fix the error please?


[Bug] Errors for relationship subfields are not detected to set the active tab correctly

Bug report
What I did
Added tabbed panels for relationship with subfields in setupUpdateOperation
CRUD::field('inspectorAllocations')
    ->type('relationship')
    ->subfields([
        [
            'name' => 'inspector'
            'ajax' => true,
            'attribute' => 'reverse_full_name',
        ],
        [
            'name' => 'valid_date',
            'type' => 'date',
    ])
    ->tab('Inspector Allocations');

What I expected to happen
When the first error is on a relationship subfield, I expect that tab to be the active tab
What happened
The subfield was not recognised because the crud field in the array returned from $crud->getCurrentFields() is inspectorAllocations but the $fieldName under test is inspectorAllocations.0.name.
What I've already tried to fix it
I published show_tabbed_fields.blade.php and added a preg_split to obtain the parent name of any subfields before checking the array of available $fieldNames
This works for my case and does not have any adverse effect on standard format fieldNames
@php
    $horizontalTabs = $crud->getTabsType()=='horizontal' ? true : false;
    $tabWithError = (function() use ($crud) {
        if(! session()->get('errors')) {
            return false;
        }
        foreach(session()->get('errors')->getBags() as $bag => $errorMessages) {
            foreach($errorMessages->getMessages() as $fieldName => $messages) {

                # Transform subfield $fieldNames into the correct CRUD fieldName format
                # preg_split by the array separator .digits. and take only the first element
                $fieldName = preg_split('/\.\d+\./',$fieldName)[0];

                if(array_key_exists($fieldName, $crud->getCurrentFields()) && array_key_exists('tab', $crud->getCurrentFields()[$fieldName])) {
                    return $crud->getCurrentFields()[$fieldName]['tab'];
                }
            }
        }
        return false;
    })();
@endphp

Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud  I am on 6.7.39 and the bug is still there.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
8.2.18
PHP EXTENSIONS:
Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, imap, intl, ldap, exif, msgpack, mysqli, pcov, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, swoole, Zend OPcache, xdebug
LARAVEL VERSION:
<IP_ADDRESS>
BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.3.0
backpack/crud: 6.7.39
backpack/devtools: 3.1.0
backpack/editable-columns: 3.0.8
backpack/generators: v4.0.4
backpack/permissionmanager: 7.2.1
backpack/pro: 2.1.11
backpack/theme-tabler: 1.2.8

Hey @krjohnston
Yes, It does not take to the error field tab, but it highlights the tab where the error is with the details on top:

I agree the error is shown, but this is inconsistent behaviour compared to
all other fields. My client insisted that I rectify this which I did,
however I believe this is a bug that ought to be addressed in the core.
On Sun, 13 Oct 2024, 16:06 Karan Datwani, @.***> wrote:

Hey @krjohnston https://github.com/krjohnston
Yes, It does not take to the error field tab, but it highlights the tab
where the error is with the details on top:
Screenshot.2024-10-13.at.8.35.28.PM.png (view on web)
https://github.com/user-attachments/assets/4024d9dc-2b96-46d3-a17f-335ae4d7d372
—
Reply to this email directly, view it on GitHub
https://github.com/Laravel-Backpack/CRUD/issues/5686#issuecomment-2409014198,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCDJIANCPGJJRYMVJ3B2H3Z3KEAFAVCNFSM6AAAAABPUB5LKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGAYTIMJZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @krjohnston totally agree.
It's a simple change, are you willing to submit the PR for it, so you show up as a contributor since you already did all the work ?
If you don't have time/desire to do it, just let me know and I create the PR myself. 👍
Thanks for the heads up, and for providing the solution 🙏

I don’t mind submitting the pull request.
Am I able to branch your repo or do I need to fork?
Thanks
Kev
From: Pedro Martins @.>
Date: Monday, 14 October 2024 at 10:11
To: Laravel-Backpack/CRUD @.>
Cc: krjohnston @.>, Mention @.>
Subject: Re: [Laravel-Backpack/CRUD] [Bug] Errors for relationship subfields are not detected to set the active tab correctly (Issue #5686)
Hey @krjohnstonhttps://github.com/krjohnston totally agree.
It's a simple change, are you willing to submit the PR for it, so you show up as a contributor since you already did all the work ?
If you don't have time/desire to do it, just let me know and I create the PR myself. 👍
Thanks for the heads up, and for providing the solution 🙏
—
Reply to this email directly, view it on GitHubhttps://github.com/Laravel-Backpack/CRUD/issues/5686#issuecomment-2410534380, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCDJIC7GO4PPJU7ESKFAOTZ3ODCVAVCNFSM6AAAAABPUB5LKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJQGUZTIMZYGA.
You are receiving this because you were mentioned.Message ID: @.***>

Hey @krjohnston thanks 🙏
You need to create a fork and pull the changes. 👍

Fixed here https://github.com/Laravel-Backpack/CRUD/pull/5690
Thanks @krjohnston


Won't Connect to SteamVR

When I try to load this program it won't connect to steam vr at all

How did you fix this?


[FR] Add Default Location at the available data columns

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
When I am doing a prototyping for a PCB, when I want to solder a 10k resistor, I want to just search for 10k, and the first thing I want to see is the "Default location" of the parts list that show up in the results and go to pick it up.
Right now, when I look for a part, what I can see first on the columns is stuff like description, units, price range, IPN.

These are not irrelevant to the R&D process. The most important information for R&D that is missing here is  "Default location" (storage location) so that I can go and pick that part while I solder components on the PCB.
Suggested solution
When I am at the parts category, I would like to see the "Default location" at the columns.
So I would like to have the option to show/hide the "Default location" for the columns.

Describe alternatives you've considered
An alternative for me:
Would be that I will assign the Default location to the IPN column instead. Like this:

But this is not the "official" place to store the storage location so it might not be future-proof for features that might come up in the future that include the Default location. For example there is a plug in that creates many storage locations at once so I dont have to type all the available storage locations. And I wont be able to use that if I use the IPN instead.
An alternative solution (for you to implement):
I dont know, you already have the Defaut location, the easiest thing I think, would be to just put it on the columns.
What if you made a different field called "Storage location", which I think is more appropriate (Because "Default location" indicates that the location might have changed from the default). And then make this "Storage location" visible on the columns.
But I think this alternative would take more work to implement.
Examples of other systems
In parkeepr they show the Storage location at the columns:

Do you want to develop this?

[ ] I want to develop this.

The added column of the Location, will it be search-able be default? If not, I would like to have that (maybe by opening a new feature request)

@Basilisvirus this has been closed in https://github.com/inventree/InvenTree/pull/7587


No licence information

@Pithikos I can't find any licence information about this project. Until provide a licence I would have to assume "all rights reserved" applies here. ;)
But you mentioned, that your server should be embeddable in other projects, so I would suggest an Apache, MIT or BSD style licence.
Btw, very nice, minimal and clean implementation!

Oh, thank you! I always forget to add licence to be frank. I added a single line in the websocket.py file now denoting that it's under MIT license since it seems the most user friendly :)

Thanks! :)


Tessen setup + utilities

TODO: Need docs
Relates to https://github.com/newrelic/docs-website/issues/789
Description
Adds the ability to load tessen on to a site using tessen configuration. Also provides a useTesen hook that can be used to instrument with Tessen, and the ability to auto-instrument page views with tessen.

qq: have you been able to test that this reports to tessen? (I remember something being said about tessen actions not reporting or being weird)

@caylahamann I have not. I didn't know how best to test this without skewing actual data. I can use the write key from the doc site, but I didn't want to create false data.

I have verified that I can at least get access to a Tessen global which I can then call methods on.


tests: add new kernel objects tests

Found out that important requirements are not tested by current
kernel objects tests. Decided to fix that situation
New added tests:

test_kobj_assign_perms_on_alloc_obj()
Create kernel object semaphore, dynamically allocate it from the
calling thread's resource pool.
Check that object's address is in bounds of that memory pool.
Then check the requestor thread will implicitly be assigned
permission on the allocated object by using
semaphore API k_sem_init()

test_no_ref_dyn_kobj_release_mem()
Dynamically allocated kernel objects whose access is controlled by
the permission system will use object permission as a reference count
If no threads have access to an object, the object's memory released.

test_access_kernel_obj_with_priv_data()
When defining system calls, it is very important to ensure that
access to the API’s private data is done exclusively through system
call interfaces. Private kernel data should never be made available
to user mode threads directly. For example, the k_queue APIs were
intentionally not made available as they store bookkeeping
information about the queue directly in the queue buffers which are
visible from user mode.

test_krnl_obj_static_alloc_build_time()
Take addresses of the kernel objects which are statically allocated
during the build time and verify that they are not null.
That kernel objects shouldn't require manual registration by the end user.

Signed-off-by: Maksim Masalski<EMAIL_ADDRESS>

I can't understand why Gitlint gives that error. I checked another tests use the same approach and define new typedefs.

@LeiW000 @andrewboie Could you review it? Do you know another variant, how to implement that test and avoid adding new structure?

I can't understand why Gitlint gives that error. I checked another tests use the same approach and define new typedefs.

That other test is wrong.
If the only reason you are defining a typedef is to save yourself from typing the keyword struct then don't do it.
Normally we only define typedefs for types that have to be truly opaque or are part of the assembly offset generation mechanism.

I can't understand why Gitlint gives that error. I checked another tests use the same approach and define new typedefs.

That other test is wrong.
If the only reason you are defining a typedef is to save yourself from typing the keyword struct then don't do it.
Normally we only define typedefs for types that have to be truly opaque or are part of the assembly offset generation mechanism.

I found example here tests/kernel/queue/src/test_queue.h typedef struct qdata

I can't understand why Gitlint gives that error. I checked another tests use the same approach and define new typedefs.

That other test is wrong.
If the only reason you are defining a typedef is to save yourself from typing the keyword struct then don't do it.
Normally we only define typedefs for types that have to be truly opaque or are part of the assembly offset generation mechanism.

@andrewboie I resolved that too.

I see that CI failure is not correct. Output from the failed boards show that no errors "PROJECT EXECUTION SUCCESSFU". Seems like CI bug.
mps2_an385 results and same for qemu_x86
<testcase classname="mps2_an385:tests/kernel/queue/kernel.queue" name="tests/kernel/queue/kernel.queue" time="2.257229">
<failure message="Failed" type="failure">*** Booting Zephyr OS build zephyr-v2.4.0-543-g0fde0c66acdc *** Running test suite queue_api =================================================================== START - test_queue_supv_to_user PASS - test_queue_supv_to_user =================================================================== START - test_queue_alloc_prepend_user PASS - test_queue_alloc_prepend_user =================================================================== START - test_queue_alloc_append_user PASS - test_queue_alloc_append_user =================================================================== START - test_auto_free PASS - test_auto_free =================================================================== START - test_queue_thread2thread PASS - test_queue_thread2thread =================================================================== START - test_queue_thread2isr PASS - test_queue_thread2isr =================================================================== START - test_queue_isr2thread PASS - test_queue_isr2thread =================================================================== START - test_queue_get_2threads PASS - test_queue_get_2threads =================================================================== START - test_queue_get_fail PASS - test_queue_get_fail =================================================================== START - test_queue_loop * Pass data by queue in loop 0 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 1 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 2 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 3 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 4 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 5 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 6 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 7 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 8 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 9 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 10 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 11 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 12 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 13 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 14 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 15 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 16 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 17 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 18 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 19 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 20 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 21 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 22 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 23 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 24 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 25 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 26 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 27 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 28 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 29 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 30 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get * Pass data by queue in loop 31 main queue append ---> isr queue find and remove isr queue get isr queue append ---> thread queue find and remove thread queue get thread queue append ---> main queue find and remove main queue get PASS - test_queue_loop =================================================================== START - test_queue_alloc PASS - test_queue_alloc =================================================================== START - test_queue_poll_race PASS - test_queue_poll_race =================================================================== START - test_multiple_queues PASS - test_multiple_queues =================================================================== START - test_access_kernel_obj_with_priv_data E: thread 0x20000390 (0) does not have permission on k_queue 0x20000ecc E: permission bitmap E: 00 00 |.. E: syscall z_vrfy_k_queue_is_empty failed check: access denied E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 E: xpsr: 0x00000000 E: Faulting instruction address (r15/pc): 0x00000000 E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 E: Current thread: 0x20000390 (unknown) Caught system error -- reason 3 System error was expected PASS - test_access_kernel_obj_with_priv_data =================================================================== Test suite queue_api succeeded =================================================================== PROJECT EXECUTION SUCCESSFUL </failure>
</testcase>

@andrewboie I moved kernel/queue test to the separate PR #29188


Add compatibility to python 3.10

This makes biblib work with python 3.10.
The Parser.parse() uses collections.abc per default (which is the only way in python 3.10) and only falls back to the old collections.Iterable if collections.abc does not exist.

This PR is precisely the same as my PR #8, just with a slightly different comment.


Unable to run on Mac Again!

Did use the solution mentioned on #72 and was working. But now again I've hit a road block.
The following error shows up and I'm unable to resolve. What am I missing?
Library not loaded: @rpath/MicrosoftCognitiveServicesSpeech.framework/Versions/A/MicrosoftCognitiveServicesSpeech
Referenced from: ________
Reason: tried: '/Library/Frameworks/MicrosoftCognitiveServicesSpeech.framework/Versions/A/MicrosoftCognitiveServicesSpeech' (no such file), '/System/Library/Frameworks/MicrosoftCognitiveServicesSpeech.framework/Versions/A/MicrosoftCognitiveServicesSpeech' (no such file)
Leads of any kind, will be helpful. Thank you.

It looks like your environment has some issues but from the shared output it's not clear what step of configuring your setup this is in.
I might suggest starting fresh with these steps to see if you can get a simple quickstart running. This one has details for macOS using go:
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/get-started-speech-to-text?tabs=macos%2Cterminal&pivots=programming-language-go


Document unloading

Right now the process of unloading a document, described here is only partially implemented.
It needs to be fully in AngleSharp before v1!

See PR #393.


More test

Key Deliverables:

Test with h2 database

Tests

[ ] Sign up
[ ] Sign in
[ ] Sign out

https://github.com/arifjehoh/cn-task-manager/issues/3#issuecomment-2495125417


rpm_package silently fails to install packages with a + (plus) character in the version

Very similar to the issue described in #3496 and fixed in #3503
This line of code: https://github.com/chef/chef/blob/master/lib/chef/provider/package/rpm.rb#L64
is proving brittle because I've found yet another character that it misses:
http://rubular.com/r/kdkr3EYxOY
Using Chef 12.4.1:
chef:recipe (12.4.1)> run_chef
[2015-07-15T17:38:39+00:00] INFO: Processing rpm_package[/tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm] action install ((irb#1) line 1)
[2015-07-15T17:38:39+00:00] DEBUG: Providers for generic rpm_package resource enabled on node include: [Chef::Provider::Package::Rpm]
[2015-07-15T17:38:39+00:00] DEBUG: Provider for action install on resource rpm_package[/tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm] is Chef::Provider::Package::Rpm
[2015-07-15T17:38:39+00:00] DEBUG: No package source specified, but /tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm exists on the filesystem, copying to package source
[2015-07-15T17:38:39+00:00] DEBUG: rpm_package[/tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm] checking rpm status
chef-server-core 12.2.0+20150713220422-1.el6
[2015-07-15T17:38:39+00:00] DEBUG: rpm_package[/tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm] checking install state
package /tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm is not installed
[2015-07-15T17:38:39+00:00] DEBUG: rpm_package[/tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm] /tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm not installed, installing
[2015-07-15T17:38:39+00:00] DEBUG: rpm_package[/tmp/ecm_cache/chef-server-core-12.2.0+20150713220422-1.el6.x86_64.rpm] is already installed - nothing to do
 => true

Before I go make a patch that adds + - is there a definitive guide for which characters are acceptable in an RPM version?
cc: @chef/client-core @chef/engineering-services

I'm fairly certain such a document does exist.

@irvingpop While there is undoubtedly an official doc somewhere, I couldn't find one.  I tend to look to the rpm doc, the Fedora standard, and the code:
http://fedoraproject.org/wiki/Packaging%3ANamingGuidelines (although we do use ~'s)
http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ (useful for listing out places in code where the version data matters)
http://www.rpm.org/max-rpm/s1-rpm-inside-tags.html
http://www.rpm.org/max-rpm/ch-rpm-file-format.html

Can we invert this problem and instead of doing any validation at all just figure out what delimits the version number and accept any characters that are there?

:+1: to @lamont-granquist, just faced the same thing with Python package version numbers, gave up and used /[^\s,]+/.

So according to wikipedia we have this:
<name>-<version>-<release>.<architecture>.rpm

So my first stab looks like this:
(.*)\-(.*?\-.*?)\..*?\.rpm

You can throw an '\A\z' around it and/or replace the '.'s with '\s'.  The first matcher should be greedy and slurp up every character it can and needs to have a '-' to the right of it, that is the name.  The second matcher is the version and must have exactly one '-' in it (it must have at least one '-' in it, but the previous greedy match will slurp up all but the last one), and be delimited on the right by a '.'
Then for .arch.rpm I made the arch non-greedy so that .foo-bar.baz.rpm wouldn't be accidentally slurped into the arch, although i don't know that will ever matter.

pingles?  anyone want to PR this?

Hey @lamont-granquist I have some cycles to work on this.    Thinking this through a bit:

we shell out like so: rpm -qp --queryformat '%{NAME} %{VERSION}-%{RELEASE}\n' - is there any reason we couldn't trust these results and report back the two parts?
if so, the regex could be as simple as ^(\S+)\s(\S+)$ rubular link
alternative is to be less trusting of the name, but greedy with the version like ^([\w\d+_.-]+)\s(\S+)$ rubular link
reading the links that @yzl posted - it seems like any code that tries to understand the version as Semver will fail on one edge case or another

should be fixed in both rpm_package by #3985 and yum_package localinstalls by #5614


Write a C program to find volume of a cuboid

Description
Write a C program to find volume of a cuboid
Volume of a cuboid = Length × Width × Height
Length : 2
Width  : 3
Height : 4

Volume : 24

How to contribute

Save the solution in FindVolumeOfACuboid.c file
Add FindVolumeOfACuboid.c file in find-volume-of-a-cuboid folder

assign me

assign me

Hey @KaptainCS3
Please use the command !assign, to be auto assigned
!assign

!assign


macOS Client

Hello,
Are you going to release a macOS version of the latest client before the fork?

Just submitted a pull request to take care of that.

Committed
On Sun, Apr 15, 2018 at 9:03 PM slax0r<EMAIL_ADDRESS>wrote:

Just submitted a pull request to take care of that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ofeefee/fluttercoin/issues/41#issuecomment-381459632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGIEmNf5E9kjx8rMyouSj8oCTQx-1_lHks5to_wKgaJpZM4RRsAv
.

I do believe the brew install miniupnpc will not work as it will install the latest version which is broken for most coins.  Also the brew install openssl installs the newest version which is also broken for some coins.

Yep it does, except I patched the only file it breaks to work with the new version.

OpenSSL doesnt seem to be broken for Flutter. Ive got it running and syncing now with no issues at all.


Exporter does not export ranged innate attacks from GCA

The export to foundry vtt script does not export innate attacks that are ranged. It does export weapon based ranged attacks (e.g., knife or gun) and does export innate attacks that have the melee modifier added to them.

From Armin (GCA):
If the ranged attacks in question appear on GCA's sheets, but are not getting exported correctly, it may be that the routine isn't checking correctly for a valid ranged attack. All ranged attacks should have a 'charrangemax' tag with a value (and all melee attacks should have a 'charreach' tag with a value). Such attacks may be of any trait type, not just Equipment. CharacterSheet.GCS includes a PrintRangedWeapons routine that uses the DamageModeX routines, and finds any trait with ranged modes and moves through those modes (if more than 1) to get the data needed to print. Same system would work for exporting data.
It's not the greatest code, but it shows a way to get the data needed.

From Armin (GCA):
If the ranged attacks in question appear on GCA's sheets, but are not getting exported correctly, it may be that the routine isn't checking correctly for a valid ranged attack. All ranged attacks should have a 'charrangemax' tag with a value (and all melee attacks should have a 'charreach' tag with a value). Such attacks may be of any trait type, not just Equipment. CharacterSheet.GCS includes a PrintRangedWeapons routine that uses the DamageModeX routines, and finds any trait with ranged modes and moves through those modes (if more than 1) to get the data needed to print. Same system would work for exporting data.
It's not the greatest code, but it shows a way to get the data needed.

From woefulhc
GCA characters.zip

From woefulhc
GCA characters.zip

I may have found the issue.   It seems the original script was checking for Equipment only when writing out ranged attacks, but NOT when writing our melee attacks.    Once I removed that restriction, it seems to export everything.

I am going to close the issue.  However, it may be a release or two before I get the script out there... my version handling for GCA imports kind of stinks... and I need to fix that before I can release the next version of the GCA script.

I may have found the issue.   It seems the original script was checking for Equipment only when writing out ranged attacks, but NOT when writing our melee attacks.    Once I removed that restriction, it seems to export everything.

I am going to close the issue.  However, it may be a release or two before I get the script out there... my version handling for GCA imports kind of stinks... and I need to fix that before I can release the next version of the GCA script.


[RFC] Nicer Signal

This is annoying:
require "signal"

Signal.trap(Signal::INT) do
  # ...
end

Well, not very annoying but a bit redundant. In Ruby it's a bit cleaner:
require "signal"

Signal.trap("INT") do
  # ...
end

The other day @waj came with the idea that we could transform Signal into an enum, and have trap be an instance method. That way you can do this:
Signal::INT.trap do
  # ...
end

We can also add ignore and default methods (maybe with a bang to show they do something?), to ignore a signal or reset it to the default one:
Signal::INT.ignore
Signal::INT.default

This will break some existing programs (looking at you, @jhass and @ysbaddaden), but that's the reason why we are still on 0.x, to remodel things as we discover new idioms and design patterns.
Another benefit is that you can list all signals because it will now be an enum.
What do you think?
(Right now this can't be implemented because of [this](private
private) and this, but once we are at 0.6.2 we could do it)

Would be nice with me +1
Don't randomly add bangs please, adopt a clear policy for them like Ruby core, that is if a bang variant exists a non-bang should exist. Technically .not_nil! would fail that, but we can add the raise on nil rule, we just should have a clear set of rules for adding a bang to a method, "signal they do something" is not a very good one.

I reopen Signal to avoid duplication, which forces me to use signals outside of any context (ie. I don't trap from an object instance).
module Signal
  trap(INT) do
  end
end

This problem is more global, sockets and logger also "suffer" from this. This is why Ruby is allowing symbols/strings to fetch the constant at runtime.
Actually Logger in Crystal redefines the Logger::Severity enum values into Logger to reduce the problem.

@jhass You are right, we should have a convention for the bang. In Ruby core it's "mutates the array", don't know if there's anything else. In Crystal it's the same, except we also have not_nil!, as you say. We could change it to not_nil without problem, but the "!" there is so you know you are doing something "dangerous" (actually an incorrect assumption) that might fail. I don't know.
@ysbaddaden The problem with Ruby's symbols and strings is that if you have a typo you find out at runtime. You also have to do a switch based on the value to find out the desired behaviour. In Crystal an enum solves both problems: you get a compile-time error on typos, and the "switch" is already done by the user by selecting a value from the enum. I prefer this small readability penalty in favor of the other two benefits. But, if we can improve the readability, like in Signal's case, then I'm all for it.

Ruby core convention is as follows:

If a method with a ! exists, there exists one without.
The variant without the ! returns a modified copy, it's usually implemented as obj = dup; obj.foo!; obj.
The variant with the ! modifies the receiver. It returns the receiver if changes were made, otherwise nil.

Rails derivatives a bit, I think it doesn't follow the "return nil" rule and adds the following rule, at least for ActiveRecord:

The version with the ! raises an exception on errors, the version without ! returns false instead.

As said, we don't have to follow these rules, we should just clearly define them. This is becoming increasingly offtopic though, maybe we should start a separate issue about this.

I do understand how better compile-time enums are vs runtime symbols, despite being more verbose. I just struggle to see the real need or benefit, to have a particular behaviour for signal enums vs others (sockets, logger, etc), so I'm challenging the idea in this RFC, to know whether this is great or not.
Having Signal be an enum would be better, for the aforementioned reasons. Yet I like the order of "signal trap x do y" which reads a bit better than "signal x trap do y". Maybe it's just habit.

This is already implemented :-)


Deprecate plugincheck in favor of plugincheck2

Remove plugincheck from the readme and only keep plugincheck2
Show a message to migrate to plugincheck2 every time it's ran. Do not remove code yet.
Add a deprecation notice to the readme.md of the plugincheck pkg
Mark code as deprecated https://stackoverflow.com/questions/7849663/how-do-you-mark-code-as-deprecated-in-go
Search for usages of plugincheck in the wild:

https://cs.github.com/?scopeName=All+repos&scope=&q=plugincheck+language%3AYAML#

At least 14 plugins are currently using it

@tolzhabayev since both of them are compatible can we start putting the plugincheck2 binary in place of plugincheck after a while?

Are they really replaceable / a drop-in replacement?

Are they really replaceable / a drop-in replacement?

The parameters are the same and the share the same configuration. I am not really sure why they were made as different projects. I'll ask around.

Ideally we should end up with one project that is versioned (like our go sdk) - we need to figure out what is better:

Keep plugincheck and release a new version of it and deprecate plugincheck2

Means we would have to migrate everyone and their CI's, etc. to plugincheck

Keep  plugincheck2 and deprecate plugincheck which I would not change at all, also not place another binary into it - just leave as is

Means we would have to keep plugincheck2 name forever and iterate on it using versioning. Naming might be a bit confusing.
Migrate everyone to use plugincheck2


Run on Pytorch 1.7.0

Dear Authors,
Thank you very much for sharing your code. As the minimum Pytorch version I can use is 1.7.0, I wish to know any ways to run your code on it.
If I directly run python setup.py install
It says RuntimeError: Error compiling objects for extension
Which is caused by: failed to build xxx/PRA-Net-master/_ext-src/build/temp.linux-x86_64-3.7/src/sampling.o (and ball_query etc.)
I also tried adding the following 3 lines in every .h and .cu file:
#ifndef AT_CHECK
#define AT_CHECK TORCH_CHECK
#endif
But still the same error.
Is there any other solution? Thank you in advance!

I followed quan-dao's solution here: https://github.com/sshaoshuai/Pointnet2.PyTorch/issues/26 and the cpp files are built. Now I can use them. Thanks


Remove clientconfig package

Desription
Resolve #36
Remove redundant package
Remove redundant dependencies
Acceptance test
=== RUN   TestClient_ClusterLifecycle
    containers_test.go:32: VPC for CCE created: vpc-euolhGkq
    containers_test.go:38: Subnet for CCE created: subnet-LL7vnWV1j
    containers_test.go:43: EIP for CCE created: <IP_ADDRESS>
    containers_test.go:63: Key pair for CCE created: vpc-euolhGkq
2021/02/24 15:38:58 Waiting for OpenTelekomCloud CCE cluster (43174012-769d-11eb-8fea-0255ac10169f) to become available
    containers_test.go:68: CCE cluster created: 43174012-769d-11eb-8fea-0255ac10169f
2021/02/24 15:43:47 Waiting for OpenTelekomCloud CCE nodes (efc7861a-769d-11eb-8fea-0255ac10169f,efc865a7-769d-11eb-8fea-0255ac10169f) to become available
    containers_test.go:92: CCE cluster nodes created: [efc7861a-769d-11eb-8fea-0255ac10169f efc865a7-769d-11eb-8fea-0255ac10169f]
2021/02/24 15:46:15 Waiting for OpenTelekomCloud CCE nodes (efc7861a-769d-11eb-8fea-0255ac10169f,efc865a7-769d-11eb-8fea-0255ac10169f) to be deleted
    containers_test.go:100: CCE cluster nodes deleted
2021/02/24 15:48:19 Waiting for OpenTelekomCloud CCE cluster (43174012-769d-11eb-8fea-0255ac10169f) to be deleted
2021/02/24 15:49:20 Still waiting for cluster 43174012-769d-11eb-8fea-0255ac10169f to be deleted
2021/02/24 15:50:22 Still waiting for cluster 43174012-769d-11eb-8fea-0255ac10169f to be deleted
    containers_test.go:102: CCE cluster deleted
--- PASS: TestClient_ClusterLifecycle (721.16s)
=== RUN   TestClient_CreateNewECS
    ecs_test.go:28: Server group created
    ecs_test.go:33: VPC created
    ecs_test.go:39: Subnet created
    ecs_test.go:44: Security group created
    ecs_test.go:49: Key pair created
    ecs_test.go:78: Instance created
    ecs_test.go:81: Instance deleted
--- PASS: TestClient_CreateNewECS (143.16s)
=== RUN   TestClient_LoadBalancerLifecycle
--- PASS: TestClient_LoadBalancerLifecycle (72.38s)
=== RUN   TestClient_CreateVPC
--- PASS: TestClient_CreateVPC (8.72s)
=== RUN   TestClient_CreateSubnet
--- PASS: TestClient_CreateSubnet (24.31s)
PASS
ok  	github.com/opentelekomcloud-infra/crutch-house/services	1219.477s

Process finished with exit code 0

regate


CustomProperties deprecated + Hydration failure

Deprecation: The CustomProperties component has been deprecated. See the v10 migration guide for replacing dark color scheme styles. https://github.com/Shopify/polaris/blob/main/documentation/guides/migrating-from-v9-to-v10.md
Error: Hydration failed because the initial UI does not match what was rendered on the server.
See more info here: https://nextjs.org/docs/messages/react-hydration-error
How do I fix this?

There's nothing to fix. It's an early deprecation message in V9, like mentioned in this issue.
Where and when are you getting the hydration error?

I don't know, if there is a way to suppress this error, but you should rather find the reason for the error.


handle action/sequence that does not export main

Also, some formatting, and removed console logs

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] 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)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@purplecabbage needs a conflict resolve because of https://github.com/adobe/aio-cli-plugin-app-dev/pull/3


Import tensorboardX instead of tensorboard

Line 9, from tensorboard import SummaryWriter should be from tensorboardX import SummaryWriter

thanks


payload for reset key not added

@pranesh239
I think in your code the payload function for the reset key is not been added. if this issue is valid then please assign me to this one I would like to contribute to this by adding the reset key payload action. also which one is the reset key as all the keys including the escape key has been used. And please add hacktoberfest tag if the issue is valid. if this is not valid then sorry for the misunderstanding and in that case I would like to learn what mistakes I have done?

What happened did I do some mistake because of which you are not replying? I have closed the PR and have mentioned above what I understood from your explanations, and I have made the changes needed according to the above explanation, so should I make a PR, or what please reply?

hey @saurabh-172 , actually we have resetKeyData function already, which does it!
Sorry for the delay. I was out of station.


Cannot connect to the Docker daemon & Sub-process /usr/bin/dpkg returned an error code (1)

Output of docker version:
Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.6.2
 Git commit:   b9f10c9
 Built:        Thu, 16 Jun 2016 21:17:51 +1200
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

Output of docker info:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

Output of systemctl status docker.service:
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled
  Drop-In: /etc/systemd/system/docker.service.d
           └─docker.conf
   Active: failed (Result: exit-code) since Thu 2016-09-01 14:34:00 ICT; 14s ago
     Docs: https://docs.docker.com
  Process: 10581 ExecStart=/usr/bin/dockerd -H fd:// -D --tls=true --tlscert=/var/dock
 Main PID: 10581 (code=exited, status=203/EXEC)

Sep 01 14:34:00 ubuntu systemd[1]: Starting Docker Application Container Engine...
Sep 01 14:34:00 ubuntu systemd[1]: docker.service: Main process exited, code=exited, s
Sep 01 14:34:00 ubuntu systemd[1]: Failed to start Docker Application Container Engine
Sep 01 14:34:00 ubuntu systemd[1]: docker.service: Unit entered failed state.
Sep 01 14:34:00 ubuntu systemd[1]: docker.service: Failed with result 'exit-code'.

Output of systemctl status journalctl -xe:
Sep 01 14:33:44 ubuntu audit: CWD cwd="/var/lib/docker"
Sep 01 14:33:44 ubuntu audit: PATH item=0 name="/usr/bin/docker" inode=17303833 dev=fc
Sep 01 14:33:44 ubuntu audit: PATH item=1 name="/lib64/ld-linux-x86-64.so.2" inode=175
Sep 01 14:33:44 ubuntu audit: PROCTITLE proctitle=646F636B6572007073
Sep 01 14:33:49 ubuntu audit[10520]: SYSCALL arch=c000003e syscall=59 success=yes exit
Sep 01 14:33:49 ubuntu audit: EXECVE argc=2 a0="docker" a1="images"
Sep 01 14:33:49 ubuntu audit: CWD cwd="/var/lib/docker"
Sep 01 14:33:49 ubuntu audit: PATH item=0 name="/usr/bin/docker" inode=17303833 dev=fc
Sep 01 14:33:49 ubuntu audit: PATH item=1 name="/lib64/ld-linux-x86-64.so.2" inode=175
Sep 01 14:33:49 ubuntu audit: PROCTITLE proctitle=646F636B657200696D61676573
Sep 01 14:34:00 ubuntu systemd[1]: Starting Docker Socket for the API.
-- Subject: Unit docker.socket has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.socket has begun starting up.
Sep 01 14:34:00 ubuntu systemd[1]: Listening on Docker Socket for the API.
-- Subject: Unit docker.socket has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.socket has finished starting up.
--
-- The start-up result is done.
Sep 01 14:34:00 ubuntu systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
Sep 01 14:34:00 ubuntu systemd[10581]: docker.service: Failed at step EXEC spawning /u
-- Subject: Process /usr/bin/dockerd could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/bin/dockerd could not be executed and failed.
--
-- The error number returned by this process is 2.
Sep 01 14:34:00 ubuntu systemd[1]: docker.service: Main process exited, code=exited, s
Sep 01 14:34:00 ubuntu systemd[1]: Failed to start Docker Application Container Engine
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has failed.
--
-- The result is failed.
Sep 01 14:34:00 ubuntu audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967
Sep 01 14:34:00 ubuntu systemd[1]: docker.service: Unit entered failed state.
Sep 01 14:34:00 ubuntu systemd[1]: docker.service: Failed with result 'exit-code'.

Output of uname -a:
ot@ubuntu:/var/lib/docker# uname -a
Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:

apt-get install docker.io

Errors were encountered while processing:
 docker.io
E: Sub-process /usr/bin/dpkg returned an error code (1)

docker ps -a

An error occurred trying to connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.23/containers/json: read unix @->/var/run/docker.sock: read: connection reset by peer

Additional information you deem important (e.g. issue happens only occasionally):

////////////////////
// Solution
////////////////////

create a new file /etc/systemd/system/docker.service.d/overlay.conf with the following content:

[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// -s overlay

flush changes by executing:

sudo systemctl daemon-reload
3. verify that the configuration has been loaded:
systemctl show --property=ExecStart docker
4. restart docker:
sudo systemctl restart docker


Using the  Tag

Hello,
I want to thank you for the new updates of Visual Studio IDE and all the shiny .netCore. I think the documentation is not cathing up though and might need to be updated to reflect some basic use-case scenarios.
Comparing Microsoft's documentation link:
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/inheritdoc
to something like:
https://tunnelvisionlabs.github.io/SHFB/docs-master/SandcastleBuilder/html/79897974-ffc9-4b84-91a5-e50c66a0221d.htm
For example, it's not obvious there can be nested inheritance in the above link #Nested
or the new feature such as the quick info style support for XML comments and using
codeemphasisstrong
https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.3#16.3.0
is not reflected in
https://docs.microsoft.com/en-us/dotnet/csharp/codedoc

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

ID: 04441bbc-7e98-d6df-2c5a-20e816d79dc7
Version Independent ID: ba155807-a2b0-8982-abe7-fac1e2b51a7d
Content: <inheritdoc> - C# Programming Guide
Content Source: docs/csharp/programming-guide/xmldoc/inheritdoc.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Adding @mikadumont to discuss the correct fix for this.