glide: bump ql to v1.0.4

It fixes an occassional panic when doing GC.

is there not a  rkt issue for this?

I couldn't find any

Rebased.

Generally LGTM but do we really have no reference at all for this supposed panic??

For the record, crash reported by @Quentin-M OOB:
$ rkt gc

Garbage collecting pod "82cbb83b-efe8-41f1-9f88-1c2186d3cc09"
gc: problem performing stage1 GC on "82cbb83b-efe8-41f1-9f88-1c2186d3cc09": open /var/lib/rkt/pods/exited-garbage/82cbb83b-efe8-41f1-9f88-1c2186d3cc09/stage1/manifest: no such file or directory
Garbage collecting pod "82ce2058-5db4-4050-ba75-bff9e80cbb7a"
gc: problem performing stage1 GC on "82ce2058-5db4-4050-ba75-bff9e80cbb7a": open /var/lib/rkt/pods/exited-garbage/82ce2058-5db4-4050-ba75-bff9e80cbb7a/stage1/manifest: no such file or directory
Garbage collecting pod "82d42c4a-88b5-41da-90b5-f205f5e24c79"
gc: problem performing stage1 GC on "82d42c4a-88b5-41da-90b5-f205f5e24c79": open /var/lib/rkt/pods/exited-garbage/82d42c4a-88b5-41da-90b5-f205f5e24c79/stage1/manifest: no such file or directory
Garbage collecting pod "82d6399f-962c-4534-853a-714c23d6e35e"
gc: problem performing stage1 GC on "82d6399f-962c-4534-853a-714c23d6e35e": open /var/lib/rkt/pods/exited-garbage/82d6399f-962c-4534-853a-714c23d6e35e/stage1/manifest: no such file or directory
Garbage collecting pod "82dd9ae9-ea3a-4bb7-91b7-a9250a2eda9e"
gc: problem performing stage1 GC on "82dd9ae9-ea3a-4bb7-91b7-a9250a2eda9e": open /var/lib/rkt/pods/exited-garbage/82dd9ae9-ea3a-4bb7-91b7-a9250a2eda9e/stage1/manifest: no such file or directory
Garbage collecting pod "82e0cd75-5136-4c03-919f-08a6e8383bb0"
gc: problem performing stage1 GC on "82e0cd75-5136-4c03-919f-08a6e8383bb0": open /var/lib/rkt/pods/exited-garbage/82e0cd75-5136-4c03-919f-08a6e8383bb0/stage1/manifest: no such file or directory
Garbage collecting pod "82e926b2-af84-4397-adfe-256385a450b6"
gc: problem performing stage1 GC on "82e926b2-af84-4397-adfe-256385a450b6": open /var/lib/rkt/pods/exited-garbage/82e926b2-af84-4397-adfe-256385a450b6/stage1/manifest: no such file or directory
Garbage collecting pod "82ec4248-8078-47a4-bfac-eed64b32a586"
gc: problem performing stage1 GC on "82ec4248-8078-47a4-bfac-eed64b32a586": open /var/lib/rkt/pods/exited-garbage/82ec4248-8078-47a4-bfac-eed64b32a586/stage1/manifest: no such file or directory
Garbage collecting pod "82f0c788-cf62-4b85-ae8b-47961e38b043"
gc: problem performing stage1 GC on "82f0c788-cf62-4b85-ae8b-47961e38b043": open /var/lib/rkt/pods/exited-garbage/82f0c788-cf62-4b85-ae8b-47961e38b043/stage1/manifest: no such file or directory
Garbage collecting pod "830f2c7c-ca9d-45cc-a83d-a6a8bab458c7"
gc: problem performing stage1 GC on "830f2c7c-ca9d-45cc-a83d-a6a8bab458c7": open /var/lib/rkt/pods/exited-garbage/830f2c7c-ca9d-45cc-a83d-a6a8bab458c7/stage1/manifest: no such file or directory
Garbage collecting pod "8318fb1f-13d6-4c04-bd30-dc072529146b"
gc: problem performing stage1 GC on "8318fb1f-13d6-4c04-bd30-dc072529146b": open /var/lib/rkt/pods/exited-garbage/8318fb1f-13d6-4c04-bd30-dc072529146b/stage1/manifest: no such file or directory
Garbage collecting pod "831bf652-b62a-4ce4-9dad-73c90647b454"
gc: problem performing stage1 GC on "831bf652-b62a-4ce4-9dad-73c90647b454": open /var/lib/rkt/pods/exited-garbage/831bf652-b62a-4ce4-9dad-73c90647b454/stage1/manifest: no such file or directory
Garbage collecting pod "8323f741-a68b-4721-9aae-dcf0a4ee8ec9"
gc: problem performing stage1 GC on "8323f741-a68b-4721-9aae-dcf0a4ee8ec9": open /var/lib/rkt/pods/exited-garbage/8323f741-a68b-4721-9aae-dcf0a4ee8ec9/stage1/manifest: no such file or directory
Garbage collecting pod "83252108-c1ae-452b-9921-25e863d7ed78"
gc: problem performing stage1 GC on "83252108-c1ae-452b-9921-25e863d7ed78": open /var/lib/rkt/pods/exited-garbage/83252108-c1ae-452b-9921-25e863d7ed78/stage1/manifest: no such file or directory
Garbage collecting pod "83252e6f-ac55-43f1-b71a-7459f427246c"
gc: problem performing stage1 GC on "83252e6f-ac55-43f1-b71a-7459f427246c": open /var/lib/rkt/pods/exited-garbage/83252e6f-ac55-43f1-b71a-7459f427246c/stage1/manifest: no such file or directory
Garbage collecting pod "8327d589-5775-4454-96be-d85a98695be2"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x9f95ea]

goroutine 1 [running, locked to thread]:
github.com/cznic/ql.newFileFromOSFile.func2(0xc820474bae, 0xc820474be8)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/cznic/ql/file.go:413 +0x2a
github.com/cznic/ql.newFileFromOSFile(0x7f66a06e2d80, 0xc82013c798, 0x0, 0x7f669d6ac1d8, 0xc820773380)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/cznic/ql/file.go:422 +0x2ad
github.com/cznic/ql.OpenFile(0xc820246ca0, 0x19, 0xc820475038, 0x0, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/cznic/ql/file.go:92 +0x1c3
github.com/cznic/ql.(*sqlDriver).Open(0x1593100, 0xc820246ca0, 0x19, 0x0, 0x0, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/cznic/ql/driver.go:173 +0x936
database/sql.(*DB).conn(0xc820435680, 0x1, 0x1, 0x0, 0x0)
	/usr/lib/go/src/database/sql/sql.go:710 +0x451
database/sql.(*DB).begin(0xc820435680, 0x1, 0x2, 0x0, 0x0)
	/usr/lib/go/src/database/sql/sql.go:1050 +0x3f
database/sql.(*DB).Begin(0xc820435680, 0x2, 0x0, 0x0)
	/usr/lib/go/src/database/sql/sql.go:1038 +0x5c
github.com/coreos/rkt/store.(*DB).Begin(0xc820246ba0, 0x0, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/store/db.go:138 +0x31
github.com/coreos/rkt/store.(*DB).DoTx(0xc820246ba0, 0xc820475418, 0x1, 0x1, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/store/db.go:157 +0x3a
github.com/coreos/rkt/store.(*DB).Do(0xc820246ba0, 0xc820475418, 0x1, 0x1, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/store/db.go:151 +0xb9
github.com/coreos/rkt/store.NewStore(0xc8203e18c0, 0xc, 0x0, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/store/store.go:273 +0xb36
main.deletePod(0xc820621d60)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/gc.go:232 +0x249
main.emptyExitedGarbage.func1(0xc820621d60)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/gc.go:132 +0x53e
main.walkPods(0x10, 0xc820475b68, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/pods.go:145 +0x81f
main.emptyExitedGarbage(0x0, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/gc.go:116 +0x45
main.runGC(0x155be80, 0xc8203e1780, 0x0, 0x1, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/gc.go:85 +0x167
main.runWrapper.func1(0x155be80, 0xc8203e1780, 0x0, 0x1)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/rkt.go:197 +0x43
main.ensureSuperuser.func1(0x155be80, 0xc8203e1780, 0x0, 0x1)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/rkt.go:211 +0x160
github.com/spf13/cobra.(*Command).execute(0x155be80, 0xc8203e1730, 0x1, 0x1, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/spf13/cobra/command.go:572 +0x869
github.com/spf13/cobra.(*Command).ExecuteC(0x155b280, 0x155be80, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/spf13/cobra/command.go:662 +0x54e
github.com/spf13/cobra.(*Command).Execute(0x155b280, 0x0, 0x0)
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/Godeps/_workspace/src/github.com/spf13/cobra/command.go:618 +0x2d
main.main()
	/build/amd64-usr/var/tmp/portage/app-emulation/rkt-1.9.1/work/rkt-1.9.1/build-rkt-1.9.1/gopath/src/github.com/coreos/rkt/rkt/main.go:32 +0x98

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go/src/runtime/asm_amd64.s:1721 +0x1

goroutine 5 [syscall]:
os/signal.loop()
	/usr/lib/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
	/usr/lib/go/src/os/signal/signal_unix.go:28 +0x37


Missing Lines

In some networks lines are not rendered.  The case240.m is a small example that exhibits this behavior.  It also occurs in NESTA cases with over 1000 lines.

Unable to replicate the issue now. Validated with case240.m file.
Probably fixed with some other update.
Please verify once at your end.

I checked on my end all lines in case240 appear to be visible.  Looks good.


Tree doesn't propagate all properties to custom node renderer

When I assign a custom node renderer (an almost direct copy of the one used by the tree code itself) I'm only getting the following properties in the render function:

node
path
lowerSiblingCounts
lowerSiblingCounts
isSearchMatch
isSearchFocus

For example:
{
    "node" : {
        "orgType" : "Skill",
        "title" : "New Skill",
        "id" : "749da3d3-0067-4047-82af-1880a15c5740",
        "skillModel" : {
            "sType" : "BKT",
            "pGuess" : 0.1,
            "pKnown" : 0.25,
            "pSlip" : 0.1,
            "pMastery" : 0.95
        }
    },
    "path" : [0],
    "lowerSiblingCounts" : [0],
    "treeIndex" : 0,
    "isSearchMatch" : false,
    "isSearchFocus" : false
}

Can you tell me what other properties you would expect it to have?

One of the items that gets propagated properly when I do not assign a custom renderer is canDrag, which internally is used to determine if the gripper is displayed and used.
I'm not sure if it's relevant but I'm rebuilding the custom node renderer to operate in a TypeScript environment.

Are you assigning the custom renderer to nodeContentRenderer? Based on those values provided it looks more like the parameters to the function set to generateNodeProps.

Yes very sure.
In fact I am using the generateNodeProps in one of the three instances where I need a sortable tree and it works just fine. The props generated by my function are properly propagated to the renderer.
Although I haven't figure out how to use it to pass event handlers down to the renderer.
But even then I don't see the full list of properties I would expect.

What version are you using?

In our package.json I've got it set to: "react-sortable-tree": "^0.1.12"

Sorry for the silence. Did you figure out a solution in the end?

We dropped looking into it since we were on a deadline and found that for our purposes we could hard-code some of the values.

Ok, I'm going to close this for now and see if it comes up again.


Create cannonical place to register light client interfaces

Summary
Currently we register light client interfaces in RegisterInterfaces within the core IBC module set as an sdk module. We should expose some API to register interfaces without adding code to the core IBC module. My first inclination is to add this function to the app module basic, so app.go files will be required to provide a function registering all their desired light clients. An alternative is to use the go init() function
In the short term, chains can simply add a call to the RegisterInterfaces for external light clients within the construction of the App in app.go
Decision
Add a field to AppModuleBasic to register interfaces, the list of functions can be taken in via NewAppModuleBasic. In AppModuleBasic.RegisterInterfaces should iterate over the functions provided

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

After discussion with @damiannolan we will go with the app module basic approach. IBC clients as SDK modules allows for additional benefits such as having external information (metadata) being controlled outside of 02-client (migrations, genesis). The benefits require SDK intermodule routing, but this is a step in the long term direction that will eventually be needed. I will write an ADR outlining the problems/eventual solution and why the AppModuleBasic approach is aligned in that direction

Closed! AppModuleBasics have been added for tendermint and solo machine. #2008 will add documentation to show external devs how to create an app module basic


Main Page

@COP4331C-Project-Group/front-end

[ ] Search Contacts
[ ] Create Contact
[ ] Delete Contact
[ ] Update Contact


operator [N] [CI] self-node-remediation (0.4.0)

This is the first version of the self node remediation operator which is replacing the poison pill  operator.

@mshitrit it is failing when package name 'self-node-remediation' is not same as operator dir name 'self-node-remediation-operator.

/hold

/retest

/merge possible

/merge possible

/hold

/merge possible

/hold cancel

/merge possible


fix semantic headline level

update headline levels to use the correct semantic tags
ensure that the hierarchy of headlines is maintained
fix "untitled" page title

🎉 thank you!


Corrected shuttle command

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

What is the current behavior? (You can also link to an open issue here)

Shuttle command return a 100 syntax error. Debugging showed that the command being sent was speed: speed: [xxx] where it should be shuttle: speed: [xxx]

What is the new behavior (if this is a feature change)?

Should now send the correct shuttle: speed: [xxx} command

Other information:

Codecov Report

Merging #6 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop       #6   +/-   ##
========================================
  Coverage    68.45%   68.45%
========================================
  Files           24       24
  Lines          466      466
  Branches        80       80
========================================
  Hits           319      319
  Misses         147      147

Impacted Files
Coverage Δ

src/commands/shuttle.ts
28.57% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Whoops, guess I went to a bit too fast over that one ;)

I should have said, since ts is not something I'm familiar with I worked out the fix in my local compiled copy inside the companion module, and the deduced the change in the shuttle.ts file. So should work as intended, but I haven't actually compiled it from this source since it was such a simple change.


Evaluate beowolx/CodeNinja-1.0-OpenChat-7B

https://www.reddit.com/r/LocalLLaMA/s/x3kWs0YIo8

Complete, nice model.


Overlapping section in pomodoro page

Description:
Issue in Pomodoro page
The section on the Pomodoro page is overlapping.

@akshitagupta15june  assign me this issue

Go for it

are u still working on it?

@akshitagupta15june if he is not working on it, can you assign this issue to me.

I am working on it
will push code by today

ok


Min / Max Fuel Economy when using l/100km

I just noticed when calculating the fuel economy using Liters per 100 Kilometers, the Min and Max values in the Fuel tab are reversed.

Min displays the maximum fuel consumption and Max displays the minimum fuel consumption.
Is this behavior intended, because I think it originates from the MPG calculation (where Min would mean higher consumption and Max would mean lower consumption)?

Yes but that does not change the fact that 7 l/100km is not a mileage value but a consumption value.
Mileage: kilometers traveled per liter fuel
Consumption: liters consumed per 100 km
7 l/100km is equivalent to a lower mileage, e.g. about 14 km/l but they are just the oposite of one another.

You can toggle the fuel consumption units between l/100km and Km/L, it will also update the labels up top:
https://docs.lubelogger.com/Records/Fuel Records#alternate-fuel-units

That's a very convenient feature, but my point is that for the calculated values on top of the fuel table there should be a difference between Mileage and Consumption dependent on which value is shown.
Since e.g. in Germany values of l/100km are used in most cars, I would propose to introduce a second set of strings to differentiate between MPG and l/100km calculation, to ensure the lower value always gets the Min label and the higher value always gets the Max label:
Min/Max Mileage: when using Imperial calculation for km/l or MPG
Min/Max Consumption: when using the other calculation method for l/100km gal/100mi

I think the translation is wrong. In English it says Min/Max Fuel Economy which would be Kraftstoffsparsamkeit or sth.. Now nobody uses this term in reality. So, could we switch that in the translation?

Min Fuel Economy -> Maximaler Durchschnittsverbrauch
Max Fuel Economy -> Minimaler Durchschnittsverbrauch

I guess that makes sense even when imperial calculation is selected.

Yes, good idea, I'm going to switch the translations.
Since the logic behind it is still "miles per galon", the colors in the dashboard bar chart are still reversed.
Low consumption (high economy) is red and high consumption (low economy) is green, maybe something in the code is reversed.


Reporting Workflow Refactor

Overview
Separate reports into separate workflows and update example. See #1771  for additional context.
Fix #1780 #1781
Test Notes/Sample Code
Run updated example 3.2
Notes:

I'm going to hold off on fixing all the tests/checks until we have mapping_refactor branch merged in

@jonthegeek i'm working on getting tests to pass


Main difference: https://github.com/Roave/FunctionFQNReplacer/blob/master/src/NodeVisitor/ReplaceUnqualifiedFunctionCallsWithQualifiedReferences.php#L123-L137

Or, make a composer plugin for https://github.com/humbug/php-scoper
Multiple users moved away from imposter to php-scoper.
See:

https://github.com/TypistTech/imposter/issues/149
https://github.com/TypistTech/imposter-plugin/issues/39


chore: adding license automation

Cleaning up transitive license use
Adding header

Codecov Report

Merging #5 (ff063d9) into main (0286325) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main       #5   +/-   ##
=========================================
  Coverage     87.24%   87.24%
  Complexity      301      301
=========================================
  Files            53       53
  Lines          1466     1466
  Branches         39       39
=========================================
  Hits           1279     1279
  Misses          167      167
  Partials         20       20

Impacted Files
Coverage Δ

.../java/me/philcali/device/pool/BaseDeviceModel.java
94.11% <ø> (ø)

...n/java/me/philcali/device/pool/BaseDevicePool.java
91.30% <ø> (ø)

.../src/main/java/me/philcali/device/pool/Device.java
0.00% <ø> (ø)

.../main/java/me/philcali/device/pool/DevicePool.java
80.00% <ø> (ø)

...ain/java/me/philcali/device/pool/SafeClosable.java
71.42% <ø> (ø)

...me/philcali/device/pool/connection/Connection.java
0.00% <ø> (ø)

...cali/device/pool/content/ContentTransferAgent.java
0.00% <ø> (ø)

...li/device/pool/exceptions/ConnectionException.java
54.54% <ø> (ø)

...vice/pool/exceptions/ContentTransferException.java
0.00% <ø> (ø)

...ce/pool/exceptions/DeviceInteractionException.java
100.00% <ø> (ø)

... and 43 more

Continue to review full report at Codecov.

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


Publish 1.1.2?

Hi,
I notice there's only v1.1 in 'tag', could help publish v1.1.2, so that users can download the .zip or .tar.gz file and use it officially?
BR/Lei

Never mind I find it's able to download in npm registry


Identify sheets for cross-domain testing

In GitLab by @jakebeal on Feb 1, 2019, 20:51
Find experiment-request sheets from the YeastGates and Protein groups that look like good subjects for testing.

In GitLab by @jakebeal on Mar 12, 2019, 16:11
Yeast States:

https://docs.google.com/document/d/1nDKQmrNooD9Fg3aW70cd6dVZqGKkApAo8-XYdGWhPtk/edit#
https://docs.google.com/document/d/1QgikpIsaPp2A3EIaWc4lFPv-hAsjheRw5dlvCgsFuUA/edit

Novel Chassis:

https://docs.google.com/document/d/13QqYqzp4bBXMCHFiX2PNqrYOL0iegXk1hBgEcAeQ4BI/edit

In GitLab by @jakebeal on Mar 12, 2019, 16:13
closed


typing: enable strictParameterNoneValue pyright rule

Summary
see title
also resolves the issue mentioned in #750, which was caused by this rule being disabled.
Checklist

[x] If code changes were made, then they have been tested

[ ] I have updated the documentation to reflect the changes
[x] I have formatted the code properly by running task lint
[x] I have type-checked the code by running task pyright

[ ] This PR fixes an issue
[ ] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)


Update io_bazel_rules_go, bazel_gazelle, and rules_proto

Updates in the diff:

io_bazel_rules_go v0.27.0 -> v0.29.0
bazel_gazelle v0.23.0 -> v0.24.0
rules_proto 2019 -> 4.0.0

This diff moves go_repository rules out of WORKSPACE to a gazelle-controlled deps.bzl.
While here, added a gazelle-update-repos target for the ease of dependency update:
go get -u ./...
go mod tidy
bazel run //:gazelle-update-repos
bazel run //:gazelle

This upgrade enables using rules_go's IDE Integration through @io_bazel_rules_go//go/tools/gopackagesdriver.

Hi, thanks for the cleanup. Normally I just update the modules the regular go way and then run bazel run //:gazelle -- update-repos -from_file=go.mod - what's the benefit of moving these to a separate file?

The main benefit is splitting the human-curated code (WORKSPACE) from the computer-generated one (deps.bzl).  With out this workspace file is quite hard to navigate: for example even right now docker rules are buried in the middle of the go_repository rules:
https://github.com/buchgr/bazel-remote/blob/0bc183e484eeb11f403ee1ecea5cf7dd759144bb/WORKSPACE#L195-L227
PS. Most monorepos end up with this model over time (e.g.: Uber: https://eng.uber.com/go-monorepo-bazel/)


Preview mode with sample images

I would love this. Gelbooru Image Viewer does this on browser, so it should be possible somehow.
For people like me who have low internet speed, both downloading and viewing fullsize images are hard.
And i wonder if Auto Paging is possible?

You can do this with the "Use image samples" setting:

And i wonder if Auto Paging is possible?

Not sure what you mean by that. If you mean "infinite scrolling" or this kind of thing, there's also a setting for that:


[DNM] enable immediate pruning of PipelineRuns in Tekton Results

As discussed, we'll wait for https://github.com/tektoncd/results/pull/672 to be merged and deployed, and deactivate the default pruner before merging this PR.

Closed in favor of #905


Deploy with Vercel option fails

When deploying with the vercel button, after entering environment variables, the build fails with:
Error: EEXIST: file already exists, symlink 'spaces.func' -> '/vercel/output/functions/api/token.func'

me too

Hmm, I'm not able to reproduce that build failure, but I believe it's due to us putting a client side file into /api which Vercel tries to deploy as a serverless function.
I pushed a fix to main here: https://github.com/muxinc/meet/commit/74fe9d69ad81aa6921a10ccfbb865c1481d73c70
And it should deploy without failure now.

I came across some surprising behavior by Vercel when I deployed using that button which was that it did not detect the project as a Next.js app. This was easy to fix by setting the Framework Preset to Next.js in Settings -> General. I will look into why Vercel is not detecting this as a Next.js app.


UI Step 1 - Issue no. 5

Currently, if one selects "United States (contiguous states)" and a U.S. state without a coast (e.g., Arizona) - as well as a FAO area - then presses "Proceed", one can go to Step 2.
===> Please make sure that if a user selects "United States (contiguous states)" and a U.S. state without a coast (e.g., Arizona), they cannot go to Step 2.

This will be fixed with filtering out FAO inland zones from the lookup table of subcountries and FAO areas

@FIN-casey:
@FIN-JBarile  let me know that she has received the completed list of sub-countries with corresponding FAO areas from @Dengaloo.
Please solve this issue accordingly. Thanks a lot.

@FIN-casey
Even better, now only the U.S. states with a coast are available in the drop-down list; very nice !
Many thanks Casey; I can now close the present issue.


FIX: always produce a main class or fail early when not possible.

JIB doesn't allow a null main class when producing the entrypoint. When there are more than one main classes in a project and mainClass isn't manually specified, this leads to a NullpointerException.
This change will check that sb-jib never passes a null main class into JIB by failing early if no main class can be used. It will also warn the user when it picks a class from multiple available ones.

Thanks @schmitch any chance we can get a release with this fix?

of course, I just released 0.2.3, will probably be up on sonatype/maven central, soon


No logout button

The previous web-interface version had a logout button.
It would be nice to have the logout button again
Victor

Duplicate: https://github.com/OpenSeaMap/depth_webfrontend/issues/27


CoinGecko API request maximum

CoinGecko's API does only allow for a maximum of 100 requests per minute. One way to incorporate requests which are larger to pause the loop for a minute in bulks of 100 requests.

Is fixed now, the loop pauses for 80 seconds (60 and 70 produced errors from time to time, coingecko api is probably not so accurate)


SslHttpClient.java:48-50: Add path for certificates as a...

The puzzle 23-d9c71050 from #23 has to be resolved:
https://github.com/amihaiemil/docker-java-api/blob/7995bd6a1312a448030563ab711174dd3d98dca2/src/main/java/com/amihaiemil/docker/SslHttpClient.java#L48-L50
The puzzle was created by rultor on 26-Mar-18.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@amihaiemil/z please, pay attention to this issue

@0pdd/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

The job #67 assigned to @amihaiemil/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this

Job gh:amihaiemil/docker-java-api#67 already assigned to @amihaiemil, can't assign to @amihaiemil

@amihaiemil/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat status

@0crat status (here)

@yegor256 This is what I know about this job, as in §32:

The job #67 is in scope for 14days
The role is DEV
The job is assigned to @amihaiemil/z for 14days
There is no monetary reward attached, it's a free job
The job has an impediment
The budget is 30 minutes/points
These users are banned and won't be assigned:

@0pdd/z: This user reported the ticket

Job footprint (restricted area)

The puzzle 23-d9c71050 has disappeared from the source code, that's why I closed this issue.

@0pdd the puzzle #100 is still not solved.

Order was finished: +30 point(s) just awarded to @amihaiemil/z

The job #67 is now out of scope


Having textured Pokémon show on discord market

I recently noticed that this isn’t shown on the discord market, which opens opportunity for scamming and other such. It would also be convenient, being able to tell it’s textured

Added


Tortured a innocent father of three

In body tracing mind reader microchip implant is in my face after a surgery . Walden's rv resort lot 91 silver springs fl 34488

#6

Thomas Franklin Howard jr 42 yes old with 3 kids frauded and blocked


[Feature] Common Video Reader for any video player

This will be like a common Prefab that you just need to change the material input to what your player uses, because all this prefabs with the player built-in can be a little annoying to setup, even more if your world already have a video player and you're just adding VRSL, this will be like a generic version that you just need to change the input of the mesh renderer, with a CRT out on the material, a material override or a mesh renderer override.
VRSL-Video Reader Package.zip

Added Vertical mode, plus fixed naming
VRSL-Video Reader Package.zip

Btw I made as a issue, because I didn't find where to put it, but it's basically take the contents out and add it

Seems like a pretty good idea, will look into it for the next release.


Use dotaconstants

Used dotaconstants where possible. References issue https://github.com/odota/mobile/issues/35.

Merged. Close #35.


feat(substrate-bindings): Binary.fromOpaqueBytes

It's very annoying when using runtime-apis that expect an extrinsic as an input to have to manually remove its length. I think that it makes sense to add these 2 static functions.

I made a few more changes, and I also added an E2E test. Please, review it again. 🙏

You can use ??= in the rest of the file as well 👍👍


x/vgo: “unknown revision” when attempting to build from multi-module repo

Based on discussion in https://golang.org/cl/116235, I decided to do some experimentation with cyclic modules hosted in the same repository. (I'm not actually sure whether that's a sensible thing to do, which is why I wanted to experiment.)
Unfortunately, I can't even get acyclic modules working in a multi-module repo. The “Multiple-Module Repositories” section of https://research.swtch.com/vgo-module seems to claim that it's supported, but vgo list -t won't list versions for any of the submodules and vgo get won't fetch them.
My attempt is in https://github.com/bcmills/vgotest. It's entirely possible that I'm missing something obvious, but I'm not sure what: this may just be a documentation problem. (I'm fairly new to both vgo and Git tags.)
~$ cd $(mktemp -d)

/tmp/tmp.eQdtHRpVrY$ git clone git@github.com:bcmills/vgotest.git
Cloning into 'vgotest'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 11 (delta 0), reused 11 (delta 0), pack-reused 0
Receiving objects: 100% (11/11), done.

/tmp/tmp.eQdtHRpVrY$ cd vgotest

/tmp/tmp.eQdtHRpVrY/vgotest$ git checkout v0.1.0
HEAD is now at 434c49a a,b: add mutually-dependent modules

/tmp/tmp.eQdtHRpVrY/vgotest$ find ./*
./a
./a/go.mod
./a/a.go
./b
./b/go.mod
./b/b.go
./LICENSE

/tmp/tmp.eQdtHRpVrY/vgotest$ cd a

/tmp/tmp.eQdtHRpVrY/vgotest/a$ vgo build .
vgo: finding github.com/bcmills/vgotest/b v0.1.0
vgo: github.com/bcmills/vgotest/b v0.1.0: unknown revision "b/v0.1.0"
vgo: finding github.com/bcmills/vgotest/b v0.1.0
vgo: github.com/bcmills/vgotest/b v0.1.0: unknown revision "b/v0.1.0"
vgo: unknown revision "b/v0.1.0"

CC: @rsc @myitcv

...cyclic modules...

I'm intrigued!

It's entirely possible that I'm missing something obvious, but I'm not sure what: this may just be a documentation problem

It looks like:

you're missing a go.mod at the root of the repo (I haven't seen it written anywhere that that's a requirement, but it seems to "make sense")
the tags you pushed don't appear to be in the right format (although I'll note they don't appear to correspond to what you included in the description so I'm a bit confused)

I pulled together a complete example from beginning-to-end to show things working.

Initialise a directory as a git repo, and add an appropriate remote:
$ mkdir vgo-by-example-submodules
$ cd vgo-by-example-submodules
$ git init
Initialized empty Git repository in /go/vgo-by-example-submodules/.git/
$ git remote add origin https://github.com/$GITHUB_USERNAME/vgo-by-example-submodules

Now define our root module, at the root of the repo, commit and push:
$ cat <<EOD >go.mod
module github.com/$GITHUB_USERNAME/vgo-by-example-submodules
EOD
$ git add go.mod
$ git commit -am 'Initial commit'
[master (root-commit) 86bc648] Initial commit
 1 file changed, 1 insertion(+)
 create mode 100644 go.mod
$ git push
To https://github.com/myitcv/vgo-by-example-submodules
 * [new branch]      master -> master

Now create a package b and test that it builds:
$ mkdir b
$ cd b
$ cat <<EOD >b.go
package b // import "github.com/$GITHUB_USERNAME/vgo-by-example-submodules/b"

const Name = "Gopher"
EOD
$ echo >go.mod
$ vgo test
?   	github.com/myitcv/vgo-by-example-submodules/b	[no test files]

Now commit, tag and push our new package:
$ cd ..
$ git add b
$ git commit -am 'Add package b'
[master a63b23f] Add package b
 2 files changed, 4 insertions(+)
 create mode 100644 b/b.go
 create mode 100644 b/go.mod
$ git push
To https://github.com/myitcv/vgo-by-example-submodules
   86bc648..a63b23f  master -> master
$ git tag b/v0.1.1
$ git push origin b/v0.1.1
To https://github.com/myitcv/vgo-by-example-submodules
 * [new tag]         b/v0.1.1 -> b/v0.1.1

Now create a main package that will use b:
$ mkdir a
$ cd a
$ cat <<EOD >a.go
package main // import "github.com/$GITHUB_USERNAME/vgo-by-example-submodules/a"

import (
	"github.com/$GITHUB_USERNAME/vgo-by-example-submodules/b"
	"fmt"
)

const Name = b.Name

func main() {
	fmt.Println(Name)
}
EOD
$ echo >go.mod

Now let's build and run our package:
$ vgo build
vgo: resolving import "github.com/myitcv/vgo-by-example-submodules/b"
vgo: finding github.com/myitcv/vgo-by-example-submodules/b (latest)
vgo: adding github.com/myitcv/vgo-by-example-submodules/b v0.1.1
vgo: finding github.com/myitcv/vgo-by-example-submodules/b v0.1.1
vgo: downloading github.com/myitcv/vgo-by-example-submodules/b v0.1.1
$ ./a
Gopher
$ cat go.mod
module github.com/myitcv/vgo-by-example-submodules/a

require github.com/myitcv/vgo-by-example-submodules/b v0.1.1

See how we resolve to the tagged version of package b.
Finally we commit, tag and push our main package:
$ cd ..
$ git add a
$ git commit -am 'Add package a'
[master a69a475] Add package a
 3 files changed, 15 insertions(+)
 create mode 100755 a/a
 create mode 100644 a/a.go
 create mode 100644 a/go.mod
$ git push
To https://github.com/myitcv/vgo-by-example-submodules
   a63b23f..a69a475  master -> master
$ git tag a/v1.0.0
$ git push origin a/v1.0.0
To https://github.com/myitcv/vgo-by-example-submodules
 * [new tag]         a/v1.0.0 -> a/v1.0.0

Version details
go version go1.10.2 linux/amd64 vgo:2018-02-20.1
vgo commit: 6a94eb3b5ccc04453d2fb45c23641e5993118068


Add Styles

Because

This PR

Issue

Closes #XXXXX
Additional Information

Pull Request Requirements

[ ] I have thoroughly read and understand The Odin Project Contributing Guide
[ ] The title of this PR follows the location of change: brief description of change format, e.g. 01-flex-center: Update self check
[ ] The Because section summarizes the reason for this PR
[ ] The This PR section has a bullet point list describing the changes in this PR
[ ] If this PR addresses an open issue, it is linked in the Issue section
[ ] If applicable, I have ensured that the TOP solution files match the Desired Outcome image

As per the repo README.md, please don't submit a pull request with your solutions. You can push commits to your own fork, but don't open a pull request from it after.


Clicking the "metaproteomics analysis" title in the banner does not reset the application

In older versions of the Unipept Web application, it was possible to reset the current state of the application by clicking on the "metaproteomics analysis" title in the Unipept banner on top of the web page. In the current version of the application, this is however no longer possible.

Fixed in #1559


Is this project inspired by jepsen?

Our research group are doing works about "translating" jepsen from clojure to other languages.
(See jepsen-in-java, jepsen-in-python, and jepsen-in-cpp.)
It's delightful to find someone doing something similar.

I should say yes, Consensus evaluation is the main goal for Jepsen. OpenChaos is aim for resilience architecture, especially for modern data architecture.


mailing unit sprite bug

Description

Mail chute comically changes into disposals before switching back when flushed
Reproduction

use a mail chute
Screenshots

Additional context

im pretty sure its a dupe

im pretty sure its a dupe

me too, tried searching it up but i couldnt find the issue

im pretty sure its a dupe

me too, tried searching it up but i couldnt find the issue

#18275

ok im closing this one in favor of the old one


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 3444: invalid continuation byte

I ran this package on a folder containing exported eml files and I kept getting this error.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 3444: invalid continuation byte
Traceback (most recent call last):   File "/Users/user/projects/storytella/.venv/bin/eml-to-html", line 8, in <module>     sys.exit(main())   File "/Users/user/projects/storytella/.venv/bin/eml_to_html.py", line 52, in main     eml_to_html(file_path)   File "/Users/user/projects/storytella/.venv/bin/eml_to_html.py", line 39, in eml_to_html     message: Message = message_from_file(eml_file)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/email/__init__.py", line 54, in message_from_file     return Parser(*args, **kws).parse(fp)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/email/parser.py", line 53, in parse     data = fp.read(8192)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/codecs.py", line 322, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 3444: invalid continuation byte

I cloned the repo and tried to trace the error from the stack trace.
 And an A-hole.eml:                    � [...]
./One question.eml:                    � [...]
./piching through email.eml:                  � [...]
./TL DR is a disease.eml:                    � [...]
./The 3rd guest.eml:                    � [...]

This indicates that the eml files contain some none UTF-8 Characters therefore breaking the program execution.
Followed the advise by found on this Answer on a Stackoverflow Issue - python file open() throws exception for non utf-8 character:

It seems that anyone opening text files they get from other people and have no way to control or know in advance what is inside might be advised to use "latin-1" because there are no invalid byte values in Latin-1.

So I used this on the codebase and it worked.
I'll push this and open a pull request for comments and advice.


Add leave-archive flag to pd join

Describe your changes
Small change to add a --leave-archive flag to pd join (defaults to false) to optionally leave behind the  downloaded archive file.
Issue ticket number and link
Checklist before requesting a review

[x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

local to pd nodes only

nice!! this is a simple, impactful ux improvement :muscle:

Downloading gigabytes of archive data while testing locally then seeing it deleted and having to do it again is a powerful motivator 😅

Is there a way to point the join command at the existing archive file on disk? I didn't check that

Wow yeah I would really like being able to install an archive from disk

Right now loading archives from a local doesn't work:
❯ cargo run --release --bin pd -- testnet join --archive-url  "file:///home/conor/archive-repository/pd-migrated-state-76-77.tar.gz" --leave-archive
    Finished release [optimized] target(s) in 0.26s
     Running `target/release/pd testnet join --archive-url 'file:///home/conor/archive-repository/pd-migrated-state-76-77.tar.gz' --leave-archive`
2024-06-13T15:55:38.546300Z  INFO pd: running command cmd=Testnet { testnet_dir: None, tn_cmd: Join { node: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain
("rpc.testnet.penumbra.zone")), port: None, path: "/", query: None, fragment: None }, archive_url: Some(Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None
, path: "/home/conor/archive-repository/pd-migrated-state-76-77.tar.gz", query: None, fragment: None }), moniker: None, external_address: None, tendermint_rpc_bind: <IP_ADDRESS>:26657, tendermint_p2p_bind: 0.
0.0.0:26656, leave_archive: true } } version="0.77.0"
2024-06-13T15:55:38.546406Z  INFO pd::testnet::join: fetching genesis genesis_url=https://rpc.testnet.penumbra.zone/genesis
2024-06-13T15:55:38.709910Z  INFO pd::testnet::join: fetched genesis
2024-06-13T15:55:39.081640Z  INFO pd::testnet::join: fetched listener address for bootstrap node listen_addr_url=tcp://<IP_ADDRESS>:26656
2024-06-13T15:55:39.369620Z  INFO pd::testnet::join: Network peers for inclusion in generated configs peers=[Tcp { peer_id: Some(node::Id(0319dfafae2d6959ed59862986b3c23e8193e283)), host: "<IP_ADDRESS>"
, port: 26656 }, Tcp { peer_id: Some(node::Id(42fb361de0761d272843ac386fee0ac37b60a212)), host: "<IP_ADDRESS>", port: 26656 }, Tcp { peer_id: Some(node::Id(41182a31bb98a76a032bbc4ef24f4da269f51231)), h
ost: "<IP_ADDRESS>", port: 37756 }, Tcp { peer_id: Some(node::Id(ffdb6efa510dbc158b1ca856ec8a424b2aa50c7c)), host: "<IP_ADDRESS>", port: 26656 }, Tcp { peer_id: Some(node::Id(41f116ac326d71cb90037d8a070
a5d47f6808b49)), host: "<IP_ADDRESS>", port: 26656 }, Tcp { peer_id: Some(node::Id(a8b2b9a62679444b9551bd1bc8677c17eea60c93)), host: "<IP_ADDRESS>", port: 26656 }, Tcp { peer_id: Some(node::Id(01164bc2
7bad264b42c8a13f43b8cb45d92200a6)), host: "<IP_ADDRESS>", port: 36656 }]
2024-06-13T15:55:39.378139Z  INFO pd::testnet::config: Writing validator configs to config_dir=/home/conor/.penumbra/testnet_data/node0
2024-06-13T15:55:39.379382Z  INFO pd::testnet::join: downloading compressed node state archive_url=file:///home/conor/archive-repository/pd-migrated-state-76-77.tar.gz
Error: builder error for url (file:///home/conor/archive-repository/pd-migrated-state-76-77.tar.gz): URL scheme is not allowed

Caused by:
    URL scheme is not allowed
    ```

but we should be able to tweak the scheme, give me a moment...

Done. I overloaded the --archive-url flag to understand file:/// URLs. Maybe a separate flag would be better, but this works for now.


Run GitHub wiki link validator

Various intrapage links are broken. E.g.
https://github.com/snowplow/snowplow/wiki/Integrating-javascript-tags-with-Google-Tag-Manager#1.3

https://github.com/bamos/github-wiki-link-validator

https://github.com/snowplow/snowplow/wiki/javascript-tracker#wiki-events (another example, only to demonstrate the size of the issue). I agree that a github-wiki-link-validator should be part of your infrastructure.

I just ran github-wiki-link-validator and got the following output:
+ https://github.com/snowplow/snowplow/wiki/Setting-up-ChartIO-to-visualize-Snowplow-data
  + https://github.com/snowplow/snowplow/wiki/-setup-guide-images-chartio-cr3.PNG

So apparently the only fully broken link is the image link here. It looks like github-wiki-link-validator doesn't validate whether the fragment of a link refers to an actual HTML element.

I changed github-wiki-link-validator to look for broken anchors too. You can see the changed code and the list of broken links on the Snowplow wiki here.

Thanks Fred!

By the way - that list is just for internal links within https://github.com/snowplow/snowplow/wiki. There may be unreported invalid external links.
If anybody finds any false positives or false negatives in my list of broken links please let me know so I can improve the script.

@alexanderdean / @fblundun - I corrected over 400 broken links (some are still evident only in my forked version). Once pushed, @fblundun could you run the validator again, please? I have dificulties running it myself in my environment.

Thanks so much for doing this @ihortom - I have now pushed. @fblundun could you re-run?

@ihortom sorry for the delay! I re-ran the script. Here are the results:
Bad links on page https://github.com/snowplow/snowplow/wiki/1-General-parameters-for-the-Javascript-tracker-v2.3

Bad links on page https://github.com/snowplow/snowplow/wiki/Canonical-event-model-v70

Page pings

Bad links on page https://github.com/snowplow/snowplow/wiki/Javascript-Tracker-Core
Importing the module
Creating a tracker

Bad links on page https://github.com/snowplow/snowplow/wiki/1-General-parameters-for-the-Javascript-tracker-v2.4
Setting the application ID
Configuring cookie timeouts using setSessionCookieTimeout

Bad links on page https://github.com/snowplow/snowplow/wiki/.NET-tracker-setup

Bad links on page https://github.com/snowplow/snowplow/wiki/ActionScript3-Tracker
setViewport

Bad links on page https://github.com/snowplow/snowplow/wiki/Node.js-Tracker-v1

Bad links on page https://github.com/snowplow/snowplow/wiki/Configure-Scala-Kinesis-Enrich-v0.3
configuring enrichments

Bad links on page https://github.com/snowplow/snowplow/wiki/canonical-event-model

Bad links on page https://github.com/snowplow/snowplow/wiki/Getting-started-with-Looker
3.3

Bad links on page https://github.com/snowplow/snowplow/wiki/Setting-up-Qubole-to-analyze-Snowplow-data-using-Apache-Hive
Sign up to Qubole

Bad links on page https://github.com/snowplow/snowplow/wiki/1-Installing-EmrEtlRunner
Setting up EMR command line tools

Bad links on page https://github.com/snowplow/snowplow/wiki/1-General-parameters-for-the-Javascript-tracker
Disabling cookies

Bad links on page https://github.com/snowplow/snowplow/wiki/Ruby-Tracker-v0.2
Creating multiple trackers

Bad links on page https://github.com/snowplow/snowplow/wiki/1-General-parameters-for-the-Javascript-tracker-v2.0

Bad links on page https://github.com/snowplow/snowplow/wiki/Setup-IAM-permissions-for-operating-Snowplow
Add the new user to your new group

Bad links on page https://github.com/snowplow/snowplow/wiki/Troubleshooting-jobs-on-Elastic-MapReduce
Diagnosing an ETL job failure

Bad links on page https://github.com/snowplow/snowplow/wiki/Node.js-Tracker
trackEcommerceTransactionItem()

Bad links on page https://github.com/snowplow/snowplow/wiki/Setting-up-ChartIO-to-visualize-Snowplow-data
/setup-guide/images/chartio/cr3.PNG

Bad links on page https://github.com/snowplow/snowplow/wiki/Canonical-event-model

Bad links on page https://github.com/snowplow/snowplow/wiki/Iglu-webhook-setup
Your webhook

There are a lot fewer bad links this time.

It looks like GitHub has changed how it handles links to nonexistent pages. I seem to remember that it used to send you to a "this page does not exist" page, but now it just redirects to the wiki homepage.
This doesn't actually effect the validator since it checks links for the "internal absent" class which GitHub apparently still attaches to invalid links.

@alexanderdean / @fblundun - Done locally. Hopefully, this is it.

Thanks - I've re-pushed the latest to master. @fblundun could you re-test next week?

I just re-ran the script and it didn't find any broken links!


how to keep composite node retick running child？

the selector and sequence node did not save running child index，so next tick will restart tick children？

Let's say I have a CharacterController state machine with the following states:

Idle
Moving Towards Enemy
Attack Enemy

And a Behavior Tree composed of the following nodes:

Sequence:

Check: If Enemy in field of view, then SUCCESS, else FAILURE
Task: Transition CharacterController to state Moving Towards Enemy, then SUCCESS
Check: If Enemy in attack range, then SUCCESS, else RUNNING
Task: Transition CharacterController to state Attack Enemy, then RUNNING

Now, an enemy comes into the field of view, so the first check succeeds, which means the task is executed, which change the state machine's state. The enemy is not yet in attack range, so the second check is still RUNNING, therefore the sequence node is RUNNING as well (the last task is not executed this tick).
Then, you run the state machine's update (its tick) which moves the character towards the enemy.
Next tick, the enemy is still into the field of view, so the first check succeeds, the first task transitions the state machine (which is a no-op since it is already in that state), then the second check is executed. The enemy is now in attack range, so the check succeeds and we move on to the second task which transitions the CharacterController to the Attack Enemy state and returns RUNNING, the sequence node is therefore still RUNNING.
Then, you run the state machine's update which kills the enemy.
Next tick, there is no enemy in the field of view, so the first check returns FAILURE, and therefore the sequence node returns FAILURE.

TL;DR: To maintain state between ticks, I'd use a state machine given to the behavior tree via its "world" data structure.
I hope it answers your question 🙂

Also, moving this to a discussion rather than an issue.


Top cards list per competition, per time, per season and per all time

I added per season and all time to /cards/ so closing this out. We can always come up with more later.


Recognize Seminole High School

Add Seminole High School

@igrapel Please fork SWOT repository, copy file.zip in the root folder of your forked SWOT repository. Then unzip file.zip there with no changes to the directory structure. Then make a new pull request. If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message. I have to close this request without merging. Thank you for your understanding.


Wrong month display in master branch (1.5dev)

I discovered that the month is not displayed correctly. e.g: display July 2015 instead of August 2015 as show in the following screen shot

Here is the jsfiddle to reproduce the issue: http://jsfiddle.net/npyhpcyr/6/

possible duplicate of #1533

@iainheng can you talk a look at #1533 if that bug is the same as yours?

@hebbet It is not same as #1533 as only the title of the month is wrong in this case. It shown July 2015 where it should be showing August 2015 actually. When I click on the day in the picker, the correct date is populated in the text field (only the datepicker month title is wrong).
Weird enough, I tested again the same jsfiddle just now and it didn't have the same problem now (2015-09-01 here). But it  had the problem the other day 2015-08-29 when I tried it. Maybe the problem is related to August or 31 days month?

@iainheng I discovered too. Your file is different.
In line 909
.text(DPGlobal.formatDate(new Date(year, month), titleFormat, this.o.language));
.text(DPGlobal.formatDate(d, titleFormat, this.o.language));

I seem to be getting this problem (the wrong month name displayed) regardless of the days in the month.
A fix, that seems to fix the problem for me, fails a bunch of the unit tests on top of 58 that weren't passing using the current source on the master branch. I could very well be doing something wrong, but the unit tests might be broken...

why do you use an unstable dev-branch in your projects?
as noted on that or a linked issue, the current release is working fine.
i will look for the case of that regession in the next few days.

@hebbet - because 1.4.0 has a display bug in my implementation inside a modal dialog, that the 1.5 dev branch resolves.

This bug is still in the master branch. Sean-214's answer is the solution.

@RobbeR yes that bug is still in master branch as this issue here is still open....

@hebbet Yes, sorry, didn't read the dates.

Can you guys verify if this issue is resolved in the current master, PR #1503 possibly fixed this issue

Closing this as other issues with same problem are fixed, reopen if this is still an issue on the current master! Fixed in #1503

It's OK now, thank you for your work


reference question

Is there some doc or reference to the solver in your cuda program ? Thanks.

Hi @zjin-lcf, what kind of reference are you looking for. This repo's purpose is mainly for automated testing which implies the lack of extensive information. However, the codes listed in here solve the acoustic wave equation using a low-order finite-difference scheme in an explicit fashion in the time-domain. Also, we here use the velocity-pressure split formulation. The 3D MPI code implement domain decomposition and execute on multiple GPUs. The MPI implementation features the overlap of MPI communication behind computation.


Change session pool error

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.02 :warning:

Comparison is base (28ac024) 50.28% compared to head (d91346b) 50.26%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##             develop      #95      +/-   ##
=============================================
- Coverage      50.28%   50.26%   -0.02%
+ Complexity       996      994       -2
=============================================
  Files            150      150
  Lines           6203     6201       -2
  Branches         655      654       -1
=============================================
- Hits            3119     3117       -2
  Misses          2849     2849
  Partials         235      235

Impacted Files
Coverage Δ

core/src/main/java/tech/ydb/core/StatusCode.java
88.57% <ø> (ø)

...in/java/tech/ydb/table/impl/PooledTableClient.java
100.00% <ø> (ø)

...ain/java/tech/ydb/table/impl/pool/SessionPool.java
94.92% <100.00%> (+0.03%)
:arrow_up:

...in/java/tech/ydb/table/impl/pool/WaitingQueue.java
87.74% <100.00%> (+0.07%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Improve README: mark asset host as optional

This is a simple change that might help users save time wondering why images are correctly uploading to S3 but are not displaying in development or production.

Documenting that this is optional is a great improvement. Would you mind expanding on it a little bit? Perhaps put it on its own line, explain what the feature is offering and why it is optional?

I will leave it to the carrierwave-aws team to explain the additional benefit of customizing the asset host :smile: . My interest in this pull request is letting users know the image asset host is configured elsewhere and specifying it as 'example.com' (per the current version of the README) might lead assets to display improperly. It took some poking around online before I inspected an improperly-displayed image and realized the image source was incorrect as the carrierwave-aws config.asset_host line was overriding the image tag. I simply commented out this line and my images displayed without any problem. I thought others might like to know. Hopefully this helps.


Add files via upload

@sandrazec First stage of verification passed, official domain is guelphhumber.ca as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@sandrazec Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course.

@sandrazec You might miss my previous comment. Please react.

@sandrazec I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Deleting entire contents of a folder without deleting the folder itself crashes the TUI

I'm absolutely loving super file but I have a folder for image sequence renders that I clear out often and I crash every time I do which slows me down
Deleting entire contents of a folder without deleting the folder itself crashes the TUI
-Create a new folder
-Put multiple files into that folder
-Enter folder
-Switch to select mode and use the select all short cut
-Delete and accept
-Pressing Left does nothing
-Pressing Right crashes superfile
After deleting the contents of the folder, I should be able to go back to the previous directory

OS: LMDE 6
Superfile Version 1.1.4

I've reproduced this error, thank you very much for your report!


Use line height based spacing model

fix #1028 fix #4224
The ci is expected to fail since the line height is changed, all of ref images are needed to be updated
TODO:

[x] bring back orphan and widows prevention
[ ] fix TODOs. specifically about the spacing of term/enum/list --> How to calculate row gutter for grids
[x] Find a good default for line height in normal text and footnote
[ ] figure out what it TIGHT_LEADING in math

Find a good default for line height in normal text and footnote

My suggestion is to find a value that keeps the line spacing unchanged in most tests...

Find a good default for line height in normal text and footnote

My suggestion is to find a value that keeps the line spacing unchanged in most tests...

It's impossible. Previously, the line height in typst is...(guess what?) 7.15(leading) + 7.240234375(asc) = 14.390234375pt. And this means that if we want it looks the same, the line-height would be 1.3082031250000001em or so.
But when i set it to 1.3082031250000001, the calculated leading is 7.150000000000002. And if i set it to the next float using np.nextafter, it becomes 7.149999999999999

I just want to comment that #4318 may be a possible predecessor for the line height adjust solution can avoid breaking the test. This PR (#4318) is an attempt to support #2200 (draft PR #3953), and I think it should be relevant so I think you might be interested to take a look at it.

I think until we have a solution that properly fixes the equation problem (for the first line and the last line as well), I'd refrain from making any changes. (In the interest of only changing things once.) So I'll close this for now.


rogue console.log in scion.js

Seeing the body of our transition listener in our service logs:
listener function (sourceStateId, targetIds) {
if (targetIds && targetIds.length) {
fsmLog('transitioning from ' + sourceStateId + ' to ' + targetIds.join(','));
} else {
fsmLog('executing target-less transition in ' + sourceStateId);
}
}
Looks like an accidental checkin as part of your recent registerListener fix
https://github.com/jbeard4/SCION-CORE/commit/533a9ec4d468bb4fc1dec38ec66923b5d052a3fb#diff-bc83a3f161f32c213ea899aba33cf6c7R387

Fixed in https://github.com/jbeard4/SCION-CORE/commit/342d582058f3be7c2169d7640e20dd3d8b1bc054


options to write dimensions only to NetCDF: Skip coordinate variables

Reported by ansley b manke on 31 May 2013 22:58 UTC
Many netcdf files contain just dimensions with no corresponding coordinate variable, for example the Discrete Sampling Geometries files in Appendix H of the CF conventions,
http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#appendix-examples-discrete-geometries

If we try to write such a file with Ferret, it will always write coordinate variables for dimensions obs, traj, profile, etc. We should offer a qualifier or setting to write the dimension only when writing to netCDF.

If we want to append to such a file (e.g. I wanted to add a variable with the month to the SOCAT DSG file for use in selecting a month or season), Ferret wants to compare the coordinates in the file with the coordinates of the variable to be written, and so will not append.

yes? save/append/file=dsgfile.nc tmonth
 LISTing to file dsgfile.nc
 **TMAP ERR: attempt to redefine line
             Bad CDF file: dimension obs exists without coordinates

The file is legal according to current standards. When there's a dimension but not a coordinate variable Ferret should check the name, direction and size of the dimension in the file against the grid of the variable.
I'll attach a short test dsg file.  Here's a script to try to append a variable to it (Note CANCEL MODE UPCASE. If that's not set, then Ferret does append, but it writes a new axis, capital OBS, to the file.)
yes? use dsgfile
yes? let longitude365 = longitude+365
yes? cancel mode upcase
yes? save/append/file=dsgfile.nc  longitude365

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2075

Comment by ansley.b.manke on 6 Jun 2013 20:40 UTC
Done.  A new qualifier SAVE/NOCOORDS will write the variable without coordinate variables. If appending, Ferret just checks the dimension names and sizes to make sure they match what is in the file.

yes? use dsgfile
yes? let longitude365 = longitude+365
yes? cancel mode upcase
yes? save/append/nocoord/file=dsgfile.nc  longitude365
 LISTing to file dsgfile.nc
yes? sp ncdump -h dsgfile.nc
netcdf dsgfile {
dimensions:
        trajectory = 3 ;
        STRING1_12 = 12 ;
        obs = 5315 ;
variables:
        int rowSize(trajectory) ;
                rowSize:ioos_category = "Identifier" ;
                rowSize:long_name = "Number of Observations for this Trajectory" ;
                rowSize:sample_dimension = "obs" ;
                rowSize:history = "From SOCAT2_data_table_b900_f2d1_5213" ;
        char cruise_expocode(trajectory, STRING1_12) ;
                cruise_expocode:cf_role = "trajectory_id" ;
                cruise_expocode:ioos_category = "Identifier" ;
                cruise_expocode:long_name = "Cruise Expocode" ;
                cruise_expocode:history = "From SOCAT2_data_table_b900_f2d1_5213" ;
        float longitude(obs) ;
                longitude:_CoordinateAxisType = "Lon" ;
                longitude:actual_range = -1.084202e-19f, -3.601561f ;
                longitude:axis = "X" ;
                longitude:colorBarMaximum = 180. ;
                longitude:colorBarMinimum = -180. ;
                longitude:ioos_category = "Location" ;
                longitude:long_name = "Longitude" ;
                longitude:standard_name = "longitude" ;
                longitude:units = "degrees_east" ;
                longitude:history = "From SOCAT2_data_table_b900_f2d1_5213" ;
...
        double time(obs) ;
                time:_CoordinateAxisType = "Time" ;
                time:actual_range = -35431200.,<PHONE_NUMBER>. ;
                time:axis = "T" ;
                time:ioos_category = "Time" ;
                time:long_name = "Datetime" ;
                time:standard_name = "time" ;
                time:time_origin = "01-JAN-1970 00:00:00" ;
                time:units = "seconds since 1970-01-01T00:00:00Z" ;
                time:history = "From SOCAT2_data_table_b900_f2d1_5213" ;
        double longitude365(obs) ;
                longitude365:missing_value = -1.e+34 ;
                longitude365:_FillValue = -1.e+34 ;
                longitude365:long_name = "LONGITUDE+365" ;
                longitude365:history = "From dsgfile" ;

// global attributes:
                :history = "FERRET V6.85    6-Jun-13" ;
                :Conventions = "CF-1.0" ;
                :cdm_altitude_proxy = "depth" ;
                :cdm_data_type = "Trajectory" ;
...
}

Attachment from ansley.b.manke on 31 May 2013 22:59 UTC
dsg file with dimensions but not coordinate variables.
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_2075_GIT_1347/dsgfile.nc


luci-mod-system: allow ecdsa-sk and ed25519-sk key types

Allow importing SSH public keys of types "ecdsa-sk" and "ed25519-sk" via LuCI.
These key types can be generated via the -t flag in ssh-keygen and are supported in recent versions of dropbear. As ssh-keygen ignores the -b flag when generating ecdsa-sk and ed25519-sk keys, I've set the curve field in the objects returned by the decode function to fixed strings for both ecdsa-sk and ed25519-sk input strings. This is in contrast to ecdsa keys for which various curves can be provided during generation (e.g., NIST P-256, NIST P-384, and NIST P-521).
Signed-off-by: Eric McDonald<EMAIL_ADDRESS>

Cleaned up commit history to include my full name as the author string and rebased on top of the XSS changes in https://github.com/openwrt/luci/commit/944b55738e7f9685865d5298248b7fbd7380749e. Apologies to the maintainers if I spammed your inbox in the process. Thanks for the help!

Merged, thanks!


Recipe food app

Hello There 👋🏽
In this PR, I @bernabasy  and my teammate @michaelamponsah  have:

Created a complete project using Rails
Used Ruby Gems as a software package system.
Installed Ruby on Rails framework.
Created Rails RESTful design and router.
Used controllers to handle requests and render empty views.
Worked with Rails naming conventions.
Worked with params from browser requests in a safe way.
Used preprocessed HTML file with embedded Ruby code.
Used layouts and templates for shared content.
Used database migration files to maintain database schema.
Used validations for models.
Secured our app from n+1 problems.
Wrote SQL queries with ActiveRecord.
Created associations between models.
Created user login using Devise
Implemented authorization using CanCanCan.
Written  tests

Thank you for appriving our project!


BUG: Failures in Branch-Protection during release testing

Release tests found some issues with Branch-Protection check. Looks like related to recent scoring PR. @laurentsimon assigning to you for further debugging.
./scorecard --repo=github.com/kubermatic/dashboard-v2 --checks=Branhc-Protection
./scorecard --repo=github.com/xwp/stream --checks=Branch-Protection
./scorecard --repo=github.com/americanexpress/one-app-cli --checks=Branch-Protection

Release tests found some issues with Branch-Protection check. Looks like related to recent scoring PR. @laurentsimon assigning to you for further debugging.
./scorecard --repo=github.com/kubermatic/dashboard-v2 --checks=Branhc-Protection

"reason": "could not find branch name release/v2.18: branch not found",
@asraa can you take care of this one?

./scorecard --repo=github.com/xwp/stream --checks=Branch-Protection
./scorecard --repo=github.com/americanexpress/one-app-cli --checks=Branch-Protection

"reason": "internal error: invalid score 2 != 0",
I will look into these two.

Assigning to @asraa the part on version not being found. not urgent

It seems like this is because there's a large number of branches (>30) and the GitHub API making the call to ListBranches only returns 30 at a time. I'll see if we can pagify/get all.

Ah, this was fixed by increasing the refsToAnalyze.
Is this a hard-limit? I could also increase this so that it makes another API call to fetch branches if it wasn't found in the first 30.

I see. @azeemshaikh38 can you chime in? Will this trigger issues with API rate limiting in the weekly cron?
@asraa how to we calculate the "right" number of refsToAnalyze? Rule of thumb, or is there some heuristics we use?

Nice catch! I'm a bit hesitant about increasing refsToAnalyze since that'll increase the API cost and we don't know how many branches we'll have to iterate through to get the right ones.
My suggestion would be to update ListBranches API to take a ListBranchesOptions{} struct that contains an optional list of branch names to retrieve. I haven't found a way to batch retrieve these branches, so we'll then have to make multiple calls to get the BranchProtectionRules for these names. . This still means more API calls but at least since the number of branches we are interested in is probably a handful, it's better than iterating through a bucket load of them.
One FYI, GitHub allows you to list all BranchProtectionRules for a repository, which is great but there is no similar option for RefUpdateRules which is what we rely on mostly given a read-only token. So another long-term solution here is to work with GitHub to get this exposed.

My suggestion would be to update ListBranches API to take a ListBranchesOptions{} struct that contains an optional list of branch names to retrieve.

I think I can work with that! Given that we only want the release and default branches for branch protection, I can plumb that in through setup to create the query for those branch names.

I am going to work on this issue.


device info, entities naming, unique ids ...

I think, that some naming of entities should be refined.
i.e.:
DHW Swtich should be associated to the boiler not to the thermostat.
I am working on this change.

Thanks for the suggestion, but I'd kindly ask not to do any changes in regards to naming at this point.
This is the refactoring I had in mind for some time now, ever since the HA team announced new naming conventions. But to do that, I want to both introduce new entities with new naming and handle the migration of old entities gracefully.
I'll leave this issue to track progress on it.

Hey @vneno.
As of #265, these changes are now on master, and will be released soon (after I test them in my setup as part of the prerelease process).


Unable to download  "leokhoa/laragon:latest"

Expected behavior
Download laragon:latest
Actual behavior
Downloading error
Information about the Issue
(HTTP code 404) no such image - no such image: leokhoa/laragon:latest: No such image: leokhoa/laragon:latest### Steps to reproduce the behavior

Looks like that repository does not have a :latest tag (https://hub.docker.com/r/leokhoa/laragon/tags), so you will have to specify a specific tag to use; here's the steps to do so (steps below are for the elasticsearch image, but the steps are similar for the image you're using):

Click on the ... button to view the image's details

Click on the Selected tag: latest to open the "tag selection" window

Click the tag / version of the image you want to run

Click the (X) to close the tag selector window

Click on the Create button to pull the image and start the container


[18.09 backport] Entropy cannot be saved

backport of https://github.com/moby/moby/pull/39336 for 18.09
Remove non cryptographic randomness.

ping @justincormack @cpuguy83 ptal

rebased to kick CI again


Rename command isn't working (possibly multi-vault)

Describe the bug
Rename command not working with multi-vault
To Reproduce
Steps to reproduce the behavior:

Try to rename a note.

Expected behavior
Note should be renamed.
Screenshots
Get an error about the notes.foreach not being available.
Desktop (please complete the following information):

MacOS

Additional context
Add any other context about the problem here.
Dendron Log file
renamebug.log

Possibly the same as https://github.com/dendronhq/dendron/issues/338

I'm reproducing this bug in Windows 10.
dendron.log

Yep, this isn't as much as a bug as a feature that's not yet supported for
multivault. This will be addressed in today's 0.18 release
On Mon, Nov 30, 2020 at 12:48 AM John Young<EMAIL_ADDRESS>wrote:

I'm reproducing this bug in Windows 10.
dendron.log
https://github.com/dendronhq/dendron/files/5614743/dendron.log
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dendronhq/dendron/issues/385#issuecomment-735645252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABPIPVBXGR5PDLUOVOAXV3SSNL5BANCNFSM4UESJTSA
.

This has been resolved with the later releases


Option to hide Tweets from "Twitter Blue" accounts

Kind of self-explanatory, it would be great to hide any Tweets from people subscribed to Twitter Blue.

+1, most of these comments don't deserve being at the top of the list.

Just a white list for those who you're following, any other Blue account should be hidden.

This is the problem - the interface doesn't expose any information on which accounts you're following, and you don't really want an extension doing something like opening the context menu on every tweet in a thread every time it changes to check if you're following them.

An initial version of this has been done in eb378c9a1d8bd4a78df031006647b555c75b3c73 - when you're viewing an individual tweet's thread it currently just hides direct replies from Twitter Blue users (unless it's the author of the focused tweet replying to themselves)

[ ] Don't hide any tweets above the focused tweet (if the focused tweet is a reply there can be a thread of tweets above it) - focusing on a reply to a Twitter Blue tweet currently results in the focused tweet and everything above it being hidden (unless the focused tweet is a Twitter Blue user replying to themselves - fun!)


Section 3 - Intermediate HTML

Lists, Identation, Images, Anchoring - Project: Birthday invite

All done


Add responsiveness to the website

Describe the bug
Adding responsiveness to the mobile and tablet view of the website
To Reproduce
Steps to reproduce the behaviour:

Click F12
Change the mode to mobile or tablet.
The website will have an unnecessary margin on the left side and the content of the website looks distorted.

Screenshots
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/22374829/115843545-903f6980-a43c-11eb-8503-1f1dce1ad77d.mp4

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

/reviewed


Character Sets and Encoding

Suggest adding an internationalization / text section that includes at least this:
https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/

It's already there under Strings section. Called " Unicode and Character Sets", just a shorter version of that link


Error 400 "INVALID VIN FORMAT" & Error 404

Hi, i'm reporting in HA error HTTP 400 "INVALID VIN FORMAT" and error HTTP 400.
Already tryied to totally remove ha_toyota with clean reinstall but i still have same issue.
Here you can see my debug log captured from HomeAssistant
2023-04-12 13:49:51.737 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: HTTP: 400 - {"timestamp":1681300191694,"status":400,"error":"Bad Request","message":"INVALID VIN FORMAT","errorCode":"CMA400"}
2023-04-12 13:51:16.284 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: HTTP: 404 - {
"servlet":"dispatcherServlet",
"message":"Not Found",
"url":"/api/vehicle/addtionalInfo",
"status":"404"
}
2023-04-12 13:52:40.885 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: HTTP: 404 - {
"servlet":"dispatcherServlet",
"message":"Not Found",
"url":"/api/vehicles/remoteControl/status",
"status":"404"
}
2023-04-12 13:54:13.707 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: HTTP: 404 - <!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot GET /vehicle/user/10xxxxx-5xxc-4xx5-8xx1-7xxxxxxxxcf/vehicle/

Are you using a headunit or a car?

i have Europen version of RAV4 PHEV , my headunit is standard ToyotaTouch2 MM19

Have you connected the RAV4 or the Toyota Touch2 Headunit in the MyT app?

yes, i use Android App MyT since the beginning, i manage charge info and other car information.

Guys i have just found the problem: Logging directily via web browser on toyota website i have found pop-up message with "New headunit found, register it to a car".
Checking serial no. i have found this headunit was installed on my old C-HR car (maybe new owner tried something)
To solve this issue you have to select "do not register this headunit" directly from website, and pop-up message disapear.
on MyT app this prompt do not appear, you will see it only on web.
Thanks for precious suggestion @DurgNomis-drol

If I remember correctly, the new user needs to contact Toyota to get his headunit disassociated with your account if he wants to use MyT


Update tests.html

Description of the Change
Made 3 URL conversions to current package releases.
Alternate Designs
NA
Why should this be in core?
Already part of core.
Benefits
Uses current release of packages, requiring no further maintenance.
Possible Drawbacks
No impact to production code as it is just changing where it is getting the same code from.
Applicable issues
Fixes #3810
semver-patch

Coverage increased (+0.03%) to 91.719% when pulling 1f4555e3105965044b05925c6aa2e471c299e51b on DavidLi119:master into f1662ac98e816b5b23c98b759b3208c1592c680e on mochajs:master.

@boneskull, any idea about "docs/example/chai.js" from original issue?

@boneskull ping!

@boneskull,
If no response by tomorrow, I will assume your lack of response means "docs/example/chai.js" should not be there and intend to delete it.


Fix already initialized constants warnings in appliance_console code

When you run appliance_console on a new appliance, you'll see this:

The fix was to use the appliance_console namespace with require instead of require_relative.  I think it makes sense to make this change regardless.
But, it's very interesting that warnings are reporting the files from two different locations:
warning: already initialized constant ApplianceConsole::Logging::LOGFILE
One from the real path:
/var/www/miq/vmdb/gems/pending/appliance_console/logging.rb:9
One from the symlinked path:
/var/www/miq/lib/appliance_console/logging.rb:9
Because we symlink to the new location:
[root@localhost miq]# ls -l /var/www/miq/lib
lrwxrwxrwx. 1 root root 30 Jul 10 20:13 /var/www/miq/lib -> /var/www/miq/vmdb/gems/pending
```

To illustrate this more:

```ruby
irb(main):002:0> require './lib/appliance_console/errors'
=> true
irb(main):003:0> require './vmdb/gems/pending/appliance_console/errors'
=> true
irb(main):004:0> $LOADED_FEATURES.grep(/appliance_console/)
=> ["/var/www/miq/lib/appliance_console/errors.rb", "/var/www/miq/vmdb/gems/pending/appliance_console/errors.rb"]
```

The errors file is the same file.  @tenderlove Is this expected?

Yes; ruby makes an attempt at path normalization, but doesn't go so far as to (quite expensively) resolve all symlinks along the way.


Updating S3 model

Motivation and Context

Updates to S3 model to match https://github.com/aws/aws-models/pull/854
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tested codegen on this change locally in smithy-rs and everything passed. Our release for today has succeeded so merging the change


import X as {_} generates invalid Lua code

Example: import "table" as {_}
Probably there should be an error during compilation.

import "table" as {_}
{_, _} = tb
-- both cases now raises error while compiling because `_` is treated as placeholder instead of variable in list destructuring.


evictionHard settings not respected when using config=/etc/rancher/k3s/kubelet.yaml

Environmental Info:
K3s Version:
k3s version v1.29.4+k3s1 (94e29e2e)
go version go1.21.9

Node(s) CPU architecture, OS, and Version:
Linux apollo 6.8.0-1005-raspi #5-Ubuntu SMP PREEMPT_DYNAMIC Wed May 22 15:01:35 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

Cluster Configuration:

3 control planes
5 workers

Describe the bug:
While using:
kubelet-arg:
  - config=/etc/rancher/k3s/kubelet.yaml

With /etc/rancher/k3s/kubelet.yaml contents:
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
evictionHard:
  memory.available: "500Mi"
  nodefs.available: "10%"
  nodefs.inodesFree: "5%"
evictionSoft:
  memory.available: "1Gi"
  nodefs.available: "30%"
  nodefs.inodesFree: "15%"
evictionSoftGracePeriod:
  memory.available: "30s"
  nodefs.available: "30s"
  nodefs.inodesFree: "30s"
evictionMaxPodGracePeriod: 60
systemReserved:
  cpu: "1"
  ephemeral-storage: "5Gi"
  memory: "1Gi"

evictionHard arg/values are ignored, while other settings are properly reflected, when I run:
$ curl -X GET http://<IP_ADDRESS>:8001/api/v1/nodes/apollo/proxy/configz -s | jq .kubeletconfig
  "evictionHard": {
    "imagefs.available": "5%",
    "nodefs.available": "5%"
  },
  "evictionSoft": {
    "memory.available": "1Gi",
    "nodefs.available": "30%",
    "nodefs.inodesFree": "15%"
  },
  "evictionSoftGracePeriod": {
    "memory.available": "30s",
    "nodefs.available": "30s",
    "nodefs.inodesFree": "30s"
  },
  "evictionMaxPodGracePeriod": 60

Steps To Reproduce:
Current config.yaml:
# cat /etc/rancher/k3s/config.yaml
bind-address: <IP_ADDRESS>
cluster-dns: <IP_ADDRESS>
cluster-domain: cluster.local
disable:
  - local-storage
  - servicelb
  - traefik
disable-cloud-controller: true
disable-kube-proxy: true
disable-network-policy: true
embedded-registry: true
etcd-expose-metrics: true
flannel-backend: none
kubelet-arg:
  - config=/etc/rancher/k3s/kubelet.yaml
node-taint:
  - node.cilium.io/agent-not-ready:NoExecute
  - node-role.kubernetes.io/control-plane:NoSchedule
server: https://<IP_ADDRESS>:6443
tls-san:
  - <IP_ADDRESS>
token: redacted

However, if I pass directly the arg/values into config.yaml, everything works as expected.
New config.yaml:
# cat /etc/rancher/k3s/config.yaml
bind-address: <IP_ADDRESS>
cluster-dns: <IP_ADDRESS>
cluster-domain: cluster.local
disable:
  - local-storage
  - servicelb
  - traefik
disable-cloud-controller: true
disable-kube-proxy: true
disable-network-policy: true
embedded-registry: true
etcd-expose-metrics: true
flannel-backend: none
kubelet-arg:
  - eviction-hard=memory.available<500Mi,nodefs.available<10%,nodefs.inodesFree<5%
  - eviction-max-pod-grace-period=60
  - eviction-soft=memory.available<1Gi,nodefs.available<30%,nodefs.inodesFree<15%
  - eviction-soft-grace-period=memory.available=30s,nodefs.available=30s,nodefs.inodesFree=30s
  - system-reserved=cpu=1,ephemeral-storage=5Gi,memory=1Gi
node-taint:
  - node.cilium.io/agent-not-ready:NoExecute
  - node-role.kubernetes.io/control-plane:NoSchedule
server: https://<IP_ADDRESS>:6443
tls-san:
  - <IP_ADDRESS>
token: redacted

Settings are correct:
$ curl -X GET http://<IP_ADDRESS>:8001/api/v1/nodes/apollo/proxy/configz -s | jq .kubeletconfig
  "evictionHard": {
    "memory.available": "500Mi",
    "nodefs.available": "10%",
    "nodefs.inodesFree": "5%"
  },
  "evictionSoft": {
    "memory.available": "1Gi",
    "nodefs.available": "30%",
    "nodefs.inodesFree": "15%"
  },
  "evictionSoftGracePeriod": {
    "memory.available": "30s",
    "nodefs.available": "30s",
    "nodefs.inodesFree": "30s"
  },
  "evictionMaxPodGracePeriod": 60

Edit: Same issue occurs for evictionMinimumReclaim, it only works if you pass the values directly, not through kubelet.yaml configuration:
evictionMinimumReclaim:
  imagefs.available: "10%"
  imagefs.inodesFree: "5%"
  memory.available: "500Mi"
  nodefs.available: "10%"
  nodefs.inodesFree: "5%"

Actual settings:
$ curl -X GET http://<IP_ADDRESS>:8001/api/v1/nodes/apollo/proxy/configz -s | jq .kubeletconfig
  "evictionMinimumReclaim": {
    "imagefs.available": "10%",
    "nodefs.available": "10%"
  }

We don't modify any of the code related to the kubelet's parsing of the config file, so it's unclear to me what part of this is a k3s issue. Have you tried turning up the kubelet's verbosity with -v=9 to see if it is failing to parse some bit of your config file?

@brandond i have no idea how to set the kubelet verbosity with K3s. From my perspective, the config argument is passed through kubelet-arg, therefore is directly related to K3s.

turning up the kubelet's verbosity with --v=9

Just add that flag to the k3s args, or v: 9 if you're using a k3s config.yaml.

@brandond I found the root cause of the curent issue and IMO is a quite important one. I'm 90% sure is related to K3s, since I don't have access to a K8s cluster. Let explain the problem, below.
When K3s service is started on a Linux environment, it passes a list of parameters to the binary:
# kubectl cordon apollo
# journalctl -u k3s --rotate --vacuum-time=1s
# systemctl restart k3s
# journalctl -u k3s | grep 'msg="Running kubelet' | sed 's| --|\n  --|g'
Jun 25 19:03:01 apollo k3s[22973]: time="2024-06-25T19:03:01-04:00" level=info msg="Running kubelet
  --address=<IP_ADDRESS>
  --anonymous-auth=false
  --authentication-token-webhook=true
  --authorization-mode=Webhook
  --cgroup-driver=systemd
  --client-ca-file=/var/lib/rancher/k3s/agent/client-ca.crt
  --cluster-dns=<IP_ADDRESS>
  --cluster-domain=cluster.local
  --config=/etc/rancher/k3s/kubelet.yaml
  --container-runtime-endpoint=unix:///run/k3s/containerd/containerd.sock
  --containerd=/run/k3s/containerd/containerd.sock
  --eviction-hard=imagefs.available<5%,nodefs.available<5%
  --eviction-minimum-reclaim=imagefs.available=10%,nodefs.available=10%
  --fail-swap-on=false
  --healthz-bind-address=<IP_ADDRESS>
  --hostname-override=apollo
  --kubeconfig=/var/lib/rancher/k3s/agent/kubelet.kubeconfig
  --node-ip=<IP_ADDRESS>
  --node-labels=
  --pod-infra-container-image=rancher/mirrored-pause:3.6
  --pod-manifest-path=/var/lib/rancher/k3s/agent/pod-manifests
  --read-only-port=0
  --register-with-taints=node.cilium.io/agent-not-ready:NoExecute,node-role.kubernetes.io/control-plane:NoSchedule
  --resolv-conf=/run/systemd/resolve/resolv.conf
  --serialize-image-pulls=false
  --tls-cert-file=/var/lib/rancher/k3s/agent/serving-kubelet.crt
  --tls-private-key-file=/var/lib/rancher/k3s/agent/serving-kubelet.key"

Note the 3 key arguments:
  --config=/etc/rancher/k3s/kubelet.yaml
  --eviction-hard=imagefs.available<5%,nodefs.available<5%
  --eviction-minimum-reclaim=imagefs.available=10%,nodefs.available=10%

Since the command arguments take precedence of arguments passed through kubelet.yaml, it explains why they are ignored. Passing the --eviction-hard and --eviction-minimum-reclaim at service start is really bad, because it tells to kubelet to ignore the default settings:

Default: memory.available: "100Mi" nodefs.available: "10%" nodefs.inodesFree: "5%" imagefs.available: "15%" imagefs.inodesFree: "5%"

Setting only these two arg/values will automatically ignore the memory.available, nodefs.inodesFree and imagefs.inodesFree values:
  --eviction-hard=imagefs.available<5%,nodefs.available<5%

And can result on a major performance impact, since kubelet ignores the non-defined hard evictions. Say, you have a bad application with memory leak, it will quickly fill the node memory, until kubelet crashes. I need your help or any of the devs to look at K3s source code and see how the --eviction-hard and --eviction-minimum-reclaim flags are passed. We need to have these two flags disabled and be controlled by end-user only. This way, kubelet can properly set the default garbage collection values, which protects the cluster from catastrophic failures.
I traced this behaviour all the way to K3s 1.22, see https://github.com/k3s-io/k3s/issues/4509#issuecomment-974486948.

There two lines should removed:
https://github.com/k3s-io/k3s/blob/master/pkg/daemons/agent/agent_linux.go#L79-L80

@brandond I created a PR with the proposed fix.

Related: https://github.com/k3s-io/k3s/issues/2116
I would consider our support for kubelet configuration files somewhat limited until we address that issue, due to how the kubelet handles configuration passed via both config AND cli.

That makes sense @brandond, any idea when this is planned to be pushed to stable release?

We are not currently planning on changing the default GC behavior, as it has been working for our users/customers for the last 6 years. We will improve the ability to alter our defaults, but that is as much as I am willing to commit to at the moment.
We don't currently have a target date for switching to kubelet config instead of CLI args. Upstream shows no signs of actually removing CLI-based configuration, despite it being deprecated (and deprecated for only the kubelet, not any other component) for several years.

Thank you @brandond for taking the time to discuss it with the devs, internally. At the end of the line, if end-user knows where is the issue, he/she knows how to fix it. I really appreciate you spending time on this.
Like you mentioned earlier, the forced kubelet settings can be fixed by passing new args to override the defaults you have hardcoded. I was simply trying to reinforce the defaults presented in K8s.
I’m going to close this issue because I consider what we have now implemented is satisfactory. I’m glad we sorted everything, it will be useful for other users. I started looking into kubelet settings when I saw a cluster kubelet crashing because it was out of memory.


Expose missing API endpoints from ZBD API to ZBD Go SDK

Our Go SDK needs to be refreshed to include new API endpoints that have since been exposed on the HTTP REST side of things. These APIs are very similar and should follow the same code structure currently available. Check out the ZBD NodeJS SDK here for more details. It should expose the same functionality:

https://node.zbd.dev/
https://github.com/zebedeeio/zbd-node

/bounty 50

/attempt #2

Hell yes! Thanks @scshiv29-dev for picking this up. Let me know if you have any questions :)

Hey @scshiv29-dev let me know if there's anything you need from me.

Hey @scshiv29-dev let me know if there's anything you need from me.

Hey @andrerfneves sorry for this late reply but my motherboard died the very next day of me taking this task , I am so sorry but I won't be able to start it and as I am relocating so will take a new mobo once I move. Please feel free to assign this to anyone who takes it sorry for the inconvenience caused by this.

Hello, @andrerfneves, is the OAuth2 endpoints part of what should be integrated in the SDK? Aside that below are the endpoints are found that are not implemented:
Charges endpoints

/v0/decode-invoice

Static charges endpoints

/v0/static-charges (3 endpoints)
/v0/static-charges/:STATIC_CHARGE_ID
/v0/static-charges/:STATIC_CHARGE_ID

Lightning address endpoints

v0/ln-address/send-payment
/v0/ln-address/validate/:LIGHTNING_ADDRESS
/v0/ln-address/fetch-charge

Keysend endpoints:

/v0/keysend-payment

Utils endpoints

/v0/btcusd
/v0/is-supported-region/:IP_ADDRESS

Internal transfer endpoints

/v0/internal-transfer

I want to be sure I'm right, and that I can go ahead to attempt it.

/attempt #2

@onyedikachi-david that sounds correct!

Alright @andrerfneves /attempt

@andrerfneves, Hi, I'll need a clientId and secret to run the test, how do I get one?

Hello, @andrerfneves

Merging and awarding this