Tekton admission webhook complains about the when clause in my pipeline

I'm using these versions of tekton

 tekton images tags
gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.23.0
gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/controller:v0.23.0
gcr.io/tekton-releases/github.com/tektoncd/dashboard/cmd/dashboard:v0.13.0
gcr.io/tekton-releases/github.com/tektoncd/triggers/cmd/controller:v0.13.0
gcr.io/tekton-releases/github.com/tektoncd/triggers/cmd/webhook:v0.13.0

When I try to create this pipeline:

 pipeline
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
  name: build-and-deploy-conditional-pipeline
  namespace: processing
spec:
  params:
    - default: http://gitea-http.ci:3000/user/sample-app
      description: Git repository url
      name: gitUrl
      type: string
    - default: master
      description: Git revision to check out
      name: gitRevision
      type: string
  tasks:
    - name: clone-repo
      params:
        - name: url
          value: $(params.gitUrl)
        - name: revision
          value: $(params.gitRevision)
        - name: deleteExisting
          value: 'true'
      taskRef:
        kind: Task
        name: git-clone
      workspaces:
        - name: output
          workspace: git-source
    - name: retrieve-metadata
      runAfter:
      - clone-clone
      taskRef:
        kind: Task
        name: parse-metadata
      workspaces:
      - name: git
        workspace: git-source
    - when:
      - input: $(tasks.retrieve-metadata.results.codeLang)
        operator: in
        values:
        - "golang"
      name: build-code
      params:
        - name: package
          value: ''
        - name: name
          value: $(params.gitUrl)
        - name: image
          value: $(tasks.retrieve-metadata.results.buildImg)
      runAfter:
        - clone-repo
      taskRef:
        kind: Task
        name: golang-build
      workspaces:
        - name: source
          workspace: git-source

I get this error:
admission webhook "webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "when"

I'm only going off of this link.
Is there any reason that my when clause isn't working?

@DrissiReda Hello 👋🏼
The when field is only available in v1beta1 api version ; looking at your pipeline, it seems you are using apiVersion: tekton.dev/v1alpha1, which is the reason why it is not allowed. Switching it to v1beta1 should fix the problem (but be aware of migration between v1alpha1 and v1beta1)

@vdemeester thank you very much ! Any idea about when this is supposed to hit alpha? Also do you have a fixed delivery cycle ? So I can look out for updates.

@vdemeester thank you very much ! Any idea about when this is supposed to hit alpha? Also do you have a fixed delivery cycle ? So I can look out for updates.

It's never gonna hit alpha. The usual "cycle" of api is v1alphaX -> v1betaX -> v1. v1alpha1 api version will be deprecate soon and in an year or less, it won't even be served by pipeline. As of today, anybody using v1alpha1 api should migrate to v1beta1.

Thanks, I've switched to  v1beta1. I'm currently trying to run pipelines-in-pipelines. I installed this: https://github.com/tektoncd/experimental/tree/main/pipelines-in-pipelines And I still get the error:
Pipeline processing/build-and-deploy-conditional-pipeline can't be Run; it contains Tasks that don't exist: Couldn't retrieve Task "go-pipeline": tasks.tekton.dev "go-pipeline" not found

I'm running this pipeline in a different namespace from the controller. But I've seen that the pip-run-controller uses ClusterRoles so I shouldn't have namespace restrictions.

Are custom tasks enabled on your tekton instance ? (see here, enable-custom-tasks)

I'm running this pipeline in a different namespace from the controller.

This should be the case in 99% of time. Pipeline's do not need to run in the same namespace as the controller.

oh yeah! I didn't enable them, it works a lot better now (after adding enable-api-fields:alpha as well). Might be a good idea to add them to the doc of pip-in-pip

/cc @jerop

@vdemeester could you please take a look at this? I'm kinda stuck: https://github.com/tektoncd/experimental/issues/791


How to add delay for FBK command?

Hi,
I would like to know, how we can add delay for the FBK command.
So far, I understood how to add delay for initial timeout (using -t) and FB delay (using -t with FB command).
However, I didn't find how to add delay for FBK command.

Do you means timeout?
FBK needn't timeout because linux can return busy status every second.  uboot is single thread and can't return busy status when running a command.

Thank you @nxpfrankli for your response.
Does this means timeout is not required for FBK?
Also, what is the default timeout time for FBK and FB (if we didn't specify the -t with FB)?

FBK and FB default value is 2s.


[Bug]: Trying to auto install packages during runtime is not security friendly

Current Behavior
GPTCache tries to check if the intended set of python modules exists in the host environment if not it tries to auto install them during runtime.
Expected Behavior
GPTCache should look for an alternative non-runtime based approach which is much security friendly or may be provide an option to toggle this off for downstream packages such as guidance and many others.
In production environments, it is typical that the the environment is hardened like keeping the filesystem read-only etc. As GPTCache tries to install packages during runtime this might break the systems as they dont allow such operations.
Steps To Reproduce
1. Use any downstream package that uses GPTCache such as [guidance tool](https://github.com/guidance-ai/guidance)
2. Observe the logs that it tries to install missing packages

start to install package: redis_om
successfully installed package: redis_om
redis_om installed successfully!

### Environment

_No response_

### Anything else?

_No response_

Thanks for the package, looking forward for a resolution for this.

I'm also running into problems where gptcache tries to install dependencies at runtime. I'd very much like to avoid this on production. It delays the startup of the application and risks the installation failing. We're not using Redis, but it still tries to install the redis package upon importing guidance (which uses gptcache). the installation of redis also fails on some of the development machines.
This is also quite confusing for users who are trying guidance using the python interpreter and running into this issue:
>>> import guidance
start to install package: redis

Note that the installation already happens when importing gptcache.utils, so this isn't just a guidance issue:
$ python
Python 3.11.4 (main, Jun  6 2023, 22:16:46) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gptcache.utils
start to install package: redis
successfully installed package: redis
start to install package: redis_om
successfully installed package: redis_om
>>>

There are a number of issues related to failure of installing the dependencies at runtime:

https://github.com/zilliztech/GPTCache/issues/442
https://github.com/zilliztech/GPTCache/issues/521

Preferably the optional dependencies would be specified as such. poetry has good support for this: https://python-poetry.org/docs/pyproject/#extras
I have no experience doing the same with requirements.txt, but it seems there is a standard for doing so:
https://peps.python.org/pep-0508/#extras
If I interpret that correctly it should be possible to specify:
redis[redis]
redis_om[redis]

So that people should be able to install gptcache with those optional dependencies using pip install gptcache[redis].
Would that be a good alternative?

i will checkout it, it's a bad case
$ python
Python 3.11.4 (main, Jun  6 2023, 22:16:46) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gptcache.utils
start to install package: redis
successfully installed package: redis
start to install package: redis_om
successfully installed package: redis_om
>>>

Thirding this issue, it is a nasty surprise. We saw this behavior during the run of unit tests, which is absolutely the wrong place for a pip install, under any circumstances. The project should rely on setup.py to advertise its dependencies and let pip install, or alternatives, do their jobs, and runtime behavior should be just to bubble up the ImportErrors rather than trying to fix the problem.


Leak in Device.CreateWithSwapChain

Given the following test code (SharpDX 3.0.2, Direct3D11):
var desc = CreateSwapChainDescription(hwnd, width, height);
var flags = GetDeviceCreationFlags();
var featureLevels = GetFeatureLevels();

Device.CreateWithSwapChain(DriverType.Hardware, flags, featureLevels, desc, out device_, out swapChain_);

//not doing anything more here

Utilities.Dispose(ref swapChain_);
Utilities.Dispose(ref device_);

In output from visual studio I'm getting
D3D11 WARNING: Live Producer at 0x0B9B7964, Refcount: 2. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0B9DCEB0, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0CF42488, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0BA7D26C, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0CEE9884, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0BA89F7C, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0BA9C3CC, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x0CEEE96C, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: Live                         Object :      7 [ STATE_CREATION WARNING #0: UNKNOWN]
DXGI WARNING: Live Producer at 0x0B952758, Refcount: 2. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: 	Live Object at 0x0B98A438, Refcount: 2. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live                         Object :      1 [ STATE_CREATION WARNING #0: ]

Which I think sould not happen. I've tracked this issue to AddReference() call in SharpDX source
As a workaround I've added release to my disposing code:
Utilities.Dispose(ref swapChain_);
((IUnknown)device_).Release();
Utilities.Dispose(ref device_);

And now cleanup is fine.
Is this the way it should be done? This seems counter-intuitive and undocumented.

I've just run into this issue too. I have a WPF control hosting a DirectX map. Each time the control is loaded/unloaded the device is created/disposed, but it seems to be leaking about a meg each time because of this.
There looks like there is already a pull-request to fix this, is there a reason this can't be merged?
I feel dirty having to explicitly release the IUnknown myself.

This should be fixed by the merge. Thanks


return Baggage instead of shared_ptr

Fixes # (issue)
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:

[ ] CHANGELOG.md updated for non-trivial changes
[ ] Unit tests have been added
[ ] Changes in public API reviewed

Codecov Report

Merging #52 (c6aaf37) into main (b073e8b) will increase coverage by 0.03%.
The diff coverage is 97.68%.

@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   95.50%   95.53%   +0.03%
==========================================
  Files         156      157       +1
  Lines        6620     6632      +12
==========================================
+ Hits         6322     6335      +13
+ Misses        298      297       -1

Impacted Files
Coverage Δ

...telemetry/baggage/propagation/baggage_propagator.h
92.86% <83.34%> (+6.20%)
:arrow_up:

api/include/opentelemetry/baggage/baggage_impl.h
97.30% <97.30%> (ø)

api/include/opentelemetry/baggage/baggage.h
100.00% <100.00%> (+2.71%)
:arrow_up:

api/test/baggage/baggage_test.cc
100.00% <100.00%> (ø)

...est/baggage/propagation/baggage_propagator_test.cc
100.00% <100.00%> (ø)


Missing vue-server-renderer/basic module on build

Bug 🐞
What is the current behavior?
Currently after building my app, the vue cli shows the following error:
warning  in ./node_modules/vue-instantsearch/dist/vue-instantsearch.esm.js

Module not found: Error: Can't resolve 'vue-server-renderer/basic' in 'C:\code\classpass\app\node_modules\vue-instantsearch\dist'

Does this happen only in specific situations? And What is the version you are using?
This only happened right after I upgraded dependencies for algolia related items:

algoliasearch

from 4.2.0 to 4.3.0

vue-instantsearch

from 2.7.0 to 3.1.0

Thanks, there indeed haven't really been any reports of this in a while, I assume bundlers have caught up? Let's close for now.


[identity] fix workload identity bug

Packages impacted by this PR
@azure/identity
Issues associated with this PR
Fixes https://github.com/Azure/azure-sdk-for-js/issues/25089
Describe the problem that is addressed by this PR
The options bag may not be defined. Fixed the conditional logic to reflect that otherwise it throws an error.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


noddos

when I try to see the list of clients (Status-noddos Clients) I get an error:
Failed to execute template dispatcher target for entry '/admin/status/noddos'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'noddos/clients'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/noddos/clients.htm"]:16: bad argument #1 to 'input' (/var/lib/noddos/DeviceProfiles.json: No such file or directory)
stack traceback:
	[C]: in function 'input'
	[string "/usr/lib/lua/luci/view/noddos/clients.htm"]:16: in main chunk
stack traceback:
	[C]: in function 'error'
	/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
	(tail call): ?
	/usr/lib/lua/luci/dispatcher.lua:920: in function </usr/lib/lua/luci/dispatcher.lua:919>

installed noddos: 0.5.5-3
OpenWrt: OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.105.64099-eeba108
Model	Linksys WRT1900ACS

@StevenHessing

except abandoned forks, there is nothing there..


Not showing Output from script, no error is being raised

System information:

Operating system (distribution) and version: MacOS Mojave 10.14.6
DBeaver version: 7.1.0
Additional extensions: none

Connection specification:

Database name and version : MS SQL Server (SQL Server 2019 running on Linux)
Driver name: Microsoft JDBC Driver for SQL Server
Do you use tunnels or proxies (SSH, SOCKS, etc)? : no

Describe the problem you're observing:
Running simple TRY-CATCH script that has an insert statement that will fail because there is a NULL value in mandatory field.
Problem:

No error is being raised.
The 'Output' tab is not being shown. It is only showing the 'Statistic' tab.
Query Manager is outputting result: 'Success'.

*I am running via 'Execute SQL Script', have tried 'Execute SQL Statement'. Both returning identical results.
Steps to reproduce, if exist:
Run script below. You can try running the TRY statement after creating the table, and the result is still the same.
CREATE TABLE dbo.testTable
(
	mandatoryVarField VARCHAR(200) NOT NULL,
	intFieldA INT,
	intFieldB INT
);
GO

print 'begin try ...'
BEGIN TRY
BEGIN TRANSACTION
	 print 'running transaction ...'
	 INSERT INTO dbo.testTable(mandatoryVarField, intFieldA, intFieldB)
	 	values(NULL, 2, 2)

    COMMIT TRANSACTION
END TRY
BEGIN CATCH
    DECLARE @ErrorMessage NVARCHAR(4000)
    DECLARE @ErrorSeverity INT
    DECLARE @ErrorState INT

	SELECT
        @ErrorMessage = ERROR_MESSAGE(),
        @ErrorSeverity = ERROR_SEVERITY(),
        @ErrorState = ERROR_STATE()

    RAISERROR (@ErrorMessage, -- Message text.
               @ErrorSeverity, -- Severity.
               @ErrorState -- State.
               )
END CATCH;

thanks for the bug report

as a workaround you could open Output manually(Ctrl+shift+O or using button in SQL Editor)

Hi @uslss
The command Ctrl+shift+O did not work for me. Oddly, I do not have that option to open the Output tab. (see image below). Is it a limitation usually due to my SQL version/OS/DBeaver version?

Hi @uslss ,
Thank you for that command.
I restarted my database server and I noticed the DBeaver is now raising the error correctly.
(not sure if there was something wrong with the server. if you cannot replicate the issue locally, I would ignore the bug of it not raising an error for now)
Question: does DBeaver open the 'Output' tab by default when running scripts that include PRINT statements? Or has it always been a manual step?


Prevent Prettier from touching PNPM files

Prettier auto formatted pnpm-lock and pnpm-workspace files, leading to confusing diffs before committing.
Changes in PNPM files were made by PNPM itself after running pnpm i command. The only manual change is .prettierignore file.

Not sure why CI's pnpm install differs from yours, maybe you are using an older version of pnpm? I did the same change in my PR and it works: https://github.com/tajo/ladle/pull/394

The reason you didn't see changes in #394 is that despite different formatting, Prettier definitely outputted a valid YAML, so PNPM didn't feel like changing it. As you install/update stuff, you'll start seeing the changes as PNPM goes back to its own formatting.


Incorrect x,y order in ae_text_output.appendEvents()

EventEmulator.generate_events() returns events as an np.ndarray with each row being: [timestamp, y cordinate, x cordinate, sign of event]
These events are then passed into the text output:
self.dvs_text.appendEvents(events)
In appendEvents:
x = events[:, 1].astype(np.int32)
...
y = events[:, 2].astype(np.int32)
This is incorrect.
It should be:
x = events[:, 2].astype(np.int32)
...
y = events[:, 1].astype(np.int32)

Thanks, I agree. This could mess up some users who have adapted to this order.  I have pushed this change to master and will make additional pushes to document if needed.

This push was wrong, it was based on incorrect docstring. See #48 for continued thread. Order in text output is again correct.


Atom reinstall everytime I start my computer

I download Atom and install it on my computer,then I uninstall it from the control panel.but when I reboot my computer,I find Atom reinstalled! I have to uninstall it the second time,delete the folder in AppData\Local and in AppData\Roaming.reboot... Atom auto installed the third time.Now I have no idea.Can anyone help me?
OS: Windows 10 TH2 64bit Atom is from https://atom.io/

/cc @paulcbetts

I found a atom.exe file in C:\ProgramData\SquirrelMachineInstalls, delete it, then fixed. But I don't know what is the folder used for?

For installation, I believe. They are some of the log files generated by the installer processes.
I don't know why but, I always have some sort of trouble with the Atom installer.

So, here's what happened:

You installed Squirrel via the --machine install (either that, or manually right-clicked on it and selected "Run as admin")
This means that on next login, we'll install it - this is because you can't install per-user apps for users that might not exist yet.
When you uninstalled it, we write a file that's a hint to the machine installer, "This particular user doesn't want the app, leave it be"
You deleted the folder in "AppData\Local", thereby also removing the hint
It reinstalls


FR: openmode New Window

Hi! I'd like to be able to open a new window of a specified note file without switching to the Obsidian window. The closest thing to this functionality is the popover option for the openmode. However, this falls a bit short as I'd like to, for example, see a new window when using a launcher like Flow Launcher . Is this at all possible?

I'm not exactly sure what you want. So basically like the window mode but keeping the main window in front? You want a real obsidian window and not just a small editor like the hover editor, right?

Please excuse my idiocity😅. Yes, like the window mode but without switching to the main Obsidianw window. This way, for example, while writing something in Chrome, I can open a window of a note in the vault, check something, and then close it without switching away from the original window.

I'm sorry, but I don't think that's possible. I found no way to switch the window from withing Obsidian. I don't think that's technical possible. Obsidian gets focused before I can take any action, and removing the focus is as far as I know not possible.

Ohh that's too bad. Thanks for looking into it! :D


Masternode broadcast signature verification failed

server connected to: electrum.dash.siampm.com
electrum client version build e744161

Did you get this error immediately after #30? I mean, did the masternode broadcast work when you said:

Connecting to electrum.dash.siampm.com and activating the node does now cause the issue anymore.

Or did this error occur instead of #30?

Yes, the masternode broadcast works and the error #30 does not appear anymore.

Alright, so you have successfully broadcasted a MasternodeAnnounce? Then this error only appears when broadcasting a MasternodeAnnounce sometimes?

Exactly. Confirmed it on the trezor and boom Announce rejection appears.

A known issue is that trezor doesn't sign messages in a way that is compatible for coins other than Bitcoin. They recently made a fix for this, but I don't think it's in any official firmware releases yet. Are you using an official trezor firmware version?

Yes, the newest one, from the other source, I know for a fact the updated firmware was merged but not released yet as a friend of mine was in touch with Trezor team about it a couple of days ago.

04-Jun-2016 18:09:09	Firmware fingerprint:
04-Jun-2016 18:09:09	61d44cb0c78fbe733dcc6832cda884b4a6a9cd230831c01d46deaa8dbdc5e431  output/trezor-master.bin
04-Jun-2016 18:09:09	Firmware size: 305244 bytes (out of 491520 maximum)

This is firmware git-e6a8204 which includes the necessary Dash patches for signing.
https://dashpay.atlassian.net/builds/browse/TRZR-DEV-1/artifact/JOB1/trezor.bin/trezor-master.bin
Though the build process is pretty straightforward and there were no issues please note:
USE AT YOUR OWN RISK!  There's been a recent change in dashd that alters the testnet address version, which I've just discovered and am fixing.

@Kefkius nope im using the mainnet. Im not so advanced to go through this so will wait till satoshilabs will update their firmware. @Flare will brick his trezor as soon as it arrives him.

Alright @splawik21. I guess this will have to wait a bit.

I think we found the root cause for the verification failure: mnbroadcast format has changed with https://github.com/dashpay/dash/pull/836
We intercepted a message sent from electrum-dash and the message format is the old
==> /home/electrum/electrum/electrum-dash.log <==
[05/06/2016-01:36:09] block 481093 (3 0.12s) bcaa4c2a5eaa45b25ee5eb02d686345261057d87a719786d52c6810bbf72f296 (18.92tx/s, 0.16s/block)
[05/06/2016-01:36:19] DEBUG:  168 masternode.announce.broadcast [u'01876886f330bfa4eaa8901e39a31d1e386bf569b2a954e3bff1e54b781f5edf410200000000ffffffff00000000000000000000ffff6deb4138270f210279e7a089f60895d25387e064a9fbbd7a2f31d09a5ffc9d1c357594a477a0964c4104b2662e796c9e12ee1c5dea0a373a206bbda03c25fa771947e1033c18fbd6f1486f17a06ede140428c0168a8c4a7d1028335b2ce57d93c0d34e56a93d2edd2aa0411fc2b6eb49f651865b207621da278c0aaa7b9dd17de4fe0d6078f5c561e9069cc603f8441730ad3b99d11b1975747b74c77e45944ab5295c37e53c19b843df2177931f535700000000d7110100876886f330bfa4eaa8901e39a31d1e386bf569b2a954e3bff1e54b781f5edf410200000000fffffffffe9710153fd1cb107a2382e81270345e00b646d7d992f970fc4f020000000000921f535700000000411bd503322cef5dadd22c5dc365707841a7343569ce69a574d00569dc6f6e55e037334851c73acaf7f8cc48af0b9d0e00068847b8b7634ca0c5a33d24b8867cb6970000000000000000']

==> /home/electrum/.dash/debug.log <==
2016-06-04 18:36:19 CMasternodeBroadcast::VerifySignature - Got bad Masternode address signature, sanitized error: keys dont match - input: 4b6ab98f05378e71c286c6a432fb5c7129f9c4e4, recovered: 9c0ed633107d85edc8be75b7ba654cd17b0167f8, message: <IP_ADDRESS>:99991465065363ySdz/1_5uwLf.yl7: kwGHon(J(3,NV.70103, sig: H8K260n2UYZbIHYh2ieMCqp7ndF95P4NYHj1xWHpBpzGA/hEFzCtO5nRGxl1dHt0x35FlEq1KVw35TwZuEPfIXc

@Kefkius can you change the message format to the new format?

@schinzelh Thanks for the info. The bad thing about there not being stable dashd version that supports these masternode operations is that we have to play whack-a-mole with bugs :D
Can I use the protocol version of the masternode to determine which message format to use?

@Kefkius I hear you :-)
Yes protocolversion < 70201 is old message format.

#33 implements this change

This is build 7eb9150 which should fix the signature verification issue:
https://dashpay.atlassian.net/builds/browse/ELMW-DEV-34/artifact/JOB1/electrum-dash.exe/electrum-dash.exe

This should fix it  bfcb319caa7b8066ce7d2262f97c7b6fba2cb8fb
https://dashpay.atlassian.net/builds/browse/ELMW-DEV-115/artifact/JOB1/electrum-dash.exe/electrum-dash.exe

All working. Closing the issue.


Update installation routine and docs

Single call of "make install" does everything
Add backup_dir option to yaml config file

@SchrodingersGat
would it be possible to have a mini video tutorial to install & use the tools?
That would be great to have a soft start 😸

Hey @easyw yes improving the documentation is really something I need to do. Unfortunately there's just not enough time in the day! Slowly working on making it better :) Have you been making use of Inventree?

Hi @SchrodingersGat
unfortunately I haven't used it ATM.
I would like to, for that reason I asked for a video tutorial :P
Looking forward to test your nice Inventree :smile:


Different access modes based on type

A different approach to the relaxed collection. Instead of providing a key and an index interface that does the same, separate the two based on type. This builds on the idea that having the relaxed makes the key-based access redundant, and thus it does not provide those methods.
~There's a slight problem with having an object id in relaxed mode, otherwise this is probably the least redundant way to provide a relaxed collection.~

[ ] Tests

Codecov Report

Merging #10 into master will increase coverage by 3.32%.
The diff coverage is 73.91%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   64.46%   67.78%   +3.32%
==========================================
  Files           2        2
  Lines         197      208      +11
  Branches       28       31       +3
==========================================
+ Hits          127      141      +14
+ Misses         32       25       -7
- Partials       38       42       +4

Flag
Coverage Δ

#unittests
67.78% <73.91%> (+3.32%)
:arrow_up:

Impacted Files
Coverage Δ

src/lib.rs
63.79% <71.42%> (+6.91%)
:arrow_up:

tests/test.rs
72.82% <80.00%> (-1.04%)
:arrow_down:

Continue to review full report at Codecov.

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

Superseded by #17


Replacing Trump Tweet study mentions

Purpose/implementation Section
What changes are being implemented in this Pull Request?
I've been working on incorporating @tinoproductions 's suggestions for replacement for the Trump Twitter analysis.
This is the suggested replacement: http://re-design.dimiter.eu/?p=767 an IMDB study.
There's a chapter where we need to describe the variables we have and the variables we would want, which is a little trickier given the exploratory nature of the replacement analysis: http://re-design.dimiter.eu/?p=767
What was your approach?
There's still a few TODOs that will take a little work to replace. @tinoproductions do you want to take a whack at these TODO's? I don't think they fit well with this analysis, but maybe we can replace it with an analysis we talk about elsewhere.

I wasn’t ready to merge this just yet. Was going to address the spelling fixes and some other PRs that I wanted to go in first.
Sorry if I didn’t make it clear that I wasn’t ready yet.


Support arithmetic parenthesis

Hi!
My suggestion is quite simple. First, just have a look to this modules tree:
src/
    news/
        news-module1.js
        news-module2.js
    forum/
        forum-module1.js
        forum-module2.js
    startup.js

Let's say I want to bundle news files into a news.js file and everything else in a global.js file. I will do something like:
jspm bundle "startup - news/*" src/global.js --inject
jspm bundle "news/* - global" src/news.js --inject

If I use a dependency like lodash into my news bundle and somewhere else in the project, it won't be included into global.js and will be present into news.js. Of course, I could correct it manually in my bundle config, but the point is to automatize it.
Is it possible to have a new operator like ~ that would work like this (and would you find this interesting?):
# Load startup and its dependencies, except files in the news folder and their dependencies
# that are not used anywhere else in startup
jspm bundle "startup ~ news/*" src/global.js --inject

Alternative solution
Another solution (maybe simpler) would be to handle parenthesis in module expressions, because we could just do:
jspm bundle "startup - news/* + (startup & news/*)" src/global.js --inject

What do you think?
jgrenat

If you create a bundle containing startup & news/* you can then use that bundle in subsequent subtractions.
Or would you never actually have a bundle containing startup & news/& here?
Supporting parenthesis is something that's always been an option, I think that may be the best approach here.

That's the point, I don't want a bundle containing startup & news/*.
I agree with the fact that supporting parenthesis would be a better option there ; for what I've seen, it will imply quite a lot of work.
I'm not sure to have the time to look at it these days, but I will try to start something this week-end!

Sure, yes it would require a little bit of consideration to implement, but shouldn't be too much code actually.

I'd also like to see parenthesis support, I think my use case is probably similar, I'd like to do:
(module1.js & module2.js) + (module3.js & module4.js) => common.js
Then
(module1.js + module2.js) - common.js => bundle1.js
(module3.js + module4.js) - common.js => bundle2.js
From what I can see right now, this is probably only possible by creating intermediate bundles, although maybe I'm missing something in the way arithmetic operator precedence works that would let me achieve this already?
Looking at the code it seems to have a simple left to right operator application, meaning mixing + and - would be ok, but not & and +, so the bundle1.js and bundle2.js would be fine without parenthesis, but the common.js case would be problematic without creating intermediate bundles that I don't need in the final outcome.
Basically I'd like to avoid the cost of writing out intermediate bundles I don't intend t use - I notice in memory building is supported, but using tools like Grunt can make it trickier to make use of those abstractions in the underlying builder.

Yes exactly this is not currently possible without intermediate bundles.
As a first step here we could potentially look at simply introducing operator precedence of & over + and -?
Contributions are also welcome along these lines.

I might be up for implementing parenthesis support if you're interested.  I think the following would be a relatively straightforward implementation:
Modify parseExpression to be smart enough to spot parens.  When it does, it adds an entry to operations with the operator set to, say, () and a property of, say, operations which is an array set to a recursive call to parseExpression, passed the inner text of the parens content.
In traceExpression, refactor this code
operations.forEach(function(operation) {
expandPromise = expandPromise.then(function() {
return Promise.resolve(expandGlobAndCanonicalize(builder, operation))
.then(function(expanded) {
expandedOperations = expandedOperations.concat(expanded);
});
});
});
into a helper function which would take the current expandPromise, and an array of operations.  It would then recursively call itself when it comes across a parens operator from the previous step: it would pass the same current expandPromise, and of course the operations array added to the current entry by parseExpression in the prior step.
Would that work?  Am I missing any edge cases?  If you'd be interested in a PR I'd be happy to give it a go.

@arackaf that would be amazing. The most important thing from a parsing perspective is that we maintain a carefully defined meaning of what characters can and can't be used in module names. Currently the parsing rule is simply to split by a space character, assuming that every space is followed by an operator, another space, then a module. When parsing brackets, for example A + (B + C) might make sense in this same model since we detect the paren "expression" after space parsing that it starts and ends in a bracket, and can still use spacing as the primary parsing concept. Let me know if that makes sense. From a code perspective as long as it is readable and thought out, I'm happy.

@guybedford sweet - so the proposed implementation above would likely work?
Anything I need to know before diving into this?  Looks like you have tabs set to 2 spaces...any other styles you care about??

@arackaf great. The main thing I care about is having as little code to maintain as possible. The clearer and smaller the code, the better.

We think alike :)
I'll see what I can do.

The implementation approach sounds great. I'll still be offline for the next couple of days unfortunately, but just let me know if you hit any edge cases you'd like to discuss and I'll do my best to respond.

Much appreciated.  I assume you want to keep things as simple as possible?  Ie, I'd be happy to set you up with a Babel process, but then again might be more work than it's worth.

@arackaf yeah I know it seems somewhat contradictory, but happy to write to the baseline directly.

Not at all - one fewer thing to maintain.

This was implemented by @arackaf already...


Open dashboard on browser after tye run

What should we add or change to make your life better?
After tye run, open the dashboard on a browser. Enabling this should be configurable, in a user setting and/or project setting.
Why is this important to you?
It's one less step on the development workflow.

Thanks for the idea. It looks like someone's already working on the basic functionality. https://github.com/dotnet/tye/pull/350

Enabling this should be configurable, in a user setting and/or project setting.

We should talk more about this part @jkotalik @davidfowl
I like the idea of per-user options via env-vars as well as via command-line - allowing you to set env-vars to provide options like --dashboard makes things less repetative.
So like $env:TYE_RUN_ARGS="--dashboard" in your profile would toggle on this behavior all of the time.

There's a new release of the kubernetes client that hopefully has the fix.

We like the environment variable solution for making this configurable.

Hello
I tried to solve this issue (initially just for myself to learn some stuff) and i think that i came up with decent solution which you could use.
Brief description
It is generic solution to apply default options to commands.
Environment variable is choosen by convention as TYE_{command name uppercase}_ARGS.
It applies all non already applied options from env-var to command.
It can be disabled with option --no-default.
Examples
User creates env-var: TYE_RUN_ARGS="--v debug --dashboard"

User runs command tye run --v quiet which will become tye run --v quiet --dashboard
Option -v is already applied so we will not reapply it. Option --dashboard is applied.
User runs command tye run which will become tye run --v debug --dashboard
Both options are missing so we will apply them
User runs command tye run --no-default  which stays as tye run --no-default
User specified the --no-default option which disables this feature
User runs command tye deploy  which stays as  tye deploy
Env-var was not found for deploy command (expected TYE_DEPLOY_ARGS).

Is it something what you was thinking of?
I would create a PR if you would like to check it out more.

@qpooqp that would work for me!


one question about FAST

OpenFAST has a dynamic link library Hydro-dynamics, which can directly call the calculation, but it is DLL. How can the dynamic link library be called in Matlab, or how can it be used in Matlab?

Duplicate question to #1897


Snapshot Testing

This uses namespace imports for spectre.console consistently in the main module code. I'm not sure I'm a fan of using using statements because it makes it harder to copy paste parts into the terminal for testing but at least it's the same in all public functions now.
This switches to using the Spectre.Console.Testing.TestConsole to allow easy inspection of "terminal" output during tests. This allows suppressing output of the test run and evaluating it afterwards.
For most visual outputs I've added snapshot tests that look like this when they fail:

@trackd I hope I didn't break your tests/code switching them to the testconsole. It's part of the spectre.console.testing library you linked a while ago. The testconsole is pretty good, you can set it up and specify things like the width, features like ansi etc. so the tests are easier to get to work locally + in gh actions

This uses namespace imports for spectre.console consistently in the main module code. I'm not sure I'm a fan of using using statements because it makes it harder to copy paste parts into the terminal for testing but at least it's the same in all public functions now.

yea im a bit split on them as well, i sometimes use namespaces to reduce code width..
it does look make it cleaner, but can certainly make it harder to follow along.

@trackd I hope I didn't break your tests/code switching them to the testconsole. It's part of the spectre.console.testing library you linked a while ago. The testconsole is pretty good, you can set it up and specify things like the width, features like ansi etc. so the tests are easier to get to work locally + in gh actions

ah nice! I'm sure i can adapt the code to handle the new test method if needed.

features like ansi
does that mean that we can enable the 24bit color tests in ConvertTo-SpectreDecoration.tests.ps1 ?
(ie -Tag "ExcludeCI")

And thanks for teaching me about that argtransformation attribute btw

It is pretty cool, only learned about it recently myself as well.
i've learned alot from your code and contributing to the module, it's alot of fun.
I'm not sure i understand the need for all the saving to .txt files or -AsByteStream
is file encoding messing something up so this is to normalize it?
$snapShotComparison =<EMAIL_ADDRESS>Set-Content -Path $snapShotComparison -Value ($testConsole.Output -replace "`r", "") -NoNewline
$compare = Get-Content -Path $snapShotComparison -AsByteStream
$snapshot = Get-Content -Path<EMAIL_ADDRESS>-AsByteStream
$snapshot | Should -Be $compare

Importing the file with -Raw returns it as a single string object which should be comparable to $testConsole.Output

havnt finished going over all the changes, but looks very nice.
I have been thinking a bit, i know you split the module from a single .psm1 to 1 file per function.
That makes alot of sense for development.
But for distribution its usually preferred to use a single .psm1 as it's a bit faster to load.
this would remove all the using completers.psm1 statements as the class would be in the same file.
I've been looking at some buildtools list (that's not a complete list, just a few i could find that seems active)
This would also enable building a dll from the parser C# code and adding it to the .psd1 (at buildtime)
ModuleBuilder is pretty popular.
i could take a look at it, if it's something you're interested in.

oh slightly off topic, but not sure if you've seen it, i use this a ton when trying to figure out the spectre lib methods and classes.
https://github.com/SeeminglyScience/ClassExplorer
Super useful module for poking around dotnet classes

Importing the file with -Raw returns it as a single string object which should be comparable to $testConsole.Output

As far as I could tell using -Raw still strips ansi which I need because ansi changes should probably be a failure until it can be explained. I will pull this snapshot logic out into the testhelpers because it's just copy pasted all over the place atm.
I like writing the file to the filesystem during snapshot testing because it makes it much easier to investigate after a test run. I will upload the snapshot and comparison files as github action artifacts if there are failures.

Importing the file with -Raw returns it as a single string object which should be comparable to $testConsole.Output

As far as I could tell using -Raw still strips ansi which I need because ansi changes should probably be a failure until it can be explained. I will pull this snapshot logic out into the testhelpers because it's just copy pasted all over the place atm.

huh that is weird, Get-Content does not strip the colors for me, also works in 5.1 (with -Encoding utf8)

this seems to work for me,
# https://gist.github.com/trackd/d6d2bcae1fb0e7c8ba01e51153649ce5
Enable-DebugSpectre
ls | fst | Set-Content ..\table.spectre.txt -NoNewline
ls | fst | should -be (Get-Content -Raw ..\table.spectre.txt)

I like writing the file to the filesystem during snapshot testing because it makes it much easier to investigate after a test run. I will upload the snapshot and comparison files as github action artifacts if there are failures.

i think that information is already in the error, i can usually see the diff when i test locally.
but it might truncate it a bit.. there is a ton of pester settings though.
i use this to run the tests, run in a new pwsh otherwise the Enable-DebugSpectre breaks the tests 😄
function Test-PwshSpectreConsole {
    <#
        https://pester.dev/docs/usage/test-results
        https://pester.dev/docs/usage/configuration
    #>
    [cmdletbinding()]
    param(
        $Name = "PwshSpectreConsole",
        $Folder = "D:\Code\PwshSpectreConsole\"
    )
    $runner = {
        param($Current, $Path)
        Write-Host 'Starting pwsh -noprofile and Running Pester tests...'
        Import-Module Pester -Force
        $Date = Get-Date -Format "yyyyMMdd_HHmm"
        $config = New-PesterConfiguration
        $config.Run.Path = $Path
        $config.CodeCoverage.Enabled = $true
        # $config.Debug.ShowFullErrors = $true
        # $config.Debug.WriteDebugMessages = $true
        $config.TestResult.OutputFormat = "NUnitXml"
        $config.TestResult.OutputPath = (Join-Path (Split-Path -Parent $Path) "test-results" "${Current}_${Date}_NUnit.xml")
        $config.TestResult.Enabled = $true
        $config.output.CIFormat = 'GithubActions'
        Invoke-Pester -Configuration $config
    }
    pwsh -NoProfile -NonInteractive -Command $runner -args $Name, $Folder
}

huh that is weird, Get-Content does not strip the colors for me, also works in 5.1 (with -Encoding utf8)
I don't know what I was doing to think that, -raw works fine.


Error in function argument renamed destructuring with type

Bug Report

TSLint version:  5.9.1
TypeScript version: 2.7.2
Running TSLint via: CLI

TypeScript code being linted
interface SessionMeta {
  // ...
}

this.sessionService
  .getSessions()
  .subscribe( ( { meta: newMeta }:  { meta: SessionMeta } ) => {
    //            |
    //      error points to here

    this.setCount(newMeta.match_count);
  });

with tslint.json configuration:
{
  "no-use-before-declare": true,
}

Actual behavior
ERROR: ...: variable 'meta' used before declaration
Expected behavior
I think, the syntax is valid, the compiled code is good, the expected. You can see a similar example here:
https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Variable Declarations.md#property-renaming

I also have this problem, syntax is fine, I think this is a false positive

Looks like this was fixed by #3849. 🎉


feature covert predicate to sargable

Proposed changes
covert predicate to sargable such as
(1 - col) = 4
==>
col1 = -3

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


enhancement:  create a page that will show the versions.

Create a page that will show us all the versions of current application and wrappid packages versions with all the details.

Created in the wrong repository. This should be in wrappid-app


remove the @jsx React.DOM pragma beacause its deprecated on React 0.12

I'm using the 0.13.3 version of React in my project.

Thanks!


doesnt work

http://www.urbanbeagle.com/screen/ it accepts the URL it creates several files in the jobs folder. Looking at the file severythign seems right but I do not see an image on the screen after I send submit...I have installed all the items you said to install and I changed the permissions as told.. any ideas what could be the issue?
ok looking at the .js created for this URL I see this...
var page = require('webpage').create();
page.viewportSize = { width: 1024, height: 768 };
page.open('http://www.sidesplitterscomedy.com/Knoxville/schedule.asp?Page=http://www.ticketbiscuit.com/SideSplittersKnoxville/EventPage.aspx?EID=183120&&~AffTID=2~AffID=47', function () {
page.render('www.sidesplitterscomedy.com1648907183_1024_768.jpg');
phantom.exit();
});
I see the url I pasted but then I see that the rendered file is definitely not going to show since its path is nowhere locally on my server which I would expect.
I think tha tis created by your script correct?

This code will work on Linux OS?

@SivaRaman24 it works on linux yes


Function header documentation had blank lines between each line which…

… results in only the first line being shown.  This was found in getplotlyfig.m.

Thanks @rucarden!


Update DayTrader3 Dashboard to DayTrader7 Dashboard

Removed Daytrader3 throughput dashboard
added Daytrader 7 startup dashboard for monitoring
related to #118,#223
Signed-off-by: Dong Hoon Lee<EMAIL_ADDRESS>

Updated PR mostly
1.Fix the minor typos & wrong terms
2.Updated metrics into single loop
regard https://github.com/AdoptOpenJDK/openjdk-test-tools/pull/233#discussion_r413272716, currently Liberty runs 2 times a day so we need precise timestamp (as jdkDate provides only date the data collapses together on 1 point which I believe we are not intending to)

Posting screenshots here for reference:

updated PR ( sorry about 3 push made errors in the first 2)
1.renaming
2.timestamp to JDKdate
3.convert let to const for ones needed
4. comments
Below is graph generated locally from above PR


Set body content using [content]="html_code" or something like that

Is there a way how I can set the modal-content using an directive like [content] or something like that?
I have to set the html code of the body content dynamically.
Here is an example of code:
<modal #modal_delete>     <modal-header>
Delete
     </modal-header>     <modal-body [content]="Really?">     </modal-body>     <modal-footer>     </modal-footer> </modal>

@julianpoemp yes, simply put dynamic content in the modal body. Using your example:
ere is an example of code:
<modal #modal_delete>
    <modal-header>

Delete

    </modal-header>
    <modal-body>
        <my-dynamic-component [value]="myModel" />
        {{ otherDynamicStuff }}
    </modal-body>
    <modal-footer>
    </modal-footer>
</modal>

Thank you. I could solve this like that:
<modal #modal_delete>
    <modal-header>

Delete

    </modal-header>
    <modal-body>

    </modal-body>
    <modal-footer>
    </modal-footer>
</modal>


Fix wording - UID2 token should be raw UID2

Let me know if I am misunderstanding the wording here.

lgtm, thank you!


Fixes #392 , add Czech language

Thanks to @Fireballcz :)

Codecov Report

Merging #393 into master will decrease coverage by 0.24%.
The diff coverage is 100%.

Adding the same as above
Czech_fixed.txt


Pass through server.close arguments

This allows library users to receive the close callback.

I'd like to use http-server in support of some automated tests, and knowing when the server is closed is important for test cleanup. Any chance a reviewer could take a look at this patch?

Sorry, @thornjad, I won't be able to make updates to this PR.

Closing since changes were refused. @jugglinmike if this is useful to you, I encourage you to make a PR with the same change, plus documentation and testing!


Kubedock and concurrency

Hi there,
I have a question about concurrency.
We are using kubedock as a standalone service running in kubernetes. I have managed to get things pretty stable, however some strange things happen when I try to kick off several builds (which talk to kubedock) at the same time (e.g. multiple copies of the same service being spun up etc). I have not really dug into this yet so I am unsure of the cause.
Can kubedock be used in this way? Or is it only intended to be used by one process at a time?
Thanks

The short answer is no.
This is because of the network aliases. A network alias is basically a hostname, which the containers can use to talk to each other.
A good example is kafka+zookeeper. This configuration requires a hostname in the kafka container, pointing towards zookeeper. So, what is usually done in this case, is that zookeeper is given the network alias ‘zookeeper’ and in the kafka config this is hardcoded to zookeeper as well.
The k8s equivalent of this network alias, is a service. If you would run two of these zookeepers, with the network alias, a naming conflict exists.
This can be workaround by with short-lived kubedock instances, which lock itself when started (the tekton sidecard example does this). Or, create a separate namespace per run.
A kubedock native implementation would be that kubedock would create namespaces per docker-network (making it unique again), but I am unsure if this added complexity is something that would be used a lot (as a kubedock run would create and delete namespaces as well).
My assumption is that you are using gitlab (or something similar), maybe some logic in front of kubedock is a more simple solution (either locking, pooling through some pre-defined namespaces, or create namespaces on the fly).

Hi Vincent - thanks for your reply.
Ok understood (I think), but if you're careful to configure your containers so that they assign themselves random network aliases, is there any reason why in principle kubedock running as a standalone service wouldn't be able to serve concurrent test processes that want to spin up pods in k8s?
I'm hoping that the taking the above precaution would enable us to avoid locking or the complexity of spinning up short lived namespaces.
RE: kafka specifically, if you're just running a single broker with embedded zookeeper, it looks like zookeeper starts up as a new process within the kafka container and the broker process talks to it on localhost:2181, so as far as I can see I don't think there would be a service name clash there.

Going to close this, as I think I've got to the bottom of the weird behaviour I was seeing.
Kubedock seems fine to run concurrently if you're careful with service hostnames.


Custom labels in Dockerfile not updated when deploying a container from an updated image

Bug description
Custom labels are not updated when updating an image + its container
Expected behavior
Custom labels should reflect the ones in the Dockerfile
Portainer Logs
n/a
Steps to reproduce the issue:

Create a docker image, put some labels in it, such as:

LABEL build-date="20220804"
LABEL dockerfile-version="11.20.00"

Build image, import it via PortainerCE, deploy container.
Go back in Dockerfile, increment both label values
Build image, import it via PortainerCE
Click on "Containers", select your container (that's the previous version that is running for now)
Click on duplicate/edit, change the values to run the container from the NEW image version, select DEPLOY once done
Once the updated container runs, check its labels, they should be the ones on Step 1, but they are not.

Technical details:

Portainer version: 2.14.2 CE
Docker version (managed by Portainer): 20.10.17
Kubernetes version (managed by Portainer): n/a
Platform (windows/linux): Asustor AS-6604T (Linux-based NAS)
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer):
Browser: Chrome on Linux (updated)
Use Case (delete as appropriate): Using Portainer at Home,
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
My PortainerCE container is packaged by AsusStor, but I doubt that it's a package issue.

@jeanfrancoisgratton
Thank you for the information.  I have reproduced the issue.  I have attached my steps and attachments for review.
[1] Build Image nginx-upload:latest >> Import
[2] Containers >> Add Container docker-label-testing >> Image nginx-upload:latest
[3] Update my Dockerfile LABEL dockerfile-version="11.20.10"
[4] Build Image nginx-label:latest >> Import
[3] Containers >> docker-label-testing >> Duplicate/Edit
[5] Image nginx-label:latest >> Deploy the container
[6] Containers >> docker-label-testing >> Review Labels
[7] Label was not updated as expected

I am going to forward to Engineering for review.  I will update you as I learn more.
Thanks!

@tamarahenson Thanks. Your steps are close enough of mine not to matter.
Will await triage, then.

@jeanfrancoisgratton
Upon further testing, I was able to figure out a workaround:
[3] Containers >> docker-label-testing >> Duplicate/Edit
[4] Image nginx-label:latest >> scroll down to Labels >> Update the Label >> Deploy the container
[5] Containers >> docker-label-testing >> Review Labels

Tested, it works fine, yes. Thanks @tamarahenson

@jeanfrancoisgratton
I wanted to follow up on this request.  Per further review with Engineering, this is working as intended.  You will need to follow the process as shown above to edit the labels.
Thanks!

I was on short vacation, sorry for the late reply. As the work-around you've provided suits me just fine, @tamarahenson , I'm happy with this issue's outcome.
Thanks for the feedback.


Huawei support

Plugin(s)

[X] Barcode Scanning
[ ] Face Detection
[ ] Face Mesh Detection
[ ] Selfie Segmentation
[ ] Translation

Current problem
This plugin supports huawei devices (without Google Play Services)?
Preferred solution
support huawei devices
Alternative options
No response
Additional context
No response
Before submitting

[X] I have read and followed the feature request guidelines.
[X] I have attached links to possibly related issues and discussions.

Yes, Huawei devices are supported but you have to use the startScan(...) method and build the UI yourself.


internal/osbuild2: add stages for raw images and grub iso

Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

This PR implements all the needed stages to create raw images and the new grub.iso stage needed for the new edge simplified installer. I'll follow up with a PR to create the pipelines (I think it's easier to review like this)

@gicmo @achilleas-k ptal

comments addressed thanks @achilleas-k

Obsoleted by https://github.com/osbuild/osbuild-composer/pull/1654


[Pub] If pubspec.yaml declares many transformers the 'Loading ...' line is printed multiple times.

This issue was originally filed by<EMAIL_ADDRESS>
It seems the code that prints the elapsed time forces the reprinting of the 'Loading ...' line if the line does not fit in the terminal.
For an example try to download flare_example and run
pub build
I am using Ubuntu 14.04.

This issue has been moved to dart-lang/pub#1119.


feat: [IDP]: Re-org of side-nav for idp

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://67187608e99ca7260c6befa3--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://67187d9150aba32dd6ec91b9--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://67188610c2aaedfa8a3e5844--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6718a636c2aaed1f9c3e56be--harness-developer.netlify.app


Items Error after upgrade to 0.9.12

I created some items in the last version and they were working fine.  After upgrade to 0.9.12 they stop working.  I cannot click on them anymore because nothing happens.  If I use their formula (your healing potion formula) I get this error: Error: You must define a valid Item type.  Also if I create a new item I cannot edit either.

Yes, we had a snafu with our deployment.   It has been fixed and release 0.9.13 is out.   You will need to update and then exit/restart Foundry to apply these changes.


Update README.md

use code blocks for example config

/lgtm

/retest

/retest

merge it, we'll fix the tests separately as they don't seem to be related @NautiluX


Uncaught SyntaxError: Unexpected end of JSON input

.. create a class function using latest mongodb php driver (not mongo driver php) inside that this code static public $_db;
public static function db()
{
if (!static::$_db) {
if(CLUSTER !=null){
static::$_db = new MongoDB\Client("mongodb://".SITEDBUSERNAME.":".SITEDBPASS."@".SITEDBURL.":27017/".SITEDB);
}else{
static::$_db = new MongoDB\Client("mongodb://".SITEDBUSERNAME.":".SITEDBPASS."@".SITEDBURL.",".CLusteroption);
}
}
  $siteDB = SITEDB;

return static::$_db->$siteDB;
}

Atom Version: 1.12.3
Electron Version: 1.3.6
System: Mac OS X 10.12.2
Thrown From: atom-autocomplete-php package, v0.20.2
Stack Trace
Uncaught SyntaxError: Unexpected end of JSON input
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22initialPaths%22%3A%5B%22%2FUsers%2Frussellharrower%2FSites%2Fipet%22%5D%2C%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Frussellharrower%2FSites%2Fipet%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%5D%2C%22windowInitializationScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Finitialize-application-window.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22clearWindowState%22%3Afalse%2C%22env%22%3A%7B%22TMPDIR%22%3A%22%2Fvar%2Ffolders%2F37%2Fgzk1h8dd58s39xdm996ks67h0000gn%2FT%2F%22%2C%22__CF_USER_TEXT_ENCODING%22%3A%220x1F5%3A0x0%3A0xF%22%2C%22HOME%22%3A%22%2FUsers%2Frussellharrower%22%2C%22SHELL%22%3A%22%2Fbin%2Fbash%22%2C%22Apple_PubSub_Socket_Render%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.R54t6OizYx%2FRender%22%2C%22SSH_AUTH_SOCK%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.l8ii3j2Q4N%2FListeners%22%2C%22PATH%22%3A%22%2Fusr%2Fbin%3A%2Fbin%3A%2Fusr%2Fsbin%3A%2Fsbin%22%2C%22LOGNAME%22%3A%22russellharrower%22%2C%22XPC_SERVICE_NAME%22%3A%22com.github.atom.14356%22%2C%22USER%22%3A%22russellharrower%22%2C%22SECURITYSESSIONID%22%3A%22186a6%22%2C%22XPC_FLAGS%22%3A%220x0%22%2C%22GOOGLE_API_KEY%22%3A%22AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q%22%2C%22ATOM_HOME%22%3A%22%2FUsers%2Frussellharrower%2F.atom%22%7D%2C%22appVersion%22%3A%221.12.3%22%2C%22atomHome%22%3A%22%2FUsers%2Frussellharrower%2F.atom%22%7D:1

SyntaxError: Unexpected end of JSON input
    at Object.parse (native)
    at ChildProcess.<anonymous> (/Users/russellharrower/.atom/packages/atom-autocomplete-php/lib/services/php-proxy.coffee:83:52)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:852:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

Commands
     -4:00.5.0 core:move-right (atom-text-editor.editor.is-focused)
  9x -4:00.0 core:select-right (atom-text-editor.editor.is-focused)
     -3:57.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:56 core:save (atom-text-editor.editor.is-focused)
     -0:09.0 core:undo (atom-text-editor.editor.is-focused)
  2x -0:06.9.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  },
  "atom-autocomplete-php": {
    "insertNewlinesForUseStatements": true,
    "verboseErrors": true
  }
}

Installed Packages
# User
atom-autocomplete-php, v0.20.2 (active)
atom-material-syntax, v0.4.6 (active)
atom-material-ui, v1.3.6 (active)
atom-typescript, v10.1.12 (active)
auto-detect-indentation, v1.3.0 (active)
autoclose-html, v0.23.0 (active)
linter, v1.11.18 (active)
mdl-snippets, v0.3.0 (inactive)
Remote-FTP, v0.9.4 (active)
todo-show, v1.8.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (inactive)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (inactive)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.46.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

This bug is very annoying

This bug is very annoying

This is a duplicate of #303.

Hello,
Should be fixed.


On "who we are" credit everybody who contributes

I would like that we credit on this page everybody who contributes.
In particular I would like that we credit Richard, Jarno, Enrico, all volunteer instructors, all volunteer helpers.
But we should check with everybody whether they like to be listed.

This page needs a link to https://coderefinery.org/about/contributors/.


VS Code Freezes Second Monitor After Resume From Sleep on Ubuntu 24.10 Wayland

Does this issue occur when all extensions are disabled?: Yes/No
Yes, even with all extensions disabled the issues still occurs.

VS Code Version: 1.94.0

Windsurf Version: 1.0.6
Codeium Version: 1.30.0
Codeium Commit: 14299208eed2f89aa6262337ae5dfd1bc70e4cd8
VSCode OSS Version: 1.94.0
Commit: 14299208eed2f89aa6262337ae5dfd1bc70e4cd8
Date: 2024-12-06T09:37:00.974Z
Electron: 30.5.1
ElectronBuildId: undefined
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.11.0-9-generic

Even though I'm currently using Windsurf here, this issue also happens in VS Code. This issue started happening after I upgraded from Ubuntu 24.04 to 24.10 and switched from X11 to Wayland.

OS Version:

# System Details Report
---

## Report details
- **Date generated:**                              2024-12-09 09:08:10

## Hardware Information:
- **Hardware Model:**                              Lenovo Legion Y545 PG0
- **Memory:**                                      32.0 GiB
- **Processor:**                                   Intel® Core™ i7-9750H × 12
- **Graphics:**                                    Intel® UHD Graphics 630 (CFL GT2)
- **Graphics 1:**                                  NVIDIA GeForce GTX 1650
- **Disk Capacity:**                               1.3 TB

## Software Information:
- **Firmware Version:**                            BHCN45WW
- **OS Name:**                                     Ubuntu 24.10
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               47
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.11.0-9-generic

Steps to Reproduce:

Resume from sleep.

Use for a few seconds to a few minutes. Usually very quickly, but not always.
Second monitor will visually freeze, though still accept input.
Turn monitor off.
Turn monitor on again.
Exit VS Code before it freezes again.
Start VS Code on primary monitor.
It will not freeze.

Ok, thanks. I've escalated the version issue with the Windsurf team.


Lost executor d on x.x.x.x: remote Rpc client disassociated

rdd = a.joinWithCassandraTable(ks, b)
print rdd.take(10)
ERROR 2016-07-14 11:28:35,405 org.apache.spark.scheduler.TaskSchedulerImpl: Lost executor 4 on <IP_ADDRESS>: remote Rpc client disassociated
WARN  2016-07-14 11:28:35,407 akka.remote.ReliableDeliverySupervisor: Association with remote system [akka.tcp://sparkExecutor@<IP_ADDRESS>:44030] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
WARN  2016-07-14 11:28:35,414 org.apache.spark.scheduler.TaskSetManager: Lost task 0.0 in stage 0.0 (TID 0, <IP_ADDRESS>): ExecutorLostFailure (executor 4 lost)
ERROR 2016-07-14 11:28:35,418 org.apache.spark.scheduler.cluster.SparkDeploySchedulerBackend: Asked to remove non-existent executor 4
WARN  2016-07-14 11:28:38,795 akka.remote.ReliableDeliverySupervisor: Association with remote system [akka.tcp://sparkExecutor@<IP_ADDRESS>:36344] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
ERROR 2016-07-14 11:28:38,795 org.apache.spark.scheduler.TaskSchedulerImpl: Lost executor 0 on <IP_ADDRESS>: remote Rpc client disassociated
WARN  2016-07-14 11:28:38,795 org.apache.spark.scheduler.TaskSetManager: Lost task 0.1 in stage 0.0 (TID 1, <IP_ADDRESS>): ExecutorLostFailure (executor 0 lost)
ERROR 2016-07-14 11:28:38,799 org.apache.spark.scheduler.cluster.SparkDeploySchedulerBackend: Asked to remove non-existent executor 0
ERROR 2016-07-14 11:28:42,253 org.apache.spark.scheduler.TaskSchedulerImpl: Lost executor 2 on <IP_ADDRESS>: remote Rpc client disassociated
WARN  2016-07-14 11:28:42,254 org.apache.spark.scheduler.TaskSetManager: Lost task 0.2 in stage 0.0 (TID 2, <IP_ADDRESS>): ExecutorLostFailure (executor 2 lost)
WARN  2016-07-14 11:28:42,254 akka.remote.ReliableDeliverySupervisor: Association with remote system [akka.tcp://sparkExecutor@<IP_ADDRESS>:46670] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
ERROR 2016-07-14 11:28:42,257 org.apache.spark.scheduler.cluster.SparkDeploySchedulerBackend: Asked to remove non-existent executor 2
ERROR 2016-07-14 11:28:45,181 org.apache.spark.scheduler.TaskSchedulerImpl: Lost executor 5 on <IP_ADDRESS>: remote Rpc client disassociated
WARN  2016-07-14 11:28:45,181 akka.remote.ReliableDeliverySupervisor: Association with remote system [akka.tcp://sparkExecutor@<IP_ADDRESS>:54938] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
WARN  2016-07-14 11:28:45,182 org.apache.spark.scheduler.TaskSetManager: Lost task 0.3 in stage 0.0 (TID 3, <IP_ADDRESS>): ExecutorLostFailure (executor 5 lost)
ERROR 2016-07-14 11:28:45,183 org.apache.spark.scheduler.TaskSetManager: Task 0 in stage 0.0 failed 4 times; aborting job
ERROR 2016-07-14 11:28:45,185 org.apache.spark.scheduler.cluster.SparkDeploySchedulerBackend: Asked to remove non-existent executor 5

Traceback (most recent call last):
  File "/root/social-analytics/social_analytics/axes_by_date.py", line 49, in <module>
    print 'Q1', datetime.now(), axes.take(10)
  File "/usr/share/dse/spark/python/lib/pyspark.zip/pyspark/rdd.py", line 1277, in take
  File "/usr/share/dse/spark/python/lib/pyspark.zip/pyspark/context.py", line 899, in runJob
  File "/usr/share/dse/spark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/java_gateway.py", line 538, in __call__
  File "/usr/share/dse/spark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/protocol.py", line 300, in get_return_value
py4j.protocol.Py4JJavaError: An error occurred while calling z:org.apache.spark.api.python.PythonRDD.runJob.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3, <IP_ADDRESS>): ExecutorLostFailure (executor 5 lost)
Driver stacktrace:
        at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1276)
        at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1267)
        at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1266)
        at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
        at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1266)
        at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:730)
        at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:730)
        at scala.Option.foreach(Option.scala:236)
        at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:730)
        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1460)
        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1421)
        at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)

i used TargetHolding:pyspark-cassandra:0.3.5, dse 4.8

@frensjan thanks for your review

@avatarzhang do you have any logs relating to the lost executors? The stacktrace you posted is rather general.

this is related to spark version. i am on 1.4 but 0.3.5 need 1.5+.


Add support for Frankfurt region

Sumologic added a Frankfurt region

@bjweaver thanks! I'm currently not able to review this, but I will be next week :)


style: Let's Talk About the Green Checkboxes ... and hopefully rework them

Tidy's Item Sheet checkboxes are their own thing altogether, and their styles are somewhat complex.
Unfortunately, they do not hold up well to longer text in the checkbox...

I have multiple goals for these checkboxes:

[ ] Tidy up their styles; the styles are too rigid and complex, and they are not meeting the current use case in dnd5e 3.x
[x] Rework the layout of these checkboxes. The imposed 25% width with hidden overflow looks unprofessional and is not useful. They should be able to accommodate as much information as is needed in order to support graceful layout.
[ ] Review the chosen colors. Do they match the default theme? Should they instead use the primary accent color? Should they be theme-able beyond a default set of colors?

I successfully eliminated the green checkboxes from the item sheets 🎉
The visual overhaul is coming soon and will take that a step further.


Add Exception::CallStack.empty

This is a follow-up on https://github.com/crystal-lang/crystal/pull/15002 which explicitly assigns a dummy callstack to RetryLookupWithLiterals for performance reasons.
CallStack.empty is intended to make this use case a bit more ergonomical. It doesn't require allocating a dummy instance with fake data. Instead, it's an explicitly empty callstack. This makes this mechanism easier to re-use in other places (ref https://github.com/crystal-lang/crystal/issues/11658#issuecomment-2352649774).

Worth noting that this changes the behavior. Previously the same instance was used but now a new one is created every time.

Exception::CallStack is a struct, so same instance should not have much significance. Or am I missing something...? 🤔

yeah it seems the empty array could be cached (and ask users of .empty to not modify it)

CallStack#@callstack is never modified. It's not even directly accessible from the public API.
I think it should better be a Slice. But unfortunately, changing this is not exactly trivial because it involves the compiler primitive interpreter_call_stack_unwind.


Issue a message if environment variables not set

Reported by Ansley B Manke on 13 Apr 2007 16:41 UTC
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1500

Comment by<EMAIL_ADDRESS>on 13 Apr 2007 16:43 UTC
If the environment variables aren't set we get more error messages like
PPL+ error: Unable to read "default.spk" to set shade and fill colors.
Ferret does get the environment variables FER_PALETTE etc, so at that point we
could issue a friendlier error message pointing that out.


Styles in head but not rendered in Component

Hello!
I just started using Glamor, converting from Aphrodite and was looking to take advantage of the aphrodite shim. In my React Storybooks, everything is working properly, but when I render in my app that mixes (css and css-in-js) I see that my components have the className hash (css-foo) and can find the same hash in the style tag on Head, but the styles aren't rendered in my component!
So then I tried the normal style() api and everything worked.
Any idea what my problem could be?

Not sure exactly. Do you have a gist / sample code?

Sure!
Here's the component
import { style, merge } from 'glamor'
import { css, StyleSheet } from 'glamor/aphrodite';

const styleSheet = style({
  color: 'blue',
});

const aphroditeStyle = StyleSheet.create({
  title: {
    color: 'red',
    fontWeight: 'bold',
  },
  subtitle: {
    textAlign: 'center',
  },
});

function HelloWorld() {
  return (

      // does work

Hi

     // does not work

Hi

      // does not work

Hi

      // works

Hello World

  );
}

Seems like the merge function is the culprit! But doesn't make sense why everything would work in a storybook

your code seems to work for me. also this seems to be errant?
const styleSheet = style({
  color: 'blue',
});

please try the latest version

After upgrading, glamor is throwing an error here
https://github.com/threepointone/glamor/blob/fdd60d7f3075a95cdf638d207a1f8f58b710309a/src/autoprefix.js#L11
Uncaught TypeError: obj.indexOf is not a function
Possibly something messed up in a css function somewhere?

Can you tell me what style threw that error?

Ah okay this was the error (probably left over syntax from our aphrodite setup)
var opacityFadeIn = {
  'from': {
    opacity: 0,
  },
  'to': {
    opacity: 1,
  },
};

var foo = StyleSheet.create({
  animationName: opacityFadeIn,
  animationDuration: '2s',
});

yeah, the aphrodite shim doesn't handle animations and fonts in a fully compatible way. I'll try to get a better error message in, cheers. all else working for you?

Yes we are in business! Thank you!!

cheers, let me know if I can help you with anything else.


Removal of duplicated code within the bottom navigation

Idea Description
The section from
https://github.com/DroidKaigi/conference-app-2023/blob/0ea0e39cd3dc2f2d07c97dea42b0b38601b9b6a2/feature/main/src/main/java/io/github/droidkaigi/confsched2023/main/component/KaigiBottomBar.kt#L36-L60
contains duplicated code, and I would like to simplify it

True! Thank you for refactoring idea! Sounds valid!

Can I try this issue?

Sure! Go ahead!


user redirected to github issues

user is redirected to the #9 if he clicks on the online-first in about us page

yes @kjaymiller I am interested in contributing the fix


Could you please provide a portable/green/install-free version of the application?

The applicaton has been rolling out at a rapid pace lately. Could you please provide a portable/green/install-free version of the application?

I like the portable version of the application. Thanks.


contribution & withdrawal of funds

The contribution flow of adding capital to the housing fund

Users once verified can contribute stable token to the housing fund.
Funding
2.1. The users fund stays in the fund and is registered in the fund with their contribution amount and blockNr.
2.2 The users that wan't to take out a full amount or a part of their capital are allowed, the register of totalCapitalBonded will be updated
The fs-allocator will define for all contributions when bidding on an asset, whose funds and how much of the funds will be taken along. More on this in future issue
Bidding succes?
If the bid is successful the funds are converted into fractionalized shares of a house.
Bidding fails?
When the bid fails and is not sold to FS investors, then the funds are returned and investors are still first in line when a new asset is listed

open questions:

How to deal with several contributions for the fs-allocator

Finalized the design of the contribution storage, and its associated structs/trait in the branch structure_template.
Next step is to design a user's account storage. I prepared an enum in the lib.rs which contains the structs representing the different roles:
 enum User{
      Investor,
      Tenant,
      HouseOwner,
   }

I want to use this enum in a storageMap "User" where the key will be the accountId, and the value will be an enum containing one of the roles.


"Unlicensed Froala Editor" on local dev machine

Hey,
I wanted to test out the Froala WYSIWYG editor in my AngularJS v1.3.15 app. I installed via bower and launched my app on the development with a local IP address 192.168.0.X I received the error message "Unlicensed Froala Editor." How can I test this editor to see if it's worth purchasing a license?
Thanks!

—
Sent from Mailbox
On Sat, Apr 11, 2015 at 10:15 PM, corporationsruleyourmom
<EMAIL_ADDRESS>wrote:

Hey,
I wanted to test out the Froala WYSIWYG editor in my AngularJS v1.3.15 app. I installed via bower and launched my app on the development with a local IP address 192.168.0.X I received the error message "Unlicensed Froala Editor." How can I test this editor to see if it's worth purchasing a license?
Thanks!
Reply to this email directly or view it on GitHub:
https://github.com/froala/angular-froala/issues/19

The Unlicensed message doesn't limit in any way the editor's functionality.

Well, let me re-phrase, the editor did not show up only an "Unlicensed Froala Editor" button could be seen... Anyway to fix this? Or is Froala only accessible via localhost and not local ip addresses. Any help would be, well, helpful! Thanks.

Any updates here?

Hi, i used froala editor in my project. It worked fine on my local. Now when i saw it on my live site server, it is throwing this error. "Unlicenced copy of froala editor. Use it legally by purchasing a licence. " How to fix it, as then it should have thrown same error in my local machine. Now that i used it ,invested a lot of time in it. Now after few days checking on server, it is creating issue. Kindly help so that i can use this without actually buying it. Reply asap. Very urgent
Regards
Dharna


IFTA Segmentation on 18-142_PAS_1of6.svs

WSI
Failed job
Apptainer Image: 'sayatmimar_deployment_test_ifta-hpg.sif'
Ifta Model directory

This issue pertains to HPCC allocation and relates to how the HPC cluster is managing resources.
Not related to application or the plugin.


Fix cirrus ci and mpl

🚀 Pull Request
Description
Follow on PR from #4084

Consult Iris pull request check list

Only one test in CI should be failing now... and that'll require an update to the test-iris-imagehash repo to include missing images to suppor the latest mpl version

See https://github.com/SciTools/test-iris-imagehash/pull/39

@bjlittle did we miss an image hash? Still 1 doctest failure.

@trexfeathers did you want me to update the whatsnew to include this pr?

@trexfeathers did you want me to update the whatsnew to include this pr?

It already does?

@trexfeathers gosh, sorry... i'm all over the place today. feels like i've got prs coming out my ears...

@trexfeathers and @jamesp Awesome sauce! Thanks guys :+1: :partying_face: :beers:


Add the node setting tlsConfigDisableLocalFiles for tls node.

Add the node setting tlsConfigDisableLocalFiles for tls node.
Since this branch does not have tlsDisableLocalFiles setting yet (only in 0.17 branch), I just modified tls node.

Coverage remained the same at 84.22% when pulling bcc71b234e584223925c10ad2dd1107fc42e3dfe on Kazuki-Nakanishi:nodeSettings into 34089aec70912232043508097bea79fc70114487 on node-red:nodeSettings.

Coverage remained the same at 84.22% when pulling f1b835448eaaa5f564b59dab0ee9a38daf2a9b12 on Kazuki-Nakanishi:nodeSettings into 34089aec70912232043508097bea79fc70114487 on node-red:nodeSettings.

Thanks - will merge this PR and then merge nodeSettings into the 0.17 branch.

@Kazuki-Nakanishi I have merged to 0.17 locally and am updating some final parts of the tlsConfig node use of this feature. Whilst doing so I've found a couple minor issues that I'm fixing and adding tests for. Will add a link to the commit when I push it shortly - no action needed from you, just letting you know.

See<PHONE_NUMBER>6c0ab086a8d89256c07de62d87ef78 for the updates I made


cross-seed doesn't exit on startup validation failure

Current behavior: If cross-seed is started before the torznab service, it will log an error, but continue running:
# docker container logs -f cross-seed_cross-seed.1.bmpj5qcn7y3r1kgk9i9erqxam
Configuration file already exists.
info: Validating your configuration...
warn: Failed to reach http://prowlarr_prowlarr:9696/1/api?apikey=[REDACTED]
error: no working indexers available

Desired behavior: The main process should exit with failure status. This way the container will die and, if running in Swarm mode, automatically be recreated until the torznab service is healthy.

you're right, I think this is a regression.

I'm seeing the same behaviour.

v4.1.1


a recent report file

uploading a recent report file. I still get blank methylqa plots in multiqc head master

Thanks!


Wrong style when using column calculation and bootstrap 4

When using bootstrap 4 (beta 1) and TableFIlter's Column calculations feature, the calculated value is on the bottom of the table, as the caption tag (which the value is in) is styled by bootstrap 4 with "caption-side: bottom;".
Reproduction steps:

Try to use bootstrap 4 with this example https://koalyptus.github.io/TableFilter/column-calculations.html

Expected behavior:
The caption tag should be on the top of the table.
Observed behavior:
The caption tag is is on the bottom of the table.
Screenshots and GIFs
TableFilter version: v0.5.39
Browser and version: Firefox 55.0
OS and version: KDE Neon 5.10
Additional information:

Problem started happening recently, didn't happen in an older version of
TableFilter: No
Problem can be reliably reproduced, doesn't happen randomly: Yes

I just thought about this again. Maybe it's not a bug, because TableFilter and Bootstrap do not explicit support each other. Also you can easily work around it by overwriting the caption-side property on the caption tag.
So see this more as an information than a bug and close it if you think this should be fine.

tx @rimace for the heads-up, I haven't tried to integrate with bootstrap 4 yet. Just in case pointing you to a demo showing how to integrate with older versions of bootstrap:
http://koalyptus.github.io/TableFilter/using-bootstrap.html


Feature/#308 dollar operators

Now is there any operator feature available in the any version of sequelize-typescript?


e2e: improve to have more logs

When failures occur we sometimes miss some logs.
It could be useful for some command to, for example, replace this:
err = exec.Command("virsh", "net-create", netDefaultFileName).Run()
Expect(err).To(Not(HaveOccurred()))

by this:
out, err = exec.Command("virsh", "net-create", netDefaultFileName).CombinedOutput()
Expect(err).To(Not(HaveOccurred()), out)

So in case of error we could have the output in Ginkgo logs.
Things to do:

[x] add some logs
[ ] use something better to start K3s in background, because this code seems to not write k3s.log file
[x] use elemental-support command (see https://github.com/rancher/elemental-operator/pull/109)

Done.


sh: /goss/goss: Permission denied

while trying to dgross run -u 0  I get the following error
INFO: Starting docker container
INFO: Container ID: 65b77634
INFO: Sleeping for 0.2
INFO: Running Tests
sh: /goss/goss: Permission denied
INFO: Deleting container

I'm not able to reproduce this, here's me trying the nginx tests from https://github.com/aelsabbahy/dgoss-examples/tree/master/nginx:
$ dgoss run nginx:1.11.10
INFO: Starting docker container
INFO: Container ID: e5164950
INFO: Sleeping for 0.2
INFO: Running Tests
File: /var/log/nginx/access.log: exists: matches expectation: [true]
File: /var/log/nginx/access.log: mode: matches expectation: ["0777"]
File: /var/log/nginx/access.log: owner: matches expectation: ["root"]
File: /var/log/nginx/access.log: group: matches expectation: ["root"]
File: /var/log/nginx/access.log: linkedto: matches expectation: ["/dev/stdout"]
File: /var/log/nginx/access.log: filetype: matches expectation: ["symlink"]
File: /var/log/nginx/access.log: size: matches expectation: [11]
File: /var/log/nginx/error.log: exists: matches expectation: [true]
File: /var/log/nginx/error.log: mode: matches expectation: ["0777"]
File: /var/log/nginx/error.log: owner: matches expectation: ["root"]
File: /var/log/nginx/error.log: group: matches expectation: ["root"]
File: /var/log/nginx/error.log: linkedto: matches expectation: ["/dev/stderr"]
File: /var/log/nginx/error.log: filetype: matches expectation: ["symlink"]
File: /var/log/nginx/error.log: size: matches expectation: [11]
Process: nginx: running: matches expectation: [true]
HTTP: http://localhost: status: matches expectation: [200]
Port: tcp:80: listening: matches expectation: [true]
Port: tcp:80: ip: matches expectation: [["<IP_ADDRESS>"]]
Package: nginx: installed: matches expectation: [true]
Package: nginx: version: matches expectation: [["1.11.10-1~jessie"]]

Total Duration: 0.006s
Count: 20, Failed: 0, Skipped: 0
INFO: Deleting container

$ dgoss run -u 0 nginx:1.11.10
INFO: Starting docker container
INFO: Container ID: 26124d5b
INFO: Sleeping for 0.2
INFO: Running Tests
File: /var/log/nginx/error.log: exists: matches expectation: [true]
File: /var/log/nginx/error.log: mode: matches expectation: ["0777"]
File: /var/log/nginx/error.log: owner: matches expectation: ["root"]
File: /var/log/nginx/error.log: group: matches expectation: ["root"]
File: /var/log/nginx/error.log: linkedto: matches expectation: ["/dev/stderr"]
File: /var/log/nginx/error.log: filetype: matches expectation: ["symlink"]
File: /var/log/nginx/error.log: size: matches expectation: [11]
File: /var/log/nginx/access.log: exists: matches expectation: [true]
File: /var/log/nginx/access.log: mode: matches expectation: ["0777"]
File: /var/log/nginx/access.log: owner: matches expectation: ["root"]
File: /var/log/nginx/access.log: group: matches expectation: ["root"]
File: /var/log/nginx/access.log: linkedto: matches expectation: ["/dev/stdout"]
File: /var/log/nginx/access.log: filetype: matches expectation: ["symlink"]
File: /var/log/nginx/access.log: size: matches expectation: [11]
Process: nginx: running: matches expectation: [true]
HTTP: http://localhost: status: matches expectation: [200]
Port: tcp:80: listening: matches expectation: [true]
Port: tcp:80: ip: matches expectation: [["<IP_ADDRESS>"]]
Package: nginx: installed: matches expectation: [true]
Package: nginx: version: matches expectation: [["1.11.10-1~jessie"]]

Total Duration: 0.006s
Count: 20, Failed: 0, Skipped: 0
INFO: Deleting container

$ docker --version
Docker version 17.04.0-ce, build 4845c56

$ getenforce
Permissive

Never mind. it was due to /tmp folder permission issues

Can you share the permission issue, I'm curious for future reference.

/tmp with noexec option as part of the Linux security enhancement

Yup, I just hit this as well.  Our default deploy has 'noexec' set for /tmp on all of our images.

@aelsabbahy Same problem using dgoss in Gitlab pipelines. I have this CI configuration:
image: docker:latest

services:
  - docker:dind

before_script:
  - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY

build-master:
  stage: build
  script:
    - docker build --pull -t "$CI_REGISTRY_IMAGE" .
    - docker push "$CI_REGISTRY_IMAGE"
  only:
    - master
  when: manual
test:
  stage: test
  script:
    - apk add bash curl --no-cache
    - curl -fsSL https://goss.rocks/install | sh
    - docker pull "$CI_REGISTRY_IMAGE"
    - dgoss run "$CI_REGISTRY_IMAGE"
  when: manual

dgoss fails with output:
INFO: Starting docker container
INFO: Container ID: bbba20c7
INFO: Sleeping for 0.2
INFO: Running Tests
sh: /goss/goss: not found
ERROR: Job failed: exit code 127

Some painful debugging shown that directory mounted to container with dgoss binary file is empty while temporary directory on host /tmp/tmp.XXXXXXXXXX contains goss binary.
I put some patches in dgoss script that make temporary directory appear in CWD and problem seems to be fixed. I suppose that mounted directory in gitlab pipelines environment in /tmp is inaccessible in container context.

I suggest you can simply parametrize location of $tmp_dir to fix this issue.

Has this been solved in some other way? I'm having similar troubles with Gitlab Runners and at least extras/dgoss/dgoss still has a few direct references to /goss/goss, that isn't found. Was there a workaround or is it still an issue awaiting PR?

Setting GOSS_FILES_STRATEGY=cp in variables section helped (see #329)

Just adding two cents for anyone stumbling on the same issue, for the cp strategy there are a
couple of variables that can help:
GOSS_FILES_PATH=<path to dir where goss yaml is>
GOSS_FILE=<name of goss YAML, default goss.yaml>
Both used in: dgoss#L33

If the documentation is lacking in any way, please submit a PR.
Sometimes, it's hard to anticipate where things can be confusing for new users.