Different path to gpio on Atmel Sama5d3x

Hi
Thanks for the library. I had to change it a bit to make it work on my board, Atmel sama5d3 xplained with kernel 5.4.
To enable GPIO E14 as an output I do:
echo 142 > /sys/class/gpio/export
then
/sys/class/gpio/pioE14
appears but not
/sys/class/gpio/gpio142
The only reference to this naming is in:
https://www.at91.com/viewtopic.php?t=23943
I don't know if this is Atmel specific behavior since all other info I find refer to
/sys/class/gpio/gpio142
so the user may have to be able to select format.
The patch below works nicely on my Atmel board
Regards
Gudjon
@@ -27,7 +27,13 @@ path = os.path
pjoin = os.path.join

gpio_root = '/sys/class/gpio'
-gpiopath = lambda pin: os.path.join(gpio_root, 'gpio{0}'.format(pin))
+#gpiopath = lambda pin: os.path.join(gpio_root, 'gpio{0}'.format(pin))
+def gpiopath(pin):
+    if pin < 0:
+        return False
+    l = ['pioA','pioB','pioC','pioD','pioE']
+    return os.path.join(gpio_root,"%s%d"%(l[pin>>5],(pin&0x1F)))
+
_export_lock = threading.Lock()

_pyset = set

That is... pretty strange behavior. At first I thought maybe it was using hexadecimal numbers, but your "fix" wouldn't work for that case, so I'm not sure.
I think the right way to do this would be to have an exposed function for changing the implementation of gpiopath, maybe with a few possibilities provided.

Looks like the GPIO banks are the upper 3 bits of the GPIO number, and it's N banks of 32 IO pins.
I've never seen this setup before, but I guess it could be called "banked GPIO."
It was my understanding that the kernel driver was supposed to flatten this out to a single consistent numbered set of pins since GPIO banks are a largely irrelevant hardware implementation detail (because your GPIO registers on a 32-bit system can only be 32-pins wide).
I can't find any reference for how this should work, and I can't find the source for the Sama5d3x driver that implements this... oddity. As such I don't know if we can expect any consistency across platforms with banked GPIO- ie: are banks always A, B, C, D, E, F etc and are pin numbers always expressed in hex and is it always pioE14.
A GitHub-wide search suggests this isn't an Atmel-only pattern- https://github.com/search?q=%2Fsys%2Fclass%2Fgpio%2Fpio&type=code
But then here's the exception to prove the rule - https://github.com/ec-jrc/airsenseur-sensorshost/blob/65a039d8cf0d93f2ccbb8d23abf21c33a10c4b08/Software/HostBoard/Linux/custom/Scripts/usr/local/airsenseur/init_pio#L33-L36
And a similar pattern - https://github.com/chuffman93/cdh-fsw/blob/b56ec0cd6c40b882e03ae78aab0be7868881ce6d/src/servers/CDHStdTasks.cpp#L192-L201
So we have:

Banked GPIO
Format of /sys/class/gpio/pio<bank><pin>
Where <pin> can be either hexadecimal or decimal

Which could be supported in my incoming PR (https://github.com/vitiral/gpio/pull/22) using the class-based approach.
For example:
import gpio

pin = gpio.GPIOPin(14, gpio.OUT, banked=True, mode=gpio.HEX)

Or, perhaps, a global state set in the library:
import gpio
gpio.configure(banked=True, mode=gpio.HEX)

pin = gpio.GPIOPin(14, gpio.OUT)

With a view to identifying if it's possible to auto-detect this and have the library configure automatically.
But we don't know:

If there are any other formats for /sys/class/gpio/pio (maybe offer prefix= in configure)
If there are any other supported bank sizes... ie: for 16 (unlikely) or 64bit registers
If the method for unpacking a number into a bank/GPIO is consistent

Hi Philip
Thanks a lot for the answer. I find all the examples consistent with the link to at91 above
https://www.at91.com/viewtopic.php?t=23943
The banks are numbered A to F and the pin numbers 0 to 31 decimal.
I will test your new code ASAP.

There's no support for it yet, but I'm making up banked GPIO as a potential enhancement to the library. I'd like to get 1.0.0 released first and build upon that- time provided!

What happens if you- for example - echo E14 > /sys/class/gpio/export.
Does that fail, or successfully export /sys/class/gpio/pioE14?


[INFINITY-1054] Fix suppression by only considering running plans whe…

…n deciding when to suppress
I've tested manually that this works, but writing an integration test is blocked on https://jira.mesosphere.com/browse/INFINITY-1055, because the /v1/state/properties/suppressed endpoint is broken.

@gabrielhartmann See the description.  I can't check suppression state from an integration test.

PR 589 has a fix for the caching issue and exercises the property retrieval in an integration test: https://github.com/mesosphere/dcos-commons/pull/589/files#diff-eb978dabd90a8fa48c742f28b2b56c14R149

@gabrielhartmann Updated with an integration test, and ready for review.

retest this please

retest this please

retest this please

Thanks @mrbrowning


What is the font used in the screenshot?

Great work, loving and using it as my daily driver. Wondering what is the font family displayed in the README screenshots?

Font Family: Menlo, Monaco, 'Courier New', monospace
Terminal Font: Hack Nerd Font Mono


Fixed #34566 : ModelAdmin get_field_queryset uses related admin ordering

ticket - #34566
ModelAdmin get_field_queryset uses related admin ordering, but not related admin querysets.

Hello @Krishna2864! Could you please fix the code style issues, and also the tests failures? Thanks.


switch to grayskull update

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/test_tmp/run_test.py", line 2, in <module>
    import threeML
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/__init__.py", line 24, in <module>
    from threeML.io.logging import setup_logger
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/io/__init__.py", line 1, in <module>
    from .logging import (activate_logs, activate_progress_bars, activate_warnings,
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/io/logging.py", line 7, in <module>
    from astromodels import astromodels_config
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/astromodels/__init__.py", line 16, in <module>
    from .core.model import Model
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/astromodels/core/model.py", line 16, in <module>
    from astromodels.core.parameter import IndependentVariable, Parameter
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/astromodels/core/parameter.py", line 17, in <module>
    from astromodels.utils.logging import setup_logger
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/astromodels/utils/logging.py", line 19, in <module>
    from threeML.config.config import threeML_config
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/config/__init__.py", line 1, in <module>
    from .config import threeML_config
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/config/config.py", line 5, in <module>
    from .config_structure import Config
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/config/config_structure.py", line 5, in <module>
    from .catalog_structure import Catalogs, PublicDataServer
  File "/home/conda/feedstock_root/build_artifacts/threeml_1699524977267/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/site-packages/threeML/config/catalog_structure.py", line 26, in <module>
    @dataclass(frozen=True)
     ^^^^^^^^^^^^^^^^^^^^^^


Upgrade to SITCore is wrong

The description of upgrading from G30 and G80 are backwards and need reworking. SITCore SC100 is LQFP100, similar to G80, not LQFP64.

here is more info
SC20100SvsG80.pdf

here is more info
SC20100SvsG80.pdf

Made changes to documentation that need to be reviewed before final pull request submission.

Made changes to documentation that need to be reviewed before final pull request submission.


MySQL problem

I setup a MySQL database today to sync LuckPerms groups and permissions over my network, I have 5000 as the max_connections but when launching my servers luckperms still gives an error that all the connections have been used. The database worked for about 3 hours before I got this error.

I got more info on the issue: When I connect my bungeecord server and 1 spigot server it takes up 66 of the max 5000 threads, once I connect up another spigot server it says the max_connections have been exceeded

@vincevd1 did you check the config or the live MySQL server for the value of max connections?
These values can be changed at runtime and so the config value is not reliable. Also changing that value from config requires a restart of the MySQL server.
And lastly if you're using MariaDB (an improved version of MySQL and the default for many newer linux systems (even when installing "MySQL", they install MariaDB instead (It's 99.9% compatible))) it's possible, that you're changing the value in the wrong config. MariaDB has several configs. And I'm never sure which one it actually uses, so be sure to look around. There should be at least two almost identical configs. Make sure they are identical.

I checked the live max_connections, I rent my minecraft servers from a hosting company, they supply a free MySQL database with every server, so I don't use MariaDB, and 5000 max connections are set as default (I checked in the PHPMyAdmin control panel.

Then you need to contact your hoster.

To higher the max_connections? It's on 5000 I don't think it should be any higher

No to help you debug what's the issue.
One server doesn't create several thousand connections.
It's possible that they have a lower limit on the server than on your account.

Ah yea that could be it

Fixed, the issue was that "max_user_connections" was on 30 thanks for your help!

You're very welcome


How to Install in Windows

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

Sir,
Please Provide Detailed process to use it on Windows, Because when i click on Exe file, an command pom-pat open and close automatically

You need to open a Command Prompt window where you can type commands such as youtube-dl --version and others illustrated in the Manual.

@jsdpr15
Introduction to the Command Line


PHP Warning:  PHP Startup: Unable to load dynamic library ....undefined symbol: _ZN3Php9ExtensionD1Ev

HI,
Anyone else has encounted this error before ? how did you fix it?
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/functionvoid.so' - /usr/lib/php5/20121212/functionvoid.so: undefined symbol: _ZN3Php9ExtensionD1Ev in Unknown on line 0
PHP Fatal error:  Call to undefined function my_void_function() in /path/to/your/project/php-cpp/Examples/FunctionVoid/functionvoid.php on line 13

In a seperate comment you mentioned that you threw away the entire Zend directory of PHP-CPP, and replaced it with a different directory -- if that is really what you did, it is not more than logical that you're now running into errors like this.


test fixtures

Missing text fixtures from last PR for #42

Current coverage is 95.85%

Merging #44 into master will increase coverage by +0.04% as of 26eb0b9

@@            master     #44   diff @@
======================================
  Files            7       8     +1
  Stmts          454     483    +29
  Branches         0       0
  Methods          0       0
======================================
+ Hit            435     463    +28
  Partial          0       0
- Missed          19      20     +1

Review entire Coverage Diff as of 26eb0b9

Powered by Codecov. Updated on successful CI builds.


Develop and Run SAP Fiori Application With SAP Business Application Studio

Tutorials: https://developers.sap.com/tutorials/abap-environment-deploy-cf-production.html
Step 2: Create dev space:
2.Check the privacy statement and click OK.
This step is not required anymore, hence the screenshot should be removed.
3.Now the SAP Business Application Studio has started. Click Create Dev Space.
Here, screenshot has to be changed.
Expected result:

Actual result:

Labels :
Landscape Labels: trail1, trail2
SCPTest-fabap : Develop a Fiori App Using ABAP
Label: SCPTest-2102A
Priority label : 'Low'
Thanks and regards,
Farozan

Hi @FarozanFarman ,
thank you for your e-mail. We will address this issue as soon as possible.
Best regards,
Merve

Hi @MichaelCzcz ,
I created following pull request for this issue: #6552.
Can you merge?
Thank you.
Best regards,
Merve


Too many connections with cluster mode.

My Environment

ArangoDB Version:        3.3.19
Storage Engine:             RocksDB
Deployment Mode:       Cluster
Deployment Strategy:   Manual Start
Configuration:               https://github.com/arangodb-helper/arangodb
Infrastructure:               Virtual Machine on vSphere of OVH system.
Operating System:        CentOS
Used Package:              CentOS

Steps to reproduce

Using ArangoImp tool to import many large list of JSON in concurrent
Go to ArangoDB Site and found over 11345 connection
Use netstat checking and show too many connections in ESTABLISHED

[2:51 PM] Nick: [root@arangodb02 ~]# netstat -tnp | grep <IP_ADDRESS> | wc -l
11436
[2:51 PM] Nick: tcp6       0      0 <IP_ADDRESS>:8529        <IP_ADDRESS>:53448    ESTABLISHED 1591/arangod
tcp6       0      0 <IP_ADDRESS>:8529        <IP_ADDRESS>:62621    ESTABLISHED 1591/arangod
tcp6       0      0 <IP_ADDRESS>:8529        <IP_ADDRESS>:65147    ESTABLISHED 1591/arangod
tcp6       0      0 <IP_ADDRESS>:8529        <IP_ADDRESS>:54801    ESTABLISHED 1591/arangod
tcp6       0      0 <IP_ADDRESS>:8529        <IP_ADDRESS>:59703    ESTABLISHED 1591/arangod
tcp6       0      0 <IP_ADDRESS>:8529        <IP_ADDRESS>:61421    ESTABLISHED 1591/arangod

Problem:
Too many connections still keep in ArangoDB
Expected result:
Should clean out all connection.

Hi,
could you retry using the arangoimp of the 3.4 RC? ( https://www.arangodb.com/download-technical-preview/ )
Its a bit cleverer at not outpacing the cluster so it should stop this situation from happening - its documented over at https://docs.arangodb.com/3.4/Manual/Programs/Arangoimport/Details.html#automatic-pacing-with-busy-or-low-throughput-disk-subsystems

@dothebart  I tried again with ArangoClient 3.4 RC using arangoImport.exe. The connection still increases high over 800.

Hi,
Is there any update about this issue?

With ArangoDB 3.4 @matthewvon  introduced a new autopacing algorithm with arangoimport not to overload the servers while importing which should make sure that clusters don't get overloaded with imports though offering maximum available throughput.
If you still experience problems with latest ArangoDB versions, please provide figures about I/O saturations on your system, the size of your import, and other figures.

Connection count:  is 800 connection count between the importing machine and the one cluster coordinator, or between the coordinator and all db servers (plus the importing machine)?

Hi,
we haven't heard back from you in a while; since we have no way to reproduce or work on this issue without further information, I will close this now.
If you have further details please let us know so we can reopen this, or create a new issue.


Pulsar Panda

Summary
Fly through space in your little fighter ship as Panda McGraff, blowing up the forces of the evil Oinkerny. Shoot down entire formations, keep your buddies alive, and figure out what Oinkerny's forces are hiding.
Star Fox? What's that?
Technical Spec
This game would rely on a 3D renderer. It wouldn't implement any sort of complex shadows, textures, or advanced techniques do to the inherent limits of the ESP32-S2. This game is largely dependent on the 3D renderer running fast enough on enough triangles to create a game. The original Star Fox ran abysmally, but this is 2026, not 1993. Presumably, anything over 20-30 FPS would be acceptable.
An entire 3D Render pipeline will be created for this game.
Game will play similarly to Star Fox on the SNES.

Game will require:

Buttons/C-stick/Tilt for movement controls
A to fire lasers
B to fire a bomb
Maneuvers can be mapped to whichever of C-stick and directional buttons aren't being used to steer.

You know we had a 3D flight sim a few years? It was just wireframe renders though. You could build on that. Or DIY, up to you.

Yep. Played it a bit.
Still want to tackle it myself if I can.


v2.4.25 is acrylic back?

What feature or improvement do you think would benefit Files?
I've read several articles and forums where they say that with the latest Win 11 updates the acrylic feature works fine.
Requirements

Go to settings
appearance
enable acrylic

Files Version
Versione 2.4.25
Windows Version
Windows 11 Pro Versione 22H2
Comments
Please reactivate the acrylic function I would like to enjoy the new features of the new versions

See comment https://github.com/files-community/Files/issues/10690#issuecomment-1387196659

Since you are on Windows 11 you can try the alternative glass theme at https://files.community/docs/configuring/custom-themes


Generated JS source files should be camel cased

The generated JS source files created by npm run build, the file names are not camel-cased. The file names are all lowercase.
Example: service ShoppingCartVeToTopic generates shoppingcartvetotopic.js.

The current behavior aligns with JS conventions:
https://www.w3schools.com/js/js_conventions.asp

Use Lower Case File Names

also Google:
https://google.github.io/styleguide/jsguide.html#file-name
and more independent sources:
https://newbedev.com/what-is-the-javascript-filename-naming-convention
https://stackoverflow.com/a/7273448/7898052
@mckeeh3 any specific reason to not follow the standard for JS?

Ok, what about underscores or hyphens? My guess is that in the proto defs that longer compound names will be common.


Inline Edit

Hey there,
Sorry for creating issues, maybe a Slack Channel / Gitter / any other Chat would be nice for small things like this :)
I like to enable the inline editing function, how is this done?

Hi again!
This feature is not implemented yet. I'll try to work on this soon.

I made it to work!

{{ element.value }}

It also works without the directive. Just with the included ckeditor.js file. I will test this out. Really great feature!

I didn't find a real use case for this, i close it for now

@smith64fx could you please provide some more details ? because just with the contenteditable=true and the script loaded, it doesn't seems to work for me...
Did I missed something ?
cheers.

@BBegouin You do not actually need ng2-ckeditor to use inline mode. You just need to add the library using a script tag in your index.html head.
ng2-ckeditor allows you to create an instance of the editor as an Angular component:

But if you are using ng2-ckeditor, then you already loaded the ckeditor.js files (via npm basically) so you don't need to add it again to index.html as script tag.
So, either way, the library is loaded and all you need for inline editing is to do exactly as @smith64fx said - add contenteditable="true" to ANY element you want inline editing.
So NOT this:
<ckeditor contenteditable="true"></ckeditor>
as that is trying to tell the angular component you want it to switch to inline (impossible).
Instead, replace your ckeditor with a standard HTML element that you want to have inline editing on, eg:

Docs here.

I tried this also, and that is what it says in the docs here
but it does not work. @smith64fx can you provide more details please?

There is a directive here, but that seems overkill if we only need to use contenteditable="true"!

I figured out how to do this. Very simple. Solution posted here.


Additional modalities detection

[x] detect tabular
[x] detect timeseries

thanks for the addition on timeseries @lhoestq

(feel free to add a test, it should be straightforward as we have similar cases already!)


Virtual service routes ignored when httpsRedirect: true in port 443 section

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
Don't ignore virtual service paths when https redirect is set (incorrectly on port 443). Just warn on the httpsredirect being set on port 443, since your already https you don.t need to redirect
Steps to reproduce the bug
probably related to https://github.com/istio/istio/pull/24958
in the gateway.yaml: have httpsRedirect:true on port 443
spec:
selector:
istio: ingressgateway
servers:

port:
number: 443
name: https
protocol: HTTPS
hosts:

hostname
tls:
httpsRedirect: true
mode: SIMPLE
credentialName: sslSecretName

Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
istioctl version
client version: 1.7.0
control plane version: 1.7.0
data plane version: 1.7.0 (561 proxies), 1.6.8 (2 proxies)
kubectl version --short
Client Version: v1.17.7
Server Version: v1.17.11+IKS
How was Istio installed?
IBM managed istio
Environment where bug was observed (cloud vendor, OS, etc)
IBM Cloud
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

@ceastman-ibm thanks for discovering/reporting this.  I imagine it can take you a few hours to track this down.
@howardjohn @rshriram is this as designed, users should not be doing httpsredirect... and we should warn user properly on this?  Seems good to fail at validation time except users may already have this (coming from 1.6 to 1.7), which they will need to run analyzer to discover it.
cc @esnible

I need to look into it a bit more but we can likely either fail in the webhook or add a warning if it's set. If we go with warning we should make the code just ignore it instead of break

@linsun users should be able to do httsredirect. It just needs to be on port 80.
I had it set on port 443 which was wrong (it just didn't fail in istio < 1.7 ) . Httpsredirect doesn't make sense on port 443 since that is already https so there is no need to redirect to 443.

@ceastman-ibm Yes, agreed, only didn't make sense if it is already using https.
@howardjohn yep at least warning... i think fail would be good if we can detect it precisely, e.g. when a VS is bounded to such a GW but users can deploy VS first.

I am happy to write an analyzer for this.
I am uncertain what the exact triggering condition for the warning should be.  Any Gateway with httpsRedirect AND port 443?

Thanks Ed!
Yes, pretty much any config like this where httpsRedirect: true is used on HTTPS protocol, which is port 443 by default for our gws.
  - port:
      number: 443
      name: https
      protocol: HTTPS
    hosts:
    - hostname
    tls:
      httpsRedirect: true

We shouldn't be so quick to write an analyzer IMO, lets first make sure we fully understand the problem and ensure Istiod is handling it correctly.

HI @howardjohn @esnible - I am trying to understand what the "Analyzer" is related to this issue. Any pointer would be really useful.

@pramodrj07 we are referring to https://istio.io/latest/docs/ops/diagnostic-tools/istioctl-analyze/. But I strongly encourage us to NOT just create an analyzer and close this, but rather fix the root issue. And I also recommend we do not write a new analyzer and just instead add a warning (like https://github.com/istio/istio/pull/27445)

@howardjohn - Yes Definitely. I was trying to understand the issue and what the comments were about. Basically trying to learn. Thanks for the pointer. This helps.

/assign


Don't expand OPS rbac tree by default

Cut down the amount of scrolling necessary when managing Access Control.
https://bugzilla.redhat.com/show_bug.cgi?id=1381647.
Before:

After:

@miq-bot add_label ui, bug

@dclarizio @jonnyfiveiq Do we really want the access control tree behave like this? (i.e. to be
closed by default) The other trees are open by default, so this would create inconsistency. Besides,
I don't think we have any default behavior wrt to trees open / closed by default in our application.
The bz report says there's too much items, which seems like a vague reason to me and if this
would be my call, I'd probably just close the bug with wontfix and leave things as they are right now.

That is one of those bugz where the QE is actually trying to do UX work. I don't think we can just implement what the QE guy wrote w/o some discussion. So I :+1: what @mzazrivec wrote.

After discussing and researching with @h-kataria, we've noticed that in the past (thinking before dynatree and treebuilder), the Config accordion trees were not fully expanded, to keep the tree uncluttered, at least initially.  I can see for Access Control, if there are many users or even a lot of groups discovered from an external authentication source, it could get quite large.
So, I think this is a valid PR, but we need a follow up PR to not fully expand the Settings and Diagnostics trees as well (only the branch to the currently selected server should be expanded on initial load).
@bmclaughlin please add before/after screenshots to the first comment and create another PR to cover the other accordions so they only expand 1 node below the root, initially, as described above.  All of these changes should be against the initial BZ.
Thx, Dan

@bmclaughlin while making changes to other accordions as suggested by @dclarizio , we need to make sure that in Settings & Diagnostics trees Zone(current zone) node with current server is expanded on initial load.

Euwe backport details:
$ git log -1
commit 94e85e26751d60a30ebff3c70084ed93718b6576
Author: Milan Zázrivec<EMAIL_ADDRESS>Date:   Wed Dec 7 15:56:07 2016 +0100

    Merge pull request #12173 from bmclaughlin/dont-expand-ops-rbac-tree-by-default

    Don't expand OPS rbac tree by default
    (cherry picked from commit 897f8fd4e7c6ab7ed9a34e8fcd13aeefae1affcc)

    https://bugzilla.redhat.com/show_bug.cgi?id=1411973


CWL fixes and dependencies update

Tests are passing and https://github.com/sanctuuary/APE/security/dependabot/16 is solved


FunctionEvaluator: fix typo UNIX_TIMESTAPM() -> UNIX_TIMESTAMP()

@sergiosalvatore any chance I can ask for a review? Should be pretty trivial


Create ExternalPreimage flag on Invoices

This change adds an ExternalPreimage indicator on Invoices, and updates the AddInvoice RPC to be able to set that flag.
When this indicator is set, the user must include an r_hash, which will now be persisted with the Invoice. ExternalPreimage invoices are meant for invoices where the preimage is not stored locally in the LND instance's storage, but offsite in another system.
Actually using these invoices in a payment flow is forthcoming in another change.

@treygriffith this LGTM. Did we want to setup CI for this repo?


Couple of additional APIs

This list is awesome. Some more APIs you may want to the list
http://www.mygasfeed.com/keys/intro
http://www.brewerydb.com/developers

Hey @nelsonkd, thanks for the support! We'd love for you to open a pull request that adds these two (and any other) services into the project. Feel free to check out other pull requests and our contributing guide.  :)


Unable to get custom type shaped colliders

Hi,
I would like to identify the dimensions of my collider.
I am able to currently do so for a ball like so
if let Some(polygon) = collider.shape().as_ball() {
  return (polygon.radius * 2.0, polygon.radius * 2.0);
}

But I am unable to perform this same action for an Ellipse.
I can see in the gizmos that you achieve this internally via
if let Some(ellipse) = collider.shape_scaled().as_shape::<EllipseWrapper>() {
  ...
}

But EllipseWrapper, and other parry/primitives are unavailable.
Is this intentional? Is there anyway I can get this data? Thanks.
Workaround
Use a non-custom type shape

Hello, we tried to solve the issue.
This is what we did:

Expose EllipseWrapper and RegularPolygonWrapper in the public API.
Add a new method to Collider to get dimensions for various shape types, including custom shapes.
Implement the new method for different shape types.

You can review changes in this commit: https://github.com/zxsa89675/Jondolf-avian-595/commit/1291dec3da23d2b54537b31f1bab900c98bb5eb5.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Hah, I guess we're getting AI responses now... That account should now be blocked :P
Those wrapper types were originally created just to allow creating colliders from Bevy's shapes that are not supported by Parry, and I didn't consider that people might want to access them at runtime too. It's a valid use case though, so I opened #596 to make them public :)

Thanks @Jondolf , this works for me now ❤


[bug] wrong code generated for repeated num items

Issue
When a validation rule below is set for a repeated num item:
repeated int32 x = 1 [(validate.rules).repeated.items.int32 = {in: [0, 1]}];

The code is generated as follows:
	for idx, item := range m.GetX() {
		_, _ = idx, item

		if _, ok := _HelloRequest_X_InLookup[item]; !ok {
			return HelloRequestValidationError{
				field:  fmt.Sprintf("X[%v]", idx),
				reason: "value must be in list [0 1]",
			}
		}

	}

However,  the _HelloRequest_X_InLookup is omitted, which leads to a compiler error. For example,
../sudo.pb.validate.go:212:15: undefined: _SudoDetail_ITemplateAllowHours_NotInLookup

Suggestion
The issue resembles the one fixed in: https://github.com/envoyproxy/protoc-gen-validate/commit/478e95eb5ebe9afa11d767b6ce53dec79b6cc8c4
Add template codes in /templates/goshared/msg.go can fix this issue. For instance,
	{{ if has .Rules.Items.GetUint32 "NotIn" }} {{ if .Rules.Items.GetUint32.NotIn }}
		var {{ lookup .Field "NotInLookup" }} = map[uint32]struct{}{
			{{- range .Rules.Items.GetUint32.NotIn }}
				{{ inKey $f . }}: {},
			{{- end }}
		}
	{{ end }}{{ end }}

Any better solutions?

Nope, that sounds like the right way to go. @martinzhou2015 would you be able to send a PR?


mysqli_query(): (21000/1242): Subquery returns more than 1 row

and ds error looks this way:

I think this is a LSE bug, not a core bug. Which fields to you have in that section ?

it was a dupe on entry_id field; i had search and delete one of them.
somehow, i experienced the same issue as vlad

these are the fields of that section

Yeah, I've run into that problem many times before. See #2401

It was the Textbox field, right? It looks as if it has not been fixed similar to other fields. The line in question should actually be:
UNIQUE KEY `entry_id` (`entry_id`),

This should fix your the main issue of having non-unique entry IDs.
(Given the fact that this extension experienced not a single commit for two years now, I personally wouldn't rely on it at all. Some day we should really start whitelisting/blacklisting extensions.)

It was the Textbox field, right

Yeah but other fields have similar problems.

Closing as this isn't a core issue.

(Given the fact that this extension experienced not a single commit for two years now, I personally wouldn't rely on it at all. Some day we should really start whitelisting/blacklisting extensions.)

@michael-e : I guess the main problem with textbox-field is not that it's not maintained, but that the maintained version isn't promoted anywhere.
Symphonyextensions only lists @psychoticmeow's repo, that in fact hasn't been updated for more than two years. But there is a symphonists-fork that has been:
The bug described above (duplicate entries in database) has been fixed by brendo in version 2.3.4 more than a year ago.
And there has been a 2.4.0-release with other fixes less than a year ago.
It would be great to have the actively maintained repo listed on symphonyextensions (and linked in the multilingual field repo that extends textbox).
So the first thing that should be decided is if the symphonists-repo should officially be promoted/linked instead or rowans repo. @psychoticmeow, @brendo,@nitriques - thoughts on this?

Yes it should, but I can't do it because the site doesn't work since I changed my name on GitHub. So manual intervention will be needed.

@nickdunn @allen This has come up a couple of times recently, and there's a few odd jobs stacking up on Symphon Extensions. Who has the keys to the site these days, and can I borrow them?

@twiro Yes we have some cleanup to do on Sym Ext. But I do not have any access to do it (which I'd like to get...)

The symphonyextensions site is currently being handed off from Nick to our server environment. I've done the last few tasks that @nickdunn has asked me to do to get the new server up and running. Nick just have to change across the DNS settings and the new server should be in working working order. Anyone that has access to the symphony hosting repository will have access details to the server.

Thanks @allen!

Thanks for the feedback guys!

The symphonyextensions site is currently being handed off from Nick to our server environment.

Sounds good!
Symphonyextensions.com has proven immensely useful for me over the last years (lots of thanks to @nickdunn who has done incredible work here) and as the main symphony website feels quite outdated regarding extension-listings (and a bit asleep in general) it would be of great benefit for the symphony eco-system to see that important resource up to date and actively maintained.
I guess a separate issue tracker for symphonyextensions.com would be of huge help when trying to improve quality of extension-listings, so would a symphonyextensions.com-repo on github make sense in your eyes? (wouldn't need to host the actual website-code there, but maybe that would make sense too regarding the current changes in maintenance for that website...)
Extension-developers could discuss all things related to extension-listings there instead of doing so in lots of different (and not that focused) communication-channels like the main symphony repo, the forum, twitter, gitter, etc. - and regarding @michael-e's proposal ("Some day we should really start whitelisting/blacklisting extensions") - that would feel like a perfect place to discuss that kind of stuff and decide upon the state/usefulness of abandoned/deprecated extensions.
And an own repo could also be used for discussing general improvements regarding the extension-eco-system.
what do you think?

Yes we have some cleanup to do on Sym Ext. But I do not have any access to do it (which I'd like to get...)

My vote for @nitriques getting write access :+1:
Maybe Extension Downloader could get more tightly coupled with the symphonyextensions-site and promoted as tool of trade there. (Though it's not up to date right now, right?). And would be awesome to see this extended as a kind of extension manager that handles updates too... just dreaming :)

I guess a separate issue tracker for symphonyextensions.com

I vote for that !

"Some day we should really start whitelisting/blacklisting extensions"

There's a deprecated status value, but in order to update it, we need write access to the repo...

My vote for @nitriques getting write access :+1:

Thanks :)

Maybe Extension Downloader could get more tightly coupled with the symphonyextensions-site and promoted as tool of trade there.

It could !

(Though it's not up to date right now, right?)

I am not aware for any bugs... could you report them ?

(Though it's not up to date right now, right?)

I am not aware for any bugs...

Last supported Symphony version was 2.4.x.

Last supported Symphony version was

It's just a matter of updating the xml file. I've used it with 2.6.x. Again, lazy (or forgotten).


Dynamic index buffers primitive count not updated.

I'am creating a BGFX driver for Irrlicht Engine. Its working so far, but implementing Dynamic Vertex and Index Buffers, that will be reused after endScene is called, leads to overdraw of geometry. It seems that the count of primitives or the size of the buffer is not set correctly if new data is provided with bgfx::update function, especialy if the new data is smaller than the buffer size. If done with vertex buffer that will be deleted after usage, all is correct. Sorry, no example at the moment.

		bgfx::setState(BGFX_STATE_DEFAULT);
		if (indexList) {
			if (!bgfx::isValid(ibh)) {
				ibh = bgfx::createDynamicIndexBuffer(primitiveCount * 3,(iType == EIT_16BIT ? BGFX_BUFFER_NONE : BGFX_BUFFER_INDEX32) | BGFX_BUFFER_ALLOW_RESIZE);
				indexBufferArray[iType].push_back(ibh);
				currentIndexBufferIndex[iType]++;
			}

			bgfx::update(ibh, 0, bgfx::copy(indexList, (primitiveCount * 3)*indexSize));
		}
		break;

That's expected behavior.
Use _numIndices argument when calling bgfx::setIndexBuffer to control how many indices you want rendered: https://bkaradzic.github.io/bgfx/bgfx.html#_CPPv2N4bgfx7Encoder14setIndexBufferE17IndexBufferHandle8uint32_t8uint32_t

Also BGFX_BUFFER_ALLOW_RESIZE will just grow buffer, not shrink it. I need to specify that in docs.

Default behavior on bgfx::setIndexBuffer is that whole buffer is used. Argument _numIndices limit's that.


New ND-table based on SDF to be integrated in MSL

Reported by ahaumer on 14 Jun 2014 11:28 UTC
Modelon Germany developed a new ND-table implementation based on Scientific Data Format (see https://modelica.org/events/modelica2014/proceedings/html/submissions/ECP14096885_AndresDiehlSommer.pdf). The tools (not only the teh ND-table block, but also an editor and integration of the same table lookup n other tools, e.g. Matlab/Simulink) are available at [https://svn.modelica.org/projects/Modelica/branches/development/SDF/trunk]. This tickes is intended to summarize issues required to integrate the new ND-table implementation into the MSL.

Migrated-From: https://trac.modelica.org/Modelica/ticket/1516

Comment by beutlich on 16 Jun 2014 07:13 UTC
My concerns (also given as part of the review process for MoCo 2014):

The interpolation of N-dimensional table data is already part of issue #1153. Thus there should be some agreement on #1153 first before integrating such a special solution.
HDF5 is widely discussed in the Modelica community, especially for managing simulation results. Importing HDF5 based tables is already available with MSL 3.2.1 that supports reading (in fact also writing) all MAT-file formats (v4, v6, v7 and v7.3) by means of the ModelicaMatIO module. The v7.3 is the latest MAT-file format version from The MathWorks and is based on HDF5. However, from MSL side there is no need that simulation tools also support v7.3. The reason why HDF5 was left out for MSL tables are due to the
larger number of files to be compiled, thus long compilation time,
additional dependencies (like szip),
large size of binary, escpecially static lib,
long linking time (if compiled/linked with /LTCG flag on Visual C++ 2010 (default)),
lot of overhead that is not of aplication use. Actually, in his introduction of http://www.ep.liu.se/ecp/096/113/ecp14096113.pdf Mike Tiller calls HDF5 over engineered.
I would like to sperate (N-dimensional) interpolation from data file format. For MSL tables we have ASCII text and MAT-file data file formats and univariate/bivariate interpolation. HDF5 is a format extension of table input data but not a general replacement.
In #477 there also is the idea of allowing different extrapolation/interpolation options by every table dimension.
SimulationX installs its database files as .sdf, which is SQL Server Compact Edition Database File. Therefore it is confusing to reuse the file extension .sdf for HDF5 based table data. I propose to call it what it actually is (either .h5 or .hdf5) or use a less confusing extension (like .sdf5).
For Akima splines of MSL 3.2.1 I implemented a special linear extrapolation that does not calculate the slope from the first/last two sample points but rather uses the boundary slope of the spline polynomial. See Modelica ticket #1028 and #1465. This kind of extrapolation shall also be considered for N-dimensional tables.

Comment by dietmarw on 17 Jun 2014 10:35 UTC
Reply by Torsten Sommer (Modelon)
Replying to [comment:1 beutlich]:

My concerns (also given as part of the review process for MoCo 2014):
* The interpolation of N-dimensional table data is already part of issue #1153. Thus there should be some agreement on #1153 first before integrating such a special solution.
* HDF5 is widely discussed in the Modelica community, especially for managing simulation results. Importing HDF5 based tables is already available with MSL 3.2.1 that supports reading (in fact also writing) all MAT-file formats (v4, v6, v7 and v7.3) by means of the ModelicaMatIO module. The v7.3 is the latest MAT-file format version from The MathWorks and is based on HDF5. However, from MSL side there is no need that simulation tools also support v7.3. The reason why HDF5 was left out for MSL tables are due to the
* larger number of files to be compiled, thus long compilation time,
* additional dependencies (like szip),
* large size of binary, escpecially static lib,
* long linking time (if compiled/linked with /LTCG flag on Visual C++ 2010 (default)),
* lot of overhead that is not of aplication use. Actually, in his introduction of http://www.ep.liu.se/ecp/096/113/ecp14096113.pdf Mike Tiller calls HDF5 over engineered.
* I would like to sperate (N-dimensional) interpolation from data file format. For MSL tables we have ASCII text and MAT-file data file formats and univariate/bivariate interpolation. HDF5 is a format extension of table input data but not a general replacement.

The interpolation is completely decoupled from the file format. Currently the implementation supports HDF5 and compiled-in data ("UserTab.h"). Additional file formats e.g. a text based format could easily be added. The issue with .mat and .csv files is that there is no proper support for multi-dimensional data and meta info like quantities, units and scales.

* In #477 there also is the idea of allowing different extrapolation/interpolation options by every table dimension.

The implementation could easily be changed to support different inter- / extrapolation methods for every dimension. However the user would have to set them all which can be confusing. Maybe a boolean flag "use for all dimensions" that disables the separate selection would be a solution.

* SimulationX installs its database files as .sdf, which is SQL Server Compact Edition Database File. Therefore it is confusing to reuse the file extension .sdf for HDF5 based table data. I propose to call it what is actually is (either .h5 or .hdf5) or use a less confusing extension (like .sdf5).

The file extension ".sdf" is used to link the files with the SDF Editor and to indicate that certain meta information is available (i.e. quantities, units, ...) which might not be present in a "standard" HDF5 file. The users can store their files with whatever file extension they want.

* For Akima splines of MSL 3.2.1 I implemented a special linear extrapolation that does not calculate the slope from the first/last two sample points but rather uses the boundary slope of the spline polynomial. See Modelica ticket #1028 and #1465. This kind of extrapolation shall also be considered for N-dimensional tables.

Additional inter- / extrapolation methods can easily be integrated. We should put #1028 on the todo list.

Comment by beutlich on 17 Jun 2014 13:53 UTC
Replying to [comment:2 dietmarw]:

* SimulationX installs its database files as .sdf, which is SQL Server Compact Edition Database File. Therefore it is confusing to reuse the file extension .sdf for HDF5 based table data. I propose to call it what is actually is (either .h5 or .hdf5) or use a less confusing extension (like .sdf5).

The file extension ".sdf" is used to link the files with the SDF Editor and to indicate that certain meta information is available (i.e. quantities, units, ...) which might not be present in a "standard" HDF5 file. The users can store their files with whatever file extension they want.

I know that I can call it anyhow but please do not call it .sdf which is already taken and increases confusion. If you call it e.g. .sdf5 you can still link it to your SDF5 editor.

Comment by leo.gall on 17 Jun 2014 16:14 UTC
Just a quick link to the project website, if you want to inform people outside the Modelica Association:
http://simdevtools.org

Comment by sjoelund.se on 24 Jun 2014 12:02 UTC
My concern is that:

The editor is Windows-based (although if it is an eclipse plugin it could work cross-platform; there are just no instructions for setup of an update site to install it from...)
There are dependencies to DataFiles 1.0, which I have no clue what it is (ships with Dymola though).
There are only Includes in the Modelica library. No C sources. Just the binary libraries (the sources are hidden in a directory called VisualStudio, for some reason).

The C sources in that directory cannot possibly correspond to the binaries since they should not compile (one C-file refers to an undeclared, static variable in another file; functions are used without prototype; etc)
There are temporary copies of object files, etc in subversion (always cleanup before svn add)

The used library annotation says libzlib, but MSL conventions suggest z should be used instead (libz.so). Better would be to only put HDF5Table in the annotation and let the dynamic linker get the rest of the dependencies himself (there is this new thing called shared objects or dll's).
I saw some odd-looking Modelica code like Integer dims[:] = { size(values, 1)} instead of Integer dims[1] = size(values) (the number of dimensions is always known), etc.

In short, it all looks like a mess to me and would be premature to include it in MSL. I was unable to test it due to the flaws.
Note: Binaries should not be part of the source repository. They can be provided elsewhere, like a zip uploaded to trac.

Comment by pharman on 24 Jun 2014 15:56 UTC
Due to the same issues Martin S has reported I could not test executing the models, however there are some compliance issues with the Modelica code:

in HDF5Table.NDTable the evaluation of the interpolation is performed with y = evaluate(datasetID, u, interpMethod - 1, extrapMethod - 1);. Here interpMethod and extrapMethod are both enumerations, so subtracting 1 from each is not a valid expression.
in HDF5Table.Examples.Components.Cell there is a reference to an absolute file on someone's machine parameter String filename = "C:/Users/markus.andres/Desktop/RRC_Battery.sdf";
in HDF5Table.Examples.Battery there is a usage of an unspecified function classDirectory() in filename=classDirectory() + "RRC_Battery.sdf". Resources embedded in the library should be loaded with Modelica.Utilities.Files.loadResource().

There are also some style issues:

the Battery example and associated components are duplicated in a directory HDF5Table/Examples/Battery, possibly a version control merge error
I find it a little strange that all the function definitions are in HDF5Table/package.mo even though the classes NDTable and Recorder are in their own files in the same directory, not that there is anything specifically forbidden about this

Regarding the library overall I agree with the assessments by Martin S and Thomas B. It requires the MA to adopt the associated filetype and accompanying editor, which I don't think is practical, but without which I think the implementation is too closely linked with the filetype (and by filetype I don't just mean HDF5 but also the specific schema required on top of it). If there are elements of the implementation here that can be used to enhance the existing tables implementations this may suit the MSL better.
I'm interested what the practical limitations are of using "dense" data for interpolation is, I have generally used Kriging interpolation for higher numbers of dimensions, at some number of dimensions one technique becomes more practical than the other, and this would be a useful efficiency for the MA to study if we include N-dimensional interpolation in the MSL.

Modified by beutlich on 23 Oct 2014 08:37 UTC

Comment by dietmarw on 19 Dec 2014 07:01 UTC
Ticket retargeted after milestone closed

Comment by beutlich on 26 Nov 2015 07:40 UTC
I am going to close this as wontfix for the following reasons.

The authors neglected most of the reviewer's comments and, apparently, did not show any more interest to add this proposal to the standard library.
The authors rather decided to release the current implementation along with Dymola.
The interpolation of N-dimensional table data is already part of open ticket #1153. Thus the general idea is not closed by accident.

Comment by otter on 26 Nov 2015 09:53 UTC
I will include this topic to the (MSL group) agenda of the next Modelica Design Meeting

Comment by beutlich on 26 Nov 2015 10:21 UTC
Replying to [comment:10 otter]:

I will include this topic to the (MSL group) agenda of the next Modelica Design Meeting

Hopefully the MSL group !(?) will take notice of the comments given here.

Comment by dietmarw on 8 Jan 2016 19:07 UTC
Ticket retargeted after milestone closed

Modified by tsommer on 7 Apr 2016 05:24 UTC

Comment by tsommer on 7 Apr 2016 12:22 UTC
I think most of the above issues are resolved as of version 0.2 of the SDF library (shipping with Dymola 2017).

the functions now ship as a shared library (no need to link the model against HDF5)
linear extrapolation (with Akima interpolation) now uses the boundry slope approach
the SDF Editor is now a native executable (included in Dymola 2017)
the NDTable is now also available in the included Python package

Planned improvements are to...

provide the NDTable as a Simulink S-function
add Linux support for all included libraries / apps
add "Steffen" & "Butland-Fritsch" interpolation methods for 1D tables
add support for event generation for time tables
add support for different inter- and extrapolation methods per dimension
move the interpolation code to a source file (to support platforms wihtout file system e.g. HiL)

3DS GmbH (formerly Modelon GmbH) is still commited to make SDF and the accompaining
libraries (except the SDF Editor) available to the open source community.
Please contact me if you want to try out the new version and have no access to the Dymola Beta program.

Apart from the previous arguments, I am going to close this as wontfix for the following reasons.

https://github.com/modelica-3rdparty/netCDF-DataReader and https://github.com/modelica-3rdparty/ApproxSpline are alternative libraries for bivariate interpolation
It was decided once to not include any more 3rd-party C code dependecies (e.g. HDF5 sources)
There is https://github.com/ScientificDataFormat/NDTable to access this library under a permissive license.

Apart from the previous arguments, I am going to close this as wontfix for the following reasons.
* https://github.com/modelica-3rdparty/netCDF-DataReader and https://github.com/modelica-3rdparty/ApproxSpline are alternative libraries for bivariate interpolation

* It was decided once to not include any more 3rd-party C code dependecies (e.g. HDF5 sources)

* There is https://github.com/ScientificDataFormat/NDTable to access this library under a permissive license.

I would agree to these arguments, if we had a  package manager for 3rd party Modelica libraries well  integrated in all Modelica tools ...
So either MA should work in that direction (couldn't this be payed work to provide the framework), or we need nd-tables in the MSL ...

Nothing happend on ND-tables since 2016-04-06 (see https://github.com/modelica/ModelicaStandardLibrary/issues/1153#issuecomment-272639534) when we got lost on the requierements for the file format(s).
Since this issue is closed, please use #1153 for your updates/requirements on ND-tables. Thank you.

Comment by leo.gall on 17 Jun 2014 16:14 UTC
Just a quick link to the project website, if you want to inform people outside the Modelica Association:
http://simdevtools.org

@GallLeo That site no longer exists.

For cross-reference, see also https://stackoverflow.com/q/55162261/8520615

Comment by leo.gall on 17 Jun 2014 16:14 UTC
Just a quick link to the project website, if you want to inform people outside the Modelica Association:
http://simdevtools.org

@GallLeo That site no longer exists.
I think that has been replaced by https://github.com/ScientificDataFormat


Install system dependencies

Change-type: patch

Can you please try this with balena-supervisor (dbus):
jobs:
  flowzone:
    name: Flowzone
    uses: product-os/flowzone/.github/workflows/flowzone.yml@ab77/operational
    ...

You'll need to have package.txt in the root, which should be piped to apt ...
@pipex @cywang117

@ab77 is there an advantage to this vs using preinstall in package.json as Christina did below? If there isn't i'd be inclined to go with the preinstall option, as it removes the maintenance burden for this repo
https://github.com/balena-os/balena-supervisor/pull/2010/commits/d0b53558875c3a211262b6a3470a58491ed4c4e6#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R28


fix: DataOverview error states

The Error/Loading states in our very very commonly used DataOverview component don't seem to work as intended.
Currently, if it is in a loading state and you pass the component an error, the component remains in its loading state. This sounds wrong to me. If we have an error then surely we are not loading any more. Consequently I have seen this behaviour resulting a surprising issue in code I have been working on (DataSource work).
I am unsure if the change here has an effect elsewhere, or whether we are relying on this what I see as strange behaviour (if we have an error we shouldn't be loading anymore). But I am little cautious about this as I still don't know whether we are relying on this elsewhere.
If component should be in a loading state even if you pass it an error, then please let me know and I'd be happy to close the PR.

Currently, if it is in a loading state and you pass the component an error, the component remains in its loading state. This sounds wrong to me.

This may seem weird at first, but this is the correct order in my opinion: our list views are generally set-up to support loading data at arbitrary points (e.g. initial load, refresh, pagination interactions, item deletion). Also, it’s the responsibility of the loading routine to set the error states appropriately. Therefore, if the list view is in a loading state, this should take priority over an already discovered error state because at that point it is unknown if the loading routine will succeed (i.e. no more error) or fail (i.e. old or new error).

Hey @kleinfreund thanks for taking a look at this I was thinking of closing up this one anyway as I've had a change of heart on it.

Therefore, if the list view is in a loading state, this should take priority over an already discovered error state because at that point it is unknown if the loading routine will succeed

FWIW, and I might have misunderstood what you are saying but, if we have to perform a refresh for some reason, then the state should be reset back to it's initial state, and if it was originally in an error state then that would therefore be reset also, meaning if the refresh then errored again, error would take precedence over loading.
I still do think overall its weird how all this works, but happy to leave this one for the minute, hence I'm closing this one for now.


Parsing form data

This PR will add the ability of parsing form-data objects turning them into JSON object

the CI is giving me an error, but when I run it locally I don't get anything

@shuminyang I'm not sure why you didn't get an error. In fact, the error does exist. Users often use the default ContentType when sending requests. The current solution is to put the JSON.parse way in the else code block.

when adding a test case for the form-data, should I add it inside the examples/test.ts file?

when adding a test case for the form-data, should I add it inside the examples/test.ts file?

Just need to add test in context_test.ts


user trying to make a subscription get an unexpected system error

https://opencollective.com/chsf/order/709
hits submit and fails

Also note tier name is failing

His user account was created without a CollectiveId listed (so no collective created). That's causing all the issues. Here is the error from logs:
Feb 06 09:02:39 opencollective-prod-api app/web.1: >>> createOrder mutation error:  { SequelizeDatabaseError: value too long for type character varying(255)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Query.formatError (/app/node_modules/sequelize/lib/dialects/postgres/query.js:356:16)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at query.catch.err (/app/node_modules/sequelize/lib/dialects/postgres/query.js:86:18)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at tryCatcher (/app/node_modules/sequelize/node_modules/bluebird/js/release/util.js:16:23)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Promise._settlePromiseFromHandler (/app/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:512:31)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Promise._settlePromise (/app/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:569:18)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Promise._settlePromise0 (/app/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:614:10)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Promise._settlePromises (/app/node_modules/sequelize/node_modules/bluebird/js/release/promise.js:689:18)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Async._drainQueue (/app/node_modules/sequelize/node_modules/bluebird/js/release/async.js:133:16)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Async._drainQueues (/app/node_modules/sequelize/node_modules/bluebird/js/release/async.js:143:10)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Immediate.Async.drainQueues (/app/node_modules/sequelize/node_modules/bluebird/js/release/async.js:17:14)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at Immediate.wrapped (/app/node_modules/newrelic/lib/transaction/tracer/index.js:183:22)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at runCallback (timers.js:781:20)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at tryOnImmediate (timers.js:743:5)
Feb 06 09:02:39 opencollective-prod-api app/web.1:     at processImmediate [as _immediateCallback] (timers.js:714:5)
Feb 06 09:02:39 opencollective-prod-api app/web.1:   name: 'SequelizeDatabaseError',
Feb 06 09:02:39 opencollective-prod-api app/web.1:   parent:
Feb 06 09:02:39 opencollective-prod-api app/web.1:    { error: value too long for type character varying(255)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at Connection.parseE (/app/node_modules/pg/lib/connection.js:539:11)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at Connection.parseMessage (/app/node_modules/pg/lib/connection.js:366:17)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSSocket.<anonymous> (/app/node_modules/pg/lib/connection.js:105:22)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at emitOne (events.js:115:13)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSSocket.emit (events.js:210:7)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at addChunk (_stream_readable.js:266:12)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at readableAddChunk (_stream_readable.js:253:11)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSSocket.Readable.push (_stream_readable.js:211:10)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSWrap.onread (net.js:585:20)
Feb 06 09:02:39 opencollective-prod-api app/web.1:      name: 'error',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      length: 99,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      severity: 'ERROR',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      code: '22001',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      detail: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      hint: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      position: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      internalPosition: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      internalQuery: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      where: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      schema: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      table: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      column: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      dataType: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      constraint: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      file: 'varchar.c',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      line: '624',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      routine: 'varchar',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      sql: 'INSERT INTO "Collectives" ("id","type","slug","name","CreatedByUserId","hostFeePercent","description","currency","data","createdAt","updatedAt","isActive","twitterHandle","website","isSupercollective") VALUES (DEFAULT,\'USER\',\'paradiseinc\',\'Jay Chodagam\',10926,5,\'Jay Chodagam is a meditation teacher, TEDx speaker and producer of Peace in the Park festival and SPIRIT Summit. While getting his master’s degree in Engineering at the University of Texas at Austin, Jay came to the realization that a life of fulfillment trumps a life of achievement. Since then, he has been a proponent of meditation training and “being” before “doing” at workplaces, schools, prisons and hospitals.  As a student and teacher with the Raja Yoga meditation for over 16 years, Jay regularly leads retreats and workshops around the world.\',\'USD\',\'{"UserId":10926}\',\'2018-02-06 17:02:39.049 +00:00\',\'2018-02-06 17:02:39.049 +00:00\',true,\'paradiseinc\',\'www.bksanfrancisco.org\',false) RETURNING *;' },
Feb 06 09:02:39 opencollective-prod-api app/web.1:   original:
Feb 06 09:02:39 opencollective-prod-api app/web.1:    { error: value too long for type character varying(255)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at Connection.parseE (/app/node_modules/pg/lib/connection.js:539:11)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at Connection.parseMessage (/app/node_modules/pg/lib/connection.js:366:17)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSSocket.<anonymous> (/app/node_modules/pg/lib/connection.js:105:22)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at emitOne (events.js:115:13)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSSocket.emit (events.js:210:7)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at addChunk (_stream_readable.js:266:12)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at readableAddChunk (_stream_readable.js:253:11)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSSocket.Readable.push (_stream_readable.js:211:10)
Feb 06 09:02:39 opencollective-prod-api app/web.1:        at TLSWrap.onread (net.js:585:20)
Feb 06 09:02:39 opencollective-prod-api app/web.1:      name: 'error',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      length: 99,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      severity: 'ERROR',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      code: '22001',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      detail: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      hint: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      position: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      internalPosition: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      internalQuery: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      where: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      schema: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      table: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      column: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      dataType: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      constraint: undefined,
Feb 06 09:02:39 opencollective-prod-api app/web.1:      file: 'varchar.c',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      line: '624',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      routine: 'varchar',
Feb 06 09:02:39 opencollective-prod-api app/web.1:      sql: 'INSERT INTO "Collectives" ("id","type","slug","name","CreatedByUserId","hostFeePercent","description","currency","data","createdAt","updatedAt","isActive","twitterHandle","website","isSupercollective") VALUES (DEFAULT,\'USER\',\'paradiseinc\',\'Jay Chodagam\',10926,5,\'Jay Chodagam is a meditation teacher, TEDx speaker and producer of Peace in the Park festival and SPIRIT Summit. While getting his master’s degree in Engineering at the University of Texas at Austin, Jay came to the realization that a life of fulfillment trumps a life of achievement. Since then, he has been a proponent of meditation training and “being” before “doing” at workplaces, schools, prisons and hospitals.  As a student and teacher with the Raja Yoga meditation for over 16 years, Jay regularly leads retreats and workshops around the world.\',\'USD\',\'{"UserId":10926}\',\'2018-02-06 17:02:39.049 +00:00\',\'2018-02-06 17:02:39.049 +00:00\',true,\'paradiseinc\',\'www.bksanfrancisco.org\',false) RETURNING *;' }, ****

removing the high priority on this since user is now unblocked to make a contribution

this was also referenced https://github.com/opencollective/opencollective/issues/654 and https://github.com/opencollective/opencollective/issues/651


Benchmark tools for Predis

I've noticed that redis clients from a bunch of other language provide with Benchmark tools (C client Hiredis: redis-benchmark; Java client Jedis: package redis.clients.jedis.tests.benchmark). So, shall we  build Benchmark tools for Predis?

@lulyon what a benchmark should represent here, how fast the client is? But what does it mean being fast anyway? How many GET/sec is it able to generate against a Redis instance running on the localhost? That's kind of pointless and we even have a chapter on the FAQ, performances should be measured in the context of a specific domain and application. If you on the other hand want to see how Redis performs, redis-benchmark is already out there and built when compiling Redis itself, it's fairly configurable and optimized.

@nrk There are more features beyond the simple GET/SET operation. Just want to know to what extend overhead predis features bring to access redis, in this case benchmark upon predis should help.

Hi all! Maybe @lulyon mean that predis need contain some script like redis-benchmark tool

@lulyon that's exactly why I don't want to add something like that in the repository: there are just too many variables to be considered to have a proper benchmark that makes sense, and I don't want to maintain something I'm not interested in.


hope go generics in 1.18(or later) support return type inference

from generics proposal, if i did not misunderstand, go generics won't support return type inference like this
func empty[T any]() T {
     return T{}
}

i hope this feature could be added to go generics, and if not, i want to know why

Duplicate of #35966


Unresponsive desktop after the extension is installed

After I installed the extension from
https://extensions.gnome.org/extension/1238/time/
on Ubuntu 17.10, with GNOME Shell 3.26.1, my desktop become unresponsive and I was not able to click anywhere. The same problem happened with the version currently available on GitHub. I had to delete the folder ~/.local/share/gnome-shell/extensions/timepp@zagortenay333 from the console before I could use the machine again.

Can't help you if you don't give me a way to reproduce this.
When it crashes, check the output of:
journalctl /usr/bin/gnome-shell -r

-- Logs begin at Sat 2017-10-21 15:07:57 -02, end at Sat 2017-10-21 15:41:31 -02. --
out 21 15:40:35 u gnome-shell[5417]: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'Client' on the module 'dbusMenu'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'SNIStatus' on the module 'appIndicator'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u org.gnome.Shell.desktop[5417]: Window manager warning: "XF86RFKill" is not a valid accelerator
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'IconCache' on the module 'iconCache'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'IconActor' on the module 'appIndicator'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'IndicatorStatusIcon' on the module 'indicatorStatusIcon'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'connectSmart' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'StatusNotifierItem' on the module 'interfaces'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'AppIndicator' on the module 'appIndicator'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.68/org/ayatana/NotificationItem/software_update_available
out 21 15:40:34 u gnome-shell[5417]: Some code accessed the property 'Logger' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:34 u gnome-shell[5417]: WARNING: addSignalMethods is replacing existing [0x563607b46cb0 Gjs_ShowAppsIcon.dash-item-container] emit method
out 21 15:40:34 u gnome-shell[5417]: WARNING: addSignalMethods is replacing existing [0x563607b46cb0 Gjs_ShowAppsIcon.dash-item-container] disconnect method
out 21 15:40:34 u gnome-shell[5417]: WARNING: addSignalMethods is replacing existing [0x563607b46cb0 Gjs_ShowAppsIcon.dash-item-container] connect method
out 21 15:40:34 u gnome-shell[5417]: JS WARNING<EMAIL_ADDRESS>34]: reference to undefined property Symbol.toPrimitive
out 21 15:40:34 u gnome-shell[5417]: JS WARNING<EMAIL_ADDRESS>1361]: unreachable code after return statement
out 21 15:40:33 u gnome-shell[5417]: Some code accessed the property 'StatusNotifierWatcher' on the module 'interfaces'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:33 u gnome-shell[5417]: Some code accessed the property 'StatusNotifierWatcher' on the module 'statusNotifierWatcher'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:33 u gnome-shell[5417]: Some code accessed the property 'WORKAROUND_RELOAD_TYPE_REGISTER' on the module 'util'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:33 u gnome-shell[5417]: Some code accessed the property 'DBusMenu' on the module 'interfaces'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
out 21 15:40:33 u gnome-shell[5417]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
out 21 15:40:33 u gnome-shell[5417]: Telepathy is not available, chat integration will be disabled.
out 21 15:40:33 u gnome-shell[5417]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
out 21 15:40:33 u org.gnome.Shell.desktop[5417]: current session already has an ibus-daemon.
out 21 15:40:32 u gnome-shell[5417]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
out 21 15:40:32 u gnome-shell[5417]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]: reference to undefined property "MetaWindowGroup"
out 21 15:40:32 u gnome-shell[5417]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
out 21 15:40:31 u org.gnome.Shell.desktop[5417]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.

I don't see any errors there regarding this extension.

Any success?

Closing as usual due to inactivity.

No success. If I keep a copy of this extension in the folder

~/.local/share/gnome-shell/extensions/timepp@zagortenay333
I am not able to log in using a graphical interface.

Did you try the latest version from github? I can't reproduce this without any info.

Yes. I did clone it from github and after I pressed ALT+F2 and r I was not able to use the desktop anymore (even after rebooting). The only way I was able to use the computer again was after I used CTRL+ALT+F5 to login using the console and moved the folder outside of ~/.local/share/gnome-shell/extensions.

When the desktop crashes go to a tty (ctrl-alt-f5) and then run:
journalctl /usr/bin/gnome-shell -r

Search for 'timepp'.
In case you don't know, you will get the less program. q to quit it and / to search stuff. Press n repeatedly to go through everything that was found.

The pattern is not found

Gosh. Ok, write the output into a file and put it on pastebin or something. Again in a tty:
journalctl /usr/bin/gnome-shell -r > ~/Documents/timepp_log.txt

Maybe there is something else in there; otherwise, I'm out of ideas :cry:

https://dpaste.dzfl.pl/1e998782737f

Nothing in there pointing to this extension... Are you on wayland, btw? Maybe try xorg.
Other than that, the only thing you can do is to try and debug it yourself. You can try to disable all section modules and start enabling them one after the other to try to maybe narrow down the culprit.
To disable the modules, go to the extension.js file and comment out the lines:
https://github.com/zagortenay333/timepp__gnome/blob/1b07261f9a7443b133da8aa5118d3bc99a5f716b/extension.js#L19-L24
https://github.com/zagortenay333/timepp__gnome/blob/1b07261f9a7443b133da8aa5118d3bc99a5f716b/extension.js#L111-L135
And for the pomodoro section don't forget to comment this out:
https://github.com/zagortenay333/timepp__gnome/blob/1b07261f9a7443b133da8aa5118d3bc99a5f716b/extension.js#L202-L204
If disabling all sections still crashes it, then the issues is with something in the extension.js file. You could try to disable chunks of code carefully 'till you can narrow it down.

One other potential culprit could be the custom theme funcs. You could try to comment out that:
https://github.com/zagortenay333/timepp__gnome/blob/1b07261f9a7443b133da8aa5118d3bc99a5f716b/extension.js#L156
And:
https://github.com/zagortenay333/timepp__gnome/blob/1b07261f9a7443b133da8aa5118d3bc99a5f716b/extension.js#L177-L180

After commenting out the lines mentioned on https://github.com/zagortenay333/timepp__gnome/issues/26#issuecomment-341074045, I was able to restart gnome-shell without freezing the system.
It still worked after I restored the lines related to context menu, timer, stopwatch, pomodoro and alarms.
However, restoring the 5 lines related to "todo" crashes it again.
BTW: I believe I'm using xorg, given this:

$ echo $XDG_SESSION_TYPE
x11

Ok, we got some progress here :smile: So the culprit is somewhere in the todo section..
Do the same with these lines respectively (comment them out):
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L520
And:
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L518

I uncommented the 5 lines related to "todo", and commented the two above, and I was able to restart gnome-shell just fine.

Comment the 2 lines above individually; we gotta narrow it down.

It does not crash if I use
this.stats_view = new VIEW_STATS.StatsView(this.ext, this, 0);
// this._init_todo_file();

It crashes if I use
// this.stats_view = new VIEW_STATS.StatsView(this.ext, this, 0);
this._init_todo_file();

Ok, now try commenting out this:
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L619-L623

If that doesn't work, try:
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L563-L581

It didn't crash when I commented out lines 619-623 (and restored line 520).

Aha, comment out these lines individually:
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L620-L622

It crashed in the three cases =/ so I commented out the whole block again for now.

Sorry for bothering you, but we are getting somewhere. Comment this line out:
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L789

After I uncommented lines 619-623, and commented 789, it crashed.

Could you comment this out:
https://github.com/zagortenay333/timepp__gnome/blob/8823e1d44f675c932a4453a63e7f51c8f04afa25/sections/todo/MAIN.js#L803-L805
Also, have you ever been able to use this extension? The reason I'm asking is that the function create_tasks shouldn't have been called at all if you didn't select a todo file in the settings.

I think I was able to see the menus the first time I installed it, and while checking its configuration options I probably tried to select my old todo file. But at some point it crashed and I was never able to see the todo list. Then I tried to remove the extension from the folder, so that I could use the computer again.
Now that you mentioned it, I checked at gnome-tweaks tool and was able to set the todo and done files to empty files, and to uncomment all lines from the tests above, and it loaded just fine :-)
Maybe the syntax used in the todo/done files was the culprit?

Hmm, do you remember at which point it crashed? Did you manage to press the add button?

I'm not sure. At the first time it might have been when I closed the window I was using to choose the todo file.
Which add button? The [+] icon in the list of todo files of the gnome-tweaks? Or the "+ Add new task" in the menu?

Srry, I meant the Ok button when you were selecting the todo file.

Also, just make it clear, are you able to load the files that you wanted to load?

So, I was able to create an empty todo.txt file, and load it into the extension, and it seems the "+ Add new task" is also working.
Now I was copying the items from my old todo.txt to the new one, line by line, and saving the file after each new line. When I copied a line like the following, the desktop become unresponsive:
(B) Test (see: http://example.com/ccccccc/eeeeeeee/123456) +foo +bar

Nice! I finally figured what it is. The url regex I was using was faulty and caused an infinite loop/recursion (
e.g., https://regex101.com/r/swxUfd/1).
I updated to a better one now: https://gist.github.com/dperini/729294
Thanks for you help! :smile:

I could swear I was using the regex from dperini to begin with, no clue where the faulty regex came from... :confused:

Great!

Btw, timepp will make the url clickable, so make sure to add a space between the parentheses and the url.


Please update for Angular 9

Describe the bug
I'm getting this warning while installing packages on my app that's recently been updated to Angular 9:
Entry point 'ngx-papaparse' contains deep imports into '.../node_modules/papaparse/papaparse.min.js'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
To Reproduce
Install current ngx-papaparse on a new or upgraded Angular 9 project
Expected behavior
No warnings or errors
Software and platform

OS: Ubuntu 19.10
Browser: any
Version: any
Angular version: 9.1.1
Angular CLI version: 9.1.1
Node version: 12.16.2

Additional context

A fix has been pushed - it will be included in the v5-release.

can't install using yarn


Can't build with xk6

If you try to build this with xk6 build --with github.com/grafana/xk6-loki, like most tutorials online suggest it will fail, which blocks from installing more than one plugin with xk6-loki
For example, if I wanted to test Loki, and then remote write the results to prometheus.

Error msg???

@KurzweilTV it would appear there are some known dependency issues (I don't know the exact details) when building the k6 using xk6-loki based upon the current Makefile.
I was able to confirm that xk6 build --with github.com/grafana/xk6-loki will fail as you mentioned, however including the --replace options based on the Makefile, will allow build. Below is the updated command line that works:
xk6 build master \
 --replace<EMAIL_ADDRESS>\
 --replace<EMAIL_ADDRESS>\
 --replace<EMAIL_ADDRESS>\
 --replace<EMAIL_ADDRESS>\
 --with github.com/grafana/xk6-loki

Advise to use the modified build command until the dependency issues can be addressed by the maintainers.


C0508: Ambiguous use of name 'ITEM'

TwinCAT 3.1.4026
Not a bug per se, but is throwing warnings.
Seems the code checker isn't happy about having input parameters with the same name as methods. In this case, it is conflicting with private method Item. Suggest renaming to GetByIndex.

issue moved from mobject-collections to mobject-core


Add Empty Alert

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

APEXTest/CATSTesting/TOC.md
:warning:Warning

Details

[Error] Microsoft.DocAsCode.Build.Engine.Incrementals.BuildCacheException: Last manifest items doesn't contain the item with source relative path 'Table-Cases/index.md.'
at Microsoft.DocAsCode.Build.Engine.PostProcessorsHandlerWithIncremental.RestoreIncrementalManifestItems(Manifest manifest)
at Microsoft.DocAsCode.Build.Engine.PostProcessorsHandlerWithIncremental.Handle(List1 postProcessors, Manifest manifest, String outputFolder) at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build(IList1 parameters, String outputDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument(BuildJsonConfig config, TemplateManager templateManager, String baseDirectory, String outputDirectory, String pluginDirectory, String templateDirectory)
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument()

APEXTest/CATSTesting/TOC.md

[Warning] Invalid file link:(~/TOC-Cases/TOC-Cases/inde.md).
[Warning] Invalid file link:(~/TOC-Cases/TOC-Cases/BrokenTOC-dupTest.md).
[Warning] Invalid file link:(~/TOC-Cases/TOC-Cases/index.md).
[Warning] Invalid file link:(~/TOC-Cases/TOC-Cases/TOCTest.md).

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

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/APEXTest/APEXTest_Repo, working directory: W:\1vm2-s, target branch: master, target branch commit: f75d6d460f4f16253fa1496f6050cf3b4b949efe, source branch: c859ea9c404562c9d65b661b3b318bc3/master, source branch commit: .

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

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/APEXTest/APEXTest_Repo, working directory: W:\emqs-s, target branch: master, target branch commit: f75d6d460f4f16253fa1496f6050cf3b4b949efe, source branch: c859ea9c404562c9d65b661b3b318bc3/master, source branch commit: .

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


Possibility to see DB2 IBM short columns & table names on tables properties view

Hi,
I don't know for other DB system because I work essentially on DB2 IBM so, for DB2 system users, it would be usefull to be able to see system names for tables and columns on DB2 IBM.
Sytem table names can be knownusing request like:
SELECT SYS_TNAME FROM qsys2.systables WHERE TABLE_SCHEMA = 'My_schema' AND TABLE_NAME = 'My_table_name';
System column names can be knownusing request like:
SELECT SYSTEM_COLUMN_NAME FROM sysibm.sqlcolumns WHERE table_schem = 'My_Schema' AND TABLE_NAME = 'My_table_name' ORDER BY ORDINAL_POSITION;

As you can see on the screenshot, actually it's only possible to display column names in the view of the table properties.
Therefore a short name exists for column on DB2 IBM witch is created using "FOR COLUMN".
ie:
CREATION_DATE FOR COLUMN CREADAT TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP
A short system name for the table is not visible in the table properties using DBeaver

This name is created using 'FOR SYSTEM NAME' as:
CREATE TABLE MY_LONG_TABLE_NAME FOR SYSTEM NAME MYTABNAME (
These informations can be found on IBM system using the request specified in my first message.

The idea is not to replace long names by short names but to be able to show both informations.
** Let me know if I'm not enough clear or if you need more details
Cheers

This would really help our shop as we are on an IBM iSeries and a lot of areas use the short name.

Would it also be possible to add a Label column?
I know there is a workaround to switch Label and Description by specifying metadata source=0, but that as other effects too.

This would be extremely useful to our organization as well.