Split out base settings in stdlib for reuse

This PR defines pkl:AbstractSettings as a common parent module for pkl:settings and pkl:Project.
Since user-level evaluator settings should be limited to user/machine specific ones (to avoid unnecessary "works on my machine"), whereas PklProjects might want to set more detailed settings.
There isn't an overwhelming win from making pkl:AbstractSettings a super-module, other than evaluatorSettings (and possibly other properties in the future) being defined in all children by default. Alternatively, pkl:AbstractSettings could define all classes that might be used somewhere, and it just being imported, i.e.
settings.pkl:
module pkl.settings

import "pkl:AbstractSettings"

proxy: AbstractSettings.Proxy

//...

Project.pkl:
module pkl.Project

import "pkl:AbstractSettings"

evaluatorSettings: AbstractSettings.Evaluator

//...

Rolling this into Proxy PR


Adding the 5th Precompiled Contract to Natives.

The implementation is mostly code from the go-ethereum project. Maybe It's a problem for the license but the implementation of the contract has to be exactly as in the ethereum VM to work with sol contracts. And it's seems that there is a lot of go-ethereum code in burrow anyway.
The LeftPad and RighPad function are from the burrow/binary package so maybe there is no problem.

I couldn't test it with test files. I tested it in my fabric-cc-evm environment and it worked fine. If the issue above is solved I have no problem to adding a test.

Fabulous! And you integrated with the new natives. Many Thanks.


Generated proxy code for Export-Csv doesn't provide IntelliSense for the -Encoding parameter

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
If you generate a proxy for Export-Csv using:
$MetaData = New-Object System.Management.Automation.CommandMetaData (Get-Command  Export-Csv)
[System.Management.Automation.ProxyCommand]::Create($MetaData)

The resulting code contains the following definition for the -Encoding parameter:
    [ValidateNotNullOrEmpty()]
    [System.Text.Encoding]
    ${Encoding},

Attempting to provide the value of the -Encoding parameter using Ctrl+Space doesn't work.
(running PSReadLine 2.3.1 beta1 at this point, FWIW)
Expected behavior
C:\tmp\Export-Csv-Proxy-7.3.4.ps1 -Encoding<Ctrl+Space>
ascii             bigendianutf32    unicode           utf8              utf8NoBOM
bigendianunicode  oem               utf7              utf8BOM           utf32

Actual behavior
C:\tmp\Export-Csv-Proxy-7.3.4.ps1 -Encoding<Ctrl+Space>
(nothing happens)

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Given that the root cause is the same - certain parameter attributes (ArgumentCompleterAttribute in this case) are not included when the proxy code is generated - I suggest generalizing #19647 instead of keeping this separate issue.

Given that the root cause is the same - certain parameter attributes (ArgumentCompleterAttribute in this case) are not included when the proxy code is generated - I suggest generalizing #19647 instead of keeping this separate issue.

I've been in so many situations where combining several issues (as in "different symptoms") into one was a bad idea, that I made the choice to split.
I will merge this into #19647, right in the description.


Crash when using .debug

I'm sure it's an obvious mistake on my part and I had no problems before, but I wasn't able to identify the offending code that causes .debug() to result in following error:

As soon as I remove .debug() everything works like charm.

Hi @ndistqt, thanks for the report! This is a bummer, but we seen some weird behavior in Swift's mirror before, especially when dealing with types from some of Apple's frameworks.
I see the value here is an AXUIElement. Is that being held in your state or your action?

I may need to see more of your state/actions that is causing this because locally it seems that debugOutput seems to run fine with an AXUIElement, just try out this test:
  func testAXUIElement() {
    let element = AXUIElementCreateApplication(1)

    XCTAssertEqual(
      debugOutput(element),
      """
      """
    )
  }

Both:

Item has a strong reference to a UIElement, which has a strong reference to AXUIElement

The debugOut function is found although I have the ComposableArchitecture imported.

Are you able to reproduce this problem in some code that I can run locally?
Also what is UIElement? It doesn't look like it's an Apple type.

"Are you able to reproduce this problem in some code that I can run locally?"

I'll try and let you know.

UIElement is from the library AXSwift, which you can find here on github, it's just a wrapper around Apple's accessibility API for better ergonomics.

Hey @ndistqt we took a quick look at AXSwift and it looks like the UIElement custom string convertible conformance does some pretty side-effecty things, like accessing a process ID and calling out to NSRunningApplication:
https://github.com/tmandry/AXSwift/blob/b4db10b2c28583f5c51033166be60a572ff39dcb/Sources/UIElement.swift#L609
In general we think that state needs to consist of simple value types, and as soon as you introduce classes and objects you expose yourself to a lot of undefined behavior that will be difficult to test. If you need parts of these classes in your state we recommend defining structs that hold just the value-based data you care about. It can sometimes be a bit of a pain to add this boilerplate, but it will give you peace of mind that your system is working in a predictable manner.


Fix Typo

Description (*)
The PR fixes miscellaneous typos in docs
Fixed Issues (if necessary)
Screenshots (if necessary)
Contribution checklist (*)

[x] I have read the Contributing Guidelines
[x] Commits have been made with meaningful commit messages
[x] All automated tests have passed successfully

I don't see those typos anymore, I guess they were addressed by other PRs by now


add spark-itest

#166

2.4.7 seems not to work on jdk 9.

spark 2.4.7 seems not to work on jdk 9.

Spark 2.3.x, 2.4.x support only Java 8 officially, Java 11 support since 3.0.0, see detail at https://issues.apache.org/jira/browse/SPARK-24417
CDH support JDK 11 since 6.3.x, bundled spark_2.11:2.4.0-cdh6.3.x(with cloudera patch)
Since Java 9,10 is not LTS, and has been EOL, I think we can test on Java 11 instead of 9,10 if needed.

LGTM


migrating the app from create react app to vite

Problem
The frontend has been created with create react app which is not maintained by the react team anymore
so, It is thus unlikely that these errors will ever be fixed.

Suggestion
I suggest we should migrate/switch the frontend code from create react app to vite that would not only make the code futureproof but will also help speed up the development process

You can go ahead with the same. @Gourav-21


update logo and README.md

Thanks for sharing, it's great!

Codecov Report

Merging #98 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #98   +/-   ##
======================================
  Coverage    83.6%   83.6%
======================================
  Files          13      13
  Lines         705     705
======================================
  Hits          590     590
  Misses        115     115


Sample request: Blazor Server, Maui, .NET CORE API, MS Identity, MS-SQL

Hi,
We are having a tough time getting all of these to work together in our solution. In particular, we need to know how to ensure the user has been granted a permission to an API method, of course the client must also be authorized.  Not just a general permission to [Authorize] the client and user. We need to be able to manage the user administration and various views/functions such as login/out, signup, 2FA, email verification, etc. with the Microsoft Identity libraries all running on a Microsoft SQL Server.
BTW, I suspect this is going to be a common architecture going forward now Maui has been release.
Thanks...Scott

we need to know how to ensure the user has been granted a permission to an API method

User authorization for specific resources is not something we generally recommend putting into your centralized identity management system. We have a few different conference talks about the issue: https://www.youtube.com/watch?v=t34Cff0pBmA

All set on this issue -- can we close?

@VR-Architect I highly recommend you look at HybridBlazor
He got most of it right though you don't need to wire up the gRPC clients on the server since you can invoke them natively without the gRPC ceremony and the other big miss he had is on the AuthenticationStateProvider for Blazor Server you should implement RevalidatingServerAuthenticationStateProvider so you can invalidate other circuits that might be open from different sessions/devices.  The other big change is might as well wrap the IAuthService as a gRPC service so that the web assembly app is calling the same app as the server and you don't need to worry about Controllers.  I'm still in the process of putting together the gRPC auth sservice and then I was going to tackle the MAUI thing next.

Closing, but feel free to reopen if necessary.


Migrate from ContractKit to Web3

Opt to use Web3 for this package so this project can be generalized outside of Celo.

Removed codegen.ts
Upgraded typchain and @typechain/web3-v1 to latest versions
Upgraded generalizable registries to web3. Mento is still with ContractKit
Add prettier and format everything with prettier
Add prettier pre-commit hook

I think this change need to be split into multiple different pieces, 1 step at a time.
Unnecessary stuff like typing upgrades, prettier commit hooks etc... should be separated out from the core logic change, which is swapping generic Web3 for ContractKit.

Will open something new that has fewer changes


DAG visualization

Contains
Render graph overlay
Continue of #3351.
Closes #3351.
Must implement #3036.
How to test

Start game
Open PauseMenu -> Extras -> Developer tools -> RenderGraph

Outstanding before merging

[x] Update to develop
[ ] implement RenderGraph rendering

Closing after earlier discussion with @DarkWeird, although noted for potential salvage in #4544


Password encryption

When new user is created, password stored in DB is not encrypted. We have to encrypt it.

encryption implemented


Test infra improvements for branch 1.7

This PR adds the ability to the branch 1.7 to run tests against any specified image in an environment variable. Additionally, this also modifies the workflow to accommodate the changes so GitHub actions also run tests against images obtained from Quay.

Is the motivation to fix GitHub actions?

Is the motivation to fix GitHub actions?

Yes @vrajat This will help us in easily monitoring the branch.


Installation via pip is broken

# pip show formatter
---
Metadata-Version: 2.0
Name: formatter
Version: 1.0.3
Summary: A Python source formatter that uses the tokenize library
Home-page: None
Author: None
Author-email: None
Installer: pip
License: None
Location: /usr/local/lib/python2.7/dist-packages
Requires: pep8
Classifiers:
Entry-points:
  [console_scripts]
  format-python = formatter.main:main
  python-formatter = formatter.main:main

$ python-formatter  -h
Traceback (most recent call last):
  File "/usr/local/bin/python-formatter", line 7, in <module>
    from formatter.main import main
ImportError: No module named main

$ dpkg -S /usr/lib/python2.7/formatter.py
libpython2.7-stdlib:amd64: /usr/lib/python2.7/formatter.py

hrm... that's odd, I'll investigate. Thanks for letting me know

Upon further inspection... you might have the wrong package installed :)
Try this:
pip uninstall formatter
pip install formatter2 -U


⚠ Carbubu has degraded performance

In 99c7bc5, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 5564 ms

Resolved: Carbubu performance has improved in 9825529 after 6 minutes.


Helm: add value to set frameworks

This commit adds a new value to the Helm chart which allows the user to specify specific frameworks to scan. Right now only nsa is hardcoded into the CronJob, so this allows for greater customization for users who want to use MITRE, ArmoBest, or custom frameworks.

Thank you @g-linville for this contribution 😀
This might be confusing but the helm charts are stored in a different repo - armo-helm.
If you wish, you can contribute very similar code here and here.
Notice, the command is kubescape scan which means kubescape will scan all frameworks, you can change it to be kubescape scan framework {{ $frameworks }} and the default value should be all (and not nsa).
@slashben We should remove the helm chart from the kubescape repo to prevent further confusion

Agreed, let's leave there a note that this has been moved

Thanks for the info @dwertent. I did not realize this was not the official Helm chart, lol.

@g-linville Sorry, my bad for not removing it from the repo :(


Remove Lita::Daemon

I was sort of thinking this when it was first proposed, but wasn't totally sure and unfortunately didn't say no. Daemonization logic is not an application concern and should not be handled in Ruby code by Lita. There are plenty of process management tools available to do this for arbitrary processes without needing the application itself to be aware of how it's being run.
Lita::Daemon should emit a deprecation warning in Lita 4 and should be removed in Lita 5.
Further reading: http://www.mikeperham.com/2014/09/22/dont-daemonize-your-daemons/

Ok, while I agree with a lot of the commentary in those it would be fantastic to have some reference material to implement the changes…

Hi @jufemaiz - Here are a couple of ways to do it ...

If you like/use runit, the Chef cookbook has a working example.
If you are using your own init script and/or other shell startup, you can do something like this (as the user you want Lita to run as).

nohup /path/to/lita --log-file /path/to/logs/lita.log --pid-file /path/to/lita.pid >> /path/to/logs/console.log 2>&1 < /dev/null &

That command should:
A. put lita into the background
B. have all the STDERR and STDOUT going to /path/to/logs/console.log
C. redirect STDIN to /dev/null in case the process is blocking on reading STDIN (this is not a problem with lita, but as habit I tend to do this)
D. while keeping the SIGHUP signal from killing your process (most shells don't send SIGHUP anymore so the nohup might be irrelevant but again, i'm covering my bases.)
If you are looking to start it some other way, (i.e. upstart, systemd) I can probably help with that too. Just let me know.

I'll also likely be adding a systemd example to the docs site in the near future.

Hi guys, thanks so much for the direction! Will see how I go this morning (AEST) and get back to you!

Ok, we're gradually getting there.
Dumb question, what would prevent the PID file from being created/updated?

I'd really recommend not trying to implement daemonization yourself. Something will inevitably go wrong. If it were me, I'd use 1) systemd for any OS that uses it (almost everything now) 2) runit for anything still using SysV init.


EPG won't go past 10 pm

Every night i try to see whats up but past  10:00 it's blank pls fix this or tell me what's wrong eiter way i need help

Im using this url
https://iptv-org.github.io/epg/guides/us/tvtv.us.epg.xml


Adding 'match' to BiwaScheme

Not really an issue, I just wanted some insight as to, how to add 'match' within BiwaScheme

AFAIK it requires syntax-case


Apply difficulty to each room

The initial connect event should have a key difficulty which should then be stored into the client owners room. This property is then subject to change based on:

[ ] Another user joining (Increase difficulty)
[ ] Manually changing once in the room (Increase or decrease)
[ ] Automatic increase as time goes on (Could be an option to choose a play style)

No time.


Missing v17 images for arm64, arm/v7, and arm/v5

The images for arm64, arm/v7, and linux/arm/v5 are currently missing in the docker registry for the v17.

Also some tags now include a mix of v16 and v17 images, e.g. alpine, latest, etc.

same for 17.0-bullseye:

It looks like ARM images are in but, the new version is showing this:
# dpkg --print-architecture
armel

where's 16.4 shows this:
# dpkg --print-architecture
arm64

This is on bookworm.

This is unfortunately somewhat expected -- the builds for these architectures are still in-queue/in-progress, and will show up eventually (the downstream DOI build queue is very full right now thanks to a small backlog plus Debian update yesterday).

arm64 build is good now.

@yrashk Are you sure? I'm still not seeing it in docker hub or when pulling any of the version 17 images. If I pull with platform set to linux/arm64 I get an armhf build :/

@yrashk Are you sure? I'm still not seeing it in docker hub or when pulling any of the version 17 images. If I pull with platform set to linux/arm64 I get an armhf build :/

You are right, I mis-identified new digest for the correct image. Shows armhf here, too.

Builds are up now. :+1:


how to replicate an FHEM switch (virtually learned into a dimmer)

While trying to move from FHEM to node-red,  I am currently challanged with the replication of a switch (virtual FHEM switch, that is learned physically into an eltako FUD61ß dimmer actor).
While my Eltako MS is already working flawlessly (so my node-red/enocean setup based around an TCM310 works ,)
I have basically added a 4rocker from this node here, and injected thenexact same device ID used within FHEM.
But when I inject the „ON“ (as shown in the examples here), the physical light wiuld not react.
(though, the rocker switch does produce a physical raw telegram (i.e. F6-02-01).
(I think this might have something to do with some inconsistencies of the raw data that is produced, but as I said, I do not know how to narror this down)
My problem is, that I have no idea, how to narrow the issue down.
The device Id including the channel is identical (I use thensame TCM310 as well)
As last ressort, I could learn in the new noder-red 4rocker, but it should be perfectly possible to achieve the above - and it would make the overall transition a lot faster)
... any help please ?

can you send me the raw telegram string from both node-red and fhem?

sure, sorry that it took so long
I had to figuer out, how to raise fhem´s verbose level for raw data
that is sent out fhem‘s teached in virtual switch
55000A000180A502640109xxxxxx220068
the 4rocker seems to be only capable to produce f6-..-.. telegrams
ps: would it actually be possible, to implement some sort of skeleton  actor‘s/sensors‘s, that generically can be configured to produce individual telegram‘structures ?

that is, in fact, possible... you can send data in JSON format to the output with any eep ( it should mostly work... some eeps are not tested ;-) )
for your case, the telegrams seem to be EEP a5-38-08 that's what FUD understand anyways... so to send an a5-38-08, just send this with an inject node to the output:
{
  "data": {
    "LRNB": 1,
    "COM": 2,
    "EDIM": 39,
    "RMP": 8,
    "EDIM R": 0,
    "STR": 0,
    "SW": 1
  },
  "meta": {
    "eep": "a5-38-08",
    "channel": 0,
    "data": 2
  }
}

with the channel, you control the offset of the base id of your TCM...
what can be sent for each eep and what the field means can be found in the documentation: https://enocean-js.github.io/enocean-js/?eep=a5-38-08
the "documentation" is a proof of concept I threw together and is still very rough but I think it can still be helpful...
here is an example flow of how I send dimming commands to my FUDs via a dashboard slider and a function node:
[{"id":"6f2f8cc0.3d86d4","type":"enocean-out","z":"9c05443a.9a8b78","serialport":"8218433f.b9655","name":"","x":1272.5,"y":392,"wires":[[]]},{"id":"a5b6816d.3e175","type":"function","z":"9c05443a.9a8b78","name":"","func":"var telda = {\n    \"data\": {\n        \"COM\": 2,\n        \"EDIM\": msg.payload,\n        \"RMP\": 1,\n        \"STR\": 0,\n        \"SW\": 1,\n        \"EDIM R\": 0\n    },\n    \"meta\": {\n        \"eep\": \"a5-38-08\",\n        \"channel\": 0,\n        \"data\": 2\n    }\n}\n\nreturn {payload: telda};","outputs":1,"noerr":0,"x":1257,"y":562,"wires":[["6f2f8cc0.3d86d4"]]},{"id":"6e14cd75.dce074","type":"ui_slider","z":"9c05443a.9a8b78","name":"","label":"slider (ch 2)","tooltip":"","group":"35754739.9c5108","order":2,"width":0,"height":0,"passthru":true,"outs":"end","topic":"","min":0,"max":"100","step":1,"x":1223,"y":707,"wires":[["a5b6816d.3e175"]]},{"id":"8218433f.b9655","type":"enocean-config-node","z":"","serialport":"/dev/ttyAMA0"},{"id":"35754739.9c5108","type":"ui_group","z":"","name":"Feldstärke","tab":"e76b9616.2cb8f8","order":1,"disp":true,"width":"6","collapse":false},{"id":"e76b9616.2cb8f8","type":"ui_tab","z":"","name":"Home","icon":"fa-home","order":1,"disabled":false,"hidden":false}]

P.S.: we should really have a collection of flows to show how different eep's and other things work... f.e.: sending teach in telegrams, bidirectional teach in, sending control commands to your TCM etc...

oh and yes the third telegram is a response, FUDs send their new state whenever it changes. you can listen to these in an actor node... you can simply teach in the address manually with eep a5-38-08... inject this to an actor node:
{
    "type": "LRN",
    "eep": "a5-38-08",
    "senderId": "xxxxxxxx"
}

the xxxxxxxx is the senderId of your FUD...
and you will receive docoded telegrams of the state of your fud whenever it changes

Thank you !!! ... now that's what I call a great service ...
This really got me started now ... and it works exactly as you described here.
two minor drawback on the finish line:

your example flow would not dim according to the value of the slider ... (I look into this a little later)
I thought an actor with the dress of the FUD (as described above), but receive an error
received an unknown RORG (f6 instead of a5) from a known Sensor (#xxxxxx#).
I tried to teach in an addition al F6-xx-xx EEP, but that just reverses the error to
received an unknown RORG (a5 instead of f6) from a known Sensor (#xxxxxx#).

... any idea here ?
thank you again for your help

strange... it does for me... though I have FUD 14... I do not believe that should make a difference... does switching work for you ?

p.s.: What do you mean exacly by "not dim according to the value"? it does dim but to different values?

yes there are a few sensors that send different (unrelated) EEPs with the same senderId. I believe the spec does not disallow this explicitly, but from how I read the spec this is not intended and two different EEPs from the same sensor should be sent with different senderIds...

To account for the fact that there are such sensors, I do print out that error, but nothing breaks. You can safely ignore that message.
that said, you can teach in both and get both EEP decoded and still see both errors (one for each decoding path)
they do however transport the same information, i think the f6 telegram is just sent to couple with actors that do not understand a5-38-08.
So I'd just ignore the f6 ;-)

aha, I see ... ... will check 2night
... good to know, that the 14 series works as well, since I have a view of those.
:-)
thank you again
for 1. ... it is actually working.
The issue for this one FUD61 seems to be, that the dim-range only responds to 9-39 EDIM values.
any lower number than 9, in a 9 setting, any higher number reverts to 39.
... and 0 switches off
I will need to check later, if the other FUD‘s I have, behave the same.

My FUD's are now working ...
... but my FSB14 not yet ...
Do you have experience on the FSB14 and how to correctly implement a flow to handle it ?

...ok... the problem here is that the FSB14 sends telegrams as a5-3f-7f. that is the 4BS version of an MSC (manufacturer specific communication). It is some form of a generic telegram that every manufacturer can use on its own and it's content is unspecified. that's why there is no spec we can follow to encode/decode these telegrams automatically.
To do this, you have to do it yourself in a function node. (i do have some ideas to support this in a more user-friendly way, but that has to wait sometime still... bc of other work i have to finish)
so first you have to add the enocean-js module to your functioGlobalContext in your settings.js file
functionGlobalContext: {
        Enocean: require('enocean-js'),
        ...
    }

when you did that, you can use the complete enocean-js package in your function nodes to generate telegrams with arbitrary content:
const Enocean = global.get('Enocean')
const channel = 11

var tel = Enocean.RadioERP1.from({
   payload: [0xA5,0x00,0x1E,0x01],
})
tel.senderId = global.get("enocean-base-id") + channel

return {payload: tel.toString()};

here I used an array of numbers written in hex so you can see how your data translates to the payload and its easy to set the bytes you want. For setting payload, you can use numbers, strings, and arrays of numbers and strings...
payload: "a5001e01"

or
payload: ["a5001e",1]

etc.

so looking at the FSB14 spec:

we can get the following:
payload: ["a5",Byte3, Byte2, Byte1, Byte0 ]
Byte0
On Byte0 you can set some bits. bit3 always has to be set to indicate a data telegram:
var b0 = 0b00001000
you can set if runtime of the blind is specified in seconds or in deciseconds (100ms intervals).
runtime in deciseconds: var b0 = 0b00001010
you can block the actor for other sensors: var b0 = 0b00001100
or you can do both:  var b0 = 0b00001110
Byte1

value
meaning

0x00
stop

0x01
up

0x02
down

Byte2
if runtime is in seconds, Byte2 specifies the runtime in seconds. so: 0s - 255s
if set in deciseconds, Byte2 holds the LSB of the runtime.
Byte3
if you set the runtime in seconds, Byte3 is always 0. otherwise it holds the MSB of the runtime.
using deciseconds (setting MSB and LSB across two bytes)
const STOP =0x00
const UP = 0x01
const DOWN = 0x02
var runtime = 10 //  10ds = 1s
`payload: ["a5",runtime.toString(16).padStart(4,'0'), UP, 0b00001010 ]`

teach-in
payload: "fff80d80"

to wrap this all up, here is an example flow (untested):
[{"id":"7c47f787.525138","type":"tab","label":"Flow 16","disabled":false,"info":""},{"id":"5e839efe.a0a37","type":"inject","z":"7c47f787.525138","name":"move up 5s","topic":"","payload":"{\"direction\":1,\"runtime\":5}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":290,"y":140,"wires":[["964b1769.8893a8"]]},{"id":"964b1769.8893a8","type":"function","z":"7c47f787.525138","name":"","func":"const Enocean = global.get('Enocean')\nconst channel = 11\nvar payload\nif(msg.payload.teachIn){\n    payload = \"fff80d80\"\n}else{\n    var ds = Math.round(msg.payload.runtime * 10)\n    payload = [\"a5\",ds.toString(16).padStart(4,'0'), msg.payload.direction, 0b00001010 ]\n}\nvar tel = Enocean.RadioERP1.from({\n   payload: payload,\n}) \ntel.senderId = global.get(\"enocean-base-id\") + channel\n\nreturn {payload: tel.toString()};","outputs":1,"noerr":0,"x":510,"y":180,"wires":[["80958691.3a40f8"]]},{"id":"80958691.3a40f8","type":"debug","z":"7c47f787.525138","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":720,"y":180,"wires":[]},{"id":"9579f1d8.01ff2","type":"inject","z":"7c47f787.525138","name":"move down 5s","topic":"","payload":"{\"direction\":2,\"runtime\":5}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":280,"y":200,"wires":[["964b1769.8893a8"]]},{"id":"c1eadbd7.462dc8","type":"inject","z":"7c47f787.525138","name":"stop","topic":"","payload":"{\"direction\":0,\"runtime\":0}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":310,"y":260,"wires":[["964b1769.8893a8"]]},{"id":"d08ca1c8.d8544","type":"inject","z":"7c47f787.525138","name":"teach-in","topic":"","payload":"{\"teachIn\":true}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":300,"y":320,"wires":[["964b1769.8893a8"]]}]

if you need help decoding the responses and status messages of the FSBs, just let me know...

Holger,
First of all let me say thank you for your great help last year.
It got my blinds working …
Finalising my setup just now (where watering becomes crucial ;-), I ran into one more problem
And thought you might be up for some more help.
I have upgraded all node-red modules already.
Problem:
Again, within FHEM I am able to “switch” my water valves with the FSR14x4
If I then use the same channel (HEX38 = 56) within the modified node-red code (from last year), nothing happens actually.
An enocean message is triggered, but the FSR14 does not seem to react to the message; FHEM might teach in a different switch type.
(Bute the same code works for my blinds though)
… what am I doing wrong all the time, do you have an idea ?
Do I need to re-teach in the “new” node-red switch with the below telegram ?
Or … how could I simulate the exact same button type from FHEM ?

var telda = {
"data": {
“LRNB": 1,
"COM": 1,
"TIM": 0,
"LCK": 0,
"DEL": 0,
"SW": 1
},
"meta": {
"eep": "a5-38-08",
"channel": msg.channel,
"data": 1
}
}
return {payload: telda}

Here is my FHEM LOG
FF828738 = my virtual FHEM switch peached into the FSR14x4 (channel 4)
2020.04.11 16:51:06 3: EnOcean set watering_4 on
2020.04.11 16:51:06 5: TCM TCM310 sent ESP: 55000A000180A501000009FF8287380017
2020.04.11 16:51:06 5: SW: 55000A000180A501000009FF8287380017
2020.04.11 16:51:06 5: TCM TCM310 received ESP:<PHONE_NUMBER>650000
2020.04.11 16:51:06 5: TCM TCM310 RESPONSE: OK
2020.04.11 16:51:06 5: TCM TCM310 received ESP: 55000A0701EBA501000009FF8287
2020.04.11 16:51:06 5: TCM TCM310 received ESP: 55000A0701EBA501000009FF8287380106FFFFFFFF530040
2020.04.11 16:51:06 5: EnOcean received via TCM310: EnOcean:1:A5:01000009:FF828738:01:06FFFFFFFF5300

Here is the definition of the telegrams
FSR14-2X, FSR14-4X, FSR14SSR, FSR71
ORG = 0x07
Data_byte3 = 0x01
Data_byte2 = no used
Data_byte1 = no used
Data_byte0 =	DB0_Bit3 = LRN Button (0 = Lerntelegramm, 1 = Datentelegramm)
DBO_Bit2 = 1: Schaltzustand blockieren, 0: Schaltzustand nicht blockieren
DBO_Bit0 = 1: Schaltausgang AN, 0: Schaltausgang AUS
Lerntelegramm DB3..DB0 muss so aussehen: 0xE0, 0x40, 0x0D, 0x80
Datentelegramme müssen z.B. so aussehen:
0x01, 0x00, 0x00, 0x09 (Schaltausgang AN, nicht blockiert)
0x01, 0x00, 0x00, 0x08 (Schaltausgang AUS, nicht blockiert)
0x01, 0x00, 0x00, 0x0D (Schaltausgang AN, blockiert)
0x01, 0x00, 0x00, 0x0C (Schaltausgang AUS, blockiert)

On 11.10.2019, at 05:05, Holger Will<EMAIL_ADDRESS>wrote:
if you need help decoding the responses and status messages of the FSBs, just let me know...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/enocean-js/enocean-js/issues/158?email_source=notifications&email_token=ABQHMCOM3REIRXIUIGOONQTQN7UPVA5CNFSM4I4IGRDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA6S74Q#issuecomment-540880882, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHMCPLWH5ZZG4QVWUIPKLQN7UPVANCNFSM4I4IGRDA.

I want to get back to you on

if you need help decoding the responses and status messages of the FSBs, just let me know...

I want to get back to you on this ...
... the status/response messages from the TCM310 are "unknown" responses.
I manually learned in the base ID with a5-38-08, but the actor-node does not react to any answers.
I guess this has something to do with the telegram type or the response of the system 14 bus ...
An<y ides ?

if you need help decoding the responses and status messages of the FSBs, just let me know...

I would like to get back to you on this one ...
(after resoliving some troubles, related to the latest updates, through reverting to an older version of the enocean contrib module)
how could the responses be parsed with some module magic like previously here in these posts ... ;-)


[654] - Added a CONTRIBUTING.md to Guide New Contributors

@NathanTarbert

fixes #654

Please look into this @NathanTarbert Sir


Feature/config map

This pull request brings all the work done for the HCA demo back into a generalized, configurable fashion. Among other things, it:

Maps the entries in the elasticsearch entries to the API format
Use config file to define which facets to show
Refactoring of the code into a couple baseclases
Updating the flask endpoints
Use of logger to log webservice related stuff
Travis CI
A unit test suite, with scripts and makefile to automate testing
-PEP8 compliant

That's it in a nutshell
Please help me by doing a code review. It is a very big pull request
Fixes BD2KGenomics/dcc-ops#118,  Fixes BD2KGenomics/dcc-ops#119

This looks good to me


Add multiline options

Each line is treated as an event. It would be convenient to allow multiline configuration options to be specified for parsing the given log lines.
For example

I did a quick hack at this and the Go side will work. The UI will take longer as I'm not much of a React developer.
https://github.com/andrewkroh/beats-playground/commit/c251a0497a58a598033b92721bfbf73b0aea993c


Add to paragraph - trigger scheduled refresh

Please add/change to https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-modern-usage-metrics#usage-metrics-report-dataset
From:
When you first launch the improved usage metrics report, Power BI automatically creates a Usage Metrics Report dataset. The improved usage metrics report relies on that dataset. Power BI then refreshes this dataset daily. While you can't change the refresh schedule, you can update the credentials that Power BI uses to refresh the usage metrics data. You may need to resume scheduled refresh if the credentials expired, or if you removed the user who first launched the usage metrics report from the workspace where the dataset resides.
To:
When you first launch the improved usage metrics report, Power BI automatically creates a Usage Metrics Report dataset. The improved usage metrics report relies on that dataset. Power BI then refreshes this dataset daily. While you can't change the refresh schedule, you can update the credentials that Power BI uses to refresh the usage metrics data. You may need to resume scheduled refresh if the credentials expired, or if you removed the user who first launched the usage metrics report from the workspace where the dataset resides. To trigger scheduled refresh simply open the Usage metric report. In case of issues, you may need to delete the dataset - see https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-modern-usage-metrics#troubleshoot-refresh-issues
Thank you

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

ID: f16f558c-a397-7d10-b953-6c8972df9478
Version Independent ID: ffc58ae8-f232-f6d8-f0ea-e4d6001e0e3d
Content: Monitor usage metrics in the new modern workspaces (preview) - Power BI
Content Source: powerbi-docs/collaborate-share/service-modern-usage-metrics.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @MartinaPoddana -- thanks for your comment. Please see the email I sent you, about how to edit and submit suggested changes yourself 😉


Add an application-level event publisher to be used by the handler functions with transactional behaviour

[TODO]
from minos.networks import (
    Request,
    Response,
    enroute,
)

class MyService:
    events: BrokerPublisher

    @enroute.broker.command("UpdateOrder")
    def update_order(self, request: Request) -> None:

        await self.events.dispatch("data1", topic="topic1")
        await self.events.dispatch("data2", topic="topic2")

        return Response("dsafas")

Closing this issue as it is moved to https://github.com/minos-framework/minos-python/issues/86


When deploying opsman the targeted vm is not reachable

We use a fork version of terraforming-gcp (lastest sync commit https://github.com/pivotal-cf/terraforming-gcp/commit/00065803b4f1268765cb45cfe31ec5717ab31dc2) that we make it only provisions one subnet instead of two. But the following error can be observed from both versions in opsman 1.8.7 & 1.8.10.
Started deploying
  Creating VM for instance 'bosh/0' from stemcell 'stemcell-ff1cd894-fdd9-4b3e-65b9-b3e0ca49185f'... Finished (00:00:51)
  Waiting for the agent on VM 'vm-9fc2e314-79bc-4f86-5c52-cbd250f0cf2d' to be ready... Failed (00:10:09)
Failed deploying (00:11:01)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Command 'deploy' failed:
  Deploying:
    Creating instance 'bosh/0':
      Waiting until instance is ready:
        Sending ping to the agent:
          Performing request to agent endpoint 'https://vcap:KY******@<IP_ADDRESS>:6868/agent':
            Performing POST request:
              Post https://vcap:KY******@<IP_ADDRESS>:6868/agent: dial tcp <IP_ADDRESS>:6868: i/o timeout
===== 2016-11-19 02:24:53 UTC Finished "bosh-init deploy /var/tempest/workspaces/default/deployments/bosh.yml"; Duration: 778s; Exit Status: 1
Exited with 1.

It turns out that one firewall rule '$env-cf-internal' whose 'target tags' is set to '$env-vms' so in opsman config the 'Default Deployment Tag' has to match that value (default is 'pcf-vms').

Installing BOSCH Director in OPS manager configuration of Default Deployment Tag has to match with your GCP/Vsphere IaaS network tag
Then this error of               Post https://vcap:KY******@<IP_ADDRESS>:6868/agent: dial tcp <IP_ADDRESS>:6868: i/o timeout
will get resolve.


Simplified implementation of generic webapi

Motivation
Provide generic and framework aproach for creating cloud API using express.js
What was done
Created new generic module that can be initialized with any dataset in order to expose simple api without writing express code and duplication for CRUD handlers.
ping @paolobueno @nialldonnellyfh @secondsun @vchepeli

@JameelB @witmicko  see https://github.com/feedhenry-raincatcher/raincatcher-typescript/pull/7/commits/31b6398bb15159e6db733f5ce7f3380e1ed75352 for example logging integration. Current api has lots of differences between old one - worth checking.

@paolobueno Merging back - feel free to comment on closed PR anyway.


Laravel Voyager: Undefined variable: dataRow when Add BREAD to this table!

Version information

Laravel: v5.7.9
Voyager: v1.1
PHP: 7.2.2
Database: MySQL 5.7.19

Please search before opening new issues.
This has been fixed in 1.1.8/9 and is a duplicate of https://github.com/the-control-group/voyager/issues/3646

Thank you!


Optimization

Look for further optimization where ever needed.
for eg.  member.ts

also, check fix #17  first and then resolve this branch or else conflicts will arise

Fixed optimization


Aggregator Current issue

Hi,
Would you be so kind to check why my aggregator is showing far more amps then two my battery banks or shunt?
On the other hand, Lynx Shunt current is very close almost 100% correct if adding Batt1 and Batt2.
I have two JK BMSes, btw.

For some reason in the Aggregator/System it shows 3 batteries.

and...

If you look at /System/Batteries under the aggregator in dbus-spy it should list which 3 services it is aggregating.

Closing as no further response received.


Fine tuned tensor_train demo for tensor train N=4

Wei Xu @spicywei  and I developed a tensor train demo that achieves optimal for the tensor train with 4 tensors.

Performance
Optimal: 14.93 FLOP
Our result: 14.93 FLOP
Command to train the demo:

python demo_tensor_train.py

Command to generate test data for the tensor train:

python data_generate.py

Command to run the brute force baseline:

python baseline_brute_force.py

@zhumingpassional Would you please provide some suggestions on the codes? Thank you very much!

@shixun404
good codes.
it will be better if adding type hints and necessary comments.

@shixun404
good codes.
it will be better if adding type hints and necessary comments.

Thank you, @zhumingpassional ! I've observed that the formulation of the tensor train is quite similar to the traveling salesman problem (TSP). Would it be possible to adapt the tensor train demo to solve TSP?

yes. agree with you.
of course.


Update MD file on new branch 2017-12-06_01-40-13

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

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


[Feature] XPath and CSS Selection

Adding in XPath or CSS selection would give the ability to only monitor a portion of the website for changes.

we dont support this, the system only converts html straight to text (for now)

@Robert-D we have this built in now


Crazy scroll in parent

Hello, I have a Dialog with a scrollable content, and when dragging fast, the dialog scroll gets crazy. Any Idea?
collisionDetection: closestCenter
modifiers: [restrictToParentElement, restrictToFirstScrollableAncestor, restrictToVerticalAxis]
strategy: verticalListSortingStrategy
https://user-images.githubusercontent.com/71793326/195196547-a41a698d-e0ff-4877-95ce-3e43eefc67af.mov

Hello,
I got the same issue there, did you find any solution ?
Have a great day !

Is there any particular reason why this issue was closed? I'm seeing this same erratic scroll behavior with a bare-bones implementation.

hi,
I got the same issue there, did you find any solution ?
thank you！


Added "hop_bytes" option to FixedLengthRecordReader

A "hop_bytes" option added to FixedLengthRecordReader.
With this option, one can easily read fixed-length record from file with a sliding window. This is useful for reading audio waveform or features with contexts.
Example:
file:
"1234567"
reader:
record_bytes=3, hop_bytes=2
result:
"123", "345", "567"

Can one of the admins verify this patch?

I signed it!

@t13m please ping this PR when you've got a chance to add some unit tests.  Thanks!

@concretevitamin @rohan100jain Sure I'm working on unit tests. Should the unit test be added to tensorflow/python/test_kernels/reader_ops_test.py? Should I modify the origin FixedLengthRecordReaderTest or write a new test just for this new option?
Thank you very much.

@concretevitamin Hi, I modified the original unittest of FixedLengthRecordReader to make it test the new argument. The unittest is passed. I'm not sure if it is enough, if not, please let me know. Thank you for reviewing.

@t13m feel free update the code and push, or ask if you have any questiosn.

Hi, sorry for reply so late. I added the comment requested, thanks for reviewing!

Jenkins, test this please.

cc @martinwicke @josh11b
This PR involves an API change (in io_ops.py / FixedLengthRecordReader). I can fix the golden during the upcoming pull. Let me know if you think we should proceed in other ways.

@caisq Hi, sorry but I didn't get it. Could you please explain what does "fix the golden" and "upcoming pull" mean?

@t13m These changes are being pulled to Google's internal SCM as per our routine sync, where it is subject to compatibility checks not present on GitHub.


Remove top-margin from 1st element in indented panel

If your indented panel start with a heading (or another element with a top-margin) you end up with unwanted whitespace. This fixes that.

This has been fixed here:
https://github.com/alphagov/govuk_elements/blob/master/public/sass/elements/_panels.scss#L13
Please can you close this, @timpaul, if it works for you.


Allow TLS ciphers to be set

Hi Pantelis,
Currently ciphers can't be passed through in the config when running a TLS server. Could this be added? It'd go alongside the existing settings such as minVersion and maxVersion.
Thanks!

Hi Richard! Is this a server-only security feature or it should be exposed for the client also?

This is valid to specify for both servers and clients that want to restrict their accepted ciphers to a specific set, e.g. those considered to be strongest.

Thank you Richard! Version 0.1.22 allows the ciphers security option to be passed.

Hello @richard-viney ! Closing the issue now. If you feel that we can do more on that, please reopen or create a new issue.


Dropping 'things' or 'actions' from the filter.

In the section on filters in the GraphQL documentation, the paths of the filters are prefixed with  "things" and "actions".
This is superfluous information. The class names cannot overlap in any case.
Current query:
 Get(where:{
      operator: And,
      operands: [{
        path: ["Things", "Animal", "age"],
        operator: LessThan
        valueInt: 5
      }, {
        path: ["Things", "Animal", "inZoo", "Zoo", "name"],
        operator: Equal,
        valueString: "London Zoo"
      }]
    }) { ... }

After removing the kind of class:
 Get(where:{
      operator: And,
      operands: [{
        path: ["Animal", "age"],
        operator: LessThan
        valueInt: 5
      }, {
        path: ["Animal", "inZoo", "Zoo", "name"],
        operator: Equal,
        valueString: "London Zoo"
      }]
    }) { ... }

Agreed, please remove them.
@laura-ham can you please update this in the relevant docs.

Now I remember why the first element of the Path was "Things" or "Actions": because the path in the filter is the exact same path as you put in the graphql query from there. In the following example you see that the path in the filter is consistent with the query structure which follows.
{
  Local {
    Get(where: {
      path: ["Things", "City", "inCountry", "Country", "name"],
      operator:Equal,
      valueString: "Germany"
    }) {
      Things {
        City {
          name
          population
          InCountry {
            ... on Country {
              name
            }
          }
        }
      }
    }
  }
}

So, should we remove it or keep it like this?

Aha, good point. However, an Animal can only be a thing.

I get the point, but why having the distinction between Things and Actions at all then in the API?

I believe that @bobvanluijt wants to distinguish between the two in the future. In any case, the class names of actions and things form one namespace; you cannot have a class FooBar that is both an Action and a Thing.
From a engineering perspective, they are identical at the moment.

What @moretea writes is correct, currently they are identical from an engineering perspective but they will almost certainly deflect in the future.

So if I understand it correctly, you want to keep the distinction in the API, but want to remove the distinction in the path in the filter? That does not sound logical to me..

@bobvanluijt https://github.com/creativesoftwarefdn/weaviate/issues/565#issuecomment-440064570 is ambiguous to me. Are you talking about the distinction in the REST API, or have you changed your mind and want to have it back in the filters :)?
You agreed to remove this here https://github.com/creativesoftwarefdn/weaviate/issues/565#issuecomment-438348996,  and I have implemented this last week. Do you these to be put back in? If so, I'll open another issue for that to keep track of it.

Aha, okay, I did not know this. I was talking about the filters and my response was based on @laura-ham's comment which she responded to later.
@laura-ham and @JeroenStravers1, can you confirm that this implementation that @moretea states above is reflected in the prototype and tests?

@bobvanluijt, I did not take any action regarding this because the discussion was not closed yet. So the implementation by @moretea is not yet reflected in the prototype, docs and tests.

Check @laura-ham 👍
Can you please align with @moretea's implementation?

Of course, but I think we should make a decision about this issue, whether to keep the path as it is or not?

Concerning timelines and because @moretea already has implemented the above let's make a smart decision.

@laura-ham do I understand correctly that you are not in favor of removing them?
@moretea how difficult would it be to revert and include them?

Ok, in that case we will leave it out for now and I'll close the issue.


Replacing with [object Object]

Hello, this is so close to being perfect for my use! I'm using it to load the contents of json translation files into my Angular app.js file to support angular-translate.
My grunt task is:
fileblocks: {
    options: {
        removeBlock: false,
        rebuild: true
    },
    locales: {
        src: 'assets/js/modules/app.js',
        blocks: {
        'en': { src: 'assets/locales/en.json'}
        }
    }
}

This is my app.js file before I run grunt fileblocks:locales:
$translateProvider.translations('en',
/* fileblock:raw en */
{}
/* endfileblock */
);

And here it is after:
$translateProvider.translations('en',
/* fileblock:raw en */
[object Object]
/* endfileblock */
);

Any idea how I would insert the actual content from the en.json file? Here it is:
{
  "calendar": "Calendar",
  "greeting": "partner",
  "report_unscheduled_activity": "Report Unscheduled Activity",
  "salutation": "Thanks!",
  "search": "Search",
  "timeline": "Timeline"
}

Thanks for any help!

Hello, @rrharvey any direction on this would be super appreciated. I've been really trying to get this to work but now I'm thinking maybe I'm misunderstanding what is possible with this plugin. I have tried a custom template but still haven't been able to get it to work. I'm out of ideas and this seems to be the only plugin that does anything close to what I'm looking for.

Sorry but that isn't going to work. The plugin doesn't read the contents of the file, only the file name. It was designed to insert script tags into HTML which only requires the file name. The fact that you were seeing [object Object] in your script file was actually a bug. Maybe that was misleading you into thinking that it was trying to insert the contents of the JSON file.


fix(ci): update node version

This PR resolves []
Description

Updates node version to hopefully fix the download issues we have been having.
PR Checklist

[ ] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

update node version - Brian, Mounir

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (update node version - Brian)

  Generated by :no_entry_sign: dangerJS against e40d0e22b5df859f62c682146222502182f35853

Triggering also new betas


Create Max1DRangeSum.cpp

@MahmoudTarek97  Please comment your code and remove the header <bits/stdc++.h>. Because this header is quite linux specific.


core/manager

Controls the flow of data through the process and exposes a plugin API. Should be able to kill any outstanding tasks, and restart all the tasks at any point.

Plugin API
Config

Read config
Validate config

Control

Start
Exit

IO

Read file
Write file

Watching

Start watching file
Stop watching file

Asset handling

Parse file
Transform file
Rewrite dependencies

Emit

pre-emit
emit
post-emit

Tooling

Before each
After each


Syntax error indicator

When I was playing around with with the demo I noticed it didn't seem to report syntax errors but instead indicated: "The input doesn't contain structured data".
Is there any chance a future update will include syntax error reporting (similar to that of Google's Rich Result Test or schema.org's validator)?

I'm puzzled by the error report. Can you help me reproduce it?

My comment wasn't about validator.schema.org but about Schemarama.
I was playing around with it to try to find out what it does or doesn't do. When I modified the default example and removed a comma at the end of the second line. That's when I got the feedback: "The input doesn't contain structured data".
Code used:
{
  "@context": "https://schema.org/",
  "@id": "http://example.org/recipe"
  "@type": "Recipe",
  "name": "Mom's World Famous Banana Bread",
  "cookTime": "wwwwwwPT1H"
}


Can't type 's' in Runelite client

I cannot type 's' anywhere in the client, this occurred for ge searches and then the login screen.
Steps to reproduce the behavior:
Typing 's'.

that's probably it, thank you!

That solved it, thank you


Issue 2221: Add an "apoc.cypher.runManyReadOnly" procedure that has mode of READ

Issue 2221

No! Parliamone insieme, leggi bene i requisiti!


t-SNE package does not seem to work with Spark 2.1

Hi,
Looks like the t-SNE package does not work with Spark 2.1. After importing the com.github.saurfang.* package, a simple method to compute mean etc fails:
import org.apache.spark.mllib.linalg.Vectors
import org.apache.spark.mllib.stat.{MultivariateStatisticalSummary, Statistics}

val observations = sc.parallelize(
  Seq(
    Vectors.dense(1.0, 10.0, 100.0),
    Vectors.dense(2.0, 20.0, 200.0),
    Vectors.dense(3.0, 30.0, 300.0)
  )
)

// Compute column summary statistics.
val summary: MultivariateStatisticalSummary = Statistics.colStats(observations)
println(summary.mean)  // a dense vector containing the mean value for each column
println(summary.variance)  // column-wise variance
println(summary.numNonzeros)  // number of nonzeros in each column

and that fails with:
Name: Compile Error
Message: <console>:50: error: type mismatch;
 found   : org.apache.spark.rdd.org.apache.spark.rdd.org.apache.spark.rdd.org.apache.spark.rdd.org.apache.spark.rdd.RDD[org.apache.spark.mllib.linalg.Vector]
 required: org.apache.spark.rdd.org.apache.spark.rdd.org.apache.spark.rdd.org.apache.spark.rdd.org.apache.spark.rdd.RDD[org.apache.spark.mllib.linalg.Vector]
       val summary: MultivariateStatisticalSummary = Statistics.colStats(observations)
                                                                         ^
StackTrace:

Any thoughts on resolving this?
Thanks,
Rajesh

I've looked into this, and am currently working on a patch.

Thanks for replying Erwin.
That is great! please let me know how it goes, glad to test it out.
Regards,
Rajesh

I've created a new PR, which has a green build. You can check it out for
yourself:
https://github.com/erwinvaneijk/spark-tsne.git branch upgrade_to_2.1
If/when it gets merged to the main repos, I have no idea.
Kind regards,
EJ
On Fri, Jun 2, 2017 at 11:26 PM Rajesh Kartha<EMAIL_ADDRESS>wrote:

Thanks for replying Erwin.
That is great! please let me know how it goes, glad to test it out.
Regards,
Rajesh
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/saurfang/spark-tsne/issues/7#issuecomment-305913152,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOY20oD82MuJzX1TDxCwRLfiC35aSWDks5sAH4KgaJpZM4NsAwb
.

Thanks EJ, will try your patch out and let you know.
-Rajesh

Wonder by the X2Helper.scala resides in the  org/apache/spark/mllib package, is that really the need - any thoughts?
I am not yet sure if that could be causing some issues in our environment.  The MNIST  example in  the code seems to throw the same old error.

Hi Rajesh - no idea, but it shouldn't give you the message. Your exact code is in the new test, so there's probably something else wrong in your code or build. I'll take a look if you want?

Thanks Erwin.
I was trying to run it in the cloud env and gave up. Now I am trying it on a regular Hadoop+Spark 2.0 cluster with spark-shell and I while running the MNIST example, I am getting:
java.lang.NoSuchMethodError: breeze.linalg.DenseMatrix$.ones$mDc$sp(IILscala/reflect/ClassTag;Lbreeze/storage/Zero;Lbreeze/math/Semiring;)Lbreeze/linalg/DenseMatrix;
at com.github.saurfang.spark.tsne.impl.BHTSNE$.tsne(BHTSNE.scala:38)
... 92 elided
The breeze jars that I have in my Spark2.0 instance are:
breeze_2.11-0.11.2.jar
breeze-macros_2.11-0.11.2.jar
Wonder if there is any specific jar that I need to pick up for this.


Add ldflags to export attributes loop

This fixes https://github.com/xmake-io/xmake-repo/issues/3224.
Verified with the example project provided in the issue on Ubuntu with GCC compiler.
Documentation about how to contribute to xmake is poor so I dont know how to run tests locally. I just compiled xmake, modified inherit_links.lua and tested on my project.

wait for this patch https://github.com/xmake-io/xmake/pull/4698


Please install deck on your nextcloud instance

Hi,
I'm running the program on a nextcloud instance where deck is installed (at the latest version).
I get a Please install deck on your nextcloud instance
How could I solve? What should I check?

That means that "deck" is not in the capabilites of your nextcloud server: https://github.com/maxammann/trello-to-deck/blob/main/trello_to_deck/deck.py#L83
Can you post the nextcloud and exact deck version?

Hi, this is what I get in XML and json.
I've got deck	1.6.0
I've tried on two servers: same result.
Thanks,
Massimo

failure
998
Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.

{"ocs":{"meta":{"status":"failure","statuscode":998,"message":"Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.\n"},"data":[]}}

I've changed a little the query:
curl -u user::pwd -X GET 'https://server.it/ocs/v1.php/cloud/capabilities' -H "OCS-APIRequest: true"

now I get this

ok
100
OK

21
0
0
21.0.0

60
remote.php/webdav

0

1

.htaccess

https://owncloud.impronta48.it/ocs/v2.php/apps/files/api/v1/directEditing
c499d064a417dee26312c3f11557fa29

1
1.0-proposal1
https://owncloud.impronta48.it/index.php/ocm

file

user
group

/public.php/webdav/

1.0

1.4.7
1

1.0
1.1

1

0.2
1.2

4.3.1

list
get
delete
delete-all
icons
rich-strings
action-web
user-status

devices
object-data
delete

ocs
cli

1

1

1

1

1
1
1

1

1

1

1

1

31

1
1

1

```

This is very weird because obviously 'deck' is in the capabilities object. Hmm

Can you try the following request, just to double check?
curl -u user::pwd -X GET 'https://server.it/ocs/v1.php/cloud/capabilities?format=json' -H "OCS-APIRequest: true"

{"ocs":{"meta":{"status":"ok","statuscode":100,"message":"OK","totalitems":"","itemsperpage":""},"data":{"version":{"major":21,"minor":0,"micro":0,"string":"21.0.0","edition":"","extendedSupport":false},"capabilities":{"core":{"pollinterval":60,"webdav-root":"remote.php/webdav"},"bruteforce":{"delay":0},"files":{"bigfilechunking":true,"blacklisted_files":[".htaccess"],"directEditing":{"url":"https://owncloud.impronta48.it/ocs/v2.php/apps/files/api/v1/directEditing","etag":"c499d064a417dee26312c3f11557fa29"}},"ocm":{"enabled":true,"apiVersion":"1.0-proposal1","endPoint":"https://owncloud.impronta48.it/index.php/ocm","resourceTypes":[{"name":"file","shareTypes":["user","group"],"protocols":{"webdav":"/public.php/webdav/"}}]},"dav":{"chunking":"1.0"},"deck":{"version":"1.4.7","canCreateBoards":true,"apiVersions":["1.0","1.1"]},"fulltextsearch":{"remote":true,"providers":[]},"notes":{"api_version":["0.2","1.2"],"version":"4.3.1"},"notifications":{"ocs-endpoints":["list","get","delete","delete-all","icons","rich-strings","action-web","user-status"],"push":["devices","object-data","delete"],"admin-notifications":["ocs","cli"]},"user_status":{"enabled":true,"supports_emoji":false},"files_sharing":{"api_enabled":true,"public":{"enabled":true,"password":{"enforced":false,"askForOptionalPassword":false},"expire_date":{"enabled":false},"multiple_links":true,"expire_date_internal":{"enabled":false},"send_mail":true,"upload":true,"upload_files_drop":true},"resharing":true,"user":{"send_mail":false,"expire_date":{"enabled":true}},"group_sharing":true,"group":{"enabled":true,"expire_date":{"enabled":true}},"default_permissions":31,"federation":{"outgoing":true,"incoming":true,"expire_date":{"enabled":true}},"sharee":{"query_lookup_default":false}}}}}}

How did you install the tool? Also which python version are you using? (Try to execute python/python2/python3)

I upgraded to the latest version of nextcloud and now it works! Magic


[SPIKE] Okta Users that are in both a Sender and Receiver group cannot access the Submissions Page

Describe the bug
User is added to both a Sender and Receiver group in Okta and cannot access the submissions page. This appears to be a front end issue.
When the user is added to DHPrimeAdmins, the Submissions page works.
Impact on ReportStream
This issue is forcing Platform Team to make people Admins in RS that shouldn't be so we can continue our pilot work.
Steps to reproduce
Steps to reproduce the behavior:

See reproduction/discussion here: https://nava.slack.com/archives/C025F5W5Q7L/p1697049827376859
Contact Arnej Duranovic with questions

Expected behavior
When a user is added to both a Sender and Receiver group in Okta, they should be able to access both the Submissions and Daily Data (or Data Dashboard) pages.
Resources
https://nava.slack.com/archives/C025F5W5Q7L/p1697049827376859
Logs
Device info
Desktop (please complete the following information)

OS:
Browser
Version

Smartphone (please complete the following information)

Device:
OS:
Browser
Version

Acceptance Criteria

[x] Plan developed for how to solve this issue: Requirement is that a user can be a sender and receiver (not a Prime Admin) and have access to authenticated pages for both groups (Submissions, Data Dashboard, File Validator, Public Key tool, etc)
[x] Sync'd with Platform and Engagement PM and Tech Leads on solution
[ ] Write ticket(s) for solution

@chris-kuryak I mentioned this in the associated PR, but I talked extensively with @arnejduranovic about the concepts of our Senders and Receivers as well as what this ticket is about. The "power" we're looking for here is a very simple combination of the Sender and Receiver on the front end, just access to those pages. Therefore, adding a 3rd user type on the backend / Okta side is NOT worth it.
Therefore, the solution is already implemented in this associated PR, is to add a new key/value in the UserState called isUserTransceiver that's simply a boolean if both isUserReceiver and isUserSender are true.


Hooks Not working

I did bbrf listen, I have added all the hooks in the correct folder and made them executable too.

getting this error.

It appears that there is an issue connecting to your BBRF server rather than the hooks not working; this may be worth investigating if you can reproduce this behavior. Let me know if this persists, and we can track this problem.


Prevent chart from occupying entire canvas height

Hi,
My question pertains to setting some sort of "margin-top" or "padding-top" to the entire chart.
Basically the chart occupies nearly the entire height of the canvas element.
I want the chart to begin 40 or 50 pixels below the top of the canvas element.
I tried to modify this by changing the 'height' variable in the scale options as follows:
(Line 2692) in Chart.js - line chart
height: this.chart.height - 40;
However this had the effect of creating a 'padding-bottom' effect. I.e the chart grew shorter but from the bottom instead of the top. The 40 pixels were freed up from the bottom of the canvas.
The reason I want to do this, is I have a custom tooltip, which consists of a large amount of text. In the current situation, it draws the tooltip mostly below the line in the line chart, because there isnt enough room left above the line, and that's because the chart begins at the very top of the canvas. Whereas I want all tooltips to display above the line.
Thanks,
Rr.

Place the  element inside of another element that has padding top.  This should give you the padding you're looking for, but if your problem is more related to tooltip spacing then read on.  The chart will always fill the entire canvas, and there isn't any way to change this, so if you are having trouble with the built in tooltips, you could try using the customTooltips implementation to do your own html tooltips.


Doesnt allow toplevel arrays

[]

=>
Syntax { line: 1, col: 1, code: UnexpectedChar, at: "[]" }

How exactly do you test ?
This works:
let arr: Vec<u8> = deser_hjson::from_str("[]").unwrap();
assert_eq!(arr, vec![]);

So turns out I was trying to parse
[abc, def, hjk]

then did not realize that this was invalid hjson, then tried to find a issue, and deserialized a list into a object.

Hm. In fact I don't see in the Hjson spec anything preventing [abc, def, hjk] from being valid.
I'll have a look at quoteless strings in arrays.

Yes, reading the spec again, I see it's explicitely forbidden.
As they can't contain any of {}[],:, I don't see any reason.
I'll probably try to see if that would break anything, and maybe define a feature for a strict mode.

That would be lovely!

If I say that a string value in an array (if not at the start of the line) may be quoteless but stops at the first comma, ']' or LF, then we can have [abc, def, hjk].
But there's a problem.
Some Hjson which was valid before, starts to be either invalid or to have another meaning.
See this exemple, valid with the official Hjson specification and the released deser_hjson:
    let arr: Vec<String> = deser_hjson::from_str(r#"
        [a, 3]
        ]
    "#
    ).unwrap();
    assert_eq!(arr, vec!["a, 3]"]);

According to the spec, the first element is recognized as a quoteless string. Which means it goes till the LF.
So the first and only element of the array is "a, 3]"...
IMO the Hjson specification isn't good there, but departing from it without an official change would break too much.


Identity server logout without redirect

I would like to fully log out users without redirecting them to the identity server. When I'm using OAuthService.logout(true), I'm logged out in my SPA, but when I click login again, the identity server still has a valid cookie and logs me back in, without being able to change the user.
To Reproduce

Login
Use OAuthService.logout(true)
Return to your application
Login again

Expected behavior
Identity server requests username and password again.

I think this is a feature request, as the first argument to logout(...) is just an early return and the server is never notified.
However, I'm not sure if there's a part of the oauth2 / oidc specs that allows for non-interactive (Ajax-based) ending of a session. For example IdentityServer4 is explicit in end_session involving a browser redirect.
If we can find a spec / official part of the used flows that support it, I guess it would be a nice feature to add. But without it, I don't see a standard way to implement this.
(You might be able to work around it if you have control over both Server and Client, but then it'd be an application concern, not for this lib.)

I see. Would moving the logout redirect to a hidden iframe be viable?

I'd be hesitant to add this edge case scenario to the library personally, but you could try in your application logic, and share what you find? By default I'd expect most if not all Identity Server solutions to prevent this via x-frame-options headers, unless you explicitly allow it...

I ended up using the state parameter and an immediate redirect from the identity server, so I can maintain the reason for the logout.
In case somebody else stumbles upon this: The state cannot be accessed through the OAuth service. After the logout, the nonce is deleted and thus the state cannot be validated, but it can be read by parsing the location parameters by hand.


How to disable focus trap for a dialog?

OpenUI5 version:
Browser/version (+device/version): Safari 14.0
Any other tested browsers/devices(OK/FAIL): Chrome  Version 90.0.4430.93
URL (minimal example if possible):
CDM_SItePlant-2.zip
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Run the attached code repo.
Click on the + sign to open the dialog.
Continue Pressing tab

What is the expected result?
We want to disable the focus trap.
We are using openui5/sapui5 dialog controls and they have inherited focus trap.
Our requirement is to disable the focus trap of dialog and let the focus move to browser controls on last Tab of the tab-able element of the dialog.
We have made background screen elements non-tabable by setting tabindex=-1 on all the lements having tabindex attribute assigned to them.
I know that is against the standard but still this is the requirement as per our internal accessibility team.
Please help/advise.
What happens instead?
Any other information? (attach screenshot if possible)
PoC -<EMAIL_ADDRESS>+91-7032501553

Hello @vran848115 ,
I have a problem starting and using the application you've sent.
Can you please check the application or try to extract the example in https://jsbin.com/?html,js,output
Thanks and Best Regards,
Tsanislav

Hi @vran848115
You can remove the focus trap by overriding two private event handlers in the sap.m.Dialog.
See this JSBin sample to see how to achieve it.
This change, of course, would be on your own risk and cannot be guaranteed to work in the future.
Regards,
Georgi


Voice support?

Will it supports voice chats?

If we can find a reasonable way of interfacing with a sound device, or some other means of sending sound data down the pipe, then yeah, we'd like to do it. But it's not on the roadmap for the initial release.


Look through LSDC GUI for other places where validation should be done

Report from Wuxian of raster params, transmission had the floating point issue. Go through the code thoroughly and find where else can have formatting added to prevent these floating point issues.

ScreenDefaultsDialog seems to be the only place where a popup dialog box contains parameters that can be set like this

commit https://github.com/JunAishima/lsdc/commit/890896ab7dd0ed0e3aff191ed504ddf0f8c8a411 to be tested when there is free time. currently on a branch that can be pulled in


[5.5] Add a "qualifyColumn" method to the Eloquent Model

Useful in complex queries where you need to qualify the column name to avoid collision:
function addSomeComplexSubquery($query, $model)
{
    $query->where($model->qualifyColumn('column'), $someValue);
}

We might want to rename this to something like qualifyColumn... I fear something as generic as qualify could have conflicts with user defined methods if we release it on 5.5.

@taylorotwell I changed it to qualifyColumn.


Added lifetime movie club

Added lifetimemovieclub in AENetwork’s support list.

Redirects https://www.lifetimemovieclub.com/movies/a-killer-among-us to http://www.mylifetime.com/ for me. What is your location?

LifetimeMovieClub works only with US IP or else you will be redirected to mylifetime.com


Reading File Info - Linux OS

Reading File Info - Linux OS
SQL Server all version and edition running on Linux
Microsoft SQL Server 2019 (RTM-CU22) (KB5027702) - 15.0.4322.2 (X64)   Jul 27 2023 18:11:00   Copyright (C) 2019 Microsoft Corporation  Web Edition (64-bit) on Linux (Ubuntu 20.04.6 LTS)
This issue is valid when non Sysadmin users want to make backup
Version of the script
2022-01-02 13:58:13
What command are you executing?
in DatabaseBackup is executed
INSERT INTO @DirectoryInfo (FileExists, FileIsADirectory, ParentDirectoryExists)
EXECUTE [master].dbo.xp_fileexist @CurrentRootDirectoryPath)   -- '/linux/folder'
What output are you getting?
File_Exists = 0,  FileIsDirectory = 0, ParentDirExists = 0
**Suppposed working Solution **
using newer sys.dm_os_file_exists
INSERT INTO @DirectoryInfo (FileExists, FileIsADirectory, ParentDirectoryExists)
(SELECT * FROM sys.dm_os_file_exists(@CurrentRootDirectoryPath))

I guess I should be using the new DMF on SQL Server 2017 and later, on Windows and Linux.


If a property Type is enum, how to get the Enum object of it? #278

copied from https://github.com/frhagn/Typewriter/issues/278
I have a class with properties, and I want to generate a method for each property that the type is enum, and access the enum values.
How can I convert a type to a Enum?
     IEnumerable<Enum> Enums(Class clas)
{
 List<Enum> retorno = clas.Properties.Where(x=>x.Type.IsEnum).ToList();
return retorno;
}

https://github.com/AdaskoTheBeAsT/NetCoreTypewriterRecipes/blob/a01d6fe65272b7c51277d7b380baa3b673dd1fea/src/AngularWebApiSample2/ClientApp/apps/client-app/src/api/models/_AutogeneratedModels.tst#L400

I explained it the wrong way
I have a property that the type is Enum
List<Property> retorno = clas.Properties.Where(x=>x.Type.IsEnum).ToList();
And I want to get the Enum and the EnumValues from this property
something like
property.Type.ToEnum()

enum value in property is only known in runtime - not possible to do this
for filtering properties of type enum you need to define helper method
in top of template (where helper methods are defined)
bool PropertyIsEnum(Property property) {
return property.Type.IsEnum;
}
and use it like this
$Properties($PropertyIsEnum)[
// generate for each enum property
]

I dont want the actual value. I want tô list the enum possible values from the property type

you can't do this out of property - you can do this by annotating enum types as I already pasted - then you have fulll possibility to also grab all values

you can't do this out of property - you can do this by annotating enum types as I already pasted - then you have fulll possibility to also grab all values

that is my question, I needed to get the enum from the property type, if its not possible I'll try another way


Can't get friendbot to work on testnet (local)

I built the friendbot microservice locally on my Debian system. However, friendbot console log indicates that it is not able to see the accounts I am trying to create and fill with some balances
INFO[0466] HTTP response duration=0.00245707 ip="[::1]:33468" method=GET pid=30491 request_id=host/sgqJnOwsJA-000010 response_bytes=360 status=404 uri="/?addr=GD7SXZB5OJNR3X2HTJ45WI7V2VJV6E4RRFIKLJMEKJKGIJYPTSAUZZ2Y"
INFO[1106] HTTP request ip="[::1]:36072" method=GET pid=30491 request_id=host/sgqJnOwsJA-000011 uri="/?addr=GAWAEA2IG4SMDIA2BVG4NSWKI4AR26CDQ5FVPZU7YWEVZWNIDYH3KHER"

And in the horizon console I see a 404 being returned as well:
req="host/ftYerWqFdT-000025"
INFO[1087] Finished request bytes=325 duration=1.036369ms host="localhost:8000" ip="[::1]:55630" method=GET path="/accounts/GB6QPEJTJQQBGFR3DHLVA4DZUGNLZOHUYOMUHZOH43U5PLBQC7QUW5CI" pid=30506 req="host/ftYerWqFdT-000025" status=404 streaming=false

Looks like horizon cannot create the accounts in core_testnet to which it is configured..
Here is my local testnet info
os
user@hostname:~$ uname -a
Linux hostname 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux

golang
user@hostname:~/go/services/horizon$ go env
GOARCH="amd64"
GOBIN="/home/user/goprojects/bin"
GOCACHE="/home/user/.cache/go-build"
GOEXE=""
GOhostnameARCH="amd64"
GOhostnameOS="linux"
GOOS="linux"
GOPATH="/home/user/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build511052720=/tmp/go-build -gno-record-gcc-switches"

I have built stellar-core locally and this is the start command line:
user@hostname:~$ /usr/local/bin/stellar-core --conf /usr/local/bin/stellar-core.cfg
I downloaded horizon from the github releases link @ https://github.com/stellar/go/releases/download/horizon-v0.12.0-testing/horizon-v0.12.0-testing-linux-amd64.tar.gz
user@hostname:~$ horizon version
v0.12.0-testing

I started horizon with the following command line:
user@hostname:~$ horizon --stellar-core-url=http://localhost:8080 --friendbot-url=http://localhost:8004/ --db-url=postgres://localhost:5432/horizon_testnet --stellar-core-db-url=postgres://localhost:5432/core_testnet --ingest
After building friendbot locally I use the following command line to start it up:
user@hostname:~$ friendbot --conf /usr/local/bin/stellar-friendbot.cfg
Can someone guide me on this ?
TIA.

Closing because it has been posted here: https://stellar.stackexchange.com/questions/555/how-to-successfully-build-stellar-horizon-locally-on-debian


v5.0.0 goals

Schedule
We're looking forward and planning on releasing the next major release (v5.0.0) in late September, with a release candidate being released early that month.
Breaking changes

[ ] Remove old deprecation methods in BaseService, like setUsernameAndPassword() and setIamOptions() in favor of the constructor and single method to set auth in this release

Non-breaking major changes

We'll be updating this issue periodically with scheduling details and more information on what will be changed. In the meantime, feel free to give feedback on anything in the issue and to reply with things you'd like to see!

Just a heads-up, the first release candidate has been released here: https://github.com/watson-developer-cloud/salesforce-sdk/releases/tag/v5.0.0-rc1


[WIP] implement PDB fixes for #52

This is WIP.
Opening as there are things which need to be documented as I go along.
TODO:

[x] Remove ANISOU records
[x] Remove icodes
[x] Switch caps to HETATM
[x] Rename NMA to NME
[x] Fix hydrogen naming for caps + first residue
[ ] Separate out non-protein non-solvent non-ion entries from protein.pdb to individual sdf files

[ ] bace (TLA)
[ ] cmet (7PE)
[ ] eg5 (ADP)
[ ] pfkfb3 (POP)
[ ] shp2 (PO4)

[x] Make sure SSBOND entries are consistent
[x] Remove altloc entries

Notes:

Thrombin is a minefield of a PDB file when it comes to icodes.
a. There are many icode entries throughout the various chains
b. There are non-contiguous residue numbers, see GLU H 217 being followed by GLY H 219
c. I'm not sure there should be an ACE cap on chain I (to be chased up in #52)
Caps and post-ACE first residues had alternate namings. Naming is now in line with primary atom names from: https://github.com/openmm/openmm/blob/dd80fb3fdcba6a75803f8e68f444a657fe42d4f5/wrappers/python/openmm/app/data/pdbNames.xml

Thanks so much for tackling this, @IAlibay! Copying @bobym to monitor.
Just to check, @IAlibay : Are you having to correct all of these files manually? If so, we should have @bobym report these issues to be fixed in Maestro's export or protein prep wizard.

@jchodera - yeah so currently most of these fixes are by-hand because I don't want to disrupt the HELIX / SHEET / TURN entries. The exception here is for Thrombin where manually fixing the icode insertions for those entries + the ATOM/HETATM entries was too much.
That being said, if we don't care about the HELIX/SHEET/TURN metadata, I would advocate for re-doing all these things in one go with MDAnalysis' parser (except from the SSBOND entry stuff which has to be manual right now), and could even add in the missing bonds for the caps. This would make things a lot more reproducible.
With regards to reporting back upstream: I remember @jbluck trying this a couple of months back - he might have some insights from his own discussions with the Schrodinger folks on the matter.

Closing as no longer relevant.


undefined method link_to_sorted

# Gemfile
gem 'sorted-actionview'
->
ActionView::Template::Error (undefined method `link_to_sorted' for #<#Class:0x007f93db4657c8:0x007f93ddcb1da8>)
Tested with rails 4.2.1

The only way I found to make it work was to put this code in an initializer:
require 'sorted/actionview/helper'
ActionView::Base.send :include, Sorted::ActionView::Helper


"Cannot perform I/O on behalf of a different request" error when using signal on a fetch call in middleware

Steps to reproduce / minimal reproducible example:

Fork / use https://github.com/art-alexeyenko/lock-stock-mock as minimal repro example;
Deploy mock-express to Vercel - this will be used as an endpoint for fetch;
Deploy next-mid-ts to Vercel, set FETCH_ENDPOINT env variable to to https://{mock-express-vercel-url}/api;
Optional: set DEBUG env variable to "mock:*"
Check Function logs for next-mid-ts in Vercel;
Open two incognito windows with next-mid-ts homepage, refresh spam both for 10-12 seconds.

Result:
The following error occurs in logs either at step 4 or 5:

Error: Cannot perform I/O on behalf of a different request. I/O objects (such as streams, request/response bodies, and others) created in the context of one request handler cannot be accessed from a different request's handler. This is a limitation of Cloudflare Workers which allows us to improve overall performance.
at lib/middleware/plugins/always-repro.ts:34:6
at
at lib/middleware/plugins/always-repro.ts:21:11
at lib/middleware/plugins/always-repro.ts:15:37
at lib/middleware/index.ts:12:46

Home page may fail to load with "Edge middleware failed" error screen.
Expected:
Response is written into function logs each time, home page is loaded every time.
Why is this important:
Using signal is the preferred way to specify timeout for fetch requests from performance point of view and is a part of out of the box JS functionality.
Some notes:
Issue happens when executing logic from lib\middleware\plugins\always-repro.ts. It initializes an abort controller:
 private abortController = new AbortController();
which is being used to set up timeout for fetch call:
 if (this.timeout) {
        abortTimeout = setTimeout(() => {
          this.abortController.abort();
        }, this.timeout);
      }
fetch(this.endpoint, {
        method: "POST",
        signal: this.abortController.signal,
      })

if timeout is not set, however, the issue still occurs. Passing the signal value into fetch is enough:
signal: this.abortController.signal,
The repro example contains two 'plugins' for showcase: always-repro (issue is reproduced always when active) and maybe-repro (issue doesn't appear to occur when active). Their logic is virtually the same, with one small difference: AbortController in always-repro is defined as a class field, while in maybe-repro it is defined in request method scope. If the issue actually doesn't occur with maybe-repro, then perhaps the root cause is in the way the memory is managed and fields are being read.
To switch between them and see the behavior of the other plugin:

Modify next-mid-ts app;
In lib\middleware\index.ts comment lines 4 and 12, uncomment lines 3 and 13;
Redeploy next-mid-ts;
Use the same repro steps (check Function logs/spam home page over short period of time).

Hello, thanks for reporting this.
It isn't actually an Edge Runtime issue, but an Edge Functions at Vercel issue.
We're working into land a solution. Let me keep you informed 🙂

Hi @Kikobeats - just curious if there's any update on this issue?

We believe this has been resolved since some time ago – I'm going to close for now, but please feel free to comment if you experience any issue related 🙂


Would it be possible to remove it?

Stacktrace?

I meant that it was now useless to leave the exception "IllegalArgumentException" in the header of the function because it is never launched.

this should go in the OCD issue


Idk what happen lol

When I try to install it, I disable the antivirus and run the program, but when I finish the cmd, all I get are 2 folders that say... "env" and "lib"

https://docs.applio.org/faq/installation-method/conda/mingit-extraction-or-download-issues/


Unclear error message when using adding Container class

This code added to a Column:
Widget _createWorkoutAnimation() {
    return new Flex(
      children: <Widget>[
        new Container(
          decoration: new BoxDecoration(backgroundColor: const Color(0xff990000))
        )
      ]
    );
  }

generates this error:
[Android] I/flutter : a manner consistent with the constraints provided, and, in addition, that
[Android] I/flutter : the getMinIntrinsicWidth(), getMaxIntrinsicWidth(), etc, functions all
[Android] I/flutter : return consistent values within the same constraints.
[Android] I/flutter : If you are not writing your own RenderObject subclass, then this is not
[Android] I/flutter : your fault. Contact support: https://github.com/flutter/flutter/issues/new
[Android] I/flutter : Stack trace:
[Android] I/flutter : #0      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:27)
[Android] I/flutter : #1      RenderBox.debugDoesMeetConstraints (packages/flutter/src/rendering/box.dart:536)
[Android] I/flutter : #2      RenderBox.size= (packages/flutter/src/rendering/box.dart:450)
[Android] I/flutter : #3      RenderParagraph.performLayout (packages/flutter/src/rendering/paragraph.dart:100)
[Android] I/flutter : #4      RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #5      RenderFlex.performLayout (packages/flutter/src/rendering/flex.dart:380)
[Android] I/flutter : #6      RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #7      RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #8      RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #9      RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #10     RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #11     RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #12     RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #13     MultiChildLayoutDelegate.layoutChild (packages/flutter/src/rendering/custom_layout.dart:47)
[Android] I/flutter : #14     _ScaffoldLayout.performLayout (packages/flutter/src/material/scaffold.dart:64)
[Android] I/flutter : #15     MultiChildLayoutDelegate._callPerformLayout (packages/flutter/src/rendering/custom_layout.dart:82)
[Android] I/flutter : #16     RenderCustomMultiChildLayoutBox.performLayout (packages/flutter/src/rendering/custom_layout.dart:167)
[Android] I/flutter : #17     RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #18     RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #19     RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #20     RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #21     RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #22     RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #23     RenderObject.layout (packages/flutter/src/rendering/object.dart:1039)
[Android] I/flutter : #24     RenderProxyBox.performLayout (packages/flutter/src/rendering/proxy_box.dart:77)
[Android] I/flutter : #25     RenderObject._layoutWithoutResize (packages/flutter/src/rendering/object.dart:945)
[Android] I/flutter : #26     RenderObject.flushLayout (packages/flutter/src/rendering/object.dart:923)
[Android] I/flutter : #27     BindingBase&Scheduler&Gesturer&MojoShell&Renderer.beginFrame (packages/flutter/src/rendering/binding.dart:83)
[Android] I/flutter : #28     WidgetFlutterBinding.beginFrame (packages/flutter/src/widgets/binding.dart:92)
[Android] I/flutter : #29     BindingBase&Scheduler&Gesturer&MojoShell&Renderer._handlePersistentFrameCallback (packages/flutter/src/rendering/binding.dart:77)
[Android] I/flutter : #30     BindingBase&Scheduler.invokeFrameCallback (packages/flutter/src/scheduler/scheduler.dart:270)
[Android] I/flutter : #31     BindingBase&Scheduler.handleBeginFrame (packages/flutter/src/scheduler/scheduler.dart:247)
[Android] I/flutter : #32     _beginFrame (file:///home/travis/build/flutter/buildbot/src/out/android_Release/gen/sky/bindings/hooks.dart:48)

https://github.com/flutter/flutter/pull/1637 should make the message much clearer.

@vlidholt Can you try this now and see if the message is better?


Setting height, triggers console error. Expected Number, got String

Setting height="42" triggers JS-error in Console. Is the height value treated as a number or a string?
[Vue warn]: Invalid prop: type check failed for prop "height". Expected Number, got String.

:height="42"


Add a strikethrough shortcut

Strikethrough already works if you wrap the text in tildes, but would be nice to have a shortcut to do this like you can with bold and italics.

Super easy to do, what should the shortcut be?

Like this: https://github.com/silverbulletmd/silverbullet/blob/850077bad0619d5d321bbcd4ca7589e1d51c5a22/plugs/core/core.plug.yaml#L295


nvcc fatal   : Cannot find compiler 'cl.exe' in PATH

I add the 'cl.exe' to PATH, but still says can not found.
error: failed to run custom build command for `candle-kernels v0.5.1 (https://github.com/huggingface/candle.git#cd4d941e)`

Caused by:
  process didn't exit successfully: `F:\Projects\Rust\candle-test\target\debug\build\candle-kernels-29a5e65e9694b700\build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-changed=src/compatibility.cuh
  cargo:rerun-if-changed=src/cuda_utils.cuh
  cargo:rerun-if-changed=src/binary_op_macros.cuh
  cargo:info=["/usr", "/usr/local/cuda", "/opt/cuda", "/usr/lib/cuda", "C:/Program Files/NVIDIA GPU Computing Toolkit", "C:/CUDA"]
  cargo:rerun-if-env-changed=CUDA_COMPUTE_CAP
  cargo:rustc-env=CUDA_COMPUTE_CAP=89
  cargo:info=Builder { cuda_root: Some("C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.4"), kernel_paths: ["src\\affine.cu", "src\\binary.cu", "src\\cast.cu", "src\\conv.cu", "src\\fill.cu", "src\\indexing.cu", "src\\quantized.cu", "src\\reduce.cu", "src\\sort.cu", "src\\ternary.cu", "src\\unary.cu"], watch: [], include_paths: ["src\\binary_op_macros.cuh", "src\\compatibility.cuh", "src\\cuda_utils.cuh"], compute_cap: Some(89), out_dir: "F:\\Projects\\Rust\\candle-test\\target\\debug\\build\\candle-kernels-50199e501f055724\\out", extra_args: [] }
  cargo:rustc-env=CUDA_INCLUDE_DIR=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include
  cargo:rerun-if-changed=src\binary_op_macros.cuh
  cargo:rerun-if-changed=src\compatibility.cuh
  cargo:rerun-if-changed=src\cuda_utils.cuh
  cargo:rerun-if-env-changed=NVCC_CCBIN
  cargo:rerun-if-changed=src\affine.cu
  cargo:rerun-if-changed=src\indexing.cu
  cargo:rerun-if-changed=src\cast.cu
  cargo:rerun-if-changed=src\binary.cu
  cargo:rerun-if-changed=src\quantized.cu
  cargo:rerun-if-changed=src\reduce.cu
  cargo:rerun-if-changed=src\conv.cu
  cargo:rerun-if-changed=src\ternary.cu
  cargo:rerun-if-changed=src\unary.cu
  cargo:rerun-if-changed=src\fill.cu
  cargo:rerun-if-changed=src\sort.cu
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH
  nvcc fatal   : Cannot find compiler 'cl.exe' in PATH

  --- stderr
  thread 'main' panicked at C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen_cuda-0.1.5\src\lib.rs:391:13:
  nvcc error while compiling "src\\affine.cu":

  # CLI "nvcc" "--gpu-architecture=sm_89" "--ptx" "--default-stream" "per-thread" "--output-directory" "F:\\Projects\\Rust\\candle-test\\target\\debug\\build\\candle-kernels-50199e501f055724\\out" "-Isrc" "-IC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.4\\include" "src\\affine.cu"

  # stdout

  # stderr

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I face the same problem and finally get the solution from this blog: https://blog.csdn.net/u013519339/article/details/126206908

And by the explanation from https://devblogs.microsoft.com/oldnewthing/20071121-00/?p=24433, you can add set PATH = "%PATH%..." in cmd_auto_run.cmd to make it updating instead of modifying PATH envirement variable.

I have met the same issue.
Looking forward for somebody to solve it...


Revamping KitOps use case doc

Rewrote the use cases documentation  to focus on the two main ways KitOps is used in organizations today.
Updated some wording on the ToC to make things clearer and more consistent.
Relates to #262

Pushed commit to address @brett-hodges feedback


Site extension names are confusing

Currently we have two site extensions for ASP.NET Core:

ASP.NET Core Extensions
ASP.NET Core Runtime Extensions

No one can figure out which one to use or what they do. Can we clarify the names? Can we add a descriptive text that shows up in the portal?
@glennc @shanselman

Can we just toss one? Or make Extensions into "Logging" TODAY?

Renamed ASP.NET Core Extensions to ASP.NET Core Logging Extensions as part of https://github.com/aspnet/AzureIntegration/issues/227


Issue creating a week day recurrent event in the weekend

When creating a weekday event with this recurrence rule recurrence: "RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR" , if the event its created on a weekend day, it creates an event on the day the event was created, the rest of the weekends have no problem.

@3nriqu390 you already answered yourself.

the event its created on a weekend day
You defined an actual event that occurs on a weekend day.  RRULE only causes, that this actual event will be additionally repeated on Mondays, Tuesdays, Wednesdays, Thursdays and Fridays, forever.


Empty Differences

For last few months, I have been getting empty differences with files between my org and when retrieved from CLI using Mac Terminal even when there are no differences. No matter what I do, I keep getting these differences in 100s files. When I retrieve the same file from VS Code, it doesn't show any differences.
sfdx-cli/7.101.0 darwin-x64 node-v16.0.0
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.2 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-update 1.4.0-3 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.9 (core)
auth 1.5.3 (core)
config 1.2.8 (core)
generator 1.1.5 (core)
salesforcedx 51.12.0 (core)
├─ apex 0.2.0 (core)
├─ org 1.6.5 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
├─ schema 1.0.6 (core)
├─ user 1.2.10 (core)
├─ custom-metadata 1.0.12 (core)
├─ limits 1.2.0 (core)
├─ salesforce-alm 51.6.23 (core)
├─ templates 51.3.1 (core)
└─ data 0.4.6 (core)
sfdx-cli 7.101.0 (core)
telemetry 1.2.0 (core)
MacOS BigSur 11.4

Hi Ram, are all these spaces and new-line differences ? doesn't look like the code is affected, is it ?

I'm assuming you're retrieving with force:source:retrieve versus pull or mdapi:retrieve.  If this is the case, it's because VS Code recently changed to a new library for doing deploys/retrieves and writing the files to disk.  The CLI will be switching to the same library very soon so the white space differences should go away.  In the meantime you can adjust your git settings to ignore white space changes.

I'm assuming you're retrieving with force:source:retrieve versus pull or mdapi:retrieve. If this is the case, it's because VS Code recently changed to a new library for doing deploys/retrieves and writing the files to disk. The CLI will be switching to the same library very soon so the white space differences should go away. In the meantime you can adjust your git settings to ignore white space changes.

This makes sense, thanks. Any expected date on when CLI will be switching to this? Also, I have tried many ways to ignore whitespaces in Git settings, but nothing seems to work. Do you have any suggestion on how ignore these whitespaces in Git settings?

I'm hopeful that the source plugin will be made available to the public within a few weeks for testing and feedback (a beta of sorts).
As for git settings I would just continue to search online docs and try things.


Combine and minify js/css

combine and minfiy css/js

done
also removed iconmoon and gave in and now using fontawesome.