Not able to install in windows

Hi all,
tried to install on Windows with latest goland install. errors attached, not sure what's going wrong
go get github.com/jesseduffield/lazydocker
github.com/jesseduffield/lazydocker/pkg/commands
C:\Users\AHB\go\src\github.com\jesseduffield\lazydocker\pkg\commands\os.go:377:46: cmd.SysProcAttr.Setpgid undefined (type *syscall.SysProcAttr has no field or method Setpgid)
C:\Users\AHB\go\src\github.com\jesseduffield\lazydocker\pkg\commands\os.go:379:10: undefined: syscall.Kill
C:\Users\AHB\go\src\github.com\jesseduffield\lazydocker\pkg\commands\os.go:388:3: unknown field 'Setpgid' in struct literal of type syscall.SysProcAttr
-- andy

Would it suffice to run this in WSL? There are some tricky things I would need to fix up to get this to run in windows itself

@jesseduffield
It seems this code would allow you to bootstrap windows support but i dont know enough go lang enough to implmement it , would you check it out.
https://blog.csdn.net/fyxichen/article/details/51857864

@mohamedahmed01 the issue with that code is that I'm using SetPgid so that I can group child processes of a process I run. An example is docker-compose logs which itself spawns one process for each service, all of which print to stdout. I give them all the same process group id so that I can kill the group when I want to show the output of some other command. By just returning nil I'd be losing that functionality.
from that link:
func SetPgid(pid, pgid int) error {
	return nil
}

I believe this is the only real think preventing windows from working, so a proper solution may not be too hard to achieve. Something along the lines of looking at the process table to find all descendants of the process we want to kill could suffice.

After installing it in WSL and starting, it crashes:
panic: runtime error: invalid memory address or nil pointer dereference                                                                                [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x8119a1]                                                                                goroutine 1 [running]:                                                                                github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui.(*View).Name(...)                                                                           /go/src/github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui/view.go:157                                                         github.com/jesseduffield/lazydocker/pkg/gui.(*Gui).switchFocus(0xc000398000, 0xc000314210, 0xc00011a3c0, 0x0, 0x9d6460, 0xc00040a190)                                 /go/src/github.com/jesseduffield/lazydocker/pkg/gui/view_helpers.go:129 +0x71                                                                         github.com/jesseduffield/lazydocker/pkg/gui.(*Gui).returnFocus(0xc000398000, 0xc000314210, 0xc00011a3c0, 0xc00011a3c0, 0x0)                                           /go/src/github.com/jesseduffield/lazydocker/pkg/gui/view_helpers.go:117 +0x7a                                                                         github.com/jesseduffield/lazydocker/pkg/gui.(*Gui).closeConfirmationPrompt(0xc000398000, 0xc000314210, 0x0, 0x0)                                                      /go/src/github.com/jesseduffield/lazydocker/pkg/gui/confirmation_panel.go:33 +0x80                                                                    github.com/jesseduffield/lazydocker/pkg/gui.(*Gui).wrappedConfirmationFunction.func1(0xc000314210, 0xc00011a3c0, 0xc, 0x1)                                            /go/src/github.com/jesseduffield/lazydocker/pkg/gui/confirmation_panel.go:24 +0x41                                                                    github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui.(*Gui).execKeybinding(...)                                                                  /go/src/github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui/gui.go:831                                                          github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui.(*Gui).execKeybindings(0xc000314210, 0xc00011a3c0, 0xc00051f970, 0xc000303680, 0xc000000388, 0xc000000438)                                                                                /go/src/github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui/gui.go:811 +0x1f9                                                   github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui.(*Gui).onKey(0xc000314210, 0xc00051f970, 0x2, 0x0)                                          /go/src/github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui/gui.go:759 +0x283                                                   github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui.(*Gui).handleEvent(...)                                                                     /go/src/github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui/gui.go:482                                                          github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui.(*Gui).MainLoop(0xc000314210, 0xc000314210, 0x0)                                            /go/src/github.com/jesseduffield/lazydocker/vendor/github.com/jesseduffield/gocui/gui.go:442 +0x203                                                   github.com/jesseduffield/lazydocker/pkg/gui.(*Gui).Run(0xc000398000, 0x0, 0x0)                                                                                /go/src/github.com/jesseduffield/lazydocker/pkg/gui/gui.go:299 +0x293                                                                                github.com/jesseduffield/lazydocker/pkg/gui.(*Gui).RunWithSubprocesses(0xc000398000, 0xc000318a00, 0x0)                                                               /go/src/github.com/jesseduffield/lazydocker/pkg/gui/subprocess.go:20 +0x2f                                                                            github.com/jesseduffield/lazydocker/pkg/app.(*App).Run(...)                                                                                /go/src/github.com/jesseduffield/lazydocker/pkg/app/app.go:54                                                                                main.main()                                                                                /go/src/github.com/jesseduffield/lazydocker/main.go:57 +0x819

I managed to get it working on the Windows 10 (Version 1903) WSL and Docker for Windows. But first I had to do the things instructed in this tutorial (with the exception of the "volume mounts" part): Setting Up Docker for Windows and WSL to Work Flawlessly.

Given that it looks like WSL will do the trick, is there anybody with a strong objection against WSL?

Is the idea that we run LazyDocker in WSL, and expose the Docker Desktop (which is running in Windows) daemon?

Given that it looks like WSL will do the trick, is there anybody with a strong objection against WSL?
Yes) we should have the same Windows binary as we've got for lazygit. I understand if this feature request takes some time, but it will be much appreciated.

Yes, I'd greatly appreciate Windows support as well


TMP DO NOT MERGE: Debug #24546

Hello @avdv, @aherrmann, modules you maintain (rules_sh) have been updated in this PR. Please review the changes.


debugger method to enter the debug console

Continue from @dhh issue https://github.com/ruby/debug/issues/261
I'm okay to introduce debugger method (Kernel#? Object#?) if it is de-fact standard method name and there is no conflict with other libraries/applications. debug.gem and byebug may be exclusive so it's doesn't conflict with byebug's method.
Does anyone know the situation of the method name debugger?
The reason why I choose binding.break is:

Binding is limited name space and maybe nobody makes break method on it (compatibility aspects).
People use to type binding.pry or binding.irb and maybe people are well-trained to type bidning. :)
(This is technical reason) In future Ruby (maybe JRuby or others already do it) local variables are not stored correctly because of code generation for optimization and binding keyword can stop this kind of optimizations. (If debugger is also well-known keyword, we can also check this keyword too).

I know debugger is an official debugging declaration in JavaScript. But in Ruby land I can't re-call seeing any mainstream tool supports that method. Perhaps we can introduce it with the new debugger, and make the cross-language experience consistent? 🤔
(Personally I still prefer binding.b and hope it can be preserved)

For Rails, debugger had been the default way for the past 7 years when we had byebug. It's not the end of the world, but "binding.break" is just not a very intuitive or handy thing to type. You have to know about a lot of concepts for that to make sense. "debugger" is completely self-explanatory without deep knowledge of Ruby.

It is strong that Rails uses debugger method name for byebug.

I didn't know debugger can be used to start a byebug session until today 🤯 I always type byebug and I'm surprised that it's not mentioned in the Rails debugging guide.
But since debug.gem is the successor of byebug in Rails, I think this should be supported as well.

We really should rewrite that guide now that we have ruby/debug in place as well!

@dhh I've been thinking about that as well. ruby/debug has several new features that I'd like to mention in the guide.
I plan to work on that after ruby/debug's v1.1.0 is shipped with a bit more features, bug fixes, and perhaps the new debugger alias. wdyt?

Sounds good 👍

BTW I don't think the name debugger is straightforward name to open the debug console (I like Debugger.break or something if  I can choose any name), but I respect the used tradition.

@dhh sorry for the long delay. here's the first batch of document update: https://github.com/rails/rails/pull/43621


⚠ Jenkins Plugins Artifactory has degraded performance

In 84995cc, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1110 ms

Resolved: Jenkins Plugins Artifactory performance has improved in aa0aecb after 12 minutes.


Date formatting not showing german translation

The date conversion of amDateFormat:'dddd, DD.MM' is only showing english days.
Even if in config.cson set to:
"translation":
"displayed" : ["de", "en", "fr"]
"prefered": "de"
German days are not displayed

I have not problems with the german date conversion.

{{authorCtrl.date | amDateFormat:'dddd, DD.MM'}}

Works for me.


rustup

@bors r+

:pushpin: Commit 91d7964513adb5aa29d1fa3f657555e110d54474 has been approved by RalfJung

:hourglass: Testing commit 91d7964513adb5aa29d1fa3f657555e110d54474 with merge 4545effbcf071cd3b279ddb65aa4af6ac892c1e9...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 4545effbcf071cd3b279ddb65aa4af6ac892c1e9 to master...


persist channel keys

Hmm, so long as they can be unset by opers with OMODE (or otherwise with some sort of oper-only CHANSERV command) I'd be happy with this. The main reason being that if someone forgets their channel's key, I'd like to have a way to reset it for them.

I checked and this is possible with /SAMODE.
Should we bcrypt the channel key at rest, or is that overkill?

Nah just save the key plaintext. Given it's a channel mode, as a user I wouldn't expect it to be high-security, and bcrypting and all would slow down joining channels with keys just enough that I'm iffy on it.

Done with c75d2c91c52b9def4c07d38635c59f4f6c0f63f3


bootstrap time file changes for AIX

This PR adds file renaming to bootstrap.sh and bootstrap.cmd so that the initial BOOST tarball can be unpacked on all platforms including AIX, and then the 'wave' test involving the directory with the UTF8 name can run on all the non-AIX platforms.

https://github.com/boostorg/wave/pull/233 is the associated PR


Add missing link to TOC.

Yeah, second time that's happened huh. Maybe because I've created the changes directly from Github instead of locally via my fork.

Ok, I see what's going here - the "continuous-integration/jenkins/branch" job for this branch doesn't actually exist in Jenkins. The way the Jenkins Github plugin works, as soon as a branch pops up in a PR Jenkins will stop watching the branch.
My guess is that the branch existed long enough to trigger the original job, but it was lost once the PR was then created. Probably should be considered a bug in the Jenkins plugin.
This probably doesn't happen for our other PRs because Jenkins doesn't discover branches from forks - it only ever knows about the PR itself.
Anyway, we can ignore that failure. Next time I make a README change I'll try to remember to do it from my own fork to verify all this.


use mapping key for generated discriminator constants

Currently, this schema
components:
  schemas:
    Pet:
      oneOf:
        - $ref: '#/components/schemas/Dog'
        - $ref: '#/components/schemas/Cat'
      discriminator:
        propertyName: type
        mapping:
          dog: '#/components/schemas/Dog'
          cat: '#/components/schemas/Cat'

compiles into this:
type Pet struct {
  Type PetType
}

type PetType string

const (
  PetTypeDog PetType = "PetTypeDog"
  PetTypeCat PetType = "PetTypeCat"
)

It'd be nicer if the discriminator strings are like the following.
const (
  PetTypeDog PetType = "dog"
  PetTypeCat PetType = "cat"
)

The reason behind being:

it's shorter and simpler, without causing naming conflict given the mapping keys are unique
allows the definition of the same values for different keys
e.g.mapping:
  - cat: "#/components/schemas/mammal"
  - dog: "#/components/schemas/mammal"
  - reptile: "#/components/schema/reptile"

(though not that important) most of the frontend typescript/javascript generators I know of have this behavior

Would love to see this coming.


Support index.web.js entry file

This is similar to "Support index.jsx entry file #3052".
I'm playing around with react-primitives and naturally I have multiple entry points into my app. After reading the reasons why #3052 was closed, I still think that index.web.js is a valid use case. Thank you for consideration.

This is on master since #4837.
These are now accepted as an entry point:

index.js
index.jsx
index.mjs
index.ts
index.tsx
index.web.js
index.web.jsx
index.web.mjs
index.web.ts
index.web.tsx

You can close this issue. :)


Jump movement should be able to be activated by swinging arms up

Right now, jumping can only be activated with a button press. I think an option should be added so that it can be activated by the player swinging their arms up.

A good idea! We were also thinking of detecting the player physically jumping by running a filter on the head/camera position.


update latest maestroSpecs

https://github.com/PelionIoT/maestroSpecs/commit/1b6aa4728c1076c92c6b5cdaae8fc4d8a62beb4e
keep up to date with latest maestroSpecs to pull in fixes for
issues found in static analysis tools.

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/86/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/86/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/87/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/87/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/88/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/88/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/89/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/89/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/90/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/90/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/91/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/91/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/92/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/92/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/93/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/93/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/94/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/94/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/95/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/95/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/96/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/96/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/97/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/97/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/98/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/98/
Build successful!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/99/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/99/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/100/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/100/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/101/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/101/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/106/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/107/
Build successful!

@costanic Check my comments on https://armiot.atlassian.net/browse/PELEDGE19-4037

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/108/
Build failed!

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro_shell/109/
Build successful!


[Docs] Update README and Tutorials for renaming SSVM to WasmEdge

LGTM, I'll fix fix (remove) docker related tests later.


BAND_CONNECTION doesn't work

At the latest commit b461476de, BAND_CONNECTION doesn't work.

The problem was on plotting. The colored band structure plot was only supported by the legacy plot. At 5c09806, it is supported by the new band structure plot.


fix nfc oob write

Description
Size not verified incoming NFC packets
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Codecov Report
Patch and project coverage have no change.

Comparison is base (80b72e7) 69.33% compared to head (badefad) 69.33%.

:exclamation: Current head badefad differs from pull request most recent head 167b7b2. Consider uploading reports for the commit 167b7b2 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #435   +/-   ##
=======================================
  Coverage   69.33%   69.33%
=======================================
  Files          11       11
  Lines         874      874
=======================================
  Hits          606      606
  Misses        268      268

Flag
Coverage Δ

unittests
69.33% <ø> (ø)

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

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

rebased


feature request: syntax check support for Python 3

Just like the title write, I hope Syntastic support Python 3.

Note you should actually be setting g:syntastic_python_python_exec, NOT g:syntastic_python_python_exe (as per here):
let g:syntastic_python_python_exec = 'python3'

Using g:syntastic_python_python_exe was appropriate at the time; it no longer is for recent versions of syntastic.  Which is why you should read the manual, or at least the FAQ before searching the archives: old advice might be outdated.

@lcd047 Indeed. Unfortunately this is the first result on Google when searching for "python3 syntastic", so it's probably worthwhile making the point explicitly.

There also seems to be a widespread confusion about it on StackOverflow.  The exe thing is rarely useful outside syntastic code itself, it should probably be renamed to something else.  Sadly doing so would break a few third-party checkers, and checking syntastic version to is also awkward, for similar historic reasons.


Enum assumes Uppercase

https://github.com/zml2008/configurate/blob/0b6b95818a2cf19a6d46d46c09ec7d637a17b7b9/configurate-core/src/main/java/ninja/leaping/configurate/objectmapping/serialize/TypeSerializers.java#L126

enum assumes devs follow proper coding standards... but ill change it, probably make it case-insensitive


Indexing a field of a materialized view does not improve query performance.

Indexing a field of a materialized view does not improve query performance.
For example, I have two ad materialized views with 400,000 records respectively. One of the materialized views creates an index on ad_id, and the other does not. The query results are as follows:
dev=> DESCRIBE ad_ctr_5min;
Name     |     Type
-------------+--------------
ad_id       | Int64
ctr         | Decimal
window_end  | Timestamp
ad_id_index | index(ad_id)
(4 rows)
EXEC: select * from  ad_ctr_5min where ad_id=1005
The first query cost:8.2s
The second query cost immediately: 1.3s
EXEC: explain select * from  ad_ctr_5min where ad_id=1005;
QUERY PLAN
BatchExchange { order: [], dist: Single }
BatchFilter { predicate: ($0 = 484819:Int32) }
BatchScan { table: ad_ctr_5min, columns: [ad_id, ctr, window_end] }
dev=> DESCRIBE ad_ctr_5min_1;
Name    |   Type
------------+-----------
ad_id      | Int64
ctr        | Decimal
window_end | Timestamp
(3 rows)
EXEC: select * from  ad_ctr_5min_1 where ad_id=1005
The first query cost:8.3s
The second query cost immediately: 1.3s
EXEC: explain select * from  ad_ctr_5min_1 where ad_id=1005;
QUERY PLAN
BatchExchange { order: [], dist: Single }
BatchFilter { predicate: ($0 = 484819:Int32) }
BatchScan { table: ad_ctr_5min_1, columns: [ad_id, ctr, window_end] }

cc @xxchan @st1page looks like the condition is not pushed down. Any ideas?

@databodys did you create index or create an order by MV?

@skyzh I create index by MV

Does your MV have an order by clause? Could you share the CREATE statements?

Please provide the create table statements as well as other DDLs to help to reproduce the problem

CREATE MATERIALIZED VIEW ad_ctr_5min_1 AS
SELECT
ac.ad_id AS ad_id,
ac.clicks_count :: NUMERIC / ai.impressions_count AS ctr,
ai.window_end AS window_end
FROM
(
SELECT
ad_id,
COUNT() AS impressions_count,
window_end
FROM
TUMBLE(
ad_impression,
impression_timestamp,
INTERVAL '1' MINUTE
)
GROUP BY
ad_id,
window_end
) AS ai
JOIN (
SELECT
ai.ad_id,
COUNT() AS clicks_count,
ai.window_end AS window_end
FROM
TUMBLE(ad_click, click_timestamp, INTERVAL '1' MINUTE) AS ac
INNER JOIN TUMBLE(
ad_impression,
impression_timestamp,
INTERVAL '1' MINUTE
) AS ai ON ai.bid_id = ac.bid_id
AND ai.window_end = ac.window_end
GROUP BY
ai.ad_id,
ai.window_end
) AS ac ON ai.ad_id = ac.ad_id
AND ai.window_end = ac.window_end;

CREATE MATERIALIZED VIEW ad_ctr_5min AS
SELECT
ac.ad_id AS ad_id,
ac.clicks_count :: NUMERIC / ai.impressions_count AS ctr,
ai.window_end AS window_end
FROM
(
SELECT
ad_id,
COUNT() AS impressions_count,
window_end
FROM
TUMBLE(
ad_impression,
impression_timestamp,
INTERVAL '1' MINUTE
)
GROUP BY
ad_id,
window_end
) AS ai
JOIN (
SELECT
ai.ad_id,
COUNT() AS clicks_count,
ai.window_end AS window_end
FROM
TUMBLE(ad_click, click_timestamp, INTERVAL '1' MINUTE) AS ac
INNER JOIN TUMBLE(
ad_impression,
impression_timestamp,
INTERVAL '1' MINUTE
) AS ai ON ai.bid_id = ac.bid_id
AND ai.window_end = ac.window_end
GROUP BY
ai.ad_id,
ai.window_end
) AS ac ON ai.ad_id = ac.ad_id
AND ai.window_end = ac.window_end;

CREATE INDEX ad_id_index ON ad_ctr_5min(ad_id);

CREATE SOURCE ad_impression (
bid_id BIGINT,
ad_id BIGINT,
impression_timestamp TIMESTAMP
) WITH (
'connector' = 'kafka',
'kafka.topic' = 'ad_impression',
'kafka.brokers' = '<IP_ADDRESS>:9092',
'kafka.scan.startup.mode' = 'earliest'
) ROW FORMAT JSON;
CREATE SOURCE ad_click (
bid_id BIGINT,
click_timestamp TIMESTAMP
) WITH (
'connector' = 'kafka',
'kafka.topic' = 'ad_click',
'kafka.brokers' = '<IP_ADDRESS>:9092',
'kafka.scan.startup.mode' = 'earliest'
) ROW FORMAT JSON;

Currently, indexes in RisingWave can only be used for delta join, other features of indexes such as speeding up point-select queries are under development.
You may try to select from ad_id_index directly:
select * from ad_id_index where ad_id = ...

with the lastest version on main branch.

speeding up point-select queries are under development.

This issue should be solved now?


Create optional customizable Discord webhook message and PaLM API prompts

TODO

Create functionality for optional customizable options or both webhook message and PaLM API prompts
Ensure functionality works + no bugs occur during multiple testing phases

So far the base format has been placed in the TXT files called message.txt and prompt.txt. Functionality will be placed soon.

Side Note: We should not solve these merge conflicts until Fix #18 has been merged into the main branch.

Users are not obligated to possess customizations for their messages and prompts. They have the freedom to selectively determine their preferences. In instances where a customized message or prompt is not furnished, the default prompt/message will be established.
View the following results below:

Mentioning this in order to remember before closing this PR
When this pull request is successfully closed, we can proceed to close Issue #13.

Updated the Github web scrapping since the repository was updated (specifically the README.md). Customization options seem to be working well.

@boushrabettir, is there anything directly blocking this pull request from being merged on your end?

@boushrabettir, is there anything directly blocking this pull request from being merged on your end?

Hi @EthanThatOneKid ! Yes, I have to get your approval directly.


vimdiff with a non-existing file on one side leads to strange view

See joined screenshot, on the left side, with the non-existing file, there's this blue form which is kinda strange and hard to explain.

That looks like a disagreement between vim and your terminal about the width of some of those Unicode code point sequences on the previous line.

I think @mgedmin is right here and I don't think there is anything for us to do here. Closing.

Well, vim could add workaround to make such disagreements less painful to the user (e.g. explicit cursor positioning commands after every grapheme cluster of uncertain width), but the question is, should it?


Feature/segments options

segments_options support for codem-transcode.
Support of these options is added by
https://github.com/madebyhiro/codem-transcode/pull/33/files
segments_options stores valid JSON string just like thumbnail_options.
So far the only valid option is segment_time.
{ "segment_time": 10 }

Also /api/jobs/:id.json now shows thumbnails, playlist and segments returned from
the transcoder.
This code also includes "wrap_parameters" fix. #29

This will be implemented separately.


Local Cluster doesn't show multiple endpoints in gateway/reverse proxy

I have the following in my Gateway.yaml:

And the following in my Service.yaml:

When I run my application/server on my local cluster, the Gateway Proxy only shows a single endpoint rather than all three?

I've tried removing some of the endpoints and it only ever picks one of them to show in the UI.  I am trying to track down some connection issues with the SOAP endpoint so I am trying to rule out whether this is the issue...
Is this a bug just with the UI or are endpoints not ALL being exposed?

On SFX only one of the endpoints will be shown for a gateway--that's just the primary one we use for service resolution internally. Other configured endpoints should still work despite not being shown.

OK, thanks @arturenault for confirming that.


Not usable on mobile

If the width of the screen is not large enough, all the menu items simply disappear

ok, I'll handle that asap.


Add Guellil2021

Adding Guellil 2021 samples. Here I would like to ask for double checking of the genome _type as the paper also reports plasmids; data_type and also sample_name as some of the sample names repeat.
Pull Request
This PR is for a

[ ] New Publication(s)
[x] Correction

For the following list(s):

[ ] ancientmetagenome-environmental (README, ask @thedir-team-dirt for advice)
[ ] ancientmetagenome-hostassociated (README, ask @thedir-team-bugparty for advice)
[x] ancientsinglegenome-hostassociated (README, ask @thedir-team-pathopeeps for advice)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): https://www.nature.com/articles/s41598-021-98214-2
This is to close #736
Checklist

[ x] Publication is published (preprints currently not accepted)?
[ x] Checked the publication is not already in the database?
[ ] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[ x] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[x ] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[x] Changelog is updated to include the publication under 'Added'?
[x] Pull request has passed validation checks (see automated comment from github-bot)?
[x] Review requested from corresponding team (see list of lists above for each team)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

If you do not know how to check errors in failed validation checks, expand here

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[x] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[x] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[x] Changelog is updated to include the publication under 'Changed'?
[x] Pull request has passed validation checks (see automated comment from github-bot)?
[x] Review requested from corresponding team (see list of lists above for each team)?

Note you've pasted the sample data into the library column

Adding Guellil 2021 samples. Here I would like to ask for double checking of the genome _type as the paper also reports plasmids;

In terms of genome_type, we report whatever is the largest available, chromosome > organelle

data_type and also sample_name as some of the sample names repeat.

in this case you should only jave one sample_name - IMO2, as this is the only one they actually generated a genome out of (via capture)
Following the screening of shotgun metagenomic datasets, we enriched libraries of sample IMO2 for the plague pathogen Y. pestis, using a custom RNA baits design.

Shotgun sequencing (screening) is to see if there are any DNA from that species in the sample, then for single-genome pathogen studies they normally will enrich via bait capture to get the whole genome

run accession SRR13608699, so in SRA, must correct that

Seems it has finally worked. Please review, when you get a moment.

Samples look good , but you have not removed the non-IMO2 samples from the library table! Check the sample_title column of the ENA table for guidance
Only include IMO02{a,b,c,d...} libraries in the list!

To me it appears that I have only the IMO2's (IMO2a lib I.I2; IMO2a lib. IC7; IMO2b lib. IC11; IMO2a lib. IC14; IMO2d lib. IC15; IMO2e lib. IC18; IMO2f lib. IC19). Which ones, should I remove?

Samples look good , but you have not removed the non-IMO2 samples from the library table! Check the sample_title column of the ENA table for guidance
Only include IMO02{a,b,c,d...} libraries in the list!

To me it appears that I have only the IMO2's (IMO2a lib I.I2; IMO2a lib. IC7; IMO2b lib. IC11; IMO2a lib. IC14; IMO2d lib. IC15; IMO2e lib. IC18; IMO2f lib. IC19). Which ones, should I remove?

Oops you're right, I misread sorry (eyes were getting crossed...)

Thakns @DianaSpurite !


Change SETINFO Process to Make Mocking Easier

Closes #204

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (954992e) 94.12% compared to head (4ae97e1) 94.09%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
- Coverage   94.12%   94.09%   -0.04%
==========================================
  Files          85       85
  Lines        5178     5183       +5
  Branches      488      490       +2
==========================================
+ Hits         4874     4877       +3
- Misses        177      178       +1
- Partials      127      128       +1

Files
Coverage Δ

src/NRedisStack/Auxiliary.cs
100.00% <100.00%> (ø)

src/NRedisStack/CoreCommands/CoreCommandsAsync.cs
100.00% <100.00%> (ø)

src/NRedisStack/CoreCommands/CoreCommands.cs
66.66% <33.33%> (-33.34%)
:arrow_down:

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

@chayim I think we will close this PR, this issue will be closed in #208


Blockframes: Landing page template

User story
As a WebX team member, I want to see the ReportStream website designed iteratively, starting from blockframes, so that the team can continuously align on the scope and anticipate design/content/engineering needs early in the website redesign process.
Background & context
The WebX design team is creating blockframes for the new ReportStream website redesign. The Landing page page template will use the About core model outline as a basis for blockframing, while still considering existing outlines for the other Landing pages (Getting started, Developer resources, Managing your connection, Support). These explorations in a lo-fi blockframe format allow us to explore different solutions and align on an approach across disciplines prior to moving farther into the design process.
Open questions

How can the blockframe be designed in a modular way to be flexible to the needs of different Landing Pages? Ex. The About page is the most robust, but what might the page template look like for lighter landing pages like Support?

Pages considered as Landing pages:

Getting started
About
Managing your connection
Support

Working links

Core model outline: About
Sheet: Site update plan
Figma: Blockframe working space

Acceptance criteria
Blockframe design

[ ] Blockframes capture general layout of content & components
[ ] Blockframes build upon content sequence and structure identified in the About core model synthesis
[ ] Landing page template is modular and accounts for the needs of different landing pages (Getting started Developer resources Managing your connection Support)
[ ] Capture questions that come up during the content and design work in the Website redesign research plan

Review

[ ] Review with design and/or design lead
[ ] Review with eng & product

07/12 Jillian and I had a meeting to talk about potential ways to showcase specific types of content and did a sketching exercise on figma together.

Shared and reviewed design with Jillian and pinged Lizzie as well to take a look.

Requested for review from Audrey.

Shared and reviewed with eng+product during eng sync.


Allow expressions in Constants values

e.g.
const string password = system:getEnv("password");

Fixed with https://github.com/ballerinalang/ballerina/pull/2853


💡 Upgrade-safe ERC2981

That's it. That's the tweet!!!!

It is upgrade safe, if name() and symbol() return from storage instead of immutables.

This is the royalties one. Since posting this I've realized it's actually pretty simple to roll your own here if you don't care about per-token royalties which I feel like most people don't. But if you DO want the more complete solution there is no library that does this. solidstate-solidity has something but I cannot get it to work for some reason!


Add community supported ndt7 client for C++

To replace legacy deployments of the legacy web100 C client (e.g. ndt5+raw), we want to offer a candidate replacement.
Also, some integrations require C++ library.

See this repo.


Fix plugin/ochttp statusCode mistype and unconditional set

Fixes #619
The mistyped source code unconditionally set variable code
to codeUnknown since
var code int32
if code < 200 || code >= 400 {
   code = codeUnknown
}

always would set it to codeUnknown as the zero value
of int32 is 0 so always code = codeUnknown.
However if it didn't get matched in the next switch
case, e.g. a 200, we'd get an Unknown status.
Also add unit tests for status so that we never accidentally
regress.
This was discovered by demo app inspections on Stackdriver.
Before

After

Done. Thank you for the review @rakyll!


CertificateCloudCredentials lost in Microsoft.Azure.Common v2.1.1

Type CertificateCloudCredentials is lost in Microsoft.Azure.Common v2.1.1 without any information?

@schuettecarsten Hey Carsten, we are tracking the status of this problem in issue https://github.com/Azure/azure-sdk-for-net/issues/2931
I'm going to close this issue in favor of the one we have opened. Please let me know if you have any other questions or concerns.


[NEW FEATURE]Dummy masked images

The masking step, run_sp_MaMa, takes an external star catalog and then places masks over known bright stars that will saturate the CCDs, leave a halo, etc.  Our simulated images dont contain saturated stars, and will not match to real bright stars anyway, since they are not images of the real sky, so we need to skip this step.  We also need to create dummy mask files where every pixel is 0 for each exposure.  We need to create dummy flags for both exposures AND tiles.  Here are the steps to do this:
For exposures:  I would add a step to the image splitting module

Create an option in the config file that says whether or not you are running simulations.  If you are running simulations, then do the following
Create a single blank image that is the size of 1 ccd. All pixels should be integers and be set to 0.  For every image in the individual exposures, create a link from this dummy image that takes on the corresponding name of the flag image:  eg flag-2106087-9.fits would correspond to image-2106087-9.fits.  The flags should be in the same directory as the split images.

For tiles, I would add the step to the uncompress module where the weight image is uncompressed.

Create an option in the config file that says whether or not you are running simulations.  If you are running simulations, then o the following
Create a single blank image that is the size of 1 tile. All pixels should be itegers and be set to 0.  Create a link from this dummy image for every tile with a name that replaces image.......fits to flag......fits

Now that you created the dummy flags, you need to set up the sextractor step of the pipeline.  The config file currently looks for the flags created by the masking step that we skip with the name pipeline_flag.... .  We need the pipeline to look for the regular flags that were created in the previous steps, so the config needs to be modified accordingly.

Hi @lbaumo for single exposures we also mask the borders of CCDs. This is not necessary in the simulations, but maybe we want to apply this mask anyway to be consistent with the data? Not sure it makes a difference.
I think your suggestions work. It's good to create dummy flag files since they are read in the pipeline at many subsequent steps, and we don't want to change all those places in the code.
Alternatively the masking module could create the dummy flag files with zero pixel values. Not sure what is best.

Hello,
Just some precisions on the simulation I am doing (I don't know about Issac's so I will not comment on them). My images do contain saturated stars as you can see on the plot I joined. You can see a sort of brighter-fatter effect which is due to saturated stars on the images (it does not match the real data because I compared to a random exposure that does not match the simulation in terms of zeropoint and seeing). Also my simulation do provide the blank flag images for the single exposures and I can creates them for the coadd even though it is not necessary since the pipeline can actually already create them if you disable all the masks (if I remember I added this feature to avoid issues while running the pipeline without a flag image for the coadds). Also I tried to creates a fake star_cat that the mask_runner take as input to actually creates masks for the simulation. Unfortunately I wasn't able to finish that because the star catalog that is required have a very specific format (which terrible to build to be honest) and also very specific magnitudes which the photometry models I am using to create the star catalog do not handle if I remember. I had to do some weird interpolation to get it, which didn't work in the end 😕 so the flag images are only zeroes (or maybe just a border).
Also, I really understand the need for dummy flag images, but I think that it is not the job of the pipeline to create them. For me it is more something for the simulation part. But, the pipeline should be able to run without a flag image if none are provided. Which is not the case right now and quite a lot of modifications would be required to actually make it work without a flag image (especially in the ngmix_runner).

ah, I got confused with isaac's simulations that don't include that region! Luckily, changing the dummy mask to include the masked edges should be very easy since we are just creating links to the same dummy for each exposure.
As for the justification for creating dummy flag images, many subsequent steps look for flag images, including the sextractor runs and shape measurement.  It is easier to put in a dummy in one module than to go through every step and add a switch to multiple modules

We get noisy flags after mask_runner_run_2 (for documentation, but we feel it should not happen)

Could you share a config file?

@fabianhervaspeters did you find what was the problem?

We have fixed this- the book keeping for find exposures just needed to be generalized to include a prefix


map aspect: make zoom levels refresh the markers

de6f7532f612d1b73470c5f91fd8d8bdefaf52e2 introduced MapSort, which selects the "best" nodes to display on the map for a given location.
49b97b224484b8b9d7099ce6923dcb01ff07d70b makes use of MapSort to load said nodes when the map aspect of the web UI  is loaded.
After the map is loaded, changing the zoom level does not affect which nodes/markers are loaded on the map. It should. New best nodes should be loaded whenever the zoom changes.

first step was https://camlistore-review.googlesource.com/c/10686

https://camlistore-review.googlesource.com/c/10706

maybe we should use https://github.com/Leaflet/Leaflet.markercluster too for better client performance anyway


Add Playwright tests

Voting
Admin election flow
Voter management

DB Setup could be handy by having fixtures for each election state


Enable automatic dependency updates

Checklist

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

@conda-forge-admin, please rerender

Borrowing from https://github.com/conda-forge/pyhf-feedstock/pull/16 (thanks @matthewfeickert)


ImportError: No module named PIL

Install
pip install webdataset==0.1.49

Code
import webdataset
...

when I run this program, it throws
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/raman/miniconda2/envs/temp/lib/python3.8/site-packages/webdataset/__init__.py", line 28, in <module>
    from .writer import ShardWriter, TarWriter, torch_dumps
  File "/home/raman/miniconda2/envs/temp/lib/python3.8/site-packages/webdataset/writer.py", line 17, in <module>
    import PIL
ModuleNotFoundError: No module named 'PIL'

Should we install PIL separately? or this is a bug?

ah that's because Pillow was not included in requirements.txt.
For now, do pip install Pillow and then it should work. I will submit a PR to fix this problem.

Thanks; I'll have a look. Installing Pillow by hand is a quick workaround.

I've added Pillow to the default requirements. However, you can use the library without PIL/Pillow if you like (PIL is now only loaded when you are trying to decode images).


Feature: Check for unintended non-printing characters

In https://github.com/jaraco/zipp/pull/125, I learned that users can, intentionally or not, sneak non-printable characters into the code through otherwise innocuous pull requests. This particular one was caught by mach lint in a downstream system. It would be nice if ruff could catch such changes. I'm not confident it's possible, but I wanted to flag it as a feature for consideration.

I'm rather surprised that we don't already have that. There's an existing rule to catch ambiguous unicode characters, but it doesn't cover invisible characters.
I'm very much in favor of adding the rule. We would have to think about if it should be a new rule or be added to the above mentioned rule

I suggest add --show-all option also to show non-printable characters like bat:

@xyb, this issue is different. It isn't about showing invisible characters; it's about linting for invisible characters.

@MichaReiser I agree this is a separate request, but it's related because it would be confusing if Ruff reports an invisible character without helping the user fix it.  If you agree, I'll go ahead and create a new issue to track this requirement.


Update http4s-client, http4s-core, ... to 0.23.10

Updates

org.http4s:http4s-client
org.http4s:http4s-core
org.http4s:http4s-dsl

from 0.23.0 to 0.23.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #333.


Allow nativefying of local HTML files

Would like to suggest that local HTML files could be native-fied as well.

+1
I love this idea. Going to give it a shot later tonight.

+1
Any progress here? When I attempt nativefier http://app.local it's doing a lookup at googles DNS <IP_ADDRESS>.

@snellingio anything ? else I'll give it a try over the weekend :)

Somework seems to have goine into this in #48, but I'm not sure why the PR was closed

@debopamsengupta But feel free to go ahead!

Any news on this?

if you've got a 'net connection try using ngrok (https://ngrok.com/) and a local http server, works well I find

I just made a proof of concept with a local file on Windows 7 - 32 bits that is working.  It seems you just need to modify the file nativefier.json.  Change the default value for "insecure" to true.
I don't know yet if it is working on other OS and what can be done to minimize the security risk when that value is true.  Feel free to put a note here if you can confirm the solution is working for other OS or if you have any idea to prevent potential security nightmare when you do that.
{"name":"MY_APP",
"targetUrl":"file:///./maquette/MY_LOCAL_FILE.html", <https://www.usherbrooke.ca/veo-formation/programme-activite-pedagogique/>
"counter":false,
"width":1280,
"height":800,
"showMenuBar":false,
"fastQuit":false,
"userAgent":"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
"nativefierVersion":"7.1.0",
"ignoreCertificate":false,
"insecure":true,               <---- CHANGE DEFAULT VALUE TO true.
"flashPluginDir":null,
"fullScreen":false,
"maximize":false,
"zoom":1,
"internalUrls":null}

It's actually just the validator package, if we are able to disable it, using file:// should work.
Insecure just causes the chromium backend to ignore the browser mixed content errors https://github.com/jiahaog/nativefier/blob/da637ebf73b10241a67b766fbfc5ea84839f02b3/docs/api.md#insecure

For anyone else having this issue a workaround is.

Package your app with a bogus url.  For example
nativefier --name "Som AwesomeApp" --insecure --ignore-certificate index.html
Navigate to the folder that was created and drop all of your files into the base directory (so they are at the same level as SomeAwesomeApp.exe)
Navigate to resources\app\nativefier.json
a) Change the targetURL to "targetUrl":"file:///index.html"
It will run with the local html pages/js/css/images/etc.

This doesn’t address the issue directly, but, as a workaround, you could use a simple desktop web server such as Fenix Web Server or Tèsèvè. It takes next to no time to get going, and works well enough for Nativefier.

I'm using now which allows you to also deploy static stuff such as html "serverlessly".
E.g. Static Websites
$ my-site/ ls
index.html logo.png
$ my-site/ now

Every time you deploy a project, now will provide you with a new, unique URL, which you might use with nativefier.

For anyone else having this issue a workaround is:

Package your app with a bogus url.  For example
nativefier --name "SomeAwesomeApp" --insecure --ignore-certificate index.html
Navigate to the folder that was created and drop all of your files into the base directory (so they are at the same level as SomeAwesomeApp.exe)
Navigate to resources\app\nativefier.json
a) Change the targetURL to "targetUrl":"file:///index.html"
It will run with the local html pages/js/css/images/etc.

This indeed seems to work on Windows, however, I can't get it to work on Ubuntu. It works only if I speify full, absolute path to the index.html. Any workaround for this?

For anyone else having this issue a workaround is:

Package your app with a bogus url.  For example
nativefier --name "SomeAwesomeApp" --insecure --ignore-certificate index.html
Navigate to the folder that was created and drop all of your files into the base directory (so they are at the same level as SomeAwesomeApp.exe)
Navigate to resources\app\nativefier.json
a) Change the targetURL to "targetUrl":"file:///index.html"
It will run with the local html pages/js/css/images/etc.

I can't get it to work on OSX. It does not displays the html file.

And I am assuming we still have a way of doing this, on all platforms!?

Having the same issue here.

The problem on OSX is that no matter where you run the electron app, your "working" directory is "/", so it looks for the index file at the root. We would need a build of Nativefier that sets the working directory to the same directory the app is in, which is the default on Windows.

Would really appreciate an option to make this possible cross platform. Seems like a potentially neat and straight forward way of distributing basic html/js apps.

I find a some weird but working on all platforms way:

Compile Nativefier app with any target, eg:
nativefier -i icon.png --disable-context-menu --disable-dev-tools -n "Your App name" anything
Put your website files to nativefier_app_dir/resources/app/local
Open nativefier_app_dir/resources/app/lib/main.js
Replace all the options.targetUrl with `file://${path.join(__dirname, '..', 'local/index.html')}

I find a some weird but working on all platforms way:

Compile Nativefier app with any target, eg:
nativefier -i icon.png --disable-context-menu --disable-dev-tools -n "Your App name" anything
Put your website files to nativefier_app_dir/resources/app/local
Open nativefier_app_dir/resources/app/lib/main.js
Replace all the options.targetUrl with `file://${path.join(__dirname, '..', 'local/index.html')}

Hi @azhinu, thank you for the workaround. I tried your solution and the first thing is I think you're missing a "`" at the end of the path to the local files. After fixed that Nativefier works, but when I try to open links it sends an error:
Uncaught Exception:
ReferenceError: path is not defined
at onWillNavigate (/Mypath/Contents/Resources/app/lib/webpack:/nativefier-placeholder/src/helpers/windowEvents.ts:135:15)
at EventEmitter. (/Mypath/Contents/Resources/app/lib/webpack:/nativefier-placeholder/src/helpers/windowEvents.ts:197:5)
at EventEmitter.emit (node:events:402:35)
You or somebody knows how to fix this??, There's something else to disable in nativefier??
Thank you very much

Hi @tecmoc, I not cleary remember, but probably   ` symbol not missing at the end. It can be a wrong Markdown markup.


feat: allow passing args to object methods

Add the ability to pass (string) arguments to object methods in a space delimited format. From what I understand, this would preclude strict adherence to Python's string formatting where spaces would be valid in keys when resolving against the object. ( and I know this has been requested or is potentially planned )
Despite that, I needed the functionality for myself and thought I'd propose it. If nothing else anyone interested can use my fork. I totally understand if it's not merged here.
Examples
( see here for a jsfiddle )
Assume all examples below use this object:
var obj = {
  getFirstName (other) {
    if (other) return 'Billy'
    return 'Alec'
  },
  lastName: 'Baldwin'
}

Prior to this PR, simple object method calls could be made:
'{getFirstName} {lastName} did the thing.'.format(obj)
// -> 'Alec Baldwin did the thing.'

The above will continue to work the same way, but this PR additionally allows for passing arguments to these functions:
'{getFirstName true} {lastName} did the thing.'.format(obj)

// -> 'Billy Baldwin did the thing.'

Note, however, that even though I'm passing true the arguments passed are always strings. The function's if only checks for a truthy value in this simple case but if you were expecting anything else you'd have to cast it yourself ( eg. using Boolean or Number constructors, or parseInt() ).
Given this is a string formatting library, this limitation doesn't seem like much of a limitation.

I'm seeing the failure on one of the tests and will be looking into that.
  1) format invokes methods:
     TypeError: String.prototype.toLowerCase called on null or undefined
      at toLowerCase (native)
      at lookup (index.js:9:3699)
      at index.js:9:2366
      at String.replace (native)
      at index.js:9:1108
      at Context.<anonymous> (test/index.js:84:8)

Thanks for the pull request. I would, though, like to keep the API as close as possible to Python's.
It's worth noting that the results you desire are attainable with the current API:
> '{1} {lastName} did the thing.'.format(obj, obj.getFirstName(false))
'Alec Baldwin did the thing.'

> '{1} {lastName} did the thing.'.format(obj, obj.getFirstName(true))
'Billy Baldwin did the thing.'

@davidchambers Not a problem, I assumed that would be the case. I can close out the PR if you want and maintain my own separate fork.
For my uses ( in a chat bot ), the template string is going to be set beforehand by end-users knowing they'll use things like {target}, {sender} etc. which will be replaced later. These are simple, but when adding something like {readfile ./path/to/file.txt} I think I need functionaly like this PR allows.

I can close out the PR if you want and maintain my own separate fork.

It's a nice patch, but I think a fork is a good idea. One day I hope to complete and merge #2, so it's important not to drift from the Python API.

👍 sounds good.


Game manual not show

RPi3, v34
Game manual appears blank in some games

Did you check the Pdf files manually on a PC ?

Did you check the Pdf files manually on a PC ?

Yes, open normally

Did you check the Pdf files manually on a PC ?

Yes, open normally

Probably a problem with the pdf encoding. Impossible to test without the file.

@fabricecaruso  There are several manuals that don't open, this is one of them
Legend of Zelda, The - A Link to the Past (USA)-manual.pdf
m

@fabricecaruso

Pdf file is correct.
@nadenislamarre : Did you update pdftoppm with v34 ? It's working fine with retrobat's pdftoppm version.

https://github.com/batocera-linux/buildroot/tree/br2-external/package/poppler
yes. buildroot was updated. and poppler is coming with it.

let me check this issue.

Syntax Error (8163012): Unknown filter 'JPXDecode'
...
use libopenjpeg2:     no
Warning: You're not compiling any JPX decoder. Some files will fail to display properly.
...
openjpeg dependancy added to es together with poppler to be sure it is selected
...
fixed.

https://github.com/batocera-linux/batocera.linux/pull/6085

@nadenislamarre  Tks!

please wait the coming next beta to confirm it is ok for you too.

@nadenislamarre Not working. Raspberry restarts when trying to view the manual

so this is not the same issue ;-)
raspberry number ? reboot is probably a power issue however.

Raspberry Pi 3

The same manuals that didn't open, now restart the RPi

batocera-linux/batocera.linux#6085

JPEG or JPEG2000 in this line? @nadenislamarre

@nadenislamarre It worked with a fresh install. Tks


Auth endpoint times out half the time

Hi,
I have spent nearly whole day trying to figure out what is wrong with our bot. It works fine, our side of the implementation is ok, but every now and then (quite often) the bot just freezes. I have dived into your NodeJS library and after a lot of debugging it seems that the core issue is that the authenticatedRequest times out quite often. This is happening mainly when getting/posting user data, but it happened on other occasions as well.
When it fails you can see this in console:
 Error: connect ETIMEDOUT <IP_ADDRESS>:443
    at Object.exports._errnoException (util.js:1036:11)
    at exports._exceptionWithHostPort (util.js:1059:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)

Unfortunately it always fails at different times and places and I am unable to give clear instructions as how to reproduce it. It is worth noting that this became issue only after we moved our bot from localhost (ngrok) to production server (AWS).
This timeout issue is the main issue. Another issue that I have discovered is that sometime inner "throttling" kicks in and requests are just not triggered. This is caused by https://github.com/Microsoft/BotBuilder/blob/master/Node/core/lib/Session.js#L370
There is no handler to try and repeat the request, bot just hangs.
I will keep debugging and see if I can give you some more info

@Tomino2112 - thanks for reporting this issue.  Can you provide a code example that I can use to reproduce this timeout bug?

@Tomino2112 are you still experiencing the issue using botbuilder v3.7.0?

@nwhitmont Hi, sorry was not available lately. Cannot provide code as there is nothing specific in the code, pretty standard stuff. The code works fine on local over ngrok, once moved to our prod servers (AWS) we experienced this issue.
I will test with v3.7.0 this week and let you know

@Tomino2112 reopen if you're still experiencing the issue


csp_init() hangs up in csp_malloc()

Hello,
I am trying to develop csp(v1.6) software on FreeRTOS on a EFM32GG11 Giant Gecko STK, I already have built libcsp and linked it up to a project and functions such as csp_log_info() work.
The problem comes when I try to use csp_init which hangs up in csp_malloc and I see this error (ERROR: FreeRTOS maximum used priority is unreasonably big, not proceeding), I have the following code in my main function (I read that csp has to be initialise in main function inside a freertos thread)
/* Init CSP with address and default settings */
uint8_t address = 1;
  csp_log_info("Initialising CSP");

      csp_conf_t csp_conf;
      csp_conf_get_defaults(&csp_conf);
      csp_conf.address = address;
      volatile int error;
      error = csp_init(&csp_conf);
      if (error != CSP_ERR_NONE) {
          csp_log_error("csp_init() failed, error: %d", error);
          exit(1);
      }
      csp_log_info("Initialising CSP OK");

(I use volatile on csp_init in order to see the value returned when debugging)
Thanks in advance,
Hernán

btw I´m using csp_server_client example from csp(v1.6) for advice

I don't use FreeRTOS at all. So this comment might be way off.  Anyway,

What is your configTOTAL_HEAP_SIZE?
Which implementation of malloc are you using? There are a few heap implementations under freertos/portable/MemMang.
Can you successfully call malloc() alone before calling csp_init() with the same size csp_init() pass to malloc()?
Do you mind sharing your project to help other FreeRTOS users?

@hernaangq I would be interested in knowing how you managed to implement freeRTOS and libcsp for your ARM Cortex-M4 MCU. I am struggling to make it for an ARM Cortex M0+ board.
I hope you can share it. Thanks!

Let me answer your questions.

I don't use FreeRTOS at all. So this comment might be way off. Anyway,

What is your configTOTAL_HEAP_SIZE?
#define SL_HEAP_SIZE   2048 (sl_memory_config.h)
#define configTOTAL_HEAP_SIZE  8192 (FreeRTOSConfig.h)
I have those two, which is the minimum HEAP size needed for csp??
Which implementation of malloc are you using? There are a few heap implementations under freertos/portable/MemMang.
I am using heap_4.c
Can you successfully call malloc() alone before calling csp_init() with the same size csp_init() pass to malloc()?
No, I can't
Do you mind sharing your project to help other FreeRTOS users?
Let me ask my teammates :)

Thank you in advance,
Hernán

@hernaangq I would be interested in knowing how you managed to implement freeRTOS and libcsp for your ARM Cortex-M4 MCU. I am struggling to make it for an ARM Cortex M0+ board. I hope you can share it. Thanks!

Try this repository https://github.com/libcsp/libcsp-freertos

I have those two, which is the minimum HEAP size needed for csp??

You can find out with pahole if you have a compiled binary.

Can you successfully call malloc() alone before calling csp_init() with the same size csp_init() pass to malloc()?

No, I can't

Then, your problem is not libcsp but your FreeRTOS configuration.

Hello @yashi ,
I can in fact call malloc(0), so the problem does not seem to be in FreeRTOS, it has to be in the configuration of CSP.
Do you specify a HEAP size in your CSP autoconfig?

Sure, as you can see from https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/portable/MemMang/heap_4.c#L173
It's basically
void * pvPortMalloc( size_t xWantedSize )
{
    if( xWantedSize > 0 )
    {
        /* allocate */
    }
    else
    {
        mtCOVERAGE_TEST_MARKER();
    }

    vTaskSuspendAll();
    {
        /* If this is the first call to malloc then the heap will require
         * initialisation to setup the list of free blocks. */
    }
}

This means it always succeed when you pass 0.  Try it with non-0.

Do you specify a HEAP size in your CSP autoconfig?

I don't use FreeRTOS at all.

It's been a while.  I'm not sure you have fixed it or not but I'm closing this for now.  If you have any more question, please feel free to reopen it. Or open another issue if you have any other problem. Thanks.


updates

@mtaillefumier @dithillobothrium
I will not merge it immediately. The most important changes are related to the storage of eigen-values and band occupancies. Please, have a look and check if it may break your code.

I am fixing the issues of the previous merge, so I will solve the problems with this pull request if I will get them after the merge.

shall I merge then?


dotty: 0.23.0-RC1 -> 0.26.0-RC1

Motivation for this change
Bump dotty research compiler to a more recent version which includes more language features.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Tested dotty compiler with a small Scala program
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

LGTM


silx.gui.plot.ImageView: Enhanced using mask for computing profiles

This PR follows PR #3380 and  #3369 and addresses https://github.com/silx-kit/silx/pull/3369#issuecomment-784212703:

The mask is not used for the profile sum, which could be done later (to avoid ocnflict with my branch)

Item mask information is used for both default integrated profiles and line profiles.

LGTM


Add the ability to autogenerate images from another base image

Should be merged first:

http://gitlab.mobicage.com/rogerthat/app-configurator/merge_requests/50

When uploading the splash screen image, any other image that's not found will be generated (also any other images which depend on it).
For any other image, if the base image is found, the user can select to autogenerate the image from the base image or to upload a new one.
The source image (transparent, 1024x1024) of the splash screen is not stored for current app images, so trying to generate any other image from it will fail, i think a new image called e.g. Base image will be more clear than the splash screen to generate other images from, as the splash screen itself is generated from it, so what do you think is the best solution for this problem?
For now, i added an error message that instructs the user to re-upload the base image again.
Closes #228.

Hi, can you adjust it like mentioned in this comment?  https://github.com/rogerthat-platform/plugin-rogerthat-control-center/issues/228#issuecomment-350667933
This way we also don't need a base.png image


Update talentlms-tutorial -- Entity ID pattern

Based upon feedback from TalentLMS Support on a support case, the Identifier (Entity ID) value should follow the pattern .talentlms.com.  There should not be "https://" nor should there be a trailing slash.

@robertspears : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Based on solution provided by TalentLMS vendor, there is a discrepancy with what our document says should be the "Identifier (Entity ID)" pattern.  They say there should be no "https://" and no trailing slash.

Please #sign-off
@jeevansd

@v-hgampala: I'm sorry - only the author of this article, @jeevansd, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@robertspears, I have created a separate PR for your changes in our private repo, it will merge within 2-3 working days.
Am closing this now.
#please-close


Is it possible to somehow filter the query by arrayNotContains? I can not find something similar in the documentation.

Is it possible to somehow filter the query by arrayNotContains? I can not find something similar in the documentation.
Originally posted by @Frozmen in https://github.com/flutter/flutter/issues/20489#issuecomment-537409213

Hi @ChakibAA
From what I can see, the issue is related to a FlutterFire plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,  providing your flutter doctor -v, your pubspec.yaml, a minimal reproducible code sample that does not use 3rd party plugins, your complete flutter run -v logs running the minimal code sample
and I will reopen it.
Thank you


Add webassembly/wasi version that support for running in nodejs

So the vscode-clangd can use/bundle it, and can running on every platform such as ARM

An RFC proposing WebAssembly support for the LLVM project was posted recently: https://discourse.llvm.org/t/rfc-building-llvm-for-webassembly/79073

Folks following this issue might also be interested in https://github.com/guyutongxue/clangd-in-browser


Current master can't list older clusters

Since pulling from master (5761a3663adb261f49e0e7fc2301b327ee833c12), I can only see newly created clusters in aztk spark cluster list, but none of our long-running instances deployed with v0.6.0. If I checkout v0.6.0, I can see them again, so I can't pinpoint the exact commit, but at some point between 0.6.0 and the commit above, something happened to stop Aztk listing older clusters.

Looks like it's because of: 1c31335fb05fb2c6586b40d66a4dadc46b1885fd

Hmm OK, so if it's deliberate it might just be worth flagging on release for other users. We can probably work around it until we redeploy with the next release.

yeah, we decided to enforce a way to filter out non-aztk created batch pools from aztk spark cluster list as some users have other uses for their batch accounts. Unfortunately, that also means clusters made previous to that change will also be filtered out. We will definitely document this with the next release.

@jaley @emlyn
I think we are going to roll back this change. The change was meant to filter out job submission created clusters from aztk spark cluster list in part because the CLI UI was ugly. Instead, we will leave those job cluster's in, and just truncate their names.
After we roll this back, you will be able to see all of your aztk clusters as before.


i have a problem about nginx proxy

hello~
it was very helpful your opinion.
my kubernetes version 1.12.1
and os is ubuntu 16.0.4
i did all kubernetes HA setting and
install dashboard
so my url was http://VIP:30000
but it was not connected..
in my server curl -k http://VIP:16443 is worked
but my local did not worked. i registerd it in my hosts file ..
please help me thank you
thank you~!

kubernetes-dashboard url is https://VIP:30000 not http.


Fix race condition in IOUringEventLoop that prevents shutdown

Motivation:
Short lived IOUringEventLoop's can fail to shutdown, being stuck in the read-completion phase. This is because under race conditions we can get a task that skips the submission of the eventFd and then exits.
Modifications:

After setting the initial eventfd read event we flush it. This is a one time cost per-loop and avoids the case where a wakeup was requested but never received because the loop enqueued but didn't submit the interest in receiving those event.

Result:
Less stalled threads on shutdown.

For details about the debugging done to find this see https://github.com/netty/netty-incubator-transport-io_uring/pull/226

Discussed with @chrisvest offline, and presuming this is good to go, we should port the test to Netty5.

Thanks a lot for fixing it!

@bryce-anderson can you also open a PR for netty 5 ?


Please enable DefaultAzureCredential for azure.graphrbac library...

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
I'd like to use consistent auth mechanisms for my apps and automations. This is so far the only Azure Python library I've come across that doesn't support the use of from azure.identity import DefaultAzureCredential.  Seems to require older mechanisms that require A LOT of additional work (setting up a Service Principal, managing secret material for the client_secret, creating Key Vault secrets, add Key Vault functions, etc..).
Describe alternatives you've considered
I'm avoiding scripting this because of the additional work.
Additional context
This should just work...
from azure.identity import DefaultAzureCredential
from azure.graphrbac import GraphRbacManagementClient
import json

# Azure Configuration - replace with your tenant ID
TENANT_ID = 'my-tenant-id'

# Initialize the Azure credentials
credential = DefaultAzureCredential()

# Initialize the GraphRbacManagementClient
graphrbac_client = GraphRbacManagementClient(credential, TENANT_ID)

# Fetch and save user principals
users = graphrbac_client.users.list()
with open('azure_users.json', 'w') as file:
    json.dump([user.as_dict() for user in users], file, indent=4)

# Fetch and save group principals
groups = graphrbac_client.groups.list()
with open('azure_groups.json', 'w') as file:
    json.dump([group.as_dict() for group in groups], file, indent=4)

# Fetch and save service principals
service_principals = graphrbac_client.service_principals.list()
with open('azure_service_principals.json', 'w') as file:
    json.dump([sp.as_dict() for sp in service_principals], file, indent=4)

Thanks for the feedback, we’ll investigate asap.

azure-graphrbac is deprecated.
Please use https://pypi.org/project/microsoftgraph-python/ instead.


Adding Set Matrix Zero & LinkedList Cycle II LeetCode Questions (Medium level)

.142. Linked List Cycle II
.73. Set Matrix Zeroes

sure


Errors by using MoveIt and Version 1.3.2

Since I'm using Version 1.3.2 with libfranka 0.4.0 and franka_ros 0.5.0 sometimes an oscillation occurs by using the move group interface tutorial  with a real robot. Then the robot gets in an error like cartesian reflex or tauJ violation.
With the older version I didn't had the problem.
The error also occurs sometimes by planning and execute with MoveIt and the rviz gui.
Are the reason for the problem the changed rate limiters?
How can I fix the problem?.

Thanks a lot,
with the velocity controller it works fine.

We just released a new version of libfranka and franka_ros, which should fix these problems. If you're still encountering problems, let us know and we'll reopen the issue!


Replace import statement with require.

Using 'import' results in webpack/postcss failing to compile modules when Vue single file components include style tags.  Changing to 'require' syntax resolves issue.  Tests continue to pass following this change.

FYI, this broke webpacks chunks outputs
 DONE  Compiled successfully in 10023ms                                                                                8:14:12 PM

       Asset      Size   Chunks             Chunk Names
/css/app.css  1.93 MiB  /js/app  [emitted]  /js/app
  /js/app.js  5.76 MiB  /js/app  [emitted]  /js/app
✨  Done in 12.38s.

Should be
                           Asset      Size   Chunks                         Chunk Names
                    /css/app.css  1.93 MiB  /js/app  [emitted]              /js/app
                      /js/app.js  5.33 MiB  /js/app  [emitted]              /js/app
 js/0.js?id=2fb3953afb5c45f2e196  88.9 KiB        0  [emitted] [immutable]
 js/1.js?id=877832eec7b58107bb13  87.2 KiB        1  [emitted] [immutable]
js/10.js?id=f903372b2efdb4ba1f9d  15.3 KiB       10  [emitted] [immutable]
js/11.js?id=0107c90c9ca322f8e470  15.1 KiB       11  [emitted] [immutable]
js/12.js?id=b34c0d90bd298f5b72d5  15.3 KiB       12  [emitted] [immutable]
js/13.js?id=ac77d7bcbd110a2070e9    15 KiB       13  [emitted] [immutable]
js/14.js?id=4be4475b8225d7cdb2ac  15.3 KiB       14  [emitted] [immutable]
js/15.js?id=eabd1119497ba3a54b23  15.2 KiB       15  [emitted] [immutable]
js/16.js?id=22230787cabb9b14e9b5    15 KiB       16  [emitted] [immutable]
js/17.js?id=a21aa7b2ffd04e785a5c  15.1 KiB       17  [emitted] [immutable]
 js/2.js?id=dc2376ea00626527091f  92.6 KiB        2  [emitted] [immutable]
 js/3.js?id=45777a9421d3b5f11b9a  25.3 KiB        3  [emitted] [immutable]
 js/4.js?id=deb9597277cab9dc240c  13.7 KiB        4  [emitted] [immutable]
 js/5.js?id=f5d23566490cf963129c  15.2 KiB        5  [emitted] [immutable]
 js/6.js?id=b8fd7b31763e6ddc75e4  15.1 KiB        6  [emitted] [immutable]
 js/7.js?id=4f80104bee2a16834ebc  13.9 KiB        7  [emitted] [immutable]
 js/8.js?id=e1508ece9a1c1172d38f  14.6 KiB        8  [emitted] [immutable]
 js/9.js?id=d942ec31e87c16729054  15.3 KiB        9  [emitted] [immutable]

This is unfortunately correct.   I am having issues getting both styles within Vue single-file-components and webpack chunking working at the same time.

The issue lies with Laravel mix, and will hopefully be fixed in the next version of Laravel mix

Ok - I'll close this out. Any luck you know whether there's already a pr or issue opened on mix for this?

@jtymanjr I think it's this one https://github.com/JeffreyWay/laravel-mix/issues/2115

Unfortunately the workaround suggested there did not affect this issue. I've been unable to trace the issue in Mix 5, but a strange workaround seems to be to use 'npm run watch' and then triggering an update.
I checked and the issue is indeed resolved in Laravel-mix 6.0.0-alpha.
Thank you again @Juhlinus and @boskiv for the help!


Stream freeze after 3 seconds In 3 cams

Hello first of all forgive my English and thanks for this great plugin. I have a problem all installed ok but in live mode it freezes the image at 3-4 seconds. any ideas.

I had this issue, live view broke up and froze within 5 seconds of watching live stream.
I fixed it by adding -rtsp_transport tcp to my "source" line in config.json.


Add developer shell for Rust programming language

You can try it with nix develop "github:yvan-sraka/devx#rust" 😉!

I don't think this PR should contain the

.editorconfig
.envrc
.gitignore

changes. They are orthogonal to the addition of rust support.

Do I open one PR by extra config file, are rather make a bulk one with all these little tweaks?

I don't think this PR should contain the

.editorconfig

.envrc

.gitignore

changes. They are orthogonal to the addition of rust support.

Do I open one PR by extra config file, are rather make a bulk one with all these little tweaks?

Let's have a different PR with those and discuss the merits of adding them or not there.

Let's have a different PR with those and discuss the merits of adding them or not there.

https://github.com/input-output-hk/devx/pull/27 :)

@yvan-sraka please rebase this, clean it up, and let's get this merged.


Weird redirects

Something with Auth and the plugin is not working completely fine.
When I try to go to /users/register I get a redirect to login, even if the user is authenticated. I'm using TinyAuth and CakePHP 3.1.8
Whenever I try to access /users/register I get a redirect to login (which should redirect to something else as I'm already logged in)
Whenever I try to access /users/logout I get redirected to the home of the project withou being logged out.
request_password, change_password and login work
register and logout dont
component configuration :
Configure::write('UserTools.Behavior', [
    'useUuid' => false,
    'register' => [
        'verificationExpirationTime' => '+3 days',
    ]

]);

Configure::write('UserTools.Component', [
    'actionMap' => [
        'index' => [
            'method' => 'listing',
            'view' => 'index',
        ],
        'register' => [
            'method' => 'register',
            'view' => 'register'
        ],
        'changePassword' => [
            'method' => 'changePassword',
            'view' => 'change_password'
        ],
        'login' => [
            'method' => 'login',
            'view' => 'login',
        ],
        'requestPassword' => [
            'method' => 'requestPassword',
            'view' => 'request_password',
        ],
    ],
]);

Plugin::load('Burzum/UserTools');

Inside the UserController.
   public function initialize() {
        parent::initialize();
        $this->loadComponent('Burzum/UserTools.UserTool');
        $this->loadComponent('RequestHandler');
    }
  public function beforeRender(Event $event) {
        $this->set('userData', $this->Auth->user());
    }

   public function register() {}
   public function change_password() {}
   public function logout() {}
   public function login() {}

AppController
$this->loadComponent('Auth', [
            'authenticate' => [
                'Form' => [
                    'fields' => ['username' => 'email', 'password' => 'password']
                ]
            ],
            'authError' => 'Did you really think you are allowed to see that?',
            'authorize' => [
                'TinyAuth.Tiny' => [
                    'multiRole' => false
                ]
            ],
            'unauthorizedRedirect' => false
        ]);

This is the acl file for tiny auth, I have been trying everything
[Users]
*, index, view, register, logout = admin ; Only user role can access index action
changePassword, logout, login, register = * ;
register = admin

[UserTools.UserTools]
* = admin

[UserTools]
* = admin

Can you please try to add this line and see if it resolves your issue?
   public function initialize() {
        parent::initialize();
        $this->loadComponent('Burzum/UserTools.UserTool');
        $this->loadComponent('RequestHandler');
        // Please add this:
        $this->Auth->allow(['login', 'register']);
    }

I can't verify your problem. The registration method doesn't have any redirect code that would be triggered by just going to the action via GET. It will only redirect on a successful registration via POST.
I suspect the problem to be something with the Rbac settings or the plugin itself. My guess is, that this here somehow  might override the settings?
[UserTools.UserTools]
* = admin

[UserTools]
* = admin

This is not needed as well, the plugin doesn't contain any controller.

I have just deactivated the tinyauth and still get the same behavior from the logout action.
with
         $this->Auth->allow(['login', 'register','logout']);

/register is accessible but logout still redirects to home

Logout will basically always redirect to home. Just take a look at the code of the component.
You're trying to access logout() while being not logged in? This works as intended in this case? Why would you be able to logout when not being logged in?

It was a local problem, either by wrong closing lines at the end of view files or by wrong url call inside the js.

OK, thank you.


Is it possible to find shortest path using brain js?

Is it possible to find shortest path using brain js? If so, how it could be achieved?

Is it possible to find shortest path using brain js? If so, how it could be achieved?

Short answer: Yes!
Long answer:
While you may find the shortest path with a NeuralNetwork, a recurrent neural network isn't ideal for this that I've seen, but one of my favorite algorithms can find this with some ease, and it is fantastically simple: ACO, or Ant Colony Optimization
What do I mean by "a recurrent neural network isn't ideal for this that I've seen"?

Analogy 1: It is like using a tank when all you need is a bike
Analogy 2: It'd be like using 1 gauge electrical cable for knitting a sweater
~Analogy 3~ Nearly identical problem: It's like asking a human to solve the traveling salesman problem by just thinking about it

Neural networks can be immensely sophisticated, that isn't what you want.  You want a naturally fine tuned algorythm that exactly solves this problem.
I've actually debated on implementing an ACO in brain.js (I even implemented one sometime back here: https://github.com/robertleeplummerjr/idea.js), even though it isn't really a neural network, but rather, just a fantastic algorithm found in nature.  However maybe we'll add it in v3 if there is interest.
Some would argue about which is better, or if a neural network could do this and be optimum at it, here is a demo I wrote that actually compares the three common approaches:

neural network (I think this uses a variation of reinforcement learning)
metaheuristic (some call this a genetic algorythm, which is poor choice in naming)
ACO

You can quickly see who wins: http://robertleeplummerjr.github.io/idea.js/examples/travellingSalesman.html

I do want to point out I don't think the neural network implementation is optimum, however.  That was before I became much involved in brain.js.


feature: use list of available serial ports

Change the admin UI so that the user selects the
serialport device from a popup list instead of
entering it by hand. This also creates a REST
endpoint for retrieving the list of available serial
ports.
Fixes #449

Fixes #449


There can be only one autoloader: zeitwerk

Part of the rails 7 upgrade: https://github.com/ManageIQ/manageiq/issues/22052
Should be merged with:

[x] https://github.com/ManageIQ/manageiq-api/pull/1243
[x] https://github.com/ManageIQ/manageiq-automation_engine/pull/537

Cross repo test:

[x] 💚 https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/834

Drop test not testable with zeitwerk. We can't dynamically modify the autoload_paths from within the test when zeitwerk is the autoloader.
Drop as_dependencies_interlock as zeiterk doesn't need it.
Drop conditional as zeitwerk is the only supported autoloader

This is ready to go since we were already defaulting to zeitwerk on quinteros

@jrafanie Do you want this on quinteros?

Backported to quinteros in commit adfada4256670c870aa22f259efe4c6b71d5b7f6.
commit adfada4256670c870aa22f259efe4c6b71d5b7f6
Author: Jason Frey<EMAIL_ADDRESS>Date:   Tue Dec 19 14:33:45 2023 -0500

    Merge pull request #22801 from jrafanie/there_can_be_only_one_autoloader_zeitwerk

    There can be only one autoloader: zeitwerk

    (cherry picked from commit 7a3c4a686f445f852eb77a021e734507b889e11d)


Switch to target_link_libraries.

That way we can hide more libraries using PRIVATE.

CI:

Linux
Linux-aarch64
Windows

I added in a fix for Windows.  Here is another CI try:

Linux
Linux-aarch64
Windows


Separate Washer and Dryer classes

Currently there is one class for these, WasherDryer. While there is not much implemented for washer/dryer appliances, the few attributes that are implemented are for the washer and do not make sense for the dryer.
Examples:

cycle statuses of filling, soaking, rinsing, etc
WashCavity_OpStatusBulkDispense1Level - this is currently only in HA, which is it's own issue I think, but when we do get this implemented in the library directly we will only want it on the Washer, not the Dryer

IIRC, that was added using the data from someone that has a appliance that is both washer and dryer, so I am not sure if it makes sense to split them because that will break the 1-SAID <> 1-Appliance mapping.

OTOH, we have if "dryer" in data_model or "washer" in data_model: on the ApplianceManager, meaning it has only one type in "DATA_MODEL_KEY", so maybe we could indeed split them. But I am not sure what would go into the Dryer, since I do not have one.
@mkmer  do you happen to have one?

I have a whirlpook dryer, but not connected :( Only washer.

I have a washer and a dryer, and the test data folder contains each of their data. That's currently only used for the appliances manager tests but I added it so that it can be used as more W/D functionality is added.

But you can use the WasherDryer class with both Washer and Dryer, but if we split them, how would we represent an appliance the is both?

I think there is an api we can call that returns the device capabilities. If that works to determine if it's a washer, dryer, or W/D combo we could have distinct classes for each of those, maybe using mixins or something to keep things cleaner.
But I do think it'd be better to have the option to have more specific devices in HA, however we do it.

Yeah, good point. So for now we could just convert the washer/dryer into Washer only?

Yeah I think so. With the device data model api call (api/v2/DeviceDataModel) we can get data that should let us determine if the entity should be a washer or dryer. I've left examples below of the differences in attributes. These come from the response object, which is keyed by the SAID and then under dataModel.attributes. I think if we convert the existing WasherDryer to a Washer and create a new Dryer class that should be a good start, and then we can see about a combined washer and dryer, although I'm not sure how we're going to be able to test that without any data from that kind of appliance. Maybe that one could just be a class that has a washer entity and a dryer entity and we delegate calls to the correct one?
My dryer has these attributes that my washer doesn't have:
{'AirFlowStatus',
 'ControlLockChangedByAppliance',
 'CoolDown',
 'CustomerFaultCodeNotification',
 'Damp',
 'DampNotificationToneVolume',
 'DrumLightOn',
 'Drying',
 'Dryness',
 'EcoBoost',
 'EcoBoostEnable',
 'GetApplianceVersionNumber',
 'GetSubscribeListVersion',
 'ISPReasonCode',
 'ISPStep',
 'InServiceDate',
 'LimitedCycle',
 'M2MSubscribeListVersion',
 'MAC_Address',
 'ManualDryTime',
 'ProjectReleaseNumber',
 'PushTrigger',
 'SetDNSNames',
 'SmartID',
 'StaticGuard',
 'StaticGuardEnable',
 'StaticReduce',
 'SteamChangeable',
 'SteamEnable',
 'Steaming',
 'Wet',
 'WrinkleShield',
 'Zip',
 'cc_uri',
 'online',
 'sys-parser-type',
 'trid_result',
 'uid'}

And my washer has these ones:
{'AddGarment',
 'BulkDispense1',
 'BulkDispense1Concentration',
 'BulkDispense1Enable',
 'BulkDispense1Level',
 'CleanDetection',
 'CleanReminder',
 'DeepFill',
 'DeepFillEnable',
 'DelayTime',
 'DelayTimeRemaining',
 'DispenserDrawerOpen',
 'Dispensing',
 'DoorLocked',
 'Draining',
 'ExtraRinse',
 'ExtraRinseSelect',
 'FabricSoftener',
 'FabricSoftenerEnable',
 'Filling',
 'Online',
 'PresoakTimed',
 'ProductDev1',
 'Rinsing',
 'Soaking',
 'SoilLevel',
 'SpinSpeed',
 'Spinning',
 'Washing'}

That saIdList is a security feature to detract us from reverse engineering the API! :rofl:
I think for now it would be fine to just split them then. Later, if someone with a combined Washer+Dryer comes up, we can discuss the best way to have the combined class. But it is fine to leave that for later anyway.


Use first-party test support in gradle plugin

First party unit testing support is available in the android gradle build tools since version 1.1.0 (more info).
This means we don't need to use a custom test plugin an can use the latest gradle build tools, which was incompatiple with the android-unit-test plugin.
With this, we get syntax highlighting and autocompletion support for the tests in Android Studio, which was also not available before version 1.1.0

Thanks for doing this :)

:+1: :smile:


Align our test Kafka cluster with the defaults from upstream strimzi

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Fixes #

Proposed Changes

as on the upstream samples, for better test reliability (see: https://github.com/strimzi/strimzi-kafka-operator/commit/45a56c41d7c2fa71b225851a28fafe29eb300511#diff-126b1b3c84d8709e68f4ed91189dc23542bd3be8852cf369c8c52c8e5e9fc6fdR22-R23)

Release Note

Docs

/assign @pierDipi

cc @travis-minke-sap

/retest

looks like this causes problems

/close


@ #254 | should install required vagrant plugins automatically

connects #254

timeout for review, merged.


Dataset Standard Change

Datasets are now stored as a single .h5 file.
This allows for more flexibility and larger datasets.
Not all scripts have been updated to use the new dataset standard; updates will be made to fix these soon.

@Haydengineer FYI, this is a significant change to the structure of things so far.
It shouldn't change how anything is used in code, except now everything has to go through the dataset object (you can't just open a file to get data anymore)

@Haydengineer FYI, this is a significant change to the structure of things so far.
It shouldn't change how anything is used in code, except now everything has to go through the dataset object (you can't just open a file to get data anymore)

Awesome, thanks for letting me know.


RTL support

is there is rtl support

Any RTL support?

Working on it #789

I am not much familiar with RTL designs, could use some help figuring out where to place what.
Could you guys help me on Slack?

What is the slack channel for the project?

https://voyager-slack-invitation.herokuapp.com/

I have got some progress now, please see the pull request at #789 and come with feedback. Thanks 🎉

labels: enhancement, locale

Please close as duplicate of #789.

Agreed.

https://gist.github.com/abdumu/77287635e282f1bb733b84360b95af66#file-laravel-voyager-admin-rtl-css

@loverdeveloper that comment provides zero benefit since this has been closed for over a year and a half, and was related to a much older version.  Please don't comment on such old issues.


Change monitoring scripts to use metric_sender

Use MetricSender instead of ZaggSender in monitoring scripts
This PR continues work done in https://github.com/openshift/openshift-tools/pull/1511 and depends on it.

@twiest PTAL

@joelddiaz PTAL